/* ABZ MART LTD — storefront
   One stylesheet. Tokens first, then the page top to bottom.
   Light only: the shop looks the same for everyone. */

:root {
  color-scheme: light;

  --bg:        #ffffff;
  --surface:   #f6f8f8;
  --surface-2: #eaf0ef;
  --fg:        #0c1a1a;
  --fg-soft:   #3f5150;
  --muted:     #6b7f7e;
  --line:      #e0e8e7;
  --line-soft: #edf2f1;

  --accent:      #0d7a70;
  --accent-hi:   #0a635b;
  --accent-weak: #e6f4f2;
  --accent-fg:   #ffffff;

  --warn:      #9a5b00;
  --warn-weak: #fdf4e5;
  --ok:        #0f7b4f;
  --ok-weak:   #e8f6ef;
  --danger:    #c23b28;

  --media-bg: #f2f5f5;

  --shadow-1: 0 1px 2px rgb(12 26 26 / .05), 0 1px 3px rgb(12 26 26 / .04);
  --shadow-2: 0 6px 16px -6px rgb(12 26 26 / .14), 0 2px 5px rgb(12 26 26 / .05);
  --shadow-3: 0 22px 50px -14px rgb(12 26 26 / .28);

  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --wrap: 1220px;
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.021em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-fg);
  padding: 12px 18px; border-radius: 0 0 var(--r) 0; font-weight: 600;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ─── Identity strip: company name and address, 1 of 3 ────────────────── */

.topbar { background: var(--fg); color: #fff; font-size: 12.5px; }
.topbar .wrap {
  min-height: 38px; display: flex; align-items: center; gap: 10px 24px;
  flex-wrap: wrap; padding-block: 7px;
}
.topbar-id { margin: 0; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; min-width: 0; }
.topbar-id b { font-weight: 650; letter-spacing: .055em; font-size: 12px; white-space: nowrap; }
.topbar-id span { color: rgb(255 255 255 / .68); }
.topbar-id .sep { color: rgb(255 255 255 / .3); }
.topbar-links { margin-left: auto; display: flex; gap: 20px; }
.topbar-links a { color: rgb(255 255 255 / .74); text-decoration: none; white-space: nowrap; }
.topbar-links a:hover { color: #fff; }
@media (max-width: 900px) { .topbar-links { display: none; } }
.topbar-id .topbar-no { white-space: nowrap; }
/* Narrow screens: the separators go, and the strip wraps to two lines with
   the address and the number reading as their own. */
@media (max-width: 560px) { .topbar-id .sep { display: none; } }

/* ─── Header ──────────────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(255 255 255 / .88);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { min-height: var(--header-h); display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-txt b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.brand-txt small { font-size: 10px; color: var(--muted); letter-spacing: .13em; font-weight: 600; }
@media (max-width: 540px) { .brand-txt { display: none; } }

.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a {
  padding: 8px 11px; border-radius: 9px; text-decoration: none;
  color: var(--fg-soft); font-size: 14px; font-weight: 520;
}
.nav a:hover { background: var(--surface-2); color: var(--fg); }
@media (max-width: 1040px) { .nav { display: none; } }

.search { margin-left: auto; position: relative; flex: 1 1 250px; max-width: 330px; min-width: 0; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; height: 40px; padding: 0 14px 0 38px;
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus {
  outline: none; background: var(--bg); border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.cart-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--fg); font: inherit; font-size: 14px;
  font-weight: 560; cursor: pointer;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) { .cart-btn .label { display: none; } .cart-btn { padding-inline: 12px; } }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center;
}
.cart-count[hidden] { display: none; }

/* ─── Hero ────────────────────────────────────────────────────────────── */

.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap {
  padding: 58px 22px 52px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center;
}
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; padding-block: 42px 38px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 9px; border-radius: 999px;
  background: var(--accent-weak); color: var(--accent);
  font-size: 12px; font-weight: 650;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.hero h1 { margin-top: 18px; font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin: 16px 0 0; font-size: 16.5px; color: var(--fg-soft); max-width: 50ch; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { background: var(--bg); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.hero-stats {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 30px; flex-wrap: wrap;
}
.hero-stats b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

.hero-art {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero-art figure {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─── Service row ─────────────────────────────────────────────────────── */

.trust { border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 920px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust .wrap { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 12px; }
.trust-item .ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-weak); color: var(--accent); display: grid; place-items: center;
}
.trust-item b { display: block; font-size: 14px; font-weight: 620; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ─── Sections ────────────────────────────────────────────────────────── */

.section { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(23px, 2.5vw, 29px); font-weight: 690; }
.section-head p { margin: 7px 0 0; color: var(--muted); max-width: 56ch; }
.section-head .count { margin-left: auto; font-size: 13.5px; color: var(--muted); }

.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg-soft);
  font: inherit; font-size: 13.5px; font-weight: 560; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.chip .n { font-size: 11.5px; opacity: .62; font-variant-numeric: tabular-nums; }

/* ─── Product grid ────────────────────────────────────────────────────── */

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg); overflow: hidden;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow-2); transform: translateY(-2px);
}

.card-media {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--media-bg); overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.card-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.card:hover .card-media img { transform: scale(1.045); }

.tag {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase;
}
.tag-new  { background: var(--accent); color: var(--accent-fg); }
.tag-deal { background: var(--warn-weak); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 26%, transparent); }
.tag-low  { background: var(--surface-2); color: var(--fg-soft); border: 1px solid var(--line); }

.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card-body h3 { margin-top: 6px; font-size: 15px; font-weight: 620; line-height: 1.34; }
.card-spec { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.card-meta { margin-top: 11px; display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.stars { color: var(--warn); font-size: 12px; letter-spacing: .5px; }
.card-meta .rc { color: var(--muted); }

.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price s { font-size: 12.5px; color: var(--muted); }
.price small { font-size: 11px; color: var(--muted); }

.add {
  margin-left: auto; height: 38px; padding: 0 15px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.add:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.add.done { background: var(--ok-weak); border-color: color-mix(in srgb, var(--ok) 40%, transparent); color: var(--ok); }

.empty {
  padding: 60px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--r-lg);
}
.empty b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 6px; }

/* ─── Company panel: name and address, 2 of 3 ─────────────────────────── */

.company-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; box-shadow: var(--shadow-1);
}
@media (max-width: 880px) { .company-card { grid-template-columns: 1fr; } }

.company-main { padding: 38px 38px 34px; }
@media (max-width: 560px) { .company-main { padding: 28px 22px; } }
.company-main h2 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 690; }
.company-main > p { margin: 14px 0 0; color: var(--fg-soft); max-width: 54ch; }

.registered {
  margin-top: 26px; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.registered .lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.registered .nm { margin: 9px 0 0; font-size: clamp(19px, 2.1vw, 23px); font-weight: 700; letter-spacing: -.014em; }
.registered address { margin: 8px 0 0; font-style: normal; font-size: 15px; line-height: 1.65; color: var(--fg-soft); max-width: 34ch; }
/* The statutory line: present and legible, but not competing with the
   address it belongs to. */
.regno { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.regno b { font-weight: 650; color: var(--fg-soft); }
.footer-brand .regno { margin-top: 8px; }

.registered .cta { margin-top: 18px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; }
.registered .cta a { color: var(--accent); text-decoration: none; font-weight: 570; }
.registered .cta a:hover { text-decoration: underline; }

.company-side {
  background: var(--surface); border-left: 1px solid var(--line);
  padding: 38px 34px; display: flex; flex-direction: column;
}
@media (max-width: 880px) { .company-side { border-left: 0; border-top: 1px solid var(--line); padding: 30px 24px; } }
.company-side h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .075em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.company-side dl { margin: 0; }
.fact { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.fact:last-child { border-bottom: 0; }
.fact dt { flex: none; width: 118px; color: var(--muted); }
.fact dd { margin: 0; font-weight: 540; }

/* ─── Footer: name and address, 3 of 3 ────────────────────────────────── */

.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0 38px; }
@media (max-width: 940px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 26px; } }

.footer-brand .brand { margin-bottom: 16px; }
.footer-name { font-size: 15.5px; font-weight: 700; letter-spacing: .01em; }
.footer-brand address { margin: 8px 0 0; font-style: normal; font-size: 14px; line-height: 1.7; color: var(--fg-soft); max-width: 30ch; }
.footer-brand .contact { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.footer-brand .contact a { color: var(--accent); text-decoration: none; }
.footer-brand .contact a:hover { text-decoration: underline; }

.footer-col h4 {
  margin: 0 0 12px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .085em; text-transform: uppercase; color: var(--muted);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: var(--fg-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.footer-legal {
  border-top: 1px solid var(--line); padding: 20px 0 30px;
  display: flex; gap: 12px 26px; flex-wrap: wrap; align-items: center;
  font-size: 12.5px; color: var(--muted);
}
.footer-legal .pay { margin-left: auto; display: flex; gap: 8px; }
.footer-legal .pay span {
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
  font-size: 10.5px; font-weight: 650; letter-spacing: .05em; color: var(--fg-soft);
}

/* ─── Basket ──────────────────────────────────────────────────────────── */

.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgb(6 16 16 / .48);
  backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%); background: var(--bg); border-left: 1px solid var(--line);
  box-shadow: var(--shadow-3); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .24s cubic-bezier(.22, .61, .36, 1);
}
.drawer.open { transform: none; }

.drawer-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 17px; font-weight: 660; }
.drawer-head .n { font-size: 13px; color: var(--muted); }
.icon-btn {
  margin-left: auto; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg-soft);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }

.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-empty { padding: 70px 10px; text-align: center; color: var(--muted); }
.drawer-empty svg { color: var(--line); margin-bottom: 14px; }
.drawer-empty b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 5px; }

.line { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.line-media {
  flex: none; width: 62px; height: 62px; border-radius: 10px;
  background: var(--media-bg); border: 1px solid var(--line-soft); overflow: hidden;
}
.line-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; font-size: 13.8px; font-weight: 590; line-height: 1.35; }
.line-info .u { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.qty { margin-top: 9px; display: flex; align-items: center; gap: 2px; }
.qty button {
  width: 26px; height: 26px; border: 1px solid var(--line); background: var(--bg);
  color: var(--fg); font: inherit; font-size: 15px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.qty button:first-child { border-radius: 7px 0 0 7px; }
.qty button:last-of-type { border-radius: 0 7px 7px 0; }
.qty button:hover { background: var(--surface-2); }
.qty span {
  min-width: 32px; height: 26px; border-block: 1px solid var(--line);
  display: grid; place-items: center; font-size: 13px; font-variant-numeric: tabular-nums;
}
.qty .rm {
  margin-left: auto; width: auto; border: 0; background: none;
  color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 0 2px;
}
.qty .rm:hover { color: var(--danger); background: none; text-decoration: underline; }

.line-total { font-size: 14px; font-weight: 640; font-variant-numeric: tabular-nums; white-space: nowrap; }

.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--surface); }
.sum { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--fg-soft); margin-bottom: 7px; }
.sum.total {
  margin: 12px 0 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 17px; font-weight: 700; color: var(--fg);
}
.sum b, .sum span { font-variant-numeric: tabular-nums; }
.drawer-foot .btn { width: 100%; }
.drawer-note { margin: 12px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.55; text-align: center; }

.enquiry { padding: 4px 0 10px; }
.enquiry h3 { font-size: 16px; font-weight: 660; margin-bottom: 8px; }
.enquiry p { margin: 0 0 14px; font-size: 13.5px; color: var(--fg-soft); }
.enquiry .ref {
  display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: 7px;
  background: var(--accent-weak); color: var(--accent);
  font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.enquiry pre {
  margin: 0 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); font-size: 12.5px; line-height: 1.65; color: var(--fg-soft);
  white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 11px; background: var(--fg); color: var(--bg);
  font-size: 13.5px; font-weight: 560; box-shadow: var(--shadow-3);
  transition: opacity .18s, transform .18s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ── Policy pages ─────────────────────────────────────────────────────
   Terms, returns and privacy. One narrow column, because these are read
   rather than scanned, and nothing here competes with the words. */

.doc { max-width: 760px; margin: 0 auto; padding: 46px 22px 90px; }

.doc-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.doc-back:hover { color: var(--accent); }

.doc h1 {
  margin: 20px 0 0; font-size: clamp(28px, 4vw, 38px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
}
.doc-sub { margin: 12px 0 0; color: var(--fg-soft); font-size: 16.5px; line-height: 1.65; }
.doc-date {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

.doc h2 {
  margin: 42px 0 0; font-size: 19px; font-weight: 680; letter-spacing: -.01em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.doc h3 { margin: 26px 0 0; font-size: 15.5px; font-weight: 660; }

.doc p, .doc li { font-size: 15.5px; line-height: 1.78; color: var(--fg-soft); }
.doc p { margin: 13px 0 0; }
.doc h2 + p, .doc h3 + p { margin-top: 10px; }
.doc strong { color: var(--fg); font-weight: 640; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.doc ul, .doc ol { margin: 13px 0 0; padding-left: 21px; }
.doc li { margin-top: 7px; }
.doc li::marker { color: var(--muted); }

/* Section index at the top: long documents are hard to re-enter otherwise. */
.doc-toc {
  margin-top: 26px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.doc-toc h4 {
  margin: 0 0 9px; font-size: 11px; font-weight: 700;
  letter-spacing: .085em; color: var(--muted); text-transform: uppercase;
}
.doc-toc ol { margin: 0; padding-left: 19px; }
.doc-toc li { margin-top: 5px; font-size: 14px; }
.doc-toc a { color: var(--fg-soft); text-decoration: none; }
.doc-toc a:hover { color: var(--accent); text-decoration: underline; }

/* A fact worth not burying in a paragraph. */
.doc-note {
  margin-top: 18px; padding: 14px 17px; border-radius: var(--r);
  background: var(--accent-weak); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.doc-note p { margin: 0; color: var(--fg); font-size: 14.5px; }
.doc-note p + p { margin-top: 8px; }

.doc-table { margin-top: 16px; width: 100%; overflow-x: auto; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th, .doc-table td {
  text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft);
}
.doc-table th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.doc-table td { color: var(--fg-soft); }
.doc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--fg); }
.doc-table tr:last-child td { border-bottom: 0; }

.doc-contact {
  margin-top: 44px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.doc-contact b { display: block; font-size: 15px; letter-spacing: .01em; }
.doc-contact address { font-style: normal; margin-top: 6px; font-size: 14.5px; line-height: 1.75; color: var(--fg-soft); }
.doc-contact p { margin-top: 12px; font-size: 14.5px; }

.footer-legal .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal .legal-links a { color: inherit; }
.footer-legal .legal-links a:hover { color: var(--accent); text-decoration: underline; }

/* ── Product quick view (opened by clicking a product) ─────────────── */
.card-media[data-open], .card-body h3[data-open] { cursor: pointer; }
.card-body h3[data-open]:hover { color: var(--accent); }
.pm-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.pm-scrim { position: absolute; inset: 0; background: rgba(10,12,14,.55); }
.pm {
  position: relative; z-index: 1; width: min(860px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -20px rgba(10,12,14,.5);
}
.pm-x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--fg);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.pm-x:hover { background: var(--line); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pm-media { background: var(--media-bg); display: grid; place-items: center; padding: 26px; }
.pm-media img { width: 100%; height: auto; border-radius: var(--r); }
.pm-info { padding: 30px 30px 32px; }
.pm-name { font-size: clamp(19px, 2.3vw, 24px); font-weight: 700; margin: 4px 0 0; }
.pm-meta { margin: 10px 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pm-meta .stars { color: var(--accent-hi); }
.pm-spec { color: var(--fg-soft); font-size: 15px; margin: 12px 0 0; }
.pm-price { margin: 18px 0 4px; font-size: 16px; }
.pm-price b { font-size: 26px; }
.pm-price small { color: var(--muted); }
.pm-stock { margin: 6px 0 18px; font-size: 14px; font-weight: 600; }
.pm-in { color: var(--ok); } .pm-low { color: var(--warn); } .pm-out { color: var(--danger); }
.pm-buy { display: flex; gap: 12px; align-items: center; }
.pm-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.pm-qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--fg); }
.pm-qty span { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.pm-add { flex: 1; }
.pm-oos { color: var(--muted); font-size: 14px; }
@media (max-width: 680px) { .pm-grid { grid-template-columns: 1fr; } .pm-media { padding: 18px; } .pm-info { padding: 22px; } }

/* ── Delivery details form in the basket drawer (card checkout) ─────── */
.bill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 4px; }
.bf { display: grid; gap: 5px; }
.bf.full { grid-column: 1 / -1; }
.bf span { font-size: 12.5px; font-weight: 600; color: var(--fg); }
.bf input {
  width: 100%; min-height: 42px; padding: 8px 12px; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--fg);
}
.bf input:focus { outline: none; border-color: var(--accent); }
.bill-total { margin: 14px 0 4px; font-size: 15px; }
.bill-total b { font-size: 19px; }
.bill-total small { color: var(--muted); }
.bill-note { margin: 8px 0 12px; font-size: 12.5px; color: var(--muted); }
.bill-err {
  margin: 0 0 12px; padding: 9px 12px; border-radius: var(--r); font-size: 13px;
  background: var(--warn-weak); color: var(--warn);
}
