/*
 * ModernTheme01 storefront skin.
 * Loaded after store.css + app.css; colours come from store-theme.css.
 * Look: soft lavender page, white rounded cards, pill buttons, brand-coloured
 * circles and cards, highlight colour for prices, sale badges and "view all" links.
 */

:root {
    --radius: 14px;
    --radius-lg: 22px;
    --sx-card: 22px;
    --app-card-shadow: var(--shadow-sm);
    --sx-yellow: #FFC23D;
    --sx-yellow-soft: #FFF5DB;
    --sx-yellow-ink: #A06A00;
    --sx-blue: #4FA8FF;
    --sx-blue-soft: #E6F2FF;
    --sx-pink: #FF7EB3;
    --sx-pink-soft: #FFEAF3;
}

body {
    background: var(--app-bg);
    color: var(--text);
}

::selection {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

a:hover {
    color: var(--primary-ink);
}

/* ---------- Buttons & fields ---------- */
.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn--accent {
    background: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-dark);
}

.btn--outline {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
}

.btn--outline:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.btn--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.btn--light {
    color: var(--ink);
}

.btn--light:hover {
    background: var(--ink);
}

.field {
    min-height: 46px;
    border-color: transparent;
    border-radius: 14px;
    background: var(--field);
}

.field:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.icon-btn:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

/* ---------- Header ---------- */
.header {
    padding: 10px 0;
    background: #fff;
}

.header__inner {
    min-height: 68px;
}

.logo__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--primary);
    box-shadow: var(--shadow-brand);
}

.logo__mark .icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.logo__dot {
    color: var(--hot);
}

.search input {
    height: 50px;
    padding: 0 20px 0 58px;
    border-color: transparent;
    border-radius: 16px;
    background: var(--field);
}

.search input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.search > button {
    top: 6px;
    left: 6px;
    border-radius: 12px;
    background: var(--primary);
}

.search__panel {
    border: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.search__item.is-active,
.search__item:hover {
    background: var(--field);
}

.search__meta {
    color: var(--primary-ink);
}

.header__actions {
    gap: 10px;
}

.header__action {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    background: var(--field);
    font-weight: 600;
}

.header__action:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.header__badge {
    top: -6px;
    right: -6px;
    background: var(--hot);
    border: 2px solid #fff;
    box-sizing: content-box;
}

/* ---------- Main nav ---------- */
.mainnav {
    background: #fff;
    color: var(--text);
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(30, 33, 50, 0.04);
}

.mainnav__list {
    gap: 4px;
    padding: 8px 0;
}

.mainnav__link {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 14px;
}

.mainnav__link:hover,
.mainnav__link.is-active {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.mainnav__link--sale,
.mainnav__link--sale:hover {
    color: var(--hot);
}

.mainnav__link--sale:hover {
    background: var(--hot-soft);
}

.dropdown {
    border-color: var(--line);
    box-shadow: 0 24px 60px rgba(30, 33, 50, 0.12);
}

.has-dropdown.is-open > .mainnav__link {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.dropdown__link:hover {
    background: var(--field);
    color: var(--ink);
}

.dropdown__item.is-current > .dropdown__link {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.dropdown__sub a:hover,
.dropdown__all:hover {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

/* ---------- Drawer ---------- */
.drawer {
    background: #fff;
}

.drawer__nav > li {
    border-bottom-color: var(--line);
}

.drawer__sale {
    color: var(--hot);
}

/* ---------- Greeting ---------- */
.sx-greet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
}

.sx-greet__hello {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.sx-greet__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.5;
}

.sx-greet__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-ink);
    box-shadow: var(--shadow-sm);
}

/* ---------- Sections ---------- */
.section {
    margin-top: 40px;
}

.section--tight {
    margin-top: 36px;
}

.section__head,
.section__head--center,
.section--tight > .section__head {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 0;
}

.section__title {
    padding: 0;
    font-size: 20px;
}

.section__title::after {
    display: none;
}

.section__more {
    padding: 0;
    color: var(--hot);
    font-size: 13.5px;
    font-weight: 700;
}

.section__more:hover {
    color: var(--hot);
    text-decoration: underline;
}

/* ---------- Categories: coloured circles ---------- */
.categories {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 20px 14px;
}

.category-tile {
    --cat-bg: var(--primary-soft);
    --cat-ink: var(--primary-ink);
}

.category-tile:nth-child(6n+2) { --cat-bg: var(--accent-soft); --cat-ink: var(--accent-dark); }
.category-tile:nth-child(6n+3) { --cat-bg: var(--hot-soft); --cat-ink: var(--hot); }
.category-tile:nth-child(6n+4) { --cat-bg: var(--sx-yellow-soft); --cat-ink: var(--sx-yellow-ink); }
.category-tile:nth-child(6n+5) { --cat-bg: var(--sx-blue-soft); --cat-ink: var(--sx-blue); }
.category-tile:nth-child(6n+6) { --cat-bg: var(--sx-pink-soft); --cat-ink: var(--sx-pink); }

.category-tile__img {
    width: 88px;
    max-width: 88px;
    margin-bottom: 6px;
    padding: 6px;
    border: 0;
    background: var(--cat-bg);
    box-shadow: none;
}

.category-tile__img img {
    border-radius: 50%;
}

.category-tile:hover .category-tile__img {
    box-shadow: 0 10px 22px color-mix(in srgb, var(--cat-ink) 25%, transparent);
}

.category-tile__letter {
    color: var(--cat-ink);
    font-size: 30px;
}

.category-tile__name {
    font-size: 13.5px;
}

.category-tile__count {
    font-size: 12px;
}

/* ---------- Hero ---------- */
.sx-hero-wrap {
    margin-top: 32px;
}

.hero {
    border-radius: var(--sx-card);
    box-shadow: var(--shadow);
}

.hero__track {
    background: var(--field);
}

.hero__dots button {
    width: 8px;
    height: 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.25s;
}

.hero__dots button.is-active {
    width: 22px;
    border-radius: 999px;
    background: #fff;
}

/* ---------- Product cards ---------- */
.product-grid {
    gap: 18px;
}

.product-card {
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: var(--sx-card);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card__media {
    border-radius: 16px;
    background: var(--field);
}

.product-card__badges {
    top: 10px;
    right: 10px;
}

.badge {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11.5px;
}

.badge--sale {
    background: var(--hot);
}

.badge--muted {
    background: var(--ink-soft);
}

.product-card__body {
    padding: 10px 4px 2px;
}

.product-card__category {
    color: var(--muted);
    font-size: 12px;
}

.product-card__title {
    font-size: 14px;
}

.product-card__footer {
    align-items: center;
    padding-top: 8px;
}

.price__current {
    color: var(--hot);
}

.price__current small {
    color: var(--muted);
}

.price__current--muted {
    color: var(--muted);
}

.product-card .product-card__action {
    position: static;
    gap: 6px;
    width: auto;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-brand);
}

.product-card .product-card__action .icon {
    width: 16px;
    height: 16px;
}

.product-card .product-card__action:hover,
.product-card .product-card__action[aria-expanded="true"] {
    background: var(--primary-dark);
    color: #fff;
}

.product-card .product-card__action:disabled {
    background: var(--field);
    color: var(--muted);
    box-shadow: none;
}

.product-card__quick {
    border: 0;
    border-radius: var(--sx-card);
    box-shadow: var(--shadow);
}

.swatch input:checked + .swatch__dot {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px #fff, 0 0 0 5px var(--primary);
}

.chip span {
    border-color: transparent;
    border-radius: 999px;
    background: var(--field);
    font-weight: 600;
}

.chip input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.style-card {
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: var(--sx-card);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.style-card__media {
    border-radius: 16px;
    background: var(--field);
}

.style-card__body {
    padding: 8px 4px 2px;
}

/* ---------- Promos: brand-coloured cards ---------- */
.promos {
    gap: 18px;
    margin-top: 40px;
}

.promo {
    min-height: 168px;
    border-radius: var(--sx-card);
}

.promo::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -50px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.promo--mint { background: var(--primary); box-shadow: var(--shadow-brand); }
.promo--violet { background: var(--accent); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.promo--coral { background: var(--hot); box-shadow: 0 10px 24px color-mix(in srgb, var(--hot) 35%, transparent); }

.promo__title {
    font-size: 22px;
}

.promo__link {
    width: max-content;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 13px;
}

.promo__img {
    position: relative;
    z-index: 1;
    width: 110px;
    height: 110px;
    border: 5px solid rgba(255, 255, 255, 0.32);
}

/* ---------- Features, brands, banner ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
    padding: 0;
    border: 0;
}

.feature {
    justify-content: flex-start;
    padding: 18px;
    border-radius: var(--sx-card);
    background: #fff;
    text-align: right;
    box-shadow: var(--shadow-sm);
}

.feature .icon {
    width: 50px;
    height: 50px;
    padding: 13px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.feature:nth-child(2) .icon { background: var(--accent-soft); color: var(--accent); }
.feature:nth-child(3) .icon { background: var(--hot-soft); color: var(--hot); }
.feature:nth-child(4) .icon { background: var(--sx-yellow-soft); color: var(--sx-yellow-ink); }

.feature h3 {
    font-size: 14.5px;
}

.brands {
    gap: 14px;
}

.brand-tile {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.brand-tile:hover {
    box-shadow: var(--shadow);
}

.wide-banner {
    border-radius: var(--sx-card);
    background: var(--accent);
}

.empty-state {
    border-radius: var(--sx-card);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.empty-state .icon {
    color: var(--primary);
}

/* ---------- Inner pages ---------- */
.page-head {
    padding: 20px 0 12px;
    margin-bottom: 16px;
    background: transparent;
}

.page-head--compact {
    padding: 18px 0 10px;
    margin-bottom: 14px;
}

.page-head__title {
    font-size: 24px;
}

.shop__sidebar {
    padding: 16px 18px 12px;
    border: 1px solid var(--line);
    border-radius: var(--sx-card);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.shop-toolbar {
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.shop-toolbar .field,
.shop-toolbar .field--sm {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}

.shop-toolbar .field:focus,
.shop-toolbar .field--sm:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.shop-toolbar .select-label {
    gap: 6px;
    font-size: 12.5px;
}

.tabs__nav {
    gap: 6px;
    padding: 5px;
    border: 0;
    border-radius: 999px;
    background: var(--field);
    width: max-content;
    max-width: 100%;
}

.tabs__btn {
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    margin: 0;
}

.tabs__btn.is-active {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.filter-box,
.cart-summary,
.cart-line,
.orders-panel,
.order-card,
.buy-panel {
    border-color: var(--line);
    border-radius: var(--sx-card);
}

.qty {
    border-radius: 999px;
}

/* ---------- Account ---------- */
.account-nav,
.account-card,
.address-card,
.account-stat {
    border: 0;
    border-radius: var(--sx-card);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.account-nav__profile {
    border-bottom-color: var(--line);
}

.account-nav__link {
    border-radius: 14px;
}

.account-nav__link.is-active {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.account-nav__link.is-active .icon {
    color: var(--primary-ink);
}

.account-nav__logout {
    border-top-color: var(--line);
}

.account-head__more,
.account-card__head a {
    color: var(--hot);
}

.account-stat__icon {
    border-radius: 50%;
}

.account-stat__icon--current { background: var(--accent-soft); color: var(--accent); }
.account-stat__icon--done { background: var(--primary-soft); color: var(--primary-ink); }
.account-stat__icon--return { background: var(--hot-soft); color: var(--hot); }

/* ---------- Auth ---------- */
.auth {
    background: transparent;
}

.auth__card {
    padding: 36px 30px;
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.auth__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.auth__mark .icon {
    width: 38px;
    height: 38px;
}

.auth__title,
.auth__lead {
    text-align: center;
}

.auth__card .field {
    min-height: 52px;
    border-color: transparent;
    border-radius: 14px;
    background: var(--field);
    box-shadow: none;
}

.auth__card .field:focus {
    border-color: var(--primary);
    background: #fff;
}

.auth__submit {
    min-height: 52px;
    border-radius: 999px;
}

.auth__alert {
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.auth__switch {
    color: var(--hot);
}

.auth__back {
    background: var(--field);
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 72px;
    border-top: 0;
    background: #fff;
    color: var(--text);
    box-shadow: 0 -1px 0 var(--line);
}

.footer::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer__grid {
    grid-template-columns: minmax(240px, 1.55fr) minmax(160px, 1fr) minmax(180px, 1fr);
    gap: 36px 56px;
    padding-top: 44px;
    padding-bottom: 36px;
}

.logo--footer,
.logo--footer:hover {
    color: var(--ink);
}

.footer__about {
    max-width: 40ch;
    color: var(--text-soft);
}

.footer__title {
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    color: var(--ink);
    font-size: 15px;
}

.footer__links li {
    padding: 0;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--text);
    font-weight: 600;
}

.footer__links a:hover {
    color: var(--primary-ink);
}

.footer__phones a,
.footer__phones a:hover {
    color: var(--ink);
    font-weight: 700;
}

.footer__phones .icon {
    color: var(--primary-ink);
}

.footer__social a {
    background: var(--field);
    color: var(--ink);
}

.footer__social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer__bottom {
    border-top: 0;
    background: var(--field);
    color: var(--text-soft);
}

.footer__bottom-inner {
    min-height: 64px;
    padding-inline-start: 0;
    padding-inline-end: 0;
    padding-left: 72px;
}

.footer__pay {
    color: var(--ink);
    font-weight: 700;
}

.footer__pay .icon {
    color: var(--primary-ink);
}

@media (max-width: 1100px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__col--about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__col--about {
        grid-column: auto;
    }
}

.back-to-top {
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.store-toast {
    border-radius: 16px;
    background: var(--ink);
}

.app-progress {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.store-busy__spin {
    border-top-color: var(--primary);
}

/* ================================================================
   Desktop / tablet layout tweaks
   ================================================================ */
@media (max-width: 1100px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ================================================================
   Phones (768px and below): app layout
   ================================================================ */
@media (max-width: 768px) {
    /* Floating tabbar sits 10px above the home indicator; stack bars above it. */
    :root {
        --tabbar-float: 10px;
        --tabbar-stack: calc(var(--tabbar-h) + var(--safe-bottom) + var(--tabbar-float) + 8px);
    }

    .shop__sidebar {
        border: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -10px 40px rgba(15, 20, 25, 0.16);
    }

    .shop-toolbar {
        border-radius: 0;
        box-shadow: none;
    }

    body.has-tabbar {
        padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--tabbar-float) + 24px);
    }

    body.has-tabbar:has(.product:not(.product--style)) {
        padding-bottom: calc(var(--tabbar-stack) + 120px);
    }

    .header {
        background: color-mix(in srgb, var(--app-bg) 92%, transparent);
    }

    .header__burger {
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    .logo__mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .logo__mark .icon {
        width: 22px;
        height: 22px;
    }

    .search input {
        height: 44px;
        padding: 0 44px 0 16px;
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    .search > button {
        background: transparent;
        color: var(--muted);
    }

    .app-bar {
        background: color-mix(in srgb, var(--app-bg) 94%, transparent);
    }

    .app-bar__btn {
        border-radius: 14px;
    }

    a.app-bar__btn {
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    /* Floating tab bar */
    .app-tabbar {
        right: 12px;
        left: 12px;
        bottom: calc(var(--tabbar-float) + var(--safe-bottom));
        height: var(--tabbar-h);
        padding: 0 6px;
        border: 0;
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(30, 33, 50, 0.14);
        /* backdrop-filter forces overflow clipping and cuts the active pill */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        overflow: visible;
    }

    .app-tabbar__item {
        color: var(--muted);
    }

    .app-tabbar__item.is-active {
        color: var(--primary-ink);
    }

    /* Keep the active pill inside the icon box so it is not clipped */
    .app-tabbar__icon {
        width: 46px;
        height: 32px;
    }

    .app-tabbar__item.is-active .app-tabbar__icon::before {
        inset: 0;
        background: var(--primary);
        box-shadow: var(--shadow-brand);
    }

    .app-tabbar__item.is-active .app-tabbar__icon > .icon {
        color: #fff;
    }

    .app-tabbar__badge {
        background: var(--hot);
        top: 0;
        right: 2px;
    }

    /* Sticky cart / buy bars sit fully above the floating tabbar */
    body.has-tabbar .product .buy-panel,
    .app-actionbar {
        bottom: var(--tabbar-stack);
    }

    .store-toast,
    body.has-tabbar .pwa-banner {
        bottom: calc(var(--tabbar-stack) + 6px);
    }

    /* Home */
    .sx-greet {
        padding-top: 14px;
    }

    .sx-greet__hello {
        font-size: 13px;
    }

    .sx-greet__title {
        font-size: 20px;
    }

    .sx-greet__avatar {
        width: 46px;
        height: 46px;
    }

    .section,
    .section--tight {
        margin-top: 24px;
    }

    .section__title {
        padding: 0;
        font-size: 16.5px;
    }

    .section__more::after {
        display: none;
    }

    .categories {
        gap: 12px;
    }

    .category-tile {
        flex: 0 0 74px;
    }

    .category-tile__img {
        width: 66px;
        height: 66px;
        padding: 4px;
        border: 0;
        background: var(--cat-bg);
        box-shadow: none;
    }

    .category-tile__letter {
        font-size: 24px;
    }

    .category-tile__name {
        font-size: 12px;
    }

    .sx-hero-wrap {
        margin-top: 18px;
    }

    .hero {
        margin: 0;
        border-radius: 20px;
    }

    .section--deals {
        margin-top: 24px;
        margin-inline: auto;
        padding: 0 max(14px, env(safe-area-inset-left)) 0 max(14px, env(safe-area-inset-right));
        border-radius: 0;
        background: none;
    }

    .section--deals .section__title {
        color: var(--text);
    }

    .section--deals .section__more {
        color: var(--hot);
    }

    .product-grid,
    .product-grid--shop {
        gap: 12px;
    }

    .product-card {
        padding: 8px;
        border-radius: 20px;
        box-shadow: var(--shadow-sm);
    }

    .product-card:hover {
        transform: none;
    }

    .product-card__media {
        border-radius: 14px;
    }

    .product-card .product-card__action {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 12px;
    }

    .product-card__action-text {
        display: none;
    }

    .product-grid--rail {
        padding-bottom: 16px;
    }

    .promos {
        margin-top: 24px;
    }

    .container.promos {
        margin-inline: 0;
    }

    .promo {
        min-height: 128px;
        border-radius: 22px;
    }

    .promo__title {
        font-size: 18px;
    }

    .promo__img {
        width: 84px;
        height: 84px;
        border-width: 4px;
    }

    .features {
        display: flex;
        gap: 10px;
        margin-top: 24px;
        margin-inline: -14px;
        padding: 2px 14px 8px;
    }

    .feature {
        padding: 12px 14px;
        border-radius: 18px;
    }

    .feature .icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .brand-tile,
    .brands .brand-tile {
        border-radius: 18px;
        box-shadow: var(--shadow-sm);
    }

    /* Account */
    .account--overview .account-nav__profile {
        background: var(--primary);
        box-shadow: var(--shadow-brand);
    }

    .account-nav__photo {
        background: #fff;
        color: var(--primary-ink);
        border: 3px solid rgba(255, 255, 255, 0.5);
        background-clip: padding-box;
    }

    .account--overview .account-nav__bar {
        border-radius: 22px;
        box-shadow: var(--shadow-sm);
    }

    .account--overview .account-nav__link + .account-nav__link,
    .account--overview .account-nav__logout {
        border-top-color: var(--line);
    }

    .account--overview .account-nav__link > .icon:first-child {
        border-radius: 50%;
        background: var(--primary-soft);
        color: var(--primary-ink);
    }

    .account--overview .account-nav__link:nth-child(4n+2) > .icon:first-child { background: var(--accent-soft); color: var(--accent); }
    .account--overview .account-nav__link:nth-child(4n+3) > .icon:first-child { background: var(--hot-soft); color: var(--hot); }
    .account--overview .account-nav__link:nth-child(4n+4) > .icon:first-child { background: var(--sx-yellow-soft); color: var(--sx-yellow-ink); }

    .account-card,
    .address-card,
    .account-stat,
    .orders-panel,
    .order-card {
        border-radius: 22px;
        box-shadow: var(--shadow-sm);
    }

    /* Auth */
    .auth {
        padding: 20px 0 40px;
    }

    .auth__card {
        padding: 28px 20px 24px;
        border-radius: 28px;
        background: #fff;
        box-shadow: var(--shadow-sm);
    }

    .auth__title {
        font-size: 24px;
    }

    .auth__lead {
        margin-bottom: 20px;
    }

    .auth__card .field {
        background: var(--field);
        box-shadow: none;
    }

    .auth__back {
        background: var(--field);
    }
}
