/* =========================================================================
   Storefront (Phase 6) — Apple-Gadgets-style theme.
   Brand = NPK International: ORANGE primary CTA, GREEN secondary accent
   (matched from the NPK International logo/Facebook page), RED price/discount
   emphasis. Self-contained: no framework dependency. Mobile-first responsive.
   NOTE: --blue is intentionally aliased to the orange primary so legacy
   inline `var(--blue)` links across the shop blades adopt the accent colour.
   --amber keeps its name for minimal diff across ~40 call sites, but now
   holds the brand GREEN (was amber #f59e0b) so logo badge / hover accents
   pick up the logo's green instead of yellow.
   ========================================================================= */
:root{
  --primary:#f06018; --primary-d:#d14e0e;
  --blue:#f06018; --blue-d:#d14e0e;          /* alias → primary */
  --red:#e11d48; --red-d:#be123c;            /* out-of-stock / danger */
  --price:#e30613;                            /* price + discount emphasis */
  --amber:#2e7d32;
  --ink:#17181c; --muted:#6b7280; --line:#e6e8eb; --bg:#f4f5f7; --card:#fff;
  --ok:#16a34a; --warn:#d97706;
  --radius:12px; --shadow:0 1px 3px rgba(16,24,40,.06);
  --shadow-md:0 6px 18px rgba(16,24,40,.10);
  --shadow-lg:0 14px 34px rgba(16,24,40,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter','Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:100%;max-width:1240px;margin:0 auto;padding:0 16px}
@media (min-width:1440px){
    .container{max-width:1440px;padding-right:3rem;padding-left:3rem}
}
.hidden{display:none!important}
[x-cloak]{display:none!important}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;
  border-radius:10px;padding:10px 18px;font-weight:700;font-size:14px;cursor:pointer;transition:.15s;background:none;line-height:1.2}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(240,96,24,.28)}
.btn-primary:hover{background:var(--primary-d)}
.btn-red{background:#111827;color:#fff}.btn-red:hover{background:#000}
.btn-outline{border-color:var(--line);color:var(--ink);background:#fff}
.btn-outline:hover{border-color:var(--primary);color:var(--primary)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink)}
.btn-block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.btn-sm{padding:8px 12px;font-size:13px}
.btn-lg{padding:13px 26px;font-size:15px}

/* ---------------------------------------------------------------- announcement bar */
.topbar{background:var(--ink);color:#cbd0d8;font-size:12.5px}
.topbar .container{display:flex;justify-content:space-between;align-items:center;min-height:36px;gap:16px;flex-wrap:wrap}
.topbar a{color:#cbd0d8}.topbar a:hover{color:#fff}
.topbar .promo{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.topbar .promo b{color:#fff}
.topbar .promo .dot{color:var(--amber)}
.topbar .links{display:flex;gap:16px;align-items:center}
@media(max-width:640px){.topbar .promo span:not(:first-child){display:none}}

/* ---------------------------------------------------------------- header */
.site-head{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.site-head .container{display:flex;align-items:center;gap:20px;height:74px}
.nav-toggle{display:none;border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--ink);padding:0 4px}
.brand{font-size:22px;font-weight:800;letter-spacing:-.5px;display:flex;align-items:center;gap:9px;white-space:nowrap}
.brand .logo-badge{background:linear-gradient(135deg,var(--primary),var(--amber));color:#fff;width:36px;height:36px;
  border-radius:10px;display:grid;place-items:center;font-size:19px}
.brand img{height:42px;width:auto}
.searchbox{flex:1;position:relative;max-width:620px}
.searchbox form{display:flex;border:2px solid var(--primary);border-radius:11px;overflow:hidden;background:#fff}
.searchbox input{flex:1;border:0;padding:11px 15px;font-size:14px;outline:none;background:transparent}
.searchbox button{border:0;background:var(--primary);color:#fff;padding:0 20px;cursor:pointer;font-size:16px}
.searchbox button:hover{background:var(--primary-d)}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:var(--shadow-lg);overflow:hidden;z-index:70}
.suggest a{display:flex;gap:12px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line)}
.suggest a:last-child{border-bottom:0}.suggest a:hover{background:var(--bg)}
.suggest img{width:42px;height:42px;object-fit:contain;border-radius:6px;border:1px solid var(--line)}
.suggest .s-name{font-weight:600;font-size:14px}.suggest .s-price{color:var(--price);font-weight:800;font-size:13px}
.head-actions{display:flex;align-items:center;gap:18px;margin-left:auto}
.icon-link{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--muted);position:relative}
.icon-link .ico{font-size:23px;line-height:1;color:var(--ink)}
.icon-link:hover .ico,.icon-link:hover{color:var(--primary)}
.cart-count{position:absolute;top:-6px;right:-11px;background:var(--price);color:#fff;font-size:11px;font-weight:700;
  min-width:19px;height:19px;border-radius:10px;display:grid;place-items:center;padding:0 5px}

/* account dropdown */
.acct{position:relative}
.acct-menu{position:absolute;right:0;top:calc(100% + 12px);background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:var(--shadow-lg);min-width:210px;padding:6px;z-index:70}
.acct-menu a,.acct-menu button{display:flex;width:100%;text-align:left;gap:8px;padding:9px 12px;border-radius:8px;
  font-size:14px;border:0;background:none;cursor:pointer;color:var(--ink)}
.acct-menu a:hover,.acct-menu button:hover{background:var(--bg);color:var(--primary)}
.acct-menu .divider{height:1px;background:var(--line);margin:4px 0}

/* ---------------------------------------------------------------- mega nav */
.mega{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:50}
.mega .container{display:flex;gap:2px;align-items:stretch}
.mega .m-item{position:relative}
.mega .m-link{display:flex;align-items:center;gap:7px;padding:13px 15px;font-weight:600;font-size:14px;color:var(--ink);
  border-bottom:2px solid transparent;white-space:nowrap}
.mega .m-link:hover,.mega .m-item.active>.m-link{color:var(--primary);border-color:var(--primary)}
.mega .m-cats>.m-link{background:var(--primary);color:#fff;border-radius:8px 8px 0 0}
.mega .m-cats>.m-link:hover{background:var(--primary-d);border-color:transparent}
/* wide mega panel */
.mega .panel{position:absolute;left:0;top:100%;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;
  box-shadow:var(--shadow-lg);z-index:55;padding:0;overflow:hidden}
.mega .panel.wide{display:grid;grid-template-columns:230px 1fr;min-width:720px;max-width:860px}
.mega .panel .col-cats{background:var(--bg);border-right:1px solid var(--line);padding:10px 8px}
.mega .panel .col-cats a{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:600;color:var(--ink)}
.mega .panel .col-cats a:hover{background:#fff;color:var(--primary);box-shadow:var(--shadow)}
.mega .panel .col-cats a .ci{font-size:16px;width:20px;text-align:center}
.mega .panel .col-brands{padding:16px 20px}
.mega .panel .col-brands h5{margin:0 0 12px;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}
.mega .panel .brand-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 18px}
.mega .panel .brand-cols a{padding:7px 10px;border-radius:7px;font-size:14px;font-weight:500;color:var(--ink)}
.mega .panel .brand-cols a:hover{background:var(--bg);color:var(--primary)}
/* simple dropdown panel */
.mega .panel.simple{min-width:260px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.mega .panel.simple a{padding:8px 11px;border-radius:7px;font-size:14px;font-weight:500}
.mega .panel.simple a:hover{background:var(--bg);color:var(--primary)}
.mega .spacer{flex:1}
.mega .m-hot>.m-link{color:var(--price)}
@media(max-width:960px){.mega{display:none}}

/* ---------------------------------------------------------------- mobile nav */
.m-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:90}
.mobile-nav{position:fixed;top:0;left:0;bottom:0;width:82%;max-width:340px;background:#fff;z-index:95;overflow-y:auto;
  box-shadow:var(--shadow-lg);transform:translateX(0)}
.mobile-nav .mn-head{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--line);
  font-weight:800;font-size:16px}
.mobile-nav .mn-close{border:0;background:none;font-size:24px;cursor:pointer;line-height:1}
.mobile-nav .mn-sec{padding:12px 16px;border-bottom:1px solid var(--line)}
.mobile-nav .mn-sec h6{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.mobile-nav .mn-sec a{display:block;padding:9px 6px;font-size:14.5px;font-weight:600;color:var(--ink)}
.mobile-nav .mn-sec a:hover{color:var(--primary)}
.mobile-nav .mn-sec.links a{font-weight:500}

/* ---------------------------------------------------------------- alerts */
.flash{margin:14px 0;display:grid;gap:8px}
.alert{padding:12px 16px;border-radius:10px;font-size:14px;font-weight:500}
.alert-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}

/* ---------------------------------------------------------------- hero slider */
.hero-wrap{margin:18px 0 8px}
.hero-slider{position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-md)}
.hero-slider .slide{display:none;align-items:center;min-height:340px;padding:44px 52px;color:#fff;position:relative}
.hero-slider .slide.is-active{display:flex}
.hero-slider .slide .s-copy{max-width:520px;position:relative;z-index:2}
.hero-slider .slide .eyebrow{font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;opacity:.9;margin-bottom:10px}
.hero-slider .slide h1{font-size:38px;line-height:1.1;margin:0 0 12px;font-weight:800;letter-spacing:-.5px}
.hero-slider .slide p{font-size:16px;opacity:.94;margin:0 0 22px;max-width:440px}
.hero-slider .slide .btn{background:#fff;color:var(--ink)}
.hero-slider .slide .btn:hover{background:var(--amber);color:#fff}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;background:rgba(255,255,255,.85);border:0;
  width:42px;height:42px;border-radius:50%;font-size:20px;cursor:pointer;display:grid;place-items:center;color:var(--ink);box-shadow:var(--shadow)}
.hero-arrow:hover{background:#fff}
.hero-arrow.prev{left:14px}.hero-arrow.next{right:14px}
.hero-dots{position:absolute;bottom:16px;left:52px;display:flex;gap:8px;z-index:5}
.hero-dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.hero-dots button.on{background:#fff;width:26px;border-radius:6px}
@media(max-width:700px){
  .hero-slider .slide{min-height:240px;padding:28px 24px}
  .hero-slider .slide h1{font-size:26px}
  .hero-dots{left:24px}
}

/* ---------------------------------------------------------------- trust bar */
.trust-bar{background:#fff;border:1px solid var(--line);border-radius:14px;margin:18px 0;padding:8px;
  display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.trust-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:10px}
.trust-item .ti-ico{font-size:26px;line-height:1}
.trust-item .ti-t{font-weight:700;font-size:14px}
.trust-item .ti-s{font-size:12px;color:var(--muted)}
.trust-item+.trust-item{border-left:1px solid var(--line)}
@media(max-width:900px){.trust-bar{grid-template-columns:repeat(2,1fr)}.trust-item+.trust-item{border-left:0}}
@media(max-width:460px){.trust-bar{grid-template-columns:1fr}}

/* section heads */
.section{margin:34px 0}
.sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}
.sec-head h2{font-size:21px;font-weight:800;margin:0;display:flex;align-items:center;gap:10px}
.sec-head h2::before{content:"";width:5px;height:22px;background:var(--primary);border-radius:3px}
.sec-head a{color:var(--primary);font-weight:700;font-size:14px;white-space:nowrap}
.sec-head a:hover{color:var(--primary-d)}

/* tabbed carousels */
.tab-head{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;border-bottom:1px solid var(--line)}
.tab-btn{border:0;background:none;padding:11px 4px;margin-right:14px;font-weight:700;font-size:15px;color:var(--muted);cursor:pointer;
  border-bottom:3px solid transparent;transition:.15s}
.tab-btn.on{color:var(--primary);border-color:var(--primary)}
.tab-btn:hover{color:var(--ink)}

/* category grid */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}
.cat-tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 12px;text-align:center;
  font-weight:700;font-size:13px;color:var(--ink);transition:.15s;display:flex;flex-direction:column;align-items:center;gap:10px}
.cat-tile:hover{border-color:var(--primary);color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.cat-tile .ci{font-size:30px;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#fff7ed,#ffedd5)}
.cat-tile:hover .ci{background:linear-gradient(135deg,#ffedd5,#fed7aa)}

/* product grid + cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px}
.p-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;
  flex-direction:column;transition:.15s;position:relative}
.p-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:#fed7aa}
.p-card .thumb{aspect-ratio:1;background:#fff;padding:16px;display:grid;place-items:center;position:relative}
.p-card .thumb img{max-height:100%;object-fit:contain;transition:.2s}
.p-card:hover .thumb img{transform:scale(1.04)}
.p-card .body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:7px;flex:1}
.p-card .cat{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}
.p-card .name{font-weight:600;font-size:14px;color:var(--ink);line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.p-card .name:hover{color:var(--primary)}
.p-card .price{font-size:18px;font-weight:800;color:var(--price);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.p-card .price .was{font-size:13px;color:var(--muted);font-weight:600;text-decoration:line-through}
.p-card .emi{font-size:11px;color:var(--muted)}
.dots{display:flex;gap:5px;margin-top:2px}
.dots i{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.15);display:inline-block}
.dots .more{font-size:11px;color:var(--muted);font-weight:600}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;width:fit-content}
.badge-in{background:#ecfdf5;color:var(--ok)} .badge-out{background:#fef2f2;color:var(--red)}
.p-card .act{margin-top:auto;padding-top:6px}
.tag-deal{position:absolute;top:10px;left:10px;background:var(--price);color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;z-index:2}
.tag-new{position:absolute;top:10px;right:10px;background:var(--primary);color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;z-index:2}

/* carousel strip */
.strip{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.strip>.p-card{min-width:215px;max-width:215px;scroll-snap-align:start}
.strip::-webkit-scrollbar{height:8px}.strip::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:8px}

/* brand strip / chips */
.brand-chips{display:flex;gap:12px;flex-wrap:wrap}
.brand-chip{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 26px;font-weight:800;font-size:15px;
  color:var(--ink);min-width:120px;text-align:center;transition:.15s}
.brand-chip:hover{border-color:var(--primary);color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}

/* promo banners + seo block */
.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:34px 0}
@media(max-width:700px){.promo-grid{grid-template-columns:1fr}}
.promo-card{border-radius:16px;padding:34px 32px;color:#fff;position:relative;overflow:hidden;min-height:160px;display:flex;flex-direction:column;justify-content:center}
.promo-card h3{margin:0 0 8px;font-size:22px;font-weight:800}
.promo-card p{margin:0 0 16px;opacity:.92;font-size:14px}
.promo-card .btn{background:#fff;color:var(--ink);align-self:flex-start}
.seo-block{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px 30px;margin:34px 0;color:#4b5563;font-size:14px;line-height:1.7}
.seo-block h2{font-size:19px;color:var(--ink);margin:0 0 10px}

/* ---------------------------------------------------------------- listing */
.shop-layout{display:grid;grid-template-columns:250px 1fr;gap:24px;margin:22px 0}
@media(max-width:860px){.shop-layout{grid-template-columns:1fr}}
.filters{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;align-self:start}
.filters h3{font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin:0 0 10px}
.filters .fgroup{margin-bottom:18px}
.filters label{display:block;font-size:14px;padding:5px 0;cursor:pointer}
.filters select,.filters input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:9px;font-size:14px;margin-bottom:8px}
.filters select:focus,.filters input:focus{border-color:var(--primary);outline:none}
.price-row{display:flex;gap:8px}
.listing-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}
.listing-top .count{color:var(--muted);font-size:14px}
.listing-top select{padding:8px 12px;border:1px solid var(--line);border-radius:9px;font-size:14px}
.page-title{font-size:24px;font-weight:800;margin:18px 0 4px}

/* pagination */
.pager{display:flex;justify-content:center;margin:26px 0}
.pager nav>div>span,.pager a,.pager span{display:inline}
.pager svg{width:16px;height:16px}

/* ---------------------------------------------------------------- product detail */
.crumbs{font-size:13px;color:var(--muted);margin:16px 0}
.crumbs a:hover{color:var(--primary)}
.pd{display:grid;grid-template-columns:minmax(0,1fr) 1fr;gap:36px;margin-bottom:30px;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:26px}
@media(max-width:860px){.pd{grid-template-columns:1fr;padding:18px}}
.pd .main-img{background:#fff;border:1px solid var(--line);border-radius:var(--radius);aspect-ratio:1;display:grid;place-items:center;padding:26px}
.pd .main-img img{max-height:100%;object-fit:contain}
.pd .thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.pd .thumbs img{width:66px;height:66px;object-fit:contain;border:1px solid var(--line);border-radius:9px;padding:5px;cursor:pointer;background:#fff}
.pd .thumbs img.active{border-color:var(--primary);box-shadow:0 0 0 2px #ffedd5}
.pd h1{font-size:26px;font-weight:800;margin:0 0 8px;line-height:1.25}
.pd .meta{color:var(--muted);font-size:14px;margin-bottom:16px}
.pd .meta a:hover{color:var(--primary)}
.pd .price-lg{font-size:32px;font-weight:800;color:var(--price);margin:8px 0}
.pd .price-lg .was{font-size:17px;color:var(--muted);text-decoration:line-through;font-weight:600;margin-left:10px}
.pd .emi-note{font-size:13px;color:var(--muted);margin:-2px 0 10px}
.attr-group{margin:14px 0}
.attr-group .attr-label{font-size:13px;font-weight:600;color:#334155;margin-bottom:8px}
.swatches{display:flex;gap:10px;flex-wrap:wrap;margin:0}
.swatch{display:flex;align-items:center;gap:7px;border:1.5px solid var(--line);border-radius:30px;padding:6px 14px 6px 8px;cursor:pointer;font-size:13px;font-weight:600;background:#fff}
.swatch i{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.15)}
.swatch.on{border-color:var(--primary);background:#fff7ed;color:var(--primary-d)}
.swatch.off{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;width:fit-content;overflow:hidden}
.qty button{border:0;background:#f1f5f9;width:40px;height:42px;font-size:18px;cursor:pointer}
.qty button:hover{background:#e5e7eb}
.qty input{width:54px;height:42px;border:0;text-align:center;font-size:15px;font-weight:600;outline:none}
.buy-row{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}
.buy-row .btn{flex:1;min-width:150px}
.delivery-callout{border:1px dashed var(--primary);background:#fff7ed;border-radius:12px;padding:14px 16px;margin:16px 0}
.delivery-callout .dc-row{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#7c2d12}
.delivery-callout .dc-row+.dc-row{margin-top:8px}
.delivery-callout .dc-ico{font-size:18px}
.pd-tabs{margin-top:26px}
.pd-tabs .tab-head{margin-bottom:0}
.spec-box{background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 var(--radius) var(--radius);padding:20px}
.spec-box .spec{white-space:pre-line;color:#334155;font-size:14px}
.spec-box .no-spec{color:var(--muted);font-size:14px}

/* ---------------------------------------------------------------- cart / checkout / forms */
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.two-col{display:grid;grid-template-columns:1fr 340px;gap:24px;margin:22px 0;align-items:start}
@media(max-width:860px){.two-col{grid-template-columns:1fr}}
.cart-line{display:grid;grid-template-columns:70px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-line:last-child{border-bottom:0}
.cart-line img{width:70px;height:70px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}
.cart-line .ln-name{font-weight:600}
.cart-line .ln-meta{font-size:13px;color:var(--muted)}
.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}
.summary-row.total{font-size:18px;font-weight:800;border-top:1px solid var(--line);margin-top:8px;padding-top:14px}
.summary-row.total span:last-child{color:var(--price)}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#334155}
.field input,.field textarea,.field select{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:10px;font-size:14px;outline:none}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary)}
.field .err{color:var(--red);font-size:12px;margin-top:4px}
.pay-opt{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--line);border-radius:11px;padding:12px 14px;margin-bottom:10px;cursor:pointer}
.pay-opt.on{border-color:var(--primary);background:#fff7ed}
.pay-note{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px 14px;font-size:13px;color:#92400e;margin-top:8px}

/* auth card */
.auth-wrap{max-width:440px;margin:40px auto}
.auth-wrap .panel{padding:30px}
.auth-wrap h1{font-size:22px;margin:0 0 6px;text-align:center}
.auth-wrap .sub{text-align:center;color:var(--muted);font-size:14px;margin-bottom:22px}
.auth-wrap .alt{text-align:center;margin-top:16px;font-size:14px;color:var(--muted)}
.auth-wrap .alt a{color:var(--primary);font-weight:600}

/* account */
.acct-grid{display:grid;grid-template-columns:230px 1fr;gap:24px;margin:22px 0;align-items:start}
@media(max-width:760px){.acct-grid{grid-template-columns:1fr}}
.acct-nav{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:8px}
.acct-nav a{display:block;padding:11px 14px;border-radius:9px;font-weight:600;font-size:14px}
.acct-nav a.on,.acct-nav a:hover{background:#fff7ed;color:var(--primary)}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th,.table td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line)}
.table th{font-size:12px;text-transform:uppercase;color:var(--muted);letter-spacing:.4px}
.pill{font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px;text-transform:capitalize}
.pill.warning{background:#fffbeb;color:var(--warn)} .pill.success{background:#ecfdf5;color:var(--ok)} .pill.danger{background:#fef2f2;color:var(--red)}

/* empty */
.empty{text-align:center;padding:60px 20px;color:var(--muted)}
.empty .big{font-size:44px;margin-bottom:10px}

/* ---------------------------------------------------------------- our shops strip (contact page + above footer) */
.shop-locations{padding:32px 0 8px}
.shop-locations .sl-title{font-size:18px;font-weight:800;margin:0 0 14px;color:var(--ink)}
.shop-strip-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}
.shop-strip{display:flex;gap:16px}
.shop-strip.is-compact{flex-wrap:wrap;justify-content:center}
.shop-card{flex:0 0 250px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;box-shadow:var(--shadow)}
.shop-card .sc-name{font-weight:800;font-size:15px;margin-bottom:8px;display:flex;align-items:center;gap:6px;color:var(--ink)}
.shop-card .sc-line{font-size:13px;color:var(--muted);display:flex;gap:6px;align-items:flex-start;margin-bottom:6px;line-height:1.4}
.shop-card .sc-line a{color:var(--ink)}
.shop-card .sc-line a:hover{color:var(--primary)}
.shop-card .sc-map-link{display:inline-flex;align-items:center;gap:6px;margin-top:2px;font-size:12.5px;font-weight:700;color:var(--primary)}
.shop-card .sc-map-link:hover{color:var(--primary-d);text-decoration:underline}
@media(max-width:520px){.shop-card{flex:0 0 220px}}

/* Contact page embedded map */
.contact-map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.contact-map iframe{width:100%;height:320px;border:0;display:block}
@media(max-width:640px){.contact-map iframe{height:240px}}

/* footer */
.site-foot{background:var(--ink);color:#aeb4be;margin-top:56px}
.foot-top{border-bottom:1px solid #262932;padding:26px 0}
.foot-top .container{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:760px){.foot-top .container{grid-template-columns:1fr}}
.foot-feature{display:flex;gap:12px;align-items:center}
.foot-feature .ff-ico{font-size:26px}
.foot-feature .ff-t{color:#fff;font-weight:700;font-size:14px}
.foot-feature .ff-s{font-size:12px}
.site-foot .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:28px;padding:40px 0 10px}
@media(max-width:860px){.site-foot .cols{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.site-foot .cols{grid-template-columns:1fr}}
.site-foot h4{color:#fff;font-size:15px;margin:0 0 14px}
.site-foot p{margin:0 0 8px;font-size:14px;color:#aeb4be;max-width:320px}
.site-foot a{display:block;color:#aeb4be;padding:4px 0;font-size:14px}
.site-foot a:hover{color:var(--amber)}
.foot-social{display:flex;gap:10px;margin-top:12px}
.foot-social a{width:38px;height:38px;border-radius:9px;background:#262932;display:grid;place-items:center;font-size:17px;padding:0}
.foot-social a:hover{background:var(--primary);color:#fff}
.app-badges{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.app-badge{display:flex;align-items:center;gap:10px;background:#262932;border-radius:9px;padding:8px 14px;color:#fff}
.app-badge .ico{font-size:20px}.app-badge small{color:#9ca3af;font-size:11px;display:block}
.foot-store{border-left:2px solid var(--primary);padding-left:12px;margin-bottom:12px}
.foot-store b{color:#fff;font-size:13.5px;display:block}
.foot-store span{font-size:12.5px}
.site-foot .copy{border-top:1px solid #262932;padding:16px 0;font-size:13px;color:#7f8794;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pay-marks{display:flex;gap:8px;align-items:center}
.pay-marks span{background:#262932;border-radius:6px;padding:3px 9px;font-size:11px;font-weight:700;color:#cbd0d8}

/* stepper qty on cart */
.mini-qty{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.mini-qty button{border:0;background:#f1f5f9;width:30px;height:32px;cursor:pointer}
.mini-qty input{width:42px;border:0;text-align:center;outline:none}
.link-danger{color:var(--red);font-size:13px;background:none;border:0;cursor:pointer;padding:0;margin-top:6px}

/* responsive header */
@media(max-width:960px){
  .nav-toggle{display:block}
  .site-head .container{gap:12px;height:64px}
  .head-actions{gap:14px}
  .icon-link span:not(.ico):not(.cart-count){display:none}
}
@media(max-width:520px){
  .brand span:not(.logo-badge){display:none}
  .searchbox{max-width:none}
}
