/* Pilcrow — Footer styles */

.footer {
    padding: 60px 0 30px;
    color: #2B2A2B;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 48px;
}
.footer__logo img {
    height: 50px;
    width: auto;
    display: block;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__title {
    font-family: 'Arial Black', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: #2B2A2B;
    margin-bottom: 18px;
}

.footer__contact {
    margin-bottom: 12px;
}

.footer__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-transform: lowercase;
    color: #2B2A2B;
}
.footer__value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: #2B2A2B;
}
.footer__value--link {
    text-decoration: underline;
    text-underline-position: from-font;
}

.footer__col--catalog {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer__nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    color: #2B2A2B;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
}

.footer__copyright,
.footer__bottom-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 55px;
    text-transform: uppercase;
    color: #2B2A2B;
}

@media (max-width: 768px) {
    .footer { padding: 28px 0 20px; }
    .footer__logo { margin-bottom: 18px; }
    .footer__logo img { height: 32px; }
    .footer__grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 12px;
        margin-bottom: 28px;
    }
    .footer__title { font-size: 11px; line-height: 14px; margin-bottom: 6px; }
    .footer__contact { margin-bottom: 0; }
    .footer__label { font-size: 11px; line-height: 14px; }
    .footer__value { font-size: 11px; line-height: 14px; }
    .footer__nav-link {
        font-size: 9px;
        line-height: 14px;
        text-decoration: underline;
        text-underline-position: from-font;
    }
    .footer__bottom {
        justify-content: center;
        gap: 4px 10px;
        padding-top: 18px;
    }
    .footer__copyright {
        flex-basis: 100%;
        text-align: center;
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 4px;
    }
    .footer__bottom-link { font-size: 8px; line-height: 1.4; }
}

/* ===== City selection modal ===== */
.city-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.city-modal-overlay.active { opacity: 1; visibility: visible; }

.city-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    z-index: 1001;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px 24px;
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: min(560px, 85vh);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    color: #2B2A2B;
    font-family: 'Inter', sans-serif;
}
.city-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.city-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2B2A2B;
    padding: 4px;
}
.city-modal__close svg { width: 100%; height: 100%; }
.city-modal__title {
    font-family: 'Arial Black', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.city-modal__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #6c6c6c;
    margin-bottom: 20px;
}
.city-modal__input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #E1DED7;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #2B2A2B;
    background: #ffffff;
    outline: none;
    margin-bottom: 16px;
}
.city-modal__input:focus { border-color: #2B2A2B; }
.city-modal__list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
.city-modal__item {
    padding: 12px 8px;
    cursor: pointer;
    border-bottom: 1px solid #E1DED7;
    position: relative;
    background-color: transparent;
    transition: none;
}
.city-modal__item:last-child { border-bottom: none; }
.city-modal__item:hover { background-color: #f8f8f8; }
.city-modal__item-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #2B2A2B;
}
.city-modal__item-region {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6c6c6c;
    line-height: 1.3;
    margin-top: 2px;
}
.city-modal__check {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #2B2A2B;
}

body.city-modal-open { overflow: hidden; }

@media (max-width: 768px) {
    .city-modal { padding: 24px 16px 16px; }
}
