/* ============================================================
   QUICK PRO THAILAND — Light/Sport DTC (v3)
   White + black + acid lime #c8e000. Condensed display.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --bg-3: #efefea;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #4a4a48;
  --ink-mute: #8e8c86;
  --line: #e6e4df;
  --line-strong: #cfccc4;
  --lime: #c8e000;
  --lime-2: #d6ee2a;
  --lime-3: #a3b800;
  --black: #0a0a0a;
  --red-thai: #a51931;

  --font-display: "Bebas Neue", "Barlow Condensed", sans-serif;
  --font-display-en: "Bebas Neue", "Barlow Condensed", sans-serif; /* legacy alias */
  --font-display-th: "Bai Jamjuree", "Noto Serif Thai", sans-serif;
  --font-italic: "Instrument Serif", serif;
  --font-body: "Space Grotesk", "IBM Plex Sans Thai", system-ui, sans-serif;
  --font-body-th: "IBM Plex Sans Thai", "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 64px;
  --bar-h: 38px;

  /* Legacy aliases — map old gold/dark vars to new light/lime so older inline styles still work */
  --gold: var(--lime-3);
  --gold-2: var(--lime-2);
  --gold-3: var(--line-strong);
  --gold-soft: rgba(200, 224, 0, 0.10);
  --bg-2-alias: var(--bg-2);
  --surface: var(--bg);
  --surface-2: var(--bg-2);
}

[data-accent="champagne"] { --lime: #e7d4a3; --lime-2: #f3e6c4; --lime-3: #9a8757; }
[data-accent="ruby"] { --lime: #ff5c4d; --lime-2: #ff8a7d; --lime-3: #c83426; }
[data-display="serif"] { --font-display: "Barlow Condensed", "Bebas Neue", sans-serif; }
[data-display="condensed"] { --font-display: "Archivo Black", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Offset anchors so sticky nav doesn't hide them */
[id] { scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 24px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="th"] body { font-family: var(--font-body-th); font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-3); outline-offset: 3px; }
img { transition: opacity .3s; }
input, select, textarea { accent-color: var(--lime-3); }

/* Type */
h1,h2,h3,h4 { margin: 0; font-weight: 400; }

.h-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h-1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.h-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.0;
  letter-spacing: 0;
  text-transform: uppercase;
}
.h-3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

html[data-lang="th"] .h-hero,
html[data-lang="th"] .h-1,
html[data-lang="th"] .h-2,
html[data-lang="th"] .h-3 {
  font-family: var(--font-display-th);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.005em;
  line-height: 1.04;
}
html[data-lang="th"] .h-hero { line-height: 0.98; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow .num { color: var(--lime-3); margin-right: 14px; font-weight: 600; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.lede {
  font-size: clamp(16px, 1.1vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-mute); }
.swash { font-family: var(--font-italic); font-style: italic; color: var(--lime-3); font-weight: 400; }
.swash-lime { font-family: var(--font-italic); font-style: italic; color: var(--lime); font-weight: 400; }

.gold, .swash { color: var(--lime-3); }
.muted { color: var(--ink-mute); }
.center { text-align: center; }
.flex { display: flex; }
.gap-sm { gap: 8px; }
.gap { gap: 18px; }
.gap-lg { gap: 32px; }
.mt-sm { margin-top: 12px; }
.mt { margin-top: 28px; }
.mt-lg { margin-top: 56px; }

/* Layout */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-tight { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}

.section-rule { height: 1px; background: var(--line); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* Lang visibility */
html[data-lang="en"] [data-th] { display: none; }
html[data-lang="th"] [data-en] { display: none; }


/* ============================================================
   COMPONENTS — Quick Pro Thailand
   ============================================================ */

/* Announcement bar (top, black, marquee) ----------------------- */
.announce {
  background: var(--ink);
  color: #ffffff;
  height: var(--bar-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.announce-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: announce-roll 38s linear infinite;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 56px;
}
.announce-track .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 999px;
  margin: 0 32px;
  vertical-align: middle;
}
.announce-track .it {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--lime);
}
@keyframes announce-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Navigation ------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo .qp-mark { width: 22px; height: 22px; display: grid; place-items: center; }
.nav-logo .qp-mark svg { width: 22px; height: 22px; }
/* Legacy text wordmark — kept as fallback */
.nav-logo .wordmark {
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-style: italic;
  transform: skewX(-9deg);
  display: inline-block;
  line-height: 1;
  color: var(--ink);
}
/* SVG logo image ---------------------------------------- */
.qp-logo-img {
  display: block;
  height: 22px;    /* nav height 64px → 22px logo is ~34% = comfortable */
  width: auto;
  flex-shrink: 0;
  /* SVG uses fill="currentColor" but <img> doesn't inherit CSS color —
     browser resolves currentColor as black (default), which is correct on white bg.
     For dark backgrounds use filter below. */
}
@media (max-width: 640px) {
  .qp-logo-img { height: 17px; }
}
/* On dark backgrounds (footer, wrt hero, dark overlays) — invert black → white */
.qp-logo-invert { filter: brightness(0) invert(1); }
.nav-logo .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: var(--lime);
  padding: 3px 7px;
  text-transform: uppercase;
  margin-left: 8px;
}

.nav-menu {
  display: flex;
  gap: 26px;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-menu a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--lime-3); }
.nav-menu a .caret {
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  padding: 2px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.lang-toggle button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  transition: all .2s;
}
.lang-toggle button.is-active { background: var(--ink); color: #ffffff; }

.nav-icons { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.nav-icons a {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  transition: color .2s;
}
.nav-icons a:hover { color: var(--lime-3); }
.nav-icons svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: var(--lime);
  color: var(--ink);
  white-space: nowrap;
  transition: all .2s;
}
.nav-cta:hover { background: var(--lime-2); }

/* Hamburger (mobile only) -------------------------------- */
.nav-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .28s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile drawer ------------------------------------------ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px var(--gutter) 28px;
  gap: 28px;
}
.mobile-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 28px;
  color: var(--ink);
  background: transparent;
}
.mobile-drawer-lang {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-lang .lang-toggle {
  align-self: flex-start;
  padding: 3px;
}
.mobile-drawer-lang .lang-toggle button { padding: 6px 16px; font-size: 11px; }
.mobile-drawer-menu {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-drawer-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 6.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  transition: color .2s;
}
.mobile-drawer-menu a:hover,
.mobile-drawer-menu a.active { color: var(--lime-3); }
.mobile-drawer-menu a em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  font-weight: 500;
}
.mobile-drawer-menu a.active em { color: var(--lime-3); }
html[data-lang="th"] .mobile-drawer-menu a {
  font-family: var(--font-display-th);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(24px, 5.4vw, 36px);
  letter-spacing: -0.005em;
}
.mobile-drawer-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.mobile-drawer-cta { justify-content: center; width: 100%; }
.mobile-drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mobile-drawer-meta .dot-sep { color: var(--lime-3); }
body.drawer-open { overflow: hidden; }
body.drawer-open .tweaks,
body.drawer-open .tweaks-fab,
body.drawer-open .scroll-top { display: none !important; }

/* Cart icon (button) + badge ---------------------------- */
.nav-icons button {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  padding: 0;
  position: relative;
  transition: color .2s;
}
.nav-icons button:hover { color: var(--lime-3); }
.nav-icons button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.nav-cart { position: relative; }
.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  display: grid; place-items: center;
  border-radius: 999px;
  line-height: 1;
}

/* Search overlay ---------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-overlay-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px var(--gutter) 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.search-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.search-overlay-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 28px;
  color: var(--ink);
}
.search-field {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0 18px;
  border-bottom: 2px solid var(--ink);
}
.search-field svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.search-field input {
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 6px 0;
  width: 100%;
}
html[data-lang="th"] .search-field input {
  font-family: var(--font-display-th);
  font-weight: 600;
  font-size: clamp(20px, 3.4vw, 32px);
}
.search-field input::placeholder { color: var(--ink-mute); }
.search-submit {
  background: var(--lime);
  color: var(--ink);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-popular { display: flex; flex-direction: column; gap: 12px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--bg);
  transition: all .2s;
}
.search-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.search-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.search-results-col { display: flex; flex-direction: column; gap: 14px; }
.search-bike {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.search-bike:hover { border-color: var(--ink); transform: translateY(-1px); }
.search-bike-mark {
  width: 56px; height: 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.search-bike-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
}
.search-bike .muted { font-size: 12px; margin-top: 4px; }

.search-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s, padding-left .2s;
}
.search-link em {
  font-style: normal;
  color: var(--lime-3);
  font-weight: 600;
}
.search-link:hover { color: var(--lime-3); padding-left: 8px; }

/* Cart drawer ------------------------------------------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  z-index: 72;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(440px, 100vw);
  background: var(--bg);
  z-index: 73;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: -24px 0 64px rgba(0,0,0,0.12);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
}
html[data-lang="th"] .cart-drawer-title {
  font-family: var(--font-display-th);
  font-weight: 700;
  text-transform: none;
  font-size: 22px;
}
.cart-count { color: var(--ink-mute); font-family: var(--font-mono); font-size: 13px; margin-left: 6px; }
.cart-drawer-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 24px;
  color: var(--ink);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-media { aspect-ratio: 1; border-color: var(--line); }
.cart-item-media .silhouette { opacity: 0.5; }
.cart-item-media .silhouette svg { width: 80%; }
.cart-item-body { display: flex; flex-direction: column; gap: 8px; }
.cart-item-head { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.05;
}
.cart-item-meta { font-size: 12px; margin-top: 4px; }
.cart-item-remove {
  width: 22px; height: 22px;
  font-size: 18px;
  color: var(--ink-mute);
  display: grid; place-items: center;
  margin-top: -2px;
  transition: color .2s;
}
.cart-item-remove:hover { color: var(--ink); }
.cart-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.cart-qty {
  display: inline-flex;
  border: 1px solid var(--line-strong);
}
.cart-qty-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
}
.cart-qty-btn:hover { background: var(--bg-2); }
.cart-qty-val {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}
.cart-item-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 40px 24px;
  text-align: center;
}
.cart-drawer-empty p { font-size: 14px; max-width: 30ch; }

.cart-drawer-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.cart-promo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.cart-promo input {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.cart-promo input:focus { border-color: var(--ink); }
.cart-promo button {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.cart-promo button:hover { background: var(--ink); color: #fff; }
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-2);
}
.cart-line strong { color: var(--ink); font-weight: 600; }
.cart-note { font-size: 11.5px; letter-spacing: 0.02em; }
.cart-checkout-btn, .cart-view-btn { width: 100%; justify-content: center; }

.cart-drawer-empty[hidden],
.cart-drawer-foot[hidden],
.cart-drawer-items[hidden] { display: none; }

@media (max-width: 640px) {
  .search-results { grid-template-columns: 1fr; gap: 24px; }
  .search-overlay-inner { padding: 20px var(--gutter) 50px; gap: 22px; }
}

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.btn-lime:hover { background: var(--lime-2); border-color: var(--lime-2); transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #ffffff; }
.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.btn-gold { /* alias for compat — uses lime now */
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.btn-gold:hover { background: var(--lime-2); border-color: var(--lime-2); }
.btn .arrow {
  width: 16px; height: 1px; background: currentColor; position: relative;
  transition: width .3s;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 24px; }

/* Promo strip marquee (between hero and content) -------------- */
.promo-strip {
  background: var(--ink);
  color: #ffffff;
  overflow: hidden;
  padding: 22px 0;
}
.promo-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: announce-roll 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  padding-left: 56px;
}
html[data-lang="th"] .promo-track {
  font-family: var(--font-display-th);
  font-weight: 700;
  text-transform: none;
}
.promo-track .it {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--lime);
  text-transform: none;
  letter-spacing: 0;
}
.promo-track .dot {
  display: inline-block;
  width: 16px; height: 16px;
  background: var(--lime);
  border-radius: 999px;
  margin: 0 32px;
  align-self: center;
}

/* Forms ----------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 12px 0;
  font: inherit;
  font-size: 15px;
  transition: border-color .2s;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime-3); }
.field textarea { resize: vertical; }

/* Card / list placeholders ---------------------------------- */
.bike-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.022) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg-3) 60%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background .3s;
}
a .bike-ph:hover, .product:hover .bike-ph {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.022) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--bg-3) 0%, rgba(200,224,0,0.06) 60%, var(--bg-3) 100%);
}
.bike-ph .label {
  position: absolute;
  bottom: 16px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bike-ph .label::before { content: "—— "; color: var(--lime-3); }
.bike-ph .corner {
  position: absolute;
  width: 20px; height: 20px;
  border: 1px solid var(--ink);
  opacity: 0.3;
}
.bike-ph .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.bike-ph .corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bike-ph .corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.bike-ph .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.bike-ph .silhouette {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.55;
  color: var(--ink-2);
}
.bike-ph .silhouette svg { width: 64%; height: auto; }

/* Photo placeholder (full-bleed action) */
.photo-ph {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(95deg,
      rgba(0,0,0,0.03) 0 1px,
      transparent 1px 6px,
      rgba(0,0,0,0.015) 6px 7px,
      transparent 7px 18px
    ),
    radial-gradient(ellipse at 30% 60%, rgba(200, 224, 0, 0.16), transparent 60%),
    radial-gradient(ellipse at 75% 35%, rgba(0,0,0,0.04), transparent 60%),
    linear-gradient(105deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
  overflow: hidden;
}
.photo-ph .label {
  position: absolute;
  bottom: 22px; left: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 4;
}
.photo-ph .label::before { content: "—— "; color: var(--lime-3); }
.photo-ph .corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--ink);
  opacity: 0.5;
  z-index: 3;
}
.photo-ph .corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.photo-ph .corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.photo-ph .corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.photo-ph .corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.photo-ph .blur-rider {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0.22;
  color: var(--ink);
}
.photo-ph .blur-rider svg { width: 60%; height: auto; }

/* Footer ---------------------------------------------------- */
.footer {
  margin-top: 100px;
  background: var(--ink);
  color: #c5c5c2;
  padding: 70px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid #222;
}
.footer .nav-logo .wordmark { color: #ffffff; }
.footer .nav-logo .tag { background: var(--lime); color: var(--ink); }
.footer .nav-logo .qp-logo-img { filter: brightness(0) invert(1); }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #88857c;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: #c5c5c2; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #88857c;
}
.footer-bottom .social { display: flex; gap: 14px; }
.footer-bottom .social a {
  width: 28px; height: 28px;
  border: 1px solid #2a2a2a;
  display: grid; place-items: center;
  font-size: 13px;
}
.footer-bottom .social a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.footer-thai-mark { display: flex; gap: 12px; align-items: center; color: var(--lime); font-family: var(--font-italic); font-style: italic; font-size: 14px; text-transform: none; letter-spacing: 0; }

/* Newsletter inline */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 460px;
  margin-top: 18px;
}
.footer-newsletter input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #2a2a2a;
  color: #ffffff;
  padding: 10px 0;
  font: inherit;
  font-size: 14px;
}
.footer-newsletter input::placeholder { color: #5a5a55; }
.footer-newsletter button {
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Tweaks panel ---------------------------------------------- */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  padding: 20px 22px 16px;
  width: 290px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16);
}
.tweaks h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
}
.tweaks h6 .close { color: var(--ink-mute); cursor: pointer; font-size: 16px; }
.tweaks .row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tweaks .row > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.tweaks .seg { display: flex; border: 1px solid var(--line-strong); }
.tweaks .seg button {
  flex: 1;
  padding: 8px 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-right: 1px solid var(--line-strong);
}
.tweaks .seg button:last-child { border-right: 0; }
.tweaks .seg button.is-active { background: var(--ink); color: #ffffff; }

.tweaks-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  font-size: 16px;
  transition: transform .25s;
}
.tweaks-fab:hover { transform: rotate(45deg); }

/* Scroll-to-top -------------------------------- */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 92px;
  z-index: 90;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Card lift — shared utility */
.lift { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

/* Section divider with accent pip */
.section-pip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
}
.section-pip::before {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-pip::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 999px;
}

/* Pill / chip component */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg);
  transition: all .2s;
}
.chip:hover, .chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Kanok — decorative section ornament */
.kanok {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.kanok::before,
.kanok::after {
  content: "";
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--lime-3));
}
.kanok::after { transform: scaleX(-1); }
.kanok-mark {
  display: block;
  width: 8px; height: 8px;
  background: var(--lime);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Page head (inner pages) */
.page-head { padding: 64px 0 52px; border-bottom: 1px solid var(--line); }
.page-head-crumbs {
  color: var(--ink-mute);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-head-crumbs a { color: var(--ink-mute); transition: color .2s; }
.page-head-crumbs a:hover { color: var(--lime-3); }
.page-head-crumbs span { opacity: 0.4; }
.page-head-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }

/* ============================================================
   VISUAL POLISH — v4 (สวยงาม ทรงคุณค่า)
   ============================================================ */

/* ── Scroll progress bar ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-2) 100%);
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Custom scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime-3); }

/* ── Nav link animated underline ─────────────────────────── */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width .28s cubic-bezier(.4,0,.2,1);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a:hover { color: var(--ink); }

/* ── btn-lime shimmer ────────────────────────────────────── */
.btn-lime {
  position: relative;
  overflow: hidden;
}
.btn-lime::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-lime:hover::before { left: 150%; }
.btn-lime:active { transform: translateY(1px) !important; }

/* ── btn press state ──────────────────────────────────────── */
.btn { user-select: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost:active, .btn-dark:active { transform: translateY(1px); }

/* ── Product / bike card hover lift ─────────────────────────*/
.product, .build-card, .news-card {
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.product:hover, .build-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

/* lime top-accent on hover */
.product { border-top: 2px solid transparent; transition: border-color .28s, transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1); }
.product:hover { border-top-color: var(--lime); }

/* ── Bike placeholder image zoom ─────────────────────────── */
.product .bike-ph, .build-card .bike-ph {
  overflow: hidden;
}
.product .bike-ph .silhouette,
.build-card .bike-ph .silhouette {
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.product:hover .bike-ph .silhouette,
.build-card:hover .bike-ph .silhouette {
  transform: scale(1.06) translateY(-2px);
  opacity: 0.72;
}

/* ── Form input focus glow ──────────────────────────────────*/
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime-3);
  box-shadow: 0 2px 0 0 var(--lime);
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
}

/* ── Stat cards ──────────────────────────────────────────── */
.stat-card {
  transition: border-color .25s, box-shadow .25s;
  border-bottom: 2px solid transparent;
}
.stat-card:hover {
  border-bottom-color: var(--lime);
  box-shadow: 0 4px 20px rgba(200,224,0,0.12);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
html[data-lang="th"] .stat-num {
  font-family: var(--font-display-th);
  font-weight: 700;
}

/* ── Reveal animations — stagger ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }

/* ── Hero gradient overlay ───────────────────────────────── */
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.72) 0%,
    rgba(10,10,10,0.48) 50%,
    transparent 100%
  );
}

/* ── Section decorative number ──────────────────────────── */
.section-deco-num {
  position: absolute;
  top: -0.12em; right: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  color: var(--bg-3);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Footer grain texture ────────────────────────────────── */
.footer {
  position: relative;
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

/* ── Skeleton loading ────────────────────────────────────── */
@keyframes sk-pulse {
  0%, 100% { opacity: .18; }
  50%       { opacity: .42; }
}
.sk-pulse {
  background: var(--bg-3);
  animation: sk-pulse 1.5s ease-in-out infinite;
  border-radius: 2px;
}
.sk-line { height: 14px; margin-bottom: 8px; }
.sk-line.wide { width: 80%; }
.sk-line.mid  { width: 55%; }
.sk-line.short{ width: 35%; }

/* ── Image zoom inside cards ─────────────────────────────── */
.img-zoom-wrap { overflow: hidden; }
.img-zoom-wrap img {
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.img-zoom-wrap:hover img { transform: scale(1.04); }

/* ── Hotspot hover ───────────────────────────────────────── */
.hotspot .hs-dot {
  transition: background .2s, color .2s, transform .2s;
}
.hotspot:hover .hs-dot {
  background: var(--lime) !important;
  color: var(--ink) !important;
  transform: scale(1.15);
}

/* ── Search overlay animated open ───────────────────────── */
.search-overlay-inner {
  transform: translateY(-16px);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.search-overlay.is-open .search-overlay-inner {
  transform: translateY(0);
}

/* ── Mobile drawer slide ─────────────────────────────────── */
.mobile-drawer {
  transform: translateX(-100%);
  opacity: 1 !important;
  transition: transform .38s cubic-bezier(.2,.8,.2,1) !important;
}
.mobile-drawer.is-open { transform: translateX(0); }

/* ── Scroll-to-top button ────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  font-size: 18px;
  z-index: 80;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--lime); color: var(--ink); }

/* ── Tweaks FAB ──────────────────────────────────────────── */
.tweaks-fab {
  position: fixed;
  bottom: 76px; right: 24px;
  width: 40px; height: 40px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  display: grid; place-items: center;
  z-index: 79;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tweaks-fab:hover { background: var(--lime); border-color: var(--lime); }

/* ── Kanok divider ────────────────────────────────────────── */
.kanok {
  display: flex;
  align-items: center;
  gap: 16px;
}
.kanok::before, .kanok::after {
  transition: width .5s cubic-bezier(.2,.8,.2,1);
}

/* ── News card image zoom ─────────────────────────────────── */
.news-card .news-img,
.news-card .photo-ph {
  overflow: hidden;
}
.news-card:hover .news-img img,
.news-card:hover .photo-ph .blur-rider {
  transform: scale(1.04);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

/* ── Hero slide transition ────────────────────────────────── */
.hero-slide {
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-slide:not(.is-active) { transform: scale(1.015); }

/* ── Dealer card / list item ─────────────────────────────── */
.dealer-row, .dlr-row {
  transition: background .18s, padding-left .18s;
}
.dealer-row:hover, .dlr-row:hover {
  background: var(--bg-2);
  padding-left: 12px !important;
}

/* ── Table row ──────────────────────────────────────────────*/
.table tr { transition: background .15s; }
.table tbody tr:hover td { background: rgba(200,224,0,0.04); }

/* ── Page enter animation from site.js ──────────────────── */
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── Focus ring (accessibility) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ── Selection color ─────────────────────────────────────── */
::selection { background: var(--lime); color: var(--ink); }

/* ── Smooth image load ──────────────────────────────────── */
img {
  transition: opacity .4s ease;
}
img[loading] { opacity: 0; }
img.loaded, img:not([loading]) { opacity: 1; }

/* Responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav .lang-toggle,
  .nav #nav-search-btn,
  .nav .nav-icons a[aria-label="Account"],
  .nav .nav-cta { display: none; }
  .nav-right { gap: 10px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }
  .page-head-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
