/* KOSMOSTORE FOOTER MAP PICKER v1.0.0 */
.store-contact-card--button {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.store-contact-actions button.button {
    font: inherit;
    cursor: pointer;
}

.store-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    text-align: right;
}

.store-footer__privacy {
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .28);
    text-underline-offset: 3px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.store-footer__privacy:hover,
.store-footer__privacy:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}

body.map-picker-is-open { overflow: hidden; }

.map-picker[hidden] { display: none !important; }

.map-picker {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
}

.map-picker__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(7, 11, 18, .72);
    backdrop-filter: blur(7px);
    cursor: pointer;
}

.map-picker__panel {
    position: relative;
    width: min(100%, 520px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: #151b24;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}

.map-picker__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.map-picker__eyebrow {
    color: #ff7a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.map-picker h2 { margin: 8px 44px 6px 0; font-size: clamp(22px, 4vw, 30px); }
.map-picker p { margin: 0; color: rgba(255, 255, 255, .68); }

.map-picker__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.map-picker__services a {
    display: flex;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.map-picker__services a:hover,
.map-picker__services a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 122, 0, .65);
    background: rgba(255, 122, 0, .11);
}

.map-picker__services strong { font-size: 14px; }
.map-picker__services span { color: rgba(255, 255, 255, .58); font-size: 11px; }

@media (max-width: 760px) {
    .store-footer__legal { align-items: center; text-align: center; }
    .store-footer__privacy { max-width: 280px; }
    .map-picker__panel { padding: 26px 20px 20px; border-radius: 20px; }
    .map-picker__services { grid-template-columns: 1fr; }
    .map-picker__services a { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    .map-picker__services a { transition: none; }
}

/* KOSMOSTORE FOOTER VISUAL FIX v1.1.0 */

/* Карточка адреса снова реагирует так же, как прежняя ссылка. */
.store-contact-card--button {
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(12, 25, 42, .82);
    color: inherit;
    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        box-shadow .22s ease;
}

.store-contact-card--button:hover,
.store-contact-card--button:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(239, 72, 65, .7);
    background: rgba(16, 31, 51, .96);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
    outline: none;
}

/* У button браузер больше не сможет подменить белый текст чёрным. */
.store-contact-actions button.button--ghost {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .025);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-family: inherit;
    font-weight: 800;
    line-height: 1;
}

.store-contact-actions button.button--ghost:hover,
.store-contact-actions button.button--ghost:focus-visible {
    border-color: rgba(239, 72, 65, .8);
    background: rgba(239, 72, 65, .12);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    transform: translateY(-2px);
    outline: none;
}

/* Нижние ссылки находятся слева, под копирайтом, вдали от плавающих кнопок. */
.store-footer__bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 9px;
    align-items: center;
}

.store-footer__copyright {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.store-footer__developer {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
}

.store-footer__legal {
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    justify-self: start;
    max-width: 430px;
    text-align: left;
}

.store-footer__legal .store-footer__description,
.store-footer__legal .store-footer__privacy {
    text-align: left;
}

@media (max-width: 760px) {
    .store-contact-card--button:hover,
    .store-contact-card--button:focus-visible {
        transform: translateY(-3px);
    }

    .store-footer__bottom {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
        justify-items: start;
        row-gap: 16px;
    }

    .store-footer__copyright,
    .store-footer__developer,
    .store-footer__legal {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .store-footer__legal {
        align-items: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-contact-card--button,
    .store-contact-actions button.button--ghost {
        transition: none;
    }
}
