/* ==========================================================================
   Cycle Nepal storefront
   A bike shop in Chitwan: practical, legible, priced like a shop-floor tag.
   One loud thing (reflector yellow: sale + flash sale); everything else quiet.
   ========================================================================== */

/* Barlow + Barlow Condensed, self-hosted (SIL Open Font License, see fonts/Barlow-OFL.txt) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  /* colour */
  --ink: #17201A;
  --slate: #4A554D;
  --muted: #6E786F;
  --line: #DCE2DC;
  --mist: #F4F6F3;
  --paper: #FFFFFF;
  --forest: #1A6B3C;
  --forest-dark: #12512D;
  --forest-50: #EEF5F0;
  --forest-100: #D6E8DC;
  --reflector: #F2B705;
  --reflector-50: #FFF8DB;
  --danger: #B42318;
  --danger-50: #FEF1EF;

  /* type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-md: 1rem;       /* 16 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: 1.5625rem;  /* 25 */
  --fs-2xl: 1.9375rem; /* 31 */
  --fs-3xl: 2.4375rem; /* 39 */
  --fs-4xl: 3.0625rem; /* 49 */

  /* space + shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --wrap: 1240px;
  --focus: 0 0 0 3px rgba(26, 107, 60, .35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-dark); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
.icon.placeholder { height: auto; aspect-ratio: 3 / 2; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip-link:focus { top: 8px; color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.page { padding-top: var(--s5); padding-bottom: var(--s7); }
.stack > * + * { margin-top: var(--s4); }
.muted { color: var(--muted); }
.price { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- buttons + form controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1; cursor: pointer;
  text-decoration: none !important; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--forest); padding: 0 6px; min-height: 36px; }
.btn-quiet:hover { color: var(--forest-dark); text-decoration: underline !important; }
.btn-danger { background: transparent; color: var(--danger); border-color: transparent; padding: 0 8px; min-height: 36px; }
.btn-danger:hover { background: var(--danger-50); color: var(--danger); }
.btn-block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

.field { display: grid; gap: 6px; }
.field + .field { margin-top: var(--s4); }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .error { font-size: var(--fs-xs); color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--paper); border: 1px solid #C7CFC8; border-radius: var(--r);
  font-size: var(--fs-md);
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--forest); box-shadow: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--forest); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); font-size: var(--fs-sm); border: 1px solid; }
.notice-ok { background: var(--forest-50); border-color: var(--forest-100); color: var(--forest-dark); }
.notice-error { background: var(--danger-50); border-color: #F5C2BC; color: var(--danger); }
.notice-info { background: var(--paper); border-color: var(--line); color: var(--slate); }
.notice-warn { background: #FFF8E1; border-color: #EBD48A; color: #5C4A0E; display: block; }
.notice-warn a { color: inherit; font-weight: 600; margin-left: 6px; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }
.flash { padding-top: 12px; }

/* ---------- header ---------- */
.site-top { background: var(--forest-dark); color: #DCEBE1; font-size: var(--fs-xs); }
.site-top .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.site-top a { color: #fff; }
.site-top-links { display: flex; gap: 18px; }
.site-top-item { display: inline-flex; align-items: center; gap: 6px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand-mark { width: 36px; height: 36px; border-radius: var(--r); background: var(--forest); color: #fff; display: grid; place-items: center; }
.brand-mark .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.site-search { flex: 1; max-width: 520px; position: relative; }
.site-search .input { padding-left: 40px; background: var(--mist); border-color: transparent; }
.site-search .input:focus { background: var(--paper); border-color: var(--forest); }
.site-search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: var(--r); color: var(--ink); font-weight: 500; font-size: var(--fs-sm); text-decoration: none !important; background: none; border: 0; cursor: pointer; }
.header-link:hover { background: var(--mist); color: var(--ink); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.menu-toggle { display: none; }

.site-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-nav > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.site-nav > .wrap > ul::-webkit-scrollbar { display: none; }
.site-nav > .wrap > ul a { display: block; padding: 10px 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--slate); white-space: nowrap; border-bottom: 2px solid transparent; text-decoration: none !important; }
.site-nav > .wrap > ul a:hover { color: var(--ink); }
.site-nav > .wrap > ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--forest); }
.site-nav .nav-sep { width: 1px; background: var(--line); margin: 10px 8px; flex: none; }

.mobile-menu { display: none; }
.mobile-menu[open] { display: block; }

@media (max-width: 860px) {
  .site-top { display: none; }
  .site-header .wrap { flex-wrap: wrap; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .site-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-link .label { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-name { font-size: 1.3rem; }
}

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(23, 32, 26, .45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--paper); z-index: 61; overflow-y: auto; padding: var(--s4) var(--s5) var(--s6); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); }
.drawer nav a, .drawer nav button { display: block; width: 100%; text-align: left; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-weight: 500; text-decoration: none !important; cursor: pointer; }
.drawer h2 { font-size: var(--fs-xs); font-family: var(--text); font-weight: 600; color: var(--muted); margin: var(--s5) 0 var(--s1); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9D2CB; margin-top: var(--s7); font-size: var(--fs-sm); }
.site-footer .wrap { padding-top: var(--s6); padding-bottom: var(--s4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); }
.site-footer h2 { color: #fff; font-family: var(--text); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #C9D2CB; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: var(--s3); max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { margin-top: 3px; color: #8FB59B; }
.footer-social { display: flex; gap: 8px; margin-top: var(--s4); }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3A463D; border-radius: var(--r); }
.footer-base { border-top: 1px solid #2E3A31; margin-top: var(--s6); padding-top: var(--s4); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-xs); color: #8E9A91; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp { position: fixed; left: 18px; bottom: 18px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; background: #1F9D55; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.whatsapp:hover { background: #17834A; color: #fff; }
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- page heading + breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs li { display: flex; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #B7C0B8; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.page-title { font-size: var(--fs-2xl); }
.page-intro { color: var(--slate); margin-top: var(--s2); max-width: 62ch; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
@media (max-width: 600px) { .page-title { font-size: var(--fs-2xl); } }

.section { padding-top: var(--s6); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s4); }
.section-head h2 { font-size: var(--fs-xl); }
.section-head a { font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }

/* ---------- surfaces ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.panel-title { font-size: var(--fs-lg); margin-bottom: var(--s4); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: flex; justify-content: space-between; gap: var(--s4); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.rows > li:last-child { border-bottom: 0; }
.rows dt, .rows .k { color: var(--muted); }
.empty { text-align: center; padding: var(--s7) var(--s5); }
.empty h2, .empty h3 { font-size: var(--fs-xl); margin-bottom: var(--s2); }
.empty p { color: var(--slate); margin-bottom: var(--s4); }
.empty .icon { width: 40px; height: 40px; margin: 0 auto var(--s3); color: var(--muted); stroke-width: 1.4; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--mist); color: var(--slate); border: 1px solid var(--line); white-space: nowrap; }
.status-ok { background: var(--forest-50); color: var(--forest-dark); border-color: var(--forest-100); }
.status-wait { background: var(--reflector-50); color: #6B5200; border-color: #F3DE8A; }
.status-bad { background: var(--danger-50); color: var(--danger); border-color: #F5C2BC; }

/* ---------- product tag (card) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s4); }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.ptag { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ptag:hover { border-color: #B7C3B9; }
.ptag-media { aspect-ratio: 4 / 3; background: var(--mist); display: grid; place-items: center; }
.ptag-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ptag-media .placeholder { width: 46%; color: #A9B5AB; stroke-width: 1.2; }
.ptag-flag { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; }
.flag-sale { background: var(--reflector); color: var(--ink); }
.flag-new { background: var(--paper); color: var(--forest-dark); border: 1px solid var(--forest-100); }
.flag-out { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.ptag-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.ptag-brand { font-size: var(--fs-xs); color: var(--muted); }
.ptag-name { font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptag-name::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.ptag a.ptag-name:hover { text-decoration: none; color: var(--forest-dark); }
.ptag-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.ptag-price .now { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.ptag-price .was { font-size: var(--fs-xs); color: var(--muted); text-decoration: line-through; }
.ptag-note { font-size: var(--fs-xs); color: var(--forest-dark); }
.ptag-add { position: relative; z-index: 1; margin-top: 10px; }
.ptag-add .btn { min-height: 40px; }
@media (max-width: 520px) { .ptag-add .btn { font-size: var(--fs-xs); padding: 0 8px; } .ptag-price .now { font-size: 1.3rem; } }
.ptag-rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--slate); }
.ptag-rating .icon { width: 13px; height: 13px; fill: var(--reflector); stroke: #C99700; }

/* ---------- home ---------- */
.home-intro { background: var(--paper); border-bottom: 1px solid var(--line); }
.home-intro .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s6); align-items: center; }
.home-intro h1 { font-size: var(--fs-3xl); font-weight: 700; max-width: 22ch; }
.home-intro .lede { font-size: var(--fs-lg); color: var(--slate); margin-top: var(--s4); max-width: 46ch; line-height: 1.5; }
.home-actions { display: flex; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
.home-facts { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: var(--slate); }
.home-facts li { display: inline-flex; align-items: center; gap: 8px; }
.home-facts .icon { color: var(--forest); }
.home-feature { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--mist); text-decoration: none !important; color: var(--ink); }
.home-feature:hover { color: var(--ink); border-color: #B7C3B9; }
.home-feature-media { aspect-ratio: 16 / 9; max-height: 300px; display: grid; place-items: center; }
.home-feature-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.home-feature-body { padding: var(--s4) var(--s5); background: var(--paper); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: var(--s4); }
.home-feature-body .label { font-size: var(--fs-xs); color: var(--muted); }
.home-feature-body h2 { font-size: var(--fs-xl); margin-top: 2px; }
.home-feature-body .price { font-size: var(--fs-2xl); white-space: nowrap; }
@media (max-width: 860px) {
  .home-intro .wrap { grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s5); padding-bottom: var(--s5); }
  .home-intro h1 { font-size: var(--fs-3xl); }
  .home-intro .lede { font-size: var(--fs-md); }
}

/* rider types: text-led list, not cards */
.riders { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.riders:has(> a:only-child) { max-width: 300px; }
.riders a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px; background: var(--paper); color: var(--ink); text-decoration: none !important; }
.riders a:hover { background: var(--forest-50); color: var(--forest-dark); }
.riders strong { font-family: var(--display); font-weight: 600; font-size: var(--fs-lg); }
.riders span { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }

/* the one loud band */
.flash-band { background: var(--reflector); color: var(--ink); margin-top: var(--s6); }
.flash-band .wrap { padding-top: var(--s5); padding-bottom: var(--s5); }
.flash-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.flash-head h2 { font-size: var(--fs-3xl); font-weight: 700; }
.flash-head p { margin-top: 4px; font-weight: 500; }
.countdown { display: flex; gap: 6px; align-items: baseline; font-family: var(--display); font-variant-numeric: tabular-nums; }
.countdown b { font-size: var(--fs-3xl); font-weight: 700; line-height: 1; }
.countdown small { font-family: var(--text); font-size: var(--fs-xs); font-weight: 600; margin-right: 10px; }
.flash-band .ptag { border-color: rgba(23, 32, 26, .2); }
.flash-band .ptag-left { font-size: var(--fs-xs); font-weight: 600; color: var(--danger); }

.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands a { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none !important; }
.brands a:hover { border-color: var(--forest); color: var(--forest-dark); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.services article { padding-top: var(--s4); border-top: 2px solid var(--ink); }
.services h3 { font-size: var(--fs-xl); margin-bottom: var(--s2); }
.services p { color: var(--slate); font-size: var(--fs-sm); margin-bottom: var(--s3); max-width: 38ch; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.promo { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.filters { position: sticky; top: 90px; }
.filters h2 { font-size: var(--fs-lg); margin-bottom: var(--s3); }
.filter-group { border-top: 1px solid var(--line); padding: var(--s4) 0; }
.filter-group legend, .filter-group > .label { font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s2); padding: 0; }
.filter-group fieldset { border: 0; margin: 0; padding: 0; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r-sm); color: var(--slate); font-size: var(--fs-sm); text-decoration: none !important; }
.filter-list a:hover { background: var(--paper); color: var(--ink); }
.filter-list a[aria-current="true"] { background: var(--forest-50); color: var(--forest-dark); font-weight: 600; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.shop-bar .count { color: var(--slate); font-size: var(--fs-sm); }
.shop-bar .select { width: auto; min-height: 40px; padding: 6px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: var(--fs-xs); color: var(--ink); text-decoration: none !important; }
.chip .icon { width: 14px; height: 14px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.filters-toggle { display: none; }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: var(--s4); }
  .filters { position: static; }
  .filters-toggle { display: inline-flex; }
  .filters:not(.is-open) .filters-body { display: none; }
  .filters h2 { display: none; }
}

/* pagination (Laravel default markup) */
.pager { margin-top: var(--s6); }
.pager nav > div:first-child { display: none; }
.pager nav span, .pager nav a { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; margin: 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font-size: var(--fs-sm); text-decoration: none !important; }
.pager nav span[aria-current] span { border: 0; background: none; margin: 0; padding: 0; }
.pager nav span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager nav span[aria-current] span { color: #fff; }
.pager svg { width: 16px; height: 16px; }
.pager nav > div:last-child > div:first-child { display: none; }
@media (max-width: 640px) { .pager nav > div:first-child { display: flex; gap: 8px; justify-content: space-between; } .pager nav > div:last-child { display: none; } }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.gallery-main { aspect-ratio: 1 / 1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery-main .placeholder { width: 50%; color: #A9B5AB; stroke-width: 1.1; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--forest); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.buy .brandline { font-size: var(--fs-sm); color: var(--muted); }
.buy h1 { font-size: var(--fs-3xl); margin-top: 4px; }
.buy .summary { color: var(--slate); margin-top: var(--s3); max-width: 56ch; }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: var(--s5); }
.buy-price .now { font-family: var(--display); font-size: var(--fs-4xl); font-weight: 600; line-height: 1; }
.buy-price .was { color: var(--muted); text-decoration: line-through; }
.buy-price .save { background: var(--reflector); color: var(--ink); font-weight: 700; font-size: var(--fs-xs); padding: 3px 8px; border-radius: var(--r-sm); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; margin-top: var(--s3); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-ok { color: var(--forest); }
.stock-low { color: #8A6A00; }
.stock-out { color: var(--danger); }
.buy-form { display: flex; gap: 10px; margin-top: var(--s5); flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid #C7CFC8; border-radius: var(--r); background: var(--paper); }
.qty button { width: 44px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--ink); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-form .btn-primary { flex: 1; min-width: 180px; }
.buy-notes { list-style: none; margin: var(--s5) 0 0; padding: 0; border-top: 1px solid var(--line); }
.buy-notes li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--slate); }
.buy-notes .icon { color: var(--forest); margin-top: 2px; }
.buy-notes strong { color: var(--ink); display: block; }
.buy-notes ul { list-style: none; margin: 0; padding: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; }
.prose { color: var(--slate); max-width: 68ch; line-height: 1.7; }
.prose p + p { margin-top: 1em; }
.product-more { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s7); margin-top: var(--s7); }
.reviews li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.reviews { list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) {
  .product, .product-more { grid-template-columns: 1fr; gap: var(--s5); }
  .buy h1 { font-size: var(--fs-2xl); }
  .buy-price .now { font-size: var(--fs-3xl); }
}

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s6); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: var(--s4); padding: var(--s4); border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 88px; height: 88px; border-radius: var(--r); background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-line h3 { font-family: var(--text); font-size: var(--fs-md); font-weight: 600; }
.cart-line h3 a { color: var(--ink); }
.cart-meta { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.cart-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cart-controls .qty input { width: 44px; }
.cart-controls .qty button { width: 36px; }
.cart-line-total { text-align: right; }
.cart-line-total .price { font-size: var(--fs-xl); }
.summary-panel { position: sticky; top: 90px; }
.totals { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.totals li { display: flex; justify-content: space-between; padding: 8px 0; font-size: var(--fs-sm); }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; font-size: var(--fs-md); }
.totals .grand .price { font-size: var(--fs-2xl); }
@media (max-width: 860px) {
  .cart { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-line-total { grid-column: 2; text-align: left; }
}

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 980px; margin: var(--s6) auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.auth-aside { background: var(--forest-dark); color: #E3EEE6; padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.auth-aside h2 { color: #fff; font-size: var(--fs-2xl); }
.auth-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-aside li { display: flex; gap: 10px; font-size: var(--fs-sm); }
.auth-aside .icon { color: #9CCBAA; margin-top: 2px; }
.auth-form { padding: var(--s7) var(--s6); }
.auth-form h1 { font-size: var(--fs-2xl); margin-bottom: 6px; }
.auth-form .sub { color: var(--slate); margin-bottom: var(--s5); }
.auth-alt { margin-top: var(--s5); font-size: var(--fs-sm); color: var(--slate); }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 70px; }
.password-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--forest); font-weight: 600; font-size: var(--fs-xs); padding: 8px; cursor: pointer; }
@media (max-width: 760px) { .auth { grid-template-columns: 1fr; margin-top: var(--s4); } .auth-aside { display: none; } .auth-form { padding: var(--s5); } }

/* ---------- account ---------- */
.account { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.account-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r); border: 0; background: none; color: var(--slate); font-weight: 500; font-size: var(--fs-sm); text-decoration: none !important; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--paper); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: inset 3px 0 0 var(--forest); }
.account-who { padding: 0 12px var(--s4); }
.account-who strong { display: block; font-size: var(--fs-md); }
.account-who span { font-size: var(--fs-xs); color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s4); }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4) var(--s5); }
.stat dt { font-size: var(--fs-xs); color: var(--muted); }
.stat dd { margin: 4px 0 0; font-family: var(--display); font-size: var(--fs-2xl); font-weight: 600; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: var(--fs-xs); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 860px) {
  .account { grid-template-columns: 1fr; gap: var(--s4); }
  .account-nav { display: flex; overflow-x: auto; gap: 4px; }
  .account-nav a, .account-nav button { white-space: nowrap; }
  .account-who { display: none; }
}

/* member card */
.member-card { max-width: 420px; aspect-ratio: 1.586; border-radius: 14px; background: var(--forest-dark); color: #fff; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.member-card .name { font-family: var(--display); font-size: var(--fs-2xl); font-weight: 600; }
.member-card .num { font-family: var(--display); font-size: var(--fs-lg); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.member-card .row { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: #CFE2D5; }
.member-card .stripe { position: absolute; right: -46px; top: 0; bottom: 0; width: 84px; background: var(--reflector); transform: skewX(-12deg); opacity: .95; }
.member-card > * { position: relative; }

/* rentals */
.rent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.rent-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); }
.rent-item .media { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.rent-item .media img { width: 100%; height: 100%; object-fit: cover; }
.rent-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s3); }
.rent-form .full { grid-column: 1 / -1; }
.rent-form .field + .field { margin-top: 0; }
@media (max-width: 600px) { .rent-item { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .rent-form { grid-template-columns: 1fr; } }

/* ---------- module pages (blog, events, tracking, checkout) sit inside .module ---------- */
.module { padding-top: var(--s5); padding-bottom: var(--s7); }
.module h1 { font-family: var(--display); }

/* print */
@media print { .site-top, .site-header, .site-nav, .site-footer, .whatsapp, .no-print { display: none !important; } body { background: #fff; } }

/* chips used as sub-navigation */
.chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: var(--s3); }

/* rich text from the blog/event editor */
.prose h2 { font-size: var(--fs-xl); margin: 1.4em 0 .4em; color: var(--ink); }
.prose h3 { font-size: var(--fs-lg); margin: 1.2em 0 .4em; color: var(--ink); }
.prose h4 { font-size: var(--fs-md); margin: 1em 0 .3em; color: var(--ink); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li + li { margin-top: .3em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-lg); margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding-left: 1em; border-left: 3px solid var(--forest-100); color: var(--slate); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-lg); }
.prose > :first-child { margin-top: 0; }

/* grid children may shrink below their content (scrolling strips inside) */
.account > *, .shop > *, .cart > *, .product > *, .product-more > *, .home-intro .wrap > * { min-width: 0; }

/* ==========================================================================
   Member area: same system, one extra material (brass) that only members see.
   ========================================================================== */
:root { --brass: #A07C2C; --brass-dark: #7A5D1C; --brass-50: #F8F2E3; --brass-100: #EADBB4; }
.member-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--brass-50); color: var(--brass-dark); border: 1px solid var(--brass-100); font-size: var(--fs-xs); font-weight: 600; }
.member-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

.member-hero { background: var(--forest-dark); color: #E3EEE6; border-radius: var(--r-lg); padding: var(--s5) var(--s5) var(--s5) var(--s6); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--s5); align-items: center; position: relative; overflow: hidden; }
.member-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brass); }
.member-hero h1 { color: #fff; font-size: var(--fs-2xl); margin-top: var(--s2) !important; }
.member-hero .meta { margin-top: var(--s2); color: #C4D8CA; }
.member-hero .meta strong { color: #fff; font-weight: 600; }
.member-hero .member-badge { background: rgba(160, 124, 44, .18); border-color: rgba(234, 219, 180, .35); color: #F1DFAF; }
.member-facts { list-style: none; margin: var(--s4) 0 0; padding: var(--s3) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); border-top: 1px solid rgba(255, 255, 255, .12); }
.member-facts li { display: grid; gap: 2px; }
.member-facts span { font-size: var(--fs-xs); color: #A9C2B1; }
.member-facts b { font-family: var(--display); font-size: var(--fs-lg); font-weight: 600; color: #fff; line-height: 1.1; }
.member-facts a { color: #F1DFAF; font-size: var(--fs-xs); }
.member-hero .member-card { max-width: none; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.member-hero .member-card .name { font-size: var(--fs-xl); }
.member-hero .member-card .num { font-size: var(--fs-md); }
@media (max-width: 860px) { .member-hero { grid-template-columns: 1fr; padding: var(--s4); gap: var(--s4); } .member-hero h1 { font-size: var(--fs-xl); } .member-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .member-hero .member-card { max-width: 340px; } }

.m-section { margin-top: var(--s6); }
.m-section > header { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s3); }
.m-section > header h2 { font-size: var(--fs-xl); }
.m-section > header p { color: var(--slate); font-size: var(--fs-sm); }

.offer-list, .event-list, .announce-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.offer-list > li, .event-list > li, .announce-list > li { border-bottom: 1px solid var(--line); }
.offer-list > li:last-child, .event-list > li:last-child, .announce-list > li:last-child { border-bottom: 0; }

.offer { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: var(--s4) var(--s5); }
.offer-value { font-family: var(--display); font-weight: 700; font-size: var(--fs-2xl); color: var(--brass-dark); line-height: 1; }
.offer-value small { display: block; font-family: var(--text); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); margin-top: 4px; }
.offer h3 { font-family: var(--text); font-size: var(--fs-md); font-weight: 600; }
.offer p { color: var(--slate); font-size: var(--fs-sm); margin-top: 2px; }
.offer .terms { color: var(--muted); font-size: var(--fs-xs); margin-top: 6px; }
.offer-use { text-align: right; font-size: var(--fs-xs); color: var(--slate); }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px dashed var(--brass); border-radius: var(--r); background: var(--brass-50); font-family: var(--display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: .04em; color: var(--brass-dark); }
.code-chip button { border: 0; background: var(--paper); border-radius: var(--r-sm); padding: 4px 8px; font: 600 var(--fs-xs) var(--text); color: var(--ink); cursor: pointer; }
.auto-note { display: inline-flex; align-items: center; gap: 6px; color: var(--forest-dark); font-weight: 600; }
@media (max-width: 700px) { .offer { grid-template-columns: 1fr; gap: var(--s2); } .offer-use { text-align: left; } }

.event-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); }
.date-block { width: 64px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.date-block b { display: block; font-family: var(--display); font-size: var(--fs-2xl); line-height: 1.2; }
.date-block span { display: block; background: var(--mist); font-size: 12px; font-weight: 600; color: var(--slate); padding: 2px 0; }
.event-row h3 { font-family: var(--text); font-size: var(--fs-md); font-weight: 600; }
.event-row h3 a { color: var(--ink); }
.event-row p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 600px) { .event-row { grid-template-columns: 56px minmax(0, 1fr); } .event-row > :last-child { grid-column: 2; } }

.announce { padding: var(--s4) var(--s5); }
.announce h3 { font-family: var(--text); font-size: var(--fs-md); font-weight: 600; }
.announce time { font-size: var(--fs-xs); color: var(--muted); }
.announce p { color: var(--slate); font-size: var(--fs-sm); margin-top: 4px; white-space: pre-line; }

/* invitation shown to regular customers */
.join-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s5); background: var(--paper); border: 1px solid var(--brass-100); border-radius: var(--r-lg); box-shadow: inset 3px 0 0 var(--brass); }
.join-band h2 { font-size: var(--fs-xl); }
.join-band p { color: var(--slate); font-size: var(--fs-sm); margin-top: 2px; }
@media (max-width: 600px) { .join-band { grid-template-columns: 1fr; } }

/* member card: brass stripe instead of reflector */
.member-card .stripe { background: var(--brass); opacity: .9; }

/* ---------- admin-managed banners (Admin > Banners) ---------- */
/* Home hero: wide artwork, shown at its own proportions; several become scroll-snap slides */
.hero-banners { background: var(--paper); padding-top: var(--s4); }
.hb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); background: var(--mist); }
.hb-track::-webkit-scrollbar { display: none; }
.hb-track:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.hb-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; position: relative; }
.hb-slide img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.hb-slide.is-broken { display: none; }
.hb-controls { display: flex; align-items: center; justify-content: center; gap: var(--s3); padding: var(--s3) 0 0; }
.hb-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.hb-btn:hover { border-color: var(--ink); }
.hb-dots { display: flex; gap: 6px; }
.hb-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hb-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B7C3B9; transition: width .2s; }
.hb-dots button[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--forest); }
.home-intro.is-solo .wrap { grid-template-columns: minmax(0, 1fr); }

/* Shop sidebar */
.side-banners { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.side-banner { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.side-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .side-banners { display: none; } }

/* Popup: native <dialog>, closes on Esc, the close button or the backdrop; once per visit */
.promo-pop { border: 0; padding: 0; border-radius: var(--r-lg); max-width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: hidden; background: var(--paper); box-shadow: 0 24px 60px rgba(23, 32, 26, .3); }
.promo-pop::backdrop { background: rgba(23, 32, 26, .55); }
.promo-pop img { display: block; width: 100%; height: auto; max-height: calc(100vh - 48px); object-fit: contain; }
.promo-pop-close { position: absolute; top: 8px; right: 8px; margin: 0; }
.promo-pop-close .header-link { background: rgba(255, 255, 255, .92); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }

/* Slide-out menu: show where you are */
.drawer nav a[aria-current="page"] { color: var(--forest-dark); font-weight: 600; box-shadow: inset 3px 0 0 var(--forest); padding-left: 12px; }
@media (prefers-reduced-motion: reduce) { .hb-dots button::before { transition: none; } }

/* ---------- header Shop menu ---------- */
.site-nav { position: relative; }
.nav-shop { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap; }
.nav-shop .icon { transform: rotate(90deg); transition: transform .15s; }
.nav-shop[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.nav-shop[data-current] { border-bottom-color: var(--forest); }
.nav-shop:hover { color: var(--forest-dark); }
.nav-shop:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.shop-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(23, 32, 26, .1); }
.shop-menu .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s6); padding-top: var(--s5); padding-bottom: var(--s5); }
.shop-menu-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s3) var(--s5); align-content: start; }
.shop-menu a { color: var(--slate); text-decoration: none; font-size: var(--fs-sm); }
.shop-menu a:hover, .shop-menu a[aria-current="page"] { color: var(--forest-dark); text-decoration: underline; }
.shop-menu-top { display: block; font-family: var(--display); font-size: var(--fs-lg) !important; font-weight: 600; color: var(--ink) !important; margin-bottom: 4px; }
.shop-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.shop-menu-quick { border-left: 1px solid var(--line); padding-left: var(--s5) !important; gap: 8px !important; align-content: start; }
.shop-menu-quick a { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .site-nav .nav-cat { display: none; }          /* categories live in the Shop menu on small screens */
  .shop-menu .wrap { grid-template-columns: 1fr; gap: var(--s4); max-height: calc(100vh - 180px); overflow-y: auto; }
  .shop-menu-quick { border-left: 0; padding-left: 0 !important; border-top: 1px solid var(--line); padding-top: var(--s3) !important; grid-template-columns: repeat(2, 1fr); }
  .shop-menu-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.drawer nav a.drawer-sub { padding-left: 16px; font-weight: 400; font-size: var(--fs-sm); color: var(--slate); }

/* ---------- lookup pages (repair status, track an order) ---------- */
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s6); align-items: start; max-width: 980px; }
.lookup-notes { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: 10px; color: var(--slate); font-size: var(--fs-sm); }
.lookup-notes li { display: flex; gap: 10px; align-items: flex-start; }
.lookup-notes .icon { flex: none; margin-top: 2px; color: var(--forest); }
.lookup-notes:empty { display: none; }
@media (max-width: 760px) { .lookup { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- older module pages: drop full-screen heights and oversized padding ---------- */
.cn-modules .min-h-screen { min-height: 0; }
.cn-modules .py-12, .cn-modules .py-16, .cn-modules .py-20, .cn-modules .py-24 { padding-top: var(--s5); padding-bottom: var(--s5); }
.cn-modules .mb-8 { margin-bottom: var(--s4); }
.cn-modules .p-8 { padding: var(--s5); }
.cn-modules > .min-h-screen.bg-gray-100, .cn-modules .min-h-screen.bg-gray-100 { background: transparent; }

/* member area: empty states and nav chips sit tighter */
.m-section .panel { padding: var(--s4); font-size: var(--fs-sm); }
@media (max-width: 860px) {
  .account-who { padding: 0 0 var(--s2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .account-who .member-badge { margin: 0 !important; }
  .account-nav { margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .account-nav a, .account-nav button { padding: 8px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; }
  .account-nav a[aria-current="page"] { box-shadow: none; background: var(--ink); color: #fff; border-color: var(--ink); }
  .account-nav a[aria-current="page"] .icon { color: #fff !important; }
}
.event-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s3); padding: 10px var(--s4); }
.date-block { width: 48px; }
.date-block b { font-size: var(--fs-xl); line-height: 1.15; }
.date-block span { font-size: 11px; padding: 1px 0; }
.event-row .btn { min-height: 36px; padding: 6px 14px; }
.announce { padding: 12px var(--s4) !important; }
@media (max-width: 560px) { .event-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 10px 12px; } .event-row .btn { padding: 6px 10px; font-size: var(--fs-xs); } .event-row .member-badge { font-size: 11px; } }
@media (max-width: 860px) { .member-hero .member-card { display: none; } }   /* the full card is one tap away under Member card */
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: var(--s5) var(--s4) !important; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { margin-top: var(--s6); }
}
/* shop: four across on a laptop, tighter sidebar, long filter lists scroll instead of stretching the page */
@media (min-width: 861px) { .shop { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s5); } }
.shop .product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.filter-list { max-height: 296px; overflow-y: auto; scrollbar-width: thin; }
.filter-list a { padding: 5px 8px; }
.filter-group { padding: var(--s3) 0; }
.ptag-body { padding: 10px 12px 12px; }
@media (max-width: 520px) { .shop .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (min-width: 861px) { .filters { max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; } }

/* home product rows: five across so rows fill evenly */
.home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 12px; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; } }
@media (max-width: 760px) { .gallery-main { aspect-ratio: 4 / 3; } }

/* ---------- category icons ---------- */
.cat-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shop-menu-top { display: flex !important; align-items: center; gap: 8px; }
.shop-menu-top .cat-icon { color: var(--forest); width: 26px; height: 26px; }
.shop-menu ul { padding-left: 34px !important; }
.drawer nav a.drawer-cat { display: flex; align-items: center; gap: 10px; }
.drawer-cat .cat-icon { color: var(--forest); }
.drawer nav a.drawer-sub { padding-left: 32px; }
.filter-list .fl-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-list .cat-icon { width: 18px; height: 18px; color: var(--muted); }
.filter-list a[aria-current="true"] .cat-icon { color: var(--forest); }
.riders { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.riders a { position: relative; justify-content: flex-start; gap: 12px; padding: 14px 16px; overflow: hidden; }
.rider-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--forest-50); color: var(--forest-dark); display: grid; place-items: center; flex: none; }
.rider-icon .cat-icon { width: 28px; height: 28px; }
.rider-text { display: grid; gap: 1px; min-width: 0; }
.rider-text strong { line-height: 1.15; }
.riders a:hover .rider-icon { background: var(--paper); }
.riders a.has-pic { min-height: 120px; align-items: flex-end; color: #fff; }
.riders a.has-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.riders a.has-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,26,0) 30%, rgba(23,32,26,.75)); z-index: 1; }
.riders a.has-pic > span { position: relative; z-index: 2; }
.riders a.has-pic .rider-icon { display: none; }
.riders a.has-pic .rider-text span { color: #DDE7E0; }
@media (max-width: 560px) { .riders { grid-template-columns: 1fr 1fr; } .rider-icon { width: 36px; height: 36px; } .rider-icon .cat-icon { width: 22px; height: 22px; } .riders a { padding: 10px 12px; gap: 8px; } }

/* ---------- brand logos ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.brands a { display: grid; place-items: center; min-height: 64px; text-align: center; }
.brands a.has-logo { padding: 10px 16px; }
.brands a.has-logo img { max-width: 100%; max-height: 40px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.brands a.has-logo:hover img, .brands a.has-logo:focus-visible img { filter: none; opacity: 1; }
.brand-link { display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { height: 22px; width: auto; max-width: 90px; object-fit: contain; }
.shop-brand-logo { display: block; max-height: 44px; max-width: 160px; object-fit: contain; margin-bottom: var(--s2); }
@media (prefers-reduced-motion: reduce) { .brands a.has-logo img { transition: none; } }
.riders .rider-text { white-space: normal; } .rider-text span { white-space: nowrap; }

/* ---------- settings-driven bits ---------- */
.announce-bar { background: var(--reflector); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.announce-bar .wrap { padding-top: 7px; padding-bottom: 7px; }
.announce-bar a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.brand-logo-img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
@media (max-width: 760px) { .site-header .brand-logo-img { height: 40px; max-width: 170px; } }
/* footer is dark: the logo sits on a white plate so its colours read */
.footer-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 8px 14px; }
.footer-logo .brand-logo-img { height: 44px; max-width: 220px; }
.shop-menu-top { line-height: 1.15; }
.gallery-main { position: relative; }
.gallery-spin { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.gallery-spin[hidden] { display: none; }
.gallery-spin .spin { width: 100%; height: 100%; aspect-ratio: auto; }
.thumb-360 { position: relative; }
.thumb-360 span { position: absolute; inset: auto 4px 4px auto; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; }

/* ---------- services around the featured bike (home) ---------- */
.showcase { margin-top: var(--s6); background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.showcase-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: var(--s5); padding: var(--s7) 0; }
.showcase-grid.no-bike { grid-template-columns: 1fr 1fr; }
.showcase-col { display: grid; gap: var(--s7); align-self: stretch; align-content: center; }
.showcase-col:first-child { border-right: 1px solid var(--line); padding-right: var(--s5); }
.showcase-col:last-child { border-left: 1px solid var(--line); padding-left: var(--s6); }
.svc h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.01em; }
.svc p { color: var(--slate); font-size: var(--fs-sm); margin-top: var(--s2); max-width: 30ch; line-height: 1.55; }
.svc a { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--s3); font-weight: 700; font-size: var(--fs-sm); color: var(--ink); text-decoration: none; }
.svc a .icon { transition: transform .2s; }
.svc a:hover { color: var(--forest-dark); }
.svc a:hover .icon { transform: translateX(3px); }
.showcase-bike { margin: 0; position: relative; display: grid; justify-items: center; gap: var(--s3); overflow: hidden; padding: var(--s3) 0; }
.showcase-bike > img, .showcase-bike .spin { width: 100%; max-width: 640px; aspect-ratio: 4 / 3; object-fit: contain; position: relative; z-index: 1; }
.showcase-bike figcaption { position: relative; z-index: 1; display: flex; gap: var(--s3); align-items: baseline; font-size: var(--fs-sm); }
.showcase-bike figcaption a { font-weight: 700; color: var(--ink); }
.showcase-bike figcaption span { font-family: var(--display); font-size: var(--fs-lg); font-weight: 600; color: var(--forest-dark); }
@media (max-width: 900px) {
  .showcase-col:first-child, .showcase-col:last-child { border: 0; padding: 0; }
  .showcase-grid { grid-template-columns: 1fr 1fr; padding: var(--s5) 0; gap: var(--s5) var(--s4); }
  .showcase-bike { grid-column: 1 / -1; order: -1; }
  .showcase-col { gap: var(--s5); }
  .svc h3 { font-size: var(--fs-lg); }
}
@media (max-width: 520px) { .showcase-grid { grid-template-columns: 1fr; } .showcase-col { gap: var(--s4); } }
@media (prefers-reduced-motion: reduce) { .svc a .icon { transition: none; } }

/* ---------- home Q&A ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s6); align-items: start; }
.faq h2 { font-size: var(--fs-2xl); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); padding: 14px 0; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--forest); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--slate); padding: 0 0 14px; max-width: 70ch; white-space: pre-line; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------- footer wordmark ---------- */
.footer-mark { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 15vw, 220px); line-height: .8; letter-spacing: -.02em; color: rgba(255, 255, 255, .05); white-space: nowrap; overflow: hidden; margin-top: var(--s5); user-select: none; text-align: center; }

/* ---------- back to top: a bike riding up the page ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--forest-dark); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(23, 32, 26, .14); transition: transform .2s, background .2s, color .2s; }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-2px); }
.to-top:focus-visible { outline: none; box-shadow: var(--focus); }
.to-top svg { width: 34px; height: 34px; transform: rotate(-90deg); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.to-top .wheel path { stroke-width: 1.4; opacity: .7; }
.to-top .wheel { transform-box: fill-box; transform-origin: center; }
.to-top:hover .wheel { animation: cn-spin 1.2s linear infinite; }
.to-top.is-riding { background: var(--forest); color: #fff; border-color: var(--forest); animation: cn-ride .9s ease-in-out infinite alternate; }
.to-top.is-riding .wheel { animation: cn-spin .35s linear infinite; }
@keyframes cn-spin { to { transform: rotate(360deg); } }
@keyframes cn-ride { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top .wheel, .to-top.is-riding { animation: none !important; transition: none; } }
@media print { .to-top { display: none !important; } }

/* ---------- home product rows: tiles (Picked by us, Latest, Spotlight, Best sellers) ---------- */
.tile-band { padding: var(--s7) 0 var(--s6); }
.tile-band + .tile-band:not(.is-dark) { padding-top: var(--s4); }
.tile-band.is-dark { background: var(--ink); color: #E7ECE8; margin: var(--s5) 0; }
.tile-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.tile-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); margin: 0 0 var(--s2); }
.tile-label::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--reflector); }
.tile-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -.01em; max-width: 16ch; }
.tile-intro { color: var(--slate); margin-top: var(--s2); max-width: 56ch; font-size: var(--fs-sm); }
.tile-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: var(--fs-sm); color: var(--forest-dark); white-space: nowrap; text-decoration: none; }
.tile-all .icon { transition: transform .2s; }
.tile-all:hover .icon { transform: translateX(3px); }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }

.tile { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 6px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: #B9C6BC; box-shadow: 0 10px 24px rgba(23, 32, 26, .08); }
.tile-media { display: grid; place-items: center; aspect-ratio: 1 / 1; background: #F3F4EF; border-radius: 18px; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-media .placeholder { width: 46%; color: #A9B5AB; stroke-width: 1.2; }
.tile-flag { position: absolute; top: 18px; left: 18px; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--forest); color: #fff; }
.tile-flag.is-sale { background: var(--reflector); color: var(--ink); }
.tile-flag.is-out { background: var(--paper); color: var(--slate); border: 1px solid var(--line); }
.tile-add { position: absolute; top: 14px; right: 14px; margin: 0; }
.tile-add button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s, background .2s, color .2s; }
.tile:hover .tile-add button, .tile-add button:focus-visible { opacity: 1; transform: none; }
.tile-add button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.tile-add button:focus-visible { outline: none; box-shadow: var(--focus); }
@media (hover: none) { .tile-add button { opacity: 1; transform: none; } }
.tile-info { padding: 14px 12px 10px; }
.tile-info h3 { font-family: var(--display); font-size: var(--fs-lg); font-weight: 700; line-height: 1.15; }
.tile-info h3 a { color: var(--ink); text-decoration: none; }
.tile-info h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }   /* whole tile is the link */
.tile-add, .tile-flag { z-index: 2; }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
.tile-meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-price { color: var(--ink); font-weight: 700; white-space: nowrap; }
.tile-price s { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); margin-right: 4px; }

/* the dark "Spotlight" row */
.tile-band.is-dark .tile-label { color: #fff; }
.tile-band.is-dark .tile-head h2 { color: #fff; }
.tile-band.is-dark .tile-intro { color: #B9C6BC; }
.tile-band.is-dark .tile-all { color: var(--reflector); }
.tile-band.is-dark .tile { background: #262E29; border-color: #2F3832; }
.tile-band.is-dark .tile:hover { border-color: #45514A; box-shadow: none; }
.tile-band.is-dark .tile-info h3 a { color: #fff; }
.tile-band.is-dark .tile-meta { color: #A7B3AA; }
.tile-band.is-dark .tile-price { color: #fff; }
.tile-band.is-dark .tile-price s { color: #8E9A91; }

@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .tile-band { padding: var(--s5) 0 var(--s4); }
  .tile-grid { gap: 10px; }
  .tile { border-radius: 16px; padding: 4px; }
  .tile-media { border-radius: 13px; }
  .tile-info { padding: 10px 8px 8px; }
  .tile-info h3 { font-size: var(--fs-md); }
  .tile-meta { flex-direction: column; gap: 2px; font-size: var(--fs-xs); }
  .tile-flag { top: 12px; left: 12px; font-size: 11px; padding: 2px 8px; }
  .tile-add { top: 10px; right: 10px; }
  .tile-add button { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile-media img, .tile-add button, .tile-all .icon { transition: none; } .tile:hover .tile-media img { transform: none; } }

/* ---------- top brands: logos drifting right to left ---------- */
.brand-strip { padding: var(--s6) 0 var(--s5); }
.marquee { overflow: hidden; display: flex; gap: var(--s3); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s3); flex: none; min-width: 100%; justify-content: space-around; }
.marquee:not(.is-moving) { justify-content: center; }
.marquee:not(.is-moving) .marquee-list { min-width: 0; flex-wrap: wrap; justify-content: center; }
.marquee.is-moving .marquee-list { animation: cn-marquee calc(var(--n) * 3.2s) linear infinite; }
.marquee:hover .marquee-list, .marquee:focus-within .marquee-list { animation-play-state: paused; }
@keyframes cn-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--s3))); } }
.mbrand { display: grid; place-items: center; width: 170px; height: 84px; padding: 14px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 700; text-align: center; }
.mbrand img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
a.mbrand:hover { border-color: var(--forest); }
a.mbrand:hover img, a.mbrand:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 560px) { .mbrand { width: 130px; height: 66px; padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee.is-moving { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee.is-moving .marquee-list { animation: none; }
  .marquee.is-moving .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------- carousel rows: category card + sliding products ---------- */
.crow { padding: var(--s3) 0; }
.crow-box { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s5); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: var(--s4); align-items: stretch; }
.crow-lead { position: relative; overflow: hidden; border-radius: 16px; background: var(--forest-50); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s5); min-height: 280px; isolation: isolate; }
.crow-lead.has-pic { color: #fff; }
.crow-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.crow-lead.has-pic::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,32,26,.15), rgba(23,32,26,.7)); }
.crow-lead:hover img { transform: scale(1.04); }
.crow-icon { width: 72px; height: 72px; border-radius: 16px; background: var(--paper); color: var(--forest-dark); display: grid; place-items: center; }
.crow-icon .cat-icon { width: 46px; height: 46px; }
.crow-lead.has-pic .crow-icon { display: none; }
.crow-text h2 { font-size: var(--fs-2xl); line-height: 1.05; }
.crow-lead.has-pic .crow-text h2 { color: #fff; }
.crow-count { display: block; font-size: var(--fs-sm); color: var(--slate); margin-top: 4px; }
.crow-lead.has-pic .crow-count { color: #DDE7E0; }
.crow-all { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: var(--fs-sm); margin-top: var(--s4); transition: background .2s; }
.crow-lead:hover .crow-all { background: var(--forest); }
.crow-rail { position: relative; min-width: 0; }
.crow-track { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s4)) / 4); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.crow-track::-webkit-scrollbar { display: none; }
.ccard { scroll-snap-align: start; }
.ccard a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; text-align: center; }
.ccard-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #F3F4EF; border-radius: 12px; overflow: hidden; }
.ccard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.ccard a:hover .ccard-media img { transform: scale(1.05); }
.ccard-media .placeholder { width: 46%; color: #A9B5AB; stroke-width: 1.2; }
.ccard-flag { position: absolute; top: 8px; left: 8px; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.ccard-flag.is-out { background: var(--paper); color: var(--slate); border: 1px solid var(--line); }
.ccard-name { margin-top: var(--s3); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ccard a:hover .ccard-name { color: var(--forest-dark); }
.ccard-price { margin-top: 6px; font-family: var(--display); font-size: var(--fs-lg); font-weight: 700; color: var(--forest-dark); }
.ccard-price s { font-family: var(--text); font-size: var(--fs-xs); font-weight: 400; color: var(--muted); margin-left: 4px; }
.crow-btn { position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(23, 32, 26, .12); z-index: 2; }
.crow-btn.is-prev { left: -14px; }
.crow-btn.is-next { right: -14px; }
.crow-btn[hidden] { display: none; }
.crow-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.crow-btn:focus-visible { outline: none; box-shadow: var(--focus); }
@media (max-width: 1000px) {
  .crow-box { grid-template-columns: 1fr; gap: var(--s4); }
  .crow-lead { min-height: 0; flex-direction: row; align-items: center; gap: var(--s4); padding: var(--s4); }
  .crow-lead.has-pic { min-height: 140px; }
  .crow-icon { width: 52px; height: 52px; flex: none; } .crow-icon .cat-icon { width: 34px; height: 34px; }
  .crow-text { flex: 1; } .crow-text h2 { font-size: var(--fs-xl); }
  .crow-all { margin-top: 0; align-self: center; }
  .crow-track { grid-auto-columns: calc((100% - 2 * var(--s4)) / 3); }
}
@media (max-width: 560px) {
  .crow-box { padding: 10px; border-radius: 16px; }
  .crow-track { grid-auto-columns: 46%; gap: 10px; }
  .crow-btn { display: none; }
  .ccard-name { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) { .crow-lead img, .ccard-media img, .mbrand img { transition: none; } .crow-lead:hover img, .ccard a:hover .ccard-media img { transform: none; } }
.brand-strip-title { font-size: var(--fs-2xl); }

/* ---------- home slider ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide { grid-area: 1 / 1; position: relative; display: grid; min-height: clamp(380px, 64vh, 640px); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.hero-slide.is-current { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.hero-slide.is-broken .hero-media { display: none; }
.hero-media { grid-area: 1 / 1; display: block; }
.hero-media img { width: 100%; height: 100%; display: block; }

/* full photo: fills the slide; a soft shade only where the words sit */
.hero-slide.is-photo .hero-media img { object-fit: cover; }
.hero-slide.is-photo.has-copy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 16, .72) 0%, rgba(14, 20, 16, .35) 45%, rgba(14, 20, 16, 0) 70%); pointer-events: none; }
.hero-slide.is-current .hero-media img { animation: cn-hero-drift 9s ease-out both; }
@keyframes cn-hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* bike on a dark stage: cut-out PNG, model name written large behind it */
.hero-slide.is-stage { background: radial-gradient(60% 55% at 50% 58%, #2C3A31 0%, #18211B 55%, #121914 100%); }
.hero-slide.is-stage .hero-media { place-self: center; width: min(78%, 980px); height: 82%; padding-top: 4%; position: relative; z-index: 1; }
.hero-slide.is-stage .hero-media img { object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); }
.hero-slide.is-stage.is-current .hero-media img { animation: cn-hero-roll 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cn-hero-roll { from { transform: translateX(8%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-slide.is-stage.has-copy .hero-media { justify-self: end; width: min(60%, 860px); margin-right: max(20px, calc((100vw - var(--wrap)) / 2)); }
.hero-slide.is-stage.has-copy .hero-model { left: auto; right: max(20px, calc((100vw - var(--wrap)) / 2)); width: min(60%, 860px); }
.hero-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(90px, 19vw, 320px); line-height: .8; letter-spacing: -.02em; color: rgba(255, 255, 255, .055); white-space: nowrap; pointer-events: none; }
.hero-model { position: absolute; top: 6%; left: 0; right: 0; text-align: center; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 56px); letter-spacing: .01em; z-index: 2; }

.hero-copy { position: absolute; left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 96px; z-index: 2; max-width: min(560px, 80vw); }
.hero:not(.has-many) .hero-copy { bottom: 48px; }
.hero-copy h2 { color: #fff; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 84px); line-height: .92; letter-spacing: -.01em; }
.hero-copy p { color: #D5DED7; font-size: var(--fs-lg); margin-top: var(--s3); max-width: 44ch; line-height: 1.45; }
.hero-copy .btn { margin-top: var(--s4); }
.hero-slide.is-current .hero-copy > * { animation: cn-hero-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-current .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-current .hero-copy > :nth-child(3) { animation-delay: .16s; }
@keyframes cn-hero-up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--reflector); border-color: var(--reflector); color: var(--ink); }
.hero-hit { position: absolute; inset: 0; z-index: 2; }

/* slide picker: little cards with a thumbnail and a progress line */
.hero-bar { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; pointer-events: none; }
.hero-bar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: var(--s3); }
.hero-tabs { list-style: none; margin: 0; padding: 6px; display: flex; gap: 6px; background: rgba(14, 20, 16, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 16px; pointer-events: auto; }
.hero-tabs button { position: relative; display: flex; align-items: center; gap: 10px; width: 196px; padding: 6px 12px 10px 6px; border: 0; border-radius: 11px; background: transparent; color: #C8D2CA; font: inherit; font-size: var(--fs-xs); text-align: left; cursor: pointer; }
.hero-tabs button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hero-tabs button[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-tabs img { width: 52px; height: 40px; object-fit: cover; border-radius: 7px; flex: none; background: #2C3A31; }
.hero-tab-text { min-width: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-tab-text b { display: block; font-family: var(--display); font-size: 15px; color: #fff; }
.hero-progress { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.hero-progress i { display: block; height: 100%; width: 0; background: var(--reflector); }
.hero-tabs button[aria-current="true"] .hero-progress i { width: 100%; }
.hero.is-ticking .hero-tabs button[aria-current="true"] .hero-progress i { width: 0; animation: cn-hero-fill var(--hero-dur, 6000ms) linear forwards; }
.hero.is-held .hero-tabs button[aria-current="true"] .hero-progress i, .hero.is-paused .hero-tabs button[aria-current="true"] .hero-progress i { animation-play-state: paused; }
@keyframes cn-hero-fill { from { width: 0; } to { width: 100%; } }
.hero-ctrl { display: flex; gap: 6px; pointer-events: auto; }
.hero-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(14, 20, 16, .55); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }
.hero-btn:hover { background: #fff; color: var(--ink); }
.hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-btn .i-play { display: none; }
.hero.is-paused .hero-btn .i-play { display: block; }
.hero.is-paused .hero-btn .i-pause { display: none; }

@media (max-width: 860px) {
  .hero-slide { min-height: 0; grid-template-rows: auto auto; }
  .hero-slide.has-copy .hero-copy { position: static; grid-row: 2; padding: var(--s4) 20px 60px; max-width: none; }
  .hero-slide.is-photo.has-copy::after { display: none; }
  .hero-slide.is-photo.has-copy { background: var(--ink); }
  .hero-slide.is-stage.has-copy .hero-media, .hero-slide.is-stage .hero-media { justify-self: center; width: 92%; height: 240px; margin: 48px 0 0; }
  .hero-slide.is-stage.has-copy .hero-model, .hero-model { left: 0; right: 0; width: auto; top: 14px; font-size: 26px; }
  .hero-word { top: 140px; font-size: 120px; }
  .hero-copy h2 { font-size: 38px; }
  .hero-slide.is-photo .hero-media { aspect-ratio: 4 / 3; }
  .hero-slide.is-stage:not(.has-copy) { min-height: 320px; }
  .hero-copy p { font-size: var(--fs-md); }
  .hero-bar { bottom: 10px; }
  .hero-bar .wrap { justify-content: space-between; }
  .hero-tabs { background: transparent; backdrop-filter: none; padding: 0; gap: 6px; flex: 1; }
  .hero-tabs li { flex: 1; max-width: 60px; }
  .hero-tabs button { width: 100%; height: 24px; padding: 0; background: transparent !important; }
  .hero-tabs img, .hero-tab-text { display: none; }
  .hero-progress { left: 0; right: 0; bottom: 10px; height: 3px; }
  .hero-btn { width: 36px; height: 36px; }
  .hero-ctrl [data-step] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-current { transition: none; }
  .hero-slide.is-current .hero-media img, .hero-slide.is-current .hero-copy > * { animation: none; }
}

/* ---------- product overlay: See details + Compare ---------- */
.pover { position: absolute; z-index: 3; left: 50%; transform: translate(-50%, 6px); display: flex; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
/* sits on the bottom edge of the photo: the tiles are containers so the photo height is known */
.tile, .ptag { container-type: inline-size; }
.tile .pover { top: calc(100cqw - 60px); }      /* square photo inside 6px padding */
.ptag .pover { top: calc(75cqw - 50px); }       /* 4:3 photo */
.pover-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .96); color: var(--ink); font: inherit; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; text-decoration: none !important; box-shadow: 0 4px 12px rgba(23, 32, 26, .12); }
.pover-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pover-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.pover-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pover [data-compare] { display: none; }
.js .pover [data-compare] { display: inline-flex; }
.tile:hover .pover, .tile:focus-within .pover, .ptag:hover .pover, .ptag:focus-within .pover { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (hover: none) { .pover { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .pover-btn { min-height: 32px; padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .pover { transition: none; } }

/* ---------- one-click cart feedback ---------- */
.cart-count.bump { animation: cn-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cn-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
form.is-adding [type=submit] { opacity: .65; cursor: progress; }
.tile-add.is-added button, .ptag-add.is-added .btn, .buy-form.is-added [type=submit]:not([data-buy-now]) { background: var(--forest); border-color: var(--forest); color: #fff; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 12px; width: min(460px, calc(100vw - 32px)); padding: 10px 10px 10px 12px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(23, 32, 26, .3); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }
.toast.is-error { background: #5B1C16; }
.toast img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.toast-text { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: var(--fs-sm); }
.toast-text span { color: #C9D2CB; font-size: var(--fs-xs); }
.toast .btn { flex: none; }
.toast-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #C9D2CB; display: grid; place-items: center; cursor: pointer; }
.toast-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-on { transition: none; } .cart-count.bump { animation: none; } }

/* ---------- compare tray + page ---------- */
.cmp-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(23, 32, 26, .08); }
.cmp-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-top: 10px; padding-bottom: 10px; }
.cmp-bar-text { min-width: 0; display: grid; font-size: var(--fs-sm); }
.cmp-bar-text .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); }
.cmp-bar-actions { display: flex; gap: 8px; flex: none; }
.cmp-bar .is-disabled { opacity: .5; }
.cmp-bar:not([hidden]) ~ .to-top, body:has(.cmp-bar:not([hidden])) .whatsapp, body:has(.cmp-bar:not([hidden])) .to-top { bottom: 82px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.cmp { width: 100%; border-collapse: collapse; min-width: calc(180px + var(--cols) * 220px); table-layout: fixed; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--fs-sm); }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp-label { width: 180px; color: var(--muted); font-weight: 600; background: var(--mist); position: sticky; left: 0; z-index: 1; }
.cmp-head { position: relative; display: grid; gap: 8px; }
.cmp-img { display: grid; place-items: center; aspect-ratio: 4 / 3; max-height: 220px; width: 100%; background: #F3F4EF; border-radius: 10px; overflow: hidden; }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; }
.cmp-img .placeholder { width: 46%; color: #A9B5AB; }
.cmp-name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.cmp-remove { position: absolute; top: 6px; right: 6px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--slate); }
.cmp-remove:hover { background: var(--danger-50); color: var(--danger); }
.cmp-price { font-family: var(--display); font-size: var(--fs-xl); }
.cmp-tag { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--forest-dark); font-weight: 600; }
.cmp-desc { white-space: pre-line; color: var(--slate); }
.status-warn { background: var(--reflector-50); color: #6B5200; border-color: #EBD48A; }

/* ---------- slider: calmer height, and the "words left, bike right" look ---------- */
.hero-slide { min-height: clamp(340px, 52vh, 500px); }
.hero-slide.is-stage .hero-media { height: 78%; }
.hero-slide.is-split { background: var(--mist); color: var(--ink); grid-template-columns: minmax(0, 1fr); }
.hero-slide.is-split .hero-media { position: relative; z-index: 1; justify-self: end; align-self: center; width: min(52%, 640px); height: 86%; margin-right: max(20px, calc((100vw - var(--wrap)) / 2)); }
.hero-slide.is-split .hero-media img { object-fit: contain; filter: drop-shadow(0 24px 24px rgba(23, 32, 26, .18)); }
.hero-disc { position: absolute; z-index: 0; top: 50%; right: max(20px, calc((100vw - var(--wrap)) / 2 + 2%)); width: min(44vw, 520px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--forest-100), var(--forest-50) 70%); }
.hero-disc::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(26, 107, 60, .25); }
.hero-slide.is-split .hero-copy { top: 50%; bottom: auto; transform: translateY(-50%); max-width: min(520px, 46vw); }
.hero-slide.is-split .hero-copy h2 { color: var(--ink); text-transform: none; font-size: clamp(36px, 4.6vw, 64px); line-height: .98; letter-spacing: -.015em; }
.hero-slide.is-split .hero-copy p { color: var(--slate); font-size: var(--fs-md); max-width: 46ch; }
.hero-slide.is-split.is-current .hero-media img { animation: cn-hero-roll 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 860px) {
  .hero-slide { min-height: 0; }
  .hero-slide.is-split .hero-media { justify-self: center; width: 86%; height: 230px; margin: 20px 0 0; }
  .hero-disc { top: 135px; right: 50%; transform: translate(50%, -50%); width: 230px; }
  .hero-slide.is-split .hero-copy { transform: none; max-width: none; }
  .hero-slide.is-split .hero-copy h2 { font-size: 32px; }
  .hero-slide.is-split.has-copy .hero-copy { background: var(--mist); }
}
/* the slide picker reads better on a light slide too */
.hero:has(.hero-slide.is-split.is-current) .hero-btn { background: rgba(255, 255, 255, .9); color: var(--ink); border-color: var(--line); }
.hero:has(.hero-slide.is-split.is-current) .hero-btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .hero:has(.hero-slide.is-split.is-current) .hero-progress { background: rgba(23, 32, 26, .15); } }

/* ---------- product overlay: stacked, centred, in brand colours ---------- */
.pover { flex-direction: column; align-items: stretch; gap: 8px; width: 150px; left: 50%; }
.tile .pover { top: calc(50cqw - 44px); }
.ptag .pover { top: calc(37.5cqw - 44px); }
.pover-btn { justify-content: center; min-height: 38px; font-size: var(--fs-sm); box-shadow: 0 6px 16px rgba(23, 32, 26, .16); }
.pover-btn:first-child { background: var(--forest); border-color: var(--forest); color: #fff; }
.pover-btn:first-child:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
.pover-btn[data-compare] { background: #fff; border-color: var(--forest); color: var(--forest-dark); }
.pover-btn[data-compare]:hover { background: var(--forest-50); color: var(--forest-dark); border-color: var(--forest-dark); }
.pover-btn[data-compare][aria-pressed="true"] { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
@media (hover: none) { .pover { width: 128px; } .pover-btn { min-height: 32px; font-size: var(--fs-xs); } }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: var(--fs-md); }
/* phones: no hover, so the two buttons sit small along the bottom of the photo instead of covering it */
@media (hover: none) {
  .pover { flex-direction: row; width: auto; gap: 6px; }
  .tile .pover { top: calc(100cqw - 52px); }
  .ptag .pover { top: calc(75cqw - 44px); }
  .pover-btn { min-height: 30px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 860px) {
  /* a picture-only slide fills the slider's height (slides share one height), so no empty band under it */
  .hero-slide.is-photo:not(.has-copy) .hero-media { aspect-ratio: auto; height: 100%; min-height: 260px; }
}
@media (max-width: 860px) {
  .hero-slide.is-photo:not(.has-copy) { grid-template-rows: 1fr; }
  .hero-slide.is-photo:not(.has-copy) .hero-media img { height: 100%; object-fit: cover; }
}
.hero:has(.hero-slide.is-split.is-current) .hero-tabs { background: rgba(255, 255, 255, .85); box-shadow: 0 6px 20px rgba(23, 32, 26, .1); }
.hero:has(.hero-slide.is-split.is-current) .hero-tabs button { color: var(--slate); }
.hero:has(.hero-slide.is-split.is-current) .hero-tabs button[aria-current="true"], .hero:has(.hero-slide.is-split.is-current) .hero-tabs button:hover { background: var(--forest-50); color: var(--ink); }
.hero:has(.hero-slide.is-split.is-current) .hero-tab-text b { color: var(--ink); }
.hero:has(.hero-slide.is-split.is-current) .hero-progress { background: rgba(23, 32, 26, .12); }

/* ---------- shop filters in a white panel ---------- */
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4) var(--s4) var(--s2); }
.filters h2 { margin-bottom: var(--s2); }
.filter-list { overflow-x: hidden; padding: 0 8px; margin: 0 -8px; }   /* the hover tint's negative margin no longer makes a sideways scrollbar */
.filter-list a:hover { background: var(--mist); }
.filters .side-banners { margin: 0 calc(-1 * var(--s4) + 1px); padding-left: var(--s4); padding-right: var(--s4); }
@media (max-width: 860px) { .filters { padding: var(--s3); } }

/* ---- Small screens: the burger drawer is the menu. The category strip and its
   Shop panel only cluttered the top of every page, so they hide below 861px. ---- */
@media (max-width: 860px) {
  .site-nav, #shop-menu { display: none !important; }
}
/* hover tint only where there is a real pointer; on phones it stuck after a tap */
@media (hover: none) { .header-link:hover { background: none; } }
.header-link:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ---- Contact page: details left, form right, map underneath ---- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; margin-top: var(--s5); }
.contact-info { display: grid; gap: var(--s4); padding-top: var(--s2); }
.ci-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.ci-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--forest); }
.ci-ico .icon { width: 20px; height: 20px; }
.ci-row h3 { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin: 2px 0 2px; font-family: inherit; }
.ci-row p { margin: 0; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.ci-row a { color: var(--forest-dark); font-weight: 600; }
.ci-row div > a { display: inline-block; margin-top: 4px; font-size: var(--fs-sm); }
.contact-form { padding: var(--s5); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.cf-grid .field + .field { margin-top: 0; }
.cf-wide { grid-column: 1 / -1; }
.cf-opt { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.cf-note { margin: var(--s3) 0 var(--s4); font-size: var(--fs-xs); color: var(--muted); }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .textarea { min-height: 130px; resize: vertical; }
.contact-map { margin-top: var(--s6); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: var(--s5); }
  .contact-info { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
}
@media (max-width: 560px) {
  .contact-info, .cf-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--s4); }
  .contact-map iframe { height: 280px; }
}
/* long sub-category lists stop at six in the Shop menu and drawer */
.shop-menu a.shop-menu-more, .drawer-more { color: var(--forest-dark) !important; font-weight: 600; }
/* sub-category links under the shop heading */
.page-head > div { min-width: 0; }
.subcats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.subcats a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--slate); font-size: var(--fs-sm); text-decoration: none; }
.subcats a span { color: var(--muted); font-size: var(--fs-xs); }
.subcats a:hover { border-color: var(--forest); color: var(--ink); }
.subcats a[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.subcats a[aria-current="true"] span { color: rgba(255,255,255,.8); }
@media (max-width: 600px) {
  .subcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .subcats::-webkit-scrollbar { display: none; }
  .subcats a { flex: none; }
}
/* Shop by type: dividers drawn on each tile, so a half-empty last row stays white instead of showing a grey block */
.riders { gap: 0; background: var(--paper); }
.riders a { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); margin: -1px 0 0 -1px; }   /* each tile draws its top and left line; the outer ones tuck under the frame */
.riders .rider-text strong { display: block; color: var(--ink); line-height: 1.2; }
.riders a:hover .rider-text strong { color: var(--forest-dark); }

/* Buy now sits beside Add to cart: same height, dark so the two read as different actions */
.buy-form .btn-buy-now { flex: 1; min-width: 150px; background: var(--ink); border-color: var(--ink); color: #fff; }
.buy-form .btn-buy-now:hover { background: #000; border-color: #000; color: #fff; }
@media (max-width: 520px) { .buy-form .btn-buy-now { flex-basis: 100%; } }

/* anti-bot field (partials/human-check) */
.hc-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hc-field { margin-top: var(--s4); }
.hc-field .hc-input { max-width: 140px; font-variant-numeric: tabular-nums; }
.cf-check .hc-field { margin-top: var(--s4); }

/* Shop by type: at most six, one row on wide screens; 3 + 3 on tablets, 2 x 3 on phones */
@media (min-width: 1100px) { .riders { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 561px) and (max-width: 1099px) { .riders { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* account: details and password as two panels */
.profile-stack { display: grid; gap: var(--s5); align-content: start; max-width: 600px; }
.profile-stack .page-head { margin-bottom: 0; }
.field[hidden] { display: none; }
