@media(max-width:1100px){.mm-header-main{grid-template-columns:150px 1fr}.mm-header-actions{grid-column:1/-1;justify-content:flex-end}.mm-product-grid{grid-template-columns:repeat(3,1fr)}.mm-product-image{height:300px}.mm-nav-inner{overflow-x:auto}.mm-nav a,.mm-all-categories{white-space:nowrap}}
@media(max-width:800px){.mm-topbar-links a{display:none}.mm-header-main{grid-template-columns:1fr auto;padding:12px}.mm-search{grid-column:1/-1;grid-row:2}.mm-header-actions>a,.mm-account-dropdown{display:none}.mm-mobile-toggle{display:block}.mm-nav{display:none}.mm-hero-grid{grid-template-columns:1fr}.mm-side-banner{min-height:190px}.mm-hero-slide{height:260px}.mm-hero-copy{left:20px;width:65%}.mm-hero-copy h1,.mm-hero-copy h2{font-size:26px}.mm-product-grid{grid-template-columns:repeat(2,1fr)}.mm-product-image{height:260px}.mm-product-actions{opacity:1;transform:none}.mm-campaign-grid{grid-template-columns:1fr}.mm-benefits-grid{grid-template-columns:repeat(2,1fr)}.mm-newsletter{align-items:stretch;flex-direction:column}.mm-newsletter-form{min-width:0}.mm-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.mm-category-item{flex-basis:88px}.mm-category-item span{width:80px;height:80px}.mm-hero-slide{height:220px}.mm-side-banner{min-height:150px}.mm-hero-copy{width:72%}.mm-hero-copy h1,.mm-hero-copy h2{font-size:21px}.mm-hero-copy p{display:none}.mm-product-grid{gap:9px}.mm-product-image{height:190px}.mm-benefits-grid,.mm-footer-grid{grid-template-columns:1fr}.mm-newsletter{padding:20px}.mm-newsletter h2{font-size:20px}}

/* Mobile header layout fix */
@media (max-width: 800px) {
    .mm-topbar { position: relative; z-index: 1040; overflow: visible; }
    .mm-topbar-inner, .mm-topbar-links { overflow: visible; }
    .mm-topbar-links > a { display: none; }
    .mm-topbar .dropdown { position: relative; }
    .mm-topbar .dropdown-menu { z-index: 1080; min-width: 150px; margin-top: 7px; }
    .mm-language-button { display: flex; align-items: center; gap: 4px; min-height: 34px; padding: 4px 0; }
    .mm-header-main { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
    .mm-logo { grid-column: 1; grid-row: 1; }
    .mm-mobile-toggle { display: grid; grid-column: 2; grid-row: 1; width: 44px; height: 44px; place-items: center; border: 1px solid #eadde7; border-radius: 12px; color: var(--mm-primary); background: #fff; font-size: 22px; box-shadow: 0 5px 14px rgba(82, 16, 76, .08); }
    .mm-search { grid-column: 1 / -1; grid-row: 2; }
    .mm-header-actions { display: grid; grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
    .mm-header-actions > a, .mm-header-actions > .mm-account-dropdown { display: block !important; min-width: 0; }
    .mm-header-action, .mm-account-button.mm-header-action { justify-content: center; width: 100%; min-width: 0; min-height: 58px !important; padding: 5px 2px !important; gap: 5px !important; }
    .mm-header-action-icon { flex: 0 0 32px; width: 32px; height: 32px; }
    .mm-header-action-copy { min-width: 0; text-align: left; }
    .mm-header-action-copy small, .mm-header-action-copy strong { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
    .mm-account-dropdown .dropdown-menu { z-index: 1080; }
}
@media (max-width: 520px) {
    .mm-header-main { row-gap: 12px; }
    .mm-header-actions { gap: 3px; }
    .mm-header-action, .mm-account-button.mm-header-action { flex-direction: column; min-height: 68px !important; }
    .mm-header-action-copy { text-align: center; }
    .mm-header-action-copy small { display: none; }
    .mm-header-action-copy strong { margin-top: 1px; font-size: 11px; }
}
/* Mobile header visual correction v2 */
@media (max-width: 800px) {
    body:has(.mm-header) .mm-header-main {
        grid-template-columns: minmax(0, 1fr) 46px !important;
        row-gap: 10px !important;
        padding-block: 10px 14px !important;
    }
    body:has(.mm-header) .mm-mobile-toggle {
        display: grid !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        place-items: center;
        border: 1px solid #eadde7 !important;
        border-radius: 12px !important;
        color: var(--mm-primary) !important;
        background: #fff !important;
        box-shadow: 0 5px 14px rgba(82, 16, 76, .09);
    }
    body:has(.mm-header) .mm-mobile-toggle svg { display: block; width: 23px; height: 23px; }
    body:has(.mm-header) .mm-header-actions {
        display: grid !important;
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 5px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    body:has(.mm-header) .mm-header-actions > .mm-header-action,
    body:has(.mm-header) .mm-header-actions > .mm-account-entry,
    body:has(.mm-header) .mm-header-actions > .mm-account-dropdown {
        display: block !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    body:has(.mm-header) .mm-header-action,
    body:has(.mm-header) .mm-account-button.mm-header-action {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 70px !important;
        padding: 7px 2px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
        border: 1px solid #f0e7ee !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 3px 10px rgba(82, 16, 76, .045);
    }
    body:has(.mm-header) .mm-header-action-icon { flex: 0 0 31px; width: 31px; height: 31px; }
    body:has(.mm-header) .mm-header-action-copy { width: 100%; min-width: 0; text-align: center; }
    body:has(.mm-header) .mm-header-action-copy small { display: none !important; }
    body:has(.mm-header) .mm-header-action-copy strong { display: block; overflow: hidden; width: 100%; margin: 0; font-size: 10.5px !important; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
    body:has(.mm-header) .mm-account-dropdown .dropdown-menu { z-index: 1085; }
    body:has(.mm-header) #mmMobileMenu { width: min(330px, 88vw); border: 0; background: #f8f5f8; box-shadow: 18px 0 45px rgba(35, 17, 34, .18); }
    body:has(.mm-header) #mmMobileMenu .offcanvas-header { min-height: 86px; padding: 18px 20px; border-bottom: 1px solid #eee4ec; background: #fff; }
    body:has(.mm-header) #mmMobileMenu .offcanvas-header img { width: auto; max-width: 185px; max-height: 48px; }
    body:has(.mm-header) #mmMobileMenu .btn-close { width: 36px; height: 36px; margin: 0; padding: 0; border-radius: 10px; background-size: 11px; opacity: .65; }
    body:has(.mm-header) #mmMobileMenu .offcanvas-body { display: flex; overflow-y: auto; padding: 16px; flex-direction: column; gap: 7px; }
    body:has(.mm-header) #mmMobileMenu .offcanvas-body > a { display: flex; min-height: 43px; padding: 10px 13px; align-items: center; border: 1px solid #eee5ec; border-radius: 10px; color: #34313a; background: #fff; font-size: 13px; font-weight: 650; line-height: 1.3; text-decoration: none; box-shadow: 0 2px 7px rgba(52, 25, 48, .035); }
    body:has(.mm-header) #mmMobileMenu .offcanvas-body > a::after { margin-left: auto; color: #a78aa0; content: "›"; font-size: 20px; font-weight: 400; line-height: 1; }
    body:has(.mm-header) #mmMobileMenu .offcanvas-body > a:active { color: var(--mm-primary); border-color: #dfc7d9; background: #fff8fc; }
}
@media (max-width: 390px) {
    body:has(.mm-header) .mm-header-actions { gap: 4px !important; }
    body:has(.mm-header) .mm-header-action,
    body:has(.mm-header) .mm-account-button.mm-header-action { min-height: 66px !important; }
    body:has(.mm-header) .mm-header-action-copy strong { font-size: 10px !important; }
}
/* Mobile account anchor correction */
@media (max-width: 800px) { body:has(.mm-header) .mm-header-actions > a.mm-account-entry { display: flex !important; } }

/* Native language picker */
.mm-language-picker { position: relative; margin: 0; }
.mm-language-picker > summary { list-style: none; cursor: pointer; user-select: none; }
.mm-language-picker > summary::-webkit-details-marker { display: none; }
.mm-language-picker > summary::after { margin-left: 4px; content: "▾"; font-size: 9px; transition: transform .18s ease; }
.mm-language-picker[open] > summary::after { transform: rotate(180deg); }
.mm-language-menu { position: absolute; z-index: 1090; top: calc(100% + 7px); right: 0; display: grid; overflow: hidden; min-width: 160px; padding: 6px; border: 1px solid #eadfe7; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(43, 20, 39, .16); }
.mm-language-menu a { display: flex !important; min-height: 38px; padding: 8px 10px; align-items: center; border-radius: 8px; color: #3e3540 !important; font-size: 12px; font-weight: 650; text-decoration: none; }
.mm-language-menu a:hover, .mm-language-menu a:focus { color: var(--mm-primary) !important; background: #faf1f7; }
@media (max-width: 800px) {
    body:has(.mm-header) .mm-topbar,
    body:has(.mm-header) .mm-topbar-inner,
    body:has(.mm-header) .mm-topbar-links { overflow: visible !important; }
    body:has(.mm-header) .mm-language-picker { display: block !important; }
    body:has(.mm-header) .mm-language-menu a { display: flex !important; }
}