:root {
  --red: #e10600;
  --bg: #f4f4f4;
  --bg-soft: #ececec;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #666;
  --line: #dddddd;
  --announce: #f3e7b2;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0b57d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--red), #7a0000);
  box-shadow: inset 0 0 0 2px #111;
}

.logo-text {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  color: #111;
}

.logo-accent {
  color: var(--red);
}

.primary-nav {
  flex: 1;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.primary-nav > ul > li > a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: #222;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.primary-nav > ul > li > a.is-active,
.primary-nav > ul > li > a:hover {
  color: var(--red);
}

.has-mega {
  position: relative;
}

.mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  display: grid;
}

.mega-title {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.mega ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.mega a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.mega a:hover {
  color: var(--red);
}

.header-tools {
  margin-left: auto;
}

.header-search input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  min-width: 150px;
  font: inherit;
}

.announce {
  background: var(--announce);
  text-align: center;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  border-top: 1px solid #e7d89a;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: #b80500;
  border-color: #b80500;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-ghost,
.btn-small {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-small {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 70%);
}

.eyebrow {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 600;
  color: #cfcfcf;
  margin: 0 0 0.5rem;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.news-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: #444;
}

.news-list a {
  color: #0b57d0;
}

.hero h1,
.page-hero h1,
.product-info h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.85rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  background: linear-gradient(145deg, #1a1a1a, #3a3a3a 45%, #111);
  border-radius: 4px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: lighten;
  opacity: 0.95;
}

.hero-squares {
  position: absolute;
  inset: auto 8% 8% auto;
  width: 42%;
  height: 42%;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 48% 48% no-repeat,
    linear-gradient(#fff, #fff) 52% 0 / 48% 48% no-repeat,
    linear-gradient(#fff, #fff) 0 52% / 48% 48% no-repeat,
    linear-gradient(var(--red), var(--red)) 52% 52% / 48% 48% no-repeat;
  opacity: 0.9;
  animation: squarePulse 4.5s ease-in-out infinite;
}

@keyframes squarePulse {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.04); opacity: 1; }
}

.brand-strip {
  max-width: var(--max);
  margin: 0 auto 1rem;
  padding: 0.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
}

.brand-tile {
  display: grid;
  place-items: center;
  min-height: 68px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand-tile:hover {
  background: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}

.split-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split-section.reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: 4px;
  background: #111;
}

.split-copy h2,
.center-title,
.section-head h2,
.reviews-head h2,
.specs h2,
.footer-heading {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.process {
  background: var(--bg);
  padding: 3rem 1.25rem;
}

.center-title {
  text-align: center;
}

.process-grid {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-grid article {
  background: #fff;
  padding: 1.5rem;
  border-top: 3px solid var(--red);
}

.process-icon {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.reviews {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.reviews-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  margin: 0;
  background: var(--bg);
  padding: 1.25rem;
  border-left: 3px solid var(--red);
  min-height: 100%;
  animation: fadeUp 0.7s ease both;
}

.review-card:nth-child(2) { animation-delay: 0.08s; }
.review-card:nth-child(3) { animation-delay: 0.16s; }
.review-card:nth-child(4) { animation-delay: 0.24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-card footer {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.featured {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card-media {
  background:
    repeating-linear-gradient(
      45deg,
      #1b1b1b,
      #1b1b1b 8px,
      #242424 8px,
      #242424 16px
    );
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.product-card-meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.product-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-title a:hover {
  color: var(--red);
}

.product-card-sku {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
}

.product-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.35rem 0 0.5rem;
}

.product-card-price,
.product-detail-price {
  font-weight: 700;
  font-size: 1.15rem;
}

.stock-badge,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

.stock-in {
  background: #e8f6ec;
  border-color: #b7e0c2;
  color: #1f7a3b;
}

.stock-reserve {
  background: #fff4e5;
  border-color: #f0d2a0;
  color: #9a5b00;
}

.cta-bike {
  background:
    linear-gradient(120deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.75)),
    repeating-linear-gradient(135deg, #222 0 12px, #1a1a1a 12px 24px);
  color: #fff;
  padding: 4rem 1.25rem;
}

.cta-bike-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-bike h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.cta-brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.cta-brand-list a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.05em;
}

.cta-brand-list a:hover {
  border-color: var(--red);
  background: var(--red);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #aaa;
}

.breadcrumbs a {
  color: inherit;
}

.catalog-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.filters {
  background: var(--bg);
  padding: 1.15rem;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.filters h2 {
  font-family: var(--display);
  margin: 0 0 0.85rem;
}

.filter-form {
  display: grid;
  gap: 1rem;
}

.filter-form label span,
.filter-form legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.filter-form input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.filter-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.radio-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.result-count {
  margin: 0 0 1rem;
  color: var(--muted);
}

.empty-state {
  padding: 2rem;
  background: var(--bg);
}

.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.product-gallery-main {
  margin: 0;
  background: #111;
  border: 1px solid var(--line);
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.thumb {
  border: 2px solid transparent;
  padding: 0;
  background: #111;
  cursor: pointer;
  width: 88px;
}

.thumb.is-active,
.thumb:hover {
  border-color: var(--red);
}

.product-info .note {
  color: var(--muted);
  font-size: 0.95rem;
}

.specs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.spec-list > div {
  background: var(--bg);
  padding: 0.9rem 1rem;
}

.spec-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.spec-list dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.site-footer {
  background: #111;
  color: #ddd;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-tagline {
  color: #aaa;
  max-width: 28rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .catalog-layout,
  .product-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-media {
    order: 0;
  }

  .brand-strip,
  .product-grid,
  .reviews-track,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
  }

  .mega {
    position: static;
    min-width: 0;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0;
    grid-template-columns: 1fr 1fr;
  }

  .has-mega:hover .mega,
  .has-mega:focus-within .mega,
  .has-mega.is-open .mega {
    display: grid;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand-strip,
  .product-grid,
  .reviews-track,
  .process-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .header-search {
    display: none;
  }
}
