:root {
  --red: #e30613;
  --red-dark: #a9000b;
  --black: #080808;
  --ink: #181818;
  --muted: #686868;
  --line: #e7e7e7;
  --soft: #f6f6f6;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-subtle: #f6f6f6;
  --text: #181818;
  --heading: #080808;
  --hover-border: rgba(227, 6, 19, 0.42);
  --radius: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --card-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  color-scheme: light;
}

/* oneS F-series homepage hero */
.hero.hero-showcase {
  --hero-bg: #fffdfb;
  --hero-wall-bg: rgba(255, 249, 249, 0.82);
  --hero-wall-line: rgba(239, 0, 21, 0.3);
  --hero-wall-inner-line: rgba(239, 0, 21, 0.13);
  --hero-floor-bg: #fffefe;
  --hero-floor-line: rgba(24, 24, 27, 0.1);
  --hero-floor-shadow: rgba(52, 31, 31, 0.22);
  --hero-platform-side-top: #f5f2f1;
  --hero-platform-side-bottom: #e6e1df;
  --hero-wall-glow: rgba(239, 0, 21, 0.1);
  --hero-floor-glow: rgba(239, 0, 21, 0.16);
  --hero-contact-shadow: rgba(45, 35, 35, 0.24);
  --hero-neon-core: #ffb3ba;
  --hero-neon-hot: #fff8f8;
  --hero-neon-glow: rgba(239, 0, 21, 0.22);
  --hero-neon-bloom: rgba(239, 0, 21, 0.14);
  --hero-wall-neon-shadow: rgba(239, 0, 21, 0.1);
  --hero-soft-red: rgba(239, 0, 21, 0.045);
  --hero-brand-ghost: rgba(239, 0, 21, 0.035);
  --hero-scooter-filter: brightness(1.01) contrast(1.03) saturate(1.03);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 71px);
  grid-template-columns: minmax(520px, 0.9fr) minmax(610px, 1.1fr);
  align-items: center;
  gap: 8px;
  padding: 0 clamp(28px, 3vw, 42px) 18px;
  background:
    linear-gradient(
      148deg,
      transparent 0 58%,
      var(--hero-soft-red) 58.2% 72%,
      transparent 72.2%
    ),
    radial-gradient(ellipse at 76% 49%, var(--hero-soft-red), transparent 44%),
    var(--hero-bg);
}

:root[data-theme="dark"] .hero.hero-showcase {
  --hero-bg: #111316;
  --hero-wall-bg: rgba(35, 36, 40, 0.94);
  --hero-wall-line: rgba(255, 35, 54, 0.92);
  --hero-wall-inner-line: rgba(255, 35, 54, 0.28);
  --hero-floor-bg: #202125;
  --hero-floor-line: rgba(255, 255, 255, 0.15);
  --hero-floor-shadow: rgba(0, 0, 0, 0.7);
  --hero-platform-side-top: #1b1c20;
  --hero-platform-side-bottom: #0f1013;
  --hero-wall-glow: rgba(239, 0, 21, 0.13);
  --hero-floor-glow: rgba(239, 0, 21, 0.44);
  --hero-contact-shadow: rgba(0, 0, 0, 0.72);
  --hero-neon-core: #ff2a3e;
  --hero-neon-hot: #ffb6bd;
  --hero-neon-glow: rgba(255, 24, 49, 0.88);
  --hero-neon-bloom: rgba(239, 0, 21, 0.62);
  --hero-wall-neon-shadow: rgba(255, 35, 54, 0.42);
  --hero-soft-red: rgba(239, 0, 21, 0.075);
  --hero-brand-ghost: rgba(239, 0, 21, 0.12);
  --hero-scooter-filter: brightness(1.11) contrast(1.04) saturate(1.06);
}

.hero.hero-showcase::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -92px;
  bottom: -120px;
  width: 410px;
  height: 410px;
  border: 50px solid var(--hero-brand-ghost);
  border-radius: 28%;
  transform: rotate(-28deg);
  pointer-events: none;
}

.hero-showcase .hero-copy {
  position: relative;
  z-index: 6;
  max-width: 690px;
  min-width: 0;
  align-self: start;
  padding: clamp(118px, 16vh, 154px) 0 40px;
}

.hero-showcase .hero-copy .eyebrow {
  margin: 0 0 22px;
  color: var(--red) !important;
  font-size: 14px !important;
  line-height: 1.3;
}

.hero.hero-showcase h1 {
  max-width: 680px;
  margin: 0;
  color: var(--heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-headline-line {
  display: block;
}

.hero-headline-dot {
  color: var(--red);
}

.hero.hero-showcase .hero-description {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.hero-showcase .hero-actions {
  margin-top: 28px;
}

.hero-showcase .hero-primary-cta {
  width: auto;
  min-height: 52px;
  gap: 12px;
  padding: 0 24px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), #ff2336);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(239, 0, 21, 0.22);
}

.hero-showcase .hero-primary-cta:hover,
.hero-showcase .hero-primary-cta:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), #ff2336);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(239, 0, 21, 0.3);
}

.hero-primary-cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-product-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 760px;
  margin-left: -2%;
  align-self: stretch;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -6%;
  width: min(760px, 108%);
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.hero-scene::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 10%;
  bottom: 7%;
  width: 57%;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 66%, var(--hero-contact-shadow) 0 8%, transparent 31%),
    radial-gradient(ellipse at 78% 48%, var(--hero-contact-shadow) 0 7%, transparent 27%),
    radial-gradient(
      ellipse at 51% 58%,
      color-mix(in srgb, var(--hero-contact-shadow) 62%, transparent) 0 18%,
      transparent 68%
    );
  filter: blur(7px);
  opacity: 0.68;
  pointer-events: none;
}

.hero-stage-wall {
  position: absolute;
  z-index: -2;
  top: 7%;
  right: -6%;
  bottom: 14%;
  left: 11%;
  overflow: hidden;
  border: 1px solid var(--hero-wall-line);
  border-radius: 9.5% 14.7% 2.9% 2.9%;
  background:
    linear-gradient(135deg, var(--hero-wall-glow), transparent 46%),
    radial-gradient(circle at 73% 26%, var(--hero-wall-glow), transparent 33%),
    var(--hero-wall-bg);
  box-shadow:
    inset 0 0 60px color-mix(in srgb, var(--hero-wall-glow) 72%, transparent),
    0 0 20px var(--hero-wall-neon-shadow),
    0 28px 62px rgba(0, 0, 0, 0.11);
  transform: rotate(-4.4deg);
  transform-origin: 50% 100%;
}

.hero-stage-wall::before {
  content: "";
  position: absolute;
  inset: 3.7% 3.9% 3.7% 3.7%;
  border: 1px solid var(--hero-wall-inner-line);
  border-radius: 7.1% 11.6% 2.1% 2.1%;
}

.hero-stage-floor {
  --hero-platform-top-height: 106px;
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: 8px;
  width: 90%;
  height: 165px;
  isolation: isolate;
  filter: drop-shadow(0 28px 28px var(--hero-floor-shadow));
}

.hero-stage-floor::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-platform-top-height);
  border: 1px solid var(--hero-floor-line);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 50% 34%,
      color-mix(in srgb, var(--hero-floor-bg) 84%, white 16%),
      var(--hero-floor-bg) 74%
    ),
    var(--hero-floor-bg);
  box-shadow:
    inset 0 -12px 22px color-mix(in srgb, var(--hero-platform-side-top) 28%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.08);
}

.hero-stage-floor::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--hero-platform-top-height) / 2);
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid var(--hero-floor-line);
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 58% 58%;
  background: linear-gradient(
    180deg,
    var(--hero-platform-side-top),
    var(--hero-platform-side-bottom)
  );
  box-shadow:
    inset 0 -18px 16px -14px var(--hero-floor-glow),
    0 7px 14px color-mix(in srgb, var(--hero-floor-glow) 72%, transparent),
    0 30px 42px var(--hero-floor-shadow);
}

.hero-stage-neon {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 44%;
  border-bottom: 3px solid var(--hero-neon-core);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  filter:
    drop-shadow(0 0 2px var(--hero-neon-core))
    drop-shadow(0 0 9px var(--hero-neon-glow))
    drop-shadow(0 0 17px var(--hero-neon-bloom));
  pointer-events: none;
}

.hero-stage-neon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--hero-neon-hot);
  border-radius: inherit;
  opacity: 0.9;
}

.hero-stage-neon::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -18px;
  left: 6%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--hero-neon-bloom) 0, transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
}

.hero-scooter {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 32px 36px rgba(0, 0, 0, 0.24));
  pointer-events: none;
  user-select: none;
}

:root[data-theme="dark"] .hero-scooter {
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58));
}

@media (min-width: 1181px) and (max-width: 1279px) {
  .hero.hero-showcase h1 {
    font-size: 58px;
  }
}

@media (max-width: 1180px) {
  .hero.hero-showcase {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px clamp(18px, 3vw, 28px) 40px;
  }

  .hero-showcase .hero-copy {
    display: block;
    max-width: 760px;
    padding: 34px 0 8px;
  }

  .hero.hero-showcase h1 {
    max-width: 720px;
    font-size: 58px;
  }

  .hero.hero-showcase .hero-description {
    display: block;
    max-width: 590px;
    font-size: 17px;
  }

  .hero-product-stage {
    width: min(860px, calc(100% + clamp(36px, 6vw, 56px)));
    min-height: clamp(520px, 100vw, 650px);
    margin-left: 0;
    justify-self: center;
    overflow: hidden;
  }

  .hero-scene {
    right: auto;
    bottom: -7%;
    left: 50%;
    width: clamp(430px, 102%, 700px);
    transform: translateX(-50%);
  }

  .hero-stage-floor {
    --hero-platform-top-height: clamp(92px, 16vw, 104px);
    right: auto;
    bottom: clamp(12px, 2vw, 18px);
    left: 50%;
    width: min(94%, 740px);
    height: clamp(150px, 26vw, 200px);
    transform: translateX(-50%);
  }

  .hero-scooter {
    transform: none;
  }

  .hero-scene::after {
    right: auto;
    left: 50%;
    width: 64%;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .hero.hero-showcase {
    min-height: auto;
    gap: 4px;
    padding: 14px clamp(18px, 3vw, 28px) 32px;
  }

  .hero-showcase .hero-copy {
    display: block;
    padding-top: 26px;
  }

  .hero-showcase .hero-copy .eyebrow {
    margin-bottom: 16px;
  }

  .hero.hero-showcase h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero.hero-showcase .hero-description {
    display: block;
    max-width: 100%;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-showcase .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 24px;
  }

  .hero-showcase .hero-primary-cta {
    width: 100%;
    min-height: 56px;
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .hero.hero-showcase h1 {
    font-size: 38px;
  }

  .hero-product-stage {
    min-height: clamp(500px, 135vw, 520px);
  }
}

:root[data-theme="dark"] {
  --black: #f7f7f7;
  --ink: #ececec;
  --muted: #b9b9b9;
  --line: #303033;
  --soft: #151518;
  --white: #1d1d21;
  --surface: #111114;
  --surface-raised: #1b1b1f;
  --surface-subtle: #151518;
  --text: #ececec;
  --heading: #ffffff;
  --hover-border: rgba(227, 6, 19, 0.72);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
  --card-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

.anti-spam-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

button,
a,
input,
select,
textarea,
.product-card,
.category-card,
.coming-card,
.blog-card,
.location-card,
.part-card,
.manual-item,
.faq-item,
.hero-product,
.support-grid article,
.policy-grid article {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

main section[id] {
  scroll-margin-top: 80px;
}

.brand img,
.site-footer img {
  display: block;
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.mobile-nav a {
  padding: 10px 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.nav a:hover,
.mobile-nav a:hover {
  color: var(--red);
}

.account-active {
  color: var(--red) !important;
}

.account-menu {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  top: calc(100% + 8px);
  z-index: 35;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-menu a,
.account-menu button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--black);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.account-menu a:hover,
.account-menu button:hover {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 7%, var(--surface-raised));
}

.nav-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.nav-count[hidden] {
  display: none;
}

.hero-actions,
.contact-actions,
.compare-controls,
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn,
.icon-link,
.filter-button,
.menu-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(227, 6, 19, 0.18);
}

.btn-secondary,
.icon-link,
.filter-button {
  color: var(--black);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover,
.icon-link:hover,
.filter-button:hover,
.filter-button.active {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 7%, var(--surface-raised));
  border-color: var(--hover-border);
  transform: translateY(-1px);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface-raised);
  font-weight: 900;
  cursor: pointer;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle:hover {
  color: var(--red);
  border-color: var(--hover-border);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  padding: 0;
  color: var(--heading);
  background: var(--surface-raised);
  border-color: var(--line);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(42px, 6vw, 84px) clamp(18px, 6vw, 80px);
  background:
    linear-gradient(120deg, rgba(227, 6, 19, 0.08), rgba(255, 255, 255, 0) 38%),
    var(--surface);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--heading);
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.section-heading p,
.contact-band p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-lineup {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(227, 6, 19, 0.32);
  border-radius: var(--radius);
  background: #0c0c0f;
  box-shadow: var(--card-shadow);
}

.hero-lineup img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-lineup picture {
  display: block;
}

.hero-product {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(227, 6, 19, 0.07), transparent 58%),
    var(--surface-raised);
  box-shadow: var(--card-shadow);
}

.hero-product-red {
  color: var(--white);
  background: linear-gradient(145deg, var(--red), #ff3340);
}

.hero-product span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  opacity: 0.78;
}

.hero-product strong {
  display: block;
  max-width: 220px;
  font-size: 28px;
  line-height: 1.04;
}

.trust-strip {
  display: block;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-subtle) 72%, var(--surface));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  contain: layout paint;
}

.trust-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: trust-marquee 24s linear infinite;
  will-change: transform;
}

.trust-strip:hover .trust-track {
  animation-play-state: paused;
}

.trust-group {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
  gap: 12px;
  padding-inline: 12px 0;
}

.trust-item {
  flex: 0 0 max(260px, 25vw);
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 84px;
  padding: 18px clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--card-shadow);
  box-sizing: border-box;
  overflow: hidden;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--heading);
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

@keyframes trust-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .trust-track {
    width: auto;
    animation: none;
    overflow-x: auto;
  }

  .trust-group {
    flex-wrap: wrap;
  }
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 6vw, 80px);
}

.section-muted {
  background: var(--surface-subtle);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.section-split > * {
  min-width: 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.contact-band h2 {
  margin: 0;
  color: var(--heading);
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: 0;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.category-grid,
.product-grid,
.coming-grid,
.support-grid,
.location-grid,
.blog-grid,
.policy-grid,
.parts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-error {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.catalog-error h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 24px;
}

.category-card,
.product-card,
.coming-card,
.support-grid article,
.location-card,
.blog-card,
.policy-grid article,
.part-card,
.manual-item,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.category-card,
.coming-card,
.support-grid article,
.location-card,
.blog-card,
.policy-grid article,
.part-card {
  padding: 22px;
}

.category-card {
  min-height: 152px;
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.category-card span,
.product-card p,
.coming-card p,
.support-grid p,
.location-card p,
.blog-card p,
.policy-grid p,
.part-card p,
.manual-item p,
.faq-panel {
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-height: 100%;
  isolation: isolate;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 3px solid var(--hover-border);
  outline-offset: 3px;
}

.category-card:hover,
.product-card:hover,
.coming-card:hover,
.support-grid article:hover,
.location-card:hover,
.blog-card:hover,
.policy-grid article:hover,
.part-card:hover,
.manual-item:hover,
.faq-item:hover,
.hero-product:hover {
  transform: translateY(-4px);
  border-color: var(--hover-border);
  box-shadow: var(--shadow);
}

.product-visual {
  min-height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 22px;
  color: var(--heading);
  background: linear-gradient(135deg, color-mix(in srgb, var(--red) 8%, var(--surface-raised)), var(--surface-subtle));
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 148px;
  height: 148px;
  border: 1px solid currentColor;
  border-radius: 36px 10px 36px 10px;
  opacity: 0.08;
  pointer-events: none;
}

.product-visual:hover {
  color: var(--heading);
}

.product-visual.red {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), #ff2430);
}

.product-visual.red:hover {
  color: #ffffff;
}

.product-visual.light {
  color: var(--heading);
  background: linear-gradient(135deg, var(--surface-raised), var(--surface-subtle));
}

.product-shape {
  width: 104px;
  height: 104px;
  border: 8px solid currentColor;
  border-radius: 28px 8px 28px 8px;
  opacity: 0.28;
}

.product-card-image {
  position: relative;
  z-index: 1;
  width: 46%;
  max-width: 210px;
  height: 164px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.22));
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-body > p {
  min-height: 48px;
}

.product-body h3,
.coming-card h3,
.support-grid h3,
.location-card h3,
.blog-card h3,
.policy-grid h3,
.part-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #ffffff;
  background: #080808;
  font-size: 12px;
  font-weight: 900;
}

.badge.red,
.status-badge {
  color: #ffffff;
  background: var(--red);
}

:root[data-theme="dark"] .badge:not(.red),
:root[data-theme="dark"] .status-badge:not(.red) {
  color: var(--heading);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.spec-list strong {
  color: var(--heading);
  text-align: right;
}

.product-card-specs {
  min-height: 156px;
}

.product-card-specs li {
  min-height: 31px;
  align-items: center;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1.05fr) minmax(135px, 0.95fr) 48px;
  gap: 10px;
  margin-top: auto;
  align-items: stretch;
}

.product-actions .btn {
  width: 100%;
}

.product-detail-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.favorite-btn {
  width: 48px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--heading);
  background: var(--surface-raised);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.favorite-btn:hover,
.favorite-btn.active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-1px);
}

.modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.52);
}

.inquiry-dialog {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.inquiry-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.inquiry-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.inquiry-head h3 {
  margin: 0;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.15;
}

.inquiry-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--heading);
  background: var(--surface-raised);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.inquiry-options {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.inquiry-options a {
  min-height: 56px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--heading);
  background: var(--surface-subtle);
  font-weight: 900;
}

.inquiry-options a:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.inquiry-options span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.price-stack {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px 0 4px;
}

.price-stack strong {
  color: var(--black);
  font-size: 26px;
  line-height: 1;
}

.price-stack small {
  color: var(--red);
  font-weight: 800;
}

.old-price,
.mpc-price {
  color: var(--muted);
  font-weight: 800;
}

.sale-price {
  color: var(--red) !important;
}

.delivery-note {
  margin: 10px 0 14px;
  color: var(--muted);
}

.delivery-note strong {
  color: var(--black);
}

.product-detail-page {
  padding: clamp(34px, 6vw, 80px);
  background: var(--soft);
}

.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.product-detail-loading,
.product-gallery,
.product-detail-copy,
.product-long-description {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.product-detail-loading {
  grid-column: 1 / -1;
  padding: 28px;
}

.product-gallery,
.product-detail-copy,
.product-long-description {
  padding: clamp(18px, 3vw, 28px);
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-long-description {
  grid-column: 1 / -1;
}

.product-long-description h2 {
  margin: 0 0 16px;
  font-size: 34px;
}

.rich-content {
  color: var(--ink);
  font-size: 17px;
}

.rich-content p {
  margin: 0 0 14px;
}

.rich-content ul,
.rich-content ol {
  padding-left: 24px;
}

.rich-content b,
.rich-content strong {
  color: var(--black);
}

.blog-content {
  color: var(--muted);
  font-size: 16px;
}

.blog-content p {
  margin: 0 0 12px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card-image {
  display: flex;
  min-height: 180px;
  margin: -22px -22px 18px;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--red) 10%, var(--surface-subtle));
  color: var(--heading);
  font-weight: 900;
}

.blog-card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-image.empty {
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.16), var(--surface-subtle));
}

.blog-detail-page {
  min-height: calc(100vh - 90px);
  padding: 72px clamp(20px, 5vw, 80px);
  background: var(--soft);
}

.blog-detail {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.blog-article {
  width: 100%;
  display: grid;
  gap: 18px;
  justify-self: center;
  max-width: 820px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

.blog-hero-image {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--red) 9%, var(--surface-subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  font-size: 22px;
  font-weight: 900;
}

.blog-hero-image img {
  width: 100%;
  height: clamp(280px, 42vw, 470px);
  object-fit: cover;
}

.blog-article h1 {
  margin: 0;
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: 0;
}

.blog-article-content {
  font-size: 18px;
  line-height: 1.72;
}

.blog-related {
  display: grid;
  gap: 18px;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.blog-related-card a {
  min-height: 190px;
  padding: 18px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  color: inherit;
}

.blog-related-card img,
.blog-related-card .product-shape {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.blog-related-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-related-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.product-main-image {
  min-height: clamp(420px, 52vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 72%, color-mix(in srgb, var(--red) 10%, transparent), transparent 34%),
    linear-gradient(180deg, var(--surface-raised), var(--surface));
}

.product-main-image img {
  width: 100%;
  max-height: clamp(390px, 50vw, 590px);
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.18));
}

.main-image-button {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 52vw, 620px);
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.main-image-button img {
  pointer-events: none;
}

.product-main-image.empty {
  color: var(--muted);
  font-weight: 800;
}

.product-thumbs-wrap {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  margin-top: 0;
}

.gallery-more-btn {
  justify-self: center;
  width: fit-content;
}

.product-thumbs-wrap:not(.has-slider) {
  grid-template-columns: 1fr;
}

.product-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 50px) / 6);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar {
  display: none;
}

.product-thumbs button {
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-thumbs button:hover {
  border-color: var(--hover-border);
  transform: translateY(-1px);
  box-shadow: var(--card-shadow);
}

.product-thumbs button.active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-slider-btn {
  position: static;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.thumb-slider-btn:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  padding: clamp(18px, 4vw, 54px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: var(--white);
  background: rgba(227, 6, 19, 0.86);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: var(--red);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 64px;
  height: 64px;
  font-size: 42px;
  transform: translateY(-50%);
  line-height: 1;
  padding: 0;
  font-family: Arial, sans-serif;
}

.lightbox-prev {
  padding-right: 3px;
}

.lightbox-next {
  padding-left: 3px;
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-weight: 900;
}

.product-detail-copy h1 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1;
}

.product-price {
  display: block;
  margin: 18px 0;
}

.product-price strong {
  font-size: 32px;
}

.gallery-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-specs {
  margin-top: 28px;
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-heading h2 {
  margin: 0;
}

.related-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-product-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.related-product-card:hover {
  border-color: var(--hover-border);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.related-product-image {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.related-product-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 900;
}

.related-product-card strong {
  display: block;
  color: var(--heading);
  font-size: 18px;
  line-height: 1.18;
}

.coming-card {
  position: relative;
  overflow: hidden;
}

.coming-card::after {
  content: "USKORO";
  position: absolute;
  right: -36px;
  top: 22px;
  width: 140px;
  padding: 6px 0;
  color: var(--white);
  background: var(--red);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  transform: rotate(35deg);
}

.compare-tool,
.faq-list {
  width: 100%;
  min-width: 0;
}

select {
  min-width: 220px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--white);
  background: var(--red);
}

.manual-list {
  display: grid;
  gap: 12px;
}

.manual-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, auto) minmax(180px, auto);
  gap: 10px;
  margin-bottom: 8px;
}

.manual-controls input,
.manual-controls select {
  min-height: 44px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.manual-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.product-manual-list {
  display: grid;
  gap: 12px;
}

.product-manual-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.product-manual-item strong,
.product-manual-item span {
  display: block;
}

.product-manual-item span {
  color: var(--muted);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-button {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-panel {
  padding: 0 18px 18px;
}

.contact-band {
  margin: 0 clamp(18px, 6vw, 80px) clamp(54px, 7vw, 96px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #8f0009);
  box-shadow: var(--shadow);
}

.contact-band h2,
.contact-band p {
  color: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-header {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.legal-page {
  padding: 52px clamp(16px, 6vw, 80px) 88px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 20px;
  color: var(--heading);
  font-size: 52px;
  line-height: 1.04;
}

.legal-content h2 {
  margin: 34px 0 8px;
  color: var(--heading);
  font-size: 26px;
}

.legal-content p {
  color: var(--text);
  font-size: 17px;
}

.legal-content a,
.checkout-note a,
.consent-field a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 40px;
  color: var(--muted) !important;
}

.consent-field {
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start;
  gap: 10px;
}

.consent-field input {
  width: 18px !important;
  min-height: 18px !important;
  margin-top: 3px;
}

.mobile-nav {
  position: fixed;
  inset: 72px 12px auto;
  z-index: 30;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
}

.mobile-nav[hidden],
.bottom-mobile-nav [hidden] {
  display: none;
}

.mobile-nav a:hover {
  background: color-mix(in srgb, var(--red) 7%, var(--surface-raised));
}

.bottom-mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .hero,
  .section-split,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .coming-grid,
  .support-grid,
  .location-grid,
  .blog-grid,
  .blog-related-grid,
  .policy-grid,
  .parts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band,
  .site-footer,
  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .legal-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .legal-header .theme-toggle {
    display: none;
  }

  .legal-header .btn {
    width: auto;
    padding-inline: 10px;
  }

  .legal-page {
    padding: 34px 16px 80px;
  }

  .legal-content h1 {
    font-size: 38px;
  }

  .brand img,
  .site-footer img {
    width: 118px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .theme-toggle {
    justify-self: end;
  }

  .mobile-nav {
    inset: 68px 10px auto;
  }

  .mobile-nav .theme-toggle {
    width: 100%;
    border-radius: var(--radius);
  }

  .trust-strip {
    padding: 12px 0 16px;
    margin-bottom: 26px;
    mask-image: none;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
  }

  .trust-strip.is-dragging {
    cursor: grabbing;
  }

  .trust-strip::-webkit-scrollbar {
    display: none;
  }

  .trust-track {
    width: max-content !important;
    max-width: none;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px;
    animation: none !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding-inline: 14px;
  }

  .trust-group {
    display: flex !important;
    min-width: max-content !important;
    width: auto;
    gap: 10px;
    padding: 0;
  }

  .trust-group[aria-hidden="true"] {
    display: flex;
  }

  .trust-item {
    width: min(72vw, 245px);
    flex: 0 0 min(72vw, 245px);
    min-height: 82px;
    padding: 14px;
  }

  .trust-item strong,
  .trust-item span {
    overflow-wrap: anywhere;
  }

  .bottom-mobile-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .bottom-mobile-nav a {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
  }

  .bottom-mobile-nav a span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--heading);
  }

  .bottom-mobile-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bottom-mobile-nav a strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-mobile-nav a.active {
    color: var(--red);
    background: color-mix(in srgb, var(--red) 9%, var(--surface-raised));
  }

  .bottom-mobile-nav a.active span {
    color: var(--red);
  }

  .bottom-mobile-nav .nav-count {
    position: absolute;
    top: 4px;
    right: 16%;
    min-width: 18px;
    height: 18px;
    margin: 0;
    font-size: 10px;
    font-style: normal;
  }

  body {
    padding-bottom: 86px;
  }

  #proizvodi {
    scroll-margin-top: 72px;
  }

  #proizvodi .row-heading {
    gap: 18px;
  }

  #proizvodi .section-heading h2 {
    margin-bottom: 0;
  }

  .hero {
    min-height: auto;
    gap: 14px;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
    margin-bottom: 0;
  }

  .hero-copy h1 {
    order: 2;
    font-size: 36px;
    line-height: 1.02;
  }

  .hero-lineup {
    order: 3;
  }

  .hero-lineup img {
    aspect-ratio: 15 / 14;
  }

  .hero-copy > p:not(.eyebrow) {
    display: none;
  }

  .hero-actions {
    order: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .hero-actions .btn {
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
  }

  .filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 4px 12px 0;
    margin-bottom: 12px;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filters .filter-button {
    width: auto;
    flex: 0 0 auto;
    min-height: 54px;
    padding-inline: 20px;
    border-radius: 10px;
    white-space: nowrap;
  }

  #productGrid {
    margin-top: 8px;
  }

  .compare-controls select {
    width: 100%;
    min-width: 0;
  }

  .blog-article h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: 34px;
  }

  .product-long-description h2 {
    font-size: 28px;
  }

  .hero-panel,
  .category-grid,
  .product-grid,
  .coming-grid,
  .support-grid,
  .location-grid,
  .blog-grid,
  .blog-related-grid,
  .policy-grid,
  .parts-strip {
    grid-template-columns: 1fr;
  }

  .blog-detail-page {
    padding: 40px 16px;
  }

  .blog-related-card a {
    grid-template-columns: 90px 1fr;
  }

  .blog-related-card img,
  .blog-related-card .product-shape {
    width: 90px;
    height: 90px;
  }

  .hero-product {
    min-height: 128px;
  }

  .product-visual {
    min-height: 160px;
    align-items: center;
  }

  .product-card-image {
    max-width: 132px;
    height: 124px;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr 48px;
  }

  .product-actions .btn {
    width: 100%;
  }

  .product-actions .btn-primary {
    grid-column: 1 / -1;
  }

  .product-detail-actions {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8px;
  }

  .product-detail-actions .btn {
    min-height: 48px;
    padding-inline: 10px;
  }

  .product-detail-actions .btn-primary {
    grid-column: auto;
  }

  .product-detail-copy {
    position: static;
  }

  .product-main-image,
  .main-image-button {
    min-height: min(78vw, 330px);
  }

  .product-main-image img {
    max-height: min(72vw, 310px);
  }

  .related-product-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-page,
  .section,
  .section-muted {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-detail-page {
    padding-top: 22px;
    padding-bottom: 104px;
  }

  .product-gallery,
  .product-detail-copy,
  .product-long-description {
    padding: 16px;
  }

  .product-gallery {
    gap: 10px;
  }

  .gallery-hint {
    display: none;
  }

  .product-detail-copy h1 {
    margin-bottom: 12px;
    font-size: 40px;
    line-height: 0.98;
  }

  .product-detail-copy > p:not(.eyebrow) {
    margin: 12px 0;
    color: var(--muted);
    font-size: 16px;
  }

  .product-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-raised);
  }

  .product-price strong {
    font-size: 34px;
  }

  .product-price .mpc-price {
    font-size: 15px;
  }

  .product-price small {
    display: inline-flex;
    width: fit-content;
    padding: 5px 7px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--red) 9%, var(--surface-raised));
  }

  .delivery-note {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-raised);
  }

  .detail-specs {
    margin-top: 20px;
  }

  .detail-specs h2 {
    margin: 0 0 12px;
    font-size: 24px;
  }

  .detail-specs .spec-list {
    gap: 0;
    margin-bottom: 0;
  }

  .detail-specs .spec-list li {
    min-height: 44px;
    align-items: center;
    padding-block: 9px;
  }

  .product-thumbs {
    grid-auto-columns: calc((100% - 24px) / 4);
    gap: 8px;
  }

  .product-thumbs button {
    padding: 5px;
    background: var(--surface);
  }

  .product-thumbs button.active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px var(--red);
  }

  .thumb-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }

  .product-thumbs-wrap {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .manual-item {
    grid-template-columns: 1fr;
  }

  .manual-controls,
  .product-manual-item {
    grid-template-columns: 1fr;
  }

  .btn,
  .icon-link,
  .filter-button {
    width: 100%;
  }

  .lightbox-arrow {
    width: 48px;
    height: 48px;
    font-size: 36px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
}
