/* =========================================================
   Death's Door Racing — theme.css
   Design tokens define the site's brutalist brand system.
   Customizer-editable tokens are overridden via wp_add_inline_style.
   ========================================================= */

:root {
  /* Color tokens are injected via wp_add_inline_style (OKLCH architecture). */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-brutal: 6px 6px 0 0 var(--foreground);
  --shadow-brutal-lg: 10px 10px 0 0 var(--foreground);
  --shadow-brutal-accent: 6px 6px 0 0 var(--primary);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --logo-height: 44px;
  --header-height: 80px;
  --radius: 0.5rem;
}

/* ---------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: inherit;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0;
}
.font-display { font-family: var(--font-display); }
.font-extrabold { font-weight: 800; }
p, span, a, li, div { overflow-wrap: break-word; }

.container-wide {
  width: 100%;
  max-width: 80rem; /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;  /* px-6 */
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; } /* lg:px-8 */
}
.container-narrow { max-width: 64rem; } /* max-w-5xl */
.container-checkout { max-width: 72rem; } /* max-w-6xl */
.container-faq { max-width: 56rem; } /* max-w-4xl */

/* Section side padding safety — never 0 on mobile/tablet */
.section-pad-about,
.section-pad-services,
.section-pad-shop,
.section-pad-faq,
.section-pad-contact {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .section-pad-about,
  .section-pad-services,
  .section-pad-shop,
  .section-pad-faq,
  .section-pad-contact {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ---------------------------------------------------------
   BRUTALIST COMPONENT PRIMITIVES
   --------------------------------------------------------- */
.brutal-border { border: 2px solid var(--foreground); }
.brutal-card {
  border: 2px solid var(--foreground);
  background: var(--card);
  transition: all 0.2s var(--transition-smooth);
  box-shadow: var(--shadow-brutal);
}
.brutal-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-brutal-lg); }

.brutal-btn, .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.15s;
  box-shadow: 4px 4px 0 0 var(--primary);
  padding: 1rem 1.75rem;
  font-size: 0.875rem;
}
.brutal-btn:hover, .btn-hero-primary:hover {
  transform: translate(-3px, -3px) rotate(-1.5deg) scale(1.04);
  box-shadow: 8px 8px 0 0 var(--accent);
}
.brutal-btn:active, .btn-hero-primary:active {
  transform: translate(2px, 2px) scale(0.96);
  box-shadow: 0 0 0 0 var(--primary);
}

.btn-hero-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.75rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: 2px solid var(--background); background: transparent; color: var(--background);
  transition: all 0.2s;
}
.btn-hero-outline:hover { background: var(--background); color: var(--foreground); }

.btn-hero-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 1.75rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-foreground);
  transition: all 0.2s;
}
.btn-hero-accent:hover { background: var(--background); color: var(--foreground); border-color: var(--background); }

.halftone-bg { background-image: radial-gradient(color-mix(in oklch, var(--foreground) 15%, transparent) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.grid-bg {
  background-image:
    linear-gradient(to right, color-mix(in oklch, var(--foreground) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklch, var(--foreground) 6%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------------------------------------------------------
   ANIMATIONS (ported verbatim from source keyframes)
   --------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes iconBounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); } }
.icon-bounce { animation: iconBounce 1s infinite; }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }

/* Scroll-reveal system: entrance opacity+translateY, staggered by index.
   Fallback: visible by default; JS adds .reveal-ready to enable the
   pre-animation hidden state only once IntersectionObserver is confirmed
   working, and Customizer preview always forces visibility. */
.reveal-item, .reveal-stagger .reveal-item {
  opacity: 1;
  transform: none;
}
.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-ready .reveal-stagger .reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-ready .reveal-stagger .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-ready .reveal-stagger .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready .reveal-stagger .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-ready .reveal-stagger .reveal-item:nth-child(5) { transition-delay: 0.32s; }

body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-item { transition: none; opacity: 1; transform: none; }
  .icon-bounce { animation: none; }
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #ffffff;
}
.site-header.is-solid {
  background: var(--background);
  border-bottom-color: var(--foreground);
  color: var(--foreground);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img {
  height: 2.25rem !important; /* w-9 h-9 */
  width: auto !important;
  max-height: var(--logo-height);
  display: block;
  object-fit: contain;
  transition: transform 0.2s;
}
@media (min-width: 640px) {
  .site-logo-img { height: 2.75rem !important; } /* sm:w-11 sm:h-11 */
}
.site-brand:hover .site-logo-img { transform: rotate(6deg); }
.site-logo-text, .site-brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: -0.02em;
  display: none;
}
@media (min-width: 640px) { .site-logo-text, .site-brand-name { display: inline; } }

.site-nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; }
.theme-nav-link, .theme-nav-list a, .theme-nav-list button {
  padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.15s; display: inline-block; font-family: var(--font-body); color: inherit;
}
.theme-nav-link:hover, .theme-nav-list a:hover { background: var(--accent); color: var(--accent-foreground); }

.site-icon-btn {
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid currentColor; margin-left: 0.5rem; transition: all 0.15s; position: relative;
}
.site-icon-btn:hover { background: var(--foreground); color: var(--background); }
.theme-cart-count {
  position: absolute; top: -0.5rem; right: -0.5rem; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-foreground);
  border: 2px solid var(--foreground); border-radius: 999px; font-size: 0.625rem; font-weight: 800;
}
.theme-cart-count:empty { display: none; }

.site-shop-btn {
  margin-left: 0.5rem;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.75rem !important;
}

.site-nav-mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .site-nav-mobile-actions { display: none; } }
.site-menu-toggle { width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; }
.site-menu-toggle .icon-close { display: none; }
.site-menu-toggle.is-open .icon-menu { display: none; }
.site-menu-toggle.is-open .icon-close { display: block; }

.site-nav-mobile-panel {
  display: none;
  border-top: 2px solid currentColor;
  padding: 1rem 0;
}
.site-nav-mobile-panel.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth) forwards; }
.site-nav-mobile-links { display: flex; flex-direction: column; }
.site-nav-mobile-links .theme-nav-list,
.site-nav-mobile-links .theme-nav-list--fallback,
.site-nav-mobile-links .theme-nav-list--mobile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0;
}
.site-nav-mobile-links .theme-nav-link,
.site-nav-mobile-links a,
.site-nav-mobile-links button {
  text-align: left; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid color-mix(in oklch, var(--foreground) 10%, transparent); opacity: 0.9; width: 100%;
}
.site-nav-mobile-links .brutal-btn,
.site-nav-mobile-links .site-shop-btn { margin-top: 1rem; border-bottom: none; width: auto; align-self: flex-start; }

@media (max-width: 1023px) {
  .site-header:not(.is-solid) .site-nav-mobile-panel.is-open { background: var(--background); color: var(--foreground); }
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}
body.theme-no-hero .hero-section { display: none; }
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in oklch, var(--foreground) 90%, transparent), color-mix(in oklch, var(--foreground) 70%, transparent), color-mix(in oklch, var(--foreground) 30%, transparent)); }
.hero-inner { position: relative; z-index: 10; padding: 4rem 0; }
.hero-content { max-width: 48rem; color: var(--background); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem;
  background: var(--primary); color: var(--primary-foreground); border: 2px solid var(--background);
  font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem;
}
.hero-title { font-weight: 800; text-transform: uppercase; line-height: 0.95; font-size: 3rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-subtitle { margin-top: 1.5rem; font-size: 1.125rem; color: color-mix(in oklch, var(--background) 85%, transparent); max-width: 36rem; line-height: 1.6; }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-scroll-hint { margin-top: 3rem; display: flex; align-items: center; gap: 0.5rem; color: color-mix(in oklch, var(--background) 60%, transparent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }

/* Home hero fills viewport under fixed header — no top padding added to main content */
body.theme-no-hero .site-main,
body.theme-no-hero .page-main { padding-top: var(--header-height); }

/* ---------------------------------------------------------
   ABOUT SECTION
   --------------------------------------------------------- */
.about-section { padding: 5rem 0; background: var(--background); }
@media (min-width: 1024px) { .about-section { padding: 7rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-section .section-heading {
  font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem;
}
@media (min-width: 640px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }

.about-paragraph { margin-top: 1.5rem; font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.about-paragraph--2 { margin-top: 1rem; }
@media (min-width: 640px) { .about-paragraph { font-size: 1.125rem; } }

.about-stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .about-stats { gap: 1rem; } }
.stat-card {
  border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
  padding: 0.5rem; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 110px; min-width: 0;
}
@media (min-width: 640px) { .stat-card { padding: 1rem; } }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--primary); line-height: 1; max-width: 100%; }
@media (min-width: 640px) { .stat-num { font-size: 1.875rem; } }
.stat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); margin-top: 0.5rem; line-height: 1.2; max-width: 100%; }

.about-media { position: relative; }
.about-card { border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); overflow: hidden; position: relative; aspect-ratio: 1/1; }
.about-badge {
  position: absolute; bottom: -1rem; right: 0; background: var(--accent); border: 2px solid var(--foreground);
  padding: 0.5rem 1rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.75rem;
  box-shadow: 6px 6px 0 0 var(--foreground);
}
@media (min-width: 640px) { .about-badge { bottom: -1.25rem; right: -1.25rem; padding: 0.75rem 1.25rem; font-size: 0.875rem; } }

/* ---------------------------------------------------------
   SERVICES / SPONSORSHIPS
   --------------------------------------------------------- */
.services-section { position: relative; padding: 5rem 0; background: var(--foreground); color: var(--background); }
@media (min-width: 1024px) { .services-section { padding: 7rem 0; } }
.services-bg-pattern { position: absolute; inset: 0; opacity: 0.3; background-image: radial-gradient(color-mix(in oklch, var(--background) 15%, transparent) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.services-inner { position: relative; }
.services-intro { max-width: 42rem; }
.services-section .section-heading { font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .services-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3.75rem; } }
.services-paragraph { margin-top: 1.25rem; color: color-mix(in oklch, var(--background) 75%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 640px) { .services-paragraph { font-size: 1.125rem; } }

.tiers-grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
@media (min-width: 768px) { .tiers-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tier-card {
  position: relative; padding: 1.75rem; border: 2px solid var(--background);
  background: var(--background); color: var(--foreground);
  box-shadow: 6px 6px 0 0 var(--accent); transition: all 0.2s;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-card--featured { background: var(--primary); color: var(--primary-foreground); transform: translateY(-8px); box-shadow: 10px 10px 0 0 var(--accent); }
.tier-card--featured:hover { transform: translateY(-8px); }
.tier-badge {
  position: absolute; top: -0.75rem; left: 1.75rem; background: var(--accent); color: var(--accent-foreground);
  border: 2px solid var(--foreground); padding: 0.25rem 0.75rem; font-size: 0.625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
}
.tier-icon { margin-bottom: 1rem; }
.tier-name { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.tier-price { margin-top: 0.5rem; font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; }
.tier-sub { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-top: 0.25rem; }
.tier-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.tier-features li { display: flex; gap: 0.5rem; }
.tier-arrow { font-weight: 700; }
.tier-cta {
  margin-top: 1.75rem; display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 0.75rem 1.25rem; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  border: 2px solid var(--foreground); background: var(--foreground); color: var(--background); transition: all 0.2s;
}
.tier-cta:hover { background: var(--primary); border-color: var(--primary); }

.sponsors-block { margin-top: 3.5rem; }
.sponsors-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1rem; }
.sponsors-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.sponsor-chip {
  display: inline-flex; align-items: center; gap: 0.75rem; background: var(--background); color: var(--foreground);
  border: 2px solid var(--background); padding: 0.75rem 1rem; transition: all 0.2s; box-shadow: 4px 4px 0 0 var(--accent);
}
.sponsor-chip:hover { background: var(--primary); color: var(--primary-foreground); }
.sponsor-logo { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.sponsor-chip-text { text-align: left; }
.sponsor-name { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.875rem; line-height: 1.2; }
.sponsor-tier { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }

/* 3D car preview */
.car-preview-block { margin-top: 4rem; }
.car-preview-intro { max-width: 42rem; }
.car-preview-heading { font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 1.875rem; }
@media (min-width: 640px) { .car-preview-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .car-preview-heading { font-size: 3rem; } }
.car-preview-paragraph { margin-top: 1rem; color: color-mix(in oklch, var(--background) 75%, transparent); font-size: 1rem; line-height: 1.7; }
.car-preview-widget { margin-top: 2rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .car-preview-widget { grid-template-columns: 1.4fr 1fr; } }
.car-canvas-wrap {
  position: relative; border: 2px solid var(--background); background: var(--foreground); overflow: hidden;
  min-height: 320px; height: 340px;
}
@media (min-width: 640px) { .car-canvas-wrap { height: 420px; } }
@media (min-width: 1024px) { .car-canvas-wrap { height: 480px; } }
.car-canvas-wrap canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.car-canvas-wrap canvas:active { cursor: grabbing; }
.car-drag-hint { position: absolute; bottom: 0.75rem; left: 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: color-mix(in oklch, var(--background) 70%, transparent); pointer-events: none; }
.car-info-panel { display: flex; flex-direction: column; gap: 0.75rem; }
.car-spot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.car-spot-btn { padding: 0.75rem; text-align: left; border: 2px solid var(--background); background: var(--background); color: var(--foreground); transition: all 0.2s; }
.car-spot-btn:hover { background: var(--secondary); }
.car-spot-btn.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.car-spot-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.2; }
.car-spot-price { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; margin-top: 0.25rem; }
.car-spot-detail { flex: 1; padding: 1.25rem; border: 2px solid var(--background); background: var(--background); color: var(--foreground); }
.car-spot-detail-tier { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.car-spot-detail-label { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin-top: 0.25rem; line-height: 1.2; }
.car-spot-detail-blurb { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.75rem; line-height: 1.6; }
.car-spot-detail-cta { margin-top: 1.25rem; display: inline-flex; }

.benefits-grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.benefit-card { padding: 1.25rem; border: 2px solid color-mix(in oklch, var(--background) 20%, transparent); background: color-mix(in oklch, var(--background) 5%, transparent); }
.benefit-icon { display: inline-flex; color: var(--accent); }
.benefit-icon svg { display: block; }
.benefit-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; }
.benefit-desc { font-size: 0.875rem; color: color-mix(in oklch, var(--background) 70%, transparent); margin-top: 0.375rem; }
.benefit-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.benefit-link svg { flex-shrink: 0; }
.benefit-link:hover { color: var(--background); }

/* ---------------------------------------------------------
   SHOP / MERCH
   --------------------------------------------------------- */
.shop-section { padding: 5rem 0; background: var(--background); }
@media (min-width: 1024px) { .shop-section { padding: 7rem 0; } }
.shop-header { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .shop-header { flex-direction: row; align-items: flex-end; } }
.shop-heading { font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-header-note { color: var(--muted-foreground); max-width: 28rem; font-size: 0.875rem; }
@media (min-width: 640px) { .shop-header-note { font-size: 1rem; } }

.shop-subheading { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 1rem; }
.shop-categories { margin-bottom: 2.5rem; }
.shop-categories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .shop-categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem; border: 2px solid var(--foreground); background: var(--card);
  box-shadow: var(--shadow-brutal); text-align: center; transition: all 0.2s;
}
.shop-category-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-brutal-lg); }
.shop-category-icon { color: var(--primary); }
.shop-category-text { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.shop-featured { margin-bottom: 2.5rem; }
.shop-featured-grid { margin-bottom: 0; }

.theme-product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
  display: flex; flex-direction: column; height: 100%;
  border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
  transition: all 0.2s var(--transition-smooth);
}
.theme-product-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-brutal-lg); }

.theme-product-card__image-link { display: block; position: relative; z-index: 1; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--secondary); border-bottom: 2px solid var(--foreground); }
.theme-product-card__info { position: relative; z-index: 2; }
.product-card-actions { position: relative; z-index: 3; }
.product-card-actions .product-add-btn,
.product-card-actions .product-preorder-btn { position: relative; z-index: 3; pointer-events: auto; }
.theme-product-card:hover .theme-product-card__image-wrapper .product-card-img { transform: scale(1.05); }
.theme-product-card__image-wrapper .product-card-img { transition: transform 0.5s; }
.product-tag {
  position: absolute; top: 0.75rem; left: 0.75rem; background: var(--accent); color: var(--accent-foreground);
  border: 2px solid var(--foreground); padding: 0.25rem 0.5rem; font-size: 0.625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
}
.product-tag--detail { top: 1rem; left: 1rem; padding: 0.375rem 0.75rem; font-size: 0.6875rem; }

.theme-product-card__info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.theme-product-card-title-link:hover .product-card-title { color: var(--primary); }
.product-card-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; line-height: 1.2; transition: color 0.15s; }
.product-card-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.375rem; flex: 1; }
.product-card-footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.product-card-price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.product-card-actions { display: flex; gap: 0.5rem; }
.product-add-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
  border: 2px solid var(--foreground); background: var(--background); transition: all 0.2s;
}
.product-add-btn:hover { background: var(--foreground); color: var(--background); }
.product-preorder-btn { padding: 0.5rem 1rem; font-size: 0.6875rem; }

.shop-footer-note { margin-top: 2.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.shop-footer-note a { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-section { padding: 5rem 0; background: var(--background); }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-container { max-width: 56rem; }
.faq-intro { text-align: center; margin-bottom: 3rem; }
.faq-heading { font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .faq-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3.75rem; } }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; text-align: left; }
.faq-question span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; }
@media (min-width: 640px) { .faq-question span { font-size: 1.125rem; } }
.faq-icon-plus, .faq-icon-minus { flex-shrink: 0; color: var(--primary); }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: block; }
.faq-answer {
  padding: 0 1.25rem; max-height: 0; overflow: hidden; color: var(--muted-foreground);
  font-size: 0.875rem; line-height: 1.7; transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease; opacity: 0;
}
@media (min-width: 640px) { .faq-answer { font-size: 1rem; } }
.faq-item.is-open .faq-answer { padding: 0 1.25rem 1.25rem; max-height: 500px; opacity: 1; }

/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */
.contact-section { position: relative; padding: 5rem 0; background: var(--foreground); color: var(--background); }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-bg-pattern {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(to right, color-mix(in oklch, var(--background) 6%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in oklch, var(--background) 6%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-intro { min-width: 0; }
.contact-title { font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-paragraph { margin-top: 1.25rem; color: color-mix(in oklch, var(--background) 75%, transparent); font-size: 1rem; line-height: 1.7; max-width: 28rem; }
@media (min-width: 640px) { .contact-paragraph { font-size: 1.125rem; } }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.contact-card {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--background); color: var(--foreground);
  border: 2px solid var(--background); transition: all 0.2s; box-shadow: 4px 4px 0 0 var(--primary);
}
@media (min-width: 640px) { .contact-card { gap: 1rem; padding: 1.25rem; } }
.contact-card:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.contact-card--static { background: color-mix(in oklch, var(--background) 5%, transparent); color: var(--background); border-color: color-mix(in oklch, var(--background) 20%, transparent); box-shadow: none; }
.contact-card--static:hover { background: color-mix(in oklch, var(--background) 5%, transparent); color: var(--background); }
.contact-card-icon {
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--foreground); color: var(--background); border: 2px solid var(--foreground);
}
@media (min-width: 640px) { .contact-card-icon { width: 3rem; height: 3rem; } }
.contact-card-icon--outline { background: transparent; color: inherit; border-color: color-mix(in oklch, var(--background) 30%, transparent); }
.contact-card-text { min-width: 0; }
.contact-card-label { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.contact-card-value {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.875rem;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
@media (min-width: 640px) { .contact-card-value { font-size: 1.125rem; } }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.site-footer { background: var(--foreground); color: var(--background); border-top: 2px solid var(--foreground); }
.site-footer-inner { padding: 3.5rem 0 5rem; }
@media (min-width: 1024px) { .site-footer-inner { padding: 5rem 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-col--brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-col--brand { grid-column: span 2; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-img { width: 3rem; height: 3rem; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.02em; }
.footer-tagline { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; max-width: 28rem; color: color-mix(in oklch, var(--background) 70%, transparent); }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.footer-social-link:hover { color: var(--accent); }
.footer-col-label { font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: var(--primary); }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer-links a, .footer-links button { color: color-mix(in oklch, var(--background) 70%, transparent); transition: color 0.15s; background: none; border: none; padding: 0; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: var(--accent); }
.footer-links--contact li { display: flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in oklch, var(--background) 70%, transparent); }
.footer-links--contact svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-links--contact .footer-mailto { word-break: break-all; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in oklch, var(--background) 15%, transparent); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: color-mix(in oklch, var(--background) 50%, transparent); margin: 0; }
.footer-credit a { text-decoration: underline; }
.footer-credit a:hover { color: var(--accent); }

/* ---------------------------------------------------------
   404
   --------------------------------------------------------- */
.notfound-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--secondary); padding: 6rem 1.5rem; }
.notfound-box { text-align: center; }
.notfound-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.notfound-text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.notfound-link { color: var(--primary); text-decoration: underline; }
.notfound-link:hover { color: color-mix(in oklch, var(--primary) 90%, transparent); }

/* ---------------------------------------------------------
   GENERIC PAGE (non-front-page)
   --------------------------------------------------------- */
.page-main { padding: 6rem 0 5rem; min-height: 60vh; }
@media (min-width: 1024px) { .page-main { padding: 8rem 0 5rem; } }
.page-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; }

/* ---------------------------------------------------------
   PRODUCT DETAIL PAGE
   --------------------------------------------------------- */
.product-main { padding: 6rem 0 5rem; background: var(--background); min-height: 100vh; min-width: 0; }
@media (min-width: 1024px) { .product-main { padding: 8rem 0 5rem; } }
.product-back-link, .product-back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-foreground); margin-bottom: 2rem;
}
.product-back-link:hover { color: var(--primary); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.product-gallery, .product-info { min-width: 0; max-width: 100%; }
.product-image-frame {
  position: relative; aspect-ratio: 1/1; background: var(--secondary);
  border: 2px solid var(--foreground); box-shadow: var(--shadow-brutal); overflow: hidden;
}
.product-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; margin-top: 0.75rem; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.75rem; } }
.product-price { margin-top: 1rem; font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; }
.product-long-desc { margin-top: 1.5rem; font-size: 1rem; color: var(--muted-foreground); line-height: 1.625; overflow-wrap: break-word; word-break: break-word; }
.product-details-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.product-details-list svg { color: var(--primary); flex-shrink: 0; }
.product-qty-row { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.product-qty-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.theme-quantity-wrapper { display: flex; align-items: center; border: 2px solid var(--foreground); }
.theme-qty-minus, .theme-qty-plus { width: 2.5rem; height: 2.5rem; font-weight: 700; transition: all 0.15s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--foreground); color: var(--background); }
.theme-qty-input {
  width: 3rem; text-align: center; font-weight: 700; border: none; border-left: 2px solid var(--foreground); border-right: 2px solid var(--foreground);
  height: 2.5rem; -moz-appearance: textfield; background: transparent; color: inherit;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-preorder-now-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem; font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; border: 2px solid var(--foreground); background: var(--foreground); color: var(--background); transition: all 0.2s;
}
.product-preorder-now-btn:hover { background: var(--primary); border-color: var(--primary); }
.product-preorder-note { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.product-related { margin-top: 5rem; }
.product-related-heading { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 1.5rem; }
.product-related-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
@media (min-width: 640px) { .product-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .product-related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.product-related-card { display: block; border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); overflow: hidden; transition: all 0.2s; }
.product-related-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-brutal-lg); }
.product-related-image-wrap { position: relative; aspect-ratio: 1/1; background: var(--secondary); border-bottom: 2px solid var(--foreground); overflow: hidden; }
.product-related-image-wrap .product-card-img { transition: transform 0.5s; }
.product-related-card:hover .product-related-image-wrap .product-card-img { transform: scale(1.05); }
.product-related-footer { padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.product-related-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.product-related-price { font-family: var(--font-display); font-weight: 800; }

/* ---------------------------------------------------------
   ADD-TO-CART FEEDBACK BUTTON STATES
   --------------------------------------------------------- */
.product-add-to-cart-btn.is-added svg { display: none; }
.is-loading { opacity: 0.6; pointer-events: none; cursor: wait; }

/* ---------------------------------------------------------
   CART PAGE
   --------------------------------------------------------- */
.cart-main, .checkout-main { padding: 6rem 0 5rem; background: var(--background); min-height: 100vh; }
@media (min-width: 1024px) { .cart-main, .checkout-main { padding: 8rem 0 5rem; } }
.cart-container { max-width: 64rem; margin: 0 auto; }
.checkout-container { max-width: 72rem; margin: 0 auto; }
.cart-back-link, .checkout-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-foreground); margin-bottom: 1.5rem;
}
.cart-back-link:hover, .checkout-back-link:hover { color: var(--primary); }
.cart-title, .checkout-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1; font-size: 2.25rem; }
@media (min-width: 640px) { .cart-title, .checkout-title { font-size: 3rem; } }
@media (min-width: 1024px) { .cart-title, .checkout-title { font-size: 3.75rem; } }
.cart-item-count { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.checkout-intro { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 36rem; }
.cart-empty-state, .checkout-empty-state {
  margin-top: 3rem; border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
  padding: 2.5rem; text-align: center;
}
.cart-empty-state p, .checkout-empty-state p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.cart-filled-grid { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .cart-filled-grid { grid-template-columns: 1fr 360px; } }
.cart-items-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item-row {
  display: flex; gap: 1rem; align-items: center; padding: 1rem;
  border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
}
.cart-item-thumb { width: 6rem; height: 6rem; flex-shrink: 0; background: var(--secondary); border: 2px solid var(--foreground); overflow: hidden; position: relative; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 640px) { .cart-item-thumb { width: 7rem; height: 7rem; } }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 640px) { .cart-item-title { font-size: 1.125rem; } }
.cart-item-title:hover { color: var(--primary); }
.cart-item-each { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.cart-item-controls { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.cart-qty-wrap { display: flex; align-items: center; border: 2px solid var(--foreground); }
.cart-qty-wrap button { width: 2rem; height: 2rem; font-weight: 700; }
.cart-qty-wrap button:hover { background: var(--foreground); color: var(--background); }
.cart-qty-value { width: 2.5rem; text-align: center; font-weight: 700; font-size: 0.875rem; }
.cart-item-remove { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.cart-item-remove:hover { color: var(--primary); }
.cart-item-total { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }
@media (min-width: 640px) { .cart-item-total { font-size: 1.25rem; } }

.cart-summary, .checkout-summary {
  border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
  padding: 1.5rem; height: fit-content;
}
@media (min-width: 1024px) { .cart-summary, .checkout-summary { position: sticky; top: 7rem; } }
.cart-summary-title, .checkout-summary-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.cart-summary-rows, .checkout-summary-rows { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.cart-summary-row, .checkout-summary-row { display: flex; justify-content: space-between; }
.cart-summary-row span:first-child, .checkout-summary-row span:first-child { color: var(--muted-foreground); }
.cart-summary-row span:last-child, .checkout-summary-row span:last-child { font-weight: 700; }
.cart-summary-total, .checkout-summary-total {
  border-top: 2px solid var(--foreground); margin-top: 1rem; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center;
}
.cart-summary-total span:first-child, .checkout-summary-total span:first-child { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.cart-summary-total span:last-child, .checkout-summary-total span:last-child { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.cart-checkout-btn, .checkout-submit-btn { width: 100%; margin-top: 1.5rem; padding: 1rem 1.25rem; }
.cart-summary-note, .checkout-summary-note { margin-top: 0.75rem; font-size: 0.6875rem; color: var(--muted-foreground); text-align: center; }

/* ---------------------------------------------------------
   CHECKOUT PAGE FORM
   --------------------------------------------------------- */
.checkout-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.checkout-fields { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.checkout-summary { min-width: 0; }
.checkout-section-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; margin-bottom: 1rem; }
.checkout-field-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.checkout-field { display: block; flex: 1 1 100%; min-width: 0; }
@media (min-width: 640px) {
  .checkout-field { flex: 1 1 calc(50% - 0.5rem); }
  .checkout-field--full { flex: 1 1 100%; }
}
.checkout-field-label { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.checkout-field .req { color: var(--primary); }
.checkout-field input,
.checkout-field select,
.checkout-textarea {
  margin-top: 0.375rem !important;
  width: 100% !important;
  border: 2px solid var(--foreground) !important;
  background: var(--background) !important;
  color: var(--foreground) !important;
  padding: 0.75rem !important;
  font-size: 0.875rem !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.checkout-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--primary) !important;
}
.checkout-textarea { resize: vertical; min-height: 5rem; }
.checkout-summary-items { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.checkout-item-row { display: flex; align-items: center; gap: 0.75rem; }
.checkout-item-thumb { width: 3.5rem; height: 3.5rem; background: var(--secondary); border: 2px solid var(--foreground); overflow: hidden; flex-shrink: 0; position: relative; }
.checkout-item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-title { font-weight: 700; font-size: 0.875rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.checkout-item-qty { font-size: 0.75rem; color: var(--muted-foreground); }
.checkout-item-price { font-weight: 700; }

.checkout-confirmed { max-width: 36rem; margin: 0 auto; text-align: center; }
.checkout-confirmed-box { border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); padding: 2.5rem; }
@media (min-width: 640px) { .checkout-confirmed-box { padding: 2.5rem 3rem; } }
.checkout-confirmed-icon {
  width: 4rem; height: 4rem; margin: 0 auto; background: var(--primary); color: var(--primary-foreground);
  border: 2px solid var(--foreground); display: flex; align-items: center; justify-content: center;
}
.checkout-confirmed-title { font-weight: 800; text-transform: uppercase; margin-top: 1.5rem; font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 640px) { .checkout-confirmed-title { font-size: 2.25rem; } }
.checkout-confirmed-text { margin-top: 1rem; color: var(--muted-foreground); }
.checkout-confirmed-home-btn { margin-top: 2rem; padding: 0.75rem 1.5rem; font-size: 0.75rem; }

/* ---------------------------------------------------------
   WOOCOMMERCE CART / CHECKOUT OVERRIDES
   --------------------------------------------------------- */
.ddr-wc-commerce .woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.ddr-wc-commerce .woocommerce-message,
.ddr-wc-commerce .woocommerce-info,
.ddr-wc-commerce .woocommerce-error {
  border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal);
  padding: 1rem 1.25rem; margin-bottom: 1rem; list-style: none;
}
.ddr-wc-commerce .cart-actions-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.ddr-wc-commerce .cart-actions-row .button { border: 2px solid var(--foreground); background: var(--background); padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.ddr-wc-commerce .cart-actions-row .button:hover { background: var(--foreground); color: var(--background); }
.ddr-wc-commerce .cart-collaterals { width: 100%; }
.ddr-wc-commerce .cart_totals { border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); padding: 1.5rem; }
.ddr-wc-commerce .cart_totals > h2 { display: none; }
.ddr-wc-commerce .wc-proceed-to-checkout { margin-top: 1.5rem; }
.ddr-wc-commerce .product-quantity .quantity { display: flex; align-items: center; border: 2px solid var(--foreground); }
.ddr-wc-commerce .product-quantity .qty { width: 2.5rem; text-align: center; font-weight: 700; border: none; border-left: 2px solid var(--foreground); border-right: 2px solid var(--foreground); height: 2rem; background: transparent; }
.ddr-wc-commerce .checkout-grid.woocommerce-checkout { display: grid; grid-template-columns: minmax(0,1fr); gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) {
  .ddr-wc-commerce .checkout-grid.woocommerce-checkout { grid-template-columns: minmax(0,1fr) 380px; gap: 2.5rem; align-items: start; }
}
.ddr-wc-commerce .checkout-summary-wrap { border: 2px solid var(--foreground); background: var(--card); box-shadow: var(--shadow-brutal); padding: 1.5rem; }
@media (min-width: 1024px) { .ddr-wc-commerce .checkout-summary-wrap { position: sticky; top: 7rem; } }
.ddr-wc-commerce .woocommerce-billing-fields__field-wrapper,
.ddr-wc-commerce .woocommerce-shipping-fields__field-wrapper,
.ddr-wc-commerce .checkout-field-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.ddr-wc-commerce .form-row { flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; }
@media (min-width: 640px) {
  .ddr-wc-commerce #billing_first_name_field,
  .ddr-wc-commerce #billing_last_name_field,
  .ddr-wc-commerce #billing_email_field,
  .ddr-wc-commerce #billing_phone_field,
  .ddr-wc-commerce #shipping_first_name_field,
  .ddr-wc-commerce #shipping_last_name_field,
  .ddr-wc-commerce #shipping_city_field,
  .ddr-wc-commerce #shipping_state_field,
  .ddr-wc-commerce #shipping_postcode_field,
  .ddr-wc-commerce #billing_city_field,
  .ddr-wc-commerce #billing_state_field,
  .ddr-wc-commerce #billing_postcode_field { flex: 1 1 calc(50% - 0.5rem); }
  .ddr-wc-commerce #billing_address_1_field,
  .ddr-wc-commerce #shipping_address_1_field,
  .ddr-wc-commerce #order_comments_field { flex: 1 1 100%; }
}
.ddr-wc-commerce .ddr-wc-input,
.ddr-wc-commerce input.input-text,
.ddr-wc-commerce select,
.ddr-wc-commerce textarea {
  width: 100%; margin-top: 0.375rem; border: 2px solid var(--foreground); background: var(--background);
  padding: 0.75rem; font-size: 0.875rem; color: inherit;
}
.ddr-wc-commerce .ddr-wc-input:focus,
.ddr-wc-commerce input.input-text:focus,
.ddr-wc-commerce select:focus,
.ddr-wc-commerce textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.ddr-wc-commerce .woocommerce-checkout-payment { margin-top: 1.5rem; }
.ddr-wc-commerce .wc_payment_methods { list-style: none; margin: 0 0 1rem; padding: 0; }
.ddr-wc-commerce .wc_payment_method { border: 2px solid var(--foreground); padding: 0.75rem 1rem; margin-bottom: 0.5rem; background: var(--background); }
.ddr-wc-commerce .place-order .button { width: 100%; }
.ddr-wc-commerce .checkout-confirmed-wrap .woocommerce-order { margin: 0; }
.ddr-wc-commerce .checkout-section { margin-bottom: 0; }
.ddr-wc-commerce .col2-set { display: block; width: 100%; }
.ddr-wc-commerce .col2-set .col-1,
.ddr-wc-commerce .col2-set .col-2 { width: 100%; float: none; }

/* ---------------------------------------------------------
   PRODUCT CARD IMAGE-LINK NO-GAP RULE
   --------------------------------------------------------- */
.theme-product-card__image-link, .product-related-image-wrap { display: block; }
.theme-product-card__image-link img, .product-related-image-wrap img,
.product-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------------------------------------------------------
   SIDE CART DRAWER
   --------------------------------------------------------- */
.theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in oklch, var(--foreground) 50%, transparent);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.theme-cart-overlay.is-open { opacity: 1; visibility: visible; }
.theme-cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 70;
  width: min(100%, 24rem); height: 100%;
  background: var(--background);
  border-left: 2px solid var(--foreground);
  transform: translateX(100%);
  transition: transform 0.3s var(--transition-smooth);
  display: flex; flex-direction: column;
}
.theme-cart-drawer.is-open { transform: translateX(0); }
.theme-cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 2px solid var(--foreground);
}
.theme-cart-drawer-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; }
.theme-cart-drawer-close {
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--foreground);
}
.theme-cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-drawer-item { display: flex; gap: 0.75rem; align-items: center; }
.theme-cart-drawer-thumb {
  width: 4rem; height: 4rem; flex-shrink: 0; position: relative; overflow: hidden;
  background: var(--secondary); border: 2px solid var(--foreground);
}
.theme-cart-drawer-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.theme-cart-drawer-item-info { flex: 1; min-width: 0; }
.theme-cart-drawer-item-title { font-weight: 700; font-size: 0.875rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.theme-cart-drawer-item-qty { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-drawer-item-price { font-weight: 700; font-size: 0.875rem; }
.theme-cart-drawer-empty { color: var(--muted-foreground); font-size: 0.875rem; text-align: center; padding: 2rem 0; }
.theme-cart-drawer-footer { padding: 1rem 1.25rem; border-top: 2px solid var(--foreground); }
.theme-cart-drawer-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; margin-bottom: 1rem; }
.theme-cart-drawer-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-cart-drawer-actions .brutal-btn { width: 100%; font-size: 0.75rem; padding: 0.75rem 1rem; }
.theme-cart-drawer-actions .theme-cart-view-link {
  text-align: center; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.theme-cart-drawer-actions .theme-cart-view-link:hover { color: var(--primary); }

/* Newsletter embed */
.footer-newsletter { margin-top: 1.5rem; max-width: 28rem; }
.footer-newsletter-link { display: inline-flex; font-size: 0.75rem; padding: 0.75rem 1rem; }

/* Cart toast notification */
.ddr-cart-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10050;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--foreground);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-brutal);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth);
}
.ddr-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   INTERACTIVE CURSOR
   --------------------------------------------------------- */
a[href], button, .brutal-btn, .btn-hero-primary, .btn-hero-outline, .btn-hero-accent,
.site-icon-btn, .site-menu-toggle, .theme-cart-drawer-close, .product-add-btn,
.product-preorder-btn, .faq-question, .theme-nav-link, .theme-cart-view-link,
.sponsor-chip, .contact-card, .shop-category-card, .tier-cta, .car-spot-btn,
.product-related-card, .theme-product-card__image-link, .theme-product-card-title-link,
.cart-item-title, .cart-item-remove, .theme-cart-drawer-item-title, .benefit-link,
.footer-social-link, .footer-links a, .footer-mailto, .footer-tel, .footer-newsletter-link,
.product-back-link, .cart-back-link, .checkout-back-link, .notfound-link {
  cursor: pointer;
}
button:disabled, .is-loading { cursor: wait; }
