@media (max-width: 767px) {
    html,
    body.mobile-app-shell,
    body.mobile-app-shell.bg-zinc-50,
    .catalog-main.phone-shell-bridge {
        background: var(--paper, #f2efe8) !important;
    }

    header.mobile-header.app-topbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        grid-template-columns: none !important;
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 48px;
        padding: 6px 10px;
        box-sizing: border-box;
        border-bottom: none !important;
        background: var(--paper, #f2efe8) !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    header.mobile-header.app-topbar .mobile-brand {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        min-width: 0;
        max-width: min(46vw, calc(100% - 176px), 176px);
        height: auto;
        overflow: hidden;
        font-size: 0;
        line-height: 0;
        text-decoration: none;
    }

    header.mobile-header.app-topbar .mobile-brand img,
    header.mobile-header.app-topbar .mobile-brand picture {
        display: block !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }

    header.mobile-header.app-topbar .mobile-header-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 6px;
    }

    header.mobile-header.app-topbar .mobile-city-picker {
        position: relative;
        flex: 0 0 auto;
    }

    header.mobile-header.app-topbar .mobile-icon-button {
        display: flex;
        width: auto;
        min-width: 48px;
        min-height: 48px;
        height: auto;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 8px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: #151a1f;
    }

    header.mobile-header.app-topbar .mobile-icon-button svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }

    header.mobile-header.app-topbar .mobile-header-action-label {
        max-width: 58px;
        overflow: hidden;
        color: #3a4046;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.1;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    header.mobile-header.app-topbar .mobile-header-city-label {
        max-width: none;
        overflow: visible;
        text-overflow: unset;
        white-space: nowrap;
    }

    header.mobile-header.app-topbar .mobile-geo-button {
        color: #159a5d;
        min-width: auto;
        padding-inline: 4px;
    }

    header.mobile-header.app-topbar .mobile-menu-button {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 0;
        background: #0a63d8;
        color: #fff;
    }

    .mobile-bottom-nav .cart-icon {
        position: relative;
    }

    .mobile-bottom-nav .mobile-nav-cart-badge {
        position: absolute;
        top: -6px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: #e21d2f;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        line-height: 18px;
        text-align: center;
    }

    .mobile-bottom-nav .mobile-nav-cart-badge[data-empty] {
        display: none;
    }

    nav.mobile-bottom-nav.bottom-nav a,
    nav.mobile-bottom-nav.bottom-nav button {
        color: #3f3f46;
        font-family: Onest, ui-sans-serif, system-ui, sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.01em;
        line-height: 1.2;
    }

    nav.mobile-bottom-nav.bottom-nav a span,
    nav.mobile-bottom-nav.bottom-nav button span {
        color: #3f3f46;
        font-family: Onest, ui-sans-serif, system-ui, sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.01em;
        line-height: 1.2;
    }

    nav.mobile-bottom-nav.bottom-nav .is-active,
    nav.mobile-bottom-nav.bottom-nav .is-active span {
        color: #0a63d8;
    }

    nav.mobile-bottom-nav.bottom-nav .mobile-call-action,
    nav.mobile-bottom-nav.bottom-nav .mobile-call-action span {
        color: #0f7a48;
    }

    #mobile-menu.mobile-drawer.drawer {
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 80;
        display: flex;
        width: min(86vw, 340px) !important;
        max-width: none !important;
        flex-direction: column;
        gap: 0 !important;
        padding: env(safe-area-inset-top) 0 0 !important;
        overflow: hidden !important;
        border: 0;
        border-radius: 0 20px 20px 0;
        background: #f2efe8 !important;
        color: #151a1f !important;
        box-shadow: 12px 0 40px rgb(21 26 31 / 18%);
        transform: translateX(-108%);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    body.mobile-menu-open #mobile-menu.mobile-drawer.drawer {
        transform: translateX(0);
    }

    #mobile-menu .drawer-head {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 4px 6px 8px 18px;
        border-bottom: 1px solid rgb(21 26 31 / 8%);
    }

    #mobile-menu .drawer-head h2 {
        margin: 0;
        color: #151a1f;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.2;
    }

    #mobile-menu .mobile-close-button {
        width: 44px;
        height: 44px;
        padding: 0;
        color: #151a1f;
        font-size: 0;
        line-height: 0;
    }

    #mobile-menu .mobile-close-button svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2.2;
    }

    #mobile-menu .drawer-menu {
        display: flex;
        flex: 1 1 0%;
        flex-direction: column;
        gap: 12px;
        min-height: 0;
        padding: 12px 14px 8px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    #mobile-menu .drawer-group {
        overflow: hidden;
        border: 1px solid rgb(21 26 31 / 8%);
        border-radius: 14px;
        background: #fff;
    }

    #mobile-menu .drawer-catalog {
        display: block;
        gap: 0;
    }

    #mobile-menu .drawer-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px;
        width: 100%;
        min-height: 52px;
        padding: 0 16px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #151a1f !important;
        font-family: Onest, ui-sans-serif, system-ui, sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        line-height: 1.2;
        text-align: left !important;
        text-decoration: none;
        white-space: nowrap;
    }

    #mobile-menu .drawer-icon {
        display: block;
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        fill: none;
        overflow: visible;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.75;
        vector-effect: non-scaling-stroke;
    }

    #mobile-menu .drawer-row > span:not(.drawer-cart-total),
    #mobile-menu .drawer-row > strong:not(.drawer-cart-total):not([data-favorite-count]) {
        margin: 0 !important;
        color: inherit !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
    }

    #mobile-menu .drawer-group > .drawer-row + .drawer-row,
    #mobile-menu .drawer-submenu .drawer-row {
        border-top: 1px solid rgb(21 26 31 / 8%) !important;
    }

    #mobile-menu .drawer-row:active {
        background: rgb(10 99 216 / 7%) !important;
    }

    #mobile-menu .drawer-row--sub {
        min-height: 44px;
        font-size: 15px !important;
    }

    #mobile-menu .drawer-cart-link {
        flex-wrap: nowrap !important;
    }

    #mobile-menu .drawer-cart-total {
        margin-left: 0 !important;
        color: #e21d2f !important;
        font-weight: 800 !important;
        white-space: nowrap;
    }

    #mobile-menu .drawer-contact {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 4px 14px calc(14px + env(safe-area-inset-bottom));
        padding: 12px 12px 12px 16px;
        border: 1px solid rgb(21 26 31 / 8%);
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
        text-align: left;
    }

    #mobile-menu .drawer-contact-info {
        display: grid;
        gap: 4px;
        min-width: 0;
        justify-items: start;
    }

    #mobile-menu .drawer-contact-info span {
        color: #6f7479;
        font-size: 12px;
        font-weight: 700;
    }

    #mobile-menu .drawer-contact-info strong {
        color: #151a1f;
        font-size: 15px;
        font-weight: 800;
    }

    #mobile-menu .drawer-contact-info a {
        color: #0a63d8;
        font-size: 18px;
        font-weight: 800;
        text-decoration: none;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    #mobile-menu .drawer-contact a.drawer-contact-navi {
        display: flex;
        flex: 0 0 88px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 88px;
        max-width: 88px;
        min-width: 0;
        min-height: 76px;
        margin: 0;
        padding: 8px 4px;
        color: #151a1f;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        border-radius: 12px;
        white-space: normal;
    }

    #mobile-menu .drawer-contact-navi-icon {
        display: block;
        width: 40px;
        height: 40px;
        overflow: visible;
    }

    #mobile-menu .drawer-contact-navi-caption {
        color: #151a1f;
        font-size: 11px;
        font-weight: 800;
        display: block;
        max-width: 80px;
        line-height: 1.15;
        white-space: normal;
    }

    @keyframes drawer-sub-in {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        #mobile-menu.mobile-drawer.drawer,
        #mobile-menu .drawer-catalog summary.drawer-row svg,
        #mobile-menu .drawer-submenu {
            transition: none;
            animation: none;
        }
    }

    .mobile-search-panel {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: 0 12px 32px rgb(21 26 31 / 12%);
        overflow: visible;
    }

    .mobile-search-form {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        align-items: center;
        border: 1.5px solid rgb(21 26 31 / 34%) !important;
        border-radius: 12px;
        background: #fff;
    }

    .mobile-search-form:focus-within {
        border-color: #0a63d8 !important;
    }

    body.mobile-app-shell input[type="search"],
    body.mobile-app-shell input[type="text"],
    body.mobile-app-shell input[type="email"],
    body.mobile-app-shell input[type="tel"],
    body.mobile-app-shell input[type="number"],
    body.mobile-app-shell input[type="password"],
    body.mobile-app-shell textarea,
    body.mobile-app-shell select {
        border: 1.5px solid rgb(21 26 31 / 34%) !important;
        background: #fff;
    }

    body.mobile-app-shell input[type="search"]:focus,
    body.mobile-app-shell input[type="text"]:focus,
    body.mobile-app-shell input[type="email"]:focus,
    body.mobile-app-shell input[type="tel"]:focus,
    body.mobile-app-shell input[type="number"]:focus,
    body.mobile-app-shell input[type="password"]:focus,
    body.mobile-app-shell textarea:focus,
    body.mobile-app-shell select:focus {
        border-color: #0a63d8 !important;
    }

    body.mobile-app-shell .mobile-search-form input {
        border: 0 !important;
        background: transparent;
    }

    .mobile-search-form [data-vue-island='search-suggest'],
    .mobile-search-form .web-search-suggest,
    .mobile-search-form .web-search-suggest-host {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        z-index: 80;
        grid-column: 1 / -1;
        width: 100%;
    }

    .mobile-search-form .web-search-dropdown {
        max-height: min(60vh, 420px);
        overflow: auto;
        border: 1px solid rgb(21 26 31 / 10%);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 16px 40px rgb(21 26 31 / 16%);
    }

    .mobile-search-form .web-search-dropdown-label {
        padding: 10px 14px 6px;
        color: #6f7479;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .mobile-search-form .web-search-dropdown-item {
        display: block;
        padding: 10px 14px;
        color: #151a1f;
        text-decoration: none;
    }

    .mobile-search-form .web-search-dropdown-item--product {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-search-form .web-search-dropdown-item + .web-search-dropdown-item {
        border-top: 1px solid rgb(21 26 31 / 8%);
    }

    .mobile-search-form .web-search-dropdown-item-title {
        display: block;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    .mobile-search-form .web-search-dropdown-item-meta {
        display: block;
        margin-top: 3px;
        color: #6f7479;
        font-size: 12px;
    }

    .mobile-search-form .web-search-dropdown-thumb {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        overflow: hidden;
        border-radius: 8px;
        background: #f3f0ea;
    }

    .mobile-search-form .web-search-dropdown-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.city-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.city-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(21 26 31 / 46%);
}

.city-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(520px, calc(100vw - 24px));
    max-height: min(80vh, 640px);
    margin: 10vh auto 0;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 48px rgb(21 26 31 / 22%);
}

.city-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.city-modal-head h2 {
    margin: 0;
    color: #151a1f;
    font-size: 18px;
    font-weight: 800;
}

.city-modal-close {
    border: 0;
    background: transparent;
    color: #0a63d8;
    font-size: 14px;
    font-weight: 700;
}

.city-modal-search {
    width: 100%;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 0 14px;
    border: 1.5px solid rgb(21 26 31 / 34%);
    border-radius: 12px;
    font-size: 16px;
}

.city-modal-list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.city-modal-list button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #151a1f;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.city-modal-list button.is-active {
    background: #eef4ff;
    color: #0a63d8;
}

.city-modal-empty {
    padding: 16px 12px;
    color: #6f7479;
    font-size: 14px;
}

aside#mobile-menu a.drawer-cart-link .drawer-cart-total,
aside#mobile-menu a.drawer-cart-link [data-cart-total],
aside#mobile-menu .drawer-row .drawer-cart-total,
aside#mobile-menu .drawer-row [data-favorite-count] {
    color: #e21d2f !important;
    -webkit-text-fill-color: #e21d2f !important;
}

aside#mobile-menu .drawer-row [data-favorite-count][data-empty] {
    display: none !important;
}

nav.mobile-bottom-nav.bottom-nav {
    bottom: 13px !important;
    border-radius: 999px !important;
    background: #e6e0d4 !important;
    border: 1px solid #d4cdc0 !important;
    box-shadow: 0 10px 28px rgba(21, 26, 31, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 6px 10px !important;
}
nav.mobile-bottom-nav.bottom-nav::before {
    content: none !important;
}
nav.mobile-bottom-nav.bottom-nav a,
nav.mobile-bottom-nav.bottom-nav button {
    color: #3d3a35 !important;
    font-family: Onest, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
}
nav.mobile-bottom-nav.bottom-nav a span,
nav.mobile-bottom-nav.bottom-nav button span {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
nav.mobile-bottom-nav.bottom-nav a.is-active,
nav.mobile-bottom-nav.bottom-nav button.is-active,
nav.mobile-bottom-nav.bottom-nav .is-active span {
    color: #151a1f !important;
    background: transparent !important;
}
nav.mobile-bottom-nav.bottom-nav a.is-active::before,
nav.mobile-bottom-nav.bottom-nav button.is-active::before {
    content: none !important;
    display: none !important;
}
nav.mobile-bottom-nav.bottom-nav .mobile-call-action,
nav.mobile-bottom-nav.bottom-nav .mobile-call-action span {
    color: #0f7a48 !important;
}
nav.mobile-bottom-nav.bottom-nav svg,
nav.mobile-bottom-nav.bottom-nav .nav-icon {
    fill: currentColor !important;
    stroke: none !important;
}
nav.mobile-bottom-nav.bottom-nav .call .nav-icon {
    color: #fff !important;
    background: linear-gradient(145deg, #1fc46f, #0c9953) !important;
}

#mobile-menu.mobile-drawer.drawer {
    position: fixed !important;
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

#mobile-menu .drawer-head {
    flex: 0 0 auto;
}

#mobile-menu .drawer-menu {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#mobile-menu .drawer-contact,
#mobile-menu .mobile-drawer-contact {
    flex: 0 0 auto !important;
    margin-top: auto;
}

#mobile-menu.mobile-drawer.drawer {
    width: min(90vw, 340px) !important;
    height: 100dvh;
    max-height: 100dvh;
}

@media (max-height: 740px) {
    #mobile-menu .drawer-head {
        min-height: 48px;
        padding: 2px 4px 4px 14px;
    }

    #mobile-menu .drawer-head h2 {
        font-size: 16px;
    }

    #mobile-menu .drawer-menu {
        gap: 8px;
        padding: 8px 12px 6px;
    }

    #mobile-menu .drawer-row {
        min-height: 46px;
        gap: 10px;
        padding: 0 14px !important;
        font-size: 15px !important;
    }

    #mobile-menu .drawer-contact,
    #mobile-menu .mobile-drawer-contact {
        margin: 4px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        padding: 10px 10px 10px 14px;
    }

    #mobile-menu .drawer-contact a.drawer-contact-navi {
        flex-basis: 76px;
        width: 76px;
        max-width: 76px;
        min-height: 64px;
        padding: 6px 4px;
    }
}

@media (max-height: 640px) {
    #mobile-menu .drawer-head {
        min-height: 42px;
    }

    #mobile-menu .mobile-close-button {
        width: 40px;
        height: 40px;
    }

    #mobile-menu .drawer-menu {
        gap: 6px;
        padding: 6px 10px 4px;
    }

    #mobile-menu .drawer-row {
        min-height: 40px;
        gap: 8px;
        padding: 0 12px !important;
        font-size: 14px !important;
    }

    #mobile-menu .drawer-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    #mobile-menu .drawer-contact-info span {
        font-size: 11px;
    }

    #mobile-menu .drawer-contact-info strong {
        font-size: 13px;
    }

    #mobile-menu .drawer-contact-info a {
        font-size: 16px;
    }

    #mobile-menu .drawer-contact a.drawer-contact-navi {
        flex-basis: 70px;
        width: 70px;
        max-width: 70px;
        min-height: 56px;
        gap: 2px;
        padding: 4px 2px;
        font-size: 10px;
    }

    #mobile-menu .drawer-contact-navi-icon {
        width: 32px;
        height: 32px;
    }

    #mobile-menu .drawer-contact-navi-caption {
        font-size: 10px;
        max-width: 68px;
    }
}

@media (max-height: 560px) {
    #mobile-menu .drawer-head h2 {
        font-size: 15px;
    }

    #mobile-menu .drawer-row {
        min-height: 36px;
        font-size: 13px !important;
    }

    #mobile-menu .drawer-group {
        border-radius: 12px;
    }
}
