/*
Theme Name: Phụ Tùng Cà Phê
Theme URI: https://phutungcaphe.vn
Author: Phụ Tùng Cà Phê
Author URI: https://phutungcaphe.vn
Description: Theme bán phụ tùng cơ khí cho nhà máy cà phê – WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: phutungcaphe
*/
:root{
  --brand:#43966C; --brand-d:#2E7A55; --brand-l:#6DB38E; --brand-50:#EFF7F2; --brand-100:#D5EADD; --brand-rgb:67,150,108;
  --deep:#0E2A1F; --deep-2:#14382A; --shade-rgb:9,32,23;
  --on-deep:#C9DDD2; --on-deep-2:#A9C6B7; --ph:#9DBDAB; --ph-a:#F2F7F4; --ph-b:#E3EEE7;
  --ink:#12201A; --ink-2:#33423A; --muted:#5B6A62; --line:#E3E9E5; --soft:#F5F8F6; --warn:#D9822B;
  --r:12px; --wrap:1240px; --sh:0 18px 40px -18px rgba(var(--shade-rgb),.3);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;color-scheme:only light}
body{font-family:"Be Vietnam Pro",system-ui,sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.ic{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}


/* top bar */
.topbar{background:var(--deep);color:var(--on-deep-2);font-size:13px}
.topbar .wrap{display:flex;justify-content:space-between;height:38px;align-items:center;gap:16px}
.topbar .l,.topbar .r{display:flex;gap:22px;align-items:center}
.topbar .ic{width:15px;height:15px;color:var(--brand-l)}
.topbar span{display:flex;gap:7px;align-items:center}
.topbar a:hover{color:#fff}

/* header */
header.main{background:#fff;position:sticky;top:0;z-index:60;box-shadow:0 1px 0 var(--line)}
.hd{display:flex;align-items:center;gap:32px;height:86px}
.logo{display:flex;align-items:center;gap:10px;flex:none}
.mk{display:block;position:relative;overflow:hidden;flex:none;width:52px;height:52px}
.mk img{position:absolute;left:50%;top:50%;width:190%;max-width:none;height:auto;transform:translate(-50%,-47%)}
.logo b{display:block;font-size:19px;font-weight:800;color:var(--deep);letter-spacing:-.2px;line-height:1.15}
.logo b i{font-style:normal;color:var(--brand)}
.logo small{display:block;color:var(--muted);font-size:12px;letter-spacing:.2px}
form.search{flex:1;display:flex;background:var(--soft);border:1px solid var(--line);border-radius:10px;overflow:hidden;max-width:580px;transition:.15s}
form.search:focus-within{border-color:var(--brand);background:#fff;box-shadow:0 0 0 4px var(--brand-50)}
form.search .ic{margin:0 0 0 14px;align-self:center;color:var(--muted);width:19px;height:19px}
form.search input{flex:1;border:0;background:none;padding:0 12px;font:inherit;outline:none;min-width:0;height:46px}
form.search button{background:var(--brand);color:#fff;padding:0 22px;margin:4px;border-radius:7px;font-weight:600;font-size:14px}
.hd-act{display:flex;gap:14px;align-items:center;margin-left:auto}
.hotline{display:flex;gap:10px;align-items:center;padding:6px 16px 6px 6px;border-radius:40px;background:var(--brand-50)}
.hotline .ib{width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center}
.hotline .ib .ic{width:18px;height:18px}
.hotline small{display:block;font-size:11.5px;color:var(--muted);line-height:1.2}
.hotline b{font-size:15px;color:var(--deep)}
.hd-cart{position:relative;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center}
.hd-cart em{position:absolute;top:-4px;right:-4px;background:var(--warn);color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:10px;padding:0 6px;line-height:18px}

nav.menu{border-top:1px solid var(--line)}
nav.menu .wrap{display:flex;align-items:stretch;height:50px}
.catbtn{background:var(--brand);color:#fff;font-weight:600;display:flex;align-items:center;gap:10px;padding:0 20px;width:270px;position:relative;font-size:14.5px}
.catbtn .ic{width:19px;height:19px}
.catdrop{display:none;position:absolute;top:50px;left:0;width:300px;background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--sh);z-index:40;padding:6px 0}
.catbtn:hover .catdrop,.catbtn:focus-within .catdrop{display:block}
.catdrop a{display:flex;align-items:center;gap:12px;padding:8px 16px;font-weight:500;font-size:14px}
.catdrop a img{width:40px;height:40px;border-radius:8px;object-fit:cover}
.catdrop a:hover{background:var(--brand-50);color:var(--brand-d)}
nav.menu ul{list-style:none;display:flex;margin-left:12px}
nav.menu li a{display:flex;align-items:center;height:50px;padding:0 16px;font-weight:600;font-size:14.5px;color:var(--ink-2);position:relative}
nav.menu li a:hover{color:var(--brand-d)}
nav.menu li a.on{color:var(--brand-d)}
nav.menu li a.on::after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:var(--brand);border-radius:3px 3px 0 0}
nav.menu .ship{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--brand-d);font-weight:600}

/* generic */
section{padding:80px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--brand);font-weight:700;font-size:12.5px;letter-spacing:1.6px;text-transform:uppercase}
.eyebrow::before{content:"";width:22px;height:2px;background:currentColor}
.sec-h{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px;gap:16px}
.sec-h h2{font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.6px;margin-top:8px}
.sec-h p{color:var(--muted);margin-top:8px;max-width:560px}
.more{display:inline-flex;align-items:center;gap:6px;color:var(--brand-d);font-weight:700;white-space:nowrap;font-size:14.5px}
.more .ic{width:17px;height:17px;transition:.15s}
.more:hover .ic{transform:translateX(3px)}
.btn{display:inline-flex;align-items:center;gap:9px;padding:14px 24px;border-radius:9px;font-weight:700;font-size:15px;transition:.15s}
.btn .ic{width:18px;height:18px}
.btn-p{background:var(--brand);color:#fff}
.btn-p:hover{background:var(--brand-d)}
.btn-w{background:#fff;color:var(--deep)}
.btn-w:hover{background:var(--brand-50)}
.btn-g{border:1.5px solid rgba(255,255,255,.4);color:#fff}
.btn-g:hover{background:rgba(255,255,255,.08);border-color:#fff}
.btn-o{border:1.5px solid var(--brand);color:var(--brand-d);background:#fff}
.btn-o:hover{background:var(--brand-50)}

/* hero */
.hero{position:relative;color:#fff;background:var(--deep) center/cover no-repeat;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(var(--shade-rgb),.96) 0%,rgba(var(--shade-rgb),.86) 42%,rgba(var(--shade-rgb),.35) 75%,rgba(var(--shade-rgb),.15) 100%)}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;padding-top:84px;padding-bottom:130px}
.hero .eyebrow{color:var(--brand-l)}
.hero h1{font-size:54px;line-height:1.1;margin:18px 0 20px;letter-spacing:-1.4px;font-weight:800}
.hero h1 span{color:var(--brand-l)}
.hero p.lead{color:var(--on-deep);font-size:17.5px;max-width:560px}
.hsearch{margin-top:30px;background:#fff;border-radius:12px;padding:6px;display:flex;max-width:580px;box-shadow:0 20px 40px -10px rgba(0,0,0,.4)}
.hsearch .ic{color:var(--muted);margin:0 4px 0 12px;align-self:center}
.hsearch input{flex:1;border:0;outline:none;font:inherit;font-size:15.5px;padding:0 8px;min-width:0;color:var(--ink)}
.hsearch button{background:var(--brand);color:#fff;font-weight:700;padding:14px 26px;border-radius:8px}
.hot{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--on-deep-2)}
.hot a{border:1px solid rgba(255,255,255,.22);padding:4px 12px;border-radius:20px;color:var(--on-deep)}
.hot a:hover{background:rgba(255,255,255,.1)}
.hcard{background:rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:26px;justify-self:end;max-width:380px}
.hcard .ph{display:flex;margin-bottom:16px}
.hcard .ph img{width:62px;height:62px;border-radius:50%;object-fit:cover;border:3px solid var(--deep);margin-left:-12px}
.hcard .ph img:first-child{margin-left:0}
.hcard h3{font-size:21px;line-height:1.3;font-weight:700}
.hcard p{color:var(--on-deep);font-size:14px;margin:8px 0 18px}
.hcard .btns{display:flex;gap:10px;flex-wrap:wrap}
.hcard .btn{padding:11px 16px;font-size:14px}
.zalo{background:#0068FF;color:#fff}
.zalo:hover{background:#0056d6}

.stats{position:relative;margin-top:-62px;z-index:5}
.stats .box{background:#fff;border-radius:16px;box-shadow:var(--sh);display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line)}
.stats .it{padding:26px 28px;display:flex;gap:16px;align-items:center;border-right:1px solid var(--line)}
.stats .it:last-child{border:0}
.stats .it .ib{width:50px;height:50px;border-radius:12px;background:var(--brand-50);color:var(--brand-d);display:grid;place-items:center;flex:none}
.stats b{display:block;font-size:17px;font-weight:700;line-height:1.3}
.stats small{color:var(--muted);font-size:13px}

/* category cards */
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cat{border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;transition:.2s}
.cat:hover{box-shadow:var(--sh);transform:translateY(-4px);border-color:transparent}
.cat .im{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--soft)}
.cat .im img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cat:hover .im img{transform:scale(1.06)}
.cat .im::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(var(--shade-rgb),.85))}
.cat .im h3{position:absolute;left:20px;bottom:16px;right:20px;color:#fff;font-size:21px;font-weight:700;z-index:2;line-height:1.25}
.cat .im .n{position:absolute;top:14px;left:14px;z-index:2;background:rgba(255,255,255,.95);color:var(--brand-d);font-size:12px;font-weight:700;padding:4px 10px;border-radius:20px}
.cat .bd{padding:16px 20px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.cat .bd ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13.5px;color:var(--muted)}
.cat .bd li::before{content:"•";color:var(--brand);margin-right:6px}
.cat .go{width:40px;height:40px;border-radius:50%;background:var(--brand-50);color:var(--brand-d);display:grid;place-items:center;flex:none;transition:.15s}
.cat:hover .go{background:var(--brand);color:#fff}
.cat .go .ic{width:18px;height:18px}

/* process line */
.line{background:var(--deep);color:#fff;position:relative;overflow:hidden}
.line::before{content:"";position:absolute;inset:0;background:radial-gradient(800px 400px at 85% 0%,rgba(var(--brand-rgb),.28),transparent 60%)}
.line .wrap{position:relative}
.line .sec-h h2{color:#fff}
.line .sec-h p{color:var(--on-deep-2)}
.line .eyebrow{color:var(--brand-l)}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative}
.steps::before{content:"";position:absolute;top:31px;left:10%;right:10%;height:2px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.3) 0 8px,transparent 8px 16px)}
.step{padding:0 14px;text-align:center;position:relative}
.step .no{width:64px;height:64px;border-radius:50%;margin:0 auto 18px;background:var(--deep-2);border:2px solid var(--brand);display:grid;place-items:center;font-weight:800;font-size:18px;color:var(--brand-l);position:relative}
.step:hover .no{background:var(--brand);color:#fff}
.step h4{font-size:16.5px;margin-bottom:6px}
.step p{font-size:13.5px;color:var(--on-deep-2);margin-bottom:12px;min-height:42px}
.step .ps{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.step .ps a{font-size:12.5px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);padding:3px 10px;border-radius:20px;color:var(--on-deep)}
.step .ps a:hover{background:var(--brand);border-color:var(--brand)}

/* tabs + product cards */
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tabs button{padding:9px 18px;border:1px solid var(--line);border-radius:30px;font-size:14px;font-weight:600;color:var(--muted);background:#fff}
.tabs button:hover{border-color:var(--brand);color:var(--brand-d)}
.tabs button.on{background:var(--deep);border-color:var(--deep);color:#fff}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pc{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;background:#fff;transition:.2s}
.pc:hover{box-shadow:var(--sh);border-color:transparent}
.pc .im{aspect-ratio:1/1;background:var(--soft);position:relative;cursor:pointer;overflow:hidden}
.pc .im img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pc:hover .im img{transform:scale(1.05)}
.pc .im.ph{display:grid;place-items:center;background:linear-gradient(135deg,var(--ph-a),var(--ph-b))}
.pc .im.ph .ic{width:38%;height:38%;color:var(--ph);stroke-width:1}
.pc .im.ph::after{content:"Ảnh thật – cập nhật";position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:11px;color:var(--ph)}
.pc .badge{position:absolute;top:12px;left:12px;font-size:11px;font-weight:700;padding:4px 9px;border-radius:5px;background:var(--brand);color:#fff;z-index:2;letter-spacing:.3px}
.pc .badge.o{background:var(--deep)}
.pc .badge.r{background:#fff;color:var(--brand-d)}
.pc .bd{padding:16px;display:flex;flex-direction:column;gap:5px;flex:1}
.pc .sku{font-size:12px;color:var(--muted);letter-spacing:.3px}
.pc h4{font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;min-height:42px}
.pc h4:hover{color:var(--brand-d)}
.pc .spec{font-size:12.5px;color:var(--muted)}
.pc .pr{display:flex;align-items:end;justify-content:space-between;margin-top:auto;padding-top:12px;border-top:1px dashed var(--line)}
.pc .pr b{color:var(--deep);font-size:17px;font-weight:800}
.pc .pr b.q{font-size:14px;color:var(--brand-d);font-weight:700}
.pc .pr .u{font-size:12px;color:var(--muted);font-weight:500}
.pc .stock{font-size:12px;color:var(--brand);font-weight:500}
.pc .stock.o{color:var(--warn)}
.pc .add{width:40px;height:40px;border-radius:9px;background:var(--brand);color:#fff;display:grid;place-items:center}
.pc .add:hover{background:var(--deep)}
.pc .add .ic{width:19px;height:19px}

/* why split */
.why{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.why .pics{position:relative;height:520px}
.why .pics img{position:absolute;object-fit:cover;border-radius:16px;box-shadow:var(--sh)}
.why .pics .a{left:0;top:0;width:72%;height:78%}
.why .pics .b{right:0;bottom:0;width:52%;height:52%;border:6px solid #fff}
.why .pics .tag{position:absolute;left:24px;bottom:28px;background:var(--brand);color:#fff;border-radius:12px;padding:16px 20px;box-shadow:var(--sh)}
.why .pics .tag b{font-size:32px;font-weight:800;display:block;line-height:1}
.why .pics .tag small{font-size:13px;color:var(--on-deep)}
.why h2{font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.6px;margin:8px 0 14px}
.why > div > p{color:var(--muted)}
.feats{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px}
.feat{display:flex;gap:14px}
.feat .ib{width:46px;height:46px;border-radius:12px;background:var(--brand-50);color:var(--brand-d);display:grid;place-items:center;flex:none}
.feat b{display:block;font-size:15.5px;margin-bottom:2px}
.feat small{color:var(--muted);font-size:13.5px;line-height:1.5;display:block}

/* quote */
.quote{background:var(--brand);color:#fff;border-radius:20px;padding:52px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;position:relative;overflow:hidden}
.quote::before{content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;border:60px solid rgba(255,255,255,.06)}
.quote > *{position:relative}
.quote .eyebrow{color:var(--on-deep)}
.quote h2{font-size:32px;line-height:1.25;font-weight:800;letter-spacing:-.5px;margin-top:10px}
.quote p{color:var(--on-deep);margin-top:12px}
.quote ul{list-style:none;margin-top:22px;display:grid;gap:10px}
.quote li{display:flex;gap:10px;align-items:center;font-size:15px}
.quote li .ic{width:20px;height:20px;background:rgba(255,255,255,.18);border-radius:50%;padding:3px}
.qf{background:#fff;color:var(--ink);border-radius:14px;padding:26px;display:grid;gap:12px;box-shadow:0 30px 60px -20px rgba(0,0,0,.35)}
.qf h4{font-size:17px}
.qf .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qf input,.qf textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px 14px;font:inherit;font-size:14px;outline:none;background:var(--soft)}
.qf input:focus,.qf textarea:focus{border-color:var(--brand);background:#fff}
.qf textarea{min-height:84px;resize:vertical}
.qf .up{border:1.5px dashed var(--brand-100);border-radius:9px;padding:13px;color:var(--muted);font-size:13.5px;display:flex;gap:8px;justify-content:center;align-items:center;background:var(--brand-50)}
.qf .up .ic{color:var(--brand)}

/* category page */
.cat-hero{position:relative;color:#fff;background:var(--deep) center/cover;overflow:hidden}
.cat-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(var(--shade-rgb),.95),rgba(var(--shade-rgb),.55))}
.cat-hero .wrap{position:relative;padding-top:26px;padding-bottom:44px}
.crumb{font-size:13px;color:var(--muted);padding:18px 0}
.cat-hero .crumb{color:var(--on-deep-2);padding:0 0 26px}
.crumb a:hover{color:var(--brand)}
.cat-hero h1{font-size:40px;font-weight:800;letter-spacing:-.8px;line-height:1.15}
.cat-hero p{color:var(--on-deep);max-width:640px;margin-top:10px}
.subcats{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}
.subcats a{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:7px 15px;border-radius:30px;font-size:13.5px;font-weight:500}
.subcats a.on,.subcats a:hover{background:#fff;color:var(--deep)}
.shop{display:grid;grid-template-columns:260px 1fr;gap:32px;padding-top:32px;padding-bottom:70px}
.side{display:flex;flex-direction:column;gap:18px}
.fbox{border:1px solid var(--line);border-radius:var(--r);padding:18px}
.fbox h5{font-size:13px;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px;color:var(--deep)}
.fbox label{display:flex;gap:9px;align-items:center;font-size:14px;padding:5px 0;cursor:pointer}
.fbox label span{margin-left:auto;color:var(--muted);font-size:12px}
.fbox input{accent-color:var(--brand);width:16px;height:16px}
.fbox a.sub{display:flex;justify-content:space-between;font-size:14px;padding:7px 0;border-bottom:1px dashed var(--line)}
.fbox a.sub:last-child{border:0}
.fbox a.sub.on{color:var(--brand-d);font-weight:700}
.fbox a.sub span{color:var(--muted);font-size:12px}
.side .help{background:var(--deep);color:#fff;border-radius:var(--r);padding:20px}
.side .help b{font-size:16px;display:block;margin-bottom:6px}
.side .help p{font-size:13px;color:var(--on-deep-2);margin-bottom:14px}
.side .help .btn{width:100%;justify-content:center;padding:11px}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:14px;color:var(--muted);gap:12px;flex-wrap:wrap}
.toolbar select{border:1px solid var(--line);border-radius:9px;padding:9px 12px;font:inherit;font-size:14px;background:#fff}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chips span{background:var(--brand-50);color:var(--brand-d);font-size:13px;padding:5px 12px;border-radius:20px;font-weight:500}
.shop .grid{grid-template-columns:repeat(3,1fr)}
.pager{display:flex;gap:6px;justify-content:center;margin-top:32px}
.pager a{width:40px;height:40px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:600}
.pager a.on{background:var(--deep);color:#fff;border-color:var(--deep)}

/* product detail */
.pd{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:40px;padding-bottom:40px;align-items:start}
.gal-main{aspect-ratio:4/3.4;background:var(--soft);border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.gal-main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.thumbs button{aspect-ratio:1/1;background:var(--soft);border-radius:8px;border:1px solid var(--line);overflow:hidden;cursor:pointer}
.thumbs button img{width:100%;height:100%;object-fit:cover}
.thumbs button.on{outline:2px solid var(--brand);outline-offset:2px}
.pd h1{font-size:25px;line-height:1.3;margin:8px 0 10px;font-weight:800;letter-spacing:-.5px}
.meta{display:flex;gap:16px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.meta b{color:var(--ink)}
.meta .instock{color:var(--brand-d);font-weight:700;display:inline-flex;gap:6px;align-items:center}
.meta .instock::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.pbox{margin:16px 0;padding:14px 18px;background:var(--soft);border-radius:12px;border:1px solid var(--line)}
.pbox b{font-size:26px;color:var(--deep);font-weight:800;letter-spacing:-.5px}
.pbox small{display:block;color:var(--muted);font-size:12.5px}
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.tiers > span{font-size:12px;border:1px solid var(--line);background:#fff;padding:6px 8px;border-radius:8px;text-align:center;color:var(--muted)}
.tiers > span b{display:block;font-size:14px;color:var(--brand-d)}
.opt{margin:12px 0}
.opt h6{font-size:13px;margin-bottom:7px}
.opt .os{display:flex;gap:6px;flex-wrap:wrap}
.opt .os button{border:1px solid var(--line);border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}
.opt .os button.on{border:2px solid var(--brand);color:var(--brand-d);font-weight:700;padding:5px 11px;background:var(--brand-50)}
.buy{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.qty{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.qty button{width:36px;font-size:16px}
.qty input{width:48px;text-align:center;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);font:inherit;font-weight:600}
.buy .btn{flex:1;justify-content:center;min-width:150px;padding:11px 16px;font-size:14px}
.contact-line{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.contact-line a{display:flex;align-items:center;gap:8px;font-size:13px;border:1px solid var(--line);padding:8px 12px;border-radius:9px;font-weight:500}
.contact-line .ic{width:18px;height:18px;color:var(--brand)}
.pd-usp{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.pd-usp div{display:flex;gap:8px;font-size:13px;color:var(--muted);align-items:center}
.pd-usp .ic{width:20px;height:20px;color:var(--brand)}
table.spec{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
table.spec td{padding:12px 16px;border-bottom:1px solid var(--line)}
table.spec tr:last-child td{border:0}
table.spec tr:nth-child(odd) td{background:var(--soft)}
table.spec td:first-child{width:40%;color:var(--muted)}
.fit{background:var(--brand-50);border-radius:12px;padding:22px}
.fit h5{font-size:15px;margin-bottom:10px}
.fit li{list-style:none;display:flex;gap:8px;font-size:14px;padding:5px 0}
.fit .ic{width:18px;height:18px;color:var(--brand)}

/* footer */
footer.site{background:var(--deep);color:var(--on-deep-2);padding:64px 0 0}
.ft{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px}
.ft h5{color:#fff;font-size:15px;margin-bottom:16px}
.ft a{display:block;font-size:14px;padding:5px 0}
.ft a:hover{color:#fff}
.ft p{font-size:14px;margin-bottom:10px;display:flex;gap:10px}
.ft p .ic{width:18px;height:18px;color:var(--brand-l);margin-top:2px}
.ft .flogo{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.ft .flogo .mk{background:#fff;border-radius:12px;width:52px;height:52px}
.ft .flogo b{color:#fff;font-size:18px;font-weight:800}
.copy{border-top:1px solid rgba(255,255,255,.1);margin-top:44px;padding-top:18px;padding-bottom:18px;font-size:13px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

.float{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:10px;z-index:70}
.float a{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.2);font-weight:700;font-size:13px}
.float .zl{background:#0068FF}
.float .ph{background:var(--brand)}


@media (max-width:1100px){
  .pd{grid-template-columns:1fr 1fr;gap:28px}
  .grid{grid-template-columns:repeat(3,1fr)}
  .cats{grid-template-columns:repeat(2,1fr)}
  .hotline{display:none}
  nav.menu .ship{display:none}
  .topbar .r{display:none}
  .topbar span,nav.menu li a{white-space:nowrap}
  .catbtn{width:auto}
  nav.menu ul{margin-left:0;overflow:hidden}
  nav.menu li a{padding:0 11px}
  .shop{grid-template-columns:1fr}
  .side{display:none}
  .hero .wrap{grid-template-columns:1fr}
  .hcard{justify-self:start}
  .steps{grid-template-columns:repeat(3,1fr);row-gap:36px}
  .steps::before{display:none}
  .why{grid-template-columns:1fr}
}
@media (max-width:768px){
  .wrap{padding:0 16px}
  .topbar .r,.topbar .l span:nth-child(2){display:none}
  .hd{height:auto;flex-wrap:wrap;padding:10px 0;gap:10px 14px}
  .mk{width:44px;height:44px}
  .logo b{font-size:16.5px}
  form.search{order:3;flex-basis:100%;max-width:none}
  form.search button{padding:0 14px}
  nav.menu ul{display:none}
  .catbtn{width:100%}
  .catdrop{width:100%}
  section{padding:56px 0}
  .hero .wrap{padding-top:44px;padding-bottom:100px}
  .hero h1{font-size:33px;letter-spacing:-.8px}
  .hero p.lead{font-size:15.5px}
  .hsearch button{padding:12px 16px}
  .hcard{display:none}
  .stats .box{grid-template-columns:1fr 1fr}
  .stats .it{padding:16px;border-bottom:1px solid var(--line);gap:10px}
  .stats .it:nth-child(2){border-right:0}
  .stats .it .ib{width:40px;height:40px}
  .stats b{font-size:14.5px}
  .sec-h{flex-direction:column;align-items:start}
  .sec-h h2,.why h2{font-size:26px}
  .cats{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .grid,.shop .grid{grid-template-columns:1fr 1fr;gap:12px}
  .pc .bd{padding:11px}
  .pc h4{font-size:13.5px}
  .pc .pr b{font-size:15px}
  .pc .add{width:34px;height:34px}
  .why .pics{height:340px}
  .feats{grid-template-columns:1fr}
  .quote{padding:26px;grid-template-columns:1fr;gap:28px}
  .quote h2{font-size:24px}
  .qf .row{grid-template-columns:1fr}
  .cat-hero h1{font-size:28px}
  .pd{grid-template-columns:1fr;gap:28px}
  .pd h1{font-size:22px}
  .contact-line{grid-template-columns:1fr}
  .ft{grid-template-columns:1fr 1fr}
  .ft > div:first-child{grid-column:span 2}
}

/* ===== WordPress / WooCommerce bổ sung ===== */
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:999;background:#fff;padding:8px 14px;border-radius:8px}
.topbar .r ul,.ft ul{list-style:none}
.topbar .r ul{display:flex;gap:22px}
nav.menu > .wrap > ul{list-style:none;display:flex;margin-left:12px}
.catdrop a.all{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;color:var(--brand-d);font-weight:700}
.catdrop a.all .ic{width:16px;height:16px}
a.eyebrow:hover{color:var(--brand-d)}
.hero{background-position:center 35%}

/* thẻ sản phẩm */
.pc[hidden]{display:none}
.pc .im{display:block}
.pc .im.ph{color:var(--ph)}
.pc .im.ph > .ic{width:38%;height:38%;stroke-width:1}
.pc h4 a:hover{color:var(--brand-d)}
.pc .pr b del,.pbox del{color:var(--muted);font-weight:500;font-size:.8em;margin-right:6px}
.pc .pr b ins,.pbox ins{text-decoration:none}
.pc .add.loading{opacity:.5;pointer-events:none}
.pc .add.added{background:var(--deep)}
.pc .added_to_cart{display:none}
.ask{color:var(--brand-d);font-size:14px;font-weight:700}

/* trang danh mục */
.fbox a.chk{display:flex;gap:9px;align-items:center;font-size:14px;padding:5px 0}
.fbox a.chk i{width:16px;height:16px;border:1.5px solid var(--ph);border-radius:4px;flex:none;display:grid;place-items:center}
.fbox a.chk.on{color:var(--brand-d);font-weight:600}
.fbox a.chk.on i{background:var(--brand);border-color:var(--brand)}
.fbox a.chk.on i::after{content:"";width:8px;height:4px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.fbox a.chk:hover{color:var(--brand-d)}
.chips a{background:var(--brand-50);color:var(--brand-d);font-size:13px;padding:5px 12px;border-radius:20px;font-weight:500}
.chips a:hover{background:var(--brand-100)}
.woocommerce-result-count{font-size:14px;color:var(--muted)}
.woocommerce-ordering select{border:1px solid var(--line);border-radius:9px;padding:9px 12px;font:inherit;font-size:14px;background:#fff;color:var(--ink)}
.woocommerce-pagination{margin-top:32px}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.woocommerce-pagination a,.woocommerce-pagination span{min-width:40px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:600}
.woocommerce-pagination span.current{background:var(--deep);color:#fff;border-color:var(--deep)}
.woocommerce-pagination a:hover{border-color:var(--brand);color:var(--brand-d)}
.empty{border:1px dashed var(--brand-100);background:var(--brand-50);border-radius:var(--r);padding:40px;text-align:center}
.empty b{font-size:18px;display:block}
.empty p{color:var(--muted);margin:6px 0 18px}

/* chi tiết sản phẩm */
.product-page{padding-bottom:40px}
.gal-main a{display:block;height:100%}
.gal-main .noimg{height:100%;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--ph);font-size:13px;background:linear-gradient(135deg,var(--ph-a),var(--ph-b))}
.gal-main .noimg .ic{width:96px;height:96px;stroke-width:1}
.thumbs button{padding:0}
.summary .eyebrow{margin-bottom:2px}
.meta .instock.o{color:var(--warn)}
.meta .instock.o::before{background:var(--warn);box-shadow:0 0 0 4px #FBEBDD}
.pbox b.q{font-size:22px;color:var(--brand-d)}
.pbox .u{color:var(--muted);font-size:14px;margin-left:4px}
.short{font-size:14px;color:var(--muted);margin:-4px 0 6px}
.buy{align-items:stretch}
.buy form.cart{display:flex;gap:10px;flex:2 1 300px;flex-wrap:wrap;align-items:stretch}
.buy form.cart:not(.variations_form) .single_add_to_cart_button{flex:1}
.buy form.variations_form{flex-basis:100%;display:block}
table.variations{border-collapse:collapse;width:100%;margin-bottom:6px}
table.variations tr{display:block;margin-bottom:10px}
table.variations th,table.variations td{display:block;text-align:left;padding:0}
table.variations th label{font-size:13px;font-weight:700;margin-bottom:7px;display:block}
table.variations select.os-src{display:none}
table.variations .os{display:flex;gap:6px;flex-wrap:wrap}
table.variations .os button{border:1px solid var(--line);border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500;background:#fff}
table.variations .os button:hover{border-color:var(--brand)}
table.variations .os button.on{border:2px solid var(--brand);color:var(--brand-d);font-weight:700;padding:5px 11px;background:var(--brand-50)}
table.variations .os button:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.reset_variations{font-size:12.5px;color:var(--muted);display:inline-block;margin-top:6px}
.single_variation_wrap .woocommerce-variation{margin:4px 0 10px}
.woocommerce-variation-price .price{font-size:22px;font-weight:800;color:var(--deep)}
.woocommerce-variation-availability p{font-size:13px;color:var(--brand-d);font-weight:600}
.woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1}
.quantity{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.quantity .qbtn{width:36px;font-size:16px}
.quantity .qbtn:hover{background:var(--brand-50)}
.quantity input.qty{width:52px;text-align:center;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);font:inherit;font-weight:600;-moz-appearance:textfield;min-height:42px}
.quantity input.qty::-webkit-inner-spin-button,.quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none}
.single_add_to_cart_button,.button,button.button,a.button,input.button,#place_order{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border-radius:9px;font-weight:700;font-size:14px;background:var(--brand);color:#fff;border:0;cursor:pointer;font-family:inherit;line-height:1.3;transition:.15s;text-align:center}
.single_add_to_cart_button:hover,.button:hover,#place_order:hover{background:var(--brand-d)}
.single_add_to_cart_button.disabled,.single_add_to_cart_button:disabled,.button:disabled{opacity:.45;cursor:not-allowed}
.button.alt,.checkout-button{background:var(--deep)}
.fit ul{padding:0}
.fit a:hover{color:var(--brand-d)}
.related{padding:56px 0 20px}

/* thông báo */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;border-radius:10px;padding:13px 16px;margin:0 0 18px;font-size:14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:var(--brand-50);border:1px solid var(--brand-100);color:var(--deep)}
.woocommerce-error{background:#FDF0EE;border-color:#F3C9C2;color:#8A2C1E;display:block}
.woocommerce-error li{padding:2px 0}
.woocommerce-message .button,.woocommerce-info .button{order:2;padding:7px 14px;font-size:13px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--deep);color:#fff;padding:12px 18px;border-radius:10px;font-size:14px;z-index:90;box-shadow:var(--sh);transition:opacity .4s}
.toast a{color:var(--brand-l);font-weight:700;margin-left:6px}
.toast.out{opacity:0}

/* trang nội dung */
main.page{padding:0 0 70px}
.wrap.narrow{max-width:900px}
.page-title{font-size:32px;font-weight:800;letter-spacing:-.6px;line-height:1.2;margin:0 0 22px}
.post-date{color:var(--muted);font-size:13px;margin:-14px 0 18px}
.post-thumb{border-radius:14px;margin-bottom:22px}
.entry{font-size:15.5px}
.entry > * + *{margin-top:14px}
.entry h2{font-size:24px;margin-top:30px;line-height:1.3}
.entry h3{font-size:19px;margin-top:24px}
.entry a{color:var(--brand-d);text-decoration:underline}
.entry ul,.entry ol{padding-left:22px}
.entry table{border-collapse:collapse;width:100%}
.entry table td,.entry table th{border:1px solid var(--line);padding:9px 12px;text-align:left}
.entry img{border-radius:10px;height:auto}
.post-list article{border-bottom:1px solid var(--line);padding:18px 0}
.post-list h2{font-size:20px}
.post-list p{color:var(--muted)}

/* giỏ hàng / thanh toán / tài khoản (WooCommerce cổ điển) */
.wc-page .entry > * + *{margin-top:0}
.wc-page .entry a{text-decoration:none}
.wc-page input[type=text],.wc-page input[type=email],.wc-page input[type=tel],.wc-page input[type=password],.wc-page input[type=number],.wc-page select,.wc-page textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font:inherit;font-size:14.5px;background:#fff;color:var(--ink);outline:none}
.wc-page .quantity input.qty{width:52px;border-radius:0;padding:0}
.wc-page input:focus,.wc-page select:focus,.wc-page textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
table.shop_table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:14.5px;margin-bottom:24px}
table.shop_table th{background:var(--soft);text-align:left;padding:12px 14px;font-size:13px;color:var(--muted);font-weight:700}
table.shop_table td{padding:14px;border-top:1px solid var(--line);vertical-align:middle}
table.shop_table td.product-thumbnail img{width:64px;height:64px;object-fit:cover;border-radius:8px}
table.shop_table td.product-name a{font-weight:600}
table.shop_table td.product-name a:hover{color:var(--brand-d)}
table.shop_table a.remove{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#B04A35;font-size:20px;background:#FBEDEA}
table.shop_table td.actions{background:var(--soft)}
table.shop_table td.actions .coupon{display:inline-flex;gap:8px;align-items:center}
table.shop_table td.actions .coupon label{display:none}
table.shop_table td.actions .coupon input{width:170px}
table.shop_table td.actions > .button{float:right}
.cart-collaterals{display:flex;justify-content:flex-end}
.cart_totals{width:100%;max-width:440px}
.cart_totals h2,.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,.woocommerce-order-details__title,.woocommerce-column__title{font-size:19px;margin:0 0 14px}
.cart_totals table.shop_table th{width:40%;background:#fff;color:var(--ink);border-top:1px solid var(--line)}
.cart_totals table.shop_table tr:first-child th{border-top:0}
.cart_totals .order-total td{font-size:19px;font-weight:800;color:var(--deep)}
.woocommerce-shipping-methods{list-style:none}
.form-row{margin:0 0 14px;display:block}
.form-row label{display:block;font-size:13.5px;font-weight:600;margin-bottom:5px}
.form-row .required{color:#C2412D;text-decoration:none}
.form-row-first,.form-row-last{display:inline-block;width:calc(50% - 7px);vertical-align:top}
.form-row-first{margin-right:10px}
.woocommerce-invalid input{border-color:#E08A7A !important}
#place_order{width:100%;padding:15px;font-size:16px;margin-top:10px}
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:16px 0 26px}
.woocommerce-order-overview li{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:13px;color:var(--muted)}
.woocommerce-order-overview li strong{display:block;color:var(--deep);font-size:15px}
.woocommerce-thankyou-order-received{font-size:18px;font-weight:700;color:var(--brand-d);margin-bottom:6px}
.woocommerce-customer-details address{font-style:normal;border:1px solid var(--line);border-radius:12px;padding:16px}
.woocommerce-MyAccount-navigation ul{list-style:none;display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}
.woocommerce-MyAccount-navigation a{display:block;padding:8px 14px;border:1px solid var(--line);border-radius:30px;font-size:14px;font-weight:600}
.woocommerce-MyAccount-navigation .is-active a{background:var(--deep);color:#fff;border-color:var(--deep)}
.woocommerce form.login,.woocommerce form.register{max-width:440px;border:1px solid var(--line);border-radius:14px;padding:22px}
.cart-empty{font-size:16px}
.return-to-shop{margin-top:16px}

/* form báo giá */
.qf select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px 14px;font:inherit;font-size:14px;background:var(--soft)}
.qf label.up{cursor:pointer;position:relative}
.qf label.up input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.qf .hp{position:absolute;left:-9999px}
.qf .ok{background:var(--brand-50);border:1px solid var(--brand-100);color:var(--deep);padding:12px 14px;border-radius:9px;font-size:14px}
.qf .err{background:#FDF0EE;border:1px solid #F3C9C2;color:#8A2C1E;padding:12px 14px;border-radius:9px;font-size:14px}

@media (max-width:1100px){
  nav.menu > .wrap > ul{margin-left:0;overflow:hidden}
}
@media (max-width:768px){
  nav.menu > .wrap > ul{display:none}
  .page-title{font-size:25px}
  table.shop_table_responsive thead{display:none}
  table.shop_table_responsive tr{display:block;border-top:1px solid var(--line);padding:8px 0}
  table.shop_table_responsive td{display:flex;justify-content:space-between;gap:12px;border:0;padding:6px 14px;text-align:right}
  table.shop_table_responsive td::before{content:attr(data-title);font-weight:600;color:var(--muted);text-align:left}
  table.shop_table_responsive td.product-thumbnail::before,table.shop_table_responsive td.product-remove::before,table.shop_table_responsive td.actions::before{content:none}
  table.shop_table_responsive td.product-thumbnail{display:none}
  table.shop_table td.actions .coupon{display:flex;width:100%;margin-bottom:8px}
  table.shop_table td.actions .coupon input{flex:1;width:auto}
  table.shop_table td.actions > .button{float:none;width:100%}
  .form-row-first,.form-row-last{display:block;width:100%;margin-right:0}
  .float a{width:46px;height:46px}
}
.admin-bar header.main{top:32px}
@media (max-width:782px){.admin-bar header.main{top:0}}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
.hd-cart em[hidden]{display:none}
.single_add_to_cart_button.alt{background:var(--brand)}
.single_add_to_cart_button.alt:hover{background:var(--brand-d)}
@media (max-width:768px){form.checkout #billing_first_name_field,form.checkout #billing_phone_field,form.checkout #billing_company_field,form.checkout #billing_tax_code_field{width:100% !important}}
@media (max-width:768px){form.checkout .woocommerce-billing-fields__field-wrapper .form-row-first,form.checkout .woocommerce-billing-fields__field-wrapper .form-row-last{width:100%}}
@media (max-width:768px){header.main{position:relative;top:0}}

/* ===== Chế độ đặt hàng báo giá ===== */
.hd-cart{width:auto;height:46px;border-radius:30px;padding:0 16px 0 13px;gap:8px;display:flex;align-items:center;font-weight:700;font-size:14px;color:var(--deep);background:#fff}
.hd-cart:hover{border-color:var(--brand);background:var(--brand-50)}
.hd-cart .ic{width:20px;height:20px;color:var(--brand)}
@media (max-width:768px){.hd-cart{padding:0 12px}.hd-cart .lbl{display:none}}
.qlist table.shop_table td.product-name small.sku,.thanks small.sku{display:block;color:var(--muted);font-size:12px;font-weight:500}
.qlist table.shop_table td.product-name .variation{font-size:12.5px;color:var(--muted);margin-top:4px;display:grid;grid-template-columns:auto 1fr;gap:0 6px}
.qlist table.shop_table td.product-name .variation dd p{margin:0}
.qlist table.shop_table td.product-price small{color:var(--muted);margin-left:2px}
.qlist table.shop_table td.actions{display:table-cell}
.qlist td.actions .more-link{font-weight:700;color:var(--brand-d);font-size:14px;line-height:40px}
.qlist td.actions .button{float:right;background:#fff;color:var(--deep);border:1px solid var(--line)}
.qlist td.actions .button:hover{border-color:var(--brand);background:var(--brand-50)}
.qlist td.actions .button:disabled{opacity:.5}
.cart_totals{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:20px}
.cart_totals dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;font-size:14.5px;margin-bottom:12px}
.cart_totals dt{color:var(--muted)}
.cart_totals dd{text-align:right;font-weight:700}
.cart_totals dd.sum{font-size:20px;color:var(--deep);font-weight:800}
.cart_totals .note{font-size:13px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:14px}
.thanks-head{display:flex;gap:16px;align-items:flex-start;background:var(--brand-50);border:1px solid var(--brand-100);border-radius:14px;padding:20px 22px;margin-bottom:22px}
.thanks-head h2{font-size:22px;line-height:1.3;margin-bottom:6px}
.thanks-head p{color:var(--muted)}
.ok-ic{width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;flex:none}
.ok-ic .ic{width:24px;height:24px;stroke-width:2.4}
.thanks-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.thanks-foot a b{color:var(--brand-d)}
.empty .btn{margin:4px}

/* ===== Trang Giới thiệu / Liên hệ / Kỹ thuật ===== */
.about-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;padding-top:48px;padding-bottom:20px;align-items:start}
.about-pic{position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--sh)}
.about-pic img{width:100%;height:320px;object-fit:cover}
.about-pic .tag{position:absolute;left:16px;bottom:16px;background:var(--brand);color:#fff;border-radius:12px;padding:12px 16px}
.about-pic .tag b{font-size:26px;font-weight:800;display:block;line-height:1}
.about-pic .tag small{font-size:12.5px;color:var(--on-deep)}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.about-stats > div{border:1px solid var(--line);border-radius:12px;padding:14px}
.about-stats .ib{width:38px;height:38px;border-radius:10px;background:var(--brand-50);color:var(--brand-d);display:grid;place-items:center;margin-bottom:8px}
.about-stats b{display:block;font-size:14.5px}
.about-stats small{color:var(--muted);font-size:12.5px}
.contact-intro{color:var(--muted);margin:-10px 0 22px}
.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:start}
.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cc{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff}
a.cc:hover{border-color:var(--brand);background:var(--brand-50)}
.cc.wide{grid-column:1/-1}
.cc .ib{width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;flex:none}
.cc .ib .ic{width:19px;height:19px}
.cc .ib.zl{background:#0068FF;font-size:11.5px;font-weight:800}
.cc small{display:block;color:var(--muted);font-size:12px}
.cc b{font-size:15px;color:var(--deep);word-break:break-word}
.map{margin-top:16px;border-radius:14px;overflow:hidden;border:1px solid var(--line);height:300px}
.map iframe{width:100%;height:100%;border:0}
.contact .qf{box-shadow:var(--sh);border:1px solid var(--line)}
.blog-lead{color:var(--muted);margin:-12px 0 24px}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.post-card:hover{box-shadow:var(--sh);border-color:transparent}
.post-card .im{aspect-ratio:16/9;background:linear-gradient(135deg,var(--ph-a),var(--ph-b));display:grid;place-items:center;color:var(--ph)}
.post-card .im img{width:100%;height:100%;object-fit:cover}
.post-card .im .ic{width:56px;height:56px;stroke-width:1.2}
.post-card .bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.post-card small{color:var(--muted);font-size:12px}
.post-card h2{font-size:17px;line-height:1.35}
.post-card p{color:var(--muted);font-size:14px}
.post-card .more{margin-top:auto}
@media (max-width:1100px){.about-grid,.contact-grid{grid-template-columns:1fr}.posts{grid-template-columns:1fr 1fr}}
@media (max-width:768px){.about-grid{padding-top:28px}.cards{grid-template-columns:1fr}.posts{grid-template-columns:1fr}}
.entry a.button,.entry a.btn-p,.wc-proceed-to-checkout a.checkout-button{color:#fff !important;text-decoration:none}
table.shop_table a.remove{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#FBEDEA;color:#B04A35 !important;transition:.15s}
table.shop_table a.remove .ic{width:16px;height:16px;stroke-width:2.4}
table.shop_table a.remove:hover{background:#B04A35;color:#fff !important}
/* logo: ảnh logo-mark.png đã cắt sẵn, không phóng to nữa */
.mk{display:grid;place-items:center}
.mk img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none}
.ft .flogo .mk{padding:7px;width:52px;height:52px}

/* ===== Form gửi yêu cầu mua hàng trong giỏ hàng ===== */
.qlist .cart-collaterals{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start;justify-content:stretch}
.qlist .cart_totals{max-width:none;width:auto}
.order-form{order:-1;border:1px solid var(--line);border-radius:14px;padding:22px;background:#fff}
.order-form h3{font-size:19px;margin-bottom:4px}
.order-form .lead{color:var(--muted);font-size:13.5px;margin-bottom:16px}
.of-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.of-grid p{margin:0}
.of-grid .of-address,.of-grid .of-note{grid-column:1/-1}
.of-grid label{display:block;font-size:13.5px;font-weight:600;margin-bottom:5px}
.of-grid .req{color:#C2412D}
.of-grid input,.of-grid textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font:inherit;font-size:14.5px;background:#fff;color:var(--ink);outline:none}
.of-grid input:focus,.of-grid textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
.of-grid textarea{resize:vertical;min-height:64px}
.order-form .send-order{width:100%;justify-content:center;margin-top:16px;padding:15px;font-size:16px}
.order-form .send-order .ic{width:20px;height:20px}
@media (max-width:900px){.qlist .cart-collaterals{grid-template-columns:1fr}.order-form{order:0}}
@media (max-width:600px){.of-grid{grid-template-columns:1fr}}
.thanks-head{align-items:center}
.entry .thanks-head h2,.thanks-head h2{margin:0 0 4px}
.entry .thanks-head p{margin:0}
.entry .thanks > * + *{margin-top:0}
.thanks table.shop_table td:first-child{font-weight:700;color:var(--deep)}
.thanks table.shop_table td:first-child small.sku{font-weight:500}
.thanks table.shop_table td:last-child{font-weight:700;color:var(--deep)}

/* ===== Trang chi tiết: ảnh dính bên trái, thông số bên phải, mô tả lớn bên dưới ===== */
.pd-gal{position:sticky;top:150px}
.admin-bar .pd-gal{top:182px}
.buy p.stock,.buy .stock{display:none}
.pd-usp div{align-items:flex-start}
.pd-usp div .ic{margin-top:1px}
.pd-spec{margin-top:22px}
.pd-spec h3,.summary .fit h5{font-size:16px;font-weight:700;margin-bottom:10px;color:var(--deep)}
.pd-spec table.spec td:first-child{width:42%}
.summary .fit{margin-top:16px}
.pd-desc{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.pd-desc h3{font-size:16px;font-weight:700;margin-bottom:10px;color:var(--deep)}
.pd-desc .entry{font-size:15px;line-height:1.75}
.pd-desc .entry img{max-width:100%}
@media (max-width:768px){.pd-gal{position:static}}
.logo > div{padding-top:4px}
.logo small{margin-top:3px;line-height:1.3}
form.one-choice table.variations,form.one-choice .reset_variations{display:none}
.tiers > span b .woocommerce-Price-amount,.tiers > span b span{border:0;padding:0;background:none;display:inline}

/* ===== Sao & đánh giá ===== */
.stars{--r:5;display:inline-block;font-size:16px;letter-spacing:1px;line-height:1;background:linear-gradient(90deg,#F2A515 calc(var(--r) / 5 * 100%),#D7DCDE 0);-webkit-background-clip:text;background-clip:text;color:transparent}
.stars.sm{font-size:13px}
.rating-line{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;margin:-4px 0 8px;color:var(--muted)}
.rating-line b{color:var(--ink)}
.rating-line:hover span{color:var(--brand-d);text-decoration:underline}
.card-rating{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.pd-reviews{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);scroll-margin-top:160px}
.rv-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.rv-head h3{font-size:16px;font-weight:700;color:var(--deep)}
.rv-avg{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.rv-avg b{font-size:22px;color:var(--ink)}
.rv{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:10px;background:#fff}
.rv-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.rv-top b{font-size:14px}
.rv-top small{color:var(--muted);margin-left:auto;font-size:12px}
.rv p{font-size:14px;color:var(--ink-2);line-height:1.6}

/* ===== Tra cứu đơn hàng ===== */
.lookup-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:18px;margin:18px 0}
.lookup-form p{margin:0}
.lookup-form label{display:block;font-size:13.5px;font-weight:600;margin-bottom:5px}
.lookup-form input{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font:inherit;font-size:15px;background:#fff;outline:none}
.lookup-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
.lookup-form .btn{padding:12px 20px;justify-content:center;white-space:nowrap}
.entry .lookup-form .btn{color:#fff;text-decoration:none}
.lookup-err{background:#FDF0EE;border:1px solid #F3C9C2;color:#8A2C1E;padding:12px 14px;border-radius:10px;font-size:14px}
.lookup-res{border:1px solid var(--line);border-radius:14px;padding:18px;scroll-margin-top:160px}
.lr-head{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
.lr-head small{display:block;color:var(--muted);font-size:12px}
.lr-head b{font-size:16px}
.lr-head .st{color:var(--brand-d)}
.lr-head .st-cancelled,.lr-head .st-failed{color:#B04A35}
.lr-steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);margin:0 0 18px;padding:0;counter-reset:s}
.lr-steps li{position:relative;text-align:center;font-size:12.5px;color:var(--muted);padding-top:26px}
.lr-steps li span{position:absolute;top:0;left:50%;transform:translateX(-50%);width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid var(--line);z-index:1}
.lr-steps li::before{content:"";position:absolute;top:8px;left:-50%;right:50%;height:2px;background:var(--line)}
.lr-steps li:first-child::before{display:none}
.lr-steps li.done{color:var(--brand-d);font-weight:700}
.lr-steps li.done span{background:var(--brand);border-color:var(--brand)}
.lr-steps li.done::before{background:var(--brand)}
.lookup-res table.shop_table small.sku{display:block;color:var(--muted);font-size:12px}
.lookup-res tfoot th{text-align:right}
.lr-notes h4{font-size:15px;margin:4px 0 8px}
.lr-note{background:var(--brand-50);border-radius:10px;padding:10px 12px;margin-bottom:8px;font-size:14px}
.lr-note small{color:var(--muted);font-size:12px}
.lr-help{font-size:13.5px;color:var(--muted);margin-top:12px}
.thanks-foot .btn{margin-left:8px}
@media (max-width:768px){.lookup-form{grid-template-columns:1fr}.lr-head{grid-template-columns:1fr 1fr}}

.lr-head .st-no-contact{color:#C2410C}
.lr-head .st-cancelled,.lr-head .st-failed,.lr-head .st-refunded{color:#B42318}
.lr-alert{border-radius:12px;padding:14px 16px;margin:0 0 16px;border:1px solid}
.lr-alert b{font-size:15.5px}
.lr-alert p{margin:4px 0 0;font-size:14px}
.lr-alert .btn{margin-top:10px;padding:9px 16px;font-size:14px}
.lr-warn{background:#FFF7ED;border-color:#FDD8B5;color:#7C2D12}
.lr-warn > b{color:#C2410C}
.lr-bad{background:#FEF3F2;border-color:#FECDCA;color:#7A271A}
.lr-bad > b{color:#B42318}
.entry .lr-alert a{color:inherit}
.entry .lr-alert .btn.zalo{color:#fff;text-decoration:none}

/* Ô bẫy chống spam (ẩn với người dùng) */
.hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
