/* ==========================================================================
   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; right: 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 { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; flex: none; }
.site-footer .brand-logo-img { width: 36px; height: 36px; background: #fff; padding: 2px; }
.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; }
.whatsapp ~ .to-top { bottom: 80px; }
.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; } }
