:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #2a2a2a;
  --text: #f5f5f0;
  --muted: #9a9a95;
  --accent: #ff3d1f;
  --accent-2: #ffb800;
  --font-display: 'Archivo Black', 'Heebo', sans-serif;
  --font-body: 'Inter', 'Heebo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body.geo-pending > * { visibility: hidden; }

html[dir="rtl"] body { font-family: 'Heebo', var(--font-body); }
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .story-title,
html[dir="rtl"] .logo { font-family: 'Heebo', var(--font-display); font-weight: 800; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff5c3d; transform: translateY(-2px); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }

.section-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Announcement bar */
.announce-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  unicode-bidi: isolate;
}
.logo-icon { height: 32.5px; width: auto; display: block; }
.logo-dot { color: var(--accent); }
.logo-g { color: var(--accent); }
.modal-specs-note { margin-top: 12px; font-size: 0.8rem; opacity: 0.6; line-height: 1.5; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 24px); margin-inline-start: 12px; }
.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); }
.nav-sale { color: var(--accent); }
.nav-sale:hover { color: var(--accent-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-inline-end: 4px;
}
.lang-btn {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.lang-btn.active { background: var(--accent); color: #fff; }

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
}
.icon-btn:hover { background: var(--surface); }
.icon-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.cart-count {
  position: absolute;
  top: 0; inset-inline-end: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-bottom: 1px solid transparent;
}
.search-bar.open { max-height: 70px; border-color: var(--border); }
.search-bar input {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: block;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  padding: 16px 24px;
  outline: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background:
    radial-gradient(ellipse at 50% 15%, #ff6a45, transparent 60%),
    linear-gradient(155deg, #ff4c28 0%, #e8290e 65%, #c21f09 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 40px);
  pointer-events: none;
  z-index: 1;
}
.hero-helmets { position: absolute; inset: 0; z-index: 0; }
.hero-helmet {
  position: absolute;
  width: clamp(160px, 20vw, 300px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.35));
}
.hh-1 { top: -6%; inset-inline-start: -4%; transform: rotate(-16deg); }
.hh-2 { top: -8%; inset-inline-end: -3%; width: clamp(170px, 22vw, 320px); transform: rotate(13deg); }
.hh-3 { bottom: -10%; inset-inline-start: 2%; width: clamp(150px, 18vw, 270px); transform: rotate(11deg); }
.hh-4 { bottom: -12%; inset-inline-end: 4%; transform: rotate(-9deg); }
.hh-5 { top: 44%; inset-inline-end: 6%; width: clamp(110px, 12vw, 190px); transform: rotate(9deg); opacity: 0.92; display: none; }
@media (min-width: 1160px) {
  .hh-5 { display: block; }
}
.hero-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.45), rgba(10,10,10,0.15) 70%, transparent 100%);
}
.hero-kicker {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.hero-sub {
  color: #fff;
  opacity: 0.92;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero .btn-primary {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.hero .btn-primary:hover { background: #0a0a0a; color: #fff; transform: translateY(-2px); }

@media (max-width: 760px) {
  .hero-helmet { width: clamp(110px, 34vw, 170px); }
  .hh-3, .hh-5 { display: none; }
  .hh-1 { top: -4%; inset-inline-start: -10%; }
  .hh-2 { top: -4%; inset-inline-end: -10%; }
  .hh-4 { bottom: -6%; inset-inline-end: -8%; opacity: 0.85; }
  .hero-content { padding: 24px 18px; }
}

/* Promo banner */
.promo-banner {
  display: block;
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.promo-banner img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.promo-banner:hover img { transform: scale(1.01); opacity: 0.92; }
html[dir="rtl"] .promo-banner { display: none; }

/* Shop section */
.shop-section { max-width: 1400px; margin: 0 auto; padding: 80px 24px 40px; }
.section-head { text-align: center; margin-bottom: 32px; }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--accent); color: var(--text); }
.filter-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: #3a3a3a; }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px; inset-inline-start: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}
.product-badge.badge-new { background: #1f8bff; }

.quick-add-btn {
  position: absolute;
  bottom: 10px; inset-inline-end: 10px; inset-inline-start: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.product-card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }

.product-info { padding: 14px 16px 18px; }
.product-category { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 0.98rem; margin-bottom: 6px; }
.product-price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 0.85rem; }

/* Story section */
.story-section { padding: 100px 24px; border-top: 1px solid var(--border); }
.story-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-media {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,61,31,0.35), transparent 60%),
    linear-gradient(135deg, #1c1c1c, #0a0a0a);
  border: 1px solid var(--border);
  overflow: hidden;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; margin-bottom: 18px; line-height: 1.15; }
.story-body { color: var(--muted); margin-bottom: 28px; max-width: 480px; }

.feature-blocks {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-block { text-align: center; padding: 0 12px; }
.feature-icon { color: var(--accent); font-size: 1.6rem; margin-bottom: 14px; }
.feature-block h3 { font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.feature-block p { color: var(--muted); font-size: 0.88rem; }

/* Gallery */
.gallery-section { padding: 80px 24px; text-align: center; border-top: 1px solid var(--border); }
.gallery-sub { color: var(--muted); margin: 10px 0 40px; }
.gallery-strip {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.gallery-strip img { aspect-ratio: 1/1; object-fit: cover; }

/* Newsletter */
.newsletter-section {
  text-align: center;
  padding: 90px 24px;
  background: linear-gradient(160deg, #161616, #0a0a0a);
  border-top: 1px solid var(--border);
}
.newsletter-section h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); text-transform: uppercase; margin-bottom: 12px; }
.newsletter-section p { color: var(--muted); margin-bottom: 28px; }
.newsletter-form { display: flex; justify-content: center; gap: 0; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-end: none;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  border-radius: 2px 0 0 2px;
}
html[dir="rtl"] .newsletter-form input { border-radius: 0 2px 2px 0; }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 0 2px 2px 0;
}
html[dir="rtl"] .newsletter-form button { border-radius: 2px 0 0 2px; }
.newsletter-status { margin-top: 14px; font-size: 0.85rem; min-height: 1.2em; }
.newsletter-status.success { color: var(--good, #2fbf71); }
.newsletter-status.error { color: var(--accent); }

/* Footer */
.site-footer { padding: 70px 24px 30px; border-top: 1px solid var(--border); }
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.85rem; margin-top: 16px; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 12px; color: var(--text); }
.footer-col a:hover { color: var(--accent); }

/* Cart drawer */
.cart-overlay, .modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-overlay.open, .modal-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; inset-inline-end: 0;
  height: 100%;
  width: min(400px, 90vw);
  background: var(--surface);
  border-inline-start: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
html[dir="rtl"] .cart-drawer { transform: translateX(-100%); }
.cart-drawer.open { transform: translateX(0); }
html[dir="rtl"] .cart-drawer.open { transform: translateX(0); }

.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
/* The header and footer are pinned; this is the only region that scrolls,
   so notices never eat into the space needed to actually see the products
   — on a short window they just scroll up and out of the way instead of
   permanently squeezing the item list down to nothing. */
.cart-scroll { flex: 1; overflow-y: auto; min-height: 0; }
.cart-importer-notice {
  margin: 14px 22px;
  padding: 12px 14px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-inline-start: 3px solid var(--accent-2);
  border-radius: 4px;
  color: var(--accent-2);
  font-size: 0.8rem;
  line-height: 1.5;
}
/* US-site only: customs/duties are the buyer's responsibility abroad,
   not relevant for the Israel/pickup-point checkout flow. */
html[dir="rtl"] .cart-customs-notice { display: none; }
/* Israel-site only: real single-unit used-vehicle listings, not relevant
   to the international/USD storefront. */
html:not([dir="rtl"]) .il-only { display: none; }
.cart-items { padding: 12px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: #fff; }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-weight: 700; font-size: 0.88rem; }
.cart-item-info .price { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.cart-item-remove { color: var(--accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-top: 6px; }
.cart-empty-msg { color: var(--muted); text-align: center; padding: 40px 0; }

/* Only the pay actions live here now — kept short and pinned so the
   scroll region above (items + summary) always gets the real estate. */
/* PayPal's card form expands inline inside this footer and is taller than a
   short window — let the footer shrink and scroll on its own so every field
   (and the Pay button) stays reachable. */
.cart-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--border);
  flex: 0 1 auto;
  min-height: 0;
  max-height: 88%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.cart-coupon { padding: 0 22px; margin-bottom: 16px; }
/* [hidden] is only display:none in the UA stylesheet, which any normal
   author rule (like the flex display below) silently overrides — so
   these need an explicit override to actually hide. */
.cart-coupon-form[hidden],
.cart-coupon-applied[hidden],
.cart-summary-row[hidden] {
  display: none;
}
.cart-coupon-form { display: flex; gap: 8px; }
.cart-coupon-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.85rem;
}
.cart-coupon-form button {
  padding: 10px 16px;
  background: var(--surface-2, #1a1a1a);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.cart-coupon-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(47, 191, 113, 0.1);
  border: 1px solid rgba(47, 191, 113, 0.35);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--good, #2fbf71);
  font-weight: 700;
}
.cart-coupon-applied button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.coupon-status { margin-top: 8px; font-size: 0.8rem; min-height: 1.1em; }
.coupon-status.error { color: var(--accent); }
.cart-summary { padding: 0 22px 20px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.cart-summary-row.cart-discount-row { color: var(--good, #2fbf71); }
.cart-summary-row.cart-total-row { color: var(--text); font-weight: 700; font-size: 1.05rem; padding-top: 10px; margin-top: 4px; margin-bottom: 0; border-top: 1px solid var(--border); }
.cart-checkout-btn { width: 100%; text-align: center; }
.paypal-button-container { min-height: 45px; }
.cart-note { color: var(--muted); font-size: 0.78rem; text-align: center; margin-top: 10px; }

.cart-item-addon { color: var(--accent); font-size: 0.78rem; font-weight: 600; margin-top: 4px; }
.cart-item-size { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

.modal-specs { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.modal-specs-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.modal-specs-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.modal-specs-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
}
.modal-specs-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.size-select-block { margin-bottom: 20px; }
.size-select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.size-select-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.size-guide-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.size-guide-link:hover { color: var(--accent-2); }
.size-option-group { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 46px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.15s ease;
}
.size-btn:hover { border-color: var(--accent); }
.size-btn.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.size-error-msg { color: var(--accent); font-size: 0.78rem; margin-top: 8px; display: none; }
.size-error-msg.show { display: block; }

.intercom-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 0.85rem;
}
.intercom-option input { width: 16px; height: 16px; accent-color: var(--accent); }
.intercom-option .price-tag { margin-inline-start: auto; color: var(--accent-2); font-weight: 700; }

/* Product modal */
.product-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(760px, 92vw);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 202;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  transition: all 0.25s ease;
}
.modal-overlay.open .product-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-media { background: #fff; position: relative; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media.has-note { display: flex; flex-direction: column; }
.modal-media.has-note img { flex: 1 1 auto; min-height: 0; height: auto; }
.modal-media-note { flex: none; padding: 10px 14px; background: #f1f1f1; color: #1a1a1a; font-size: 0.85rem; line-height: 1.45; text-align: center; border-top: 1px solid #e2e2e2; }
.modal-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10,10,10,0.55); color: #fff; border: none;
  font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.modal-gallery-arrow:hover { background: rgba(10,10,10,0.8); }
.modal-gallery-prev { inset-inline-start: 14px; }
.modal-gallery-next { inset-inline-end: 14px; }
.modal-gallery-dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
}
.modal-gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-gallery-dot.active { background: #fff; transform: scale(1.2); }
.modal-info { padding: 32px; position: relative; }

/* Product-page photo gallery (static pages, e.g. used-vehicle listings) */
.pdp-thumb { cursor: pointer; transition: outline 0.15s ease; outline: 2px solid transparent; outline-offset: 2px; }
.pdp-thumb.active { outline-color: var(--accent); }
.modal-close { position: absolute; top: 16px; inset-inline-end: 16px; }
.modal-category { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.modal-name { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 12px; }
.modal-price { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; display: flex; gap: 10px; align-items: baseline; }
.modal-add-btn { width: 100%; text-align: center; }

/* Upsell popup */
.upsell-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 210;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.upsell-overlay.open { opacity: 1; pointer-events: auto; }
.upsell-modal {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.2s ease;
}
.upsell-overlay.open .upsell-modal { transform: scale(1); }
.upsell-modal img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; margin: 0 auto 16px; background: #fff; }
.upsell-modal h3 { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; margin-bottom: 10px; }
.upsell-modal p { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.5; }
.upsell-actions { display: flex; flex-direction: column; gap: 10px; }
.upsell-actions .btn { width: 100%; }
.upsell-decline-btn { background: none; color: var(--muted); font-size: 0.8rem; font-weight: 600; padding: 6px; }
.upsell-decline-btn:hover { color: var(--text); }

/* Size guide lightbox */
.sizeguide-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sizeguide-overlay.open { opacity: 1; pointer-events: auto; }
.sizeguide-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.sizeguide-overlay.open .sizeguide-modal { transform: scale(1); }
.sizeguide-modal h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-inline-end: 30px;
}
.sizeguide-modal img { width: 100%; height: auto; border-radius: 6px; background: #fff; }
.sizeguide-modal p { color: var(--muted); line-height: 1.6; margin-bottom: 14px; font-size: 0.95rem; }
.sizeguide-modal .contact-email { color: var(--accent); font-weight: 700; }
.sizeguide-modal .contact-detail-label { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 18px 0 4px; }
.sizeguide-modal .contact-detail-value { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 0; }
a.contact-detail-value { color: var(--accent); font-weight: 600; }
.sizeguide-close { position: absolute; top: 14px; inset-inline-end: 14px; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .feature-blocks { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .product-modal { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 1/1; }
  .modal-media.has-note { aspect-ratio: auto; }
  .modal-media.has-note img { flex: none; aspect-ratio: 1/1; }
}

/* The header nav (11-12 links) no longer fits in one row
   below ~1320px, so use the hamburger menu there instead of letting the cart/search
   icons slide off-screen. */
@media (min-width: 721px) and (max-width: 1320px) {
  .main-nav { position: fixed; top: 89px; inset-inline-start: 0; width: 100%; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid var(--border); transform: translateY(-150%); transition: transform 0.25s ease; gap: 18px; z-index: 99; margin-inline-start: 0; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions { margin-inline-start: auto; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 89px; inset-inline-start: 0; width: 100%; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 20px 24px; border-bottom: 1px solid var(--border); transform: translateY(-150%); transition: transform 0.25s ease; gap: 18px; z-index: 99; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions { margin-inline-start: auto; gap: 6px; }
  .lang-switch { margin-inline-end: 0; }
  .hero { min-height: 60vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .header-inner { gap: 10px; padding: 14px 16px; }
  .logo { font-size: 1.4375rem; gap: 6px; }
  .logo-icon { height: 27.5px; }
  .lang-btn { padding: 6px 10px; }
  .icon-btn { width: 34px; height: 34px; }
  .account-btn { display: none; }
}

@media (max-width: 360px) {
  .search-toggle { display: none; }
}

/* Accessibility widget */
.a11y-toggle {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.a11y-toggle:hover { background: #ff5c3d; }
.a11y-toggle svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* WhatsApp contact button — Israel/Hebrew market only, same pattern as
   other dir="rtl"-scoped content (cart-customs-notice, promo-banner). */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.whatsapp-float:hover { background: #20bd5a; }
.whatsapp-float svg { width: 28px; height: 28px; }
html[dir="rtl"] .whatsapp-float { display: flex; }

.a11y-panel {
  position: fixed;
  bottom: 84px;
  inset-inline-start: 20px;
  width: min(300px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 300;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
}
.a11y-panel-header h3 { font-size: 1rem; }
.a11y-panel-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.a11y-stepper { display: flex; gap: 6px; }
.a11y-stepper button {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
}
.a11y-stepper button:hover { background: rgba(255,255,255,0.08); }
.a11y-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  text-align: start;
}
.a11y-option:hover { background: rgba(255,255,255,0.05); }
.a11y-option[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.a11y-reset {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
}
.a11y-reset:hover { color: var(--text); border-color: var(--text); }

@media (max-width: 480px) {
  .a11y-toggle { width: 46px; height: 46px; bottom: 16px; inset-inline-start: 16px; }
  .a11y-panel { bottom: 72px; inset-inline-start: 16px; }
  .whatsapp-float { width: 46px; height: 46px; bottom: 16px; inset-inline-end: 16px; }
}

/* Applied accessibility effects — scoped to #pageContent (not the fixed
   drawer/modal/widget layer) since `filter` on an ancestor of a
   position:fixed element breaks its fixed positioning on scroll. */
html.a11y-grayscale #pageContent { filter: grayscale(100%); }

html.a11y-underline-links a { text-decoration: underline !important; }

html.a11y-readable-font #pageContent {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.02em !important;
  line-height: 1.7 !important;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

html.a11y-contrast #pageContent,
html.a11y-contrast .cart-drawer,
html.a11y-contrast .product-modal,
html.a11y-contrast .upsell-modal,
html.a11y-contrast .sizeguide-modal,
html.a11y-contrast .a11y-panel {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-contrast #pageContent :is(header, footer, section, nav, .product-card, .story-media) {
  background: #000 !important;
  border-color: #fff !important;
}
html.a11y-contrast a { color: #ffd600 !important; }
html.a11y-contrast .btn,
html.a11y-contrast button {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
html.a11y-contrast .a11y-option[aria-pressed="true"] { background: #fff !important; color: #000 !important; }

/* Policy pages (e.g. shipping-returns.html) */
.policy-main { padding: 60px 24px 100px; }
.policy-content { max-width: 720px; margin: 0 auto; }
.policy-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}
.policy-back:hover { color: var(--text); }
.policy-content .section-title { margin-bottom: 36px; }
.policy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.policy-section h2 { font-size: 1.05rem; margin-bottom: 10px; }
.policy-section p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }
.policy-section a { color: var(--accent); font-weight: 600; }
.about-lead { color: var(--text); line-height: 1.7; font-size: 1.05rem; margin-bottom: 24px; }
.policy-content .btn { margin-top: 8px; }

/* Crawlable category links in the footer (real URLs for search engines) */
.footer-cats { max-width: 1400px; margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-cats a { font-size: 0.78rem; color: var(--muted); }
.footer-cats a:hover { color: var(--text); }

/* ---- Featured category: Scooters & Bikes (Hebrew site only) ---- */
.nav-scooters {
  color: #fff !important;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(255, 61, 31, 0.6);
  animation: nav-scooters-pulse 2.8s ease-out infinite;
}
.nav-scooters:hover { background: #ff5c3d; color: #fff; }
@keyframes nav-scooters-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 31, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 61, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 31, 0); }
}
.filter-tab-featured { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; }
.filter-tab-featured:hover { background: #ff5c3d; border-color: #ff5c3d; color: #fff; }
.filter-tab-featured.active { box-shadow: 0 0 0 2px var(--text); }
.cat-feature { max-width: 1160px; margin: 0 auto; padding: 36px 24px 0; }
.cat-feature-link {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 32px;
  padding: 22px 30px 22px 22px;
  background: linear-gradient(120deg, #171717 0%, #0f0f0f 100%);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-feature-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.cat-feature-link img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #000; }
.cat-feature-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.cat-feature-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; margin-bottom: 10px; }
.cat-feature-text p { color: var(--muted); max-width: 46ch; margin-bottom: 18px; line-height: 1.6; }
@media (max-width: 720px) {
  .cat-feature { padding: 24px 16px 0; }
  .cat-feature-link { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .cat-feature-link img { max-height: 280px; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) { .nav-scooters { animation: none; } }

/* ---- Cart: delivery chooser (ship vs. free self-pickup) ---- */
.cart-delivery { margin: 0 22px 16px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.cart-delivery[hidden] { display: none; }
.cart-delivery-title { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.cart-delivery-opt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; cursor: pointer; line-height: 1.4; }
.cart-delivery-opt input { accent-color: var(--accent); margin-top: 3px; flex: none; }
.cart-delivery-note { margin-top: 6px; padding: 10px 12px; font-size: 0.78rem; line-height: 1.5; color: var(--accent-2); background: rgba(255,184,0,0.1); border: 1px dashed var(--accent-2); border-radius: 6px; }
.cart-delivery-note[hidden] { display: none; }

/* ---- Accessories (Hebrew site only): Monster-green "claw" button ---- */
.nav-monster {
  display: inline-flex; align-items: center; gap: 8px;
  color: #9dff00 !important; background: #000; border: 1px solid #9dff00; border-radius: 6px;
  padding: 6px 14px; font-weight: 800; letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(157, 255, 0, 0.55);
  box-shadow: 0 0 0 0 rgba(157, 255, 0, 0.5);
  animation: nav-monster-glow 2.4s ease-out infinite;
}
.nav-monster::before {
  content: ""; flex: none; width: 15px; height: 17px;
  background: linear-gradient(105deg, transparent 0 10%, #9dff00 10% 28%, transparent 28% 40%, #9dff00 40% 58%, transparent 58% 70%, #9dff00 70% 88%, transparent 88%);
  clip-path: polygon(0 0, 100% 8%, 90% 100%, 8% 86%);
}
.nav-monster:hover { background: #9dff00; color: #000 !important; text-shadow: none; }
.nav-monster:hover::before { filter: brightness(0); }
@keyframes nav-monster-glow {
  0% { box-shadow: 0 0 0 0 rgba(157, 255, 0, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(157, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(157, 255, 0, 0); }
}
.filter-tab-monster { background: #000; border-color: #9dff00; color: #9dff00; font-weight: 800; }
.filter-tab-monster:hover { background: #9dff00; border-color: #9dff00; color: #000; }
.filter-tab-monster.active { background: #9dff00; color: #000; box-shadow: 0 0 0 2px var(--text); }
@media (prefers-reduced-motion: reduce) { .nav-monster { animation: none; } }
