/* Marketplace Kit — giao diện ấm, trung tính, 1 màu nhấn (terracotta). Chạy trên Storefront. */
:root{--mk-bg:#FBF8F3;--mk-surface:#fff;--mk-sand:#F3ECE3;--mk-line:#E7DED3;--mk-ink:#2B2522;--mk-text:#4A413B;--mk-muted:#867A70;--mk-accent:#C4623A;--mk-accent-d:#A54E2C;--mk-sage:#5E7457;--mk-sage-bg:#EEF2EA;--mk-r:14px}
body.mk-theme{background:var(--mk-bg);color:var(--mk-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.mk-theme h1,.mk-theme h2,.mk-theme h3,.mk-theme .entry-title{font-family:Georgia,"Times New Roman",serif;color:var(--mk-ink);letter-spacing:-.01em;font-weight:700}
.mk-theme a{color:var(--mk-accent-d)}
.mk-theme .button,.mk-theme button.button,.mk-theme input[type=submit],.mk-theme .mk-cta{background:var(--mk-accent);color:#fff;border-radius:999px;padding:.75em 1.6em;font-weight:600;border:0}
.mk-theme .button:hover,.mk-theme .mk-cta:hover{background:var(--mk-accent-d);color:#fff}

/* Top bar */
.mk-topbar{background:var(--mk-ink);color:#E9E0D7;font-size:.82rem}
.mk-topbar .col-full{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:36px;flex-wrap:wrap}
.mk-topbar-msg{margin:0;opacity:.85}
.mk-topnav-list{list-style:none;margin:0;padding:0;display:flex;gap:1.25rem}
.mk-topnav-list a{color:#fff;text-decoration:none}
.mk-topnav-list a:hover{text-decoration:underline}

/* Header */
.mk-theme .site-header{background:var(--mk-bg);border-bottom:1px solid var(--mk-line);padding-top:1.4em;padding-bottom:0}
.mk-theme .site-header .site-branding{margin-bottom:1em}
.mk-logo{display:inline-flex;text-decoration:none}
.mk-logo-svg{height:38px;width:auto;display:block}
.mk-theme .site-search .widget_product_search input[type=search]{border-radius:999px;background:#fff;border:1px solid var(--mk-line);padding:.75em 1.2em .75em 2.8em}
.mk-theme .main-navigation ul.menu>li>a,.mk-theme .main-navigation ul.nav-menu>li>a{color:var(--mk-ink);font-weight:600;font-size:.92rem;padding:1em .85em}
.mk-theme .main-navigation ul.menu>li>a:hover{color:var(--mk-accent)}
.mk-theme .main-navigation ul.menu ul{background:#fff;border:1px solid var(--mk-line);border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(43,37,34,.10)}
.mk-theme .main-navigation ul.menu ul a{color:var(--mk-text);font-size:.9rem}
.mk-theme .site-header-cart .cart-contents{color:var(--mk-ink)}
.mk-theme .storefront-primary-navigation{background:transparent}
.mk-theme .main-navigation ul.menu>li:last-child>a{color:var(--mk-accent-d)}

/* Page chrome */
.mk-theme .site-content{padding-top:0}
.mk-theme.home .entry-header,.mk-theme.home .storefront-breadcrumb{display:none}
.mk-theme.home .site-main{margin-bottom:0}
.mk-theme.home .hentry{margin:0;padding:0;border:0}
.mk-theme .storefront-breadcrumb{background:transparent;margin-bottom:1.5em;border-bottom:1px solid var(--mk-line)}

/* Home */
.mk-home{margin-top:1.5rem}
.mk-hero{position:relative;border-radius:22px;overflow:hidden;background-size:cover;background-position:center right;min-height:440px;display:flex;align-items:center}
.mk-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(251,248,243,.97) 0%,rgba(251,248,243,.88) 38%,rgba(251,248,243,0) 64%)}
.mk-hero-in{position:relative;max-width:520px;padding:3rem}
.mk-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.74rem;font-weight:700;color:var(--mk-sage);margin:0 0 .6em}
.mk-hero h1{font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.08;margin:0 0 .4em}
.mk-hero-sub{font-size:1.06rem;color:var(--mk-text);margin:0 0 1.5em}
.mk-hero-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin:0}
.mk-btn{display:inline-block;background:var(--mk-accent);color:#fff!important;padding:.85em 1.7em;border-radius:999px;font-weight:600;text-decoration:none!important}
.mk-btn:hover{background:var(--mk-accent-d)}
.mk-btn-ghost{background:transparent;color:var(--mk-ink)!important;border:1.5px solid var(--mk-ink)}
.mk-btn-ghost:hover{background:var(--mk-ink);color:#fff!important}
.mk-btn-light{background:#fff;color:var(--mk-ink)!important}
.mk-btn-light:hover{background:var(--mk-sand)}

.mk-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.75rem;margin:1.5rem 0 0}
.mk-trust-item{display:flex;gap:.8rem;align-items:flex-start;background:var(--mk-sage-bg);border-radius:var(--mk-r);padding:1rem 1.1rem;text-decoration:none!important;color:var(--mk-sage)}
.mk-trust-item strong{display:block;color:var(--mk-ink);font-size:.95rem}
.mk-trust-item small{display:block;color:var(--mk-text);font-size:.82rem;line-height:1.4}
.mk-trust-item svg{flex:none;margin-top:2px}

.mk-sec{margin:3.2rem 0 0}
.mk-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.2rem;border-bottom:1px solid var(--mk-line);padding-bottom:.6rem}
.mk-sec-head h2{margin:0;font-size:clamp(1.4rem,2.4vw,1.85rem)}
.mk-sec-head a{font-weight:600;text-decoration:none;font-size:.92rem;white-space:nowrap}
.mk-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(46%,150px),1fr));gap:1.2rem 1rem}
.mk-cat{text-align:center;text-decoration:none!important;color:var(--mk-ink)}
.mk-cat-img{display:block;aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--mk-sand);border:4px solid #fff;box-shadow:0 2px 10px rgba(43,37,34,.08);transition:transform .2s}
.mk-cat:hover .mk-cat-img{transform:translateY(-3px)}
.mk-cat-img img{width:100%;height:100%;object-fit:cover;display:block}
.mk-cat-name{display:block;font-weight:700;margin-top:.7em;font-size:.95rem;line-height:1.25}
.mk-cat-n{display:block;font-size:.8rem;color:var(--mk-muted)}

.mk-seller-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:1rem}
.mk-seller-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-r);overflow:hidden;padding-bottom:1.1rem;text-decoration:none!important;color:var(--mk-text)}
.mk-seller-banner{display:block;width:100%;height:84px;background:linear-gradient(120deg,#E9D8C6,#D6C3AE);background-size:cover;background-position:center}
.mk-seller-av{width:68px;height:68px;border-radius:50%;border:4px solid #fff;margin-top:-34px;object-fit:cover;background:#fff}
.mk-seller-card strong{color:var(--mk-ink);margin-top:.5rem;padding:0 .8rem}
.mk-seller-card span{font-size:.84rem;color:var(--mk-muted);padding:0 .8rem}
.mk-seller-card em{font-style:normal;font-size:.8rem;font-weight:600;color:var(--mk-sage);margin-top:.4rem}
.mk-seller-join{justify-content:center;background:var(--mk-sand);border-style:dashed;padding:1.5rem 1rem;gap:.3rem}
.mk-seller-join em{color:var(--mk-accent-d)}

.mk-sellcta{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;background:var(--mk-ink);color:#E9E0D7;border-radius:22px;padding:2.4rem clamp(1.4rem,4vw,3rem);margin:3.5rem 0 3rem}
.mk-sellcta h2{color:#fff;margin:0 0 .3em;font-size:clamp(1.5rem,3vw,2.1rem)}
.mk-sellcta p{margin:0;max-width:560px}
.mk-sellcta .mk-eyebrow{color:#E7B596}

/* Products grid */
.mk-theme ul.products li.product{background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-r);padding:0 0 1rem;overflow:hidden;text-align:left}
.mk-theme ul.products li.product img{border-radius:0;margin-bottom:.8rem;aspect-ratio:1;object-fit:cover}
.mk-theme ul.products li.product .woocommerce-loop-product__title{font-size:.92rem;font-weight:600;color:var(--mk-ink);padding:0 .9rem;line-height:1.35;min-height:2.7em}
.mk-theme ul.products li.product .price{padding:0 .9rem;color:var(--mk-ink);font-weight:700}
.mk-theme ul.products li.product .button{margin:.4rem .9rem 0;padding:.55em 1.1em;font-size:.85rem}

/* PDP */
.mk-pdp{margin:1rem 0 1.4rem}
.mk-sold-by{font-weight:600;color:var(--mk-ink)}
.mk-sold-by a{color:var(--mk-accent-d)}
.mk-theme .mk-bp{border:0;background:var(--mk-sage-bg);border-left:4px solid var(--mk-sage);border-radius:10px;padding:.9em 1.1em;color:var(--mk-text);font-size:.92rem}
.mk-theme .mk-bp strong{color:var(--mk-ink)}
.mk-report a{color:var(--mk-muted)}

/* Sell on */
.mk-sellon .mk-sell-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:2rem;align-items:center;background:var(--mk-sand);border-radius:22px;padding:clamp(1.4rem,4vw,3rem);margin-bottom:2.5rem}
.mk-sell-h{font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.12;margin:0 0 .4em}
.mk-lead{font-size:1.08rem}
.mk-link{margin-left:.8rem;font-weight:600}
.mk-sell-facts{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.mk-sell-facts li{background:#fff;border-radius:var(--mk-r);padding:1rem 1.2rem;display:flex;align-items:baseline;gap:.8rem}
.mk-sell-facts strong{font-family:Georgia,serif;font-size:1.7rem;color:var(--mk-accent)}
.mk-benefits{list-style:none;margin:0 0 2.5rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:1rem}
.mk-benefits li{background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-r);padding:1.1rem 1.2rem;font-size:.92rem}
.mk-benefits strong{display:block;color:var(--mk-ink);font-size:1rem;margin-bottom:.3em}
.mk-fee-table{background:#fff;border-radius:var(--mk-r);overflow:hidden}
.mk-fee-table th{background:var(--mk-ink);color:#fff}
.mk-steps{counter-reset:s;list-style:none;margin:0 0 2.5rem;padding:0;display:grid;gap:.7rem}
.mk-steps li{counter-increment:s;position:relative;background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-r);padding:1rem 1.2rem 1rem 3.6rem}
.mk-steps li:before{content:counter(s);position:absolute;left:1rem;top:.9rem;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--mk-accent);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.mk-sell-end{text-align:center;background:var(--mk-sage-bg);border-radius:22px;padding:2.2rem 1.2rem;margin:2.5rem 0}
.mk-small{font-size:.88rem;color:var(--mk-muted)}

/* Dokan: All sellers + store page */
.mk-theme #dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-wrapper,.mk-theme .dokan-single-seller .store-wrapper{border-radius:var(--mk-r);overflow:hidden;border:1px solid var(--mk-line);box-shadow:none;background:#fff}
.mk-theme .dokan-single-seller .store-header .store-banner{height:150px;background:linear-gradient(120deg,#E9D8C6,#D6C3AE);background-size:cover}
.mk-theme .dokan-single-seller .store-content .store-data h2 a{font-family:Georgia,serif;color:#fff}
.mk-theme .dokan-single-seller .store-footer{background:#fff;border-top:1px solid var(--mk-line)}
.mk-theme .dokan-single-seller .store-footer .seller-avatar img{border:4px solid #fff;border-radius:50%}
.mk-theme .dokan-single-seller .dokan-btn-theme,.mk-theme .dokan-btn-theme{background:var(--mk-accent);border-color:var(--mk-accent);border-radius:999px}
.mk-theme #dokan-seller-listing-wrap .dokan-seller-search-form,.mk-theme #dokan-store-listing-filter-wrap{background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-r)}
.mk-theme .dokan-store-wrap .profile-frame{border-radius:var(--mk-r);overflow:hidden}
.mk-theme .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery{background:linear-gradient(0deg,rgba(43,37,34,.82),rgba(43,37,34,.35))}
.mk-theme .profile-info-img{background:linear-gradient(120deg,#E9D8C6,#C9B39A)}
.mk-store-trust{background:var(--mk-sage-bg);border-radius:10px;padding:.7em 1em}

/* Footer */
.mk-theme .site-footer{background:var(--mk-ink);color:#D9CFC6;padding:3rem 0 1.2rem}
.mk-footer-cols{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:2rem}
.mk-fcol h4{color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.12em;margin:0 0 1em;font-family:inherit}
.mk-fcol ul{list-style:none;margin:0;padding:0}
.mk-fcol li{margin:0 0 .5em;font-size:.88rem;line-height:1.35}
.mk-fcol a{color:#F3EAE1;text-decoration:none}
.mk-fcol a:hover{color:#fff;text-decoration:underline}
.mk-fbrand p{font-size:.88rem;margin-top:1rem;max-width:300px}
.mk-fbrand .mk-logo-svg text{fill:#fff}
.mk-footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem 1.5rem;border-top:1px solid rgba(255,255,255,.14);margin-top:2.4rem;padding-top:1.2rem;font-size:.8rem;color:#B6AAA0}
.mk-theme .storefront-handheld-footer-bar{border-top:1px solid var(--mk-line)}

@media (max-width:900px){.mk-footer-cols{grid-template-columns:1fr 1fr}.mk-fbrand{grid-column:1/-1}}
@media (max-width:767px){
 .mk-topbar-msg{display:none}.mk-topbar .col-full{justify-content:center}.mk-topnav-list{gap:.9rem;font-size:.78rem}
 .mk-theme .site-header .site-branding{width:auto;float:left;margin:0 0 .8em}.mk-logo-svg{height:30px}
 .mk-hero{min-height:0;border-radius:16px;background-position:70% center;align-items:flex-end}
 .mk-hero:before{background:linear-gradient(0deg,rgba(251,248,243,.98) 46%,rgba(251,248,243,.55) 72%,rgba(251,248,243,.1))}
 .mk-hero-in{padding:11rem 1.3rem 1.6rem}
 .mk-hero-sub{font-size:.98rem}
 .mk-sellon .mk-sell-hero{grid-template-columns:1fr}
 .mk-sellcta{border-radius:16px}
}
@media (max-width:480px){.mk-footer-cols{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.mk-cat-img{transition:none}}

/* Layout rộng hơn + menu 1 hàng */
@media (min-width:768px){
 .mk-theme .col-full{max-width:1240px;padding-left:1.5rem;padding-right:1.5rem;box-sizing:border-box}
 .mk-theme .site-header .site-branding{width:24%}
 .mk-theme .site-header .site-search{width:42%;float:right;margin-right:0}
 .mk-theme .storefront-primary-navigation .main-navigation{width:84%}
 .mk-theme .storefront-primary-navigation .site-header-cart{width:14%}
 .mk-theme .main-navigation ul.menu>li>a{padding:1em .7em}
 .mk-cats{grid-template-columns:repeat(7,1fr)}
}
@media (max-width:767px){.mk-cats{grid-template-columns:repeat(4,1fr);gap:1rem .6rem}.mk-cat-name{font-size:.8rem}.mk-cat-n{display:none}}
.mk-theme .site-header{margin-bottom:0}
.mk-theme .storefront-breadcrumb{margin-top:0}
@media (min-width:768px){
 .mk-theme .storefront-primary-navigation .col-full{display:flex;align-items:center;gap:1rem}
 .mk-theme .storefront-primary-navigation .col-full:before,.mk-theme .storefront-primary-navigation .col-full:after{display:none}
 .mk-theme .storefront-primary-navigation .main-navigation{width:auto;flex:1;float:none;margin:0}
 .mk-theme .storefront-primary-navigation .site-header-cart{width:auto;float:none;margin:0;flex:none}
 .mk-theme .main-navigation ul.menu>li>a{padding:1.1em .6em;font-size:.9rem}
 .mk-theme .main-navigation ul.menu>li.menu-item-has-children>a{padding-right:1.4em}
}
@media (min-width:768px){
 .mk-theme .site-header>.col-full{display:flex;flex-wrap:wrap;align-items:center;gap:0 1.5rem}
 .mk-theme .site-header>.col-full:before,.mk-theme .site-header>.col-full:after{display:none}
 .mk-theme .site-header .site-branding{width:auto;float:none;margin:0 auto 1em 0}
 .mk-theme .site-header .site-search{width:min(440px,40vw);float:none;margin:0 0 1em}
 .mk-head-cart{margin:0 0 1em}
 .mk-head-cart .site-header-cart{float:none;width:auto;margin:0;list-style:none}
 .mk-head-cart .site-header-cart .cart-contents{padding:.6em 0}
 .mk-head-cart .site-header-cart .widget_shopping_cart{display:none}
 .mk-head-cart .site-header-cart:hover .widget_shopping_cart{display:block;right:0;left:auto;width:320px;position:absolute;z-index:99}
 .mk-theme .storefront-primary-navigation{flex-basis:100%;width:100%}
 .mk-theme .storefront-primary-navigation .col-full{padding:0;max-width:none}
 .mk-theme .main-navigation ul.menu>li>a{padding:1em .55em;font-size:.88rem}
 .mk-theme .main-navigation ul.menu>li.menu-item-has-children>a{padding-right:1.25em}
 .mk-theme .main-navigation ul.menu>li.menu-item-has-children>a:after{margin-left:.35em}
}
@media (min-width:768px){
 body.mk-theme.woocommerce-active .site-header>.col-full{flex-wrap:nowrap}
 body.mk-theme.woocommerce-active .site-header .site-branding{flex:0 0 auto;width:auto!important;margin:0 auto 1em 0!important}
 body.mk-theme.woocommerce-active .site-header .site-search{flex:0 1 440px;width:auto!important;margin:0 0 1em!important;clear:none}
 body.mk-theme.woocommerce-active .mk-head-cart{flex:0 0 auto}
 body.mk-theme.woocommerce-active .mk-head-cart .site-header-cart{width:auto!important;float:none!important}
 body.mk-theme .storefront-primary-navigation .col-full{max-width:1240px!important;padding:0 1.5rem!important}
}
@media (min-width:768px){body.mk-theme .main-navigation ul.menu>li>a{padding:1em .45em;font-size:.86rem}body.mk-theme .main-navigation ul.menu>li.menu-item-has-children>a{padding-right:1.15em}}
@media (max-width:767px){
 .mk-theme ul.products{display:grid!important;grid-template-columns:1fr 1fr;gap:.8rem}
 .mk-theme ul.products:before,.mk-theme ul.products:after{display:none}
 .mk-theme ul.products li.product{width:auto!important;float:none!important;margin:0!important}
 .mk-theme ul.products li.product .woocommerce-loop-product__title{font-size:.84rem;padding:0 .6rem}
 .mk-theme ul.products li.product .price{padding:0 .6rem;font-size:.85rem}
 .mk-theme ul.products li.product .button{margin:.3rem .6rem 0;font-size:.78rem;padding:.5em .9em}
 .mk-seller-grid{grid-template-columns:1fr 1fr}
 .mk-theme .site-header{padding-top:1em}
}
/* Trang full-width, bỏ sidebar blog */
.mk-theme #secondary{display:none}
.mk-theme .content-area{width:100%!important;float:none!important;margin-right:0!important}
.mk-theme .storefront-product-pagination{display:none}
.mk-theme .mk-fee-table th{background:var(--mk-ink)!important;color:#fff!important}
.mk-theme .mk-fee-table td{background:#fff}
/* Dokan store cards */
.mk-theme #dokan-seller-listing-wrap .store-header .store-banner{background:linear-gradient(120deg,#E9D8C6,#CDB59B)}
.mk-theme #dokan-seller-listing-wrap .store-header .store-banner img{opacity:.08}
.mk-theme #dokan-seller-listing-wrap .store-content .store-data-container{background:linear-gradient(0deg,rgba(43,37,34,.55),rgba(43,37,34,0))}
.mk-theme #dokan-seller-listing-wrap .store-data h2 a{font-family:Georgia,serif;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.25)}
.mk-theme #dokan-seller-listing-wrap .store-footer{background:#fff!important}
.mk-theme #dokan-seller-listing-wrap .seller-avatar{background:#fff;box-shadow:0 2px 8px rgba(43,37,34,.15)}
.mk-theme .dokan-store .profile-frame .profile-info-img{object-fit:cover}
/* Dokan store page */
.mk-theme .dokan-store-sidebar{display:none!important}
.mk-theme .dokan-store-wrap .dokan-single-store,.mk-theme #dokan-primary{width:100%!important;float:none!important;margin:0!important}
.mk-theme .dokan-store-wrap{display:block!important}
.mk-theme .profile-frame .profile-info-box{background:linear-gradient(120deg,#E9D8C6,#C9B39A)}
.mk-theme .profile-frame .profile-info-box img.profile-info-img.dummy-image{opacity:.12}
.mk-theme .dokan-store-products-filter-area .dokan-store-products-search-form button,.mk-theme .dokan-store-products-filter-area button{border-radius:999px;padding:.5em 1.2em;line-height:1.2}
.mk-theme .product_title,.mk-theme .entry-title{font-size:clamp(1.6rem,5vw,2.5rem);line-height:1.15}.mk-theme h1{line-height:1.15}

/* ===== v0.5 polish (tham khảo bố cục printblur: swatch, stepper, CTA đậm, khối giao hàng) ===== */
:root{--mk-cta:#A9471F;--mk-cta-d:#86361A}
/* Product cards */
.mk-theme ul.products li.product{transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column}
.mk-theme ul.products li.product:hover{box-shadow:0 10px 28px rgba(43,37,34,.10);transform:translateY(-2px)}
.mk-theme ul.products li.product a.woocommerce-LoopProduct-link{display:block;overflow:hidden}
.mk-theme ul.products li.product img{transition:transform .35s;background:var(--mk-sand)}
.mk-theme ul.products li.product:hover img{transform:scale(1.04)}
.mk-theme ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;margin-bottom:.35em}
.mk-theme ul.products li.product .price{font-size:1.02rem;display:block;margin-bottom:.2em}
.mk-theme ul.products li.product .price del{color:var(--mk-muted);font-weight:400;font-size:.85em}
.mk-theme ul.products li.product .button{margin-top:auto;align-self:flex-start;background:transparent;color:var(--mk-ink);border:1.5px solid var(--mk-line)}
.mk-theme ul.products li.product .button:hover{background:var(--mk-ink);border-color:var(--mk-ink);color:#fff}

/* Collection banner */
.mk-catbanner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:var(--mk-sand);border-radius:22px;overflow:hidden;margin:1.4rem 0 1rem;min-height:230px}
.mk-catbanner-txt{padding:clamp(1.3rem,3.5vw,2.6rem);align-self:center}
.mk-catbanner h1{font-size:clamp(1.7rem,3.4vw,2.5rem);margin:0 0 .35em;line-height:1.1}
.mk-catbanner p{margin:0 0 .8em;max-width:520px}
.mk-catbanner-n{display:inline-block;background:#fff;border-radius:999px;padding:.3em .9em;font-size:.82rem;font-weight:600;color:var(--mk-ink)}
.mk-catbanner-img{background-size:cover;background-position:center;min-height:200px}
.mk-subcats{display:flex;gap:.5rem;overflow-x:auto;padding:.2rem 0 1rem;margin-bottom:.4rem;scrollbar-width:thin}
.mk-subcats a{flex:none;background:#fff;border:1px solid var(--mk-line);border-radius:999px;padding:.45em 1em;font-size:.88rem;font-weight:600;color:var(--mk-ink);text-decoration:none}
.mk-subcats a:hover{border-color:var(--mk-ink)}
.mk-subcats small{color:var(--mk-muted);font-weight:400;margin-left:.2em}
.mk-theme.tax-product_cat .woocommerce-products-header{padding:0;margin:0}
.mk-theme .woocommerce-result-count{color:var(--mk-muted);font-size:.88rem}
.mk-theme .woocommerce-ordering select{border-radius:999px;border:1px solid var(--mk-line);background:#fff;padding:.5em 1em}
@media (max-width:767px){.mk-catbanner{grid-template-columns:1fr;border-radius:16px}.mk-catbanner-img{order:-1;min-height:150px}}

/* PDP layout */
@media (min-width:768px){
 .mk-theme.single-product div.product .woocommerce-product-gallery{width:54%;margin-right:4%}
 .mk-theme.single-product div.product .summary{width:42%}
}
.mk-theme .woocommerce-product-gallery .flex-viewport,.mk-theme .woocommerce-product-gallery__image img{border-radius:16px;background:var(--mk-sand)}
.mk-theme .woocommerce-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:.55rem;margin-top:.7rem!important}
.mk-theme .woocommerce-product-gallery .flex-control-thumbs li{width:auto!important;margin:0!important;float:none!important}
.mk-theme .woocommerce-product-gallery .flex-control-thumbs img{border-radius:10px;opacity:.6;border:2px solid transparent;aspect-ratio:1;object-fit:cover;transition:opacity .15s}
.mk-theme .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.mk-theme .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--mk-ink)}
.mk-theme.single-product .product_title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-weight:650;font-size:clamp(1.35rem,2.3vw,1.85rem);line-height:1.25;letter-spacing:-.01em;margin-bottom:.4em}
.mk-theme.single-product .summary>.price,.mk-theme.single-product .woocommerce-variation-price .price{font-size:1.9rem;font-weight:800;color:var(--mk-ink);margin:.2em 0 .6em;display:block}
.mk-theme.single-product .summary .price del{font-size:.6em;color:var(--mk-muted);font-weight:400}
.mk-theme.single-product .summary .price ins{text-decoration:none;color:var(--mk-cta)}
.mk-theme.single-product .woocommerce-product-details__short-description{font-size:.95rem}
.mk-theme.single-product .mk-pdp{margin:.4rem 0 1.2rem}
.mk-theme.single-product .mk-sold-by{display:flex;align-items:center;gap:.4em;background:#fff;border:1px solid var(--mk-line);border-radius:12px;padding:.7em 1em;margin:0 0 .7em}
.mk-theme.single-product .mk-sold-by:before{content:"";width:22px;height:22px;flex:none;background:var(--mk-sage-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7457' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center/15px no-repeat;border-radius:50%}

/* Swatches */
.mk-theme form.variations_form table.variations{border:0;margin:0 0 .6rem;background:transparent}
.mk-theme form.variations_form table.variations tr{display:block;margin-bottom:.9rem}
.mk-theme form.variations_form table.variations th,.mk-theme form.variations_form table.variations td{display:block;padding:0;background:transparent;border:0;text-align:left}
.mk-theme form.variations_form table.variations th.label label{font-weight:700;color:var(--mk-ink);font-size:.92rem;margin-bottom:.45em;display:block}
.mk-sw-val{font-weight:400;color:var(--mk-text)}
.mk-sw-val:not(:empty):before{content:": "}
.mk-theme select.mk-sw-hidden{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none;overflow:hidden;clip:rect(0 0 0 0)}
.mk-sw{display:flex;flex-wrap:wrap;gap:.5rem}
.mk-theme .mk-sw-btn{position:relative;background:#fff;color:var(--mk-ink);border:1.5px solid var(--mk-line);font-weight:600;font-size:.9rem;line-height:1;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.mk-theme .mk-sw-text{min-width:3rem;padding:.72em 1.05em;border-radius:10px}
.mk-theme .mk-sw-color{width:40px;height:40px;padding:3px;border-radius:50%}
.mk-sw-dot{display:block;width:100%;height:100%;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.mk-theme .mk-sw-btn:hover{border-color:var(--mk-muted)}
.mk-theme .mk-sw-btn.is-on{border-color:var(--mk-ink);box-shadow:0 0 0 1px var(--mk-ink)}
.mk-theme .mk-sw-text.is-on{background:var(--mk-ink);color:#fff}
.mk-theme .mk-sw-btn.is-off{opacity:.35;cursor:not-allowed}
.mk-theme .mk-sw-btn.is-oos:after{content:"";position:absolute;left:12%;right:12%;top:50%;border-top:1.5px solid var(--mk-muted);transform:rotate(-30deg)}
.mk-theme .mk-sw-btn:focus-visible{outline:2px solid var(--mk-accent);outline-offset:2px}
.mk-theme form.variations_form .reset_variations{font-size:.82rem;color:var(--mk-muted);margin-top:.4em;display:inline-block}
.mk-theme .woocommerce-variation-availability .stock{font-weight:600;font-size:.88rem}

/* Qty + CTA */
.mk-theme.single-product form.cart{display:flex;flex-wrap:wrap;gap:.7rem;align-items:stretch;margin-bottom:1rem}
.mk-theme.single-product form.variations_form{display:block}
.mk-theme.single-product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:.7rem;align-items:stretch}
.mk-theme.single-product form.cart .quantity{margin:0!important;float:none!important}
.mk-qty{display:inline-flex!important;align-items:center;border:1.5px solid var(--mk-line);border-radius:999px;background:#fff;overflow:hidden;height:52px}
.mk-theme .mk-qty .qty{width:2.8em!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:center;font-weight:700;font-size:1rem;padding:0!important;-moz-appearance:textfield}
.mk-qty .qty::-webkit-outer-spin-button,.mk-qty .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mk-theme .mk-qty-btn{background:transparent!important;color:var(--mk-ink)!important;border:0;width:44px;height:100%;font-size:1.25rem;line-height:1;padding:0!important;border-radius:0!important;cursor:pointer}
.mk-theme .mk-qty-btn:hover{background:var(--mk-sand)!important}
.mk-theme.single-product .single_add_to_cart_button{flex:1 1 220px;min-height:52px;background:var(--mk-cta)!important;color:#fff!important;font-size:1.05rem!important;font-weight:700!important;letter-spacing:.01em;border-radius:999px!important;box-shadow:0 6px 16px rgba(169,71,31,.28);float:none!important;margin:0!important;transition:background .15s,transform .1s}
.mk-theme.single-product .single_add_to_cart_button:hover{background:var(--mk-cta-d)!important}
.mk-theme.single-product .single_add_to_cart_button:active{transform:translateY(1px)}
.mk-theme.single-product .single_add_to_cart_button.disabled{opacity:.55;box-shadow:none}

/* Delivery / returns */
.mk-deliv{list-style:none;margin:0 0 1.2rem;padding:.4rem 1.1rem;background:#FFF8EE;border:1px solid #F1E2CC;border-radius:14px}
.mk-deliv li{display:flex;gap:.75rem;align-items:flex-start;padding:.7rem 0;font-size:.88rem;line-height:1.45;margin:0}
.mk-deliv li+li{border-top:1px dashed #EBD9BF}
.mk-deliv svg{flex:none;color:var(--mk-cta);margin-top:1px}
.mk-deliv strong{color:var(--mk-ink);margin-right:.2em}
.mk-theme.single-product .product_meta{font-size:.82rem;color:var(--mk-muted);border-top:1px solid var(--mk-line);padding-top:.8em}
.mk-theme.single-product .woocommerce-tabs{border-top:1px solid var(--mk-line);padding-top:1.5rem}
.mk-theme.single-product .related h2,.mk-theme.single-product .upsells h2{font-size:1.5rem}

/* Footer payment icons */
.mk-pay{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:2.2rem}
.mk-pay-icons{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.mk-pay-icons li{margin:0;line-height:0}
.mk-pay-icons svg{display:block;border-radius:5px;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.mk-pay small{font-size:.78rem;color:#B6AAA0}
.mk-pay+.mk-footer-legal{margin-top:1rem}
@media (prefers-reduced-motion:reduce){.mk-theme ul.products li.product,.mk-theme ul.products li.product img{transition:none}}
.mk-theme .woocommerce-product-gallery__image img,.mk-theme .woocommerce-product-gallery .flex-viewport img{width:100%!important;height:auto;aspect-ratio:1;object-fit:cover}
.mk-theme .woocommerce-product-gallery__trigger{z-index:5}
.mk-theme .woocommerce-product-gallery ol.flex-control-thumbs{grid-template-columns:repeat(6,1fr)!important;padding:0}
.mk-theme.single-product .woocommerce-variation.single_variation{margin:0}
.mk-theme.single-product .woocommerce-variation.single_variation:empty,.mk-theme.single-product .single_variation_wrap .woocommerce-variation[style*="none"]{display:none!important}
.mk-theme.single-product .woocommerce-variation-price .price{font-size:1.35rem;margin:0 0 .3em}
.mk-theme.single-product .single_add_to_cart_button.disabled{opacity:.8}
.mk-theme .woocommerce-product-gallery ol.flex-control-thumbs:before,.mk-theme .woocommerce-product-gallery ol.flex-control-thumbs:after{display:none!important;content:none!important}
/* swatch ảnh biến thể (khi tên màu không đọc được) — cả nhóm cùng kiểu */
.mk-theme .mk-sw-image{width:48px;height:48px;padding:2px;border-radius:10px;overflow:hidden}
.mk-sw-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}
.mk-theme .mk-sw-image.is-on{box-shadow:0 0 0 2px var(--mk-accent,#C4623A)}
/* 20/10 Airwallex-only: logo nhỏ PDP/cart, free ship, checkout Airwallex */
.mk-pay-icons-sm{gap:.3rem;margin:.35rem 0 0}
.mk-pay-icons-sm svg{width:38px;height:25px;box-shadow:0 0 0 1px var(--mk-line)}
.mk-pdp-pay{margin:.8rem 0}.mk-pdp-pay small{font-size:.8rem;color:var(--mk-muted)}
.mk-freeship{background:var(--mk-sage-bg);color:var(--mk-sage);border-radius:10px;padding:.55em .9em;font-weight:600;font-size:.92rem;margin:.6em 0}
.mk-awx{font-size:.95rem}
.mk-awx-test{background:#FFF6E0;border:1px solid #E8C26A;color:#6B4E00;border-radius:8px;padding:.5em .8em;font-size:.85rem;margin:0 0 .8em}
.mk-awx-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem;margin-bottom:.9rem}
.mk-awx-tab{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;border:1px solid var(--mk-line,#ddd);border-radius:10px;padding:.6em .75em;background:#fff;cursor:pointer;font-weight:600;color:var(--mk-ink,#222)}
.mk-awx-tab.is-active,.mk-awx-tab:has(input:checked){border-color:var(--mk-accent,#C4623A);box-shadow:0 0 0 1px var(--mk-accent,#C4623A)}
.mk-awx-tab input{margin:0}
.mk-awx-icons{display:inline-flex;gap:3px;flex-wrap:wrap}.mk-awx-icons svg{width:32px;height:21px;border-radius:4px;box-shadow:0 0 0 1px #e5e5e5}
.mk-awx-label{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.mk-awx-card{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;border:1px solid var(--mk-line,#ddd);border-radius:12px;padding:.9rem;background:#fff}
.mk-awx-f{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;color:var(--mk-muted,#777)}.mk-awx-full{grid-column:1/-1}
.mk-awx-f input{border:1px solid var(--mk-line,#ccc);border-radius:8px;padding:.7em .8em;font-size:1rem;background:#fff;color:#222;letter-spacing:.04em}
.mk-awx-f input:focus{outline:2px solid var(--mk-accent,#C4623A);outline-offset:0}
.mk-awx-wallet{border:1px dashed var(--mk-line,#ccc);border-radius:10px;padding:.8em;background:#fff}
.mk-awx-note{font-size:.8rem;color:var(--mk-muted,#777);margin:.7em 0 0}
