/* Standalone overlay stylesheet: copy this plain CSS to
 * web/css/storefront-overlays-20261005.css for the versioned layout asset.
 * Kept separate from the full theme bundle to avoid rebuilding unrelated CSS. */

/* Keep the chat available on demand, without an automatic invitation bubble. */
#f1313-site-chat .f1313-teaser {
    display: none !important;
}

.city-select.city-select--confirm {
    transform: none;
}

.city-select--confirm .city-select__confirm {
    overflow-wrap: anywhere;
}

.city-select--confirm .city-select__close,
.city-select--modal .city-select__close {
    width: 44px;
    height: 44px;
}

.city-select--modal .city-select__input {
    font-size: 16px;
}

.city-select--modal .city-select__body {
    min-height: 0;
    overflow-y: auto;
}

.city-select--confirm button:focus-visible,
.city-select--modal button:focus-visible,
.city-select--modal .city-select__input:focus-visible {
    outline: 2px solid #4f3e35;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .city-select.city-select--confirm {
        position: fixed;
        top: 76px;
        right: 16px;
        left: 16px;
        bottom: auto;
        width: auto;
        max-width: 360px;
        margin-inline: auto;
        transform: none;
    }

    .city-select--confirm .city-select__panel {
        max-height: calc(100vh - 92px);
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
    }

    .city-select--confirm .city-select__header {
        align-items: center;
        padding: 8px 16px;
    }

    .city-select--confirm .city-select__close {
        margin-top: 0;
    }

    .city-select--confirm .city-select__title {
        font-size: 14px;
    }

    .city-select--confirm .city-select__body {
        gap: 16px;
        padding: 12px 16px 16px;
    }

    .city-select--confirm .city-select__confirm {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: normal;
    }

    .city-select--confirm .city-select__actions {
        flex-direction: row;
        gap: 8px;
        padding-top: 0;
    }

    .city-select--confirm .city-select__btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        font-size: 12px;
        letter-spacing: .08em;
    }

    .city-select.city-select--modal {
        padding-top: 76px;
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    }

    .city-select--modal .city-select__panel {
        max-height: calc(100vh - 92px);
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px));
    }
}
