/* Layout: product-first shop. Hero = promise + photo, then the red "webbing" band,
   how-to steps, buy box, FAQ. The belt's red webbing is the one bold element. */
:root {
  --bg: #eef0f0;          /* asphalt-light, slight green-grey bias */
  --surface: #ffffff;
  --ink: #1b2124;         /* graphite, car interior */
  --muted: #5d676c;
  --line: #d5dadb;
  --accent: #cf2e25;      /* belt red */
  --accent-ink: #ffffff;
  --gold: #c98a2e;        /* retriever gold, used sparingly */
  --ok: #2f7a4f;
  --shadow: 0 1px 2px rgba(20, 28, 32, .06), 0 8px 24px rgba(20, 28, 32, .08);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.4vw, 3.9rem);

  --radius: 14px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131719; --surface: #1c2225; --ink: #eceeee; --muted: #9aa4a8; --line: #2d3538;
    --accent: #ec4b40; --accent-ink: #ffffff; --gold: #e0a64e; --ok: #5cbf86;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131719; --surface: #1c2225; --ink: #eceeee; --muted: #9aa4a8; --line: #2d3538;
  --accent: #ec4b40; --accent-ink: #ffffff; --gold: #e0a64e; --ok: #5cbf86;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.eyebrow { font-family: var(--f-display); font-stretch: 100%; font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; }

/* ---------- header ---------- */
.announce { background: var(--ink); color: var(--bg); font-size: var(--step--1); text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: var(--step--1); font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.cart-btn { position: relative; background: none; border: 0; padding: 8px; display: grid; place-items: center; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 760px) { .nav { display: none; } .header-tools { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-price { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-display); }
.hero-price strong { font-size: var(--step-2); font-weight: 800; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--step--1); color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; }
.hero-tag { position: absolute; left: -14px; bottom: 28px; background: var(--surface); box-shadow: var(--shadow); border-radius: 12px; padding: 12px 14px; max-width: 250px; font-size: var(--step--1); line-height: 1.4; display: flex; gap: 10px; align-items: flex-start; }
.hero-tag img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; aspect-ratio: 1; flex: none; }
.hero-tag strong { display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-tag { left: 12px; bottom: 12px; }
}

/* ---------- webbing band (signature) ---------- */
.webbing { background: var(--accent); color: var(--accent-ink); overflow: hidden; position: relative; padding-block: 14px; }
.webbing::before, .webbing::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed color-mix(in srgb, var(--accent-ink) 55%, transparent); }
.webbing::before { top: 6px; } .webbing::after { bottom: 6px; }
.webbing-track { display: flex; width: max-content; gap: 48px; animation: slide 38s linear infinite; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; white-space: nowrap; }
.webbing-track span { display: inline-flex; align-items: center; gap: 48px; }
.webbing-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 640px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; counter-increment: s; }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps .step-body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.steps h3::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .9rem; vertical-align: 2px; }
.tip { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); font-size: var(--step--1); }
.tip strong { color: var(--ink); }
.tip svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 1px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li { grid-template-columns: 38% 1fr; grid-template-rows: none; } .steps img { height: 100%; aspect-ratio: auto; } }

/* ---------- buy box ---------- */
.buy { background: var(--surface); }
.buy .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 84px; min-width: 0; }
.gallery-main { border-radius: 18px; overflow: hidden; background: var(--bg); }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg); }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.buy-panel { display: grid; gap: 22px; min-width: 0; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--f-display); }
.price-row .now { font-size: var(--step-3); font-weight: 800; }
.price-row .was { color: var(--muted); text-decoration: line-through; font-size: var(--step-1); }
.price-row .save { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700; font-size: .8rem; padding: 3px 9px; border-radius: 999px; }
.price-note { font-size: var(--step--1); color: var(--muted); font-family: var(--f-body); width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 700; font-size: var(--step--1); padding: 0; margin-bottom: 10px; }
legend span { font-weight: 400; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch label { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; }
.swatch input:checked + label { outline-color: var(--ink); }
.swatch input:focus-visible + label { outline-color: var(--accent); }
.packs { display: grid; gap: 10px; }
.pack { position: relative; }
.pack input { position: absolute; opacity: 0; }
.pack label { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; background: var(--surface); }
.pack label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); grid-row: span 2; }
.pack input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.pack input:checked + label::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.pack input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.pack-name { font-weight: 700; }
.pack-sub { font-size: var(--step--1); color: var(--muted); grid-column: 2; }
.pack-price { font-family: var(--f-display); font-weight: 800; grid-row: span 2; text-align: right; font-variant-numeric: tabular-nums; }
.pack-badge { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.assurances { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.assurances li { display: grid; gap: 4px; justify-items: center; text-align: center; font-size: .8rem; line-height: 1.35; color: var(--muted); padding: 12px 8px; border-radius: 10px; background: var(--bg); }
.assurances svg { width: 22px; height: 22px; color: var(--ink); }
.assurances strong { color: var(--ink); font-size: .85rem; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-row span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-display); font-size: 1.4rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
.details-body { padding-bottom: 18px; color: var(--muted); display: grid; gap: 10px; font-size: .95rem; }
.details-body ul { margin: 0; padding-left: 18px; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th, .spec td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec th { color: var(--ink); font-weight: 600; width: 42%; }
@media (max-width: 900px) { .buy .wrap { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ---------- law block ---------- */
.law .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.law-card { background: var(--ink); color: var(--bg); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.law-card .eyebrow { color: color-mix(in srgb, var(--accent) 70%, var(--bg)); }
.law-card p { color: color-mix(in srgb, var(--bg) 80%, var(--ink)); }
.law-card h2 { color: var(--bg); }
.law-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.law-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.law-list svg { width: 24px; height: 24px; }
.law-list .yes { color: var(--ok); } .law-list .no { color: var(--accent); }
@media (max-width: 820px) { .law .wrap { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- guarantee + newsletter ---------- */
.promise { background: var(--surface); }
.promise .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promise-box { border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; background: var(--bg); }
.newsletter { background: var(--accent); color: var(--accent-ink); }
.newsletter .eyebrow { color: var(--accent-ink); opacity: .85; }
.newsletter p { opacity: .92; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input { flex: 1 1 220px; min-width: 0; border: 0; border-radius: 999px; padding: 14px 18px; font: inherit; background: #fff; color: #1b2124; }
.nl-form .btn { background: #1b2124; color: #fff; }
.nl-done { background: rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.nl-done code { font-family: var(--f-display); font-weight: 800; letter-spacing: .08em; background: #fff; color: #1b2124; padding: 2px 8px; border-radius: 6px; }
@media (max-width: 820px) { .promise .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding-block: 48px 120px; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--f-display); color: var(--ink); margin: 0 0 10px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- sticky add-to-cart ---------- */
.sticky-atc { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); z-index: 40; width: min(620px, calc(100% - 24px)); background: var(--surface); color: var(--ink); border-radius: 999px; box-shadow: 0 10px 40px rgba(0,0,0,.22); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; transition: transform .3s ease; }
.sticky-atc.show { transform: translate(-50%, 0); }
.sticky-atc img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.sticky-info { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
.sticky-info strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sticky-atc .btn { padding: 12px 20px; }
@media (max-width: 480px) { .sticky-atc { border-radius: 18px; } .sticky-price { display: none; } .sticky-atc .btn { padding: 12px 16px; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 14, 16, .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(420px, 100%); background: var(--surface); color: var(--ink); display: grid; grid-template-rows: auto auto 1fr auto; transform: translateX(100%); transition: transform .3s ease; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.1rem; }
.icon-btn { background: none; border: 0; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.icon-btn svg { width: 22px; height: 22px; }
.ship-meter { padding: 14px 20px; font-size: var(--step--1); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.meter { height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .3s; }
.lines { overflow-y: auto; padding: 8px 20px; display: grid; align-content: start; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.line-name { font-weight: 700; font-size: .92rem; }
.line-meta { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; font-size: 1rem; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.remove { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum.total { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.sum.discount { color: var(--ok); }
.foot-note { font-size: .78rem; color: var(--muted); text-align: center; }
.checkout-error { font-size: .85rem; color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { padding-block: 48px 80px; }
.legal .wrap { max-width: 780px; display: grid; gap: 40px; }
.legal section { display: grid; gap: 12px; scroll-margin-top: 90px; }
.legal h2 { font-size: var(--step-2); }
.legal p, .legal li { color: var(--muted); }
.legal .placeholder { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: var(--step--1); }

/* thanks */
.thanks { padding-block: 80px; }
.thanks .wrap { max-width: 640px; display: grid; gap: 18px; justify-items: start; }
