/* Reedle — a one-person bike shop counter: cream stock, navy ink, the logo's tomato red,
   70s frame-decal stripes, rounded soft-serif headings and typewriter shop tags. */
:root {
  --bg: #f5eddc;            /* cream */
  --surface: #fff9ee;       /* card stock */
  --surface-2: #eadfc6;
  --net-bg: #f4eddb;        /* cream behind the net photo preview and its thumbnails */
  --ink: #1e2b45;           /* navy ink */
  --ink-2: #4e5772;
  --ink-3: #6f6a5c;
  --line: #dccdae;
  --accent: #d9412b;        /* logo red */
  --accent-ink: #b8331f;
  --mustard: #f0a92e;
  --orange: #e86a2a;
  --green: #3e8e5a;
  --danger: #b3261e;
  --radius: 14px;
  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;
  --shadow: 3px 3px 0 var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.cart-open { overflow: hidden; }
/* Short pages: keep the footer at the bottom of the window, with the extra space above it */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100; letter-spacing: -0.015em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 20ch; text-wrap: balance; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.kicker { font: 700 .82rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: "✱"; font-size: 1rem; letter-spacing: 0; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.fine { font-size: .82rem; color: var(--ink-3); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(30px, 5vw, 52px); }
.section-head .muted { margin-top: 14px; max-width: 54ch; }

/* decal stripes */
.stripes { display: grid; grid-template-rows: repeat(3, 6px); }
.stripes i:nth-child(1) { background: var(--mustard); }
.stripes i:nth-child(2) { background: var(--orange); }
.stripes i:nth-child(3) { background: var(--accent); }

/* form controls */
input[type=text], input[type=email], input[type=number], input:not([type]), select, textarea {
  font: 400 1rem var(--sans); color: var(--ink); width: 100%; min-height: 46px; padding: 10px 12px;
  border: 2px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .15s; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }

/* buttons: sticker-style pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink); font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s var(--ease), box-shadow .12s, background .2s, color .2s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: #cf3b26; color: #fff; } /* a touch darker than --accent so white text passes contrast (4.9:1) */
.btn-dark:hover { color: #fff; }
.btn-dark:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--shadow); background: var(--ink-3); }
.btn-request { background: var(--mustard); color: var(--ink); }
.btn-request:hover { color: var(--ink); }
.btn-line { background: var(--surface); color: var(--ink); }
.btn-line:hover { color: var(--ink); background: #fff; }
.btn-wide { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-xs { min-height: 30px; padding: 0 10px; font-size: .78rem; box-shadow: none; }

/* announcement bar */
.announce { background: var(--ink); color: var(--bg); font: 700 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.announce-track { display: flex; align-items: center; justify-content: center; gap: 18px; height: 34px; padding: 0 16px; white-space: nowrap; }
.announce-track span[aria-hidden] { color: var(--mustard); }
.ann-dup { display: none; }
@media (max-width: 860px) {
  .ann-dup { display: inline; }
  .announce-track { justify-content: flex-start; width: max-content; animation: ticker 26s linear infinite; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 2px 0 var(--ink); }
body:has(.hero-full) .site-header { position: fixed; inset: 34px 0 auto 0; background: transparent; }
body:has(.hero-full) .site-header.scrolled { top: 0; background: var(--bg); }
.header-row { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; min-height: 44px; color: var(--accent); width: 128px; flex: none; }
.logo:hover { color: var(--accent-ink); }
.logo svg { width: 100%; height: auto; fill: currentColor; }
.wordmark { font: 800 1.5rem/1 var(--display); text-decoration: none; color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--accent-ink); text-decoration: underline; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); font: 700 .92rem var(--sans); color: var(--ink); cursor: pointer; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); }
a.cart-btn { padding: 0 16px; }
.cart-btn:hover { background: #fff; color: var(--ink); }
.cart-count { min-width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; font: 700 .8rem var(--mono); background: var(--surface-2); color: var(--ink); padding: 0 6px; }
.cart-count.has { background: var(--accent); color: #fff; }
body:has(.hero-full) .site-header:not(.scrolled) .logo { color: var(--bg); }
body:has(.hero-full) .site-header:not(.scrolled) .nav a { color: var(--bg); }
@media (max-width: 860px) { .nav { display: none; } .cart-btn { margin-left: auto; } .logo { width: 112px; } }

/* hero */
.hero { padding: 120px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.8rem); font-weight: 900; letter-spacing: -.025em; line-height: .96; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; margin: 24px 0 32px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { margin: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-strip { display: flex; flex-wrap: wrap; gap: 6px 0; margin: clamp(40px, 6vw, 72px) 0 0; padding: 16px 0; border-top: 2px dashed var(--line); }
.spec-strip div { display: flex; gap: 8px; align-items: baseline; padding-right: 30px; }
.spec-strip dt { font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.spec-strip dd { margin: 0; font-weight: 700; }
.hero-full { position: relative; overflow: hidden; padding: 0; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--bg); background: #14100c; }
.hero-full .hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-full .hero-grid { display: block; position: static; padding: 170px 0 36px; }
.hero-full .hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-full .wrap:last-child { position: relative; z-index: 2; }
.hero-full .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,8,.66) 0%, rgba(20,14,8,.22) 55%, rgba(20,14,8,0) 78%), linear-gradient(180deg, rgba(20,14,8,.45) 0%, rgba(20,14,8,0) 24%, rgba(20,14,8,0) 64%, rgba(20,14,8,.66) 100%); }
.hero-full .lede { color: rgba(245,237,220,.92); }
.hero-full .kicker { color: var(--mustard); }
.hero-full .btn { box-shadow: 3px 3px 0 #000; border-color: #14100c; }
.hero-full .spec-strip { margin: 0; border-color: rgba(245,237,220,.35); }
.hero-full .spec-strip dt { color: rgba(245,237,220,.7); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-full { min-height: 90vh; }
  .hero-full .hero-media::after { background: linear-gradient(180deg, rgba(20,14,8,.4) 0%, rgba(20,14,8,.1) 22%, rgba(20,14,8,.6) 48%, rgba(20,14,8,.88) 100%); }
  .spec-strip div { width: 50%; padding-right: 12px; }
}

/* ready to ship */
.ready { padding-bottom: 0; }
.ready-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ready-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.ready-thumb { background: var(--net-bg); border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.net-photo { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--net-bg); }
.ready-tag { font: 700 .76rem var(--mono); color: var(--ink-3); margin-top: 8px; }
.ready-card h3 { font-size: 1.2rem; }
.ready-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .86rem; color: var(--accent-ink); font-weight: 600; }
.ready-meta .mono { color: var(--ink); font-size: 1.05rem; }
.ready-actions { display: flex; gap: 8px; margin-top: 6px; }
.ready-actions .btn { flex: 1; padding: 0 10px; }
/* phones: a swipeable row of cards that runs off the edge, so it's obvious there's more */
@media (max-width: 700px) {
  .ready-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
    margin-inline: -24px; padding: 4px 24px 18px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ready-grid::-webkit-scrollbar { display: none; }
  .ready-card { flex: 0 0 72%; max-width: 280px; scroll-snap-align: start; box-shadow: 3px 3px 0 var(--ink); }
  .ready-card:only-child { flex-basis: 100%; max-width: none; }
}

/* configurator */
.shop { padding-top: clamp(72px, 9vw, 112px); }
.configurator { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.stage { position: sticky; top: 92px; }
/* the preview photo is a cut-out, so the frame's background shows through it */
.stage-inner { position: relative; text-align: center; background: var(--net-bg); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.photo-wrap { position: relative; }
.photo-wrap canvas { width: 100%; height: auto; background: transparent; }
.photo-wrap .sp-photo { display: block; width: 100%; height: auto; transition: opacity .18s ease; }
.photo-wrap .sp-photo.swapping { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .photo-wrap .sp-photo { transition: none; } }
.photo-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: .9rem; aspect-ratio: 1; }
/* cargo net page: the real product photo in the HTML, behind the live preview until the preview has painted */
.photo-wrap:has(.photo-static) { isolation: isolate; }
.photo-wrap .photo-static { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.photo-wrap:has(.photo-static) .photo-load { color: transparent; } /* the photo stands in for "Loading preview…" */
.photo-wrap .photo-load[hidden] + .photo-static { display: none; }
.stage-note { text-align: center; font: 700 .88rem/1.3 var(--mono); color: var(--ink); padding: 12px 16px; border-top: 2px dashed var(--line); background: var(--surface); min-height: 1.3em; }
/* heart */
.heart { position: absolute; top: 12px; right: 12px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); display: grid; place-items: center; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); transition: transform .15s var(--ease); }
.heart:hover { transform: scale(1.06); }
.heart svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.heart[aria-pressed="true"] { background: #fff; }
.heart[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent-ink); }
.heart.pop { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.heart-tip { position: absolute; top: 72px; right: 12px; max-width: 230px; background: var(--ink); color: var(--bg); font-size: .82rem; line-height: 1.35; padding: 8px 11px; border-radius: 10px; text-align: left; }
.heart-tip:empty { display: none; }

.panel { padding-top: 6px; }
.product-name { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 900; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 0; }
.price { font: 900 1.8rem var(--display); font-variation-settings: "SOFT" 100; color: var(--accent-ink); }
.price-sub { font-size: .82rem; color: var(--ink-3); }
.product-blurb { color: var(--ink-2); margin: 14px 0 4px; max-width: 48ch; }
.opt { border: 0; padding: 22px 0 0; margin: 22px 0 0; border-top: 2px dashed var(--line); min-width: 0; }
.opt legend { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: 14px; font: 700 .82rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.opt-value, .opt-note { color: var(--ink-2); font: 400 .9rem var(--sans); text-transform: none; letter-spacing: 0; }
.size-options, .style-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-card, .style-card { text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.size-card:hover, .style-card:hover { border-color: var(--ink-2); }
.size-card[aria-pressed="true"], .style-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--shadow); background: #fff; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sc-top b { font: 800 1.25rem var(--display); font-variation-settings: "SOFT" 100; }
.sc-top .mono { font-size: .95rem; }
.sc-dims, .sc-fits { display: block; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.sc-fits { color: var(--ink-3); margin-top: 2px; }
.style-card { display: flex; align-items: center; gap: 12px; }
.style-card svg { width: 38px; height: 38px; flex: none; }
.style-card span { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.style-card small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.sw-group + .sw-group { margin-top: 18px; }
.sw-label { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.dot-ok, .dot-so, .dot-ready { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-ok { background: var(--green); }
.dot-ready { background: var(--ink); box-shadow: 0 0 0 2px var(--green); }
.dot-so { background: var(--mustard); box-shadow: inset 0 0 0 1.5px #b07a12; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 10px; }
.sw { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; background: var(--c); cursor: pointer;
  background-image: repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.13) 3px 4px);
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.2), inset 0 -3px 6px rgba(0,0,0,.15); transition: transform .15s var(--ease), box-shadow .15s; }
.sw.refl { background-image: repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.13) 3px 4px), linear-gradient(135deg, transparent 0 42%, rgba(255,255,255,.9) 47% 53%, transparent 58%); }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5px var(--ink); }
.sw:disabled { opacity: .25; cursor: not-allowed; transform: none; }
.sw.so::after { content: ""; position: absolute; right: -3px; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.4' fill='none' stroke='%231e2b45' stroke-width='1.3'/%3E%3Cpath d='M6 3.6V6l1.6 1' fill='none' stroke='%231e2b45' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow: 0 0 0 1.5px var(--bg); }
.sw.soldout::after { content: ""; position: absolute; left: 14%; right: 14%; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.buy-row { display: flex; gap: 12px; margin-top: 16px; }
.qty { display: flex; align-items: center; height: 52px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: .3; }
.qty output { min-width: 22px; text-align: center; font: 700 1rem var(--mono); }
.buy-row .btn { flex: 1; }
.stock-note { font-size: .92rem; margin-top: 24px; padding: 11px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); }
.stock-note:empty { display: none; }
.stock-note b { font-weight: 700; }
.stock-note.ready { border-color: var(--green); background: #e6f1e6; }
.stock-note.made { border-color: #9cb7a4; }
.stock-note.low { border-color: var(--orange); background: #fcebd9; }
.stock-note.special { border-color: var(--mustard); background: #fdf0d2; border-style: dashed; }
.stock-note.bad { border-color: var(--danger); color: var(--danger); }
.badge-so, .badge-ready, .badge-made { display: inline-block; margin-top: 6px; font: 700 .72rem var(--mono); padding: 3px 8px; border-radius: 99px; width: fit-content; }
.badge-so { background: #fbe3b4; color: #6e4800; }
.badge-ready { background: #d8ead9; color: #24603a; }
.badge-made { background: var(--surface-2); color: var(--ink-2); }
.size-card:disabled, .style-card:disabled { opacity: .45; cursor: not-allowed; }
.form-error { color: var(--danger); font-size: .9rem; margin-top: 10px; }
.form-error:empty { display: none; }
.queue-card { margin-top: 20px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: var(--radius); font-size: .9rem; color: var(--ink-2); display: grid; gap: 6px; }
.queue-title { font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.assurances { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.assurances li { display: flex; gap: 10px; align-items: center; }
.assurances li:empty { display: none; }
.assurances li::before { content: "✱"; color: var(--accent); font-size: .9rem; }
.assurances li.returns-note { align-items: flex-start; line-height: 1.45; }
.assurances li.returns-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 960px) { .configurator { grid-template-columns: 1fr; } .stage { position: static; } }
@media (max-width: 420px) { .size-options, .style-options { grid-template-columns: 1fr; } }

/* special-order request */
.request, .request-done { margin-top: 48px; background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: 5px 5px 0 var(--ink); }
.request:focus, .request-done:focus { outline: none; }
.request-head { display: grid; grid-template-columns: 1fr 160px; gap: 28px; align-items: start; margin-bottom: 24px; }
.request-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.request-thumb { border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); aspect-ratio: 1; }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.request label, .contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.request label .opt-note, .contact-form label .opt-note { font-weight: 400; color: var(--ink-3); }
.request .full { grid-column: 1 / -1; }
.request-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.request-done h2 { margin-bottom: 10px; }
.request-done .btn { margin-top: 18px; }
@media (max-width: 700px) { .request-head, .request-grid { grid-template-columns: 1fr; } .request-thumb { max-width: 150px; } }

/* maker */
.maker { background: var(--surface); }
.maker-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.maker h2 { margin-bottom: 26px; }
.maker-copy p:not(.kicker):not(.sig) { color: var(--ink-2); font-size: 1.08rem; max-width: 54ch; margin-bottom: 16px; }
.sig { font: italic 800 2.4rem/1 var(--display); font-variation-settings: "SOFT" 100; color: var(--accent); margin-top: 18px; transform: rotate(-4deg); width: fit-content; }
.sig::before { content: "— "; }
.maker-photo { margin: 34px 0 0; max-width: 640px; }
.maker-photo img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1deg); }
.maker-photo figcaption { margin-top: 14px; color: var(--ink-2); font-size: .9rem; }
@media (max-width: 900px) { .maker-photo img { transform: none; } }
.tag { position: relative; background: var(--bg); border: 2px solid var(--ink); border-radius: 14px; padding: 46px 28px 26px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(1.4deg); }
.tag-hole { position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.tag-hole::after { content: ""; position: absolute; left: 50%; bottom: 11px; width: 2.5px; height: 70px; background: var(--accent); transform: rotate(-14deg); transform-origin: bottom; }
.tag-title { font: 900 1.45rem var(--display); font-variation-settings: "SOFT" 100; text-align: center; margin-bottom: 16px; }
.tag dl { margin: 0; }
.tag dl div { padding: 14px 0; border-top: 2px dashed var(--line); }
.tag dt { font-weight: 700; margin-bottom: 4px; }
.tag dd { margin: 0; color: var(--ink-2); font-size: .94rem; }
.steps { list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--bg); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; }
.steps b { font: 800 1.2rem var(--display); font-variation-settings: "SOFT" 100; }
.steps span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .maker-grid, .steps { grid-template-columns: 1fr; } .tag { transform: none; margin-top: 10px; } }

/* on the road — prints */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 18px; }
.g-item { margin: 0; position: relative; grid-column: span 4; background: var(--surface); padding: 10px 10px 0; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); }
.g-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.g-item.g-wide { grid-column: span 8; }
.g-item.g-wide img { aspect-ratio: 16 / 10.1; }
.g-item.g-full { grid-column: span 12; }
.g-item.g-full img { aspect-ratio: 21 / 9; }
.g-item:nth-child(3n+1) { transform: rotate(-.6deg); }
.g-item:nth-child(3n+2) { transform: rotate(.7deg); }
.g-item figcaption { font: italic 700 1.15rem/1.2 var(--display); font-variation-settings: "SOFT" 100; color: var(--ink); padding: 12px 4px 14px; }
@media (max-width: 760px) { .g-item, .g-item.g-wide, .g-item.g-full { grid-column: span 12; transform: none !important; } .g-item img, .g-item.g-wide img, .g-item.g-full img { aspect-ratio: 4 / 3.4; } }

/* shipping */
.shipping { background: var(--ink); color: var(--bg); }
.shipping .kicker { color: var(--mustard); }
.shipping .muted { color: rgba(245,237,220,.75); }
.shipping-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.shipping h2 { margin-bottom: 18px; }
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 32px; }
.shipping input { background: #2a3858; color: var(--bg); border-color: #4a587a; font: 700 1rem var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.shipping input::placeholder { color: rgba(245,237,220,.4); }
.shipping input:focus, .shipping select:focus { border-color: var(--mustard); }
.est-result em { font-style: normal; color: var(--mustard); }
.est-wait { display: block; color: var(--mustard); font-size: .95rem; }
.est-wait:empty { display: none; }
.est-free { display: block; margin-top: 6px; }
.rate-table td.rate-empty { white-space: normal; color: rgba(245,237,220,.65); padding: 22px 0; }
.rate-caption { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mustard); margin-bottom: 6px; }
.rate-table .duty-row th small { display: block; font-weight: 400; color: rgba(245,237,220,.6); font-size: .8rem; }
.estimator label { display: grid; gap: 6px; align-content: start; font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(245,237,220,.7); }
.shipping select { background: #2a3858; color: var(--bg); border-color: #4a587a; }
.est-result { grid-column: 1 / -1; display: block; margin-top: 12px; padding-top: 18px; border-top: 2px dashed #4a587a; }
.est-result b { display: block; font: 900 2.6rem var(--display); font-variation-settings: "SOFT" 100; color: var(--mustard); }
.est-result span { color: rgba(245,237,220,.75); font-size: .92rem; }
.table-wrap { overflow-x: auto; }
.rate-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rate-table th, .rate-table td { text-align: left; padding: 15px 12px 15px 0; border-bottom: 1px solid #3c4a6b; white-space: nowrap; }
.rate-table thead th { font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(245,237,220,.6); }
.rate-table tbody th { font-weight: 700; }
.table-wrap .fine { margin-top: 14px; color: rgba(245,237,220,.55); white-space: normal; }
@media (max-width: 900px) { .shipping-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
details { border-bottom: 2px dashed var(--line); }
details:first-child { border-top: 2px dashed var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.06rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 900 1.5rem/1 var(--display); color: var(--accent); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 0 22px; max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(245,237,220,.85); padding: 56px 0 40px; font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; align-items: flex-end; }
.footer-logo { width: 220px; height: auto; fill: var(--bg); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--mustard); text-decoration: underline; }
.site-footer .fine { color: rgba(245,237,220,.55); }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(30, 43, 69, .45); opacity: 0; transition: opacity .28s; z-index: 40; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease); border-left: 2px solid var(--ink); overflow: hidden; }
.cart-open .scrim { opacity: 1; }
.cart-open .cart { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; }
.cart-head h2 { font-size: 1.7rem; font-weight: 900; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.cart-body { flex: 1; overflow-y: auto; padding: 0 22px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; padding: 16px 0; border-top: 2px dashed var(--line); align-items: start; }
.line-thumb { border-radius: 8px; overflow: hidden; border: 1.5px solid var(--line); aspect-ratio: 1; }
.line-info { display: flex; flex-direction: column; font-size: .92rem; }
.line-info b { font-weight: 700; }
.line-info span { color: var(--ink-2); font-size: .86rem; }
.line-qty { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 .9rem var(--mono); }
.line-qty button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.line-qty .remove { width: auto; height: auto; border: 0; background: none; font: 400 .82rem var(--sans); color: var(--ink-3); text-decoration: underline; margin-left: 4px; }
.line-price { font-size: .95rem; }
.cart-empty { color: var(--ink-2); padding: 12px 0; }
.cart-foot { padding: 18px 22px 20px; background: var(--surface); border-top: 2px solid var(--ink); }
.ship-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; font-weight: 600; margin-bottom: 12px; }
.ship-to select, .ship-to input { max-width: 220px; min-height: 42px; padding: 6px 12px; background: var(--bg); }
.ship-to input { font: 700 1rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.rates { display: grid; gap: 6px; margin: 2px 0 8px; }
.rates:empty { display: none; }
.rate { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem; background: var(--bg); }
.rate.on { border-color: var(--ink); background: #fff; box-shadow: 2px 2px 0 var(--ink); }
.rate input { accent-color: var(--accent); margin: 0; }
.rate-name { font-weight: 600; }
.rate-name small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 400; }
.rates-msg { font-size: .84rem; color: var(--ink-2); margin: 0 0 8px; }
.rates-msg:empty { display: none; }
.totals { margin: 0 0 8px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.totals dt small { color: var(--ink-3); margin-left: 6px; }
.totals dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.totals .grand { font: 900 1.45rem var(--display); font-variation-settings: "SOFT" 100; border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 12px; }
.free-hint { font-size: .84rem; color: var(--ink-2); margin: 4px 0 14px; min-height: 1em; }
.cart-foot .fine { margin-top: 10px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 99px; opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 60; font-size: .9rem; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; box-shadow: 3px 3px 0 var(--accent); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* simple pages (contact, policies, success) */
.page { padding: 72px 0 100px; }
.page .narrow, .narrow { width: min(720px, 100% - 48px); margin-inline: auto; }
.page h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; margin-bottom: 20px; }
.page h2 { font-size: 1.45rem; margin: 40px 0 10px; max-width: none; }
.page p { color: var(--ink-2); margin-bottom: 14px; }
.eyebrow { font: 700 .82rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.notice { background: #fdf0d2; border: 2px dashed var(--mustard); padding: 12px 16px; border-radius: 10px; color: #5a3a00 !important; }
.nav-simple { margin-left: auto; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-intro p { font-size: 1.08rem; max-width: 46ch; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contact-list li { display: grid; gap: 2px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: var(--radius); }
.contact-list span { color: var(--ink-2); font-size: .94rem; }
.contact-form { display: grid; gap: 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 36px); box-shadow: 5px 5px 0 var(--ink); }
.contact-form .btn { justify-self: start; }
.contact-page .request-done { margin-top: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- multi-product structure: breadcrumbs, product cards, specs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 28px 0 0; font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.page .crumbs ol { margin: 0 0 22px; }
.shop.shop-first { padding-top: clamp(24px, 4vw, 44px); }
.products { padding: clamp(72px, 9vw, 112px) 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product-card { display: grid; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 12px 16px; box-shadow: var(--shadow); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
a.product-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.pc-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--net-bg); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-soon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--surface-2) 14px 28px); }
.pc-soon span { font: 700 .82rem var(--mono); text-transform: uppercase; letter-spacing: .12em; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.pc-body { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; }
.pc-name { font: 900 1.35rem var(--display); font-variation-settings: "SOFT" 100; }
.pc-price { color: var(--accent-ink); }
.pc-meta { font-size: .88rem; color: var(--ink-2); }
.product-card.soon { box-shadow: none; border-style: dashed; }
.specs { background: var(--surface); }
.specs-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.specs h2 { margin-bottom: 22px; }
.specs h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.specs-copy > p:not(.kicker) { color: var(--ink-2); font-size: 1.05rem; max-width: 56ch; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); max-width: 56ch; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: "✱"; position: absolute; left: 0; color: var(--accent); }
.spec-card { background: var(--bg); border: 2px solid var(--ink); border-radius: 14px; padding: 24px 24px 12px; box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 11px 0; border-top: 2px dashed var(--line); }
.spec-table th { font: 700 .74rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; width: 38%; padding-right: 12px; }
@media (max-width: 860px) { .specs-grid { grid-template-columns: 1fr; } }

/* ---------- ready to ship: under the customizer + its own page ---------- */
.ready.ready-under { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.ready.ready-page { padding-top: clamp(24px, 4vw, 40px); }
.ready-page h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; }
.ready-empty { background: var(--surface); border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.ready-empty p { color: var(--ink-2); }
.ready-more { margin-top: 32px; color: var(--ink-2); }

/* ---------- mobile pass (Nov 2026) ---------- */
/* Menu button + dropdown nav under 860px */
.menu-btn { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 14px; margin-left: auto; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 .92rem var(--sans); cursor: pointer; }
.menu-icon { display: grid; gap: 3px; width: 16px; }
.menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav-open .menu-icon i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-icon i:nth-child(2) { opacity: 0; }
.nav-open .menu-icon i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .menu-btn + .cart-btn { margin-left: 0; }
  .header-row { gap: 10px; }
  .site-header .nav { display: none; }
  .site-header.nav-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 6px 24px 14px; background: var(--bg); border-bottom: 2px solid var(--ink); box-shadow: 0 10px 24px rgba(30,43,69,.12); }
  .site-header.nav-open .nav a, body:has(.hero-full) .site-header.nav-open .nav a { display: flex; align-items: center; min-height: 48px; font-size: 1.05rem; color: var(--ink); border-bottom: 1px dashed var(--line); }
  .site-header.nav-open .nav a:last-child, body:has(.hero-full) .site-header.nav-open .nav a:last-child { border-bottom: 0; }
  .site-header.nav-open .nav a[hidden] { display: none; }
  .site-header { position: sticky; }
}
@media (max-width: 380px) { .menu-label { display: none; } .menu-btn { padding: 0 12px; } .logo { width: 96px; } }

/* Footer links: bigger tap targets */
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-links { gap: 0; }

/* Cart drawer on phones / short screens: scroll the whole drawer so items aren't squeezed out by the totals */
@media (max-width: 700px), (max-height: 760px) {
  .cart { overflow-y: auto; overscroll-behavior: contain; }
  .cart-body { flex: none; overflow: visible; }
  .cart-head { position: sticky; top: 0; z-index: 2; background: var(--bg); box-shadow: 0 6px 8px -6px rgba(30,43,69,.18); }
}
@media (pointer: coarse) {
  .line-qty { gap: 10px; }
  .line-qty button { width: 38px; height: 38px; }
  .line-qty .remove { min-height: 38px; padding: 0 4px; }
  .swatches { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
}

/* Ready-made cards: buttons stack instead of squashing the label */
@media (max-width: 700px) {
  .ready-actions { flex-direction: column; }
  .ready-actions .btn { flex: none; width: 100%; }
}
/* The dedicated ready-to-ship page is a grid on phones, not a side-scroller */
@media (max-width: 700px) {
  .ready-page .ready-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .ready-page .ready-card { flex: none; max-width: none; padding: 10px; }
  .ready-page .ready-card h3 { font-size: 1rem; }
  .ready-page .ready-meta { flex-direction: column; align-items: flex-start; gap: 2px; font-size: .8rem; }
}
@media (max-width: 340px) { .ready-page .ready-grid { grid-template-columns: 1fr; } }

/* ---------- pedal straps page ---------- */
.sp-video { margin: 0 0 clamp(28px, 4vw, 44px); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #1a1d24; box-shadow: 5px 5px 0 var(--ink); }
.sp-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#spForm .opt .fine { display: block; margin-top: 10px; color: var(--ink-3); font-size: .8rem; }
.sp-stock i { display: inline-block; vertical-align: middle; margin-right: 8px; }
.g-item video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: #1a1d24; }
.g-item.g-wide video { aspect-ratio: 16 / 10.1; }
.g-item.g-full video { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .g-item video, .g-item.g-wide video, .g-item.g-full video { aspect-ratio: 4 / 3.4; } }

/* ---------- shipping estimator: any mix of nets and pedal straps ---------- */
.est-items { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.est-items legend { font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(245,237,220,.7); margin-bottom: 10px; padding: 0; }
.est-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) 92px 34px; gap: 10px 12px; align-items: end; padding: 14px; border: 2px solid #4a587a; border-radius: 12px; background: rgba(245,237,220,.04); }
.est-kind { display: flex; flex-wrap: wrap; gap: 6px; }
.estimator .est-chip { display: inline-flex; position: relative; text-transform: none; letter-spacing: 0; font: inherit; color: inherit; }
.est-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 2px solid #4a587a; border-radius: 999px; font: 700 .9rem var(--sans); color: var(--bg); cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.est-chip span:hover { border-color: var(--mustard); }
.est-chip input:checked + span { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.est-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.est-fixed { display: flex; align-items: center; min-height: 46px; color: var(--bg); font: 700 1rem var(--mono); letter-spacing: 0; text-transform: none; }
.est-remove { width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%; border: 2px solid #4a587a; background: none; color: var(--bg); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.est-remove:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.est-add { justify-self: start; background: none; border: 2px dashed #4a587a; color: var(--mustard); border-radius: 999px; padding: 10px 18px; font: 700 .88rem var(--sans); cursor: pointer; }
.est-add:hover { border-color: var(--mustard); }
.est-summary { grid-column: 1 / -1; margin: 2px 0 0; color: rgba(245,237,220,.75); font-size: .9rem; }
.est-summary:empty { display: none; }
@media (max-width: 760px) {
  .est-row { grid-template-columns: minmax(0, 1fr) 92px; padding-right: 52px; }
  .est-kind { grid-column: 1 / -1; }
  .est-remove { position: absolute; top: 12px; right: 12px; margin: 0; }
}

/* ---------- "pairs well with" cross-sell (net page ↔ strap page) ---------- */
.pair { padding: clamp(48px, 7vw, 88px) 0; }
.pair-card { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); padding: 16px; transition: transform .15s var(--ease), box-shadow .15s; }
.pair-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.pair-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--net-bg); }
.pair-img img { width: 100%; height: 100%; object-fit: cover; }
.pair-copy { display: grid; gap: 10px; justify-items: start; }
.pair-copy .kicker { margin-bottom: 0; }
.pair-title { font: 900 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--display); font-variation-settings: "SOFT" 100; }
.pair-text { color: var(--ink-2); max-width: 56ch; }
.pair-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.pair-meta .mono { font-weight: 700; color: var(--accent-ink); }
@media (max-width: 600px) { .pair-card { grid-template-columns: 1fr; } }

/* ---------- product cards: a row of the real colours ---------- */
.pc-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 2px; }
.pc-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(30,43,69,.25); }
.pc-dots i.refl { background: linear-gradient(135deg, var(--c) 0 42%, #fff 42% 58%, var(--c) 58%); }
.pc-dots b { font: 700 .74rem var(--mono); color: var(--ink-3); margin-left: 2px; }
.field-cta { margin-top: 48px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
#estRows { display: grid; gap: 10px; }
.products .product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sw.sw-out { opacity: .6; }
.sw.sw-out[aria-pressed="true"] { opacity: 1; }

/* pedal straps: every colour, photographed */
.sp-colours { padding: 56px 0 24px; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 22px; }
.cc-item { display: block; text-decoration: none; color: inherit; border-radius: 12px; background: var(--net-bg); padding: 6px 6px 10px; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.cc-item img { display: block; width: 100%; height: auto; }
.cc-item span { display: block; font-weight: 600; font-size: .92rem; margin-top: 2px; }
.cc-item:hover, .cc-item:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20, 30, 60, .12); }
@media (prefers-reduced-motion: reduce) { .cc-item { transition: none; } .cc-item:hover { transform: none; } }

/* pedal straps: fabric line under the colour picker, and the fabric groups */
.sp-fabric { margin: 10px 0 4px; font-size: .9rem; color: var(--ink-2); }
.sp-fabric b { color: var(--ink); }
.sp-fabric a { white-space: nowrap; }
.fab { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding: 32px 0; border-top: 2px dashed var(--line); scroll-margin-top: 90px; }
.fab:first-of-type { margin-top: 18px; }
.fab h3 { margin: 0 0 6px; }
.fab-copy p { margin: 0 0 12px; color: var(--ink-2); }
.fab .cc-grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
@media (max-width: 860px) { .fab { grid-template-columns: 1fr; } }

/* pedal straps: "don't see your colour?" */
.sp-ask { margin: 8px 0 0; font-size: .86rem; color: var(--ink-2); }
.sp-wish { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 32px; padding: 24px; border-radius: 18px; background: var(--net-bg); border: 2px dashed var(--line); }
.sp-wish h3 { margin: 0 0 6px; }
.sp-wish p { margin: 0; max-width: 62ch; color: var(--ink-2); }
.sp-suppliers { margin: 10px 0 12px; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 4px; }
.sp-suppliers a { font-weight: 600; }
.sp-wish .sp-thanks { font-style: italic; }
.sp-wish-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* swatch groups: fabric (straps) or solid / reflective (nets), with stock marks + legend */
.sw-label .sw-price { font: 600 .8rem var(--mono); color: var(--accent-ink); }
.sw-label .sw-more { margin-left: auto; font-weight: 500; font-size: .78rem; color: var(--ink-3); display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; }
.sw-label .sw-note { font-weight: 400; font-size: .78rem; color: var(--ink-3); }
.sw-label { flex-wrap: wrap; }
.sw.rdy::after { content: ""; position: absolute; right: -3px; top: -3px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg); }
.sw-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: .78rem; color: var(--ink-3); }
.sw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw-legend a { color: inherit; }
.lg { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #cfccc4; flex: none; }
.lg-ready::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1.5px var(--bg); }
.lg-so { background: var(--mustard); box-shadow: inset 0 0 0 1.5px #b07a12; }
.lg-out { opacity: .55; }
.lg-out::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }

/* ready-made (first-batch) nets: badge, note, strikethrough price, caption on the photo */
.price .was, .ready-meta .was, #unitPrice .was { font-weight: 500; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 4px; font-size: .78em; }
.ready-thumb { position: relative; }
.ready-badge { position: absolute; left: 8px; top: 8px; font: 700 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--bg); padding: 4px 8px; border-radius: 99px; }
.ready-batch { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--net-bg); border: 1.5px dashed var(--line); font-size: .9rem; color: var(--ink-2); max-width: 760px; }
.ready-batch b, .stage-flag b { color: var(--ink); }
.stage-flag { margin: 0; padding: 10px 16px; border-top: 1.5px dashed var(--line); font-size: .8rem; line-height: 1.45; color: var(--ink-2); text-align: left; background: var(--net-bg); }
@media (max-width: 560px) { .stage-flag { font-size: .72rem; padding: 6px 9px; } }

/* homepage: ready to ship as one sideways row per kind of product */
.ready-group + .ready-group { margin-top: 26px; }
.ready-group-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.ready-group-head h2, .ready-group-head h3 { font-size: 1.35rem; margin: 0; }
.ready-group-head .mono { font-size: .8rem; color: var(--ink-3); margin-left: auto; }
.ready-under .ready-rail { position: relative; }
.ready-under .ready-grid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 10px 16px 4px; margin: 0 -10px 0 -4px; scrollbar-width: none; }
.ready-under .ready-grid::-webkit-scrollbar { display: none; }
.ready-under .ready-grid:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
.ready-under .ready-card { flex: 0 0 260px; max-width: 260px; scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; cursor: pointer; transform: translateY(-50%); }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.rail-btn[hidden] { display: none; }
.rail-btn:hover { background: var(--bg); }
.rail-prev { left: -22px; }
.rail-next { right: -22px; }
@media (max-width: 700px) {
  .ready-under .ready-grid { margin-inline: -24px; padding: 4px 24px 18px; scroll-padding-inline: 24px; }
  .ready-under .ready-card { flex-basis: 72%; max-width: 280px; }
  .rail-btn { display: none; }
}
/* the photo on a ready-to-ship card is a shortcut to Preview */
button.ready-thumb { display: block; width: 100%; padding: 0; border: 0; font: inherit; color: inherit; cursor: pointer; }
button.ready-thumb .net-photo { transition: transform .25s ease; }
@media (hover: hover) { button.ready-thumb:hover .net-photo { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { button.ready-thumb .net-photo { transition: none; } }

/* phones: the product photo sticks under the header while choosing, with an Add to cart bar at the bottom */
.buy-bar, .form-flag { display: none; }
@media (max-width: 700px) {
  /* Only the preview box stays pinned (the thumbnails scroll away). It starts full size and
     shrinks to half once it sticks, i.e. once the shopper scrolls down into the options.
     sticky-buy.js adds .stage-compact. The margin-bottom grows by exactly what the photo loses,
     so the page below never jumps. */
  .configurator { row-gap: 0; }
  .configurator .panel { margin-top: 24px; }
  .configurator .stage { display: contents; position: static; }
  .configurator .stage-inner { position: sticky; top: calc(var(--hdr, 70px) + 4px); z-index: 6; box-shadow: 3px 3px 0 var(--ink), 0 -8px 0 var(--bg); transition: margin-bottom .25s ease; }
  .configurator .photo-wrap canvas, .configurator .photo-wrap .sp-photo { display: block; width: auto; max-width: 100%; height: min(34vh, 300px); margin: 0 auto; transition: height .25s ease; }
  .configurator .stage-note { padding: 6px 12px; font-size: .78rem; }
  .configurator.stage-compact .stage-inner { margin-bottom: min(17vh, 150px); }
  .configurator.stage-compact .photo-wrap canvas, .configurator.stage-compact .photo-wrap .sp-photo { height: min(17vh, 150px); }
  .configurator.stage-compact .heart { width: 34px; height: 34px; top: 6px; right: 6px; }
  .configurator.stage-compact .heart svg { width: 18px; height: 18px; }
  .configurator.stage-compact .heart-tip { top: 46px; right: 6px; }
  .stage-sentinel { height: 0; }
  .configurator #stageFlag { display: none; } /* shown in the form instead (#formFlag), so the sticky photo stays small */
  .form-flag:not([hidden]) { display: block; margin: 12px 0 0; border: 1.5px dashed var(--line); border-radius: 12px; }
  .configurator { padding-bottom: 76px; }
  .buy-bar:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 2px solid var(--ink); box-shadow: 0 -6px 12px -8px rgba(30,43,69,.25); }
  .buy-bar .btn { width: 100%; }
  body.has-buy-bar .toast { bottom: 92px; }
}

/* cargo net swatches split by what can be had now: Ready to ship · In stock · Special order (dimmed) */
.sw-tier + .sw-tier { margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.sw-tier-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; font-size: .78rem; color: var(--ink-3); }
.sw-tier-head b { font-size: .92rem; color: var(--ink); }
.sw-tier-ready .sw-tier-head b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.sw-tier-ready { background: color-mix(in srgb, var(--green) 7%, transparent); border: 1.5px solid color-mix(in srgb, var(--green) 35%, transparent); border-radius: 14px; padding: 12px 12px 14px; }
.sw-tier-ready + .sw-tier { border-top: 0; padding-top: 0; }
.sw-tier-later .sw-group + .sw-group { margin-top: 14px; }
.sw-tier-later .sw:not([aria-pressed="true"]):not(:hover):not(:focus-visible) { filter: saturate(.55); opacity: .7; }

/* product pages: thumbnails under the main image (live preview + "On the road" photos and clips) */
.stage-media { position: absolute; inset: 0; z-index: 3; background: #1a1d24; }
.stage-media img, .stage-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage-media video { cursor: pointer; }
.photo-wrap.showing-media .heart, .photo-wrap.showing-media .heart-tip, .photo-wrap.showing-media .photo-load { display: none; }
.stage-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding: 2px 4px 6px 2px; scrollbar-width: thin; }
.st-thumb { position: relative; flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--net-bg); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.st-thumb img, .st-thumb canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-thumb:hover { border-color: var(--ink-3); }
.st-thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.st-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(30, 43, 69, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 2l5 3-5 3z' fill='%23fff'/%3E%3C/svg%3E") 55% 50%/11px no-repeat; }
@media (max-width: 700px) {
  .stage-thumbs { margin-top: 8px; gap: 6px; padding-bottom: 4px; background: var(--bg); }
  .st-thumb { flex-basis: 46px; height: 46px; border-radius: 8px; }
  .st-video::after { width: 18px; height: 18px; background-size: 8px; }
}

/* Full-size image viewer (js/zoom.js) */
.photo-wrap canvas, .photo-wrap .sp-photo, .stage-media img { cursor: zoom-in; }
.zm-btn { position: absolute; right: 10px; bottom: 10px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); box-shadow: 2px 2px 0 var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--ease); }
.zm-btn:hover { transform: scale(1.06); }
.zm-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.photo-wrap.showing-media:has(video) .zm-btn { display: none; }
html.zm-lock, html.zm-lock body { overflow: hidden; }
.zoomer { position: fixed; inset: 0; z-index: 70; background: #14181f; display: flex; flex-direction: column; }
.zoomer[hidden] { display: none; }
.zm-bar { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px 16px; }
.zm-cap { flex: 1; margin: 0; color: #f5eddc; font: 700 .85rem/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-ctl { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #f5eddc; background: transparent; color: #f5eddc; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.zm-ctl:hover, .zm-ctl:focus-visible { background: rgba(245, 237, 220, .14); }
.zm-x { background: #f5eddc; color: var(--ink); }
.zm-x:hover, .zm-x:focus-visible { background: #fff; }
.zm-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; padding: 8px; }
.zoomer.zoomed .zm-stage { cursor: grab; }
.zm-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; border-radius: 10px; transform-origin: center center; will-change: transform; }
.zoomer.zoomed .zm-img { border-radius: 0; }
.zm-hint { margin: 0; padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); text-align: center; color: rgba(245, 237, 220, .7); font-size: .8rem; }
.zoomer.zoomed .zm-hint { visibility: hidden; }
@media (max-width: 700px) { .configurator.stage-compact .zm-btn { width: 30px; height: 30px; right: 6px; bottom: 6px; } .configurator.stage-compact .zm-btn svg { width: 15px; height: 15px; } }
@media (prefers-reduced-motion: reduce) { .zm-img { transition: none !important; } }

/* analytics consent banner (js/site.js) */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 55; max-width: 420px; padding: 16px 18px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); font-size: .9rem; }
.consent p { margin: 0 0 12px; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btns .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; flex: 1 1 auto; }
body.has-buy-bar .consent { bottom: 92px; }
@media (max-width: 560px) { .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; }
.footer-link-btn:hover { color: var(--mustard); text-decoration: underline; }
.terms-note { margin-top: 4px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link-btn:hover { color: var(--accent-ink); }

/* Compact footer: links in a 3 × 3 grid beside the brand, copyright line underneath */
.site-footer { padding: 40px 0 28px; }
.footer-row { align-items: flex-start; gap: 24px 56px; }
.footer-brand p { margin: 0; max-width: 32ch; }
.footer-logo { margin-bottom: 10px; }
.footer-links { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 0 40px; }
.footer-links a, .footer-links .footer-link-btn { min-height: 34px; }
.footer-row > .fine { flex: 1 0 100%; margin: 0; padding-top: 16px; border-top: 1px solid rgba(245,237,220,.15); }
@media (max-width: 600px) {
  .site-footer { padding: 32px 0 24px; }
  .footer-logo { width: 170px; }
  .footer-links { grid-template-rows: repeat(5, auto); gap: 0 24px; width: 100%; }
}
@media (pointer: coarse) { .footer-links a, .footer-links .footer-link-btn { min-height: 40px; } }
