/*
Theme Name: MewMew Market Custom v1.1.0
Theme URI: http://localhost/wordpress/
Author: MewMew Studio
Description: Independent retail fashion theme for MewMew Market. WooCommerce-first, mobile-first, no demo data.
Version: 1.1.0
Text Domain: mewmew-market
*/
:root{--mm-primary:#ff6fae;--mm-secondary:#7c5cff;--mm-accent:#ffd84d;--mm-bg:#fff9fc;--mm-surface:#fff;--mm-ink:#222;--mm-muted:#777;--mm-border:#f0dce8;--mm-success:#2f9e68;--mm-error:#d94b5b;--mm-container:1280px;--mm-r1:12px;--mm-r2:22px;--mm-s1:4px;--mm-s2:8px;--mm-s3:12px;--mm-s4:16px;--mm-s5:24px;--mm-s6:32px;--mm-s7:48px;--mm-s8:64px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mm-bg);color:var(--mm-ink);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{color:inherit}img{max-width:100%;height:auto}.mm-container{width:min(var(--mm-container),calc(100% - 40px));margin-inline:auto}.mm-announcement{background:var(--mm-secondary);color:#fff;font-size:12px;padding:8px 16px;text-align:center}.mm-header{background:var(--mm-surface);border-bottom:1px solid var(--mm-border);position:relative;z-index:50}.mm-header-main{display:grid;grid-template-columns:220px minmax(240px,1fr) 230px;gap:28px;align-items:center;padding:22px 0}.mm-logo{text-decoration:none;font-size:28px;font-weight:900;letter-spacing:-.08em}.mm-logo small{color:var(--mm-primary);font-size:10px;letter-spacing:.18em;margin-left:6px}.mm-search{display:flex;border:2px solid var(--mm-border);border-radius:999px;overflow:hidden;background:#fff}.mm-search input{flex:1;min-width:0;border:0;outline:0;padding:13px 16px}.mm-search button{border:0;background:var(--mm-primary);color:#fff;padding:0 22px;font-weight:800;cursor:pointer}.mm-header-actions{display:flex;justify-content:flex-end;gap:20px;font-size:13px;font-weight:800}.mm-header-actions a{text-decoration:none}.mm-nav{background:#fff;border-bottom:1px solid var(--mm-border)}.mm-nav-inner{display:flex;align-items:center;gap:26px;min-height:54px}.mm-nav a{text-decoration:none;font-size:13px;font-weight:800}.mm-menu-toggle{border:0;background:var(--mm-primary);color:#fff;border-radius:999px;padding:11px 18px;font-weight:900;cursor:pointer}.mm-mega{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:3px solid var(--mm-primary);box-shadow:0 20px 45px #7c5cff22;padding:28px;z-index:60}.mm-nav-wrap{position:relative}.mm-nav-wrap.is-open .mm-mega{display:block}.mm-mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.mm-mega section{display:flex;flex-direction:column;gap:8px}.mm-mega section>a{font-size:13px;color:var(--mm-muted)}.mm-mega .mm-cat-title{color:var(--mm-secondary);font-weight:900;text-transform:uppercase}.mm-main{padding:var(--mm-s7) 0 var(--mm-s8)}.mm-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;background:linear-gradient(120deg,#fff1f7,#f5efff 62%,#fffbea);border-radius:0 0 36px 36px;padding:72px 64px}.mm-eyebrow{color:var(--mm-secondary);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.mm-hero h1{font-size:clamp(40px,6vw,76px);line-height:1.02;letter-spacing:-.07em;margin:14px 0}.mm-hero h1 em{font-style:normal;color:var(--mm-primary)}.mm-hero p{max-width:600px;color:var(--mm-muted)}.mm-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:13px 22px;background:var(--mm-secondary);color:#fff;text-decoration:none;font-weight:900;cursor:pointer}.mm-btn--accent{background:var(--mm-accent);color:var(--mm-ink)}.mm-hero-card{background:var(--mm-ink);color:#fff;border-radius:var(--mm-r2);padding:30px;box-shadow:18px 18px 0 #ff6fae55}.mm-hero-card strong{display:block;color:var(--mm-accent);font-size:42px}.mm-section{margin-top:var(--mm-s8)}.mm-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.mm-section-head h2{margin:5px 0;font-size:30px;letter-spacing:-.05em}.mm-section-head a{color:var(--mm-secondary);font-weight:800;text-decoration:none}.mm-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.mm-category{border:1px solid var(--mm-border);background:#fff;border-radius:var(--mm-r2);padding:18px;text-decoration:none;min-height:132px;transition:.2s}.mm-category:hover{transform:translateY(-4px);border-color:var(--mm-primary);box-shadow:0 12px 26px #ff6fae18}.mm-category b,.mm-category small{display:block}.mm-category small{color:var(--mm-muted);font-size:12px;margin-top:4px}.mm-category-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--mm-primary);color:#fff;font-weight:900;margin-bottom:16px}.mm-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.mm-product-card{background:#fff;border:1px solid var(--mm-border);border-radius:var(--mm-r2);overflow:hidden;transition:.2s}.mm-product-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px #7c5cff18}.mm-product-media{display:block;position:relative;aspect-ratio:4/5;background:#fff1f7;overflow:hidden}.mm-product-media img{width:100%;height:100%;object-fit:cover}.mm-product-badge{position:absolute;top:12px;left:12px;background:var(--mm-primary);color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900}.mm-product-body{padding:16px}.mm-product-cat{color:var(--mm-secondary);font-size:11px;font-weight:900;text-transform:uppercase;text-decoration:none}.mm-product-title{font-size:15px;line-height:1.35;min-height:42px;margin:8px 0}.mm-product-title a{text-decoration:none}.mm-price{font-weight:900;color:var(--mm-primary);font-size:18px}.mm-price del{font-size:12px;color:var(--mm-muted);margin-left:6px;font-weight:500}.mm-product-action{display:block;text-align:center;margin-top:14px;border-radius:999px;padding:10px;background:var(--mm-ink);color:#fff;text-decoration:none;font-size:12px;font-weight:900}.mm-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:linear-gradient(110deg,var(--mm-secondary),var(--mm-primary));color:#fff;border-radius:var(--mm-r2);padding:28px;margin-top:var(--mm-s8)}.mm-benefits strong{display:block;color:var(--mm-accent);font-size:18px}.mm-breadcrumb{font-size:13px;color:var(--mm-muted);margin-bottom:20px}.mm-breadcrumb a{color:var(--mm-secondary);text-decoration:none}.mm-page-title{font-size:clamp(34px,5vw,58px);letter-spacing:-.06em;margin:0 0 28px}.mm-shop-layout{display:grid;grid-template-columns:240px 1fr;gap:28px}.mm-filter{background:#fff;border:1px solid var(--mm-border);border-radius:var(--mm-r2);padding:18px;height:max-content;position:sticky;top:20px}.mm-filter form{display:grid;gap:12px}.mm-filter input,.mm-filter select,.mm-cart input,.mm-cart select,.mm-checkout input,.mm-checkout select,.mm-checkout textarea{width:100%;border:1px solid var(--mm-border);border-radius:999px;padding:11px 14px;background:#fff}.mm-resultbar{display:flex;justify-content:space-between;color:var(--mm-muted);font-size:13px;margin-bottom:16px}.mm-product-single{display:grid;grid-template-columns:1fr 1fr;gap:48px}.mm-single-image{background:#fff1f7;border-radius:var(--mm-r2);overflow:hidden}.mm-single-summary h1{font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.06em}.mm-single-price{font-size:30px;font-weight:900;color:var(--mm-primary);margin:20px 0}.mm-product-form{margin-top:24px}.mm-product-form form{display:grid;gap:16px}.mm-product-form .variations{width:100%;border-collapse:separate;border-spacing:0 12px}.mm-product-form .variations td{vertical-align:middle}.mm-product-form .variations select{max-width:260px}.mm-product-form .quantity{display:inline-block}.mm-product-form .quantity input{max-width:100px}.mm-product-form button{border:0!important;border-radius:999px!important;background:var(--mm-primary)!important;color:#fff!important;padding:14px 24px!important;font-weight:900!important}.mm-description{border-top:1px solid var(--mm-border);margin-top:40px;padding-top:28px;color:#555}.mm-footer{background:var(--mm-ink);color:#fff;margin-top:var(--mm-s8)}.mm-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:52px 0}.mm-footer h3{font-size:12px;color:var(--mm-accent);text-transform:uppercase;letter-spacing:.12em}.mm-footer a{color:#fff;text-decoration:none;font-size:13px}.mm-footer p{color:#d5d0d8;font-size:13px}.mm-footer-bottom{border-top:1px solid #4c4650;padding:16px 0;color:#c8c1ca;font-size:12px;display:flex;justify-content:space-between}.mm-woocommerce-wrap{background:#fff;border-radius:var(--mm-r2);padding:28px}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--mm-primary)!important;border-radius:var(--mm-r1)}.woocommerce table.shop_table{border:1px solid var(--mm-border);border-radius:var(--mm-r1);overflow:hidden}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:999px!important;background:var(--mm-primary)!important;color:#fff!important;font-weight:900!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid var(--mm-border);border-radius:999px;padding:12px}.mm-404{text-align:center;padding:100px 20px}.mm-404 h1{font-size:72px;color:var(--mm-primary)}@media(max-width:960px){.mm-header-main{grid-template-columns:1fr;gap:14px}.mm-header-actions{justify-content:flex-start}.mm-hero{grid-template-columns:1fr;padding:52px 32px}.mm-category-grid{grid-template-columns:repeat(3,1fr)}.mm-product-grid{grid-template-columns:repeat(3,1fr)}.mm-shop-layout{grid-template-columns:1fr}.mm-filter{position:static}.mm-product-single{grid-template-columns:1fr}.mm-footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.mm-container{width:min(100% - 28px,var(--mm-container))}.mm-announcement{font-size:10px}.mm-nav-inner{gap:12px;overflow:auto;white-space:nowrap}.mm-mega-grid{grid-template-columns:repeat(2,1fr)}.mm-hero{padding:40px 20px}.mm-hero h1{font-size:42px}.mm-category-grid,.mm-product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.mm-category{padding:13px;min-height:118px}.mm-product-body{padding:11px}.mm-product-title{font-size:13px;min-height:40px}.mm-product-media{aspect-ratio:1/1.25}.mm-benefits{grid-template-columns:1fr}.mm-footer-grid{grid-template-columns:1fr}.mm-footer-bottom{display:block}.mm-footer-bottom span{display:block;margin-top:6px}}
/* Product detail refinement v1.0.6 */
.mm-product-single{align-items:start}
.mm-single-image{align-self:start;background:#fff;border:1px solid #f0edf0;border-radius:28px;padding:14px;overflow:hidden;box-shadow:0 16px 40px rgba(35,31,36,.06);min-height:0}
.mm-single-image:empty{display:none}
.mm-single-image img{display:block;width:100%;height:auto;max-height:700px;object-fit:contain;border-radius:20px;background:#fff}
.mm-single-summary{min-width:0}
.mm-product-form{margin-top:28px;padding:22px 24px;border:1px solid #eee9ee;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fffafd 100%)}
.mm-product-form form{gap:18px}
.mm-product-form .variations{margin:0;width:100%;border-collapse:separate;border-spacing:0 12px}
.mm-product-form .variations tr{vertical-align:top}
.mm-product-form .variations td{padding:0;vertical-align:top}
.mm-product-form .variations td.label{width:124px;padding-top:10px}
.mm-product-form .variations td.label label{font-size:14px;font-weight:800;color:var(--mm-ink);letter-spacing:.01em}
.mm-product-form .variations td.value{width:auto}
.mm-product-form .variations select.mm-native-variation-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mm-variation-options{display:flex;flex-wrap:wrap;gap:8px}
.mm-variation-option{border:1px solid #e8e1e8;border-radius:999px;background:#fff;color:#5e5860;padding:10px 15px;font:inherit;font-size:13px;line-height:1.15;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.mm-variation-option:hover{border-color:var(--mm-secondary);color:var(--mm-secondary);transform:translateY(-1px)}
.mm-variation-option.is-selected{border-color:var(--mm-secondary);background:#e9faf6;color:#087d70;box-shadow:0 5px 14px rgba(7,125,112,.12);font-weight:800}
.mm-product-form .reset_variations{display:inline-block;margin:2px 0 0 124px;color:var(--mm-muted);font-size:12px;text-decoration:none}
.mm-product-form .quantity{display:flex;align-items:center;gap:10px}
.mm-product-form .quantity input{width:86px;max-width:none;border:1px solid #e8e1e8;border-radius:999px;padding:12px 14px;text-align:center;background:#fff}
.mm-product-form .single_add_to_cart_button{min-height:50px;padding:14px 28px!important;box-shadow:0 10px 20px rgba(7,125,112,.16)}
@media(max-width:600px){.mm-single-image{border-radius:22px;padding:10px}.mm-single-image img{border-radius:16px;max-height:none}.mm-product-form{padding:18px 16px;border-radius:20px;overflow:hidden}.mm-product-form .variations td.label{display:block;width:auto;padding:0 0 8px}.mm-product-form .variations td.value{display:block}.mm-product-form .variations{display:block}.mm-product-form .variations tbody,.mm-product-form .variations tr,.mm-product-form .variations td{display:block;width:100%}.mm-product-form .reset_variations{margin-left:0}.mm-product-form .quantity{flex-wrap:wrap}.mm-variation-options{gap:7px;max-width:100%;overflow:visible}.mm-variation-option{flex:0 1 auto;max-width:100%;padding:9px 12px;font-size:12px;white-space:normal;text-align:center}.mm-product-form form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.mm-product-form form.cart .variations{flex:1 1 100%}.mm-product-form form.cart .single_add_to_cart_button{flex:1 1 180px}.mm-product-form form.cart .quantity{flex:0 1 auto}}
/* Pill interaction refinement */
@keyframes mm-pill-pop{0%{transform:scale(.94);box-shadow:0 0 0 rgba(7,125,112,0)}60%{transform:scale(1.04);box-shadow:0 7px 18px rgba(7,125,112,.16)}100%{transform:scale(1);box-shadow:0 5px 14px rgba(7,125,112,.12)}}
.mm-variation-option{will-change:transform,box-shadow}
@media (hover:hover){.mm-variation-option:hover{box-shadow:0 6px 16px rgba(124,92,255,.12)}}
.mm-variation-option:active{transform:scale(.96);transition-duration:.08s}
.mm-variation-option.is-selected{animation:mm-pill-pop .28s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){.mm-variation-option,.mm-variation-option.is-selected{animation:none!important;transition:none!important}.mm-variation-option:hover{transform:none}}


/* v1.1 discovery and merchandising refinement */
.mm-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mm-category{position:relative;min-height:190px;padding:20px 18px 18px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid rgba(17,36,44,.08);border-radius:24px;background:linear-gradient(145deg,#f2fbf8 0%,#fff8f5 100%);box-shadow:0 10px 24px rgba(17,36,44,.05);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.mm-category:nth-child(4n+2){background:linear-gradient(145deg,#fff4f6 0%,#fffdf6 100%)}.mm-category:nth-child(4n+3){background:linear-gradient(145deg,#f5f1ff 0%,#f5fbff 100%)}.mm-category:nth-child(4n+4){background:linear-gradient(145deg,#fff8df 0%,#f3fbf5 100%)}
.mm-category:hover{transform:translateY(-5px);border-color:rgba(15,139,126,.24);box-shadow:0 18px 34px rgba(17,36,44,.11)}
.mm-category-art{position:absolute;top:18px;right:18px;width:70px;height:70px;border-radius:24px;background:rgba(255,255,255,.68);display:grid;place-items:center;color:#0f8b7e}.mm-category-art img{width:100%;height:100%;border-radius:24px;object-fit:cover}.mm-category-art:not(:has(img))::before{font-size:32px;font-weight:700;line-height:1;color:currentColor}.mm-icon-food{color:#e1714d}.mm-icon-food::before{content:'✦'}.mm-icon-fashion{color:#9a6ee8}.mm-icon-fashion::before{content:'◇'}.mm-icon-home{color:#e6a43d}.mm-icon-home::before{content:'⌂'}.mm-icon-baby{color:#e8799a}.mm-icon-baby::before{content:'○'}.mm-icon-beauty{color:#d75f9a}.mm-icon-beauty::before{content:'✧'}.mm-icon-leaf{color:#55a56a}.mm-icon-leaf::before{content:'♧'}.mm-icon-spark{color:#0f8b7e}.mm-icon-spark::before{content:'✦'}
.mm-category-index{font-size:11px;font-weight:800;letter-spacing:.12em;color:#0f8b7e;margin-bottom:10px}.mm-category b{max-width:78%;font-size:16px;line-height:1.25;color:#172b33}.mm-category small{margin-top:8px;color:#718087;font-size:13px}.mm-category-arrow{position:absolute;bottom:18px;right:18px;color:#0f8b7e;font-size:20px;transition:transform .25s ease}.mm-category:hover .mm-category-arrow{transform:translateX(4px)}
.mm-section-note{max-width:560px;margin:8px 0 0;color:#718087;font-size:14px;line-height:1.55}.mm-product-grid-home,.mm-related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mm-product-grid-home .mm-product-card,.mm-related-grid .mm-product-card{border-radius:20px;padding:10px}.mm-product-grid-home .mm-product-media,.mm-related-grid .mm-product-media{aspect-ratio:1/1;min-height:0;border-radius:16px}.mm-product-grid-home .mm-product-title,.mm-related-grid .mm-product-title{font-size:14px;line-height:1.35;min-height:3.8em;margin:10px 2px 6px}.mm-product-grid-home .mm-product-cat,.mm-related-grid .mm-product-cat{font-size:10px;margin:4px 2px}.mm-product-grid-home .mm-price,.mm-related-grid .mm-price{font-size:15px;margin:0 2px 8px}.mm-product-grid-home .mm-product-action,.mm-related-grid .mm-product-action{min-height:34px;padding:8px 10px;font-size:11px;margin-top:8px}.mm-related-section{padding-top:30px;border-top:1px solid rgba(17,36,44,.08)}
@media(max-width:980px){.mm-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mm-product-grid-home,.mm-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.mm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mm-category{min-height:158px;padding:14px;border-radius:18px}.mm-category-art{top:12px;right:12px;width:52px;height:52px;border-radius:18px}.mm-category-art img{border-radius:18px}.mm-category b{font-size:14px;max-width:92%}.mm-category small{font-size:12px}.mm-category-arrow{right:14px;bottom:13px}.mm-product-grid-home,.mm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mm-product-grid-home .mm-product-card,.mm-related-grid .mm-product-card{padding:7px;border-radius:16px}.mm-product-grid-home .mm-product-media,.mm-related-grid .mm-product-media{border-radius:12px}.mm-product-grid-home .mm-product-title,.mm-related-grid .mm-product-title{font-size:12px;min-height:4.1em}.mm-product-grid-home .mm-price,.mm-related-grid .mm-price{font-size:13px}.mm-section-note{font-size:13px}}
@media(max-width:390px){.mm-category{min-height:145px}.mm-category-index{font-size:10px}.mm-category b{font-size:13px}.mm-product-grid-home,.mm-related-grid{gap:8px}.mm-product-grid-home .mm-product-title,.mm-related-grid .mm-product-title{font-size:11px}.mm-product-grid-home .mm-product-action,.mm-related-grid .mm-product-action{font-size:10px;padding:7px 6px}}
@media(prefers-reduced-motion:reduce){.mm-category,.mm-category-arrow{transition:none}}

/* MewMew 2026 polish: one Vietnamese-safe system stack, resilient layouts and mobile UX. */
:root{--mm-focus:#087f72;--mm-shadow:0 12px 30px rgba(23,37,43,.08)}
html,body{overflow-x:hidden}
body{font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.mm-header{position:sticky;top:0;box-shadow:0 2px 0 rgba(23,37,43,.03)}
body.admin-bar .mm-header{top:32px}
.mm-nav,.mm-nav-wrap,.mm-nav-inner{min-width:0}
.mm-nav-inner{overflow:visible}
.mm-product-card{height:100%;display:flex;flex-direction:column}
.mm-product-body{display:flex;flex:1;flex-direction:column;min-width:0}
.mm-product-title{overflow-wrap:anywhere;word-break:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.mm-product-action{margin-top:auto}
.mm-product-media img{font-size:0}
.mm-empty-copy{padding:28px 0;color:var(--mm-muted)}
.mm-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.mm-pagination .page-numbers{display:inline-flex;min-width:40px;min-height:40px;align-items:center;justify-content:center;border:1px solid var(--mm-border);border-radius:999px;text-decoration:none;color:var(--mm-ink)}
.mm-pagination .page-numbers.current{background:var(--mm-secondary);border-color:var(--mm-secondary);color:#fff}
.mm-btn:focus-visible,.mm-menu-toggle:focus-visible,.mm-search input:focus-visible,.mm-search button:focus-visible,.mm-nav a:focus-visible,.mm-header-actions a:focus-visible,.mm-product-action:focus-visible,.mm-category:focus-visible,.mm-pagination a:focus-visible{outline:3px solid color-mix(in srgb,var(--mm-focus) 35%,transparent);outline-offset:3px}
.woocommerce form .form-row textarea,.woocommerce form .form-row input.input-text,.woocommerce form .form-row select{border-radius:12px;padding:12px 14px}
.woocommerce table.shop_table{display:block;overflow-x:auto;max-width:100%}
.woocommerce-cart .cart-collaterals,.woocommerce-checkout #payment,.woocommerce-checkout .woocommerce-checkout-review-order{box-shadow:var(--mm-shadow)}
@media(max-width:960px){body.admin-bar .mm-header{top:46px}.mm-header-main{padding:16px 0}.mm-nav-inner{overflow-x:auto;scrollbar-width:none}.mm-nav-inner::-webkit-scrollbar{display:none}}
@media(max-width:600px){body.admin-bar .mm-header{top:46px}.mm-header{position:relative}.mm-container{width:min(calc(100% - 28px),var(--mm-container))}.mm-header-main{grid-template-columns:minmax(0,1fr);padding:15px 0}.mm-header-actions{gap:12px;flex-wrap:wrap}.mm-mega{position:absolute;left:0;right:0;top:calc(100% + 1px);max-height:70vh;overflow:auto;padding:18px;border-radius:0 0 18px 18px}.mm-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mm-section-head{align-items:flex-start;gap:12px}.mm-section-head h2{font-size:25px}.mm-section-head>a{white-space:nowrap;font-size:12px}.mm-benefits{padding:22px}.mm-single-summary h1{font-size:36px}.mm-product-form form.cart .single_add_to_cart_button{min-height:48px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:16px!important}}
@media(max-width:390px){.mm-container{width:calc(100% - 24px)}.mm-mega-grid{grid-template-columns:1fr}.mm-section-head{display:block}.mm-section-head>a{display:inline-block;margin-top:8px}.mm-product-title{font-size:12px;line-height:1.35}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Mobile UX correction v1.1.1: prevent overflow and prioritize content on narrow screens. */
@media(max-width:600px){
  .mm-announcement{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline:12px}
  .mm-header-main{gap:12px}
  .mm-logo{font-size:25px;line-height:1}
  .mm-logo small{font-size:9px}
  .mm-search{width:100%;min-width:0;border-width:1px}
  .mm-search input{min-width:0;width:100%;padding:11px 13px;font-size:14px}
  .mm-search button{flex:0 0 auto;padding:0 14px;font-size:12px}
  .mm-header-actions{display:flex;gap:16px;font-size:12px;line-height:1.2}
  .mm-nav-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;padding:9px 0;overflow:visible;white-space:normal}
  .mm-nav-inner .mm-menu-toggle{grid-column:1/-1;justify-self:start;padding:10px 15px;font-size:12px}
  .mm-nav-inner>a{min-width:0;padding:7px 0;font-size:12px;line-height:1.2;white-space:normal}
  .mm-hero{display:block;width:100%;padding:32px 18px;border-radius:0 0 24px 24px;overflow:hidden}
  .mm-hero h1{max-width:100%;font-size:clamp(36px,11vw,48px);line-height:1.04;overflow-wrap:anywhere}
  .mm-hero p{font-size:14px;line-height:1.5;margin-bottom:18px}
  .mm-hero-card{margin-top:28px;padding:24px;border-radius:20px;box-shadow:10px 10px 0 #ff6fae55}
  .mm-hero-card strong{font-size:36px}
  .mm-category{min-width:0}
}
@media(max-width:390px){
  .mm-search button{padding-inline:11px;font-size:11px}
  .mm-nav-inner{column-gap:9px}
  .mm-nav-inner>a{font-size:11px}
  .mm-hero{padding-inline:16px}
  .mm-hero h1{font-size:36px}
  .mm-hero-card{padding:20px}
}


/* Mobile UX correction v1.1.2: contain wide children inside the viewport. */
@media(max-width:600px){
  .mm-header-main,.mm-nav,.mm-nav-wrap,.mm-nav-inner,.mm-main,.mm-hero,.mm-section,.mm-category-grid,.mm-product-grid,.mm-benefits{max-width:100%;min-width:0}
  .mm-search{min-width:0;width:100%;max-width:100%}
  .mm-search input{width:auto;flex:1 1 auto;min-width:0}
  .mm-search button{flex:0 0 auto;white-space:nowrap}
  .mm-hero h1{font-size:clamp(34px,10vw,42px);max-width:12ch;overflow-wrap:normal;word-break:normal}
  .mm-hero p,.mm-hero-card p{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  .mm-hero-card{width:100%;min-width:0;max-width:100%;overflow:hidden}
  .mm-category,.mm-product-card{min-width:0;max-width:100%}
}
@media(max-width:390px){
  .mm-hero h1{font-size:34px;max-width:11.5ch}
}


/* Mobile UX correction v1.1.3: strict viewport containment. */
@media(max-width:600px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .mm-container,.mm-main{width:100%;max-width:100%;min-width:0}
  .mm-header-main,.mm-nav-wrap{padding-left:14px;padding-right:14px}
  .mm-main{padding-top:28px;padding-bottom:48px}
  .mm-hero,.mm-section,.mm-benefits{width:auto;max-width:none;margin-left:14px;margin-right:14px}
  .mm-hero{padding-left:18px;padding-right:18px}
  .mm-hero h1{max-width:100%;font-size:clamp(32px,9.2vw,38px);letter-spacing:-.055em}
  .mm-hero-card{box-sizing:border-box;width:100%;max-width:100%}
  .mm-hero-card p{font-size:12px;line-height:1.45;white-space:normal}
  .mm-category-grid,.mm-product-grid{width:100%;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .mm-category{width:100%;max-width:100%;overflow:hidden}
  .mm-category b,.mm-category small{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  .mm-product-card,.mm-product-media,.mm-product-body{min-width:0;max-width:100%}
  .mm-product-title{overflow-wrap:anywhere}
}


/* Mobile UX correction v1.1.4: compact single-column category presentation on narrow phones. */
@media(max-width:600px){
  .mm-search{display:grid;grid-template-columns:minmax(0,1fr);border-radius:16px;overflow:hidden}
  .mm-search input{width:100%;min-width:0;border-bottom:1px solid var(--mm-border);padding:10px 13px}
  .mm-search button{width:100%;min-height:34px;padding:8px 12px}
  .mm-hero{width:calc(100% - 28px);max-width:calc(100% - 28px);margin-left:14px;margin-right:14px}
  .mm-hero-card{width:100%;max-width:100%;padding:20px}
}
@media(max-width:480px){
  .mm-category-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .mm-category{min-height:126px;padding:15px 16px}
  .mm-category-art{width:58px;height:58px;top:13px;right:13px;border-radius:17px}
  .mm-category-art img{border-radius:17px}
  .mm-category b{max-width:calc(100% - 74px);font-size:14px}
  .mm-category small{max-width:calc(100% - 74px)}
}


/* Mobile UX correction v1.1.5: readable full-width category cards. */
@media(max-width:600px){
  .mm-category-grid{grid-template-columns:minmax(0,1fr)!important}
  .mm-category{min-height:118px}
  .mm-category b{max-width:calc(100% - 78px)}
}


/* Mobile category art visibility guard. */
.mm-category-art-image{z-index:2;opacity:1!important;visibility:visible!important}
.mm-category-art-image img{display:block!important;opacity:1!important;visibility:visible!important;position:relative;z-index:3}


/* Mobile category art fallback: keep generated artwork visibly painted. */
@media(max-width:600px){
  .mm-category-art-image{display:block!important;position:absolute!important;overflow:hidden!important;background:#fff!important;contain:none!important;content-visibility:visible!important;z-index:4!important}
  .mm-category-art-image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
}


/* Mobile UX correction v1.1.6: show category art in-flow and wrap hero copy safely. */
@media(max-width:600px){
  .mm-category{justify-content:flex-start;padding-top:14px}
  .mm-category-art-image{position:relative!important;top:auto!important;right:auto!important;width:100%!important;height:86px!important;margin:0 0 10px!important;border-radius:16px!important;background-color:#fff!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
  .mm-category-art-image img{border-radius:16px!important;object-fit:contain!important}
  .mm-category-index{margin-top:0}
  .mm-hero{overflow:visible}
  .mm-hero h1{overflow-wrap:anywhere;word-break:normal;white-space:normal}
}


/* Mobile UX correction v1.1.7: viewport-safe hero sizing and headline wrapping. */
@media(max-width:600px){
  .mm-main{padding-left:0!important;padding-right:0!important}
  .mm-hero,.mm-section,.mm-benefits{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important}
  .mm-hero h1{font-size:32px;line-height:1.06;max-width:100%;overflow:visible}
  .mm-hero h1 em{display:block;white-space:normal}
  .mm-hero-card{width:100%!important;max-width:100%!important}
}
@media(max-width:390px){.mm-hero h1{font-size:30px}}


/* Mobile redesign v2.0: compact commerce-first composition. */
@media(max-width:600px){
  .mm-header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 14px 12px}
  .mm-logo{font-size:24px;letter-spacing:-.07em}
  .mm-header-actions{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;gap:10px;white-space:nowrap;font-size:11px}
  .mm-search{grid-column:1/-1;grid-row:2;display:flex;width:100%;border:1px solid #eadfe7;border-radius:14px;overflow:hidden;background:#fff}
  .mm-search input{height:40px;border:0!important;border-bottom:0!important;padding:0 12px;font-size:13px}
  .mm-search button{width:auto;min-height:40px;padding:0 15px;background:var(--mm-primary);font-size:11px}
  .mm-nav-inner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:9px 0;overflow:visible;white-space:normal}
  .mm-nav-inner .mm-menu-toggle{flex:0 0 auto;padding:9px 13px;font-size:11px}
  .mm-nav-inner>a{flex:1 1 calc(50% - 10px);min-width:0;padding:7px 0;font-size:11px;line-height:1.2;white-space:normal}
  .mm-hero{display:flex;flex-direction:column;gap:20px;width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin:18px 14px 0!important;padding:28px 18px 20px;border-radius:24px;overflow:hidden}
  .mm-hero h1{margin:10px 0 12px;font-size:clamp(32px,9.5vw,40px);line-height:1.02;letter-spacing:-.06em;max-width:10ch}
  .mm-hero h1 em{display:block}
  .mm-hero p{font-size:13px;line-height:1.5;margin:0 0 18px}
  .mm-hero-card{width:100%!important;max-width:100%!important;margin:0;padding:18px 18px;background:#20252a;border-radius:18px;box-shadow:none}
  .mm-hero-card strong{font-size:30px;line-height:1}
  .mm-hero-card span{font-size:12px}
  .mm-hero-card p{font-size:11px;margin:8px 0 0;line-height:1.35}
  .mm-section{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin:38px 14px 0!important}
  .mm-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:14px}
  .mm-section-head h2{font-size:24px;line-height:1.1}
  .mm-section-head>a{font-size:11px}
  .mm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .mm-category{min-height:142px!important;padding:13px!important;justify-content:flex-end;border-radius:18px}
  .mm-category-art-image{position:absolute!important;top:11px!important;right:11px!important;width:52px!important;height:52px!important;margin:0!important;border-radius:15px!important;background-color:rgba(255,255,255,.78)!important;background-size:contain!important;background-repeat:no-repeat!important}
  .mm-category-art-image img{border-radius:15px!important;object-fit:contain!important}
  .mm-category-index{font-size:9px;margin-bottom:6px}
  .mm-category b{font-size:12px;line-height:1.25;max-width:calc(100% - 4px)!important;overflow-wrap:anywhere}
  .mm-category small{font-size:10px;margin-top:5px}
  .mm-category-arrow{right:12px;bottom:11px;font-size:15px}
  .mm-home-products{margin-top:42px!important}
  .mm-section-note{font-size:12px;line-height:1.4;margin-top:6px}
  .mm-product-grid-home,.mm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .mm-product-grid-home .mm-product-card,.mm-related-grid .mm-product-card{padding:6px;border-radius:15px}
  .mm-product-grid-home .mm-product-title,.mm-related-grid .mm-product-title{font-size:11px;line-height:1.3;min-height:3.9em;margin:8px 1px 5px}
  .mm-product-grid-home .mm-price,.mm-related-grid .mm-price{font-size:12px}
  .mm-product-grid-home .mm-product-action,.mm-related-grid .mm-product-action{font-size:10px;min-height:30px;padding:7px 5px;margin-top:7px}
  .mm-benefits{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin:38px 14px 0!important}
}


/* Mobile redesign v2.1: stack utility links cleanly on narrow screens. */
@media(max-width:600px){
  .mm-header-main{grid-template-columns:minmax(0,1fr);gap:10px}
  .mm-header-actions{grid-column:1;grid-row:2;justify-content:flex-start;gap:16px}
  .mm-search{grid-column:1;grid-row:3}
  .mm-hero p{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
}


/* Mobile app shell v3.0. */
.mm-mobile-app-nav{display:none}
@media(max-width:600px){
  body.mm-theme{background:#f7f7f8}
  .mm-announcement{display:none}
  .mm-header{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #ececf0;box-shadow:0 3px 18px rgba(20,24,32,.06);z-index:80}
  .mm-header-main{display:grid;grid-template-columns:1fr;gap:9px;padding:13px 14px 11px}
  .mm-logo{font-size:23px;line-height:1;color:#20242a}
  .mm-logo small{font-size:8px;letter-spacing:.16em}
  .mm-header-actions{display:none}
  .mm-search{display:flex;grid-column:1;grid-row:auto;height:40px;border:1px solid #e6e5eb;border-radius:13px;background:#f8f8fa}
  .mm-search input{height:38px;background:transparent;font-size:12px;padding:0 12px}
  .mm-search button{height:38px;border-radius:0;background:var(--mm-primary);font-size:11px;padding:0 15px}
  .mm-nav{display:none}
  .mm-mobile-app-nav{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:space-around;align-items:stretch;height:66px;padding:7px 7px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e7e7ec;box-shadow:0 -8px 24px rgba(20,24,32,.08);z-index:100}
  .mm-mobile-app-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8b8c96;text-decoration:none;border-radius:12px;font-size:19px;line-height:1}
  .mm-mobile-app-nav a.is-active{color:var(--mm-primary);background:#fff1f7}
  .mm-mobile-app-nav small{font-size:9px;font-weight:800;line-height:1.1}
  .mm-main{padding:16px 0 92px!important;width:100%!important;max-width:none!important}
  .mm-hero{display:flex;flex-direction:column;gap:16px;width:calc(100% - 28px)!important;max-width:none!important;margin:0 14px!important;padding:24px 18px 18px;border-radius:24px;background:linear-gradient(145deg,#fff5fa 0%,#f1edff 100%);box-shadow:0 8px 24px rgba(123,92,255,.08);overflow:hidden}
  .mm-hero h1{margin:8px 0 10px;font-size:34px;line-height:1.02;max-width:11ch;letter-spacing:-.06em}
  .mm-hero h1 em{display:block}
  .mm-hero p{margin:0 0 16px;font-size:12px;line-height:1.45;color:#6c6d77;max-width:30ch}
  .mm-btn{padding:11px 17px;font-size:12px}
  .mm-hero-card{width:100%!important;margin:0;padding:17px 18px;border-radius:17px;box-shadow:none;background:#20242a}
  .mm-hero-card strong{font-size:29px}
  .mm-hero-card span{font-size:11px}
  .mm-hero-card p{font-size:10px;margin:7px 0 0;color:#aeb2b8}
  .mm-section{width:100%!important;max-width:none!important;margin:30px 0 0!important;padding:0 14px}
  .mm-section-head{display:flex;align-items:end;gap:12px;margin-bottom:12px}
  .mm-section-head h2{font-size:22px;margin:4px 0 0;line-height:1.05}
  .mm-section-head>a{margin-left:auto;font-size:11px;white-space:nowrap}
  .mm-category-grid{display:flex;grid-template-columns:none!important;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .mm-category-grid::-webkit-scrollbar{display:none}
  .mm-category{position:relative;flex:0 0 132px;width:132px;height:145px;min-height:145px!important;padding:12px!important;border-radius:18px;scroll-snap-align:start;justify-content:flex-end;box-shadow:0 5px 14px rgba(20,24,32,.05)}
  .mm-category-art-image{position:absolute!important;top:10px!important;right:10px!important;width:52px!important;height:52px!important;margin:0!important;border-radius:15px!important;background-color:rgba(255,255,255,.82)!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
  .mm-category-art-image img{width:100%!important;height:100%!important;border-radius:15px!important;object-fit:contain!important}
  .mm-category-index{font-size:9px;margin-bottom:5px}
  .mm-category b{font-size:12px;line-height:1.2;max-width:100%!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .mm-category small{font-size:10px;margin-top:4px;white-space:nowrap}
  .mm-category-arrow{right:11px;bottom:10px;font-size:14px}
  .mm-home-products{margin-top:32px!important}
  .mm-section-note{font-size:11px;line-height:1.4;max-width:30ch;margin-top:5px}
  .mm-product-grid,.mm-product-grid-home,.mm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .mm-product-grid-home .mm-product-card,.mm-related-grid .mm-product-card{padding:6px;border-radius:15px}
  .mm-product-grid-home .mm-product-media,.mm-related-grid .mm-product-media{border-radius:11px;aspect-ratio:1/1.12}
  .mm-product-grid-home .mm-product-title,.mm-related-grid .mm-product-title{font-size:11px;line-height:1.28;min-height:3.8em;margin:7px 1px 4px}
  .mm-product-grid-home .mm-product-cat,.mm-related-grid .mm-product-cat{font-size:9px}
  .mm-product-grid-home .mm-price,.mm-related-grid .mm-price{font-size:12px}
  .mm-product-grid-home .mm-product-action,.mm-related-grid .mm-product-action{font-size:9px;min-height:29px;padding:7px 4px;margin-top:6px}
  .mm-benefits{width:calc(100% - 28px)!important;margin:30px 14px 0!important}
}


/* Mobile app polish v3.1: color depth, elevation and native-feeling interactions. */
@media(max-width:600px){
  :root{--mm-app-bg:#f6f7fb;--mm-app-surface:#fff;--mm-app-border:#e8e8ef;--mm-app-shadow:0 7px 20px rgba(35,38,58,.07)}
  body.mm-theme{background:var(--mm-app-bg);color:#20212a}
  .mm-header{background:rgba(255,255,255,.92);border-bottom-color:rgba(232,232,239,.9);box-shadow:0 4px 18px rgba(35,38,58,.06)}
  .mm-logo{color:#1d1f28;text-shadow:0 1px 0 #fff}
  .mm-logo small{color:#ec609a}
  .mm-search{border-color:#e3e3eb;background:#fbfbfd;box-shadow:inset 0 1px 2px rgba(24,28,40,.025);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
  .mm-search:focus-within{border-color:#a79bf2;box-shadow:0 0 0 3px rgba(124,92,255,.12)}
  .mm-search button{background:linear-gradient(135deg,#ff6fae,#e95891);transition:filter .2s ease,transform .15s ease}
  .mm-search button:active{filter:brightness(.94);transform:scale(.97)}
  .mm-hero{background:linear-gradient(145deg,#fff7fb 0%,#f1efff 58%,#f8f8ff 100%);border:1px solid rgba(255,255,255,.8);box-shadow:var(--mm-app-shadow);animation:mm-app-fade-up .52s cubic-bezier(.22,.8,.25,1) both}
  .mm-hero-card{background:linear-gradient(145deg,#20232a,#2d3039);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(26,28,36,.15)}
  .mm-btn{background:linear-gradient(135deg,#765cf4,#6250d9);box-shadow:0 7px 15px rgba(105,82,222,.2);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
  .mm-btn:active{transform:translateY(1px) scale(.97);box-shadow:0 3px 8px rgba(105,82,222,.18);filter:brightness(.96)}
  .mm-category-grid{scroll-behavior:smooth}
  .mm-category{background:var(--mm-app-surface);border-color:var(--mm-app-border);box-shadow:var(--mm-app-shadow);transition:transform .2s cubic-bezier(.22,.8,.25,1),box-shadow .2s ease,border-color .2s ease;animation:mm-app-fade-up .48s cubic-bezier(.22,.8,.25,1) both}
  .mm-category:nth-child(1){animation-delay:.04s}.mm-category:nth-child(2){animation-delay:.08s}.mm-category:nth-child(3){animation-delay:.12s}.mm-category:nth-child(4){animation-delay:.16s}.mm-category:nth-child(5){animation-delay:.20s}.mm-category:nth-child(6){animation-delay:.24s}.mm-category:nth-child(7){animation-delay:.28s}
  .mm-category:active{transform:scale(.96);box-shadow:0 3px 9px rgba(35,38,58,.06)}
  .mm-category-art-image{box-shadow:inset 0 0 0 1px rgba(35,38,58,.04);transition:transform .3s cubic-bezier(.22,.8,.25,1),box-shadow .3s ease}
  .mm-category:active .mm-category-art-image{transform:scale(.94) rotate(-2deg);box-shadow:none}
  .mm-product-card{border-color:var(--mm-app-border);box-shadow:0 5px 15px rgba(35,38,58,.055);transition:transform .2s cubic-bezier(.22,.8,.25,1),box-shadow .2s ease,border-color .2s ease;animation:mm-app-fade-up .5s cubic-bezier(.22,.8,.25,1) both}
  .mm-product-card:active{transform:scale(.975);box-shadow:0 3px 9px rgba(35,38,58,.06)}
  .mm-product-media img{transition:transform .45s cubic-bezier(.22,.8,.25,1);will-change:transform}
  .mm-product-card:active .mm-product-media img{transform:scale(1.025)}
  .mm-product-grid-home .mm-product-action{background:#202126;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
  .mm-product-grid-home .mm-product-action:active{transform:scale(.96);background:#111216;box-shadow:0 3px 8px rgba(0,0,0,.16)}
  .mm-mobile-app-nav{background:rgba(255,255,255,.94);border-top-color:rgba(232,232,239,.95);box-shadow:0 -8px 24px rgba(35,38,58,.09);backdrop-filter:blur(16px)}
  .mm-mobile-app-nav a{position:relative;transition:color .2s ease,background .2s ease,transform .18s ease}
  .mm-mobile-app-nav a::before{content:"";position:absolute;top:3px;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:0;transform:scale(.4);transition:opacity .2s ease,transform .2s ease}
  .mm-mobile-app-nav a.is-active::before{opacity:1;transform:scale(1)}
  .mm-mobile-app-nav a:active{transform:scale(.9)}
}
@keyframes mm-app-fade-up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .mm-hero,.mm-category,.mm-product-card{animation:none!important}
  .mm-search,.mm-search button,.mm-btn,.mm-category,.mm-category-art-image,.mm-product-card,.mm-product-media img,.mm-product-action,.mm-mobile-app-nav a,.mm-mobile-app-nav a::before{transition:none!important}
}


@media(max-width:600px){
  .mm-product-card:nth-child(1){animation-delay:.04s}.mm-product-card:nth-child(2){animation-delay:.08s}.mm-product-card:nth-child(3){animation-delay:.12s}.mm-product-card:nth-child(4){animation-delay:.16s}.mm-product-card:nth-child(5){animation-delay:.20s}.mm-product-card:nth-child(6){animation-delay:.24s}
}


/* Category carousel swipe interaction. */
@media(max-width:600px){
  .mm-category-grid{cursor:grab;touch-action:pan-x;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px}
  .mm-category-grid.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
  .mm-category-grid:focus-visible{outline:3px solid rgba(105,82,222,.25);outline-offset:4px;border-radius:18px}
  .mm-category-grid .mm-category{user-select:none;-webkit-user-drag:none}
  .mm-category-grid .mm-category img{pointer-events:none}
}


/* Accessibility and interaction polish v3.2. */
@media(max-width:600px){
  .mm-eyebrow{color:#5b46c5}
  .mm-section-note{color:#58616a}
  .mm-category-index{color:#087f72}
  .mm-category small{color:#56616a}
  .mm-product-cat{color:#6240b8}
  .mm-mobile-app-nav a{color:#656873}
  .mm-mobile-app-nav a.is-active{color:#cf3f7d}
  .mm-category.is-tapped,.mm-mobile-app-nav a.is-tapped{transform:scale(.95);transition:transform .24s cubic-bezier(.2,.8,.2,1),background .24s ease}
  .mm-category.is-tapped .mm-category-art-image{transform:scale(.9) rotate(-2deg)}
  .mm-mobile-app-nav a.is-tapped{background:#fff0f6}
  body.mm-page-exiting main{opacity:.72;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease}
  #mm-categories.is-focus-pulse{animation:mm-category-focus-pulse .7s ease both}
}
@keyframes mm-category-focus-pulse{
  0%{box-shadow:0 0 0 0 rgba(224,73,132,0)}
  35%{box-shadow:0 0 0 8px rgba(224,73,132,.12)}
  100%{box-shadow:0 0 0 0 rgba(224,73,132,0)}
}
@media(prefers-reduced-motion:reduce){
  body.mm-page-exiting main{opacity:1;transform:none;transition:none}
  #mm-categories.is-focus-pulse{animation:none}
}

/* Contrast correction for small labels and price text flagged by Lighthouse. */
.mm-logo small{color:#a52e69}
.mm-price,.mm-single-price,.woocommerce-Price-amount{color:#a12f6f}
.mm-price del{color:#56616a}
@media(max-width:600px){
  .mm-mobile-app-nav a small{color:#56616a}
  .mm-mobile-app-nav a.is-active small{color:#b12f6d}
}


/* WCAG contrast pass: replace low-contrast brand colors with accessible equivalents. */
:root{--mm-secondary:#5b43b5;--mm-primary-contrast:#b52f68}
.mm-announcement{background:#5b43b5}
.mm-search button,.mm-menu-toggle{background:#b52f68}
.mm-btn{background:#5b43b5}
.mm-eyebrow,.mm-section-head a,.mm-product-cat{color:#5b43b5}
.mm-section-note{color:#56616a}
.mm-hero-card p{color:#e8e2ec}
.mm-footer .mm-logo small{color:#f5b3d0}
  .woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#b52f68!important}

/* Product purchase panel redesign v1.2. */
.mm-product-form{position:relative;padding:28px;border:1px solid #ece8ef;border-radius:26px;background:linear-gradient(145deg,#fff 0%,#fff9fc 100%);box-shadow:0 16px 34px rgba(42,31,49,.07)}
.mm-product-form form.variations_form::before{content:'Chọn màu sắc';display:block;margin:0 0 18px;color:#25202b;font-size:16px;font-weight:900;letter-spacing:-.02em}
.mm-product-form .variations{display:block;margin:0!important;border:0!important;border-spacing:0!important}
.mm-product-form .variations tbody,.mm-product-form .variations tr,.mm-product-form .variations td{display:block;width:100%;padding:0!important}
.mm-product-form .variations th.label{display:none}
.mm-product-form .variations td.value{position:relative}
.mm-product-form .variations select.mm-native-variation-select{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mm-variation-options{display:flex;flex-wrap:wrap;gap:10px!important;margin:0!important}
.mm-variation-option{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px!important;border:1px solid #e8e2eb!important;border-radius:14px!important;background:#fff!important;color:#433d49!important;font-size:13px!important;font-weight:800!important;line-height:1!important;box-shadow:0 2px 6px rgba(49,35,56,.03);transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important}
.mm-variation-option:hover{border-color:#b52f68!important;color:#922653!important;transform:translateY(-1px)}
.mm-variation-option.is-selected{border-color:#b52f68!important;background:#fff0f5!important;color:#9b2a5d!important;box-shadow:0 0 0 3px rgba(181,47,104,.12)!important}
.mm-color-option{min-width:94px}
.mm-color-swatch{width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:var(--mm-swatch,#d3d6dc);border:2px solid rgba(255,255,255,.95);box-shadow:0 0 0 1px rgba(52,43,57,.18),inset 0 0 0 1px rgba(0,0,0,.05)}
.mm-color-option[data-value="Trắng"] .mm-color-swatch,.mm-color-option[data-value="trắng"] .mm-color-swatch{box-shadow:0 0 0 1px #b9b4bd,inset 0 0 0 1px rgba(0,0,0,.12)}
.mm-product-form .reset_variations{display:inline-flex!important;margin:14px 0 0!important;padding:0!important;color:#6b626e!important;font-size:12px!important;font-weight:700;text-decoration:underline!important}
.mm-product-form .single_variation_wrap{margin-top:24px;padding-top:20px;border-top:1px solid #eee8ef}
.mm-product-form .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mm-product-form .quantity{display:flex;align-items:center!important;margin:0!important}
.mm-product-form .quantity input{width:92px!important;height:50px!important;border:1px solid #e1dbe5!important;border-radius:14px!important;background:#fff!important;color:#28222c!important;font-size:16px!important;font-weight:800;text-align:center;box-shadow:inset 0 1px 2px rgba(43,31,48,.03)}
.mm-product-form .single_add_to_cart_button{flex:1 1 220px;min-height:50px!important;padding:14px 22px!important;border:0!important;border-radius:15px!important;background:#b52f68!important;color:#fff!important;font-size:14px!important;font-weight:900!important;box-shadow:0 10px 20px rgba(181,47,104,.2)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
.mm-product-form .single_add_to_cart_button:not(.disabled):hover{filter:brightness(.96);transform:translateY(-1px);box-shadow:0 13px 24px rgba(181,47,104,.24)!important}
.mm-product-form .single_add_to_cart_button.disabled{opacity:.5;box-shadow:none!important;cursor:not-allowed}
@media(max-width:600px){
  .mm-product-form{padding:20px 16px;border-radius:22px;box-shadow:0 10px 24px rgba(42,31,49,.06)}
  .mm-product-form form.variations_form::before{margin-bottom:15px;font-size:15px}
  .mm-variation-options{gap:8px!important}
  .mm-variation-option{min-height:43px;padding:10px 13px!important;border-radius:13px!important;font-size:12px!important}
  .mm-color-option{min-width:calc(50% - 4px);justify-content:flex-start;padding-left:14px!important}
  .mm-product-form .single_variation_wrap{margin-top:20px;padding-top:16px}
  .mm-product-form .woocommerce-variation-add-to-cart{gap:10px}
  .mm-product-form .quantity{flex:0 0 92px}
  .mm-product-form .single_add_to_cart_button{flex:1 1 calc(100% - 102px);min-width:0!important;padding-inline:12px!important;font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.mm-variation-option,.mm-product-form .single_add_to_cart_button{transition:none!important}}


/* Final accessibility pass for commerce templates. */
.mm-breadcrumb{color:#4f5660}
.mm-breadcrumb a{color:#4d369f;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.16em}
.mm-breadcrumb a:hover,.mm-breadcrumb a:focus-visible{color:#38277e}
.mm-filter h2{margin:0 0 14px;font-size:18px;line-height:1.25;color:#24212a}
.mm-filter .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mm-filter input:focus-visible,.mm-filter select:focus-visible,.mm-product-form select:focus-visible,.mm-product-form input:focus-visible{outline:3px solid rgba(91,67,181,.35);outline-offset:2px}
.mm-variation-option{border-color:#706879!important;color:#302b36!important}
.mm-variation-option:hover,.mm-variation-option:focus-visible{border-color:#7f2050!important;color:#6f1d47!important}
.mm-variation-option.is-selected{border-color:#7f2050!important;background:#fff0f5!important;color:#6f1d47!important}
@media(prefers-reduced-motion:reduce){.mm-variation-option{transition:none!important}}


/* Override the earlier generic product-form button rule for variation controls. */
.mm-product-form .mm-variation-option{background:#fff!important;color:#302b36!important;border-color:#706879!important}
.mm-product-form .mm-variation-option:hover,.mm-product-form .mm-variation-option:focus-visible{background:#fff!important;color:#6f1d47!important;border-color:#7f2050!important}
.mm-product-form .mm-variation-option.is-selected{background:#fff0f5!important;color:#6f1d47!important;border-color:#7f2050!important}


/* Final Shop result-count contrast correction. */
.mm-resultbar,.mm-resultbar .woocommerce-result-count{color:#4f5660}


/* Honest, accessible fallback when the authoritative source has no product image. */
.mm-image-placeholder{display:grid;place-items:center;min-height:360px;padding:2rem;border-radius:24px;background:#eef1f4;color:#3f4852;text-align:center;font-weight:800}
