/* =========================================
   Rides With Roman — Design System
   ========================================= */

:root {
  --orange: #FF6B00;
  --orange-light: #FF8C33;
  --orange-pale: #FFE8D9;
  --black: #111111;
  --ink-soft: #2A2A2A;
  --white: #FFFFFF;
  --grey: #F5F5F5;
  --ink-mid: #4D4D4D;

  --font-display: 'Bungee', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(17, 17, 17, 0.10);
  --shadow-orange: 0 8px 20px rgba(255, 107, 0, 0.35);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.2rem;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
}

.logo-chip img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--orange);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-page {
  padding: 3.5rem 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero .sub {
  color: var(--grey);
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-btn);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transform: skewX(-6deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background: var(--orange-light);
  transform: skewX(-6deg) translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn:active {
  transform: skewX(-6deg) translateY(0);
}

.btn-ghost {
  background: var(--white);
  color: var(--black);
}

.btn-ghost:hover {
  background: var(--grey);
  box-shadow: var(--shadow-card);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.65em 1.2em;
}

/* Sections & Layout */
.section {
  padding: 4rem 1.5rem;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.section-pale {
  background: var(--orange-pale);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--black);
  line-height: 1.2;
}

.section-dark .section-title {
  color: var(--white);
}

.section-sub {
  color: var(--ink-mid);
  margin-top: 0.4rem;
  margin-bottom: 2rem;
}

.section-dark .section-sub {
  color: var(--grey);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Product & Info Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.card-img {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-img img,
.card-img svg {
  max-height: 190px;
  width: auto;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink-mid);
}

.price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--black);
  margin: 0.6rem 0;
}

.badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  padding: 0.35em 0.9em;
  margin-bottom: 0.5rem;
}

/* Merch Band */
.merch-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.merch-band img {
  border-radius: var(--radius-card);
}

.merch-copy h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.merch-copy p {
  margin-bottom: 1.4rem;
}

/* Value Strip */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.strip-item {
  text-align: center;
}

.strip-icon {
  width: 56px;
  height: 56px;
  color: var(--orange);
  margin: 0 auto 0.8rem;
  display: block;
}

.strip-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

/* Filter Bar & Chips */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.chip {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.chip-active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.chip-active:hover {
  background: var(--orange-light);
  color: var(--white);
  border-color: var(--orange-light);
}

/* Category Cards */
.cat-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  text-align: left;
  position: relative;
}

.cat-icon svg {
  width: 64px;
  height: 64px;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.cat-list {
  list-style: none;
  line-height: 1.9;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cat-card .btn-sm {
  margin-top: 0.8rem;
}

/* Split About Section */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.split-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-logo {
  border-radius: var(--radius-card);
  max-width: 340px;
  margin: 0 auto;
}

/* Factbox */
.factbox {
  background: var(--orange-pale);
  border-radius: var(--radius-card);
  border-left: 8px solid var(--orange);
  padding: 1.5rem 2rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
}

.factbox-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.factbox ul {
  padding-left: 1.2rem;
}

.factbox li {
  line-height: 2;
}

/* Forms */
.form {
  max-width: 560px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border-radius: var(--radius-btn);
  border: 2px solid var(--grey);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.form-note {
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  min-height: 1.5em;
  margin-top: 1rem;
}

/* FAQ */
.faq details {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.4rem;
  max-width: 720px;
  margin: 0 auto 0.9rem;
}

.faq summary {
  font-family: var(--font-body);
  font-weight: 800;
  cursor: pointer;
  color: var(--black);
}

.faq details[open] summary {
  color: var(--orange);
}

.faq details p {
  margin-top: 0.6rem;
  color: var(--ink-mid);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}

.footer-logo {
  border-radius: 12px;
  margin: 0 auto;
}

.footer-tag {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  margin: 0.6rem 0;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links a {
  color: var(--grey);
  margin: 0 0.6rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-note {
  color: var(--ink-mid);
  font-size: 0.85rem;
  margin-top: 1.2rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links {
    gap: 0.8rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .grid-3,
  .grid-2,
  .strip,
  .split,
  .merch-band {
    grid-template-columns: 1fr;
  }

  .cat-card {
    text-align: center;
  }

  .cat-icon svg {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
