/* ==========================================================================
   Decowill Business - B2B Wholesale Portal
   Design tokens taken from the WoodMart theme in use on decowill.com
   ========================================================================== */
:root{
  --acc:#1C61E7; --acc-h:#1550C9; --acc-soft:#E6EFFD; --acc-link:#3371E9;
  --title:#242424; --txt:#767676; --lnk:#5C6B7A;
  --brd:rgba(0,0,0,.1); --pg:#F6F6F6;
  --ok:#2FA84F; --hot:#E53935; --star:#F5A623;
  --r:8px; --r-pill:99px; --fh:42px; --gap:20px; --pad:20px; --maxw:1440px;
  --font:Lato,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{-webkit-text-size-adjust:100%;}
body{font-family:var(--font);background:var(--pg);color:var(--txt);font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased;}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;height:auto;}
button,input,select,textarea{font-family:inherit;font-size:inherit;}
button{cursor:pointer;border:none;background:none;}
h1,h2,h3,h4,h5,h6{color:var(--title);font-weight:700;line-height:1.3;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* layout helpers */
.card{background:#fff;border-radius:var(--r);padding:20px 22px;}
.stack{display:flex;flex-direction:column;gap:var(--gap);}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);}
.grid-side{display:grid;grid-template-columns:1fr 340px;gap:var(--gap);align-items:start;}
.mt0{margin-top:0!important;} .mb0{margin-bottom:0!important;}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:44px;padding:0 22px;
  border-radius:var(--r);font-size:14px;font-weight:700;transition:background .15s,border-color .15s,color .15s;}
.btn-sm{height:36px;padding:0 16px;font-size:12px;}
.btn-primary{background:var(--acc);color:#fff;}
.btn-primary:hover{background:var(--acc-h);}
.btn-outline{background:#fff;border:1px solid var(--acc);color:var(--acc);}
.btn-outline:hover{background:var(--acc-soft);}
.btn-ghost{background:#fff;border:1px solid var(--brd);color:var(--title);}
.btn-ghost:hover{border-color:var(--title);}
.btn-white{background:#fff;color:var(--title);}
.btn-white:hover{background:#efefef;}
.btn-block{width:100%;}
.btn:disabled{opacity:.5;cursor:not-allowed;}
.pill{display:inline-flex;align-items:center;gap:5px;background:var(--acc-soft);color:var(--acc);
  font-size:11px;font-weight:700;padding:7px 14px;border-radius:var(--r-pill);}
.pill:hover{background:#d7e5fb;}

/* forms */
.field{margin-bottom:16px;}
.field label{display:block;font-size:12px;font-weight:700;color:var(--title);margin-bottom:6px;}
.field label .req{color:var(--hot);}
.field .hint{font-size:11px;color:var(--txt);margin-top:5px;}
.inp,select.inp,textarea.inp{width:100%;height:var(--fh);padding:0 14px;background:#fff;
  border:1px solid var(--brd);border-radius:var(--r);color:var(--title);outline:none;transition:border-color .15s;}
textarea.inp{height:auto;padding:11px 14px;min-height:110px;resize:vertical;line-height:1.6;}
.inp::placeholder{color:#a8a8a8;}
.inp:focus{border-color:var(--acc);}
.inp-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--lnk);line-height:1.6;}
.check input{margin-top:2px;flex-shrink:0;}

/* topbar */
.topbar{background:var(--title);color:#e6e6e6;text-align:center;font-size:11px;padding:8px 16px;letter-spacing:.03em;}
.topbar b{color:#fff;}

/* header */
.hd{background:#fff;}
.hd-in{display:flex;align-items:center;gap:14px;padding:11px var(--pad);max-width:var(--maxw);margin:0 auto;}
.burger{width:38px;height:38px;border-radius:50%;background:var(--acc);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:19px;flex-shrink:0;}
.burger:hover{background:var(--acc-h);}
.brand{display:flex;flex-direction:column;line-height:1.05;flex-shrink:0;}
.brand .bn{font-size:21px;font-weight:700;color:var(--title);letter-spacing:-.6px;}
.brand .bn em{font-style:normal;color:var(--acc);}
.brand .bs{font-size:8px;font-weight:700;color:#b0b0b0;letter-spacing:.14em;text-transform:uppercase;}
.search{flex:1;max-width:470px;height:var(--fh);display:flex;align-items:center;border:1px solid var(--brd);
  border-radius:var(--r-pill);padding:0 4px 0 16px;background:#fff;}
.search input{flex:1;border:none;outline:none;background:none;color:var(--title);}
.search input::placeholder{color:var(--txt);}
.search button{width:34px;height:34px;border-radius:50%;background:var(--acc);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:16px;flex-shrink:0;}
.search button:hover{background:var(--acc-h);}
.hd-info{display:flex;align-items:center;gap:9px;flex-shrink:0;}
.hd-info>i{font-size:26px;color:var(--title);}
.hd-info b{display:block;font-size:12px;font-weight:700;color:var(--title);line-height:1.3;}
.hd-info span{display:block;font-size:12px;color:var(--acc-link);line-height:1.3;}
.hd-grp{display:flex;align-items:center;gap:20px;margin-left:auto;flex-shrink:0;}

/* subnav */
.sub{background:var(--acc-soft);}
.sub-in{display:flex;align-items:center;padding:9px var(--pad);max-width:var(--maxw);margin:0 auto;}
.allcat{position:relative;background:#fff;border-radius:var(--r-pill);height:36px;display:flex;
  align-items:center;gap:9px;padding:0 16px 0 3px;flex-shrink:0;cursor:pointer;}
.allcat .dot{width:30px;height:30px;border-radius:50%;background:var(--acc);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:15px;}
.allcat .lbl{font-size:12px;font-weight:700;color:var(--title);white-space:nowrap;}
.megamenu{position:absolute;top:calc(100% + 8px);left:0;z-index:60;min-width:252px;background:#fff;
  border-radius:var(--r);box-shadow:0 6px 24px rgba(0,0,0,.14);padding:8px;display:none;}
.allcat.open .megamenu{display:block;}
.megamenu a{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:6px;font-size:13px;color:var(--lnk);}
.megamenu a:hover{background:var(--acc-soft);color:var(--acc);}
.megamenu a i{font-size:17px;width:20px;text-align:center;}
.megamenu a span{margin-left:auto;font-size:11px;color:#b0b0b0;}
.sub-links{display:flex;align-items:center;}
.sub-links a{font-size:12px;color:var(--lnk);padding:0 13px;white-space:nowrap;}
.sub-links a:hover,.sub-links a.on{color:var(--acc);}
.sub-right{margin-left:auto;display:flex;align-items:center;gap:7px;flex-shrink:0;}
.sub-tag{font-size:12px;color:var(--lnk);display:flex;align-items:center;gap:4px;padding:0 5px;}
.icircle{position:relative;width:34px;height:34px;border-radius:50%;background:#fff;display:flex;
  align-items:center;justify-content:center;color:var(--title);font-size:16px;}
.icircle.blue{background:var(--acc);color:#fff;}
.icircle .n{position:absolute;top:-1px;right:-1px;min-width:16px;height:16px;padding:0 4px;
  border-radius:var(--r-pill);background:var(--title);color:#fff;font-size:9px;font-weight:700;
  display:flex;align-items:center;justify-content:center;}
.cart-amt{font-size:12px;font-weight:700;color:var(--title);margin-left:2px;white-space:nowrap;}

/* body + rail */
.wrap{display:flex;max-width:var(--maxw);margin:0 auto;}
.rail{width:46px;background:#fff;border-right:1px solid var(--brd);flex-shrink:0;display:flex;
  flex-direction:column;align-items:center;padding:10px 0;gap:4px;}
.rail a{width:32px;height:32px;border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;color:#9a9a9a;font-size:17px;}
.rail a:hover,.rail a.on{background:var(--acc-soft);color:var(--acc);}
.main{flex:1;min-width:0;padding:var(--pad);display:flex;flex-direction:column;gap:var(--gap);}

.crumb{font-size:12px;color:var(--txt);}
.crumb a{color:var(--lnk);} .crumb a:hover{color:var(--acc);}
.crumb b{color:var(--title);font-weight:400;}

.sec-hd{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;}
.sec-hd h1,.sec-hd h2{font-size:17px;letter-spacing:-.3px;}
.sec-hd .sub-t{font-size:12px;color:var(--txt);margin-top:2px;}
.page-hd{background:#fff;border-radius:var(--r);padding:24px;}
.page-hd h1{font-size:24px;letter-spacing:-.5px;margin-bottom:6px;}
.page-hd p{font-size:13px;color:var(--txt);max-width:640px;line-height:1.7;}

/* product card */
.pgrid{display:grid;background:#fff;border-radius:var(--r);overflow:hidden;}
.pgrid-5{grid-template-columns:repeat(5,1fr);}
.pgrid-4{grid-template-columns:repeat(4,1fr);}
.pgrid-3{grid-template-columns:repeat(3,1fr);}
.pc{position:relative;padding:14px 12px;border-right:1px solid var(--brd);border-bottom:1px solid var(--brd);}
.pc:hover{background:#fbfbfb;}
.pc .bdg{position:absolute;top:8px;left:12px;z-index:2;display:flex;flex-direction:column;gap:4px;}
.pc .bdg span{font-size:9px;font-weight:700;color:#fff;padding:3px 8px;border-radius:var(--r-pill);}
.b-new{background:var(--ok);} .b-hot{background:var(--hot);} .b-off{background:var(--acc);}
.pc .im{aspect-ratio:1;background:#fafafa;border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;font-size:50px;color:#d8d8d8;margin-bottom:10px;overflow:hidden;}
.pc .im img{width:100%;height:100%;object-fit:cover;}
.pc .nm{font-size:12px;font-weight:700;color:var(--title);line-height:1.35;margin-bottom:3px;}
.pc .ct{font-size:11px;color:var(--txt);margin-bottom:4px;}
.pc .st{color:var(--star);font-size:10px;letter-spacing:1.5px;margin-bottom:4px;}
.pc .ins{font-size:11px;color:var(--ok);display:flex;align-items:center;gap:3px;margin-bottom:5px;}
.pc .pr{display:flex;align-items:baseline;gap:6px;margin-bottom:3px;}
.pc .pr b{font-size:14px;font-weight:700;color:var(--acc);}
.pc .pr s{font-size:11px;color:#bbb;}
.pc .mq{font-size:10px;color:var(--txt);margin-bottom:9px;}
.pc .add{display:block;width:100%;background:var(--acc);color:#fff;font-size:11px;font-weight:700;
  padding:8px 0;border-radius:var(--r);text-align:center;}
.pc .add:hover{background:var(--acc-h);}

/* category tiles */
.cats{display:flex;gap:14px;}
.cat{flex:1;min-width:0;text-align:center;}
.cat .im{aspect-ratio:1;background:var(--pg);border-radius:var(--r);display:flex;align-items:center;
  justify-content:center;font-size:32px;color:#c8c8c8;margin-bottom:9px;transition:background .15s,color .15s;overflow:hidden;}
.cat .im img{width:100%;height:100%;object-fit:cover;}
.cat:hover .im{background:var(--acc-soft);color:var(--acc);}
.cat b{display:block;font-size:11px;font-weight:700;color:var(--title);line-height:1.3;}
.cat span{display:block;font-size:10px;color:var(--txt);}

/* tier table */
.tierbox{background:var(--acc-soft);border-radius:var(--r);padding:14px 16px;}
.tierbox h4{font-size:13px;display:flex;align-items:center;gap:7px;margin-bottom:11px;}
.tierbox h4 i{color:var(--acc);font-size:16px;}
table.tt{width:100%;border-collapse:collapse;}
table.tt th{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--txt);text-align:left;padding:0 0 7px;}
table.tt th:last-child,table.tt td:last-child{text-align:right;}
table.tt td{font-size:13px;color:var(--lnk);padding:6px 0;border-top:1px solid rgba(28,97,231,.14);}
table.tt tr.on td{color:var(--acc);font-weight:700;}

/* data tables */
table.dt{width:100%;border-collapse:collapse;}
table.dt th{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--txt);
  text-align:left;padding:10px 12px;border-bottom:1px solid var(--brd);}
table.dt td{font-size:13px;color:var(--lnk);padding:12px;border-bottom:1px solid var(--brd);vertical-align:middle;}
table.dt td b{color:var(--title);}
table.dt tr:last-child td{border-bottom:none;}
table.spec{width:100%;border-collapse:collapse;margin-bottom:6px;}
table.spec td{font-size:13px;padding:8px 0;border-bottom:1px solid var(--brd);}
table.spec td:first-child{color:var(--txt);}
table.spec td:last-child{text-align:right;color:var(--title);font-weight:700;}

.chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:4px 10px;border-radius:var(--r-pill);}
.chip-ok{background:#e8f6ec;color:#1e7a38;}
.chip-wait{background:#fff4e0;color:#96620a;}
.chip-info{background:var(--acc-soft);color:var(--acc);}
.chip-bad{background:#fdeaea;color:#a82020;}

/* qty stepper */
.qty{display:inline-flex;align-items:center;border:1px solid var(--brd);border-radius:var(--r);background:#fff;overflow:hidden;flex-shrink:0;}
.qty button{width:34px;height:44px;color:var(--title);font-size:16px;}
.qty button:hover{background:#f2f2f2;}
.qty input{width:52px;height:44px;border:none;outline:none;text-align:center;font-size:15px;font-weight:700;color:var(--title);}
.qty-sm button{height:36px;width:28px;} .qty-sm input{height:36px;width:44px;font-size:13px;}

/* hero + banners */
.hero{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:var(--gap);}
.slider{grid-row:1/3;border-radius:var(--r);background:linear-gradient(135deg,#3A2A4D,#5D3A6B);padding:38px 34px;
  min-height:300px;display:flex;flex-direction:column;justify-content:center;text-align:center;position:relative;overflow:hidden;}
.slide{display:none;} .slide.on{display:block;}
.slider h1{font-size:30px;color:#fff;letter-spacing:-.5px;margin-bottom:9px;}
.slider p{font-size:13px;color:rgba(255,255,255,.75);margin-bottom:18px;}
.slider .art{display:flex;justify-content:center;gap:14px;margin-top:24px;}
.slider .art i{font-size:52px;color:rgba(255,255,255,.22);}
.dots{display:flex;gap:5px;justify-content:center;margin-top:20px;}
.dots button{width:7px;height:7px;border-radius:var(--r-pill);background:rgba(255,255,255,.3);padding:0;}
.dots button.on{background:#fff;width:16px;}
.tile-lg{border-radius:var(--r);background:#F5E3E6;padding:26px 28px;position:relative;overflow:hidden;
  min-height:180px;display:flex;flex-direction:column;justify-content:center;}
.tile-lg h2{font-size:24px;color:rgba(36,36,36,.5);letter-spacing:-.4px;margin-bottom:14px;}
.tile-lg .art{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:82px;color:rgba(36,36,36,.1);}
.cd{display:flex;gap:8px;margin-bottom:16px;}
.cd div{background:#fff;border-radius:var(--r);padding:7px 0;min-width:46px;text-align:center;}
.cd b{display:block;font-size:17px;color:var(--title);line-height:1.1;}
.cd span{display:block;font-size:9px;color:var(--txt);}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);}
.tile-sm{border-radius:var(--r);padding:22px;position:relative;overflow:hidden;min-height:130px;}
.tile-sm.blue{background:#2F9EE6;} .tile-sm.gold{background:#F2C744;}
.tile-sm b{display:block;font-size:15px;color:#fff;margin-bottom:3px;}
.tile-sm span{display:block;font-size:12px;color:rgba(255,255,255,.85);margin-bottom:14px;}
.tile-sm.gold b{color:#4A3A08;} .tile-sm.gold span{color:rgba(74,58,8,.75);}
.tile-sm .art{position:absolute;right:14px;bottom:12px;font-size:58px;color:rgba(255,255,255,.28);}
.tile-sm.gold .art{color:rgba(74,58,8,.2);}
.banner{border-radius:var(--r);background:linear-gradient(135deg,#3A2A4D,#5D3A6B);padding:34px 36px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;}
.banner h2{font-size:24px;color:#fff;letter-spacing:-.4px;margin-bottom:8px;}
.banner p{font-size:12px;color:rgba(255,255,255,.7);line-height:1.7;max-width:340px;margin-bottom:18px;}
.tiers{display:flex;gap:10px;flex-shrink:0;}
.tiers div{background:rgba(255,255,255,.1);border-radius:var(--r);padding:16px 22px;text-align:center;}
.tiers div.on{background:var(--acc);}
.tiers span{display:block;font-size:9px;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;}
.tiers b{display:block;font-size:26px;color:#fff;line-height:1;}
.tiers em{display:block;font-size:10px;color:rgba(255,255,255,.6);font-style:normal;margin-top:2px;}
.trust{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:var(--r);}
.trust>div{display:flex;align-items:center;gap:11px;padding:18px;border-right:1px solid var(--brd);}
.trust>div:last-child{border-right:none;}
.trust i{font-size:26px;color:var(--acc);flex-shrink:0;}
.trust b{display:block;font-size:12px;color:var(--title);}
.trust span{display:block;font-size:11px;color:var(--txt);}

/* footer */
.ft{background:#fff;}
.ft-in{max-width:var(--maxw);margin:0 auto;}
.ft-locs{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:30px var(--pad);}
.ft-loc b{display:flex;align-items:center;gap:9px;font-size:15px;color:var(--title);margin-bottom:7px;}
.ft-loc b i{width:22px;height:22px;border-radius:50%;background:var(--acc);color:#fff;font-size:12px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ft-loc span{font-size:13px;color:var(--lnk);}
.ft-rule{height:1px;background:var(--brd);margin:0 var(--pad);}
.ft-cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr;gap:28px;padding:32px var(--pad) 34px;}
.ft-brand .bn{display:flex;align-items:center;gap:7px;font-size:22px;font-weight:700;color:var(--title);
  letter-spacing:-.6px;margin-bottom:11px;}
.ft-brand .bn em{font-style:normal;color:var(--acc);}
.ft-brand p{font-size:13px;color:var(--lnk);line-height:1.7;margin-bottom:20px;max-width:250px;}
.ft h4{font-size:15px;margin-bottom:12px;}
.ft h5{font-size:15px;margin-bottom:14px;}
.ft ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
.ft ul a{font-size:13px;color:var(--lnk);}
.ft ul a:hover{color:var(--acc);}
.soc{display:flex;gap:9px;}
.soc a{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;}
.s-fb{background:#3B5998;} .s-ig{background:#C13584;} .s-pin{background:#E60023;}
.s-in{background:#0A66C2;} .s-wa{background:#25D366;}
.ft-dl p{font-size:13px;color:var(--lnk);margin-bottom:14px;}
.dlbtn{display:flex;align-items:center;gap:10px;border:1px solid var(--brd);border-radius:var(--r);
  padding:10px 14px;margin-bottom:10px;background:#fff;}
.dlbtn:hover{border-color:var(--acc);}
.dlbtn>i{font-size:22px;color:var(--acc);}
.dlbtn b{display:block;font-size:12px;color:var(--title);line-height:1.3;}
.dlbtn span{display:block;font-size:11px;color:var(--lnk);line-height:1.3;}
.pays{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;}
.pays em{font-size:11px;font-style:normal;color:var(--lnk);border:1px solid var(--brd);padding:4px 10px;border-radius:var(--r-pill);}
.ft-btm{border-top:1px solid var(--brd);padding:16px var(--pad);display:flex;justify-content:space-between;
  align-items:center;gap:16px;flex-wrap:wrap;}
.ft-btm span{font-size:12px;color:#8a8a8a;}
.ft-btm nav{display:flex;gap:16px;}
.ft-btm nav a{font-size:12px;color:var(--lnk);}
.ft-btm nav a:hover{color:var(--acc);}

.wa{position:fixed;bottom:20px;right:20px;z-index:80;width:48px;height:48px;border-radius:50%;
  background:#25D366;color:#fff;font-size:24px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.22);}
.wa:hover{transform:scale(1.06);}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(140%);z-index:200;
  background:var(--title);color:#fff;font-size:13px;font-weight:700;padding:13px 22px;border-radius:var(--r);
  box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .25s;display:flex;align-items:center;gap:9px;}
.toast.show{transform:translateX(-50%) translateY(0);}

/* responsive */
@media (max-width:1200px){
  .ft-cols{grid-template-columns:1fr 1fr 1fr;}
  .pgrid-5{grid-template-columns:repeat(4,1fr);}
  .grid-side{grid-template-columns:1fr;}
}
@media (max-width:1024px){
  .hd-grp .hd-info:nth-child(2){display:none;}
  .hero{grid-template-columns:1fr;grid-template-rows:auto;}
  .slider{grid-row:auto;}
  .trust{grid-template-columns:1fr 1fr;}
  .trust>div:nth-child(2){border-right:none;}
  .ft-locs{grid-template-columns:1fr 1fr;}
  .cats{flex-wrap:wrap;} .cat{flex:0 0 calc(25% - 11px);}
}
@media (max-width:860px){
  :root{--pad:14px;--gap:14px;}
  .rail{display:none;}
  .sub-links,.sub-right .sub-tag{display:none;}
  .hd-grp .hd-info{display:none;}
  .search{max-width:none;}
  .pgrid-5,.pgrid-4{grid-template-columns:repeat(2,1fr);}
  .ft-cols{grid-template-columns:1fr 1fr;}
  .banner{flex-direction:column;align-items:flex-start;}
  .tiers{width:100%;} .tiers div{flex:1;}
  .grid2{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .hd-in{flex-wrap:wrap;}
  .search{order:3;flex-basis:100%;}
  .pair{grid-template-columns:1fr;}
  .cat{flex:0 0 calc(33.333% - 10px);}
  .trust{grid-template-columns:1fr;}
  .trust>div{border-right:none;border-bottom:1px solid var(--brd);}
  .ft-locs,.ft-cols{grid-template-columns:1fr;}
  .inp-row{grid-template-columns:1fr;}
  .pgrid-5,.pgrid-4,.pgrid-3{grid-template-columns:1fr;}
}

/* ── B2C Additions (on top of B2B base styles) ──────────── */

/* Alert boxes */
.alert { padding: 12px 16px; border-radius: var(--r); font-size: 13px; margin-bottom: 16px; }
.alert-success { background: #e8f6ec; color: #1e7a38; border: 1px solid #c3e6cb; }
.alert-danger, .alert-error { background: #fdeaea; color: #a82020; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff4e0; color: #96620a; }

/* Flash messages */
.flash { font-size: 13px; font-weight: 600; }
.flash-container { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; justify-content: space-between; }
.flash-success { background: #e8f6ec; color: #1e7a38; border-bottom: 2px solid var(--ok); }
.flash-error { background: #fdeaea; color: #a82020; border-bottom: 2px solid var(--hot); }
.flash-info { background: var(--acc-soft); color: var(--acc); border-bottom: 2px solid var(--acc); }
.flash-close { background: none; border: none; cursor: pointer; font-size: 18px; color: inherit; padding: 0 4px; }

/* Page hero (blue bar for inner pages) */
.page-hd { background: var(--acc); padding: 18px var(--pad); }
.page-hd h1 { font-size: 20px; color: #fff; margin-bottom: 3px; }
.page-hd p { font-size: 12px; color: rgba(255,255,255,.8); }

/* Breadcrumb */
.crumb, .breadcrumb { font-size: 12px; color: var(--txt); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; padding: 12px 0; }
.crumb a, .breadcrumb a { color: var(--lnk); }
.crumb a:hover, .breadcrumb a:hover { color: var(--acc); }
.breadcrumb-sep { color: #bbb; }
.breadcrumb-current { color: var(--title); }

/* Product wish button */
.product-wish { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--brd); cursor: pointer; color: var(--txt); z-index: 2; transition: all .15s; }
.product-wish:hover, .product-wish.active { color: var(--hot); border-color: var(--hot); }
.product-wish.active svg { fill: var(--hot); }

/* Stock status */
.stock-ok { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ok); font-weight: 600; margin-bottom: 6px; }
.stock-out { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--hot); font-weight: 600; margin-bottom: 6px; }

/* Cart layout */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--gap); align-items: start; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--brd); align-items: flex-start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--r); overflow: hidden; background: var(--pg); border: 1px solid var(--brd); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--title); margin-bottom: 4px; }
.cart-item-sku { font-size: 11px; color: var(--txt); margin-bottom: 8px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--acc); }
.order-summary { position: sticky; top: 80px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 16px; color: var(--acc); }
.summary-gst { color: var(--txt); font-size: 11px; margin-top: 4px; }

/* Account layout */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--gap); align-items: start; }
.account-nav-link { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--r); font-size: 13px; font-weight: 600; color: var(--lnk); text-decoration: none; transition: all .15s; margin-bottom: 2px; }
.account-nav-link:hover, .account-nav-link.active { background: var(--acc-soft); color: var(--acc); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.blog-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--brd); transition: box-shadow .15s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--pg); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 16px; }
.blog-meta { font-size: 11px; color: var(--txt); margin-bottom: 6px; }
.blog-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.blog-title a { color: var(--title); }
.blog-title a:hover { color: var(--acc); }
.blog-excerpt { font-size: 12px; color: var(--txt); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Reviews */
.review-card { padding: 16px 0; border-bottom: 1px solid var(--brd); }
.review-card:last-child { border-bottom: none; }
.reviewer-name { font-weight: 700; font-size: 13px; color: var(--title); }
.review-date { font-size: 11px; color: var(--txt); }
.review-stars { color: var(--star); font-size: 13px; margin: 4px 0; }
.review-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; color: var(--title); }
.review-body { font-size: 13px; color: var(--lnk); }
.star-rating { display: flex; gap: 4px; }
.star { font-size: 24px; color: #d8d8d8; cursor: pointer; transition: color .1s; }
.star.active, .star.hover { color: var(--star); }

/* Empty state */
.empty-state { text-align: center; padding: 48px 20px; color: var(--txt); }
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { color: var(--title); margin-bottom: 8px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.page-btn { padding: 7px 13px; border-radius: var(--r); font-size: 12px; border: 1px solid var(--brd); background: #fff; color: var(--lnk); cursor: pointer; text-decoration: none; transition: all .15s; font-weight: 600; }
.page-btn:hover, .page-btn.active { background: var(--acc); color: #fff; border-color: var(--acc); }

/* Chips / badges */
.chip, .badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); }
.chip-ok, .badge-success { background: #e8f6ec; color: #1e7a38; }
.chip-wait, .badge-warning { background: #fff4e0; color: #96620a; }
.chip-info, .badge-info { background: var(--acc-soft); color: var(--acc); }
.chip-bad, .badge-danger { background: #fdeaea; color: #a82020; }
.badge-gray { background: #f3f4f6; color: #374151; }
.badge-purple { background: #ede9fe; color: #5b21b6; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--txt); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--brd); background: #fafafa; }
.data-table td { font-size: 13px; color: var(--lnk); padding: 12px; border-bottom: 1px solid var(--brd); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }

/* Qty stepper */
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--brd); border-radius: var(--r); background: #fff; overflow: hidden; flex-shrink: 0; }
.qty-btn { width: 36px; height: 44px; color: var(--title); font-size: 18px; border: none; background: #fff; cursor: pointer; }
.qty-btn:hover { background: #f2f2f2; }
.qty-input { width: 52px; height: 44px; border: none; border-left: 1px solid var(--brd); border-right: 1px solid var(--brd); outline: none; text-align: center; font-size: 15px; font-weight: 700; color: var(--title); }

/* Form group alias */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--title); margin-bottom: 6px; }
.form-control { width: 100%; height: var(--fh); padding: 0 14px; background: #fff; border: 1px solid var(--brd); border-radius: var(--r); color: var(--title); outline: none; transition: border-color .15s; font-family: inherit; font-size: 13px; }
textarea.form-control { height: auto; padding: 11px 14px; min-height: 110px; resize: vertical; }
select.form-control { height: var(--fh); }
.form-control:focus { border-color: var(--acc); }
.form-hint { font-size: 11px; color: var(--txt); margin-top: 5px; }
.form-error { font-size: 11px; color: var(--hot); margin-top: 5px; }

/* Btn aliases */
.btn-full { width: 100%; }
.btn-danger { background: var(--hot); color: #fff; }
.btn-danger:hover { background: #c62828; }
.btn-outline-sm { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r); font-size: 12px; font-weight: 700; border: 1px solid var(--acc); color: var(--acc); background: #fff; text-decoration: none; }
.btn-outline-sm:hover { background: var(--acc-soft); }

/* Footer extras */
.footer-b2b { margin-top: 16px; }
.footer-b2b p { font-size: 12px; color: var(--txt); margin-bottom: 8px; }
.footer-gst { font-size: 12px; color: #8a8a8a; }

/* Responsive additions */
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Compatibility for secondary pages (cart, checkout, account, etc.) ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 32px 0; }
.page-hero { background: var(--acc); padding: 22px var(--pad); }
.page-hero h1 { color: #fff; font-size: 21px; margin-bottom: 4px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 13px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }
