/* Phosvolt site. Product catalogue: sticky nav, page hero, cards, cobalt warranty band, ink footer. Light by design. */
:root {
  --bg: #f5f6f9; --surface: #ffffff; --ink: #111317; --ink-2: #545a66; --line: #e2e5ec;
  --cobalt: #2445ff; --cobalt-h: #1733e6; --deep: #0b1a8c; --tint: #eceffe; --ok: #1fa45b;
  --f-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 18px; --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.in { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.45rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); font-weight: 500; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-body); white-space: nowrap; text-decoration: none; padding: 14px 22px; border-radius: 12px; border: 1.5px solid var(--cobalt); background: var(--cobalt); color: #fff; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--cobalt-h); transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--cobalt); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); box-shadow: none; }
.btn.white { background: #fff; color: var(--deep); border-color: #fff; }
.btn.line-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.line-w:hover { border-color: #fff; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 19; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 28px; height: 68px; position: relative; }
.logo { --logo-gap: var(--surface); color: var(--ink); flex: none; display: block; }
.logo svg { height: 30px; width: auto; display: block; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cobalt); }
.top .btn { padding: 11px 18px; border-radius: 10px; }
.top .btn .short { display: none; }
.cartbtn { position: relative; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cartbtn:hover { border-color: var(--ink-2); }
.cartbtn svg { width: 21px; height: 21px; }
.cartn { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--cobalt); color: #fff; font: 600 11.5px/20px var(--f-body); text-align: center; }
.added { margin-top: -6px; font-size: 14.5px; color: var(--ok); font-weight: 500; }
.added a { color: var(--deep); }
.menu { display: none; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu svg { width: 20px; height: 20px; display: block; }
.menu .x, .top.open .menu .bars { display: none; } .top.open .menu .x { display: block; }

/* breadcrumbs + page head */
.crumbs { font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a3a9b6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.pagehead { background: var(--surface); border-bottom: 1px solid var(--line); }
.pagehead .in { padding-block: 40px 44px; display: grid; gap: 14px; }
.pagehead h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 820px; }
.pagehead .lede { font-size: 1.1rem; color: var(--ink-2); max-width: 680px; }

/* home hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-block: 64px 56px; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); margin-top: 16px; }
.hero h1 em, .pagehead h1 em { font-style: normal; color: var(--cobalt); white-space: nowrap; }
.hero .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 500px; margin-top: 20px; }
.hero .ctas { margin-top: 30px; }
.stage { position: relative; border-radius: 26px; background: radial-gradient(120% 90% at 70% 30%, #dfe4ff 0%, var(--tint) 45%, #f4f5fb 100%); aspect-ratio: 16 / 11; overflow: hidden; max-width: 100%; }
.stage .tetra { position: absolute; width: 58%; right: 4%; top: 2%; opacity: .14; }
.stage picture img, .stage > img { position: absolute; left: 3%; bottom: 8%; width: 94%; height: auto; filter: drop-shadow(0 26px 24px rgba(10,14,40,.22)); animation: rise 1s var(--ease) both; }
.chip { position: absolute; left: 18px; top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px -14px rgba(10,14,40,.4); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #d8f3e3; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* fact strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact svg { width: 26px; height: 26px; flex: none; color: var(--cobalt); margin-top: 2px; }
.fact b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.fact span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }

/* sections */
.sec { padding-block: 88px 0; }
.sec.tight { padding-block: 56px 0; }
.head { display: grid; gap: 12px; max-width: 680px; }
.head p { color: var(--ink-2); font-size: 1.05rem; }
.head + * { margin-top: 36px; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.product .pic { height: 290px; display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(180deg, #f1f3f8, var(--surface)); }
.product .pic img { max-width: 100%; max-height: 246px; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 20px 18px rgba(10,14,40,.18)); }
.product .body { padding: 24px 26px 26px; display: grid; gap: 14px; align-content: start; }
.product .top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product h3 a { text-decoration: none; } .product h3 a:hover { color: var(--cobalt); }
.use { font-size: 13px; font-weight: 600; color: var(--cobalt); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.big { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1; }
.big em { font-style: normal; color: var(--cobalt); }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-2); padding-right: 16px; }
.specs dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pd .shot { background: linear-gradient(180deg, #f1f3f8, var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 100%; position: sticky; top: 92px; }
.pd .shot img { max-height: 100%; width: auto; filter: drop-shadow(0 26px 22px rgba(10,14,40,.2)); }
.pd .info { display: grid; gap: 22px; }
.pd .info h2 { font-size: 1.35rem; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feat li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.feat svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.feat b { font-weight: 600; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cobalt); border-radius: 12px; padding: 16px 18px; font-size: 15px; }

/* prose (warranty terms etc.) */
.prose { max-width: 720px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start; }
.box h3 { font-size: 1.1rem; }
.box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }

/* faq */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--f-body); color: var(--cobalt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* build line */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); font: 600 13px/1 var(--f-mono); color: var(--cobalt); width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.steps b { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.steps span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* warranty band */
.band { background: var(--deep); color: #fff; margin-top: 96px; position: relative; overflow: hidden; }
.band .in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 72px; position: relative; }
.three { font-family: var(--f-head); font-weight: 800; font-size: clamp(6rem, 13vw, 9.5rem); line-height: .82; letter-spacing: -.06em; }
.three small { display: block; font: 500 13px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 16px; color: #c9d2ff; }
.band h2 { color: #fff; }
.band p { color: #d4daff; max-width: 580px; margin-top: 14px; }
.band .ctas { margin-top: 26px; }
.band .fine { font-size: 13.5px; color: #a9b5ff; margin-top: 18px; }
.band svg.bg { position: absolute; right: -90px; bottom: -120px; width: 420px; opacity: .08; }

/* dealer cta strip */
.strip { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.strip p { color: var(--ink-2); margin-top: 8px; max-width: 560px; }

/* dealer page */
.dealer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.perks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.perks svg { width: 22px; height: 22px; color: var(--cobalt); margin-top: 2px; }
.perks b { display: block; font-weight: 600; }
.perks span { color: var(--ink-2); font-size: 15px; }
form.enq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -48px rgba(10,14,40,.45); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.enq label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
form.enq input, form.enq select, form.enq textarea { font: 400 16px/1.3 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; width: 100%; min-width: 0; }
form.enq textarea { min-height: 84px; resize: vertical; }
form.enq input:focus, form.enq select:focus, form.enq textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: transparent; background: var(--surface); }
.req { color: #c4302b; }
.sent { border: 1px solid #bfe6cf; background: #effaf3; border-radius: 12px; padding: 16px; display: grid; gap: 10px; font-size: 14.5px; }
.err { color: #b3261e; font-size: 14px; }

/* contact */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 6px; align-content: start; }
.cbox small { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cbox .v { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; overflow-wrap: anywhere; }
.cbox a { color: var(--cobalt); font-weight: 600; text-decoration: none; font-size: 15px; } .cbox a:hover { text-decoration: underline; }

/* footer */
footer { background: var(--ink); color: #c9ccd4; margin-top: 100px; }
footer .in { padding-block: 56px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
footer .logo { --logo-gap: var(--ink); color: #fff; } footer .logo svg { height: 28px; }
footer h2 { margin: 0 0 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8d93a0; }
footer .v { display: block; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
footer .kv { display: grid; gap: 12px; }
footer .kv small { display: block; font-size: 13px; color: #8d93a0; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer ul a { display: block; color: #fff; text-decoration: none; padding: 4px 0; } footer ul a:hover { text-decoration: underline; }
footer .base { grid-column: 1 / -1; border-top: 1px solid #2a2d35; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: #8d93a0; }

/* responsive */
@media (max-width: 1020px) {
  .links { gap: 18px; }
  .hero .in { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 40px; }
  .stage { width: 100%; aspect-ratio: 16 / 9; }
  .stage picture img, .stage > img { width: 76%; left: 12%; bottom: 6%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer, .pd { grid-template-columns: 1fr; gap: 30px; }
  .pd .shot { position: static; aspect-ratio: 4 / 3; max-height: 460px; }
  footer .in { grid-template-columns: 1fr 1fr; } footer .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .top .in { gap: 10px; height: 62px; }
  .top .btn { margin-left: auto; padding: 10px 14px; }
  .menu { display: inline-flex; margin-left: auto; }
  .cartbtn:not([hidden]) { margin-left: auto; }
  .cartbtn:not([hidden]) + .menu { margin-left: 0; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px max(20px, env(safe-area-inset-left, 0px)) 12px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -26px rgba(10,14,40,.4); }
  .top.open .links { display: flex; }
  .links a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .links a:last-child { border-bottom: 0; }
  .links a[aria-current="page"] { box-shadow: none; color: var(--cobalt); }
  .band .in { grid-template-columns: 1fr; gap: 22px; padding-block: 56px; }
  .cards3, .cols2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding-block: 60px 0; }
  .hero .ctas, .band .ctas { display: grid; grid-template-columns: 1fr; }
  .stage { aspect-ratio: 16 / 11; } .stage picture img, .stage > img { width: 94%; left: 3%; bottom: 8%; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .fact:last-child { border-bottom: 0; }
  .product .pic { height: 230px; } .product .pic img { max-height: 190px; }
  .product .body { padding: 20px; }
  .acts .btn, .strip .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  form.enq, .strip { padding: 20px; }
  .pd .shot { padding: 24px; }
  .band { margin-top: 64px; }
  .three { font-size: 6rem; }
  .band svg.bg { width: 260px; right: -70px; bottom: -80px; }
  footer { margin-top: 72px; }
  footer .in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) { .logo svg { height: 26px; } .top .btn { padding: 10px 12px; font-size: 14px; } }
@media (max-width: 350px) { .top .btn .long { display: none; } .top .btn .short { display: inline; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* product page: price block and gallery */
.price { display: grid; gap: 4px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.price .pnow { font-family: var(--f-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .pmrp { color: var(--ink-2); text-decoration: line-through; font-size: 15px; }
.price .pnote { color: var(--ink-2); font-size: 14px; }
.price .instock { color: var(--ok); font-weight: 600; }
.gallery { display: grid; gap: 12px; position: sticky; top: 92px; }
.gallery figure { margin: 0; display: none; background: linear-gradient(180deg, #f1f3f8, var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 28px; aspect-ratio: 1 / 1; max-width: 100%; place-items: center; }
.gallery figure.on { display: grid; }
.gallery figure img { max-height: 100%; width: auto; filter: drop-shadow(0 22px 20px rgba(10,14,40,.18)); }
.thumbs { display: flex; gap: 10px; }
.thumbs .t { width: 78px; height: 78px; padding: 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.thumbs .t.on { border-color: var(--cobalt); }
.thumbs .t img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1020px) { .gallery { position: static; } .gallery figure { aspect-ratio: 4 / 3; max-height: 480px; } }
@media (max-width: 560px) { .gallery figure { padding: 16px; } .thumbs .t { width: 64px; height: 64px; } }
.pd > *, .gallery, .gallery figure { min-width: 0; }
.gallery figure picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.gallery figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.thumbs .t, .thumbs .t:is(button) { width: auto; height: auto; aspect-ratio: 1 / 1; padding: 4px; }
.gallery figure.slide { padding: 0; background: var(--surface); overflow: hidden; }
.gallery figure.slide picture { display: block; }
.gallery figure.slide img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.gallery .stagewrap { position: relative; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(10,14,40,.45); -webkit-tap-highlight-color: transparent; z-index: 2; }
.gnav svg { width: 22px; height: 22px; }
.gnav:hover { border-color: var(--cobalt); color: var(--cobalt); }
.gnav.prev { left: 12px; } .gnav.next { right: 12px; }
@media (max-width: 560px) { .gnav { width: 40px; height: 40px; } .gnav.prev { left: 6px; } .gnav.next { right: 6px; } }

/* section heading spacing: wins over component margins set later (.steps, .cols2 ...) */
.sec .head + * { margin-top: 36px; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.catpic { display: flex; align-items: center; justify-content: center; height: 300px; padding: 18px 22px 6px; background: radial-gradient(90% 80% at 50% 60%, var(--tint), #f6f7fb 70%); }
.catpic img { max-width: 100%; max-height: 270px; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 22px 20px rgba(10,14,40,.16)); transition: transform .35s var(--ease); }
.cat:hover .catpic img { transform: scale(1.025); }
.catbody { padding: 24px 26px 26px; display: grid; gap: 14px; align-content: start; }
.catbody h2, .catbody h3 { font-size: 1.45rem; margin: 0; }
.catbody h2 a, .catbody h3 a { text-decoration: none; color: inherit; } .catbody h2 a:hover, .catbody h3 a:hover { color: var(--cobalt); }
.catbody p { color: var(--ink-2); margin: 0; }
.opts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.opts a { display: grid; gap: 2px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .2s, background .2s; }
.opts a:hover { border-color: var(--cobalt); background: var(--tint); }
.opts b { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.opts span { font: 500 11.5px var(--f-mono); letter-spacing: .08em; color: var(--ink-2); }
.catbody .btn { justify-self: start; }
.products.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ptitle { font-size: 1.3rem; margin: 0; } .ptitle a { text-decoration: none; color: inherit; } .ptitle a:hover { color: var(--cobalt); }
.also { font-size: 14.5px; color: var(--ink-2); margin: 0; } .also a { color: var(--cobalt); font-weight: 600; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.pick { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.pick th { text-align: left; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 14px 20px; border-bottom: 1px solid var(--line); background: #f8f9fc; }
table.pick td { padding: 16px 20px; border-bottom: 1px solid var(--line); } table.pick tr:last-child td { border-bottom: 0; }
table.pick a { color: var(--cobalt); font-weight: 600; text-decoration: none; } table.pick a:hover { text-decoration: underline; }
footer .fsub { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin: -2px 0 4px; }
@media (max-width: 1020px) { .products.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } .catpic { height: 240px; } .catpic img { max-height: 215px; } }
@media (max-width: 680px) { .products.n3 { grid-template-columns: 1fr; } }

/* ---------- warranty registration ---------- */
.wreg { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.wreg > form.find, .wreg > .wbat { grid-column: 1; }
.whelp { grid-column: 2; grid-row: 1 / span 2; }
.small { font-size: 13.5px; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }
.wbat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 18px; }
.wbat-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.wbat-head h2 { font-size: 1.45rem; margin: 2px 0; }
.wstate { font: 600 13px var(--f-body); padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--cobalt); }
.wstate.active { background: #e8f7ee; color: #157a43; } .wstate.expired { background: #fdecea; color: #b3261e; }
.wtabs { display: flex; gap: 6px; background: var(--bg); padding: 5px; border-radius: 12px; border: 1px solid var(--line); }
.wtabs button { flex: 1; font: 600 14.5px var(--f-body); border: 0; background: transparent; padding: 11px 12px; border-radius: 9px; color: var(--ink-2); cursor: pointer; }
.wtabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(10,14,40,.12); }
.wbat form.enq { box-shadow: none; padding: 0; border: 0; }
.wbat form.enq h3 { font-size: 1.1rem; margin: 0; }
form.enq input[type=file] { padding: 10px; background: var(--surface); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .wreg { grid-template-columns: 1fr; } .whelp { grid-column: 1; grid-row: auto; } }
@media (max-width: 680px) { .wbat { padding: 20px; } }

/* the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }

/* ---------- full-screen photo viewer ---------- */
.gallery figure { cursor: zoom-in; }
.gfull { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: 0 8px 20px -12px rgba(10,14,40,.45); }
.gfull svg { width: 20px; height: 20px; } .gfull:hover { border-color: var(--ink-2); }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: #f4f5f8; display: grid; grid-template-rows: auto 1fr auto auto; padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0); }
.lb-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.lb-title { font: 700 16px var(--f-head); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { font: 500 14px var(--f-mono); color: var(--ink-2); }
.lb-x, .lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(10,14,40,.45); }
.lb-x svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 0; padding: 8px 80px; touch-action: none; }
.lb-img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; transition: transform .25s var(--ease); cursor: zoom-in; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 30px 30px rgba(10,14,40,.18)); }
.lb.is-slide .lb-img { filter: none; border-radius: 14px; box-shadow: 0 24px 60px -30px rgba(10,14,40,.4); }
.lb.zoomed .lb-img { cursor: grab; } .lb.dragging .lb-img { cursor: grabbing; transition: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
.lb-strip { display: flex; gap: 8px; justify-content: safe center; padding: 10px 16px 6px; overflow-x: auto; }
.lb-strip button { flex: none; width: 62px; height: 62px; padding: 3px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.lb-strip button.on { border-color: var(--cobalt); }
.lb-strip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lb-hint { text-align: center; margin: 0 0 12px; font-size: 12.5px; color: var(--ink-2); }
@media (hover: hover) { .lb-hint::after { content: ""; } }
@media (max-width: 680px) {
  .lb-stage { padding: 4px 8px; }
  .lb-img { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .lb-nav { top: auto; bottom: 96px; transform: none; width: 44px; height: 44px; }
  .lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
  .lb-strip button { width: 52px; height: 52px; }
}

/* policy pages (terms, refunds, shipping, privacy) */
.policy { display: grid; gap: 12px; padding-bottom: 88px; }
.policy > * { max-width: 780px; }
.policy h2 { font-size: 1.3rem; margin-top: 18px; }
.policy p, .policy li { color: var(--ink-2); }
.policy ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.policy a { color: var(--deep); }
footer .base .plinks a { color: inherit; }

/* product page: buy box (store/product.php fills it live) */
.qty { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.qty select { font: 600 15px var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 12px; }
.ctas .btn[aria-disabled="true"] { background: var(--line); border-color: var(--line); color: var(--ink-2); cursor: default; transform: none; box-shadow: none; }
.price .soldout { color: #b3261e; font-weight: 600; }
.price .instock.low { color: #b06000; }
.pincheck { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pincheck label { font-size: 14px; font-weight: 600; }
.pincheck span { display: flex; gap: 8px; }
.pincheck input { flex: 1; min-width: 0; font: 400 16px var(--f-body); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--bg); }
.pincheck .btn { padding: 11px 16px; }
.pincheck output { font-size: 14.5px; color: var(--ink-2); }
.pincheck output b { color: var(--ink); }
.pincheck output .no { color: #b3261e; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14px; }
.assure li { display: grid; gap: 2px; padding-left: 24px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.assure span { color: var(--ink-2); } .assure a { color: var(--deep); }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); text-decoration: none; margin-top: -8px; }
.rating span { color: var(--ink-2); } .rating:hover span { text-decoration: underline; }
.stars { --r: 0; position: relative; display: inline-block; font-size: 17px; line-height: 1; letter-spacing: 2px; color: #d5d9e2; white-space: nowrap; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #f5a524; }
.revsum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; margin-top: 24px; }
.revsum .stars { font-size: 22px; } .revsum span { color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; }
.review h3 { font-size: 1.05rem; } .review p { color: var(--ink-2); font-size: 15px; }
.review .by { font-size: 13.5px; } .review .by b { color: var(--ink); }
.review .verified { color: var(--ok); font-weight: 600; }
.review .reply { background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.revnote { font-size: 13.5px; margin-top: 14px; }
.buybar { display: none; }
@media (max-width: 760px) {
  .assure { grid-template-columns: 1fr; }
  .buybar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -20px rgba(10,14,40,.35); transform: translateY(110%); transition: transform .25s var(--ease); }
  .buybar.show { transform: none; }
  .buybar span { display: grid; line-height: 1.25; font-size: 13.5px; } .buybar em { font-style: normal; font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; }
  .buybar .btn { padding: 13px 22px; }
}
.s-preview { margin: 0; padding: 9px 20px; text-align: center; font-size: 14px; background: #fff4d6; color: #6b4b00; }
.s-preview a { color: inherit; font-weight: 600; }

/* listing cards: price and Buy now; chips: price */
.cprice { font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; margin-top: 2px; min-height: 36px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cprice.req { font: 500 15px var(--f-body); color: var(--ink-2); letter-spacing: 0; }
.cprice s { font: 400 14px var(--f-body); color: var(--ink-2); letter-spacing: 0; }
.cprice small { font: 600 12.5px var(--f-body); color: #b3261e; letter-spacing: 0; }
.opts span i { font-style: normal; color: var(--ink); }
/* phones: the sticky buy bar must not cover the footer's last lines */
@media (max-width: 760px) { body:has(.buybar:not([hidden])) footer { padding-bottom: 84px; } }
