/* Bike Bliss - brand identity (official palette and typefaces).
   Electric Lime #C9F227 (main), Performance Black #101820, Pure White #FFFFFF,
   Midnight Navy #0B263B, Titanium Grey #64748B. Fonts: Barlow Condensed (logo, titles), Montserrat (text). */
:root {
  --ink: #101820;
  --accent: #C9F227;
  --paper: #ffffff;
  --cream: #F3F5F7;
  --teal: #0B263B;
  --navy: #0B263B;
  --coral: #C9F227;
  --gold: #C9F227;
  --muted: #64748B;
  --line: #E2E8F0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4, .brand-name, .section-title, .tile-body strong, .cat-banner-text h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1280px, 92vw); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Announcement bar + header */
.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: .8rem; letter-spacing: .6px; text-transform: uppercase; padding: 10px 12px;
}
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 16px 0;
}
.brand { text-decoration: none; justify-self: center; }
.brand-name {
  font-weight: 900; font-size: 1.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--ink);
}
.cat-nav { display: flex; gap: 26px; font-size: .82rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.cat-nav.left { justify-content: flex-start; }
.cat-nav.right { justify-content: flex-end; }
.cat-nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.cat-nav a:hover, .cat-nav a:focus-visible { border-bottom-color: var(--ink); outline: none; }
.cat-nav-full {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 0 0 14px;
  font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px;
}
.cat-nav-full a { text-decoration: none; color: var(--muted); }
.cat-nav-full a:hover { color: var(--ink); }

/* Hero: full-bleed photo, centered message */
.hero { position: relative; height: min(86vh, 760px); min-height: 460px; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45)); }
.hero-content {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 14px;
}
.hero-kicker { margin: 0; font-size: .85rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero h1 {
  margin: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1px; max-width: 900px;
}
.hero-lede { margin: 0; max-width: 560px; font-size: 1.08rem; opacity: .95; }
.hero-tag { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 900; font-style: italic; letter-spacing: 2px; font-size: 1.15rem; color: var(--accent); }
.pillars {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; padding: 16px 12px;
  background: var(--ink); font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px; font-size: 1rem;
}
.pillars a { color: #fff; text-decoration: none; border-bottom: 2px solid transparent; }
.pillars a:hover, .pillars a:focus-visible { border-bottom-color: var(--accent); outline: none; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.4px; font-size: .85rem; padding: 16px 34px; border: 2px solid transparent;
  transition: background .15s, color .15s;
}
.btn-solid { background: #fff; color: var(--ink); margin-top: 8px; }
.btn-solid:hover { background: var(--ink); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Section titles */
.section-title {
  text-align: center; font-size: 1.35rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin: 72px 0 28px;
}
.collections { padding-bottom: 8px; }

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden;
  text-decoration: none; color: #fff; background-size: cover; background-position: center;
  transition: transform .25s ease;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.65)); transition: opacity .25s; }
.tile:hover { transform: scale(1.015); }
.tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tile-body { position: relative; padding: 22px; width: 100%; text-align: center; }
.tile-body strong { display: block; font-size: 1.05rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; }
.tile-body span { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }

/* Search row */
.search-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 28px; }
.search-row input {
  width: 100%; max-width: 420px; padding: 13px 18px; font: inherit; font-size: .95rem;
  border: 1px solid var(--ink); background: var(--paper); outline: none;
}
.search-row input:focus { box-shadow: 0 0 0 3px rgba(233,180,76,.45); }
.count { margin: 0; color: var(--muted); font-size: .9rem; letter-spacing: .5px; }

/* Editor's picks */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 18px; margin-top: 8px; }
.picks:empty { display: none; }
.picks-title { grid-column: 1 / -1; text-align: center; font-size: 1.35rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin: 48px 0 8px; }

/* Category sections */
.cat-block { margin-top: 64px; scroll-margin-top: 130px; }
.cat-banner {
  position: relative; min-height: 220px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; margin-bottom: 26px;
}
.cat-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.cat-banner-text { position: relative; padding: 26px; max-width: 680px; }
.cat-banner-text h3 { margin: 0 0 8px; font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; }
.cat-banner-text p { margin: 0; font-size: 1rem; opacity: .95; }

/* Product grid: clean cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 18px; }
.card { display: flex; flex-direction: column; background: var(--paper); }
.card-art { position: relative; display: block; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; border: 1px solid var(--line); }
.card-photo { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s ease; }
.card-art:hover .card-photo { transform: scale(1.03); }
.card-fallback { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .3s ease; }
.card-art:hover .card-fallback { transform: scale(1.03); }
.card h4 a { color: inherit; text-decoration: none; }
.card h4 a:hover { text-decoration: underline; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); color: var(--ink);
  font-size: .66rem; font-weight: 800; padding: 5px 9px; letter-spacing: 1.2px; text-transform: uppercase;
}
.badge.new { left: auto; right: 12px; background: var(--coral); color: var(--ink); }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.card h4 { margin: 0; font-size: .98rem; line-height: 1.35; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: .88rem; }
/* Amazon's own yellow "Add to Cart" button colors */
.card .btn-buy {
  margin-top: 12px; display: block; text-align: center; text-decoration: none;
  background: #FFD814; border: 1px solid #FCD200; border-radius: 20px; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
  color: #0F1111; font-size: .9rem; padding: 9px 12px; transition: background .15s;
}
.card .btn-buy:hover { background: #F7CA00; border-color: #F2C200; }
.card .btn-buy:active { background: #F0B800; }
.card .btn-buy:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 56px 0; margin-top: 84px; }
.site-footer strong { color: #fff; font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; }
.site-footer p { margin: 6px 0; }
.site-footer .muted { color: #8f8f8f; }
.site-footer a { color: #e6e6e6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.disclosure { font-size: .9rem; color: #fff; }
.credits { font-size: .76rem; color: #8f8f8f; margin-top: 12px; }

/* How it works notice */
.how-it-works {
  border-left: 4px solid var(--accent); background: var(--cream); padding: 16px 20px; margin: 28px 0 8px;
  font-size: .95rem;
}
.how-it-works strong { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.how-it-works p { margin: 4px 0; color: var(--ink); }

/* Videos page */
.videos-page { padding-top: 40px; padding-bottom: 40px; }
.videos-intro { color: var(--muted); max-width: 640px; margin: 0 auto 18px; text-align: center; }
.videos-cta { text-align: center; margin: 0 0 32px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--cream); border: 1px solid var(--line); transition: transform .2s ease; }
.video-card:hover img { transform: translateY(-2px); }
.video-title { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .5px; }
.videos-page .empty { font-size: 1.05rem; }
.site-footer a { color: #fff; }

@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr; justify-items: center; }
  .cat-nav.left, .cat-nav.right { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 78vh; }
}
