/* E-Z Rider Bike Shop — lean stylesheet. No frameworks, no web fonts. */
:root {
  --ink: #0c343e;        /* deep teal — brand dark, headings, text */
  --ink-soft: #51666c;
  --paper: #ffffff;
  --sand: #f4f1e9;       /* warm neutral, pairs with gold */
  --line: #e2ddd2;
  --gold: #f6bd4a;       /* primary brand accent */
  --gold-dark: #e6a92e;
  --teal: #104856;       /* secondary brand */
  --teal-mid: #1d7e96;   /* links */
  --radius: 0;
  --shadow: 0 8px 24px rgba(12, 52, 62, 0.14);
  --wrap: 1140px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Poppins", var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: #20292c;
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-mid); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--ink); text-decoration: none;
  font-weight: 700; padding: .8rem 1.5rem; border-radius: 0;
  border: 0; cursor: pointer; font-size: 1rem;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--gold-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--sand); }
.btn--accent { background: var(--gold); color: var(--ink); }
.btn--accent:hover { background: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-logo { width: 40px; height: 40px; display: block; }
.site-footer .brand-logo { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: left;
  background: linear-gradient(180deg, rgba(12,52,62,.55), rgba(12,52,62,.68)), var(--hero, #0c343e) center/cover no-repeat;
}
.hero .wrap { padding-top: 5rem; padding-bottom: 5rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.eyebrow { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; margin-bottom: 1rem; }

/* Sections */
section { padding: 4rem 0; }
.section-head { max-width: 620px; margin-bottom: 2.2rem; }
.bg-sand { background: var(--sand); }

/* Feature grid */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--sand); padding: 1.8rem; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ph { aspect-ratio: 4/3; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card .body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-mid); font-weight: 700; }
.card .name { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.card .price { margin-top: auto; font-weight: 700; font-size: 1.05rem; }
.card .price .was { color: var(--ink-soft); font-weight: 400; text-decoration: line-through; font-size: .85rem; margin-right: .4rem; }
.sale-flag { background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; align-self: flex-start; }

/* Filter pills */
.filters { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.pill { border: 0; background: var(--sand); padding: .5rem 1.2rem; font-weight: 600; cursor: pointer; font-size: .92rem; color: var(--ink-soft); }
.pill:hover { color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; }

/* Price list (services) */
.pricelist { display: grid; gap: 0; }
.pricelist .row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.2rem; }
.pricelist .row:nth-child(odd) { background: var(--sand); }
.pricelist .row .amt { font-weight: 700; white-space: nowrap; }

/* Info / contact */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.infolist { list-style: none; padding: 0; margin: 0; }
.infolist li { padding: .35rem 0; display: flex; gap: .7rem; }
.infolist li strong { min-width: 84px; }
.map { width: 100%; border: 0; border-radius: var(--radius); aspect-ratio: 4/3; }

/* CTA band */
.cta-band { color: #fff; text-align: center; background: linear-gradient(180deg, rgba(12,52,62,.62), rgba(12,52,62,.74)), var(--cta, var(--teal)) center/cover no-repeat; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.4rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d0d4; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #c9d0d4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 .8rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot-bottom { border-top: 1px solid #2a3136; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: #8a949a; font-size: .85rem; }

/* Utility */
.notice { background: var(--sand); border-left: 3px solid var(--gold); color: var(--ink); padding: 1rem 1.2rem; font-weight: 500; }
.loading { color: var(--ink-soft); padding: 2rem 0; }


/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .products { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 20px 1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .2rem 0; }
  .nav-links .nav-cta { margin: .6rem 0 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 540px) {
  .products, .grid-4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
