/* Carbroshow — single stylesheet, mobile-first, dark automotive theme.
   Brand: near-black #141416; coral red-orange #EE563F (primary), pink-red #E6234D,
   burnt orange #D46E23 (gradient touches), white; Archivo/Oswald headings + Inter body.
   Palette sampled from the live YouTube + Instagram @carbroshow channels. */

:root {
  --bg: #141416;
  --surface: #17181c;
  --edge: #2a2c33;
  --text: #f2f3f5;
  --muted: #9aa0a8;
  --red: #EE563F;
  --red-dark: #CE452F;
  --orange: #D46E23;
  --brand-pink: #E6234D;
  --brand-orange-deep: #B24F14;
  --green: #22c55e;
  --font-head: "Archivo", "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--text); }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

section { padding: 3rem 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 22, 0.95);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(6px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.wordmark:hover { color: var(--text); }
.wordmark .wm-red { color: var(--red); }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--edge);
}
.nav-menu.open { display: block; }
.nav-menu li { border-top: 1px solid var(--edge); }
.nav-menu a {
  display: block;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  font-weight: 500;
}
.nav-menu a:hover { color: var(--red); background: var(--bg); }

.nav-toggle {
  background: none;
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: var(--text);
  font-size: 1.25rem;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  line-height: 1;
}
.nav-toggle:hover { border-color: var(--red); color: var(--red); }

.nav-cta { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-ghost { border-color: var(--edge); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(238, 86, 63, 0.16), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero h1 { font-size: 2.75rem; margin-bottom: 1rem; }
/* "O" styled as a wheel — hero headline only.
   em units resolve against the inherited h1 size (do NOT zero the font-size). */
.hero .wheel-o {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  border: 0.12em solid var(--red);
  border-radius: 50%;
  position: relative;
  vertical-align: -0.04em;
  color: transparent; /* hide the "O" glyph, show the wheel */
  overflow: hidden;
  line-height: 1;
  text-align: center;
}
.hero .wheel-o::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0.18em; height: 0.18em;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

/* ---------- About ---------- */
.about { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.about p { max-width: 680px; color: var(--muted); }
.about p strong { color: var(--text); }

/* ---------- Channels ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, transform 0.15s;
}
.channel-card:hover { border-color: var(--red); transform: translateY(-2px); }
.channel-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.channel-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.75rem; }
.channel-card .card-link { color: var(--red); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); }

/* ---------- Store teaser (homepage) ---------- */
.store-teaser { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); text-align: center; }
.store-teaser p { max-width: 560px; margin: 0 auto 2rem; color: var(--muted); }
.mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
  text-align: left;
}
.mini-card {
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.mini-card .mini-rank {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}
.mini-card h3 { font-size: 1rem; margin: 0.4rem 0 0.25rem; }
.mini-card .mini-price { font-weight: 700; color: var(--text); }
.mini-card .mini-tag { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Store page ---------- */
.store-intro { text-align: center; padding: 3.5rem 0 2rem; }
.store-intro .store-sub { max-width: 640px; margin: 0 auto 1.25rem; color: var(--muted); }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.trust-line .tick { color: var(--green); font-weight: 700; margin-right: 0.25rem; }

.currency-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 1rem;
}

/* US empty state: shown when no products are verified for CJ's US warehouse */
.us-empty-state {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.us-empty-state h3 {
  color: var(--red);
  margin: 0 0 0.5rem;
}
.us-empty-state p {
  color: var(--muted);
  margin: 0;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.product-card:hover { border-color: var(--red); }

/* Image placeholder: swap for real CJ supplier photos in assets/img/ */
.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #232328 0%, #141416 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--edge);
  padding: 1rem;
}
.product-image svg { width: 64px; height: 64px; stroke: var(--red); opacity: 0.9; }
.img-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  max-width: 240px;
}

.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.rank-badge {
  align-self: flex-start;
  background: var(--orange);
  color: #141416;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.rank-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.product-card h3 { font-size: 1.1rem; }
.product-tagline { color: var(--red); font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
.product-desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1rem 0 0.75rem;
}
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.ship-badge { font-size: 0.78rem; color: var(--green); font-weight: 500; }
.btn-buy { width: 100%; text-align: center; }

/* ---------- Why only ten ---------- */
.why-ten { background: var(--surface); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.why-ten p { max-width: 680px; color: var(--muted); }
.why-ten p strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-top: 1.5rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--muted);
}
.faq-list details a { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--edge);
  background: #0e0e10;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .wordmark { font-size: 1.5rem; }
.footer-tagline { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 0; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { text-decoration: none; color: var(--text); font-size: 0.95rem; }
.footer-col a:hover { color: var(--red); }
.footer-legal {
  border-top: 1px solid var(--edge);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ---------- Tablets & up ---------- */
@media (min-width: 700px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }

  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    background: none;
    border: none;
    gap: 0.25rem;
    align-items: center;
  }
  .nav-menu li { border: none; }
  .nav-menu a { padding: 0.5rem 0.9rem; }
  .nav-cta { display: inline-block; margin-left: 0.5rem; padding: 0.55rem 1.1rem; font-size: 0.85rem; }

  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ---------- Blog index ---------- */
.blog-intro { text-align: center; padding: 3.5rem 0 2rem; }
.blog-intro .blog-sub { max-width: 620px; margin: 0 auto 1.25rem; color: var(--muted); }

.blog-list { padding: 1rem 0 3rem; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 820px;
  transition: border-color 0.15s, transform 0.15s;
}
.blog-card:hover { border-color: var(--red); transform: translateY(-2px); }
.post-date {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.blog-card h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--red); }
.post-excerpt { color: var(--muted); margin-bottom: 0.75rem; }
.post-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: none;
}

/* ---------- Blog post article ---------- */
.post-header { text-align: center; padding: 3.5rem 0 1.25rem; }
.post-header h1 { max-width: 820px; margin: 0 auto 0.75rem; }
.post-body { max-width: 760px; margin: 0 auto; padding-bottom: 3.5rem; }
.post-body h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; }
.post-body p { color: var(--muted); }
.post-body p strong { color: var(--text); }
.source { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.source a { color: var(--red); }
.post-nav { max-width: 760px; margin: 0 auto; padding: 0 0 3rem; }

/* ---------- Desktop ---------- */
@media (min-width: 1100px) {
  .channel-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Geolocation / multi-currency ---------- */
.geo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.geo-indicator {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(238, 86, 63, 0.12);
  border: 1px solid var(--red);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.geo-select-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.geo-select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.geo-select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.ship-line {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.delivery-note {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 720px;
  margin: 1rem auto 0;
  text-align: center;
}
.delivery-note strong { color: var(--text); }

/* Reviews-first layout: responsive 16:9 YouTube embeds */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 1.5rem 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Curated video cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.video-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease;
}
.video-card:hover { transform: translateY(-3px); border-color: var(--red); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.82); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 2px 7px; border-radius: 5px;
}
.video-card-body { padding: 0.9rem 1rem 1.1rem; }
.video-card-body h3 { font-size: 0.98rem; margin: 0 0 0.35rem; line-height: 1.35; }
.video-card-body p { color: var(--muted); font-size: 0.88rem; margin: 0; }
