/* ============================================
   bike-pages.css – Lala Agency Ko Phangan
   Shared stylesheet for all motor/scooter pages
   ============================================ */

:root {
  --orange: #E8590C;
  --orange-light: #FF6B1A;
  --bg: #f5f5f5;
  --bg-card: #ffffff;
  --bg-nav: #ffffff;
  --text: #1a1a1a;
  --text-muted: #444444;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(232,89,12,0.2);
  --hero-bg: #1a1a1a;
  --info-bg: #efefef;
  --faq-bg: #ffffff;
  --faq-border: #e0e0e0;
  --spec-bg: #f8f8f8;
}

[data-theme="dark"] {
  --bg: #111111;
  --bg-card: #1e1e1e;
  --bg-nav: #0d0d0d;
  --text: #ffffff;
  --text-muted: #cccccc;
  --border: #2e2e2e;
  --shadow: 0 2px 12px rgba(0,0,0,0.4);
  --hero-bg: #0d0d0d;
  --info-bg: #1a1a1a;
  --faq-bg: #1e1e1e;
  --faq-border: #2e2e2e;
  --spec-bg: #1a1a1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.font-large { font-size: 19px; }
html.font-xlarge { font-size: 22px; }
html.font-large .nav-logo-sub,
html.font-xlarge .nav-logo-sub { display: none; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0 16px; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text { font-size: 1rem; font-weight: 700; color: var(--orange); line-height: 1.2; }
.nav-logo-sub { font-size: 0.69rem; color: var(--text-muted); font-weight: 400; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-back {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 10px; border-radius: 20px;
  font-size: 0.81rem; font-weight: 600;
  color: var(--text); border: 1px solid var(--border);
  background: var(--bg-card); transition: all 0.2s; white-space: nowrap;
}
.nav-back:hover { border-color: var(--orange); color: var(--orange); }
.nav-back-text { display: none; }
.whatsapp-nav {
  background: #25D366; color: white; border: none;
  border-radius: 20px; padding: 7px 10px;
  font-size: 0.75rem; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.whatsapp-nav svg { flex-shrink: 0; width: 15px; height: 15px; }
.whatsapp-nav:hover { background: #128C7E; }
.settings-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 12px; cursor: pointer;
  font-size: 0.875rem; color: var(--text);
  transition: all 0.2s; display: none; align-items: center; gap: 5px;
}
.settings-btn:hover { border-color: var(--orange); }
.settings-btn-text { display: none; }

/* ---- HAMBURGER ---- */
.hamburger {
  background: none; border: none; cursor: pointer;
  padding: 6px; display: flex; flex-direction: column;
  gap: 5px; z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: all 0.3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--bg-nav); z-index: 1000;
  display: flex; flex-direction: column;
  padding: 16px; gap: 6px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto; border-top: 1px solid var(--border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a, .mobile-menu .menu-current {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--text);
  text-decoration: none; transition: background 0.2s;
  border: 1px solid var(--border);
}
.mobile-menu a:hover, .mobile-menu a:active { background: var(--info-bg); color: var(--orange); }
/* Highlighted "you are here" state - not a link, mirrors .bike-card.selected */
.mobile-menu .menu-current {
  border-color: var(--orange); background: rgba(232,89,12,0.06);
  color: var(--orange); cursor: default;
}
.mobile-menu .menu-current .menu-current-check { margin-left: auto; color: #22c55e; font-weight: 700; }
.menu-icon { font-size: 1.25rem; width: 28px; text-align: center; }
.menu-divider {
  font-size: 0.69rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); padding: 12px 16px 4px;
}
.menu-settings-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--orange);
  cursor: pointer; width: 100%; text-align: left; transition: background 0.2s;
}
.menu-settings-btn:hover { background: var(--info-bg); color: var(--orange); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 8px 16px; font-size: 0.75rem;
  color: var(--text-muted); background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ---- QUICK NAV ---- */
.quick-nav {
  background: var(--bg-nav); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  white-space: nowrap; padding: 0 12px;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav-inner { display: inline-flex; gap: 8px; padding: 10px 0; }
.quick-nav a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 20px;
  font-size: 0.81rem; font-weight: 600; color: var(--text);
  text-decoration: none; border: 1px solid var(--border);
  background: var(--bg-card); transition: all 0.2s; white-space: nowrap;
}
.quick-nav a:hover { background: var(--orange); color: white; border-color: var(--orange); }
.quick-nav a.active { background: var(--orange); color: white; border-color: var(--orange); }
[data-theme="light"] .quick-nav a.active { background: #1a1a1a; color: white; border-color: #1a1a1a; }

/* ---- HERO ---- */
.bike-hero {
  background: var(--hero-bg); color: #ffffff;
  padding: 44px 16px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.bike-hero-content { position: relative; z-index: 1; }
.bike-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,89,12,0.2);
  border: 1px solid rgba(232,89,12,0.4);
  color: #FF8C42; padding: 6px 16px; border-radius: 20px;
  font-size: 0.94rem; font-weight: 600; margin-bottom: 18px;
  white-space: nowrap;
}
.bike-hero-title {
  font-size: 1.875rem; font-weight: 800;
  color: white; line-height: 1.2; margin-bottom: 14px;
}
.bike-hero-title span { color: var(--orange-light); }
.bike-hero-sub {
  font-size: 1rem; color: #cccccc;
  max-width: 420px; margin: 0 auto; margin-bottom: 28px;
}
.hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.625rem; font-weight: 800; color: var(--orange-light); }
.hero-stat-label { font-size: 0.75rem; color: #aaaaaa; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- HERO IMAGE ---- */
.bike-hero-image {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; position: relative;
}
.bike-hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media(min-width:768px) { .bike-hero-image { aspect-ratio: 21/9; } }

/* ---- BADGES ---- */
.badges-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px; background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.badge {
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 10px; border-radius: 8px;
  display: flex; align-items: center; gap: 4px;
}
.badge-green { background: rgba(34,197,94,0.15); color: #16a34a; border: 1px solid rgba(34,197,94,0.3); }
.badge-red { background: rgba(239,68,68,0.12); color: #dc2626; border: 1px solid rgba(239,68,68,0.25); }
.badge-blue { background: rgba(59,130,246,0.12); color: #2563eb; border: 1px solid rgba(59,130,246,0.25); }
.badge-gray { background: var(--info-bg); color: var(--text); border: 1px solid var(--border); }
[data-theme="dark"] .badge-green { background: rgba(34,197,94,0.2); color: #4ade80; border-color: rgba(34,197,94,0.35); }
[data-theme="dark"] .badge-red { background: rgba(239,68,68,0.18); color: #f87171; border-color: rgba(239,68,68,0.3); }
[data-theme="dark"] .badge-blue { background: rgba(59,130,246,0.2); color: #60a5fa; border-color: rgba(59,130,246,0.35); }

/* ---- PRICE BOX ---- */
.price-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; margin: 16px; padding: 20px;
  box-shadow: var(--shadow);
}
.price-box h2 {
  font-size: 1.125rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.price-table th {
  background: var(--orange); color: white;
  padding: 10px 12px; font-size: 0.81rem; font-weight: 700; text-align: left;
}
.price-table td {
  padding: 10px 12px; font-size: 0.875rem;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--info-bg); }
.price-highlight { font-weight: 800; color: var(--orange); font-size: 1rem; }
.price-note {
  font-size: 0.875rem; color: var(--text);
  line-height: 1.6; margin-bottom: 8px; text-align: justify;
}
.price-note strong { color: var(--text); font-weight: 700; }
.extra-box {
  background: var(--info-bg); border-radius: 10px;
  padding: 14px; margin-top: 14px; border: 1px solid var(--border);
}
.extra-box h3 {
  font-size: 0.875rem; font-weight: 700; color: var(--orange);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}
.extra-box p, .extra-box li {
  font-size: 0.875rem; color: var(--text);
  line-height: 1.6; text-align: justify;
}
.extra-box ul { padding-left: 16px; }
.extra-box li { margin-bottom: 4px; }
.price-inline-img { margin: 16px -20px; overflow: hidden; }
.price-inline-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.price-photos-desktop { display: none; }
.best-price-note {
  background: rgba(232,89,12,0.1); border: 1px solid rgba(232,89,12,0.3);
  border-radius: 8px; padding: 12px 14px;
  font-size: 0.875rem; color: var(--text);
  margin-top: 14px; line-height: 1.6; text-align: justify;
}
.best-price-note strong { color: var(--orange); }

/* ---- GALLERY ---- */
.gallery-section { padding: 16px; }
.gallery-section h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 8px; cursor: pointer; transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }

/* ---- FEATURE SECTIONS ---- */
.feature-section { padding: 16px; border-bottom: 1px solid var(--border); }
.feature-section:last-of-type { border-bottom: none; }
.feature-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.feature-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.feature-section p { font-size: 0.94rem; color: var(--text); line-height: 1.8; margin-bottom: 10px; text-align: justify; }
.feature-section p:last-child { margin-bottom: 0; }

/* ---- SPECS ---- */
.specs-section {
  padding: 16px; background: var(--spec-bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.specs-section h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.spec-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; padding: 8px 0;
  border-bottom: 1px solid var(--border); gap: 10px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { font-size: 0.81rem; color: var(--text-muted); font-weight: 500; flex-shrink: 0; max-width: 50%; }
.spec-value { font-size: 0.81rem; color: var(--text); font-weight: 600; text-align: right; }

/* ---- RELATED BIKES ---- */
.related-section { padding: 16px; position: relative; }
.related-scroll-wrap { position: relative; }
.related-arrow { display: none; }
.related-title {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.related-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 8px; scroll-behavior: smooth;
}
.related-scroll::-webkit-scrollbar { display: none; }
.related-card {
  background: var(--bg-card); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0; width: 185px;
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.related-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: #2a2a2a; flex-shrink: 0; }
.related-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-img-wrap img { transform: scale(1.05); }
.related-info { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.related-name { font-size: 0.81rem; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.related-meta { font-size: 0.69rem; color: var(--text-muted); margin-bottom: 4px; }
.related-price { font-size: 0.81rem; font-weight: 700; color: var(--orange); margin-top: auto; }
.related-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 14px;
  font-size: 0.81rem; font-weight: 600; color: var(--text-muted);
}
.related-pagination span {
  cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.related-pagination span.active { background: var(--orange); color: white; }
.related-pagination span:hover { background: var(--info-bg); }
.related-pagination span.active:hover { background: var(--orange); }

/* ---- FAQ ---- */
.faq-section { padding: 16px; }
.faq-section h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.faq-item {
  background: var(--faq-bg); border: 1px solid var(--faq-border);
  border-radius: 10px; margin-bottom: 10px; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 16px; text-align: left;
  font-size: 0.94rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 10px; transition: color 0.2s;
}
.faq-question:hover { color: var(--orange); }
.faq-icon { font-size: 1.25rem; color: var(--orange); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 16px 16px; font-size: 0.94rem; color: var(--text); line-height: 1.8; }
.faq-answer-inner p { margin-bottom: 10px; text-align: justify; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { font-weight: 700; }

/* ---- CONTACT SECTION ---- */
.contact-section {
  background: var(--hero-bg); color: white;
  padding: 36px 16px; text-align: center;
}
.contact-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: white; }
.contact-section p { font-size: 1rem; color: #cccccc; margin-bottom: 24px; text-align: justify; }
.contact-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: 340px; margin: 0 auto; }
.btn-whatsapp-big {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: white; border-radius: 12px;
  padding: 18px 32px; font-size: 1.0625rem; font-weight: 700;
  width: 100%; transition: background 0.2s; text-decoration: none;
}
.btn-whatsapp-big:hover { background: #128C7E; }
.btn-faq {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #555555; border: 1px solid #666666; color: white;
  border-radius: 12px; padding: 14px 24px; font-size: 0.94rem; font-weight: 600;
  width: 100%; max-width: 340px; transition: background 0.2s; text-decoration: none;
}
.btn-faq:hover { background: #444444; }
.btn-back {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; border-radius: 12px; padding: 14px 24px;
  font-size: 0.94rem; font-weight: 600; width: 100%;
  transition: background 0.2s; text-decoration: none;
}
.btn-back:hover { background: rgba(255,255,255,0.2); }

/* ---- SETTINGS PANEL ---- */
.settings-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 2000; backdrop-filter: blur(4px);
}
.settings-overlay.open { display: flex; align-items: center; justify-content: center; }
.settings-panel {
  background: var(--bg-card); border-radius: 16px; padding: 24px;
  width: 90%; max-width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 1px solid var(--border);
}
.settings-panel h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 20px; text-align: center; }
.settings-group { margin-bottom: 20px; }
.settings-group-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 10px; }
.settings-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.settings-option {
  background: var(--info-bg); border: 2px solid var(--border);
  border-radius: 10px; padding: 12px; cursor: pointer;
  text-align: center; transition: all 0.2s;
  font-size: 0.875rem; font-weight: 600; color: var(--text);
}
.settings-option:hover { border-color: var(--orange); }
.settings-option.active { border-color: var(--orange); background: rgba(232,89,12,0.1); color: var(--orange); }
.settings-option-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.settings-close {
  width: 100%; background: var(--orange); color: white;
  border: none; border-radius: 10px; padding: 12px;
  font-size: 0.875rem; font-weight: 700; cursor: pointer;
  margin-top: 8px; transition: background 0.2s;
}
.settings-close:hover { background: var(--orange-light); }

/* ---- STICKY CTA ---- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900; padding: 12px 16px;
  background: var(--hero-bg);
  border-top: 1px solid #2a2a2a;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: white; border-radius: 12px;
  padding: 14px 24px; font-size: 1rem; font-weight: 700;
  text-decoration: none; width: 100%;
}
.sticky-cta a:hover { background: #128C7E; }

/* ---- FOOTER ---- */
footer {
  background: #0d0d0d; color: #666666;
  padding: 20px 16px; text-align: center;
  font-size: 0.81rem; border-top: 1px solid #2a2a2a;
}
footer a { color: var(--orange); }

/* ============================================
   DESKTOP – min-width: 768px
   ============================================ */
@media(min-width: 768px) {
  body { font-size: 17px; }
  html.font-large { font-size: 20px; }
  html.font-xlarge { font-size: 22px; }

  nav { padding: 0 32px; }
  .nav-back-text { display: inline; }
  .nav-back { padding: 7px 16px; font-size: 0.875rem; }
  .settings-btn { display: flex; }
  .settings-btn-text { display: inline; }
  .menu-settings-btn { display: none; }
  .whatsapp-nav { padding: 8px 16px; font-size: 0.875rem; }
  .whatsapp-nav svg { width: 18px; height: 18px; }

  .feature-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; align-items: center; padding: 24px 32px;
  }
  .feature-section.reverse { direction: rtl; }
  .feature-section.reverse > * { direction: ltr; }
  .feature-img { margin-bottom: 0; }
  .feature-section h2 { font-size: 1.5rem; }
  .feature-section p { font-size: 1rem; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .price-box { margin: 24px 32px; }
  .price-inline-img { display: none; }
  .price-photos-desktop {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; margin: 16px 0;
  }
  .price-photos-desktop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

  .gallery-section { padding: 24px 32px; }
  .specs-section { padding: 24px 32px; }
  .faq-section { padding: 24px 32px; }
  .related-section { padding: 24px 32px; }

  .related-arrow {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%; cursor: pointer; z-index: 10;
    font-size: 1rem; color: var(--text);
    transition: all 0.2s; box-shadow: var(--shadow);
  }
  .related-arrow:hover { background: var(--orange); color: white; border-color: var(--orange); }
  .related-arrow-left { left: -14px; }
  .related-arrow-right { right: -14px; }
  .related-card { width: 200px; }

  .contact-section p { text-align: center; }
}

/* ---- LIGHTBOX (base structure) ----
   Moved here from an identical inline <style> block that was duplicated
   verbatim in every bike page; the gallery nav additions below build on it. */
.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.88); z-index: 3000; align-items: center; justify-content: center; flex-direction: column; padding: 20px; cursor: pointer; }
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 75vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-name { color: white; font-size: 1.125rem; font-weight: 700; margin-top: 14px; }
.lightbox-price { color: var(--orange-light); font-size: 0.94rem; margin-top: 4px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; color: white; font-size: 1.5rem; cursor: pointer; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.bike-hero-image img, .price-photos-desktop img, .price-inline-img img, .feature-img { cursor: zoom-in; }

/* ---- LIGHTBOX GALLERY NAVIGATION ---- */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: var(--orange); border-color: var(--orange); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 1.25rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 767px) {
  .lightbox-nav { display: none; }
}

/* ---- DATE CHECKER BANNER (shared, replaces the per-page copy) ---- */
.date-checker {
  background: var(--bg-card);
  border-bottom: 2px solid var(--orange);
  padding: 14px 16px;
  position: sticky;
  top: 62px;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  overflow: hidden;
}
.date-checker-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.date-checker-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 4px;
}
.date-checker-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}
.date-checker input[type="date"] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.88rem;
  padding: 7px 6px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
  flex: 1;
  box-sizing: border-box;
}
.date-checker input[type="date"]:focus { border-color: var(--orange); }
.date-checker-sep { color: var(--text-muted); font-size: 0.81rem; flex-shrink: 0; }
.date-checker-clear {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.81rem;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: none;
  flex-shrink: 0;
}
.date-checker-clear:hover { border-color: var(--orange); color: var(--orange); }
.date-checker-error {
  display: none;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 8px 12px;
  margin-top: 6px;
  width: 100%;
}
.date-checker-error.visible { display: block; }
@keyframes idxShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.date-checker-error.shake { animation: idxShake 0.4s ease-in-out; }
@media (min-width: 768px) {
  .date-checker-label { width: auto; margin-bottom: 0; }
  .date-checker-inputs { width: auto; flex: 1; }
}
@media (max-width: 767px) {
  .date-checker { padding: 4px 12px; }
  .date-checker-inner { gap: 2px; }
  .date-checker-label { font-size: 0.81rem; padding: 0; margin-bottom: 0; }
  .date-checker input[type="date"] { font-size: 0.78rem; padding: 6px 4px; }
  .date-checker-clear { display: none !important; }
  .date-checker.compact.has-dates .date-checker-label { display: none; }
}

/* Price box scroll alignment: lands right under the sticky nav + date-checker */
#prices { scroll-margin-top: var(--bp-nav-h, 130px); }

/* ---- LIGHTBOX: mobile-only full-width image + drag-follow ("peek") carousel ---- */
@media (max-width: 767px) {
  .lightbox-img-wrap {
    position: relative;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox-img-wrap .lightbox-img {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: 75vh;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
  }
  .lightbox-img-peek {
    position: absolute !important;
    top: 0;
    left: 0;
  }
  #lightbox-img-prev { transform: translateX(-100vw); }
  #lightbox-img-next { transform: translateX(100vw); }
}
