/* ============================================================
   COMPUTER WORLD — Design System · "COUNTER"
   Warm paper page, ink shell, one signal red, serif editorial voice.
   Hand-built, no framework. Light (primary) + dark.

   Lineage — every device here is lifted from one of four shops:
     gpuheaven.com  · condition badges, mega-menu opener, category nav row,
                      buy-back CTA, policy terms strip
     avikaretails   · the RAIL FORMULA (head + advisory copy + browse pill
                      + grid), warranty chip, trust strip, search-first header
     lapalfa.com    · absolute-rupee SAVE badge, conversational category cards,
                      photo hover-swap, tinted page wash, full-bleed brand band
     maxtreo (ours) · fly-to-cart, stagger reveal, pill search, sticky summary
   ============================================================ */

/* ---------- Fonts ----------
   Served from this site, not Google Fonts, so there are no extra
   connections. "optional" means a face that is not ready for the first
   paint is skipped for that page view instead of swapped in later: a late
   swap re-wraps the headline and shoves the page. The file is cached by
   then, so the next page uses it. Neither family has a ₹ glyph, so that
   one character is left to the system font and latin-ext is not fetched
   for it (U+20B9 is cut out of the range below).
   Deliberately NOT preloaded: Chrome treats a preloaded font as
   render-blocking, and in Lighthouse that held the homepage's first paint
   back by about a second. SIL Open Font License, see fonts/LICENSE.txt. */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:optional;
  src:url(fonts/instrument-sans-latin-ext.woff2?v=c4fcfea4) format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:optional;
  src:url(fonts/instrument-sans-latin.woff2?v=2ee17598) format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:500;font-display:optional;
  src:url(fonts/newsreader-italic-latin-ext.woff2?v=c4ede540) format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:500;font-display:optional;
  src:url(fonts/newsreader-italic-latin.woff2?v=3d184d57) format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:optional;
  src:url(fonts/newsreader-latin-ext.woff2?v=9b553af5) format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:optional;
  src:url(fonts/newsreader-latin.woff2?v=5613e2fc) format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
  /* --- surfaces: warm paper, never flat white (lapalfa's tinted wash) --- */
  --paper:#FBF8F4;
  --surface:#FFFFFF;
  --surface-2:#F5F0E9;
  --tile:#F2EDE5;          /* product image bed — bad phone photos sit on this */
  --panel:#FFFDFA;

  /* --- ink scale: warm near-black, four real steps so things can recede --- */
  --ink:#17140F;
  --ink-2:#2E2820;
  --muted:#6E6558;
  --faint:#9C9285;
  --line:#EAE3D8;
  --line-2:#DCD2C3;

  /* --- ONE signal colour. gpuheaven has six unrelated reds; we have one. --- */
  --red:#C8102E;
  --red-deep:#A20D25;
  --red-tint:#FDEFF1;

  /* --- savings / offers --- */
  --amber:#B87508;
  --amber-tint:#FFF4E2;

  /* --- state --- */
  --ok:#1B7A44;
  --ok-tint:#E9F5ED;
  --star:#E0A008;
  --err:#C1301F;
  --wa:#25D366;
  --wa-deep:#1AA851;

  /* --- condition system (gpuheaven's, with contrast fixed) --- */
  --c-new:#1B7A44;
  --c-open:#B87508;
  --c-refurb:#2160A6;
  --c-used:#C8102E;

  --sans:"Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:"Newsreader", Georgia, "Times New Roman", serif;

  --r-sm:6px; --r:9px; --r-lg:14px; --r-xl:20px; --pill:999px;
  --wrap:1280px;
  --ease:cubic-bezier(.2,.7,.3,1);
  --sh-1:0 1px 2px rgba(23,20,15,.05), 0 1px 1px rgba(23,20,15,.04);
  --sh-2:0 2px 4px rgba(23,20,15,.05), 0 8px 20px -10px rgba(23,20,15,.18);
  --sh-3:0 4px 8px rgba(23,20,15,.06), 0 20px 40px -16px rgba(23,20,15,.28);
}

:root.dark{
  --paper:#100E0B;
  --surface:#1A1713;
  --surface-2:#221E19;
  --tile:#252019;
  --panel:#161310;

  --ink:#F2EDE4;
  --ink-2:#DCD5C9;
  --muted:#9A9084;
  --faint:#6B6357;
  --line:#2A251E;
  --line-2:#3A342B;

  --red:#F2455F;
  --red-deep:#FF5C74;
  --red-tint:#2A1418;

  --amber:#E9A33C;
  --amber-tint:#2A1F0E;

  --ok:#48B676;
  --ok-tint:#12251A;
  --star:#F0B429;
  --err:#E8695A;

  --c-new:#48B676;
  --c-open:#E9A33C;
  --c-refurb:#5A9BE0;
  --c-used:#F2455F;

  --sh-1:0 1px 2px rgba(0,0,0,.4);
  --sh-2:0 2px 6px rgba(0,0,0,.5), 0 10px 24px -12px rgba(0,0,0,.7);
  --sh-3:0 4px 10px rgba(0,0,0,.55), 0 22px 44px -16px rgba(0,0,0,.8);
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.55;
  font-weight:400;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font-family:inherit;font-size:inherit}
::selection{background:var(--red);color:#fff}

/* Keyboard users land on the header's search and category links first.
   This lets them jump straight to the products instead of tabbing through. */
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#fff;
  padding:12px 18px;border-radius:0 0 var(--r) 0;font-weight:600;font-size:14.5px}
.skip:focus{left:0}
/* Visible only to a screen reader. An icon button whose accessible name does
   not contain its visible text fails WCAG 2.5.3, so the cart button says
   "Cart" here and the price stays visible next to it. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* The footer starts below the fold on every page, so content that arrives
   after the first paint (a product, the cart, search results) grows the
   page downwards instead of shoving a footer that is already on screen. */
main#main{display:block;min-height:100vh}
/* The skip link focuses #main programmatically; that should not paint a
   ring, but a keyboard user landing there still needs to see where they are. */
#main:focus:not(:focus-visible){outline:none}

/* ---------- layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}
.section{padding:64px 0}
.section-sm{padding:40px 0}
.section-tint{background:var(--surface-2)}
.rule{height:1px;background:var(--line);border:0;margin:0}
@media (max-width:700px){ .section{padding:44px 0} .wrap{padding:0 16px} }

/* ---------- type ----------
   Serif carries the shop's voice. Sans carries data: specs, prices, buttons.
   None of the four reference sites use a serif at all — this is the tell. */
h1,h2,h3,h4,h5{margin:0;font-weight:600;line-height:1.15;letter-spacing:-.01em}
.h-xl{font-family:var(--serif);font-size:clamp(34px,5.2vw,60px);font-weight:500;line-height:1.05;letter-spacing:-.02em}
.h-lg{font-family:var(--serif);font-size:clamp(26px,3.2vw,38px);font-weight:500;line-height:1.12;letter-spacing:-.015em}
.h-md{font-family:var(--serif);font-size:clamp(21px,2.2vw,27px);font-weight:500;line-height:1.2}
.h-sm{font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:-.01em}
.lead{font-size:clamp(16px,1.4vw,17.5px);color:var(--muted);line-height:1.65}
/* the advisory paragraph that opens every rail — avika's single best pattern */
.advisory{font-size:16.5px;line-height:1.7;color:var(--ink-2);max-width:74ch}
.advisory em{font-family:var(--serif);font-style:italic;color:var(--ink)}
.tnum{font-variant-numeric:tabular-nums}
.upper{text-transform:uppercase;letter-spacing:.07em}
.serif{font-family:var(--serif)}
.mute{color:var(--muted)}

/* eyebrow */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:600;
  letter-spacing:.11em;text-transform:uppercase;color:var(--red)}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--red);border-radius:2px}

/* section head: eyebrow + title + right-aligned browse pill */
.shead{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:22px}
.shead .st{flex:1 1 380px;min-width:0}
.shead h2{margin-top:9px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--sans);font-size:14.5px;font-weight:600;letter-spacing:-.005em;
  padding:11px 18px;border-radius:var(--r);border:1.5px solid transparent;
  transition:background .16s,color .16s,border-color .16s,transform .1s,box-shadow .16s;
  white-space:nowrap;line-height:1.2}
.btn:active{transform:translateY(1px)}
.btn svg{width:17px;height:17px;flex:0 0 auto}
/* gpuheaven has NO filled CTA anywhere on its homepage. Ours is unmissable. */
.btn-primary{background:var(--red);color:#fff;border-color:var(--red);box-shadow:var(--sh-1)}
.btn-primary:hover{background:var(--red-deep);border-color:var(--red-deep);box-shadow:var(--sh-2)}
.btn-ink{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.btn-ink:hover{background:#000;box-shadow:var(--sh-2)}
:root.dark .btn-ink:hover{background:#fff}
.btn-line{background:var(--surface);border-color:var(--line-2);color:var(--ink)}
.btn-line:hover{border-color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink);border-color:transparent}
.btn-ghost:hover{background:var(--surface-2)}
.btn-wa{background:var(--wa);color:#06331A;border-color:var(--wa);font-weight:700}
.btn-wa:hover{background:var(--wa-deep);color:#fff;border-color:var(--wa-deep)}
.btn-light{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.22)}
.btn-light:hover{background:rgba(255,255,255,.2)}
.btn-sm{padding:8px 13px;font-size:13px;border-radius:var(--r-sm)}
.btn-lg{padding:14px 24px;font-size:16px}
.btn-block{width:100%}
.btn-pill{border-radius:var(--pill)}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;pointer-events:none}

/* "Browse Laptops ›" — avika's rail pill */
.browse{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;
  padding:9px 16px;border-radius:var(--pill);border:1.5px solid var(--line-2);
  background:var(--surface);color:var(--ink);transition:.16s var(--ease)}
.browse:hover{border-color:var(--red);color:var(--red);gap:11px}
.browse svg{width:15px;height:15px}

.tlink{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14.5px;color:var(--red)}
.tlink:hover{gap:10px}
.tlink svg{width:15px;height:15px}

/* ---------- chips & badges ---------- */
.chip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;
  padding:3px 9px;border-radius:var(--r-sm);background:var(--surface-2);
  color:var(--muted);border:1px solid var(--line);letter-spacing:.01em;line-height:1.5}
.chip svg{width:12px;height:12px}
.chip-ok{background:var(--ok-tint);color:var(--ok);border-color:transparent}
.chip-amber{background:var(--amber-tint);color:var(--amber);border-color:transparent}
.chip-red{background:var(--red-tint);color:var(--red);border-color:transparent}

/* condition badge — gpuheaven's, but ours is also a catalogue filter */
.cond{position:absolute;top:8px;left:8px;z-index:2;
  font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#fff;padding:4px 8px;border-radius:var(--r-sm);line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.22)}
.cond.new{background:var(--c-new)}
.cond.open{background:var(--c-open)}
.cond.refurb{background:var(--c-refurb)}
.cond.used{background:var(--c-used)}

/* SAVE badge — lapalfa's absolute rupees, which reads bigger than "-38%" in India */
.save{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;gap:4px;
  font-size:11px;font-weight:700;color:#fff;background:var(--red);
  padding:4px 9px;border-radius:var(--pill);line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.22);font-variant-numeric:tabular-nums}
.save svg{width:11px;height:11px}

/* warranty micro-tag — avika uses it on 1 of 36 cards; we put it on every one */
.warranty{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;
  color:var(--ok);background:var(--ok-tint);padding:3px 8px;border-radius:var(--r-sm);line-height:1.5}
.warranty svg{width:12px;height:12px;flex:0 0 auto}

.stars{display:inline-flex;align-items:center;gap:1px;color:var(--star)}
.stars svg{width:13px;height:13px}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2.5px solid var(--red);outline-offset:2px;border-radius:3px}

/* ============================================================
   HEADER — bands from gpuheaven's anatomy, de-cluttered
   ============================================================ */

/* band 1 · utility. gpuheaven rotates all 7 lines so the money terms are
   visible 2/7ths of the time. We pin the commercial terms and rotate nothing. */
.util{background:var(--ink);color:#C9C2B6;font-size:12.5px}
:root.dark .util{background:#000;border-bottom:1px solid var(--line)}
.util .wrap{display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:36px;flex-wrap:wrap;padding-top:5px;padding-bottom:5px}
.util a{color:#EFEAE1}
.util a:hover{color:#fff;text-decoration:underline}
.util .terms{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.util .u-i{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.util .u-i svg{width:13px;height:13px;opacity:.75}
.util .dot{opacity:.35}
.util .hl{color:#fff;font-weight:600}
@media (max-width:900px){ .util .hide-sm{display:none} }

/* band 2 · main bar */
header.site{position:sticky;top:0;z-index:60;background:var(--paper);
  border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
header.site.scrolled{border-color:var(--line);box-shadow:var(--sh-1)}
.hbar{display:flex;align-items:center;gap:16px;min-height:74px;position:relative}

.brand{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.brand .mark{width:42px;height:42px;flex:0 0 auto;border-radius:11px;background:var(--ink);
  color:var(--paper);display:grid;place-items:center;box-shadow:var(--sh-1)}
.brand .mark svg{width:23px;height:23px}
/* .bt wraps the name + sub-line. It is a <span>, so every rule below targets
   `.bt span` rather than `.brand span` — a bare `.brand span` also matches the
   wrapper and would hide the shop's whole name, not just its second line. */
.brand .bt{display:block;min-width:0}
.brand b{font-family:var(--serif);font-weight:500;font-size:20px;letter-spacing:-.02em;display:block;color:var(--ink);line-height:1.1}
.brand .bt span{font-size:11px;color:var(--muted);letter-spacing:.03em;display:block;margin-top:1px}

/* mega-menu opener — gpuheaven's filled block, our proportions */
.megabtn{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;
  background:var(--ink);color:var(--paper);font-weight:600;font-size:14px;
  padding:12px 15px;border-radius:var(--r);transition:background .16s}
.megabtn:hover{background:#000}
.megabtn svg{width:17px;height:17px}
.megabtn .cv{transition:transform .2s var(--ease)}
.megabtn[aria-expanded="true"] .cv{transform:rotate(180deg)}

/* search — avika makes it the widest element in the header. So do we. */
.search{flex:1 1 auto;min-width:0;position:relative;display:flex;align-items:center}
.search input{width:100%;height:46px;border-radius:var(--pill);border:1.5px solid var(--line-2);
  background:var(--surface);padding:0 48px 0 42px;font-size:15px;color:var(--ink);outline:none;
  transition:border-color .16s,box-shadow .16s}
.search input::placeholder{color:var(--faint)}
.search input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(200,16,46,.13)}
.search .si{position:absolute;left:15px;width:17px;height:17px;color:var(--faint);pointer-events:none}
.search .sgo{position:absolute;right:5px;width:37px;height:37px;border-radius:var(--pill);
  background:var(--red);color:#fff;display:grid;place-items:center;transition:background .16s}
.search .sgo:hover{background:var(--red-deep)}
.search .sgo svg{width:16px;height:16px}

.nav-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.icon-btn{width:44px;height:44px;border-radius:var(--r);border:1.5px solid var(--line-2);
  background:var(--surface);display:grid;place-items:center;color:var(--ink);
  position:relative;transition:border-color .16s,background .16s}
.icon-btn:hover{border-color:var(--ink)}
.icon-btn svg{width:20px;height:20px}
/* WhatsApp lives in the header, not only as a floating blob (avika) */
.icon-btn.wa{background:var(--wa);border-color:var(--wa);color:#06331A}
.icon-btn.wa:hover{background:var(--wa-deep);border-color:var(--wa-deep);color:#fff}
.icon-btn .count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;
  background:var(--red);color:#fff;border-radius:var(--pill);font-size:11px;font-weight:700;
  display:grid;place-items:center;opacity:0;transform:scale(.5);
  transform-origin:top right;transition:opacity .15s,transform .22s var(--ease)}
.icon-btn .count.on{opacity:1;transform:scale(1)}
.cartbtn{display:inline-flex;align-items:center;gap:9px;padding:0 15px;height:44px;
  border-radius:var(--r);background:var(--ink);color:var(--paper);font-weight:600;font-size:14px;
  position:relative;transition:background .16s}
.cartbtn:hover{background:#000}
.cartbtn svg{width:19px;height:19px}
.cartbtn .amt{font-variant-numeric:tabular-nums}
.menu-btn{display:none}

/* band 3 · category row (gpuheaven's second nav) */
.catnav{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.catnav .wrap{display:flex;align-items:center;gap:4px;min-height:54px;overflow-x:auto;
  scrollbar-width:none;-ms-overflow-style:none}
.catnav .wrap::-webkit-scrollbar{display:none}
.catnav a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:var(--r-sm);
  font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap;transition:background .15s,color .15s}
.catnav a:hover{background:var(--surface-2);color:var(--ink)}
.catnav a.active{color:var(--red)}
.catnav a svg{width:17px;height:17px;color:var(--muted)}
.catnav a:hover svg,.catnav a.active svg{color:var(--red)}
/* buy-back CTA — gpuheaven gives this permanent header space, and its reviews
   show trade-in is why people trusted the shop */
.catnav .sell{margin-left:auto;color:var(--red);font-weight:700;padding-left:16px}
.catnav .sell svg{color:var(--red)}
@media (max-width:1080px){ .catnav .sell{margin-left:0} }

/* mega menu panel */
.megapanel{position:absolute;left:0;right:0;top:100%;z-index:70;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-3);
  padding:16px;margin-top:6px;display:none}
.megapanel.open{display:block}
.megagrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:6px}
.megagrid a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:var(--r-sm);
  font-size:14px;font-weight:600;transition:background .14s}
.megagrid a:hover{background:var(--surface-2)}
.megagrid .mi{width:34px;height:34px;border-radius:9px;background:var(--surface-2);
  display:grid;place-items:center;flex:0 0 auto;color:var(--red)}
.megagrid .mi svg{width:18px;height:18px}
.megagrid .ms{display:block;font-size:11.5px;color:var(--muted);font-weight:400;margin-top:1px}

/* ============================================================
   SHOP STATUS — "Open now · closes 6:30". Signature move: makes it
   a real place with a door, which none of the four references do.
   ============================================================ */
.shopstat{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;
  padding:5px 11px;border-radius:var(--pill);background:var(--ok-tint);color:var(--ok)}
.shopstat.shut{background:var(--surface-2);color:var(--muted)}
.shopstat .bulb{width:8px;height:8px;border-radius:50%;background:currentColor;flex:0 0 auto;position:relative}
.shopstat.shut .bulb{opacity:.6}
.shopstat.shut .bulb::after{display:none}
/* A ring drawn with transform + opacity only, so the compositor runs it
   off the main thread — and it plays three times, not forever. The old
   version animated box-shadow, which Lighthouse flagged as non-composited:
   a repaint every frame for as long as the page was open. */
.shopstat .bulb::after{content:"";position:absolute;inset:0;border-radius:50%;
  background:currentColor;opacity:0;animation:ping 2.4s var(--ease) 3}
@keyframes ping{0%{transform:scale(1);opacity:.5}70%,100%{transform:scale(2.6);opacity:0}}

/* ============================================================
   PRODUCT CARD — the synthesis. Every reference flaw fixed:
   · filled Add-to-cart (gpuheaven has none)
   · the price you PAY is loudest (gpuheaven paints the struck price red)
   · savings in rupees (lapalfa) AND percent
   · spec line + warranty + stock (gpuheaven shows none of the three)
   · object-fit:contain on a warm tile so owner-shot phone photos survive
   ============================================================ */
.prod-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(228px,1fr))}
@media (max-width:640px){ .prod-grid{grid-template-columns:repeat(2,1fr);gap:11px} }

.prod{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;display:flex;flex-direction:column;position:relative;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s}
.prod:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--line-2)}
.prod .shot{position:relative;aspect-ratio:1/1;background:var(--tile);overflow:hidden;
  display:grid;place-items:center}
/* contain, not cover — a messy background photo must not be cropped into mush */
.prod .shot img{width:100%;height:100%;object-fit:contain;padding:9%;
  transition:transform .5s var(--ease),opacity .3s}
.prod:hover .shot img.a{transform:scale(1.06)}
/* lapalfa's two-image hover swap: "is this the real part or a stock render?" */
.prod .shot img.b{position:absolute;inset:0;opacity:0}
.prod:hover .shot img.b{opacity:1}
.prod .shot .ph{font-size:11px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
.prod .body{padding:13px 13px 14px;display:flex;flex-direction:column;flex:1;gap:7px}
.prod .kind{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.prod .name{font-size:14.5px;font-weight:600;line-height:1.35;letter-spacing:-.005em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.prod:hover .name{color:var(--red)}
.prod .spec{font-size:12.5px;color:var(--muted);line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod .tags{display:flex;flex-wrap:wrap;gap:5px}
.prod .foot{margin-top:auto;padding-top:10px;display:flex;align-items:flex-end;justify-content:space-between;gap:9px}

.price{display:flex;flex-direction:column;gap:1px;min-width:0}
.price .now{font-size:19px;font-weight:700;color:var(--ink);letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;line-height:1.1}
.price .was{font-size:12.5px;color:var(--faint);text-decoration:line-through;
  font-variant-numeric:tabular-nums;font-weight:500}
.price .off{font-size:12px;font-weight:700;color:var(--red);font-variant-numeric:tabular-nums}
.price .row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}

.stock{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:var(--ok)}
.stock .bulb{width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
.stock.low{color:var(--amber)}
.stock.out{color:var(--muted)}

.addbtn{width:42px;height:42px;flex:0 0 auto;border-radius:var(--r);background:var(--red);color:#fff;
  display:grid;place-items:center;transition:background .16s,transform .1s;box-shadow:var(--sh-1)}
.addbtn:hover{background:var(--red-deep)}
.addbtn:active{transform:scale(.9)}
.addbtn svg{width:19px;height:19px}
.addbtn[disabled]{background:var(--surface-2);color:var(--faint);box-shadow:none;cursor:not-allowed}
/* sold out hands you to WhatsApp rather than a dead button */
.addbtn.wa{background:var(--wa);color:#06331A}
.addbtn.wa:hover{background:var(--wa-deep);color:#fff}

/* wide product row (catalogue list view + cart) */
.prow{display:grid;grid-template-columns:96px 1fr auto;gap:14px;align-items:center;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:12px}
.prow .shot{width:96px;height:96px;border-radius:var(--r);background:var(--tile);
  display:grid;place-items:center;overflow:hidden;position:relative}
.prow .shot img{width:100%;height:100%;object-fit:contain;padding:8%}
@media (max-width:640px){ .prow{grid-template-columns:74px 1fr;gap:11px} .prow .shot{width:74px;height:74px} }

/* ============================================================
   CATEGORY TILES — lapalfa's conversational card + maxtreo's scrim tile
   ============================================================ */
/* auto-fit, not auto-fill: six categories make exactly six columns instead of
   five plus an orphan, and four services make four. */
.cat-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.cat{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .18s var(--ease),box-shadow .18s,border-color .18s}
.cat:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--line-2)}
.cat .shot{aspect-ratio:16/10;background:var(--tile);overflow:hidden;display:grid;place-items:center;position:relative}
.cat .shot::before{content:"";position:absolute;inset:0;
  background:radial-gradient(70% 70% at 50% 40%, rgba(200,16,46,.10), transparent 70%)}
.cat .shot img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease);position:relative;z-index:1}
.cat:hover .shot img{transform:scale(1.07)}
.cat .shot .ci{color:var(--red);position:relative;z-index:1;transition:transform .3s var(--ease)}
.cat .shot .ci svg{width:54px;height:54px;stroke-width:1.4}
.cat:hover .shot .ci{transform:translateY(-3px) scale(1.06)}
.cat .body{padding:12px 14px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1}
.cat .body b{font-size:15px;font-weight:600;letter-spacing:-.01em}
.cat .n{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.cat .go{display:inline-flex;align-items:center;color:var(--red)}
.cat .go svg{width:16px;height:16px;transition:transform .16s var(--ease)}
.cat:hover .go svg{transform:translateX(3px)}
/* mobile: 2.5 columns so a half-tile always shows there is more (avika) */
@media (max-width:700px){
  .cat-scroll{display:flex;gap:11px;overflow-x:auto;scroll-snap-type:x mandatory;
    padding-bottom:6px;margin:0 -16px;padding-left:16px;padding-right:16px;
    scrollbar-width:none}
  .cat-scroll::-webkit-scrollbar{display:none}
  .cat-scroll>*{flex:0 0 44%;scroll-snap-align:start}
}

/* ============================================================
   HERO — a real <h1> and editable text, not a raster PNG with
   the offer baked into the pixels (gpuheaven's worst flaw)
   ============================================================ */
.hero{position:relative;overflow:hidden;background:var(--ink);color:#F7F2EA}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 78% 8%, rgba(200,16,46,.32), transparent 62%),
             radial-gradient(90% 80% at 6% 100%, rgba(184,117,8,.20), transparent 60%)}
.hero .wrap{position:relative;z-index:2}
.hero-in{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center;
  padding:62px 0 66px;min-height:440px}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(36px,5.4vw,62px);
  line-height:1.03;letter-spacing:-.025em;color:#fff}
.hero h1 em{font-style:italic;color:#FFB3BF}
.hero .lead{color:rgba(255,255,255,.76);font-size:clamp(16px,1.5vw,18px);max-width:48ch;margin-top:18px}
.hero .cta{display:flex;gap:11px;flex-wrap:wrap;margin-top:26px}
.hero .hchips{display:flex;gap:9px;flex-wrap:wrap;margin-top:26px;align-items:center}
.hero .hchips .chip{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.14);color:rgba(255,255,255,.88)}
.hero .shopstat{background:rgba(72,182,118,.18);color:#7BDDA3}
.hero .shopstat.shut{background:rgba(255,255,255,.09);color:rgba(255,255,255,.6)}
/* ---- the hero shows the shop, not a paragraph ----
   lapalfa and avikaretails both lead with photography. Ours is real stock:
   a 2×2 of actual products, so the hero fills itself as the shelf fills. */
.hero-shots{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hero-shot{position:relative;aspect-ratio:1/1;border-radius:var(--r-xl);overflow:hidden;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);
  display:grid;place-items:center;transition:transform .2s var(--ease),border-color .2s}
.hero-shot:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.32)}
.hero-shot img{width:100%;height:100%;object-fit:contain;padding:12%}
.hero-shot .cap{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 11px;
  background:linear-gradient(0deg,rgba(0,0,0,.82),transparent);
  font-size:12.5px;font-weight:600;color:#fff;line-height:1.3;
  display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.hero-shot .cap b{font-weight:600;overflow:hidden;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical}
.hero-shot .cap .p{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;color:#FFB3BF}
/* a tile with no photo still reads as a shelf, never as a broken image */
.hero-shot .ic{color:rgba(255,255,255,.5)}
.hero-shot .ic svg{width:46px;height:46px;stroke-width:1.3}
@media (max-width:900px){ .hero-shots{gap:10px} }
@media (max-width:420px){ .hero-shot .cap{font-size:11.5px;padding:18px 9px 9px} }
@media (max-width:900px){
  .hero-in{grid-template-columns:1fr;gap:28px;padding:40px 0 44px;min-height:0}
  .hero-card{padding:18px}
}

/* ============================================================
   TRUST STRIP — avika's four-badge row, honest for a local shop
   ============================================================ */
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
/* One short line each. The old two-line version was four paragraphs nobody
   reads sitting directly under the hero. */
.trust-strip .t{background:var(--surface);padding:15px 16px;display:flex;gap:11px;align-items:center}
.trust-strip .ti{width:34px;height:34px;border-radius:9px;background:var(--red-tint);color:var(--red);
  display:grid;place-items:center;flex:0 0 auto}
.trust-strip .ti svg{width:18px;height:18px}
.trust-strip b{display:block;font-size:14px;font-weight:600;letter-spacing:-.005em;line-height:1.35}
@media (max-width:900px){ .trust-strip{grid-template-columns:repeat(2,1fr)} }
@media (max-width:480px){ .trust-strip{grid-template-columns:1fr} }

/* ---------- named house builds (avika's "AR Thundercore") ---------- */
.builds{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.build{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--ink);
  color:#fff;display:grid;grid-template-columns:1fr 40%;min-height:214px}
.build .bt{padding:24px;display:flex;flex-direction:column;justify-content:center;gap:9px}
.build .bt h3{font-family:var(--serif);font-weight:500;font-size:24px;line-height:1.15;color:#fff}
.build .bt p{font-size:13.5px;color:rgba(255,255,255,.72);line-height:1.55;margin:0}
.build .bt .pr{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.build .bs{background:var(--tile);position:relative;overflow:hidden;display:grid;place-items:center}
.build .bs img{width:100%;height:100%;object-fit:cover}
@media (max-width:560px){ .build{grid-template-columns:1fr} .build .bs{height:150px;order:-1} }

/* ---------- brand band (lapalfa's full-bleed six-across) ---------- */
.brandband{display:grid;grid-template-columns:repeat(6,1fr);border-block:1px solid var(--line)}
.brandband a{aspect-ratio:16/9;position:relative;display:grid;place-items:center;background:var(--surface);
  border-right:1px solid var(--line);overflow:hidden;transition:background .2s}
.brandband a:last-child{border-right:0}
.brandband a:hover{background:var(--surface-2)}
.brandband b{font-family:var(--serif);font-size:19px;font-weight:500;letter-spacing:.01em;color:var(--ink-2);z-index:2}
.brandband a:hover b{color:var(--red)}
@media (max-width:820px){ .brandband{grid-template-columns:repeat(3,1fr)} .brandband a:nth-child(3n){border-right:0} }

/* ---------- review wall ----------
   avika ships its reviews at opacity:0 inside a <pre>, invisible until a
   third-party CDN loads. Ours are plain HTML from Firestore. */
.rev-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.rev{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px;
  display:flex;flex-direction:column;gap:10px}
.rev .q{font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.rev .who{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:11px;border-top:1px solid var(--line)}
.rev .av{width:34px;height:34px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;
  font-weight:700;font-size:14px;color:var(--muted);flex:0 0 auto}
.rev .wn{font-size:13.5px;font-weight:600}
.rev .wv{font-size:11.5px;color:var(--ok);display:flex;align-items:center;gap:4px;font-weight:600}
.rev .wv svg{width:12px;height:12px}
.rating-big{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.rating-big .num{font-family:var(--serif);font-size:46px;font-weight:500;line-height:1;letter-spacing:-.02em}

/* ---------- forms ---------- */
.field{display:block;margin-bottom:14px}
.label{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:6px;letter-spacing:.01em}
.input,.select,.textarea{width:100%;background:var(--surface);border:1.5px solid var(--line-2);
  border-radius:var(--r);padding:11px 13px;color:var(--ink);font-size:15px;transition:border-color .16s,box-shadow .16s}
.input::placeholder,.textarea::placeholder{color:var(--faint)}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--ink);
  box-shadow:0 0 0 3px rgba(200,16,46,.13)}
.textarea{resize:vertical;min-height:100px}
.select{appearance:none;padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6558' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center}

.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}
.pad{padding:20px}

/* ---------- footer: imperative sitemap + real address (avika) ---------- */
footer.site{background:var(--ink);color:#B4ACA0;padding:56px 0 26px;border-top:4px solid var(--red)}
footer.site .fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:34px}
footer.site .brand b{color:#fff}
footer.site .brand .bt span{color:#8B8377}
footer.site .brand .mark{background:var(--red);color:#fff}
footer.site p{font-size:13.5px;margin-top:14px;color:#948C80;max-width:36ch;line-height:1.65}
footer.site h5,footer.site .fh{font-size:11.5px;letter-spacing:.11em;text-transform:uppercase;color:#fff;
  margin:0 0 13px;font-weight:600}
footer.site .fl a{display:block;color:#C4BCB0;font-size:13.5px;padding:5px 0;transition:color .14s}
footer.site .fl a:hover{color:#fff}
footer.site .fbase{margin-top:38px;padding-top:20px;border-top:1px solid rgba(255,255,255,.11);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:#8B8377}
@media (max-width:900px){ footer.site .fgrid{grid-template-columns:1fr 1fr;gap:26px} }
@media (max-width:520px){ footer.site .fgrid{grid-template-columns:1fr} }

/* ---------- WhatsApp FAB (maxtreo's geometry, brand green) ---------- */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:55;display:inline-flex;align-items:center;gap:9px;
  height:56px;padding:0 18px 0 16px;border-radius:var(--pill);background:var(--wa);color:#06331A;
  font-weight:700;font-size:14.5px;box-shadow:0 10px 26px -8px rgba(0,0,0,.42);
  transition:transform .18s var(--ease),box-shadow .18s}
.wa-float:hover{transform:translateY(-3px);box-shadow:0 14px 32px -8px rgba(0,0,0,.5)}
.wa-float svg{width:25px;height:25px;flex:0 0 auto}
@media (max-width:560px){ .wa-float{height:54px;padding:0 16px} .wa-float .lb{display:none} }

/* ---------- mobile drawer ---------- */
.drawer{position:fixed;inset:0;z-index:90;display:none}
.drawer.open{display:block}
.drawer .scrim{position:absolute;inset:0;background:rgba(23,20,15,.5)}
.drawer .panel{position:absolute;top:0;bottom:0;left:0;width:min(90vw,340px);background:var(--paper);
  box-shadow:var(--sh-3);display:flex;flex-direction:column;padding:18px;overflow-y:auto;
  animation:slidein .26s var(--ease)}
@keyframes slidein{from{transform:translateX(-100%)}to{transform:none}}
.drawer .panel a{display:flex;align-items:center;gap:11px;padding:12px 10px;border-radius:var(--r-sm);
  font-size:15.5px;font-weight:500}
.drawer .panel a:hover{background:var(--surface-2)}
.drawer .panel a svg{width:19px;height:19px;color:var(--muted)}
.drawer .dh{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.drawer .dlabel{font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:var(--faint);padding:14px 10px 6px}

/* ---------- reveal (maxtreo's stagger — cleaner than a class swap) ---------- */
/* Content is visible the moment it exists. This used to start at opacity 0
   and fade in on scroll over 0.7s plus up to 0.7s of stagger, which on a
   shop is just making the customer wait. */
[data-reveal],[data-reveal].in{opacity:1;transform:none}

/* ---------- toast ---------- */
#toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(14px);z-index:95;
  background:var(--ink);color:#fff;font-size:14px;font-weight:500;padding:13px 18px;
  border-radius:var(--pill);box-shadow:var(--sh-3);opacity:0;pointer-events:none;
  transition:opacity .25s,transform .25s var(--ease);max-width:min(90vw,380px);text-align:center}
#toast.show{opacity:1;transform:translateX(-50%)}
#toast.err{background:var(--err)}
:root.dark #toast{background:var(--surface-2);border:1px solid var(--line-2)}

/* ---------- fly-to-cart clone (maxtreo — the best-feeling thing in his build) ---------- */
.fly-clone{position:fixed;z-index:100;pointer-events:none;object-fit:contain;
  border-radius:var(--r-sm);background:var(--surface);box-shadow:var(--sh-2)}

/* ---------- skeletons ---------- */
.skel{background:var(--surface-2);border-radius:var(--r-sm);animation:skel 1.2s ease-in-out infinite}
@keyframes skel{0%,100%{opacity:1}50%{opacity:.5}}

/* ---------- loading placeholders ----------
   Same footprint as the real thing, so nothing jumps when data lands.
   Layout shift measured 0.589 before these existed. */
.hero-shot.is-skel{pointer-events:none}
.hero-shot.is-skel::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.07);
  animation:skel 1.2s ease-in-out infinite}
.prod.is-skel{pointer-events:none}
.prod.is-skel .shot,.prod.is-skel .ln{background:var(--surface-2);animation:skel 1.2s ease-in-out infinite}
/* A placeholder card must be exactly as tall as the card it stands in for, or
   the grid grows when the products arrive and everything below it jumps. A real
   card's body measures 201px — two-line name, spec, tags, price row — at every
   width, because those parts are all fixed type sizes. Measured, not guessed. */
.prod.is-skel .body{min-height:201px}
.prod.is-skel .ln{display:block;height:11px;border-radius:6px}
.prod.is-skel .ln.w60{width:60%}.prod.is-skel .ln.w40{width:40%}.prod.is-skel .ln.w80{width:80%}
.skel-card{height:300px;border-radius:var(--r-lg)}

/* ---------- empty state ---------- */
.empty{text-align:center;padding:56px 20px;color:var(--muted);grid-column:1/-1}
.empty svg{width:44px;height:44px;color:var(--faint);margin:0 auto 14px}
.empty b{display:block;font-family:var(--serif);font-size:21px;font-weight:500;color:var(--ink);margin-bottom:6px}

/* ---------- responsive header ---------- */
@media (max-width:1120px){
  .megabtn .lb{display:none}
  .megabtn{padding:12px}
  .brand .bt span{display:none}
}
@media (max-width:860px){
  .hbar{gap:11px;min-height:64px;flex-wrap:wrap;padding-bottom:10px}
  .menu-btn{display:grid}
  .megabtn{display:none}
  .search{order:3;flex-basis:100%}
  .search input{height:42px}
  .cartbtn .amt,.cartbtn .lb{display:none}
  .cartbtn{padding:0;width:44px;justify-content:center}
  .catnav{display:none}
  .icon-btn.acct{display:none}
}
/* On a phone the header row is menu + brand + WhatsApp + cart, with search
   below. The shop's NAME is its identity in a small town, so it survives —
   it is the sub-line and the wordmark size that give way, not the name. */
@media (max-width:560px){
  .brand .mark{width:34px;height:34px;border-radius:9px}
  .brand .mark svg{width:19px;height:19px}
  .brand b{font-size:16px}
  .brand .bt{min-width:0;overflow:hidden}
  .brand b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hbar{gap:8px}
  .nav-actions{gap:6px}
  .icon-btn,.cartbtn{width:40px;height:40px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
}

@media print{
  .util,.catnav,.wa-float,.nav-actions,#toast{display:none!important}
  body{background:#fff}
}

/* WhatsApp green as TEXT. The button green (--wa-deep) is only 3.1:1 on paper,
   which fails for the "Ask" links in the services price list. Same hue, readable. */
:root{--wa-ink:#127639}
:root.dark{--wa-ink:#1BB055}
