/*
Theme Name: Điện Máy 3
Theme URI: https://dienmay3.trongtamtay.cloud
Author: Trong Tam Tay
Description: Theme điện thoại – laptop – phụ kiện (header vàng, menu ngang có icon, tin công nghệ) cho WordPress + WooCommerce. Một file CSS, JS thuần, font Inter subset.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: wp_nk
Tags: e-commerce, blog, custom-menu, featured-images, translation-ready
*/

@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/inter-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--red:#d70018;--red-d:#b80014;--red-l:#fdecee;--blue:#2a4e9d;--blue-l:#e4f0ff;--blue-b:#a3c4ff;--purple:#6a3fc7;--purple-l:#eee6ff;--green:#1a8b3d;--green-l:#e6f7ec;--text:#1d1d20;--muted:#6b7280;--line:#e5e7eb;--soft:#f3f4f6;--bg:#f7f7f9;--white:#fff;--r:12px;--r-s:8px;--w:1200px;--font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--sh:0 1px 3px rgba(0,0,0,.06),0 8px 24px -12px rgba(0,0,0,.15);--sh-s:0 1px 2px rgba(0,0,0,.06)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:14px/1.5 var(--font);color:var(--text);background:var(--white);overflow-x:clip}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{line-height:1.3;margin:0 0 .5em;font-weight:700}
h1{font-size:22px}h2{font-size:18px}h3{font-size:16px}h4{font-size:14px}
p,ul,ol,table,figure,blockquote{margin:0 0 1em}
ul,ol{padding-left:1.3em}
table{width:100%;border-collapse:collapse}th,td{padding:.6em .75em;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-weight:600;background:var(--soft)}
blockquote{border-left:4px solid var(--brand);padding:.3em 1em;color:var(--muted);background:var(--soft)}
code,pre{font-family:ui-monospace,Menlo,monospace;font-size:.92em}pre{overflow:auto;padding:1em;background:var(--soft);border-radius:var(--r-s)}
hr{border:0;border-top:1px solid var(--line);margin:1.5em 0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--brand);color:#fff;padding:.5em 1em;z-index:999}.skip-link:focus{left:0}
.wrap{max-width:var(--w);margin:0 auto;padding:0 12px}
.hide{display:none!important}
.muted{color:var(--muted)}

/* ---------- Forms & buttons ---------- */
input,select,textarea,button{font:inherit;color:inherit}
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea{width:100%;padding:.55em .8em;border:1px solid #d1d5db;border-radius:var(--r-s);background:#fff}
input:focus,select:focus,textarea:focus{outline:2px solid transparent;border-color:var(--brand);box-shadow:0 0 0 3px rgba(42,131,233,.15)}
textarea{min-height:110px}
button{border:0;background:none;padding:0;cursor:pointer;color:inherit}
.btn,input[type=submit],input[type=button],.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.comment-form input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:.6em 1.2em;border:0;border-radius:var(--r-s);background:var(--brand);color:#fff!important;font-weight:600;line-height:1.2;cursor:pointer;text-align:center;transition:background .15s,transform .1s;text-decoration:none}
.btn:hover,input[type=submit]:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--brand-d)}
.btn:active,.button:active{transform:translateY(1px)}
.btn-outline{background:#fff;color:var(--brand)!important;border:1px solid var(--brand)}.btn-outline:hover{background:var(--brand-l)}
.btn-blue{background:var(--blue)}.btn-blue:hover{background:#1e3c7d}
.btn-lg{padding:.85em 1.4em;font-size:15px}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.5;cursor:not-allowed;background:var(--brand)}

/* ---------- Header ---------- */
.site-header{background:linear-gradient(90deg,#d70018 0%,#dc1a2c 55%,#ec4b45 100%);color:#fff;position:relative;z-index:60}
.topbar{font-size:12px;height:30px;display:flex;align-items:center;gap:22px;white-space:nowrap;overflow:hidden}
.topbar .usp{display:flex;gap:22px;flex:1}
.topbar span{display:inline-flex;align-items:center;gap:6px}.topbar b{font-weight:600}
.topbar .links{display:flex;gap:18px}
.topbar svg{width:14px;height:14px}
.mainbar{display:flex;align-items:center;gap:10px;height:64px}
.brand{display:flex;align-items:center;font-weight:800;font-size:24px;letter-spacing:-.03em;color:#fff;margin-right:8px;white-space:nowrap}
.brand img{max-height:36px;width:auto}
.brand .logo-mark{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid #fff;border-radius:6px;font-size:18px;margin-left:4px}
.hbtn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:10px;background:rgba(255,255,255,.18);color:#fff;font-weight:500;white-space:nowrap;border:0;cursor:pointer;transition:background .15s}
.hbtn:hover{background:rgba(255,255,255,.3)}
.hbtn svg{width:20px;height:20px;flex:none}
.hbtn .chev{width:14px;height:14px;opacity:.9}
.hsearch{flex:1;max-width:520px;position:relative}
.hsearch form{display:flex;align-items:center;background:#fff;border-radius:10px;height:42px;padding:0 8px 0 12px;color:var(--text)}
.hsearch input{border:0!important;box-shadow:none!important;padding:0 8px!important;background:transparent;height:100%;font-size:14px}
.hsearch svg{width:20px;height:20px;color:#555;flex:none}
.hsearch button{background:transparent;padding:6px;color:var(--muted)}
.hsearch button:hover{background:var(--soft)}
.hright{margin-left:auto;display:flex;align-items:center;gap:8px}
.cart-link{position:relative}
.cart-count{position:absolute;top:2px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ffd400;color:#111;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.cart-link.has-items .cart-count{display:block}
.login-btn{background:rgba(255,255,255,.22)}
.nav-toggle,.search-toggle{display:none}
/* Mega menu */
.catmenu-wrap{position:relative}
.catmenu{display:none;position:absolute;left:0;top:calc(100% + 8px);width:820px;background:#fff;color:var(--text);border-radius:var(--r);box-shadow:var(--sh);z-index:100;grid-template-columns:230px 1fr;overflow:hidden}
.catmenu-wrap.is-open .catmenu,.catmenu-wrap:hover .catmenu{display:grid}
.catmenu-wrap.is-open .catmenu{display:grid}
.catmenu .cat-list{list-style:none;margin:0;padding:8px 0;background:#fff;border-right:1px solid var(--line);max-height:520px;overflow:auto}
.catmenu .cat-list li a{display:flex;align-items:center;gap:10px;padding:9px 14px;font-weight:500;font-size:13px}
.catmenu .cat-list li a img,.catmenu .cat-list li a svg{width:22px;height:22px;flex:none}
.catmenu .cat-list li a:hover,.catmenu .cat-list li.is-active a{background:var(--brand-l);color:var(--brand)}
.catmenu .cat-list .arrow{margin-left:auto;width:14px;height:14px;opacity:.5}
.catmenu .cat-panel{padding:18px 22px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px 24px;align-content:start}
.catmenu .cat-panel h4{font-size:13px;margin-bottom:8px;color:var(--brand)}
.catmenu .cat-panel ul{list-style:none;margin:0;padding:0}
.catmenu .cat-panel li{padding:3px 0;font-size:13px;color:#444}
.catmenu .cat-panel li a:hover{color:var(--brand)}
/* Mobile nav */
.mobile-nav{display:none}
@media (max-width:1000px){
 .topbar{display:none}
 .mainbar{height:56px;gap:8px;flex-wrap:wrap}
 .brand{font-size:20px}
 .hbtn .lbl{display:none}
 .hbtn{padding:0 10px;height:38px}
 .loc-btn,.hsearch,.cat-btn,.login-btn{display:none}
 .hright{gap:6px}
 .search-toggle{display:inline-flex}
 .nav-toggle{display:inline-flex}
 .hsearch.is-open{display:block;position:absolute;left:0;right:0;top:56px;max-width:none;padding:8px 12px 12px;background:var(--brand);z-index:70}
 .catmenu-wrap:hover .catmenu{display:none}
 .catmenu{position:fixed;inset:56px 0 0 0;width:auto;border-radius:0;grid-template-columns:1fr;box-shadow:none;overflow:auto}
 .catmenu-wrap.is-open .catmenu{display:block}
 .catmenu .cat-list{max-height:none;border:0}
 .catmenu .cat-panel{display:none}
}

/* ---------- Layout ---------- */
.site-main{background:var(--bg);padding:12px 0 40px;min-height:50vh}
.site-main>.wrap>*:first-child{margin-top:0}
.box{background:#fff;border-radius:var(--r);box-shadow:var(--sh-s);padding:16px}
.section{margin-bottom:24px}
.sec-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.sec-head h2{font-size:18px;text-transform:uppercase;margin:0;letter-spacing:-.01em}
.sec-head .more{font-size:13px;color:var(--blue);font-weight:500;display:inline-flex;align-items:center;gap:4px}
.sec-head .more svg{width:14px;height:14px}
.breadcrumb,.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 12px;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.breadcrumb a,.woocommerce-breadcrumb a{color:var(--muted)}.breadcrumb a:hover,.woocommerce-breadcrumb a:hover{color:var(--brand)}
.page-header{margin-bottom:16px}
.page-header .archive-description{color:var(--muted)}
.entry-content{max-width:820px}
.entry-content img{border-radius:var(--r-s)}
.entry-content-wide{max-width:none}
.alignwide{max-width:var(--w)}.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.aligncenter{margin-left:auto;margin-right:auto}.alignleft{float:left;margin:0 1.5em 1em 0}.alignright{float:right;margin:0 0 1em 1.5em}
.wp-caption,.wp-block-image figcaption{color:var(--muted);font-size:.85rem;text-align:center}

/* ---------- Home: top area ---------- */
.home-top{display:grid;grid-template-columns:190px minmax(0,1fr) 190px;gap:10px;margin-bottom:12px;align-items:start}
.side-cats{background:#fff;border-radius:var(--r);box-shadow:var(--sh-s);padding:6px 0;list-style:none;margin:0}
.side-cats li a{display:flex;align-items:center;gap:10px;padding:8px 12px;font-size:13px;font-weight:600;border-radius:8px;margin:0 6px}
.side-cats li a:hover{background:var(--brand-l);color:var(--brand)}
.side-cats li a img,.side-cats li a svg{width:20px;height:20px;flex:none;color:var(--brand)}
.side-cats li a .arrow{margin-left:auto;width:14px;height:14px;opacity:.45}
.hero{background:#fff;border-radius:var(--r);box-shadow:var(--sh-s);overflow:hidden}
.hero-tabs{display:flex;overflow:hidden;border-bottom:1px solid var(--line)}
.hero-tabs button{flex:1;background:transparent;color:var(--muted);padding:8px 6px;border-radius:0;font-size:11px;line-height:1.3;border-bottom:2px solid transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hero-tabs button b{display:block;color:#333;font-weight:700;text-transform:uppercase;font-size:11px;overflow:hidden;text-overflow:ellipsis}
.hero-tabs button.is-active{border-bottom-color:var(--brand);background:#fff}.hero-tabs button.is-active b{color:var(--brand)}
.hero-tabs button:hover{background:var(--soft)}
.slider{position:relative;overflow:hidden}
.slider .track{display:flex;transition:transform .45s ease;will-change:transform}
.slider .slide{flex:0 0 100%;min-width:0}
.slider .slide img{width:100%;aspect-ratio:1035/449;object-fit:cover}
.slider .nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.85);color:#333;box-shadow:var(--sh-s);padding:0;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}
.slider:hover .nav{opacity:1}.slider .nav.prev{left:10px}.slider .nav.next{right:10px}.slider .nav svg{width:18px;height:18px}
.slider .dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:5px}
.slider .dots button{width:8px;height:8px;border-radius:4px;background:rgba(255,255,255,.6);padding:0;transition:width .2s}.slider .dots button.is-active{width:22px;background:#fff}
.small-banners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.small-banners img{width:100%;aspect-ratio:689/299;object-fit:cover;border-radius:10px}
.right-col{display:flex;flex-direction:column;gap:10px}
.member-box{background:#fff;border-radius:var(--r);box-shadow:var(--sh-s);padding:12px}
.member-box .mb-top{display:flex;gap:10px;align-items:flex-start}
.member-box .mb-top img{width:44px;height:44px;border-radius:50%;flex:none;background:var(--soft);object-fit:cover}
.member-box h4{font-size:13px;margin:0 0 4px}
.member-box p{font-size:12px;color:var(--muted);margin:0 0 8px}
.member-box .mb-links{font-size:12px;font-weight:600}.member-box .mb-links a{color:var(--brand)}.member-box .mb-links span{color:var(--muted);font-weight:400;margin:0 4px}
.member-box .mb-cta{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.member-box .mb-cta svg{width:14px;height:14px;margin-left:auto;opacity:.5}
.promo-groups{background:#fff;border-radius:var(--r);box-shadow:var(--sh-s);padding:10px;display:flex;flex-direction:column;gap:10px}
.promo-group h5{margin:0 0 6px;font-size:12px;font-weight:600;text-align:center;background:var(--soft);border-radius:6px;padding:5px 8px;color:#333}
.promo-group ul{list-style:none;margin:0;padding:0}
.promo-group li{font-size:12px;padding:4px 4px;display:flex;align-items:center;gap:6px}
.promo-group li img{width:16px;height:16px;flex:none}
.promo-group li b{font-weight:700}
.promo-group li .new{background:var(--brand);color:#fff;font-size:9px;font-weight:700;padding:1px 5px;border-radius:4px;margin-left:auto}
.promo-groups .strip{border-radius:8px;overflow:hidden}.promo-groups .strip img{width:100%}
.strip-banner{margin:12px 0}.strip-banner img{width:100%;border-radius:10px;aspect-ratio:1752/120;object-fit:cover}
@media (max-width:1000px){.home-top{grid-template-columns:minmax(0,1fr)}.side-cats,.side-cats-wrap,.right-col{display:none}}

/* ---------- Flash sale ---------- */
.flash{position:relative;margin:0 0 16px;padding-top:44px}
.flash-tabs{position:absolute;top:0;left:0;right:0;display:flex;gap:8px;padding:0 24px;z-index:2}
.flash-tabs button{flex:1;height:52px;border-radius:14px 14px 0 0;background:linear-gradient(180deg,#f04a3c,#c60016);color:rgba(255,255,255,.7);font-weight:800;font-size:16px;text-transform:uppercase;font-style:italic;letter-spacing:.02em;box-shadow:inset 0 -6px 12px -6px rgba(0,0,0,.35)}
.flash-tabs button.is-active{background:linear-gradient(180deg,#ff3b3b,#d70018);color:#fff;height:56px;margin-top:-4px}
.flash-body{background:linear-gradient(180deg,#e60c1f 0%,#c8000f 100%);border:2px solid #f7c948;border-radius:20px;padding:18px 18px 12px;color:#fff;position:relative;overflow:hidden}
.flash-body::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0,rgba(255,255,255,.18),transparent 60%);pointer-events:none}
.flash-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;position:relative;flex-wrap:wrap}
.flash-row .countdown{margin:0}
.countdown{margin-left:auto;display:flex;align-items:center;gap:6px;font-weight:800;text-transform:uppercase;font-size:14px}
.countdown b{display:inline-block;min-width:34px;padding:3px 4px;border-radius:6px;background:#fff;color:#1d1d20;text-align:center;font-size:16px;font-variant-numeric:tabular-nums}
.flash-note{text-align:center;font-size:12px;font-weight:600;margin-top:12px;position:relative;color:#ffe3e3}
.hscroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px;position:relative}
.hscroll::-webkit-scrollbar{display:none}
.hscroll>*{scroll-snap-align:start;flex:0 0 calc((100% - 40px)/5);min-width:0}
.hs-wrap{position:relative}
.hs-wrap .nav{position:absolute;top:45%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:#fff;color:#333;box-shadow:var(--sh);padding:0;display:inline-flex;align-items:center;justify-content:center;z-index:3}
.hs-wrap .nav.prev{left:-14px}.hs-wrap .nav.next{right:-14px}.hs-wrap .nav svg{width:18px;height:18px}
.hs-wrap .nav[disabled]{opacity:0;pointer-events:none}
.flash .pc{background:#fff;color:var(--text)}
.flash .pc .p-sold{margin:8px 0 0;height:18px;border-radius:9px;background:#ffd9dc;position:relative;overflow:hidden;font-size:11px;font-weight:600;color:#7a1220;text-align:center;line-height:18px}
.flash .pc .p-sold i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#ff5f6d,#d70018);border-radius:9px}
.flash .pc .p-sold span{position:relative}
@media (max-width:1000px){.hscroll>*{flex-basis:calc((100% - 20px)/3)}.flash-tabs button{font-size:12px;height:44px}.flash-tabs{padding:0 10px}.flash{padding-top:40px}}
@media (max-width:640px){.hscroll>*{flex-basis:calc((100% - 10px)/2)}.countdown{margin-left:0}}

/* ---------- Deal tabs box (blue) ---------- */
.deal-box{border:1px solid var(--blue-b);border-radius:16px;background:linear-gradient(180deg,#e9f1ff 0%,#f4f8ff 100%);margin-bottom:24px;overflow:hidden}
.deal-tabs{display:flex;background:#fff;border-bottom:1px solid var(--blue-b)}
.deal-tabs button{flex:1;padding:12px 10px;background:linear-gradient(180deg,#f2f6ff,#e3ecfb);color:#2a4e9d;font-weight:800;font-size:22px;text-transform:uppercase;border-radius:0;border-right:1px solid var(--blue-b);display:flex;align-items:center;justify-content:center;min-height:64px}
.deal-tabs button:last-child{border-right:0}
.deal-tabs button img{max-height:40px;width:auto;max-width:100%;object-fit:contain}
.deal-tabs button{min-width:0}
.deal-tabs button.is-active{background:#fff;color:var(--blue)}
.deal-body{padding:14px 14px 16px}
.pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:10px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid #cfd6e4;border-radius:999px;background:#fff;font-size:13px;font-weight:500;cursor:pointer;color:#333;white-space:nowrap}
.pill:hover{border-color:var(--blue)}
.pill.is-active{border-color:var(--blue);color:var(--blue);font-weight:600}
.pill img{width:26px;height:26px;object-fit:contain}
.pills.sub{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px}.pills.sub::-webkit-scrollbar{display:none}
.pills.sub .pill{border-radius:8px;padding:6px 12px;flex:none}
@media (max-width:1000px){.deal-tabs button{font-size:14px;min-height:50px}.deal-tabs button img{max-height:26px}.pills{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}}

/* ---------- Product card ---------- */
.pc{position:relative;background:#fff;border-radius:10px;box-shadow:var(--sh-s);border:1px solid #eceef1;padding:34px 10px 10px;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s;min-width:0}
.pc:hover{box-shadow:var(--sh);transform:translateY(-2px)}
.pc .p-badges{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}
.pc .p-off{background:var(--brand);color:#fff;font-size:11px;font-weight:700;padding:5px 10px;border-radius:10px 0 10px 0}
.pc .p-inst{background:var(--blue-l);color:var(--blue);font-size:11px;font-weight:600;padding:5px 10px;border-radius:0 10px 0 10px;margin-left:auto}
.pc .p-img{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:6px;margin-bottom:8px;background:#fff}
.pc .p-img img{width:100%;height:100%;object-fit:contain;transition:transform .3s}
.pc:hover .p-img img{transform:scale(1.04)}
.pc .p-specs{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 6px;font-size:11px;font-weight:700;color:#444;background:var(--soft);border-radius:4px;padding:3px 6px;margin-bottom:8px;text-align:center}
.pc .p-specs b{color:var(--brand)}
.pc .p-name{font-size:14px;font-weight:600;line-height:1.35;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.pc .p-name a:hover{color:var(--brand)}
.pc .p-label{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:4px;margin-bottom:6px;align-self:flex-start}
.pc .p-label.new{background:var(--green-l);color:var(--green)}.pc .p-label.pre{background:var(--brand-l);color:var(--brand)}.pc .p-label.soon{background:#fff3e0;color:#c2410c}
.pc .p-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.pc .p-price .now{color:var(--brand);font-weight:700;font-size:16px}
.pc .p-price .old{color:#9ca3af;text-decoration:line-through;font-size:12px}
.pc .p-price .price{display:contents}
.pc .p-chip{font-size:11px;padding:3px 8px;border-radius:4px;margin-bottom:5px;font-weight:500;line-height:1.3}
.pc .p-chip.smember{background:var(--blue-l);color:#1f3f86}
.pc .p-chip.student{background:var(--purple-l);color:var(--purple)}
.pc .p-promo{font-size:12px;color:#444;background:var(--soft);border-radius:6px;padding:6px 8px;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc .p-foot{margin-top:auto;display:flex;align-items:center;gap:8px;padding-top:6px}
.pc .p-ship{display:inline-flex;align-items:center;gap:4px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;padding:2px 7px 2px 4px;border-radius:4px}
.pc .p-ship svg{width:14px;height:14px}
.pc .p-rate{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600}
.pc .p-rate svg{width:14px;height:14px;color:#f5b301}
.pc .p-fav{margin-left:auto;color:var(--blue);background:transparent;padding:2px;display:inline-flex}.pc .p-fav svg{width:20px;height:20px}
.pc .p-cart{display:none}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.product-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.product-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
ul.products{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
ul.products li.product{display:contents}
@media (max-width:1000px){.product-grid,.product-grid.cols-3,.product-grid.cols-4,.product-grid.cols-5,ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.product-grid,.product-grid.cols-3,.product-grid.cols-4,.product-grid.cols-5,ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pc{padding:30px 8px 8px}.pc .p-name{font-size:13px}.pc .p-price .now{font-size:15px}}

/* ---------- Category section (banner + tabs + grid) ---------- */
.cat-section{display:grid;grid-template-columns:222px minmax(0,1fr);gap:10px;margin-bottom:24px;align-items:start}
.cat-section .cs-banners{display:flex;flex-direction:column;gap:10px}
.cat-section .cs-banners img{width:100%;border-radius:10px;object-fit:cover}
.cat-section .cs-banners .tall{aspect-ratio:320/794}
.cat-section .cs-body{min-width:0}
.cs-tabs{display:flex;background:#fff;border-radius:10px;box-shadow:var(--sh-s);margin-bottom:10px;overflow:hidden}
.cs-tabs a,.cs-tabs button{flex:1;text-align:center;padding:11px 10px;font-weight:700;text-transform:uppercase;font-size:14px;color:#333;background:#fff;border-radius:0;border-bottom:2px solid transparent;border-right:1px solid var(--line)}
.cs-tabs a:last-child,.cs-tabs button:last-child{border-right:0}
.cs-tabs .is-active{color:var(--brand);border-bottom-color:var(--brand);background:linear-gradient(180deg,#fff,#fff5f5)}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-bottom:10px;padding:2px}.chips::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:8px;padding:6px 12px 6px 8px;box-shadow:var(--sh-s);font-size:13px;font-weight:600;white-space:nowrap}
.chip img{width:36px;height:36px;object-fit:contain}
.chip:hover{color:var(--brand)}
.brand-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.brand-row .pills{margin:0;flex:1;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.brand-row .pills::-webkit-scrollbar{display:none}
.brand-row .more{flex:none;font-size:13px;color:var(--blue);font-weight:500;display:inline-flex;align-items:center;gap:4px}
.brand-row .more svg{width:14px;height:14px}
.cs-more{text-align:center;margin-top:12px}
.cs-more a{display:inline-block;padding:.5em 2em;border:1px solid var(--blue);color:var(--blue);border-radius:8px;font-weight:600;background:#fff}
.cs-more a:hover{background:var(--blue-l)}
@media (max-width:1000px){.cat-section{grid-template-columns:1fr}.cat-section .cs-banners{flex-direction:row}.cat-section .cs-banners .tall{display:none}}

/* ---------- Accessories tiles ---------- */
.acc-row{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.acc-row a{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:10px 8px;text-align:center;font-size:12px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:6px}
.acc-row a img{width:64px;height:64px;object-fit:contain}
.acc-row a:hover{color:var(--brand);box-shadow:var(--sh)}
@media (max-width:1000px){.acc-row{grid-template-columns:repeat(4,1fr)}}

/* ---------- News / promo blocks ---------- */
.news-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.news-card{background:#fff;border-radius:10px;box-shadow:var(--sh-s);overflow:hidden;display:flex;flex-direction:column}
.news-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.news-card .nc-body{padding:10px 12px 12px}
.news-card h3{font-size:13px;font-weight:600;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-card:hover h3{color:var(--brand)}
.news-card .nc-meta{font-size:11px;color:var(--muted);margin-top:6px}
@media (max-width:1000px){.news-row{grid-template-columns:repeat(2,1fr)}}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.promo-box{background:#fff;border-radius:12px;box-shadow:var(--sh-s);padding:14px}
.promo-box h3{text-align:center;text-transform:uppercase;font-size:16px;margin-bottom:12px}
.promo-box .imgs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.promo-box .imgs img{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:8px}
.b2b{background:linear-gradient(90deg,#ff2a3d,#d70018);border-radius:14px;padding:22px 26px;color:#fff;display:grid;grid-template-columns:1fr 1.6fr;gap:20px;align-items:center;margin-bottom:24px;overflow:hidden;position:relative}
.b2b h3{font-size:24px;line-height:1.25;margin-bottom:14px;color:#fff}
.b2b .btns{display:flex;gap:10px;flex-wrap:wrap}
.b2b .btns a{padding:.55em 1.3em;border-radius:8px;font-weight:700;font-size:13px}
.b2b .btns .b1{background:#fff;color:var(--brand)}.b2b .btns .b2{border:1px solid #fff;color:#fff}
.b2b .stats{background:#fff;color:var(--text);border-radius:12px;padding:16px 18px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:center}
.b2b .stats div{text-align:center;font-size:12px;font-weight:600}
.b2b .stats b{display:block;font-size:34px;color:var(--brand);line-height:1}
.b2b .mascot{position:absolute;right:38%;bottom:-10px;width:110px;opacity:.95}
@media (max-width:1000px){.two-col{grid-template-columns:1fr}.b2b{grid-template-columns:1fr}.b2b .mascot{display:none}}

/* ---------- Footer ---------- */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:32px 0 0;font-size:13px;color:#333}
.footer-cols{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:28px;padding-bottom:28px}
.footer-cols h4{font-size:14px;margin-bottom:12px;color:#111}
.footer-cols ul{list-style:none;padding:0;margin:0 0 16px}
.footer-cols li{padding:4px 0}
.footer-cols li a:hover{color:var(--brand)}
.footer-cols .hot b{font-weight:700}
.pay-logos{display:flex;flex-wrap:wrap;gap:8px}
.pay-logos img{height:24px;width:auto;border:1px solid var(--line);border-radius:4px;padding:2px 4px;background:#fff}
.newsletter{background:var(--soft);border-radius:8px;padding:10px 12px;font-size:12px;margin-bottom:10px}
.newsletter b{color:var(--brand);display:block;margin-bottom:2px}
.newsletter-form label{display:block;font-size:12px;font-weight:600;margin:8px 0 4px}
.newsletter-form small{display:block;color:var(--muted);margin:8px 0}.newsletter-form small a{color:var(--brand)}
.newsletter-form button{width:100%;text-transform:uppercase}
.socials{display:flex;gap:8px;margin-bottom:16px}.socials img{width:32px;height:32px}
.footer-apps{display:flex;gap:8px}.footer-apps img{height:36px;width:auto}
.member-sites li{padding:6px 0}.member-sites img{height:24px;width:auto;margin-top:4px}
.footer-links{background:var(--bg);padding:14px 0;border-top:1px solid var(--line)}
.footer-links .cols{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 24px;font-size:12px}
.footer-links .cols div{line-height:1.9}.footer-links .cols span{color:#bbb;margin:0 5px}
.footer-links a:hover{color:var(--brand)}
.copyright{background:var(--bg);padding:14px 0 20px;font-size:11px;color:var(--muted);text-align:center}
.copyright img{display:inline-block;height:28px;margin:8px 4px 0}
@media (max-width:1000px){.footer-cols{grid-template-columns:1fr 1fr}.footer-links .cols{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.footer-cols{grid-template-columns:1fr}}
.back-top{position:fixed;right:16px;bottom:16px;z-index:50;background:var(--text);color:#fff;border-radius:999px;padding:.5em 1em;font-size:12px;font-weight:600;box-shadow:var(--sh);opacity:0;pointer-events:none;transition:opacity .2s}
.back-top.is-visible{opacity:1;pointer-events:auto}

/* ---------- WooCommerce: notices, archive ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0 0 14px;padding:.8em 1em;border-radius:8px;border:1px solid;background:var(--green-l);border-color:#a7dcb7;color:#14532d;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{order:2;margin-left:auto;padding:.4em .9em}
.woocommerce-info{background:var(--blue-l);border-color:var(--blue-b);color:#1e3a8a}
.woocommerce-error{background:var(--brand-l);border-color:#fca5a5;color:#7f1d1d;display:block}.woocommerce-error li{margin:.2em 0}
.shop-head{margin-bottom:12px}
.shop-head h1{font-size:22px;margin:0 0 10px}
.subcats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.subcats a{background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}
.subcats a:hover{border-color:var(--brand);color:var(--brand)}
.filter-bar{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:12px 14px;margin-bottom:12px}
.filter-bar h3{font-size:14px;margin-bottom:8px}
.filter-bar .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filter-bar .row .lbl{font-weight:600;font-size:13px;margin-right:4px}
.fbtn{display:inline-flex;align-items:center;gap:6px;border:1px solid #d1d5db;border-radius:8px;padding:6px 12px;font-size:13px;background:#fff;cursor:pointer;font-weight:500}
.fbtn svg{width:14px;height:14px;opacity:.6}
.fbtn.is-active{border-color:var(--brand);color:var(--brand);background:var(--brand-l)}
.sort-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.sort-row .lbl{font-weight:600;font-size:14px;margin-right:6px}
.sort-row a{display:inline-flex;align-items:center;gap:5px;border:1px solid #d1d5db;border-radius:8px;padding:6px 12px;font-size:13px;background:#fff;font-weight:500}
.sort-row a.is-active{border-color:var(--brand);color:var(--brand);background:var(--brand-l)}
.sort-row a svg{width:14px;height:14px}
.woocommerce-result-count{color:var(--muted);margin:0;font-size:13px}
.woocommerce-ordering{margin:0}.woocommerce-ordering select{width:auto;padding:.4em 2em .4em .8em}
.pagination,.woocommerce-pagination{margin:20px 0 0;text-align:center}
.pagination .nav-links,.woocommerce-pagination ul.page-numbers{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0;border:0}
.page-numbers{display:inline-block;min-width:36px;padding:.4em .7em;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#fff}
.page-numbers.current,.page-numbers:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0}
.term-description,.shop-desc{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:18px 20px;margin-top:20px;max-height:340px;overflow:hidden;position:relative;font-size:14px}
.shop-desc.is-open{max-height:none}
.shop-desc::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(transparent,#fff)}
.shop-desc.is-open::after{display:none}
.shop-desc-toggle{text-align:center;margin-top:8px}.shop-desc-toggle button{background:#fff;color:var(--blue)!important;border:1px solid var(--blue-b)}
.no-results{background:#fff;border-radius:10px;padding:30px;text-align:center}

/* ---------- Single product ---------- */
.sp-head{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:12px 16px;margin-bottom:10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.sp-head h1{font-size:20px;margin:0;flex:1 1 auto}
.sp-head .sp-rate{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600}
.sp-head .sp-rate svg{width:16px;height:16px;color:#f5b301}
.sp-head .sp-links{display:flex;gap:14px;font-size:13px;color:var(--blue);font-weight:500}
.sp-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;align-items:start;margin-bottom:12px}
.sp-gallery{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:14px}
.sp-gallery .main{aspect-ratio:1/1;border-radius:8px;overflow:hidden;position:relative;background:#fff}
.sp-gallery .main img{width:100%;height:100%;object-fit:contain}
.sp-gallery .thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto}
.sp-gallery .thumbs img{width:64px;height:64px;object-fit:contain;border:1px solid var(--line);border-radius:6px;cursor:pointer;padding:3px;background:#fff}
.sp-gallery .thumbs img.is-active{border-color:var(--brand)}
.sp-features{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:14px 16px;margin-top:12px}
.sp-features h3{font-size:15px;margin-bottom:8px}
.sp-features ul{margin:0;padding-left:1.2em;font-size:13px;line-height:1.7}
.sp-buy{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:14px 16px}
.sp-price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.sp-price .now{color:var(--brand);font-size:26px;font-weight:700}
.sp-price .old{color:#9ca3af;text-decoration:line-through;font-size:15px}
.sp-price .off{background:var(--brand-l);color:var(--brand);font-size:12px;font-weight:700;padding:2px 8px;border-radius:4px}
.sp-price .price{display:contents}
.sp-price .price del,.sp-price .price ins{text-decoration:none}.sp-price .price del{color:#9ca3af;text-decoration:line-through;font-size:15px}
.sp-price .price ins .amount,.sp-price .price>.amount{color:var(--brand);font-size:26px;font-weight:700}
.sp-opts{margin-bottom:12px}
.sp-opts h4{font-size:13px;margin-bottom:6px;font-weight:600}
.sp-opts .opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sp-opts .opt{border:1px solid #d1d5db;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer;background:#fff;text-align:center;line-height:1.3;color:var(--text)}
.sp-opts .opt small{display:block;color:var(--muted);font-weight:400}
.sp-opts .opt.is-active,.sp-opts .opt:hover{border-color:var(--brand);color:var(--brand)}
.sp-opts .opt.is-active{background:var(--brand-l)}
.sp-chips{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.sp-chips .p-chip{font-size:12px;padding:6px 10px;border-radius:6px;font-weight:500}
.sp-chips .smember{background:var(--blue-l);color:#1f3f86}.sp-chips .student{background:var(--purple-l);color:var(--purple)}
.sp-promo{border:1px solid #f5b8be;border-radius:10px;margin-bottom:12px;overflow:hidden}
.sp-promo h4{margin:0;background:var(--brand-l);color:var(--brand);padding:8px 12px;font-size:13px;display:flex;align-items:center;gap:6px}
.sp-promo h4 svg{width:16px;height:16px}
.sp-promo ol{margin:0;padding:10px 12px 10px 30px;font-size:13px;line-height:1.6}
.sp-promo ol li::marker{color:var(--brand);font-weight:700}
.sp-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:12px}
.sp-actions .buy-now{padding:1em;font-size:15px;text-transform:uppercase;flex-direction:column;gap:2px;line-height:1.2}
.sp-actions .buy-now small{font-weight:400;font-size:11px;text-transform:none;opacity:.9}
.sp-actions .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sp-actions form.cart{display:contents}
.sp-actions form.cart .quantity{display:none}
.sp-actions form.cart button{width:100%}
.sp-actions form.cart .variations{grid-column:1/-1;margin:0 0 8px}
.sp-actions form.cart .variations td{border:0;padding:.3em .3em .3em 0}.sp-actions form.cart .variations select{width:auto;min-width:160px}
.sp-actions .woocommerce-variation-add-to-cart{grid-column:1/-1}
.sp-actions .woocommerce-variation-price .price{color:var(--brand);font-weight:700;font-size:20px}
.sp-actions .reset_variations{font-size:12px;margin-left:6px}
.sp-actions .stock{font-size:13px;margin:0 0 6px}.sp-actions .out-of-stock{color:var(--brand)}
.sp-guarantee{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.7}
.sp-guarantee li{display:flex;gap:8px;align-items:flex-start}.sp-guarantee ul{list-style:none;margin:0;padding:0}
.sp-guarantee svg{width:16px;height:16px;flex:none;color:var(--green);margin-top:3px}
.sp-specs{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:14px 16px;margin-top:12px}
.sp-specs h3{font-size:15px;margin-bottom:8px}
.sp-specs table{font-size:13px}.sp-specs th{width:38%;background:var(--soft);font-weight:500}
.sp-specs table th,.sp-specs table td{padding:.5em .7em}
.sp-bottom{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;align-items:start}
.sp-desc{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:16px 18px}
.sp-desc h2{font-size:16px;margin-bottom:10px}
.sp-desc .desc-body{max-height:520px;overflow:hidden;position:relative}
.sp-desc .desc-body.is-open{max-height:none}
.sp-desc .desc-body::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(transparent,#fff)}
.sp-desc .desc-body.is-open::after{display:none}
.sp-desc .desc-toggle{text-align:center;margin-top:8px}.sp-desc .desc-toggle button{background:#fff;color:var(--blue)!important;border:1px solid var(--blue-b)}
.sp-reviews{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:16px 18px;margin-top:12px}
.sp-reviews h2{font-size:16px}
#reviews .commentlist{list-style:none;padding:0}#reviews .comment_container{display:flex;gap:12px;padding:1em 0;border-bottom:1px solid var(--line)}#reviews .avatar{border-radius:50%;width:42px;height:42px}
#reviews .comment-text{flex:1}#reviews .meta{font-size:12px;color:var(--muted)}
.comment-form-rating p.stars a{color:#f5b301}
.star-rating{position:relative;height:1em;width:5.4em;font-size:.9em;line-height:1;overflow:hidden;color:#d1d5db;letter-spacing:.1em}
.star-rating::before{content:"\2605\2605\2605\2605\2605";position:absolute;left:0;top:0}
.star-rating span{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;padding-top:1.5em;color:#f5b301}.star-rating span::before{content:"\2605\2605\2605\2605\2605";position:absolute;left:0;top:0}
.related.products,.upsells.products{margin-top:20px}.related.products>h2,.upsells.products>h2{font-size:18px;text-transform:uppercase;margin-bottom:12px}
.woocommerce-product-gallery__trigger{display:none}
@media (max-width:900px){.sp-grid,.sp-bottom{grid-template-columns:1fr}.sp-head h1{font-size:17px}}

/* ---------- Cart ---------- */
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}
.woocommerce-cart .woocommerce>*{grid-column:1/-1}
.woocommerce-cart .woocommerce form.woocommerce-cart-form{grid-column:1;background:#fff;border-radius:10px;padding:14px;box-shadow:var(--sh-s)}
.woocommerce-cart .woocommerce .cart-collaterals{grid-column:2;background:#fff;border-radius:10px;padding:16px;box-shadow:var(--sh-s)}
.woocommerce-cart .cart-collaterals h2{font-size:15px}
table.shop_table img{width:64px;height:64px;object-fit:contain;border-radius:6px}
table.shop_table .product-remove a{display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--brand);align-items:center;justify-content:center;font-weight:700}
table.shop_table .quantity input{width:70px;text-align:center}
table.shop_table td.actions{padding-top:1em}
table.shop_table td.actions .coupon{display:inline-flex;gap:8px;align-items:center}
table.shop_table td.actions .coupon input[type=text]{width:180px}
table.shop_table td.actions>.button{float:right}
.cart_totals table th{background:transparent;width:40%}.cart_totals .order-total{font-size:1.05rem}
.wc-proceed-to-checkout .button{width:100%;display:flex;font-size:15px;padding:.9em}
.cart-empty{font-size:15px}.return-to-shop{margin-top:1em}
@media (max-width:900px){.woocommerce-cart .woocommerce{grid-template-columns:1fr}.woocommerce-cart .woocommerce .cart-collaterals{grid-column:1}
 table.shop_table_responsive thead,table.shop_table_responsive tbody th{display:none}table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--line);padding:.5em 0}
 table.shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;border:0;padding:.35em 0;text-align:right}
 table.shop_table_responsive td::before{content:attr(data-title);font-weight:600;text-align:left}
 table.shop_table_responsive td.product-thumbnail,table.shop_table_responsive td.product-remove{justify-content:flex-start}table.shop_table_responsive td.actions{display:block}
 table.shop_table td.actions .coupon{width:100%;margin-bottom:10px}table.shop_table td.actions .coupon input[type=text]{flex:1}table.shop_table td.actions>.button{float:none;width:100%}}

/* ---------- Checkout ---------- */
form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;align-items:start}
form.checkout.woocommerce-checkout>*{grid-column:1/-1}
form.checkout.woocommerce-checkout #customer_details{grid-column:1;background:#fff;border-radius:10px;padding:16px;box-shadow:var(--sh-s)}
form.checkout.woocommerce-checkout .nk-co-side{grid-column:2;background:#fff;border-radius:10px;padding:16px;box-shadow:var(--sh-s);position:sticky;top:12px}
form.checkout.woocommerce-checkout #order_review_heading{margin:0 0 10px;font-size:15px}
#customer_details h3{font-size:15px}
.form-row{margin:0 0 1em}.form-row label{display:block;font-weight:500;margin-bottom:.3em;font-size:13px}.form-row .required{color:var(--brand);text-decoration:none}
.form-row-first,.form-row-last{width:calc(50% - 8px);display:inline-block;vertical-align:top}.form-row-first{margin-right:12px}
.woocommerce-checkout #order_review table th{background:transparent}
.wc_payment_methods{list-style:none;padding:0;margin:0 0 1em}.wc_payment_method{padding:.7em 0;border-bottom:1px solid var(--line)}.wc_payment_method label{font-weight:600;margin-left:6px}
.payment_box{background:var(--soft);border-radius:8px;padding:.8em 1em;margin-top:.6em;font-size:13px;color:#374151}
#place_order{width:100%;font-size:15px;padding:.9em}
.woocommerce-terms-and-conditions-wrapper{font-size:12px}
.select2-container .select2-selection--single{height:auto;padding:.5em .8em;border:1px solid #d1d5db;border-radius:8px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:1.5;padding-left:0}.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%}
@media (max-width:900px){form.checkout.woocommerce-checkout{grid-template-columns:1fr}form.checkout.woocommerce-checkout #customer_details,form.checkout.woocommerce-checkout .nk-co-side{grid-column:1;position:static}.form-row-first,.form-row-last{width:100%;display:block;margin-right:0}}
.woocommerce-order ul.order_details{list-style:none;display:flex;flex-wrap:wrap;gap:12px 32px;margin:1.5em 0;background:#fff;border-radius:10px;padding:16px 20px}.woocommerce-order ul.order_details li{font-size:12px;color:var(--muted);text-transform:uppercase}.woocommerce-order ul.order_details li strong{display:block;font-size:14px;color:var(--text);text-transform:none}
.woocommerce-customer-details address{background:#fff;border-radius:10px;padding:16px;font-style:normal}

/* ---------- My account ---------- */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;align-items:start}
.woocommerce-account .woocommerce>*{grid-column:1/-1}
.woocommerce-MyAccount-navigation{grid-column:1!important}.woocommerce-MyAccount-content{grid-column:2!important;background:#fff;border-radius:10px;padding:16px;box-shadow:var(--sh-s)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--sh-s)}
.woocommerce-MyAccount-navigation li a{display:block;padding:.7em 1em;border-left:3px solid transparent}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{background:var(--brand-l);border-color:var(--brand);color:var(--brand)}
.woocommerce-account:not(.logged-in) .woocommerce{grid-template-columns:1fr}
.woocommerce-form-login,.woocommerce-form-register{max-width:460px;padding:20px;background:#fff;border-radius:10px;box-shadow:var(--sh-s)}
.u-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.u-columns>div{grid-column:auto!important}
@media (max-width:820px){.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{grid-column:1!important}.u-columns{grid-template-columns:1fr}}

/* ---------- Blog ---------- */
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:start}
.post-list{display:flex;flex-direction:column;gap:10px}
.post-item{display:grid;grid-template-columns:260px 1fr;gap:14px;background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:12px}
.post-item img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.post-item h2{font-size:16px;margin:0 0 6px}.post-item h2 a:hover{color:var(--brand)}
.post-item .excerpt{color:#444;font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 6px}
.entry-meta{font-size:12px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.entry-meta .cat{background:var(--brand-l);color:var(--brand);padding:1px 8px;border-radius:4px;font-weight:600}
.blog-side .box{margin-bottom:10px}.blog-side h3{font-size:14px;text-transform:uppercase;margin-bottom:10px}
.blog-side ul{list-style:none;margin:0;padding:0}.blog-side li{padding:6px 0;border-bottom:1px solid var(--line);font-size:13px}.blog-side li:last-child{border:0}
.article{background:#fff;border-radius:10px;box-shadow:var(--sh-s);padding:20px 24px}
.article h1{font-size:26px;line-height:1.3}
.article .entry-content{max-width:none;font-size:15px;line-height:1.75}
.article .entry-thumb img{border-radius:8px;margin-bottom:16px}
.post-navigation .nav-links{display:flex;justify-content:space-between;gap:16px;margin-top:2em;padding-top:1em;border-top:1px solid var(--line)}
.comments-area{max-width:820px;margin-top:20px;background:#fff;border-radius:10px;padding:20px;box-shadow:var(--sh-s)}
.comment-list{list-style:none;padding:0}.comment-list .comment{padding:1em 0;border-top:1px solid var(--line)}
.comment-list .children{list-style:none;padding-left:2em}
.comment-meta{font-size:.9rem;color:var(--muted)}
.comment-form p{margin-bottom:1em}
@media (max-width:1000px){.blog-layout{grid-template-columns:1fr}.blog-side{display:none}.post-item{grid-template-columns:1fr}}
.error-404{background:#fff;border-radius:10px;padding:40px 20px;text-align:center}
.search-form{display:flex;gap:8px;max-width:600px;margin:0 auto}.search-form input{flex:1}
.woocommerce-store-notice{position:fixed;left:0;right:0;bottom:0;background:var(--brand);color:#fff;text-align:center;padding:.8em 1em;z-index:60;margin:0}.woocommerce-store-notice a{color:#fff;text-decoration:underline;margin-left:8px}
.blockUI.blockOverlay{border-radius:10px}
@media print{.site-header,.site-footer{display:none}}

/* ---------- NK Builder blocks ---------- */
.nk-block>.section:last-child,.nk-block>.home-top{margin-bottom:12px}
.side-cats li a svg{width:20px;height:20px;color:var(--brand)}
.topbar .usp svg{width:14px;height:14px}
.catmenu .cat-list li a svg{width:22px;height:22px}
.banner-double{display:grid;grid-template-columns:1fr 1fr;gap:12px}.banner-double img{width:100%;border-radius:10px}
.rt-title{font-size:18px;text-transform:uppercase;margin-bottom:10px}
.faq details{border-bottom:1px solid var(--line);padding:12px 0}.faq details:last-of-type{border:0}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:"+";color:var(--brand);font-weight:700;font-size:18px;line-height:1}
.faq details[open] summary::after{content:"−"}.faq details>div{padding-top:8px;color:#444}
@media (max-width:1000px){.desktop-only{display:none!important}.home-top{grid-template-columns:minmax(0,1fr)!important}.banner-double{grid-template-columns:1fr}}
.nk-hidden-field{display:none!important}
.woocommerce-checkout .woocommerce-billing-fields h3,#customer_details h3{font-size:15px;margin-bottom:12px}
#order_review .shop_table td,#order_review .shop_table th{padding:.55em .4em}
#order_review .product-name{font-weight:500}
#shipping_method{list-style:none;padding:0;margin:0}#shipping_method li{margin:2px 0}

/* Biến thể dạng nút: select của Woo vẫn còn trong form (ẩn), nút điều khiển nó */
.sp-actions form.variations_form .variations,.sp-actions .woocommerce-variation-price,.sp-actions .reset_variations{display:none!important}
.sp-actions .single_variation_wrap{display:contents}
.sp-actions .woocommerce-variation{grid-column:1/-1}
.sp-actions .woocommerce-variation:empty{display:none}
.sp-actions .woocommerce-variation-add-to-cart{grid-column:auto}
.sp-actions .woocommerce-variation-availability .stock{margin:0}
.sp-opts .opt.is-out{color:#9ca3af;background:#f9fafb;border-style:dashed}
.sp-opts .opt.is-out small::after{content:" · hết hàng"}
.sp-opts .opt.is-out.is-active{color:var(--brand);background:var(--brand-l)}
.sp-actions button.buy-now{width:100%;border:0;cursor:pointer}
.sp-actions form.cart .quantity{display:none!important} /* Woo JS gắn style="display:block" */
.sp-actions .row:not(:has(>.btn)){grid-template-columns:1fr}

/* Mua ngay | Thêm vào giỏ (cam) – 50/50 */
.sp-actions .row{align-items:stretch}
.sp-actions .woocommerce-variation{order:-1}
.sp-actions .woocommerce-variation-add-to-cart{display:flex}
.sp-actions form.cart .single_add_to_cart_button{flex:1;height:100%;min-height:52px;background:#f97316;border-color:#f97316;color:#fff;font-size:15px;font-weight:700;text-transform:uppercase}
.sp-actions form.cart .single_add_to_cart_button:hover{background:#ea580c;border-color:#ea580c}
.sp-actions form.cart .single_add_to_cart_button.disabled{opacity:.5}

/* ---------- Đánh giá sản phẩm (template-parts/reviews.php) ---------- */
.rv-title{font-size:17px;margin:0 0 14px}
.rv-stars{position:relative;display:inline-flex;vertical-align:middle;line-height:0}
.rv-stars svg{width:15px;height:15px;flex:none}
.rv-stars.lg svg{width:22px;height:22px}
.rv-stars .bg{display:flex;gap:2px;color:#e5e7eb}
.rv-stars .fg{position:absolute;inset:0 auto 0 0;display:flex;gap:2px;color:#f59e0b;overflow:hidden;white-space:nowrap}
.rv-summary{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:var(--r);margin-bottom:16px}
.rv-score{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border-right:1px solid var(--line);padding-right:24px}
.rv-score b{font-size:40px;line-height:1;font-weight:800;color:var(--text)}
.rv-score b small{font-size:18px;color:var(--muted);font-weight:600}
.rv-score .muted{font-size:13px;color:var(--muted)}
.rv-write{margin-top:6px;width:100%;border-radius:999px}
.rv-bars{display:flex;flex-direction:column;gap:8px}
.rv-bar{display:grid;grid-template-columns:42px 1fr 92px;gap:10px;align-items:center;font-size:13px}
.rv-bar .n{display:inline-flex;align-items:center;gap:3px;font-weight:600}
.rv-bar .n svg{width:13px;height:13px;color:#f59e0b}
.rv-bar .track{height:8px;border-radius:99px;background:#f1f2f4;overflow:hidden}
.rv-bar .track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#f97316)}
.rv-bar .c{color:var(--muted);text-align:right}
.rv-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;font-size:13px}
.rv-filter span{color:var(--muted);margin-right:2px}
.rv-filter button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 14px;font-size:13px;cursor:pointer;color:var(--text)}
.rv-filter button:hover{border-color:var(--brand);color:var(--brand)}
.rv-filter button.is-active{border-color:var(--brand);background:var(--brand-l);color:var(--brand);font-weight:600}
.rv-list{list-style:none;margin:0;padding:0}
.rv-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.rv-item.is-more{display:none}
.rv-list.show-all .rv-item.is-more{display:flex}
.rv-item[hidden]{display:none!important}
.rv-ava{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:16px}
.rv-body{flex:1;min-width:0}
.rv-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.rv-head b{font-size:14px}
.rv-date{color:var(--muted);font-size:12px;margin-left:auto}
.rv-badge{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px}
.rv-badge svg{width:12px;height:12px}
.rv-badge.ok{background:var(--green-l);color:var(--green)}
.rv-badge.wait{background:#fef3c7;color:#92400e}
.rv-badge.shop{background:var(--brand-l);color:var(--brand)}
.rv-rate{display:flex;align-items:center;gap:8px;margin:4px 0 2px;font-size:12px;color:var(--muted)}
.rv-text{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.rv-text p{margin:4px 0}
.rv-reply{margin-top:10px;padding:10px 14px;background:var(--soft);border-radius:var(--r-s);border-left:3px solid var(--brand)}
.rv-more{text-align:center;padding:14px 0 4px}
.rv-form{margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:var(--r);background:#fcfcfd;scroll-margin-top:90px}
.rv-form-title{font-size:16px;margin:0 0 12px}
.rv-form-title small{font-size:13px;margin-left:8px}
.rv-label{display:block;font-weight:600;margin-bottom:8px}
.rv-pick-wrap{margin-bottom:14px}
.rv-pick{display:inline-flex;flex-direction:row-reverse;gap:6px}
.rv-pick input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rv-pick label{display:flex;flex-direction:column;align-items:center;gap:4px;width:72px;cursor:pointer;color:#d1d5db;transition:transform .12s}
.rv-pick label svg{width:34px;height:34px;transition:color .12s}
.rv-pick label span{font-size:11px;color:var(--muted);white-space:nowrap}
.rv-pick label:hover{transform:scale(1.08)}
.rv-pick label:hover,.rv-pick label:hover~label,.rv-pick input:checked~label{color:#f59e0b}
.rv-pick input:checked+label span{color:var(--text);font-weight:700}
.rv-pick input:focus-visible+label{outline:2px solid var(--blue-b);outline-offset:2px;border-radius:6px}
.rv-form textarea,.rv-form input[type=text],.rv-form input[type=email]{width:100%;border:1px solid #d1d5db;border-radius:var(--r-s);padding:10px 12px;font:inherit;background:#fff}
.rv-form textarea:focus,.rv-form input:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-l)}
.rv-form .comment-form p{margin:0 0 12px}
.rv-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rv-form .form-submit{margin:0}
.rv-submit{width:100%;padding:.85em 1.2em!important;font-size:15px!important;border-radius:var(--r-s)}
.rv-note{margin:0;color:var(--muted)}
@media (max-width:640px){
	.rv-summary{grid-template-columns:1fr;gap:16px}
	.rv-score{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:14px}
	.rv-fields{grid-template-columns:1fr}
	.rv-pick label{width:56px}.rv-pick label svg{width:28px;height:28px}
	.rv-date{margin-left:0;width:100%}
}


/* ---------- Mega menu: nút "Danh mục" + danh mục trái trang chủ ---------- */
/* Cầu nối vô hình lấp khe 8px giữa nút và menu → di chuột xuống không bị mất menu */
@media (min-width:1001px){
	.catmenu-wrap::after{content:"";position:absolute;left:0;top:100%;width:240px;height:12px;display:none}
	.catmenu-wrap:hover::after,.catmenu-wrap.is-open::after{display:block}
}
.side-cats-wrap{position:relative;z-index:60}
.side-mega{display:none;position:absolute;left:100%;top:0;bottom:0;padding-left:10px;width:calc(min(var(--w),100vw - 32px) - 200px)}
.side-cats-wrap.is-hover .side-mega{display:block}
.side-mega-in{background:#fff;border-radius:var(--r);box-shadow:var(--sh);height:100%;overflow:auto}
.side-mega .cat-panel{padding:18px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px 24px;align-content:start}
.side-mega .cat-panel.hide{display:none}
.side-mega .cat-panel h4{font-size:13px;margin:0 0 8px;color:var(--brand)}
.side-mega .cat-panel ul{list-style:none;margin:0;padding:0}
.side-mega .cat-panel li{padding:3px 0;font-size:13px;color:#444}
.side-mega .cat-panel li a:hover{color:var(--brand)}
.side-cats li.is-active>a{background:var(--brand-l);color:var(--brand)}

/* ---------- Nút gọi nổi (template-parts/call-button.php) ---------- */
@keyframes suntory-alo-circle-anim{0%{transform:rotate(0) scale(.5) skew(1deg);opacity:.1}30%{transform:rotate(0) scale(.7) skew(1deg);opacity:.5}100%{transform:rotate(0) scale(1) skew(1deg);opacity:.1}}
@keyframes suntory-alo-circle-fill-anim{0%{transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}
@keyframes suntory-alo-circle-img-anim{0%{transform:rotate(0) scale(1) skew(1deg)}10%{transform:rotate(-25deg) scale(1) skew(1deg)}20%{transform:rotate(25deg) scale(1) skew(1deg)}30%{transform:rotate(-25deg) scale(1) skew(1deg)}40%{transform:rotate(25deg) scale(1) skew(1deg)}50%{transform:rotate(0) scale(1) skew(1deg)}100%{transform:rotate(0) scale(1) skew(1deg)}}
@keyframes nk-call-cyc{0%{opacity:0;transform:scale(.6)}6%,28%{opacity:1;transform:scale(1)}34%,100%{opacity:0;transform:scale(.6)}}
.nk-call{position:fixed;bottom:var(--call-b);left:18px;z-index:90;color:#fff;text-decoration:none;-webkit-tap-highlight-color:transparent}
.nk-call.is-right{left:auto;right:18px}
.nk-call-btn,a.nk-call{position:fixed;display:block;width:60px;height:60px;padding:0;border:0;background:none;cursor:pointer;border-radius:50%}
.nk-call-btn{position:relative}
.nk-call-ring,.nk-call-fill{position:absolute;border-radius:50%;pointer-events:none}
.nk-call-ring{inset:-22px;border:2px solid var(--call);animation:suntory-alo-circle-anim 1.2s ease-in-out infinite}
.nk-call-fill{inset:-10px;background:var(--call);animation:suntory-alo-circle-fill-anim 2.3s ease-in-out infinite}
.nk-call-core{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:var(--call);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.25);animation:1s ease-in-out 0s normal none infinite running suntory-alo-circle-img-anim}
.nk-call-core svg{width:30px;height:30px}
.nk-call-core>span{grid-area:1/1;display:grid;place-items:center}
.nk-call--multi .cyc{opacity:0;animation:nk-call-cyc 4.5s infinite}
.nk-call--multi .cyc:nth-child(2){animation-delay:1.5s}
.nk-call--multi .cyc:nth-child(3){animation-delay:3s}
.nk-call--multi .cyc svg{width:28px;height:28px}
.nk-call--multi .x{opacity:0;transform:rotate(-90deg);transition:.25s}
.nk-call--multi .x svg{width:26px;height:26px}
.nk-call--multi.is-open .cyc{display:none}
.nk-call--multi.is-open .x{opacity:1;transform:none}
.nk-call--multi.is-open .nk-call-core{animation:none}
.nk-call--multi.is-open .nk-call-ring,.nk-call--multi.is-open .nk-call-fill{display:none}
.nk-call-list{position:absolute;bottom:calc(100% + 18px);left:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s}
.nk-call.is-right .nk-call-list{left:auto;right:0;align-items:flex-end}
.nk-call--multi.is-open .nk-call-list{opacity:1;visibility:visible;transform:none}
.nk-call-item{display:flex;align-items:center;gap:12px;padding:5px 20px 5px 5px;background:#fff;color:#222;border-radius:999px;box-shadow:0 4px 18px rgba(0,0,0,.16);white-space:nowrap;text-decoration:none;font-size:15px}
.nk-call.is-right .nk-call-item{flex-direction:row-reverse;padding:5px 5px 5px 20px}
.nk-call-item:hover{color:var(--c)}
.nk-call-item b{font-weight:700}
.nk-call-ic{width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--c);color:#fff;animation:1s ease-in-out 0s normal none infinite running suntory-alo-circle-img-anim}
.nk-call-ic svg{width:24px;height:24px}
.nk-call-num{position:absolute;top:50%;left:30px;z-index:-1;transform:translateY(-50%);height:42px;display:flex;align-items:center;padding:0 20px 0 42px;border-radius:999px;background:var(--call);color:#fff;font-weight:700;font-size:16px;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.nk-call.is-right .nk-call-num{left:auto;right:30px;padding:0 42px 0 20px}
@media (max-width:768px){
	.nk-call{left:14px}.nk-call.is-right{right:14px}
	.nk-call.only-desktop{display:none}
	.nk-call-item{font-size:14px}
}
/* Mẫu cột icon */
.nk-call--icons{display:flex;flex-direction:column;gap:12px}
.nk-call-icon{position:relative;display:block;text-decoration:none}
.nk-call-icon .nk-call-ic{width:50px;height:50px;box-shadow:0 4px 12px rgba(0,0,0,.22);animation:none;transition:transform .15s}
.nk-call-icon .nk-call-ic svg{width:26px;height:26px;fill:currentColor}
.nk-call--icons.is-shake .nk-call-ic{animation:1s ease-in-out 0s normal none infinite running suntory-alo-circle-img-anim}
.nk-call--icons.is-shake .nk-call-icon:nth-child(2n) .nk-call-ic{animation-delay:.5s}
.nk-call-icon:hover .nk-call-ic{animation-play-state:paused;transform:scale(1.1)}
.nk-call-icon .tip{position:absolute;top:50%;left:calc(100% + 10px);transform:translateY(-50%);background:#18181b;color:#fff;font-size:13px;font-weight:600;padding:5px 10px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}
.nk-call.is-right .nk-call-icon .tip{left:auto;right:calc(100% + 10px)}
.nk-call-icon:hover .tip{opacity:1}
@media (max-width:768px){.nk-call-icon .nk-call-ic{width:46px;height:46px}.nk-call-icon .tip{display:none}}
@media (min-width:769px){.nk-call.only-mobile{display:none}}
@media (prefers-reduced-motion:reduce){.nk-call-ring,.nk-call-fill,.nk-call-core,.nk-call-ic,.nk-call--multi .cyc{animation:none}.nk-call--multi .cyc:first-child{opacity:1}}

/* =====================================================================
   ĐIỆN MÁY X – lớp giao diện riêng (màu xanh, thẻ sản phẩm điện máy…)
   Màu thương hiệu: --brand (xanh). Màu giá / giảm giá: --price (đỏ).
   ===================================================================== */
:root{--brand:#2a83e9;--brand-d:#1b6fd1;--brand-l:#e8f2fe;--yellow:#ffd400;--price:#e30019;--orange:#f26b0a;--bg:#f2f4f7;--line:#e4e7ec;--text:#1d2939;--muted:#667085;--r:12px}
body{background:var(--bg);color:var(--text)}
.site-main{background:var(--bg);padding-top:12px}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px rgba(42,131,233,.15)}

/* ---- Màu giá ---- */
.pc .p-price .now,.sp-price .now,.sp-price .price ins .amount,.sp-price .price>.amount,.sp-actions .woocommerce-variation-price .price{color:var(--price)}
.sp-price .off{background:#fee4e2;color:var(--price)}
.pc .p-label.pre{background:#fee4e2;color:var(--price)}

/* ---- Dải khuyến mãi trên cùng ---- */
.top-promo{display:block;line-height:0;overflow:hidden}
.top-promo img{width:100%;height:44px;object-fit:cover;object-position:center;max-width:1920px;margin:0 auto}

/* ---- Header ---- */
.site-header{background:linear-gradient(90deg,#2a83e9 0%,#3b8ff0 60%,#56a1f6 100%)}
.mainbar{height:64px;gap:12px}
.brand{font-size:22px;font-style:italic;gap:8px;margin-right:4px}
.brand img{max-height:40px}
.brand .logo-mark{width:34px;height:34px;border:0;border-radius:50%;background:var(--yellow);color:#0b2a5b;margin:0}
.brand .logo-mark svg{width:20px;height:20px;fill:#0b2a5b;stroke:none}
.cat-btn{background:transparent;padding:0 10px}
.cat-btn:hover{background:rgba(255,255,255,.16)}
.hsearch{max-width:none;flex:1;min-width:200px}
.hsearch form{border-radius:999px;height:40px;padding:0 14px}
.hsearch svg{color:#98a2b3}
.hlink{display:inline-flex;align-items:center;gap:6px;color:#fff;font-size:14px;padding:6px 8px;border-radius:8px;white-space:nowrap}
.hlink:hover{background:rgba(255,255,255,.16)}
.hlink svg{width:22px;height:22px}
.site-header .cart-link{background:transparent;padding:0 8px}
.site-header .cart-link:hover{background:rgba(255,255,255,.16)}
.cart-count{background:var(--yellow);top:0;right:0}
.loc-btn{display:inline-flex;align-items:center;gap:8px;min-width:190px;height:40px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.2);color:#fff;font-size:14px;white-space:nowrap}
.loc-btn:hover{background:rgba(255,255,255,.28)}
.loc-btn svg{width:18px;height:18px;flex:none}.loc-btn .chev{margin-left:auto;width:14px;height:14px;opacity:.8}
.hright-m{display:none}
.hkeys{background:#fff;border-bottom:1px solid var(--line)}
.hkeys .wrap{display:flex;justify-content:center;gap:22px;height:36px;align-items:center;overflow-x:auto;scrollbar-width:none}
.hkeys .wrap::-webkit-scrollbar{display:none}
.hkeys a{font-size:13px;color:#344054;white-space:nowrap}
.hkeys a:hover{color:var(--brand)}
@media (max-width:1000px){
	.mainbar{height:56px}
	.hlink .lbl,.site-header .cart-link .lbl{display:none}
	.login-btn{display:inline-flex}
	.loc-btn{display:none}
	.hright-m{display:flex;gap:2px}
	.mainbar{flex-wrap:nowrap;gap:4px}
	.brand{min-width:0;flex:0 1 auto;margin-right:auto}
	.brand img{max-height:30px;width:auto}
	.site-header .hbtn,.hlink{padding:0 7px;height:38px}
	.hkeys .wrap{justify-content:flex-start;gap:16px}
	.top-promo img{height:34px}
	.brand{font-size:19px}
}

/* ---- Trang chủ: banner, dải ưu đãi, lưới danh mục ---- */
.home-top{grid-template-columns:minmax(0,1fr)!important;margin-bottom:10px}
.hero{border-radius:14px;box-shadow:none}
.hero-tabs{display:none}
.slider .slide img{aspect-ratio:1200/330}
.small-banners img{border-radius:12px}
.info-strip{display:flex;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:10px 16px;margin:0 0 12px;font-size:13px;color:#344054;flex-wrap:wrap}
.info-strip a{display:inline-flex;align-items:center;gap:8px}
.info-strip img{width:24px;height:24px;object-fit:contain;flex:none}
.info-strip b{color:var(--brand)}
.info-strip .sep{color:#98a2b3}
.cat-grid-box{background:#fff;border:2px solid #22c3d6;border-radius:18px;padding:10px 8px;margin-bottom:22px}
.cat-grid{display:grid;grid-template-columns:repeat(var(--cols,8),minmax(0,1fr));gap:4px}
.cat-grid a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:12px;text-align:center;font-size:13px;color:#344054;line-height:1.3}
.cat-grid a:hover{background:var(--brand-l);color:var(--brand)}
.cat-grid .ic{position:relative;width:64px;height:56px;display:flex;align-items:center;justify-content:center}
.cat-grid img{width:56px;height:56px;object-fit:contain}
.cat-grid em{position:absolute;top:-8px;right:-16px;background:#fee4e2;color:var(--price);font-style:normal;font-size:10px;font-weight:700;padding:1px 6px;border-radius:6px;white-space:nowrap}
@media (max-width:1000px){.cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cat-grid-box{border-radius:14px}}

/* ---- Tiêu đề khối có icon tròn vàng ---- */
.sec-head h2{text-transform:none;font-size:20px}
.flash-title,.dmx-head{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.flash-title h2,.dmx-head h2{font-size:20px;margin:0;text-transform:none}
.flash-title .ic,.dmx-head .ic{width:30px;height:30px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;color:#0b2a5b;flex:none}
.flash-title .ic svg,.dmx-head .ic svg{width:18px;height:18px;fill:#0b2a5b;stroke:none}

/* ---- Khuyến mãi online (flash sale) ---- */
.flash{padding-top:0;margin-bottom:24px}
.flash-tabs{position:static;display:flex;gap:0;padding:0;background:#fff;border-radius:14px 14px 0 0;overflow:hidden}
.flash-tabs button{flex:1;height:50px;margin:0;border-radius:0;background:#fff;color:#344054;font-style:normal;text-transform:none;font-size:15px;font-weight:600;box-shadow:none;border-bottom:3px solid transparent;letter-spacing:0}
.flash-tabs button.is-active{height:50px;margin:0;background:#fff;color:var(--brand);border-bottom-color:var(--brand)}
.flash-body{background:linear-gradient(180deg,#a9cdf9 0%,#d6e8fd 100%);border:0;border-radius:0 0 18px 18px;padding:14px;color:var(--text)}
.flash-body::before{display:none}
.flash-row{justify-content:flex-start;margin-bottom:12px}
.countdown{background:#fff;border-radius:999px;padding:5px 6px 5px 16px;color:#0b2a5b;text-transform:none;font-size:14px;gap:5px}
.countdown b{background:var(--brand);color:#fff;border-radius:6px;min-width:32px;font-size:15px}
.flash-note{color:#344054}
.flash .pc{border:0}

/* ---- Thẻ sản phẩm ---- */
.pc{padding:12px;border-radius:12px;border:1px solid transparent;box-shadow:none;gap:0}
.pc:hover{box-shadow:0 8px 24px -10px rgba(16,24,40,.28);transform:none}
.pc .p-img{position:relative;aspect-ratio:1/1;margin-bottom:10px;border-radius:8px}
.pc:hover .p-img img{transform:scale(1.03)}
.pc .p-label{position:absolute;left:0;bottom:0;margin:0;font-size:10px}
.pc .p-top{font-size:11px;color:#475467;background:#f2f4f7;border-radius:4px;padding:2px 6px;margin-bottom:6px;align-self:flex-start;line-height:1.4}
.pc .p-name{font-size:13px;font-weight:500;line-height:1.4;min-height:2.8em;margin:0 0 6px;color:#1d2939}
.pc .p-name a:hover{color:var(--brand)}
.pc .p-chips{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}
.pc .p-chips span{font-size:11px;color:#344054;background:#f2f4f7;border:1px solid #e4e7ec;border-radius:4px;padding:1px 6px;line-height:1.5}
.pc .p-price{margin:2px 0 2px}
.pc .p-price .now{font-size:16px;font-weight:700}
.pc .p-old{display:flex;gap:6px;align-items:center;font-size:13px;margin-bottom:4px}
.pc .p-old s{color:#98a2b3}
.pc .p-old b{color:var(--price);font-weight:500}
.pc .p-gift{font-size:12px;color:#475467;margin-bottom:4px}
.pc .p-rate{margin-top:auto;padding-top:4px;display:flex;align-items:center;gap:4px;font-size:12px;color:#667085}
.pc .p-rate svg{width:13px;height:13px;color:#fdb022}
.pc .p-rate b{color:#344054;font-weight:600}
.pc .p-quota{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:4px;background:linear-gradient(90deg,#ffe066,#ffd400);color:#0b2a5b;font-size:12px;font-weight:600;border-radius:999px;height:24px}
.pc .p-quota svg{width:12px;height:12px;fill:#0b2a5b;stroke:none}
.pc .p-buy{display:block;text-align:center;color:var(--brand);font-weight:600;font-size:13px;margin-top:8px}
.product-grid.cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1000px){.product-grid.cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.product-grid.cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}.pc{padding:10px}}

/* ---- Khối ngành hàng / Gợi ý cho bạn ---- */
.cat-section{display:block}
.cat-section .cs-body{background:#fff;border-radius:18px;padding:14px}
.cs-tabs{box-shadow:none;border:1px solid var(--line)}
.cs-tabs:has(button:only-child){display:none}
.cs-tabs .is-active{background:var(--brand-l)}
.cs-more a{border-radius:10px}
.cat-section .product-grid .pc{border-color:#f2f4f7}

/* ---- Trang danh mục ---- */
.cat-banner img{width:100%;border-radius:14px;aspect-ratio:1200/260;object-fit:cover;margin-bottom:12px}
.shop-box{background:#fff;border-radius:18px;padding:14px 14px 20px;margin-bottom:16px}
.shop-head{margin-bottom:10px}
.shop-head h1{font-size:18px;display:flex;align-items:baseline;gap:8px;margin:0}
.shop-head h1 small{font-size:13px;color:var(--muted);font-weight:400}
.dm-filter .row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.dm-filter .fbtn{border-radius:8px;height:34px;padding:0 12px;border-color:#d0d5dd}
.dm-filter .fbtn.is-active{border-color:var(--brand);color:var(--brand);background:var(--brand-l)}
.brand-chip{display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid #d0d5dd;border-radius:8px;font-weight:800;font-size:13px;color:#1e40af;background:#fff;letter-spacing:.02em;text-transform:uppercase}
.brand-chip:hover,.brand-chip.is-active{border-color:var(--brand);background:var(--brand-l)}
.dm-sort{display:flex;gap:16px;align-items:center;font-size:13px;margin:6px 0 14px;flex-wrap:wrap}
.dm-sort span{color:#667085}
.dm-sort a{color:#344054}
.dm-sort a.is-active{color:var(--brand);font-weight:600}
.shop-box ul.products{gap:0;border-top:1px solid #f2f4f7;border-left:1px solid #f2f4f7}
.shop-box ul.products .pc{border:0;border-right:1px solid #f2f4f7;border-bottom:1px solid #f2f4f7;border-radius:0}
.shop-box ul.products .pc:hover{z-index:1}
.woocommerce-pagination .page-numbers{border-radius:8px}
.term-description,.shop-desc{border-radius:18px;box-shadow:none}

/* ---- Trang sản phẩm (bám theo bố cục trang chi tiết điện máy: trái 720 · phải 440, thanh mua cố định ở đáy) ---- */
.single-product .site-main{padding-bottom:96px}
.sp-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;background:transparent;box-shadow:none;padding:4px 0 0;margin:0 0 16px}
.sp-head h1{flex:0 1 auto;font-size:20px;font-weight:700;margin:0;color:#1d2939}
.sp-hlink{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:var(--brand)}
.sp-hlink svg{width:15px;height:15px}
.sp-grid{display:grid;grid-template-columns:minmax(0,720px) minmax(0,440px);justify-content:space-between;gap:20px;align-items:start;margin-bottom:16px}
.sp-left>*{margin:0 0 20px}
.sp-gallery{background:#fff;border-radius:12px;box-shadow:none;padding:16px}
.sp-gallery .main{position:relative;aspect-ratio:688/470;border-radius:0;background:#fff}
.sp-gallery .main img{width:100%;height:100%;object-fit:contain}
.g-nav{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:56px;display:grid;place-items:center;background:#fff;border-radius:6px;box-shadow:0 1px 6px rgba(16,24,40,.15);color:#344054;padding:0}
.g-nav:hover{color:var(--brand)}
.g-nav svg{width:18px;height:18px}
.g-nav.prev{left:0}.g-nav.next{right:0}
.g-count{position:absolute;right:4px;bottom:4px;background:#f2f4f7;color:#475467;font-size:13px;padding:2px 10px;border-radius:999px}
.g-count b{font-weight:500}
.sp-gallery .thumbs{display:flex;justify-content:center;gap:8px;margin-top:12px;overflow-x:auto}
.sp-gallery .thumbs img{width:48px;height:48px;padding:2px;border:1px solid transparent;border-radius:4px;object-fit:contain;cursor:pointer;background:#fff}
.sp-gallery .thumbs img.is-active{border-color:var(--brand)}
.sp-commit{background:#fff;border-radius:12px;box-shadow:none;padding:16px}
.sp-commit h3{font-size:16px;font-weight:700;margin:0 0 10px}
.sp-commit ul{list-style:none;margin:0;padding:0}
.sp-commit li{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.5;padding:8px 0;color:#1d2939}
.sp-commit li svg{width:28px;height:28px;flex:none;color:#3b82f6;stroke-width:1.5}
.sp-commit a,.sp-promo a,.sp-ship a{color:var(--brand)}
.sp-specs{background:#fff;border-radius:12px;box-shadow:none;padding:20px 16px 12px}
.sp-specs-title{text-align:center;margin-bottom:16px}
.sp-specs-title span{display:inline-block;padding:10px 52px;border:1px solid #bcd8fb;background:#eaf3fe;color:var(--brand);border-radius:8px;font-size:16px;font-weight:600}
.spec-group{margin-bottom:10px}
.spec-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;background:#f2f4f7;border-radius:8px;padding:13px 12px;font-size:16px;font-weight:500;color:#1d2939}
.spec-group summary::-webkit-details-marker{display:none}
.spec-group summary .chev{width:18px;height:18px;transition:transform .2s}
.spec-group[open] summary .chev{transform:rotate(180deg)}
.spec-group table{margin:4px 0 0;font-size:14px}
.spec-group th,.spec-group td{padding:11px 10px;border-bottom:1px solid #e4e7ec;background:transparent;vertical-align:top}
.spec-group th{width:40%;font-weight:600;color:#1d2939}
.spec-group td{color:#344054}
.spec-group tr:last-child th,.spec-group tr:last-child td{border-bottom:0}
.sp-desc,.sp-reviews{background:#fff;border-radius:12px;box-shadow:none;padding:16px}
.sp-buy{position:sticky;top:12px;background:#fff;border-radius:12px;box-shadow:none;padding:16px}
.sp-ban{display:block;margin-bottom:16px}.sp-ban img{width:100%;border-radius:8px}
.sp-opts{margin-bottom:12px}
.sp-opts .opts{display:flex;flex-wrap:wrap;gap:10px}
.sp-opts .opt{height:36px;padding:0 18px;border:1px solid #d0d5dd;border-radius:6px;font-weight:400;font-size:13px;min-width:0;background:#fff;color:#1d2939;line-height:34px}
.sp-opts .opt small{display:none}
.sp-opts .opt:hover{border-color:var(--brand);color:var(--brand)}
.sp-opts .opt.is-active{border-color:var(--brand);color:var(--brand);background:#f0f7ff}
.sp-opts .opt.is-out{opacity:.45;border-style:dashed}
.sp-loc{font-size:14px;color:#344054;margin:16px 0 8px}
.sp-loc a{display:inline-flex;align-items:center;gap:4px;color:var(--brand)}
.sp-loc a svg{width:14px;height:14px}
.sp-price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.sp-price .now{font-size:24px;font-weight:700;color:var(--price)}
.sp-price .old{font-size:14px;color:#98a2b3;text-decoration:line-through}
.sp-price .off{font-size:13px;background:transparent;color:var(--price);padding:0}
.sp-promo{border:1px solid #d0d5dd;border-radius:12px;margin:0 0 16px;overflow:hidden}
.sp-promo-h{padding:12px 16px;border-bottom:1px solid #e4e7ec}
.sp-promo-h b{display:block;font-size:14px;color:#1d2939}
.sp-promo-h span{font-size:13px;color:#667085}
.sp-promo ol{list-style:none;counter-reset:pm;margin:0;padding:10px 16px 12px}
.sp-promo li{counter-increment:pm;position:relative;padding-left:24px;margin:6px 0;font-size:14px;line-height:1.5;color:#1d2939}
.sp-promo li::before{content:counter(pm);position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;background:#3b82f6;color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}
.sp-cartform{margin:0}
.sp-cartform form.cart{display:block!important;margin:0}
.sp-cartform .quantity,.sp-cartform .variations,.sp-cartform .reset_variations,.sp-cartform .woocommerce-variation-price{display:none!important}
.sp-cartform .single_add_to_cart_button{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0);white-space:nowrap;border:0!important}
.sp-cartform .woocommerce-variation-availability .stock{font-size:13px;margin:0 0 12px}
.sp-cartform .stock.out-of-stock{color:var(--price)}
.sp-ship{border:0;border-top:1px solid #e4e7ec;border-radius:0;padding:16px 0 0}
.sp-ship h4{font-size:16px;font-weight:700;margin:0 0 10px;color:#1d2939}
.sp-addr{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--brand);padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e4e7ec;width:100%}
.sp-addr svg{width:16px;height:16px}
.sp-ship ul{list-style:none;margin:0;padding:0}
.sp-ship li{display:flex;gap:8px;align-items:center;font-size:14px;line-height:1.5;padding:3px 0;color:#1d2939}
.sp-ship li svg{width:18px;height:18px;flex:none;color:#475467}
/* Thanh mua cố định ở đáy */
.sp-bar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;box-shadow:0 -4px 16px rgba(16,24,40,.1);padding:10px 0}
.sp-bar-in{display:flex;align-items:center;gap:10px}
.sp-bar-name{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.sp-bar-name img{width:48px;height:48px;object-fit:contain;flex:none}
.sp-bar-name b{font-size:20px;font-weight:700;color:#1d2939;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-bar-price{display:flex;flex-direction:column;align-items:flex-end;padding:0 16px;flex:none}
.sp-bar-price small{font-size:14px;color:#1d2939}
.sp-bar-price b{font-size:16px;font-weight:700;color:var(--price)}
.sp-bar-cart{width:100px;height:48px;border:1px solid var(--brand);border-radius:8px;background:#fff;color:var(--brand);font-size:12px;font-weight:500;flex:none}
.sp-bar-cart:hover{background:var(--brand-l)}
.sp-bar-buy{display:inline-flex;align-items:center;justify-content:center;min-width:144px;height:48px;padding:0 24px;border-radius:8px;background:var(--price);color:#fff;font-size:16px;font-weight:500;flex:none;border:0}
.sp-bar-buy:hover{filter:brightness(.93)}
.sp-bar-out{color:var(--price);font-weight:600}
.single-product .nk-call{bottom:calc(var(--call-b,24px) + 72px)}
.single-product .back-top{bottom:84px}
.related.products{margin-top:8px}.related.products>h2{text-transform:none;font-size:20px}
@media (max-width:1000px){
	.sp-grid{grid-template-columns:1fr}
	.sp-buy{position:static}
	.sp-head h1{font-size:18px}
	.sp-bar-name,.sp-bar-price small{display:none}
	.sp-bar-price{flex:1;align-items:flex-start;padding:0}
	.sp-bar-buy{min-width:0;flex:1}
	.sp-bar-cart{width:96px}
}

/* ---- Tin khuyến mãi ---- */
.promo-wrap{margin-bottom:24px}
.promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.promo-card{background:#fff;border-radius:14px;padding:12px}
.promo-card .thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.promo-card h2{font-size:15px;margin:10px 0 4px;line-height:1.45;font-weight:600}
.promo-card h2 a:hover{color:var(--brand)}
.promo-card .entry-meta{color:#98a2b3}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start;margin-bottom:24px}
.article{background:#fff;border-radius:14px;box-shadow:none;padding:20px 24px}
.article h1{font-size:24px;margin-bottom:6px}
.article .entry-meta{color:#98a2b3;margin-bottom:14px}
.article .entry-meta a{color:var(--brand)}
.article .lead{font-weight:600;font-size:15px;line-height:1.7}
.article .entry-content h2{font-size:18px;margin-top:1.4em}
.article .entry-content h3{font-size:16px;margin-top:1.2em}
.article .entry-content table th,.article .entry-content table td{border:1px solid var(--line)}
.article .entry-content a{color:var(--brand)}
.article-side{background:#fff;border-radius:14px;padding:14px 16px;position:sticky;top:12px}
.article-side h3{font-size:15px;margin-bottom:6px}
.article-side ul{list-style:none;margin:0;padding:0}
.article-side li a{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f2f4f7}
.article-side li:last-child a{border:0}
.article-side img{width:100px;height:56px;object-fit:cover;border-radius:6px;flex:none}
.article-side b{font-size:13px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-side li a:hover b{color:var(--brand)}
.article-side small{display:block;color:#98a2b3;font-size:12px;margin-top:2px}
@media (max-width:900px){.promo-grid{grid-template-columns:1fr}.article-layout{grid-template-columns:1fr}.article-side{position:static}.article{padding:16px}}

/* ---- Trang mặc định (page.php), tài khoản, giỏ, thanh toán: giữ form chung, đổi bo góc & nền ---- */
.box,.woocommerce-cart .woocommerce form.woocommerce-cart-form,.woocommerce-cart .woocommerce .cart-collaterals,form.checkout.woocommerce-checkout #customer_details,form.checkout.woocommerce-checkout .nk-co-side,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation ul,.woocommerce-form-login,.woocommerce-form-register{border-radius:14px;box-shadow:none}
.page-content,.entry-page{background:#fff;border-radius:14px;padding:20px 24px}

/* ---- Footer ---- */
.site-footer{border-top:0}
.footer-links,.copyright{background:#f9fafb}

/* Breadcrumb dấu › */
.breadcrumb,.woocommerce-breadcrumb{gap:6px;font-size:14px;color:#667085}
.woocommerce-breadcrumb a,.breadcrumb a{color:#667085}
.woocommerce-breadcrumb .bc-sep,.breadcrumb .bc-sep{width:14px;height:14px;color:#98a2b3}
.single-product .woocommerce-breadcrumb{margin-bottom:8px}

/* 404 */
.e404-ic{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 14px;border-radius:50%;background:var(--yellow)}
.e404-ic svg{width:52px;height:52px;fill:#0b2a5b;stroke:none}

/* Mobile: phiên bản, giá, khuyến mãi ngay dưới ảnh (như trang gốc) */
@media (max-width:1000px){.sp-grid{display:flex;flex-direction:column;gap:0}.sp-left{display:contents}.sp-gallery{order:1;margin-bottom:12px}.sp-buy{order:2;margin-bottom:12px}.sp-left>*:not(.sp-gallery){order:3;margin-bottom:12px}}

/* =========================================================
   Skin Di Động X: header vàng chữ đen, menu ngang có icon, trang tin
   ========================================================= */
.site-header{background:#ffd400;color:#111}
.site-header .mainbar{height:62px}
.cat-btn{display:none}
.hsearch form{background:#fff;border:0}
.hlink,.site-header .cart-link{color:#111}
.hlink:hover,.site-header .cart-link:hover{background:rgba(0,0,0,.07)}
.cart-count{background:#e30019;color:#fff}
.loc-btn{background:rgba(0,0,0,.07);color:#111;min-width:170px}
.loc-btn:hover{background:rgba(0,0,0,.12)}
.site-header .hbtn{color:#111}
.brand{color:#111;font-style:normal}
.brand .logo-mark{background:#111;color:#ffd400}.brand .logo-mark svg{fill:none;stroke:#ffd400}
/* menu ngang */
.hnav{background:#ffd400;border-top:1px solid rgba(0,0,0,.06)}
.hnav ul{list-style:none;margin:0;padding:0}
.hnav .wrap>ul{display:flex;justify-content:space-between;gap:4px;height:44px;align-items:stretch}
.hnav .wrap>ul>li{position:relative;display:flex}
.hnav .wrap>ul>li>a{display:flex;align-items:center;gap:6px;padding:0 8px;font-size:14px;color:#111;white-space:nowrap;border-radius:8px 8px 0 0}
.hnav .wrap>ul>li>a img,.hnav .wrap>ul>li>a svg:not(.dd){width:22px;height:22px;flex:none}
.hnav .dd{width:12px;height:12px;opacity:.7}
.hnav .wrap>ul>li:hover>a{background:rgba(0,0,0,.07)}
.hnav-sub{display:none;position:absolute;left:0;top:100%;z-index:90;background:#fff;border-radius:0 10px 10px 10px;box-shadow:var(--sh);padding:16px 20px;min-width:440px;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px 28px}
.hnav li:nth-last-child(-n+3) .hnav-sub{left:auto;right:0;border-radius:10px 0 10px 10px}
.hnav .has-sub:hover .hnav-sub,.hnav .has-sub:focus-within .hnav-sub{display:grid}
.hnav-sub h4{font-size:13px;color:#111;margin:0 0 6px}
.hnav-sub li a{display:block;padding:4px 0;font-size:13px;color:#444}
.hnav-sub li a:hover{color:var(--brand)}
@media (max-width:1000px){
	.hnav .wrap>ul{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;height:auto;padding:6px 0;gap:2px}
	.hnav .wrap>ul::-webkit-scrollbar{display:none}
	.hnav .wrap>ul>li>a{flex-direction:column;gap:3px;font-size:11.5px;padding:4px 8px;border-radius:8px}
	.hnav .dd,.hnav-sub,.hnav .has-sub:hover .hnav-sub{display:none}
	.site-header .mainbar{height:56px}
}
/* banner chính: 2 slide cạnh nhau như trang gốc */
.slider{--per:1}
.slider .slide{flex:0 0 calc(100% / var(--per))}
.home-top .slider{--per:2;border-radius:0}
.home-top .slider .slide{padding:0 5px}
.home-top .slider .track{margin:0 -5px}
.home-top .slider .slide img{aspect-ratio:800/300;border-radius:12px}
.home-top .hero{border-radius:0;background:transparent}
@media (max-width:760px){.home-top .slider{--per:1}}
/* trang sản phẩm: 2 nút trên khối thông số */
.sp-specs-title{display:flex;justify-content:center;gap:10px}
.sp-specs-title span,.sp-specs-title a{display:inline-block;padding:10px 26px;border:1px solid var(--line);background:#fff;color:#333;border-radius:8px;font-size:15px;font-weight:600}
.sp-specs-title .on{border-color:#bcd8fb;background:#eaf3fe;color:var(--brand)}
.sp-specs-title a:hover{border-color:var(--brand);color:var(--brand)}
@media (max-width:600px){.sp-specs-title span,.sp-specs-title a{padding:9px 14px;font-size:14px}}
/* trang tin */
.news-cats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.news-cats .lbl{font-weight:700;text-transform:uppercase;font-size:13px;margin-right:6px}
.news-cats a{padding:5px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;color:#333}
.news-cats a:hover,.news-cats a.on{border-color:var(--brand);color:var(--brand)}
.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin-bottom:28px;align-items:start}
.news-layout.is-products{grid-template-columns:minmax(0,1fr)}
.news-desc{margin-bottom:12px}
.news-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.nt-big img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.nt-big h2{font-size:20px;line-height:1.35;margin:10px 0 4px}
.nt-big:hover h2,.nt-side a:hover h3,.nl-item h2 a:hover,.ns-posts a:hover span{color:var(--brand)}
.nt-big .meta{font-size:12px;color:var(--muted)}
.nt-side{display:flex;flex-direction:column;gap:12px}
.nt-side a{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:start}
.nt-side img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.nt-side h3{font-size:14px;font-weight:600;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-list{display:flex;flex-direction:column}
.nl-item{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.nl-item .thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.nl-item h2{font-size:17px;line-height:1.4;margin:0 0 6px}
.nl-item p{font-size:14px;color:#555;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nl-item .entry-meta{font-size:12px;color:var(--muted)}
.nl-item .entry-meta a{color:var(--brand)}
.news-side{display:flex;flex-direction:column;gap:18px;position:sticky;top:12px}
.ns-box h3{font-size:15px;text-transform:uppercase;margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid #ffd400}
.ns-tags{display:flex;flex-wrap:wrap;gap:6px}
.ns-tags a{font-size:13px;padding:4px 10px;background:var(--soft);border-radius:999px;color:#333}
.ns-tags a:hover{background:#fff5bf}
.ns-posts{list-style:none;margin:0;padding:0}
.ns-posts li{padding:8px 0;border-bottom:1px dashed var(--line)}
.ns-posts a{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center}
.ns-posts img{width:72px;height:52px;object-fit:cover;border-radius:6px}
.ns-posts span{font-size:13px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:900px){
	.news-layout{grid-template-columns:minmax(0,1fr)}
	.news-side{position:static}
	.news-top{grid-template-columns:minmax(0,1fr)}
	.nl-item{grid-template-columns:130px minmax(0,1fr);gap:12px}
	.nl-item h2{font-size:15px}.nl-item p{display:none}
	.news-cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
	.news-cats a,.news-cats .lbl{white-space:nowrap}
}
/* bài viết: 1 cột giữa */
.article-center{max-width:800px;margin:0 auto 24px;box-shadow:none;border-radius:0;padding:8px 0 0;background:transparent}
.article-center h1{font-size:30px;line-height:1.3;margin-bottom:12px}
.article-center .entry-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:16px}
.article-center .entry-meta .av img{width:32px;height:32px;border-radius:50%}
.article-center .entry-meta b{color:#111}
.article-center .entry-meta a{color:var(--brand)}
.article-center .lead{font-size:16px;font-weight:600;line-height:1.6}
.article-center .entry-content{font-size:16px;line-height:1.8}
.article-center .entry-content h2{font-size:21px;margin-top:1.2em}
.entry-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
.entry-tags a{font-size:13px;padding:4px 10px;background:var(--soft);border-radius:999px}
.related-news{max-width:800px;margin:0 auto 28px;border-top:1px solid var(--line);padding-top:18px}
.related-news h2{font-size:18px}
.rn-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.article-center-comments{max-width:800px;margin:0 auto}
@media (max-width:700px){.article-center h1{font-size:23px}.rn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* trang chủ kiểu Di Động X */
.flash-title .ic,.dmx-head .ic{display:none}
.flash-title h2,.dmx-head h2{font-size:20px;font-weight:700}
.flash-tabs{border-bottom:1px solid var(--line)}
.flash-tabs button.is-active{color:#111;border-bottom-color:#ffd400}
.flash-body{background:#fff;border-radius:0 0 14px 14px}
.countdown{background:#fff5bf;color:#111}.countdown b{background:#111;color:#ffd400}
.pc .p-buy{color:var(--brand)}
.cat-section:has(.cs-banners){display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;align-items:start}
.cat-section .cs-banners img{width:100%;height:auto;border-radius:14px}
.cat-section.skin-red .cs-body{background:#b5121b;padding:0 14px 16px;border-radius:18px}
.cat-section.skin-red .dmx-head h2{color:#ffd400;padding-top:14px}
.cat-section.skin-red .cs-tabs{background:transparent;border:0;justify-content:center;margin-bottom:10px}
.cat-section.skin-red .cs-tabs button{background:#fff;color:#111;border-radius:6px;margin:0 3px}
.cat-section.skin-red .cs-tabs .is-active{background:#ffd400;color:#111}
.cat-section.skin-red .product-grid{gap:8px}
.cat-section.skin-red .cs-more a{background:#fff}
.cs-headimg{margin:0 -14px 10px;text-align:center}
.cs-headimg img{width:100%;max-width:1200px;margin:0 auto;border-radius:18px 18px 0 0}
body.blog,body.single-post,body.category,body.tag,body.search:not(.post-type-archive-product){background:#fff}
@media (max-width:1000px){.cat-section:has(.cs-banners){grid-template-columns:minmax(0,1fr)}.cat-section .cs-banners{display:none}}
.cat-grid-box{border:0;border-radius:14px}
@media (max-width:760px){.cat-section.skin-red .cs-tabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}.cat-section.skin-red .cs-tabs::-webkit-scrollbar{display:none}.cat-section.skin-red .cs-tabs button{flex:none;white-space:nowrap;padding:8px 14px;font-size:13px}.cat-section.skin-red .cs-body{padding:0 8px 12px}.cs-headimg{margin:0 -8px 10px}}

/* ---------- Giỏ hàng mini (rê chuột vào nút giỏ hàng) ---------- */
.cart-wrap{position:relative;display:flex;align-items:center;align-self:stretch}
.nk-mini{display:none;position:absolute;right:0;top:100%;z-index:120;width:360px;background:#fff;color:var(--text);border-radius:12px;box-shadow:0 12px 32px -8px rgba(0,0,0,.28);text-align:left;font-size:13px;cursor:default}
.nk-mini::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
@media (min-width:1001px){.cart-wrap:hover .nk-mini,.cart-wrap:focus-within .nk-mini{display:block}}
.nm-head{padding:12px 16px;font-weight:700;font-size:14px;border-bottom:1px solid var(--line)}
.nm-head span{color:var(--muted);font-weight:400}
.nm-list{list-style:none;margin:0;padding:4px 0;max-height:320px;overflow:auto}
.nm-list li{display:grid;grid-template-columns:56px minmax(0,1fr) 24px;gap:10px;align-items:center;padding:8px 16px;transition:opacity .2s}
.nm-list li+li{border-top:1px dashed var(--line)}
.nm-img img{width:56px;height:56px;object-fit:contain;border-radius:6px}
.nm-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:500;line-height:1.4;color:var(--text)}
.nm-name:hover{color:var(--brand)}
.nm-price{margin-top:2px;font-weight:700;color:var(--price,var(--brand))}
.nm-price span{color:var(--muted);font-weight:400}
.nm-del{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-size:18px;line-height:1}
.nm-del:hover{background:var(--soft);color:#d70018}
.nm-foot{padding:12px 16px 14px;border-top:1px solid var(--line)}
.nm-sub{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}
.nm-sub b{color:var(--price,var(--brand));font-size:16px}
.nm-go{width:100%;display:flex}
.nm-empty{padding:26px 16px;text-align:center;color:var(--muted)}
.nm-empty svg{width:42px;height:42px;margin:0 auto 6px;opacity:.4}
.nm-empty p{margin:0}

/* ---------- Trang thanh toán: bảng giỏ hàng ở trên, form ở dưới ---------- */
.nk-co-cart{background:#fff;border-radius:14px;padding:16px;margin-bottom:12px;transition:opacity .2s}
.nk-co-cart.is-busy{opacity:.55;pointer-events:none}
.nk-co-cart h3{font-size:16px;margin:0 0 10px}
.nk-co-cart h3 span{color:var(--muted);font-weight:400;font-size:14px}
.nk-cart-table{margin:0}
.nk-cart-table th{background:var(--soft);font-size:13px}
.nk-cart-table td{vertical-align:middle}
.nk-cart-table .product-thumbnail{width:80px}
.nk-cart-table .product-name a{font-weight:600;color:var(--text)}
.nk-cart-table .product-name a:hover{color:var(--brand)}
.nk-cart-table .product-name dl{margin:4px 0 0;font-size:12px;color:var(--muted)}
.nk-cart-table .product-name dl dt,.nk-cart-table .product-name dl dd{display:inline;margin:0}
.nk-cart-table .product-name dl p{display:inline;margin:0}
.nk-cart-table .product-subtotal{font-weight:700;color:var(--price,var(--brand))}
.nk-cart-table .product-remove{width:40px;text-align:center}
.nk-qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.nk-qty button{width:32px;height:34px;font-size:18px;line-height:1;color:var(--text)}
.nk-qty button:hover{background:var(--soft)}
table.shop_table .nk-qty input,.nk-qty input{width:44px!important;height:34px;padding:0!important;border:0!important;border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;border-radius:0!important;text-align:center;-moz-appearance:textfield;box-shadow:none!important}
.nk-qty input::-webkit-outer-spin-button,.nk-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.nk-co-cart-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.nk-co-cart-foot .more{color:var(--brand);font-weight:500}
.nk-co-cart-foot .nk-upd{background:#fff;color:var(--brand)!important;border:1px solid var(--brand)}
/* đã có bảng giỏ hàng ở trên: cột "Đơn hàng" chỉ còn tổng tiền + vận chuyển + thanh toán */
.woocommerce-checkout #order_review .shop_table thead,.woocommerce-checkout #order_review .shop_table tbody .cart_item{display:none}
.woocommerce-checkout #order_review .shop_table tfoot tr:first-child th,.woocommerce-checkout #order_review .shop_table tfoot tr:first-child td{border-top:0}
@media (max-width:900px){
	.nk-cart-table tr.cart_item{display:grid!important;grid-template-columns:72px minmax(0,1fr) 28px;gap:2px 10px;padding:10px 0;position:relative}
	.nk-cart-table td{padding:0!important;border:0}
	.nk-cart-table td::before{display:none}
	.nk-cart-table td.product-thumbnail{grid-row:1/span 3;width:auto}
	.nk-cart-table td.product-name,.nk-cart-table td.product-price,.nk-cart-table td.product-quantity,.nk-cart-table td.product-subtotal{grid-column:2;justify-content:flex-start!important;text-align:left!important}
	.nk-cart-table td.product-price{display:none!important}
	.nk-cart-table td.product-remove{grid-column:3;grid-row:1;position:static}
	.nk-cart-table td.product-quantity{grid-row:3}
	.nk-cart-table td.product-subtotal{grid-row:2}
	.nk-cart-table .product-thumbnail img{width:72px;height:72px}
}
.woocommerce-checkout .woocommerce-message:has(a.wc-forward){display:none}

/* Thanh toán: SĐT + email chung 1 dòng (mỗi ô 50%) */
.woocommerce-checkout #billing_phone_field,.woocommerce-checkout #billing_email_field{display:inline-block!important;width:calc(50% - 6px)!important;vertical-align:top;clear:none}
.woocommerce-checkout #billing_phone_field{margin-right:12px!important}

/* Thêm vào giỏ xong: giỏ hàng mini tự sổ ra (JS thêm .is-open .just-added vào .cart-wrap) */
.cart-wrap.is-open .nk-mini{display:block;animation:nkDrop .18s ease-out}
@keyframes nkDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.cart-wrap.just-added .nm-head::before{content:"✓ Đã thêm vào giỏ hàng";display:block;margin:-12px -16px 10px;padding:9px 16px;background:#ecfdf3;color:#067647;font-weight:600;font-size:13px;border-radius:12px 12px 0 0}
@media (max-width:1000px){.cart-wrap.is-open .nk-mini{position:fixed;left:8px;right:8px;top:64px;width:auto;max-height:calc(100vh - 80px);overflow:auto}}
.nk-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:200;box-shadow:0 10px 30px -8px rgba(0,0,0,.3);max-width:calc(100vw - 32px);margin:0!important}
.single_add_to_cart_button.loading{opacity:.6;pointer-events:none}

/* ---------- Nút liên hệ (tắt giỏ hàng / sản phẩm chưa có giá) ---------- */
.nk-contact{display:flex;gap:8px;margin:0 0 12px}
.nk-contact .nk-cbtn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 14px;border-radius:8px;background:var(--brand);color:#fff;font-weight:700;font-size:15px;text-decoration:none;text-align:center;line-height:1.25}
.nk-contact .nk-cbtn:hover{filter:brightness(.93);color:#fff}
.nk-contact .nk-cbtn svg{width:18px;height:18px;flex:none}
.nk-contact .nk-cbtn.zalo{background:#0068ff}
.nk-contact .zl{font-style:normal;font-size:10px;font-weight:800;background:#fff;color:#0068ff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;flex:none}
.nk-contact-card,.nk-contact-bar{margin:0}
.nk-contact-card{margin-top:8px}
.nk-contact-card .nk-cbtn{min-height:34px;font-size:13px;padding:0 8px;border-radius:6px}
.nk-contact-card .zl{width:20px;height:20px;font-size:8px}
.nk-contact-bar .nk-cbtn{min-height:44px}
.nk-contact-icon{margin:0;gap:6px}
.nk-contact-icon .nk-cbtn{min-height:36px;width:42px;flex:none;padding:0;border-radius:6px}
.nk-contact .nk-cbtn span{white-space:nowrap}
.nk-contact-page .nk-cbtn span{white-space:normal}

/* ---------- Header dính khi cuộn: thu gọn, giấu các hàng phụ (dùng chung mọi giao diện) ---------- */
body .site-header.site-header{position:sticky;top:var(--wp-admin--admin-bar--height,0);z-index:70;transition:box-shadow .2s}
@media (max-width:600px){body.admin-bar .site-header{top:0}} /* thanh admin trên mobile không dính */
.site-header.is-stuck{box-shadow:0 4px 16px -8px rgba(0,0,0,.28)}
.site-header.is-stuck .topbar,.site-header.is-stuck .hkeys,.site-header.is-stuck .hnav,.site-header.is-stuck .ns-navrow,.site-header.is-stuck .ns-cta,.site-header.is-stuck .ns-fav{display:none!important}

/* ---------- Icon giỏ hàng trước chữ ở nút Thêm vào giỏ rộng (trang sản phẩm, thanh mua dưới đáy) ---------- */
form.cart .single_add_to_cart_button,.sp-bar-cart{display:inline-flex!important;align-items:center;justify-content:center;gap:8px}
form.cart .single_add_to_cart_button::before,.sp-bar-cart::before{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1.3'/%3E%3Ccircle cx='20' cy='21' r='1.3'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1.3'/%3E%3Ccircle cx='20' cy='21' r='1.3'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat}
form.cart .single_add_to_cart_button.loading::before{opacity:.5}
.sp-bar-cart{min-width:158px;white-space:nowrap;padding:0 16px}
@media (max-width:640px){.sp-bar-cart{min-width:0;padding:0 10px}.sp-bar-cart::before{width:16px;height:16px}}
@media (max-width:640px){.sp-bar-cart{white-space:normal;line-height:1.2}.sp-bar-cart::before{display:none}}

/* ---------- Banner dọc nổi 2 bên: chỉ khi màn hình đủ rộng cho khung 1200px + 2 banner ---------- */
.nk-side-ban{display:none}
@media (min-width:1460px){
	.nk-side-ban{display:block;position:fixed;top:150px;z-index:40;width:110px;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px -8px rgba(0,0,0,.25)}
	.nk-side-ban.left{right:calc(50% + 600px + 14px)}
	.nk-side-ban.right{left:calc(50% + 600px + 14px)}
	.nk-side-ban img{width:100%;height:auto;display:block}
}
@media (min-width:1640px){.nk-side-ban{width:150px}}

/* =========================================================
   Box trang chủ kiểu TGDĐ (dienmay3)
   ========================================================= */
.tgf,.tgt,.tgk{background:#fff;border-radius:12px;margin-bottom:20px}
.tgf{padding:0 0 14px;overflow:hidden}
/* hàng tab */
.tgf-tabs{display:flex;align-items:stretch;border-bottom:1px solid #eee;overflow-x:auto;scrollbar-width:none}
.tgf-tabs::-webkit-scrollbar{display:none}
.tgf-tabs button{flex:1 0 auto;min-width:118px;height:58px;padding:0 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:15px;color:#333;border-bottom:3px solid transparent;background:#fff;white-space:nowrap}
.tgf-tabs button b{font-weight:400}
.tgf-tabs button.is-active{background:#fff7e6;border-bottom-color:#f79009}
.tgf-tabs .t-fs b{font:italic 900 17px/1 var(--font);color:#e30019;letter-spacing:.3px}
.tgf-tabs .t-fs small{background:#e30019;color:#fff;font-weight:800;font-size:12px;padding:2px 8px;border-radius:3px;line-height:1.3}
.tgf-tabs .t-online b{font:900 15px/1 var(--font);color:#fb5a1e}
.tgf-tabs .t-online small{background:#fb5a1e;color:#fff;font-weight:700;font-size:11px;padding:2px 6px;border-radius:3px;line-height:1.3}
/* đồng hồ cam */
.tgf-cd{width:max-content;margin:18px auto 16px;background:#f79009;border-radius:14px;padding:8px 22px 9px;text-align:center;color:#fff;box-shadow:0 4px 0 #fff3dd,0 6px 14px -6px rgba(247,144,9,.6)}
.tgf-cd span{display:block;font-size:16px;margin-bottom:3px}
.tgf-cd .cd{display:flex;gap:4px;align-items:center;justify-content:center;font-weight:700}
.tgf-cd .cd b{background:#fff;color:#111;border-radius:5px;min-width:26px;height:24px;display:grid;place-items:center;font-size:15px}
/* lưới 2 hàng cuộn ngang */
.tgf .hs-wrap{padding:0 14px}
.tgf-grid{display:grid!important;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:calc((100% - 50px) / 6);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.tgf-grid::-webkit-scrollbar{display:none}
.tgf-grid .pc{scroll-snap-align:start;border:1px solid #e9eaec;border-radius:8px;padding:10px}
@media (max-width:1000px){.tgf-grid{grid-auto-columns:calc((100% - 20px) / 3)}}
@media (max-width:640px){.tgf-grid{grid-auto-columns:calc((100% - 10px) / 2)}}
/* thanh suất đốm lửa + nút Mua ngay */
.pc .p-quota.tg{position:relative;display:block;height:20px;border-radius:999px;background:#ffeec2;margin:8px 0 0 8px;overflow:visible}
.pc .p-quota.tg i{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#ffcc4d,#ffb800)}
.pc .p-quota.tg img{position:absolute;left:-8px;top:-6px;width:22px;height:auto;z-index:2}
.pc .p-quota.tg span{position:relative;z-index:1;display:block;text-align:center;font-size:12px;line-height:20px;color:#333;font-weight:500}
.pc .p-buy{display:block;margin-top:10px;background:#eaf3ff;color:#2f80ed!important;border-radius:6px;padding:7px 0;font-size:15px;font-weight:600}
.pc .p-buy:hover{background:#d6e8ff}
/* Deal đẹp có hạn */
.tgd{margin-bottom:20px}
.tgd-head{line-height:0;text-align:center}
.tgd-head img{width:100%;height:auto;max-width:1200px;margin:0 auto}
.tgd-title{text-align:center;color:#fff;background:#c4161c;margin:0;padding:16px;border-radius:12px 12px 0 0;font-size:26px}
.tgd-body{background:#c30d0d;border-radius:0 0 14px 14px;padding:16px 14px 18px;margin-top:-2px}
.tgd-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.tgd-tabs button{background:#fff;color:#333;border-radius:8px;padding:9px 14px;font-size:14px;border:1px solid #eee}
.tgd-tabs button.is-active{background:#2f80ed;color:#fff;border-color:#2f80ed}
.tgd .product-grid{gap:8px}
.tgd .pc{background:#fff;border-radius:8px}
.tgd-more{display:table;margin:16px auto 0;background:#fff;color:#2f80ed;border-radius:8px;padding:8px 18px;font-size:14px}
.tgd-more svg{width:12px;height:12px;vertical-align:-1px}
@media (max-width:640px){.tgd-tabs{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.tgd-tabs button{flex:none;white-space:nowrap}}
/* Mua online – ô ảnh */
.tgt{padding:14px 14px 10px}
.tgt h2,.tgk h2{font-size:20px;font-weight:600;margin:0 0 12px}
.tgt-row{display:grid!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px) / 8);gap:10px;overflow-x:auto;scrollbar-width:none}
.tgt-row::-webkit-scrollbar{display:none}
.tgt-row a{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.tgt-row .im{display:block;width:100%;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#f3f4f6}
.tgt-row .im img{width:100%;height:100%;object-fit:cover}
.tgt-row b{font-size:13px;font-weight:400;line-height:1.35;color:#333;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tgt-row a:hover b{color:#2f80ed}
@media (max-width:1000px){.tgt-row{grid-auto-columns:calc((100% - 30px) / 4)}}
/* Gian hàng ưu đãi + banner lớn */
.tgs h2,.tgw h2{font-size:20px;font-weight:600;margin:0 0 12px}
.tgs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tgs-grid img{width:100%;aspect-ratio:380/500;object-fit:cover;border-radius:8px}
.tgw img{width:100%;height:auto;border-radius:10px}
@media (max-width:760px){.tgs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Mọi người cũng tìm kiếm */
.tgk{padding:14px}
.tgk .keys{display:flex;flex-wrap:wrap;gap:8px}
.tgk .keys a{background:#f2f4f7;border-radius:6px;padding:5px 10px;font-size:13px;color:#555}
.tgk .keys a:hover{background:#e7f0ff;color:#2f80ed}
/* Banner trượt 2 ảnh: ảnh TGDĐ 1344×448 (3:1) */
.home-top .slider .slide img{aspect-ratio:3/1}
/* =========================================================
   Footer kiểu TGDĐ
   ========================================================= */
.site-footer.tg-footer{background:#fff;color:#333;padding:0;margin-top:24px;border-top:1px solid #eee}
.tgft-cols{display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr;gap:24px;padding:26px 12px 18px}
.tgft-cols h4{font-size:15px;font-weight:700;margin:0 0 10px;color:#222}
.tgft-cols ul{list-style:none;margin:0 0 14px;padding:0}
.tgft-cols li{font-size:14px;line-height:1.5;padding:4px 0;color:#333}
.tgft-cols li b{color:#2f80ed;font-weight:700}
.tgft-cols a{color:#333}
.tgft-cols a:hover{color:#2f80ed}
.tgft-cols ul.more{max-height:195px;overflow:hidden}
.tgft-cols ul.more.is-open{max-height:none}
.tgft-more{color:#2f80ed;font-size:14px;padding:0;background:none;margin-top:-8px}
.tgft-cols .sites li a{color:#2f80ed}
.tgft-cols .socials{display:flex;gap:10px;margin-bottom:14px}
.tgft-cols .socials img{width:28px;height:28px}
.tgft-cols .badges{display:flex;gap:10px;flex-wrap:wrap}
.tgft-copy{border-top:1px solid #eee;background:#fff}
.tgft-copy .wrap{padding:12px;font-size:12px;color:#777;line-height:1.6}
.tgft-copy p{margin:0 0 4px}
@media (max-width:900px){.tgft-cols{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.tgft-cols{grid-template-columns:1fr}}
.cat-section .cs-banners img,.cat-section .cs-banners img.tall{aspect-ratio:auto!important;height:auto!important;object-fit:contain}
.tgs-grid{align-items:start}
.tgs-grid img{aspect-ratio:auto;height:auto;object-fit:contain}

/* =========================================================
   Màu đổi được (inc/colors.php): --brand / --hd (+ chữ tự tương phản --on-brand / --hd-t)
   ========================================================= */
body .site-header{background:var(--hd)!important;color:var(--hd-t)}
.site-header .hlink,.site-header .cart-link,.site-header .hbtn,.site-header .loc-btn,.site-header .brand,.site-header .topbar,.site-header .topbar a,.site-header .links a{color:var(--hd-t)}
.btn,.button,input[type=submit],.woocommerce a.button,.woocommerce button.button{background:var(--brand);color:var(--on-brand)!important}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--brand-d)}
.nk-contact .nk-cbtn:not(.zalo){background:var(--brand);color:var(--on-brand)}

.hnav{background:var(--hd)}
.hnav .wrap>ul>li>a{color:var(--hd-t)}
.ns-box h3{border-bottom-color:var(--hd)}
.flash-tabs button.is-active{border-bottom-color:var(--hd)}
.countdown b{color:var(--hd)}
.brand .logo-mark{color:var(--hd)}.brand .logo-mark svg{stroke:var(--hd)}
.pc .p-buy{color:var(--brand)!important;background:var(--brand-l)}
.tgd-tabs button.is-active{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.tgd-more,.tgt-row a:hover b,.tgk .keys a:hover,.tgft-cols li b,.tgft-cols a:hover,.tgft-more,.tgft-cols .sites li a{color:var(--brand)}
.tgk .keys a:hover{background:var(--brand-l)}
.nk-side-ban{z-index:90}

/* ảnh đính kèm đánh giá */
.rv-upload{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:-4px 0 14px}
.rv-up-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px dashed var(--brand);color:var(--brand);border-radius:6px;cursor:pointer;font-size:14px;background:#fff}
.rv-up-btn input{display:none}.rv-up-note{font-size:12px;color:#888}
.rv-up-prev{display:flex;flex-wrap:wrap;gap:8px;width:100%}.rv-up-prev:empty{display:none}.rv-up-prev img{width:64px;height:64px;object-fit:cover;border-radius:4px;border:1px solid #eee}
.rv-imgs{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}.rv-imgs img{width:72px;height:72px;object-fit:cover;border-radius:4px;border:1px solid #eee;display:block}

.nm-var{font-size:12px;color:#888;margin:2px 0}

/* lightbox ảnh */
.nk-lb{position:fixed;inset:0;z-index:100000;background:rgba(15,15,15,.92);display:none;align-items:center;justify-content:center}
.nk-lb.open{display:flex}.nk-lb img{max-width:90vw;max-height:86vh;object-fit:contain;border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.5);user-select:none}
.nk-lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:34px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.nk-lb button:hover{background:rgba(255,255,255,.25)}.nk-lb-x{top:14px;right:16px;font-size:30px!important}.nk-lb-p{left:16px;top:50%;transform:translateY(-50%)}.nk-lb-n{right:16px;top:50%;transform:translateY(-50%)}
.nk-lb-c{position:absolute;top:24px;left:20px;color:#ddd;font-size:14px}.nk-lb.one .nk-lb-p,.nk-lb.one .nk-lb-n,.nk-lb.one .nk-lb-c{display:none}
.rv-imgs a{cursor:zoom-in}
@media (max-width:600px){.nk-lb button{width:40px;height:40px;font-size:28px}.nk-lb-p{left:6px}.nk-lb-n{right:6px}.nk-lb img{max-width:100vw}}

[data-gallery] [data-main]{cursor:zoom-in}

/* ===== Menu ngang wp_nav_menu (nk-menu): xổ cấp 2, bay ngang cấp 3 ===== */
ul.nk-menu{display:flex;align-items:center;flex-wrap:nowrap;list-style:none;margin:0;padding:0;gap:var(--nk-menu-gap,28px)}
ul.nk-menu li{position:relative;list-style:none;margin:0;padding:0}
ul.nk-menu>li{display:flex;align-items:center;align-self:stretch}
ul.nk-menu>li>a{display:flex;align-items:center;gap:6px;white-space:nowrap;color:inherit;min-height:100%}
ul.nk-menu .menu-item-has-children>a:after{content:"";flex:none;width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.75;transition:transform .2s}
ul.nk-menu>li.menu-item-has-children:hover>a:after{transform:translateY(1px) rotate(-135deg)}
ul.nk-menu ul.sub-menu{display:block!important;position:absolute;left:0;top:100%;z-index:150;min-width:230px;margin:0;padding:8px 0;list-style:none;background:#fff;color:#222;border-radius:0 0 10px 10px;box-shadow:0 14px 30px rgba(0,0,0,.14);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;flex-direction:column;gap:0;height:auto;overflow:visible}
ul.nk-menu li:hover>ul.sub-menu,ul.nk-menu li:focus-within>ul.sub-menu{opacity:1;visibility:visible;transform:none}
ul.nk-menu ul.sub-menu li{display:block;width:100%}
ul.nk-menu ul.sub-menu a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 18px;font-size:14px;font-weight:400;line-height:1.35;white-space:normal;color:#333;background:none;border:0;text-transform:none}
ul.nk-menu ul.sub-menu a:hover,ul.nk-menu ul.sub-menu li:hover>a{background:#f6f6f7;color:var(--brand)}
ul.nk-menu ul.sub-menu .menu-item-has-children>a:after{transform:rotate(-45deg)}
ul.nk-menu ul.sub-menu ul.sub-menu{left:100%;top:-8px;border-radius:10px;transform:translateX(8px)}
ul.nk-menu ul.sub-menu li:hover>ul.sub-menu{transform:none}
ul.nk-menu>li:nth-last-child(-n+2)>ul.sub-menu{left:auto;right:0}
ul.nk-menu>li:nth-last-child(-n+2) ul.sub-menu ul.sub-menu{left:auto;right:100%}
ul.nk-menu .current-menu-item>a,ul.nk-menu .current-menu-ancestor>a,ul.nk-menu .current-menu-parent>a{color:var(--brand)}
@media (max-width:1000px){ul.nk-menu{gap:18px;overflow-x:auto;scrollbar-width:none}ul.nk-menu ul.sub-menu{display:none!important}ul.nk-menu .menu-item-has-children>a:after{display:none}}
.hnav-wp ul.nk-menu{height:44px;--nk-menu-gap:26px}.hnav-wp ul.nk-menu>li>a{font-size:14px;font-weight:500}
