/* ==========================================================================
   INFINITE MEDICAL SOLUTIONS — DESIGN SYSTEM
   1. Tokens          5. Buttons        9. Product card   13. Cart
   2. Reset           6. Header        10. Home          14. Checkout
   3. Layout          7. Marquee       11. Shop          15. Footer
   4. Typography      8. Hero          12. Product       16. Overlays / motion
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  color-scheme: light;

  --ink-900: #05080b;
  --ink-800: #0b1116;
  --ink-700: #17212a;
  --ink-500: #4a5560;
  --ink-400: #6d7883;
  --ink-300: #9aa4ae;
  --ink-200: #c7ced5;

  --line: #e3e8ec;
  --line-strong: #cfd7dd;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f6f7;
  --surface-3: #eaeef0;
  --surface-ink: #0b1116;

  /* Sampled from the company logo */
  --brand-blue: #00539c;
  --brand-blue-deep: #023570;
  --brand-blue-light: #0b8ad6;
  --brand-green: #0a7d2c;
  --brand-green-light: #58b430;
  --brand-gradient: linear-gradient(90deg, var(--brand-blue-deep) 0%, var(--brand-blue) 28%, var(--brand-blue-light) 50%, var(--brand-green) 76%, var(--brand-green-light) 100%);

  --accent: #0f7a72;
  --accent-dark: #0a5b55;
  --accent-soft: #e6f3f1;
  --accent-line: #b7dcd7;

  --wa: #1fac54;
  --wa-dark: #17853f;

  --danger: #bf2f26;
  --danger-soft: #fdeceb;
  --warn: #b4661a;
  --ok: #0f7a4a;

  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(9, 17, 22, .06), 0 2px 8px rgba(9, 17, 22, .04);
  --shadow-md: 0 4px 12px rgba(9, 17, 22, .07), 0 16px 40px rgba(9, 17, 22, .07);
  --shadow-lg: 0 8px 24px rgba(9, 17, 22, .10), 0 32px 80px rgba(9, 17, 22, .12);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --header-h: 68px;
  --bar-h: 34px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#app { flex: 1 0 auto; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 12px 18px;
  border-radius: var(--r-pill); font-weight: 600; font-size: 13px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- 3. LAYOUT */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 940px; }
.wrap--mid { max-width: 1180px; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 60px); }
.section--flush-top { padding-top: 0; }
.section--muted { background: var(--surface-2); }
.section--ink { background: var(--ink-900); color: #fff; }

.grid { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.stack > * + * { margin-top: var(--stack, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.push { margin-left: auto; }

/* ------------------------------------------------------------ 4. TYPOGRAPHY */
.display, h1, h2, h3, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.02;
  color: var(--ink-900);
  text-wrap: balance;
}

.h-hero { font-size: clamp(2.7rem, 8.2vw, 6.4rem); text-transform: uppercase; letter-spacing: -.04em; line-height: .92; }
.h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-transform: uppercase; }
.h2 { font-size: clamp(1.55rem, 3.1vw, 2.5rem); text-transform: uppercase; }
.h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -.02em; }
.h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow--muted { color: var(--ink-400); }
.eyebrow--light { color: rgba(255,255,255,.72); }

.lede { font-size: clamp(15px, 1.35vw, 17.5px); color: var(--ink-500); line-height: 1.65; max-width: 62ch; }
.muted { color: var(--ink-400); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.link-underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-underline:hover { color: var(--accent); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.6vw, 34px);
}
.section-head p { margin-top: 8px; }

/* --------------------------------------------------------------- 5. BUTTONS */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  --btn-bd: var(--ink-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.005em; text-align: center; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink-900); --btn-bg: var(--surface-2); }
.btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-dark); --btn-bd: var(--accent-dark); }
.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: var(--wa-dark); --btn-bd: var(--wa-dark); }
.btn--wa-outline { --btn-bg: transparent; --btn-fg: var(--wa-dark); --btn-bd: var(--wa); }
.btn--wa-outline:hover { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #f0f2f3; --btn-bd: #f0f2f3; }
.btn--onink { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--onink:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.1); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none;
}

.iconbtn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  color: var(--ink-800); transition: background .18s var(--ease), color .18s var(--ease);
}
.iconbtn:hover { background: var(--surface-2); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-700);
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--ink-400); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--ink-900); border-color: var(--ink-900); color: #fff;
}
.chip__count { font-size: 11.5px; opacity: .6; }

.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--r-sm); background: var(--ink-900); color: #fff;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.badge--accent { background: var(--accent); }
.badge--sale { background: var(--danger); }
.badge--soft { background: var(--accent-soft); color: var(--accent-dark); }
.badge--outline { background: transparent; color: var(--ink-500); border: 1px solid var(--line-strong); }

/* ---------------------------------------------------------------- 6. HEADER */
.topbar {
  background: var(--ink-900); color: rgba(255,255,255,.82);
  font-size: 12px; height: var(--bar-h);
  display: flex; align-items: center; overflow: hidden;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent-line); }
.topbar__list { display: flex; gap: 20px; align-items: center; }
.topbar__scroll { display: flex; align-items: center; gap: 10px; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(9,17,22,.06); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { height: 34px; width: auto; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--brand-blue);
}
.brand__sub {
  font-family: var(--font-display); font-size: 8.5px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brand-green); margin-top: 4px;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--brand-green-light); }

/* The brand band that runs across the very top of every page */
.brandbar { height: 4px; background: var(--brand-gradient); }

.mainnav { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 10px); margin-inline: auto; }
.mainnav__link {
  position: relative; display: inline-flex; align-items: center; height: 40px;
  padding: 0 12px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.005em; color: var(--ink-800);
  transition: color .16s var(--ease);
}
.mainnav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--ink-900); transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease-out);
}
.mainnav__link:hover::after, .mainnav__link.is-active::after { transform: scaleX(1); }
.mainnav__link.is-active { color: var(--ink-900); }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }

.searchbox {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; min-width: 210px;
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: var(--r-pill);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.searchbox:focus-within { background: #fff; border-color: var(--ink-900); }
.searchbox input {
  border: 0; background: none; outline: none; width: 100%;
  font-size: 14px; color: var(--ink-900);
}
.searchbox input::placeholder { color: var(--ink-400); }
.searchbox svg { color: var(--ink-500); flex: none; }

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: 2px; right: 0;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 700; font-family: var(--font-display);
  border: 2px solid #fff;
}
.cart-btn__count[data-empty="true"] { display: none; }
.cart-btn.is-bumped { animation: bump .42s var(--ease-out); }
@keyframes bump { 0%,100% { transform: scale(1); } 35% { transform: scale(1.18); } }

.nav-toggle { display: none; }

/* Mobile drawer nav */
.mobilenav {
  position: fixed; inset: 0; z-index: 120; display: none;
}
.mobilenav.is-open { display: block; }
.mobilenav__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 88vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.mobilenav.is-in .mobilenav__panel { transform: none; }
.mobilenav__head { display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.mobilenav__body { flex: 1; overflow-y: auto; padding: 18px var(--gutter) 32px; }
.mobilenav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  letter-spacing: -.03em; text-transform: uppercase; color: var(--ink-900);
}
.mobilenav__sub {
  display: block; padding: 11px 0; color: var(--ink-500); font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.mobilenav__foot { padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* --------------------------------------------------------------- 7. MARQUEE */
.marquee {
  background: var(--accent); color: #fff; overflow: hidden;
  padding-block: 11px; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.marquee__track { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ 8. HERO */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(500px, 78vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--ink-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(3,7,10,.92) 0%, rgba(3,7,10,.55) 42%, rgba(3,7,10,.18) 72%, rgba(3,7,10,.35) 100%);
}
/* Branded hero: the logo's blue-to-green wash over the photograph, with the
   mark itself as a watermark. The photograph carries the subject, the gradient
   and the watermark carry the brand. */
.hero--branded::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(118deg,
      rgba(2, 27, 58, .95) 0%,
      rgba(0, 62, 122, .86) 34%,
      rgba(0, 92, 96, .74) 60%,
      rgba(10, 105, 46, .70) 82%,
      rgba(58, 138, 40, .66) 100%);
}
.hero--branded::after {
  background: linear-gradient(to top,
    rgba(2, 10, 20, .90) 0%, rgba(2, 10, 20, .44) 46%,
    rgba(2, 10, 20, .10) 74%, rgba(2, 10, 20, .30) 100%);
}
.hero__watermark {
  position: absolute; z-index: -1; right: -6%; top: 4%;
  width: clamp(340px, 52vw, 780px); height: auto;
  opacity: .16; pointer-events: none; user-select: none;
  filter: saturate(1.15);
}
.hero__lockup {
  display: block; width: clamp(190px, 21vw, 268px); height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .45));
}

.hero__inner { padding-block: clamp(38px, 6vw, 76px); width: 100%; }
.hero__copy { max-width: 780px; }
.hero .h-hero { color: #fff; }
.hero__lede { color: rgba(255,255,255,.82); font-size: clamp(15px, 1.5vw, 18px); max-width: 54ch; margin-top: 18px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__facts {
  display: flex; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 52px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__fact strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: -.03em; color: #fff;
}
.hero__fact span { font-size: 12.5px; color: rgba(255,255,255,.66); }

/* Value strip */
.values { border-bottom: 1px solid var(--line); }
.values__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}
.values__item {
  padding: clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.values__item svg { color: var(--accent); flex: none; margin-top: 2px; }
.values__item h3 { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.values__item p { font-size: 13px; color: var(--ink-400); margin-top: 4px; line-height: 1.5; }

/* --------------------------------------------------------- 9. PRODUCT CARD */
.card-grid { display: grid; gap: clamp(16px, 1.8vw, 26px); grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--surface-2); aspect-ratio: 1 / 1;
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease-out);
}
.pcard__media img.is-loaded { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__media img.is-placeholder { object-fit: cover; }

.pcard__flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pcard__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }

.pcard__body { padding-top: 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard__cat { font-size: 11.5px; color: var(--ink-400); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.pcard__name {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 650; letter-spacing: -.012em;
  color: var(--ink-900); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__short {
  font-size: 12.8px; color: var(--ink-400); line-height: 1.5; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 9px; }
.pcard__code {
  font-size: 11.5px; font-weight: 600; color: var(--ink-400);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pcard__quote {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark);
}
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.pcard__foot .btn { flex: 1; }
.pcard__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-400); }
.pcard__rating svg { color: #e8a33d; }

.stock-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-500); }
.stock-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock-dot[data-state="low"]::before { background: var(--warn); }
.stock-dot[data-state="out"]::before { background: var(--ink-300); }

/* Horizontal scroller (Nike-style rails) */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; background: #fff; color: var(--ink-800);
  transition: all .16s var(--ease);
}
.rail__btn:hover { border-color: var(--ink-900); background: var(--ink-900); color: #fff; }
.rail__btn[disabled] { opacity: .3; pointer-events: none; }
.rail__btn--prev svg { transform: rotate(180deg); }

/* ------------------------------------------------------------------ 10. HOME */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.cat-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 5; background: var(--surface-3); color: #fff; isolation: isolate;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); opacity: 0; }
.cat-tile img.is-loaded { opacity: 1; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,7,10,.88) 4%, rgba(3,7,10,.28) 46%, rgba(3,7,10,0) 72%);
}
.cat-tile__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(16px, 2vw, 26px); }
.cat-tile__title {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.55rem); font-weight: 800;
  letter-spacing: -.03em; text-transform: uppercase; color: #fff;
}
.cat-tile__blurb { font-size: 13px; color: rgba(255,255,255,.76); margin-top: 5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile__cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-900); font-size: 13px; font-weight: 600;
  transition: gap .2s var(--ease);
}
.cat-tile:hover .cat-tile__cta { gap: 12px; }

.promo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2);
}
.promo--reverse .promo__media { order: 2; }
.promo__media { position: relative; min-height: 340px; background: var(--surface-3); }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__body { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.promo__body .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.promo--ink { background: var(--ink-900); }
.promo--ink .promo__body { color: rgba(255,255,255,.78); }
.promo--ink h2, .promo--ink .h2 { color: #fff; }

.split-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px);
}
.cta-card {
  border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px;
  background: #fff; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cta-card:hover { border-color: var(--ink-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* The e-mail CTA prints the full address as its label; on narrow phones it has
   to be allowed to wrap instead of forcing the card wider than the viewport. */
.split-cta > *, .cta-card { min-width: 0; }
.cta-card .btn {
  max-width: 100%; height: auto; padding-block: 12px;
  white-space: normal; overflow-wrap: anywhere; line-height: 1.3;
}
@media (max-width: 420px) {
  .cta-card { padding: 20px; overflow-wrap: anywhere; }
}
.cta-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); }
.cta-card--wa .cta-card__icon { background: rgba(31,172,84,.12); color: var(--wa-dark); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.testi {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 2.4vw, 30px);
  background: #fff; display: flex; flex-direction: column; gap: 14px;
}
.testi__stars { display: flex; gap: 2px; color: #e8a33d; }
.testi__quote { font-size: 14.5px; line-height: 1.62; color: var(--ink-700); }
.testi__who { font-size: 12.5px; color: var(--ink-400); margin-top: auto; }
.testi__who strong { display: block; color: var(--ink-800); font-size: 13.5px; }

/* ------------------------------------------------------------------ 11. SHOP */
.pagehead { padding-block: clamp(26px, 3.4vw, 48px) clamp(20px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-400); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink-900); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

.shop-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-group + .filter-group { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.filter-group__title {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-900); margin-bottom: 14px;
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-list--scroll { max-height: 340px; overflow-y: auto; padding-right: 4px; }
.filter-list--scroll::-webkit-scrollbar { width: 6px; }
.filter-list--scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.filter-opt {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-inline: -10px;
  border-radius: var(--r-sm); font-size: 14px; color: var(--ink-700); text-align: left; width: calc(100% + 20px);
  transition: background .14s var(--ease);
}
.filter-opt:hover { background: var(--surface-2); }
.filter-opt.is-active { color: var(--ink-900); font-weight: 600; background: var(--surface-2); }
.filter-opt__count { margin-left: auto; font-size: 12px; color: var(--ink-300); }

.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }

.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="number"] {
  width: 100%; height: 40px; padding: 0 10px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); background: #fff; font-size: 13.5px;
}
.range-row input:focus { outline: none; border-color: var(--ink-900); }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.select {
  height: 42px; padding: 0 38px 0 15px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); background: #fff; font-size: 14px; font-weight: 500;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5560' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px;
}
.select:focus { outline: none; border-color: var(--ink-900); }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill-x {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px 0 13px;
  background: var(--surface-2); border-radius: var(--r-pill); font-size: 12.5px; color: var(--ink-700);
}
.pill-x button { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--ink-400); }
.pill-x button:hover { background: var(--ink-900); color: #fff; }

.filter-bar-mobile { display: none; }

.loadmore { display: grid; justify-items: center; gap: 14px; margin-top: clamp(26px, 3vw, 40px); }

.range-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 18px;
}
.range-list__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; margin-inline: -12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink-700); transition: background .14s var(--ease), color .14s var(--ease);
}
.range-list__item:hover { background: #fff; color: var(--ink-900); }
.range-list__count { font-size: 12px; color: var(--ink-300); font-variant-numeric: tabular-nums; }

.empty {
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 72px) 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty svg { color: var(--ink-300); }

/* --------------------------------------------------------------- 12. PRODUCT */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 68px); align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.gallery__main {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); aspect-ratio: 1 / 1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.gallery__main img.is-loaded { opacity: 1; }
.gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery__thumb {
  width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--surface-2); flex: none;
  transition: border-color .16s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink-900); }

.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__brand { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pdp__title { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-top: 8px; letter-spacing: -.032em; line-height: 1.06; }
.pdp__short { color: var(--ink-500); font-size: 15px; line-height: 1.6; margin-top: 12px; }
.pdp__quote {
  margin-top: 22px; padding: 15px 18px; display: grid; gap: 4px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-md);
}
.pdp__quote strong {
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark);
}
.pdp__quote span { font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }

.optgroup { margin-top: 22px; }
.optgroup__label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.optgroup__name { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-900); }
.optgroup__value { font-size: 13px; color: var(--ink-500); }
.optlist { display: flex; gap: 8px; flex-wrap: wrap; }
.opt {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-700);
  transition: all .14s var(--ease);
}
.opt:hover { border-color: var(--ink-500); }
.opt[aria-pressed="true"] { border-color: var(--ink-900); background: var(--ink-900); color: #fff; }
.opt__delta { font-size: 11.5px; opacity: .7; }

.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); overflow: hidden; height: 48px; background: #fff;
}
.qty button { width: 44px; height: 100%; display: grid; place-items: center; font-size: 19px; color: var(--ink-700); }
.qty button:hover { background: var(--surface-2); color: var(--ink-900); }
.qty input {
  width: 46px; height: 100%; text-align: center; border: 0; outline: none;
  font-size: 15px; font-weight: 600; background: none;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; font-size: 16px; }
.qty--sm input { width: 38px; font-size: 14px; }

.pdp__actions { display: grid; gap: 10px; margin-top: 24px; }
.pdp__actions .btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp__note { font-size: 12.5px; color: var(--ink-400); text-align: center; margin-top: 2px; }

.acc { border-top: 1px solid var(--line); margin-top: 30px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 0; text-align: left;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
  letter-spacing: -.01em; color: var(--ink-900);
}
.acc__btn svg { transition: transform .24s var(--ease); flex: none; color: var(--ink-400); }
.acc__btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.acc__panel { overflow: hidden; }
.acc__panel > div { padding-bottom: 20px; color: var(--ink-500); font-size: 14px; line-height: 1.68; }
.acc__panel ul { display: grid; gap: 7px; }
.acc__panel li { padding-left: 20px; position: relative; }
.acc__panel li::before {
  content: ''; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.spec-table td:first-child { color: var(--ink-400); width: 44%; padding-right: 14px; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ 13. CART */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3.4vw, 52px); align-items: start; }

.cartline {
  display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.cartline__media { width: 108px; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.cartline__media img { width: 100%; height: 100%; object-fit: cover; }
.cartline__name { font-size: 14.5px; font-weight: 650; letter-spacing: -.012em; color: var(--ink-900); line-height: 1.4; }
.cartline__name:hover { color: var(--accent-dark); }
.cartline__opts { font-size: 12.5px; color: var(--ink-400); margin-top: 5px; display: grid; gap: 2px; }
.cartline__controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.cartline__remove { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-400); }
.cartline__remove:hover { color: var(--danger); }
.cartline--noprice { grid-template-columns: 108px minmax(0, 1fr); }

.summary {
  border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px);
  position: sticky; top: calc(var(--header-h) + 24px); background: #fff;
}
.summary__row { font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--ink-500); }
.summary__row strong { color: var(--ink-900); font-weight: 600; }
.summary__note { font-size: 12.5px; color: var(--ink-400); line-height: 1.55; margin-top: 12px; }

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 130; display: none; }
.drawer.is-open { display: block; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(460px, 92vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .36s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.drawer.is-in .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 22px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.drawer .cartline { grid-template-columns: 78px minmax(0,1fr); gap: 14px; }
.drawer .cartline__media { width: 78px; }

.scrim {
  position: absolute; inset: 0; background: rgba(5,8,11,.5);
  opacity: 0; transition: opacity .3s var(--ease);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.is-in .scrim, .modal.is-in .scrim { opacity: 1; }

/* -------------------------------------------------------------- 14. CHECKOUT */
.steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.step { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-300); }
.step__num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); font-size: 12px; font-weight: 700; font-family: var(--font-display);
}
.step.is-active { color: var(--ink-900); font-weight: 600; }
.step.is-active .step__num { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.step.is-done .step__num { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.is-done { color: var(--ink-500); }
.step__sep { width: 26px; height: 1.5px; background: var(--line-strong); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-700); }
.field label .req { color: var(--danger); }
.field .hint { font-size: 12px; color: var(--ink-400); }
.input, textarea.input, select.input {
  width: 100%; min-height: 50px; padding: 13px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: #fff; font-size: 15px; color: var(--ink-900);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input::placeholder { color: var(--ink-300); }
.input:focus { outline: none; border-color: var(--ink-900); box-shadow: 0 0 0 3px rgba(11,17,22,.07); }
textarea.input { min-height: 108px; resize: vertical; line-height: 1.55; }
.field.has-error .input { border-color: var(--danger); background: var(--danger-soft); }
.field__error { font-size: 12.5px; color: var(--danger); font-weight: 500; display: none; }
.field.has-error .field__error { display: block; }

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 16px 18px;
  cursor: pointer; display: flex; gap: 12px; align-items: flex-start;
  transition: all .16s var(--ease); background: #fff;
}
.radio-card:hover { border-color: var(--ink-500); }
.radio-card input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.radio-card.is-selected { border-color: var(--ink-900); box-shadow: 0 0 0 1px var(--ink-900); }
.radio-card strong { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.radio-card span { font-size: 12.5px; color: var(--ink-400); line-height: 1.45; display: block; margin-top: 3px; }

.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.method-card {
  border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 28px);
  text-align: left; display: flex; flex-direction: column; gap: 12px; background: #fff;
  transition: all .18s var(--ease);
}
.method-card:hover { border-color: var(--ink-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.method-card.is-selected { border-color: var(--ink-900); box-shadow: 0 0 0 1px var(--ink-900); }
.method-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.method-card--wa .method-card__icon { background: rgba(31,172,84,.12); color: var(--wa-dark); }
.method-card--mail .method-card__icon { background: var(--accent-soft); color: var(--accent-dark); }
.method-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.method-card p { font-size: 13.5px; color: var(--ink-400); line-height: 1.55; }

.preview {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; max-height: 340px; overflow: auto;
}
.preview pre {
  margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.62; color: var(--ink-700); white-space: pre-wrap; word-break: break-word;
}

.review-list { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.review-list__item { display: flex; gap: 12px; padding: 13px 16px; align-items: center; border-bottom: 1px solid var(--line); }
.review-list__item:last-child { border-bottom: 0; }
.review-list__item img { width: 46px; height: 46px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); flex: none; }
.review-list__name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.review-list__meta { font-size: 12px; color: var(--ink-400); }
.review-list__qty { margin-left: auto; font-weight: 700; font-size: 13px; font-family: var(--font-display); white-space: nowrap; color: var(--ink-500); }

.notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  font-size: 13.5px; color: var(--accent-dark); line-height: 1.55;
}
.notice--warn { background: #fdf5e9; border-color: #f0dcbe; color: #8a5a12; }
.notice--error { background: var(--danger-soft); border-color: #f4c9c6; color: #8f231c; }

/* ---------------------------------------------------------------- 15. FOOTER */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.66); padding-block: clamp(44px, 5vw, 72px) 0; margin-top: auto; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.footer-title {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-list { display: grid; gap: 10px; font-size: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; text-decoration: none; }
.footer-brand__text { display: flex; flex-direction: column; line-height: 1; }
.footer-brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: #fff; }
.footer-brand__sub {
  font-family: var(--font-display); font-size: 9.5px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brand-green-light); margin-top: 4px;
}
.footer-contact { display: grid; gap: 12px; font-size: 14px; margin-top: 18px; }
.footer-contact a, .footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 2px; opacity: .6; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 54px); padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px;
}
.footer-hours { display: grid; gap: 6px; font-size: 13.5px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 14px; }

/* --------------------------------------------------- 16. OVERLAYS / MOTION */
.modal { position: fixed; inset: 0; z-index: 140; display: none; }
.modal.is-open { display: block; }
.modal__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.98);
  width: min(680px, 94vw); max-height: min(90vh, 900px); overflow: hidden;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .24s var(--ease), transform .28s var(--ease-out);
}
.modal.is-in .modal__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__body { padding: 22px; overflow-y: auto; }
.modal__foot { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }

.toast-host {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 200; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ink-900); color: #fff; padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); font-size: 13.5px;
  opacity: 0; transform: translateY(14px); transition: opacity .28s var(--ease), transform .28s var(--ease-out);
}
.toast.is-in { opacity: 1; transform: none; }
.toast__icon { color: var(--accent-line); margin-top: 1px; flex: none; }
.toast__body { display: grid; gap: 2px; }
.toast__body strong { font-weight: 600; }
.toast__body span { color: rgba(255,255,255,.62); font-size: 12.5px; }
.toast--error { background: var(--danger); }
.toast--error .toast__icon { color: #fff; }

body.is-locked { overflow: hidden; }

.reveal { opacity: 1; transform: none; }
/* Only content that starts below the fold is staged; anything visible at load
   is marked done immediately, so the first painted frame is already complete. */
.reveal.is-staged { opacity: 0; transform: translateY(18px); }
.reveal.is-staged.is-visible { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease-out); }

.sk { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-sm); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1180px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .searchbox { min-width: 0; flex: 1 1 130px; max-width: 190px; }
  .site-header__inner { gap: 12px; }
  .brand__text { display: none; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-grid; }
  .mainnav { display: none; }
  .searchbox { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-bar-mobile { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .promo { grid-template-columns: 1fr; }
  .promo--reverse .promo__media { order: 0; }
  .promo__media { min-height: 260px; aspect-ratio: 16/10; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: 60px; }
  .card-grid, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .split-cta { grid-template-columns: 1fr; }
  .method-cards { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar__list { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand__sub { letter-spacing: .16em; font-size: 7.5px; }
  .brand__name { font-size: 16px; }
  .hero__watermark { right: -22%; opacity: .12; }
  .pcard__quick { opacity: 1; transform: none; }
  .pcard__foot { flex-direction: column; }
  .gallery__thumb { width: 60px; height: 60px; }
  .hero { min-height: clamp(460px, 72vh, 620px); }
  .footer-grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .cartline, .cartline--noprice { grid-template-columns: 88px minmax(0,1fr); }
  .cartline__media { width: 88px; }
  .rail__track { grid-auto-columns: minmax(180px, 66vw); }
  .section { padding-block: clamp(38px, 8vw, 60px); }
}

@media (max-width: 460px) {
  .card-grid, .card-grid--3, .cat-grid { grid-template-columns: 1fr; }
  .pdp__actions .btn-pair { grid-template-columns: 1fr; }
  .btn { min-height: 50px; }
}

/* Mobile sticky order bar on the product page */
.pdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 10px; align-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .3s var(--ease-out);
}
.pdp-sticky.is-in { transform: none; }
.pdp-sticky__price { font-family: var(--font-display); font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); flex: none; }
.pdp-sticky .btn { flex: 1; }
@media (max-width: 1020px) { .pdp-sticky { display: flex; } body.pdp-open { padding-bottom: 76px; } }

@media print {
  .site-header, .topbar, .site-footer, .drawer, .modal, .pdp-sticky, .marquee { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal.is-staged { opacity: 1; transform: none; }
}
