.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    transform: translateZ(0);
    backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    will-change: box-shadow;
}

.site-header.is-condensed {
    box-shadow: var(--mmp-store-shadow-sm);
}

body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-sticky {
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}

.site-header.is-sticky .topbar {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    max-height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: clip;
    border-bottom-color: transparent;
}

.site-header.is-sticky .nav-shell {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px 16px;
}

.site-header.is-sticky .brandmark strong {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.site-header.is-sticky .header-search-wrap {
    max-width: 540px;
}

.site-header.is-sticky .icon-link-text,
.site-header.is-sticky .mobile-menu-toggle span {
    transition: opacity var(--mmp-transition-fast) ease, transform var(--mmp-transition-fast) ease;
}

.site-header.is-sticky-compact .header-search-wrap {
    max-width: 420px;
}

.site-header.is-sticky-compact.is-hide-text .icon-link-text,
.site-header.is-sticky-compact.is-hide-text .mobile-menu-toggle span {
    opacity: 0;
    transform: translateY(-4px);
    max-width: 0;
    overflow: clip;
    pointer-events: none;
}

.site-header.is-sticky-compact .icon-link,
.site-header.is-sticky-compact .mobile-menu-toggle {
    padding-left: 12px;
    padding-right: 12px;
    min-width: 40px;
}

.site-header.is-sticky-compact .searchform {
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06);
}

.site-header.is-sticky-compact .brandmark strong {
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.site-header.is-scrolling-down .topbar {
    transition-delay: 0ms;
}

.topbar {
    max-height: 34px;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 17, 17, 0.94);
    color: #ffffff;
    font-size: 11px;
    transition:
        opacity var(--mmp-transition-fast) ease,
        visibility var(--mmp-transition-fast) ease,
        border-color var(--mmp-transition-fast) ease;
}

.topbar-inner,
.nav-shell,
.header-subnav-inner,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mmp-store-space-4);
}

.topbar-inner {
    min-height: 30px;
    padding: 2px 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 360px;
    min-width: 0;
    flex-wrap: wrap;
}

.topbar-promo,
.topbar-coupon {
    display: flex;
    align-items: center;
    min-width: 0;
}

.topbar-promo {
    gap: 6px;
    flex: 0 1 auto;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.topbar-promo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    line-height: 0;
}

.topbar-promo__icon .mmp-store-icon {
    width: 11px;
    height: 11px;
}

.topbar-promo__text {
    min-width: 0;
}

.topbar-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.topbar-coupon-rotator {
    display: flex;
    align-items: center;
    min-width: 0;
}

.topbar-coupon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
    color: #ffffff;
}

.topbar-coupon:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.topbar-coupon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    width: 12px;
    height: 12px;
    line-height: 0;
}

.topbar-coupon__icon .mmp-store-icon {
    width: 11px;
    height: 11px;
}

.topbar-coupon__code {
    min-width: 0;
}

.topbar-coupon__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 1px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topbar-coupon__copy:hover,
.topbar-coupon__copy:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.topbar-coupon__copy .mmp-store-icon {
    width: 10px;
    height: 10px;
}

.topbar-coupon__copy.is-copied {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.topbar-action:hover,
.topbar-action:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.topbar-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    line-height: 0;
}

.topbar-action__icon .mmp-store-icon {
    width: 11px;
    height: 11px;
    color: #ffffff;
}

.nav-shell {
    display: grid;
    grid-template-columns: minmax(160px, auto) minmax(280px, 1.28fr) auto;
    grid-template-areas:
        "brand search actions"
        "nav nav nav";
    align-items: center;
    gap: 10px 18px;
    padding: 14px 0 12px;
}

.brandmark {
    grid-area: brand;
    display: grid;
    align-items: center;
    gap: 2px;
    min-width: 0;
    width: fit-content;
    max-width: min(34vw, 260px);
    color: inherit;
    text-decoration: none;
}

.brandmark strong {
    font-family: var(--mmp-store-font-display);
    font-size: clamp(1.6rem, 2.2vw, 2.3rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.brandmark__logo {
    display: block;
    width: auto;
    max-width: min(34vw, 260px);
    max-height: 58px;
    object-fit: contain;
}

.site-header.is-sticky .brandmark__logo {
    max-width: min(var(--mmp-header-sticky-logo-max-width, 104px), 26vw);
    max-height: 44px;
}

.header-search-wrap {
    grid-area: search;
    min-width: 0;
    width: 100%;
    max-width: 620px;
}

.searchform {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 3px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.07);
}

.searchform__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    width: 100%;
    padding: 3px 3px 3px 14px;
    border-radius: 999px;
    border: 0;
    background: transparent;
}

.searchform__clear .mmp-store-icon,
.searchform__submit .mmp-store-icon {
    width: 14px;
    height: 14px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-field {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    background: transparent;
    outline: none;
    color: var(--mmp-store-color-ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.search-field::placeholder {
    color: rgba(17, 17, 17, 0.36);
}

.search-field:focus-visible {
    box-shadow: none;
}

.searchform .searchform__clear,
.searchform .searchform__submit {
    border-radius: 999px;
    border: 1px solid transparent;
}

.searchform .searchform__clear {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    background: transparent;
    color: var(--mmp-store-color-ink);
}

.searchform .searchform__submit {
    min-height: 34px;
    width: 34px;
    min-width: 34px;
    padding: 0;
    background: var(--mmp-store-color-ink);
    color: #ffffff;
    border-color: var(--mmp-store-color-ink);
}

.searchform .searchform__clear:hover,
.searchform .searchform__submit:hover {
    transform: translateY(-1px);
}

.searchform .searchform__clear:hover,
.searchform .searchform__clear:focus-visible {
    background: rgba(17, 17, 17, 0.08);
    border-color: rgba(17, 17, 17, 0.08);
}

.searchform .searchform__submit:hover,
.searchform .searchform__submit:focus-visible {
    background: var(--mmp-store-color-primary-strong);
    border-color: var(--mmp-store-color-primary-strong);
}

.header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    flex-wrap: nowrap;
}

.icon-link {
    min-height: 40px;
    min-width: 40px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 0;
}

.icon-link .mmp-store-icon,
.mobile-menu-toggle .mmp-store-icon {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
}

.icon-link-text {
    display: none;
}

.icon-link__count {
    min-width: 20px;
    min-height: 20px;
    font-size: 11px;
}

.header-support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--mmp-store-color-line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--mmp-store-color-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    transition:
        transform var(--mmp-store-duration-base) var(--mmp-store-ease),
        background var(--mmp-store-duration-base) var(--mmp-store-ease),
        border-color var(--mmp-store-duration-base) var(--mmp-store-ease),
        color var(--mmp-store-duration-base) var(--mmp-store-ease);
}

.header-support-link:hover {
    transform: translateY(-1px);
}

.header-support-link .mmp-store-icon {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    color: currentColor;
    display: block;
}

.mini-cart-toggle {
    position: relative;
    min-width: 92px;
}

.mini-count {
    min-width: 24px;
    min-height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mmp-store-color-primary-strong);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
}

.header-subnav {
    border-top: 1px solid var(--mmp-store-color-line);
    border-bottom: 1px solid var(--mmp-store-color-line);
    background: rgba(255, 255, 255, 0.7);
}

.header-subnav-inner {
    min-height: 46px;
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
}

.header-subnav-inner a {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mmp-store-color-ink);
}

.home-section {
    padding: var(--mmp-store-space-8) 0 0;
}

.home-hero {
    padding: var(--mmp-store-space-8) 0 var(--mmp-store-space-6);
}

.home-hero-grid,
.newsletter-grid,
.vitrines-grid,
.social-proof-grid,
.category-showcase-grid,
.product-grid,
.shop-layout,
.mmp-cart-layout,
.mmp-checkout-grid,
.mmp-account-shell,
.product-belowfold-grid,
.single-product-shell .product-hero-grid {
    display: grid;
    gap: clamp(14px, 1.6vw, 22px);
}

.shell,
.footer-grid {
    width: var(--mmp-store-container);
    margin-inline: auto;
}

.footer-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    margin: 0 0 10px;
    color: var(--mmp-store-color-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-brand {
    display: grid;
    gap: 10px;
}

.footer-brand h2 {
    margin: 0;
    font-family: var(--mmp-store-font-display);
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.footer-brand p {
    margin: 0;
    max-width: none;
    color: var(--mmp-store-color-ink-soft);
    line-height: 1.4;
    font-size: 13px;
}

.footer-brand__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.footer-brand__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 12px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: rgba(255, 255, 255, 0.52);
    color: var(--mmp-store-color-muted);
    line-height: 1.2;
    font-size: 10px;
}

.footer-brand__trust .mmp-store-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    color: var(--mmp-store-color-muted);
    display: block;
}

.footer-support {
    display: grid;
    gap: 10px;
}

.footer-support__status {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: rgba(255, 255, 255, 0.66);
}

.footer-support__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-support__badge .mmp-store-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    display: block;
}

.footer-support__status--open .footer-support__badge {
    color: var(--mmp-store-color-primary);
}

.footer-support__status--closed .footer-support__badge,
.footer-support__status--unknown .footer-support__badge {
    color: var(--mmp-store-color-muted);
}

.footer-support__summary {
    margin: 0;
    color: var(--mmp-store-color-ink-soft);
    line-height: 1.35;
    font-size: 11px;
}

.footer-support__actions,
.footer-support__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-support__actions {
    display: grid;
    grid-template-columns: 1fr;
}

.footer-support__action,
.footer-support__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--mmp-store-color-line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--mmp-store-color-ink);
    font-size: 11px;
    font-weight: 700;
    transition:
        transform var(--mmp-store-duration-base) var(--mmp-store-ease),
        background var(--mmp-store-duration-base) var(--mmp-store-ease),
        border-color var(--mmp-store-duration-base) var(--mmp-store-ease);
}

.footer-support__action {
    width: 100%;
    justify-content: flex-start;
}

.footer-support__action:hover,
.footer-support__social:hover {
    transform: translateY(-1px);
}

.footer-support__action--primary {
    background: var(--mmp-store-color-primary);
    color: #fff;
    border-color: transparent;
}

.footer-support__action .mmp-store-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    display: block;
}

.footer-support__social {
    width: 34px;
    min-height: 34px;
    padding: 0;
}

.footer-support__social .mmp-store-icon {
    width: 10px;
    height: 10px;
    color: inherit;
    display: block;
}

.primary-nav .sub-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity var(--mmp-store-duration-base) var(--mmp-store-ease),
        transform var(--mmp-store-duration-base) var(--mmp-store-ease),
        visibility var(--mmp-store-duration-base) var(--mmp-store-ease);
}

.primary-nav .menu-item:hover > .sub-menu,
.primary-nav .sub-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.primary-nav .sub-menu .sub-menu {
    top: -10px;
    left: calc(100% + 8px);
}

.primary-nav__toggle[aria-expanded="true"] .mmp-store-icon {
    transform: rotate(90deg);
}

@media (max-width: 1089px) {
    .primary-nav .sub-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .primary-nav .sub-menu.is-open {
        display: grid;
    }

    .primary-nav .menu-item:hover > .sub-menu:not(.is-open) {
        display: none;
    }
}

.footer-grid .menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid .menu a,
.footer-list li {
    color: var(--mmp-store-color-ink-soft);
    font-size: 12px;
    line-height: 1.3;
}

.footer-grid .menu a {
    text-decoration: none;
}

.footer-grid .menu a:hover {
    color: var(--mmp-store-color-primary);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--mmp-store-color-ink-soft);
}

.site-footer {
    margin-top: var(--mmp-store-space-8);
    padding: var(--mmp-store-space-5) 0;
    border-top: 1px solid var(--mmp-store-color-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.82));
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--mmp-store-color-line);
    gap: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--mmp-store-color-muted);
}

.footer-bottom a {
    color: var(--mmp-store-color-ink);
    font-weight: 800;
}

@media (min-width: 521px) {
    .footer-brand__trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .footer-support__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(18px, 2.2vw, 28px);
    }

    .footer-section h3 {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: 0.14em;
    }

    .footer-brand {
        gap: 12px;
    }

    .footer-brand h2 {
        font-size: clamp(1.55rem, 3vw, 2.2rem);
        line-height: 0.95;
    }

    .footer-brand p {
        max-width: 28ch;
        font-size: 14px;
        line-height: 1.5;
    }

    .footer-support__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-support__action {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

@media (min-width: 981px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr) minmax(180px, 0.6fr) minmax(180px, 0.68fr);
    }
}

.shop-shell,
.single-product-shell,
.page-shell,
.archive-shell,
.mmp-checkout-shell,
.mmp-account-shell,
.mmp-cart-shell,
.mmp-thankyou-shell {
    padding: var(--mmp-store-space-6) 0 0;
}

.shop-toolbar,
.vitrine-column {
    padding: 24px;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.shop-toolbar__lead {
    display: grid;
    gap: 10px;
    max-width: 52ch;
}

.shop-toolbar__controls {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(17, 17, 17, 0.025);
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.shop-toolbar__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop-toolbar__count {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shop-toolbar__ordering {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 200px;
}

.shop-toolbar__ordering .woocommerce-ordering {
    margin: 0;
    width: 100%;
}

@media (max-width: 1280px) {
    .home-hero-grid,
    .newsletter-grid,
    .vitrines-grid,
    .social-proof-grid,
    .category-showcase-grid,
    .product-grid,
    .footer-grid,
    .shop-layout,
    .mmp-cart-layout,
    .mmp-checkout-grid,
    .mmp-account-shell,
    .product-belowfold-grid,
    .single-product-shell .product-hero-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-toggle::before,
    .mobile-menu-toggle::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 16px;
        height: 2px;
        margin-left: -8px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 180ms var(--mmp-store-ease), box-shadow 180ms var(--mmp-store-ease), top 180ms var(--mmp-store-ease);
        pointer-events: none;
    }

    .mobile-menu-toggle::before {
        top: 16px;
        box-shadow: 0 6px 0 currentColor;
    }

    .mobile-menu-toggle::after {
        top: 28px;
    }

    .mobile-menu-toggle[aria-expanded="true"]::before {
        top: 22px;
        box-shadow: none;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"]::after {
        top: 22px;
        transform: rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .shell {
        width: min(100vw - 24px, 1280px);
    }

    .topbar-inner {
        min-height: 22px;
        padding: 0;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .topbar-left,
    .topbar-meta {
        width: auto;
    }

    .topbar-meta {
        margin-left: 0;
        justify-content: flex-end;
        gap: 4px;
    }

    .topbar-actions {
        gap: 4px;
    }

    .topbar-coupon-rotator {
        display: none;
    }

    .topbar-left {
        min-width: 0;
        overflow: hidden;
        flex: 1 1 auto;
    }

    .topbar-promo--pix {
        flex: 1 1 auto;
        min-width: 0;
    }

    .topbar-promo {
        font-size: 9px;
        white-space: nowrap;
        line-height: 1.05;
    }

    .topbar-promo__text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-action {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        touch-action: manipulation;
    }

    .topbar-action__icon .mmp-store-icon {
        width: 9px;
        height: 9px;
    }

    .nav-shell {
        min-height: 76px;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "brand search actions";
    }

    .header-search-wrap {
        display: block;
        width: 100%;
        order: 4;
        grid-column: 1 / -1;
    }

    .header-subnav {
        display: none;
    }

    .icon-link,
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 0 12px;
        position: relative;
        z-index: 2;
        touch-action: manipulation;
    }

    .icon-link .mmp-store-icon,
    .mini-cart-toggle .mmp-store-icon,
    .icon-link--wishlist .mmp-store-icon,
    .mobile-menu-toggle .mmp-store-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        font-size: 14px;
        line-height: 1;
        opacity: 1;
        color: currentColor;
        visibility: visible;
    }

    .mobile-menu-toggle .mmp-store-icon {
        opacity: 0 !important;
    }

    .icon-link-text,
    .header-support-link span,
    .mobile-menu-toggle span {
        display: none;
    }

    .icon-link__count {
        min-width: 18px;
        min-height: 18px;
        font-size: 10px;
        position: absolute;
        top: -4px;
        right: -4px;
    }

    .icon-link--wishlist,
    .mini-cart-toggle {
        position: relative;
    }

    .mini-cart-toggle .mini-count {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 18px;
        min-height: 18px;
        font-size: 10px;
        padding-inline: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile-first reinforcement for the main shell and navigation surfaces. */
@media (max-width: 768px) {
    .shop-shell,
    .single-product-shell,
    .page-shell,
    .archive-shell,
    .mmp-checkout-shell,
    .mmp-account-shell,
    .mmp-cart-shell,
    .mmp-thankyou-shell {
        padding-top: var(--mmp-store-space-4);
    }

    .home-section {
        padding-top: var(--mmp-store-space-6);
    }

    .home-hero {
        padding: var(--mmp-store-space-5) 0;
    }

    .site-header {
        backdrop-filter: blur(16px);
    }

    .topbar {
        max-height: 28px;
        overflow: hidden;
    }

    .topbar-i18n {
        display: none;
    }

    .topbar-promo {
        white-space: nowrap;
        line-height: 1.05;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-coupon,
    .topbar-meta,
    .topbar-left,
    .topbar-actions {
        flex-wrap: nowrap;
    }

    .nav-shell {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "search search";
        gap: 10px 12px;
        padding: 10px 0 12px;
    }

    .brandmark {
        max-width: min(56vw, 220px);
    }

    .brandmark strong {
        font-size: clamp(1.35rem, 7vw, 1.95rem);
    }

    .brandmark__logo {
        max-width: min(56vw, 220px);
        max-height: 48px;
    }

    .header-actions {
        width: auto;
        min-width: 0;
        gap: 6px;
        position: relative;
        z-index: 3;
        pointer-events: auto;
    }

    .header-search-wrap {
        max-width: none;
        position: relative;
        z-index: 1;
    }

    .searchform {
        box-shadow: 0 10px 22px rgba(17, 17, 17, 0.06);
    }

    .searchform__bar {
        min-height: 38px;
        padding-left: 12px;
    }

    .search-field {
        font-size: 16px;
    }

    .icon-link {
        touch-action: manipulation;
    }

    .primary-nav {
        width: 100%;
    }

    .primary-nav.is-open {
        margin-top: 4px;
    }

    .shop-toolbar,
    .vitrine-column {
        padding: 16px;
        border-radius: 22px;
    }

    .shop-toolbar {
        gap: 10px;
    }

    .shop-toolbar__lead,
    .shop-toolbar__controls,
    .shop-toolbar__meta,
    .shop-toolbar__ordering {
        width: 100%;
        max-width: none;
    }

    .shop-toolbar__meta {
        justify-content: flex-start;
    }

    .footer-grid {
        gap: 16px;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        gap: 8px;
        font-size: 12px;
    }

    .home-banner-slider__figure,
    .home-banner-widget__figure {
        aspect-ratio: 16 / 9;
    }

    .home-banner-widget__card {
        border-radius: 22px;
    }

.product-grid,
.product-grid--catalog,
.product-grid--compact,
.home-vitrine .product-grid--compact {
    grid-template-columns: 1fr;
}
}

/* Footer hard mobile-first refinement. */
@media (max-width: 768px) {
    .site-footer {
        margin-top: var(--mmp-store-space-8);
        padding: var(--mmp-store-space-5) 0 var(--mmp-store-space-5);
    }

    .footer-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .footer-section h3 {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .footer-brand,
    .footer-support {
        gap: 10px;
    }

    .footer-brand h2 {
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 0.98;
    }

    .footer-brand p {
        max-width: none;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-brand__trust {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-brand__trust li {
        min-height: 30px;
        padding: 6px 9px;
        border-radius: 12px;
        font-size: 10px;
    }

    .footer-support__status {
        gap: 5px;
        padding: 12px;
        border-radius: 14px;
    }

    .footer-support__badge {
        gap: 6px;
        font-size: 10px;
    }

    .footer-support__summary {
        font-size: 11px;
        line-height: 1.35;
    }

    .footer-support__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-support__action {
        width: 100%;
        min-height: 34px;
        justify-content: flex-start;
        padding: 0 10px;
        font-size: 11px;
    }

    .footer-support__socials {
        gap: 6px;
    }

    .footer-support__social {
        width: 34px;
        min-height: 34px;
    }

    .footer-grid .menu,
    .footer-list {
        gap: 6px;
    }

    .footer-grid .menu a,
    .footer-list li {
        font-size: 12px;
        line-height: 1.3;
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
        margin-top: 14px;
        padding-top: 12px;
        gap: 6px;
        font-size: 11px;
        line-height: 1.35;
    }

    .footer-bottom p {
        margin: 0;
    }
}

@media (max-width: 420px) {
    .site-footer {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .footer-brand h2 {
        font-size: clamp(1.25rem, 7vw, 1.7rem);
    }

    .footer-support__action {
        min-height: 32px;
        font-size: 10px;
    }

    .footer-grid .menu a,
    .footer-list li,
    .footer-bottom {
        font-size: 10px;
    }
}

/* Final footer mobile-first lock to beat legacy desktop-first footer rules. */
@media (max-width: 768px) {
    body .site-footer {
        margin-top: var(--mmp-store-space-8);
        padding: 18px 0 max(18px, env(safe-area-inset-bottom));
    }

    body .site-footer .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body .site-footer .footer-brand,
    body .site-footer .footer-support,
    body .site-footer .footer-section {
        min-width: 0;
        gap: 9px;
    }

    body .site-footer .footer-section {
        display: grid;
        padding-bottom: 2px;
    }

    body .site-footer .footer-section h3 {
        margin-bottom: 8px;
    }

    body .site-footer .footer-brand__trust,
    body .site-footer .footer-support__actions {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body .site-footer .footer-support__socials {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    body .site-footer .footer-support__action,
    body .site-footer .footer-support__social,
    body .site-footer .footer-grid .menu a,
    body .site-footer .footer-list li {
        width: 100%;
    }

    body .site-footer .footer-support__action {
        min-height: 36px;
        padding-inline: 12px;
        justify-content: flex-start;
    }

    body .site-footer .footer-support__social {
        width: 100%;
        min-height: 34px;
    }

    body .site-footer .footer-grid .menu {
        gap: 4px;
    }

    body .site-footer .footer-grid .menu a,
    body .site-footer .footer-list li {
        display: block;
        padding: 6px 0;
        line-height: 1.35;
    }

    body .site-footer .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: start;
        gap: 5px;
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (max-width: 420px) {
    body .site-footer .footer-grid {
        gap: 10px !important;
    }

    body .site-footer .footer-support__socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .site-footer .footer-support__action,
    body .site-footer .footer-grid .menu a,
    body .site-footer .footer-list li,
    body .site-footer .footer-bottom {
        font-size: 10px;
    }
}
