/* ══════════════════════════════════════════════════════════
   TYPE 19 SPECIALISTS — STYLESHEET
   LI10 Design System · Dark Dominant · Industrial/Technical
   ══════════════════════════════════════════════════════════ */

@import url('variables.css');

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;450;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Skip to Content ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-text);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  max-width: var(--max-width-text);
}

.text-mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

.text-muted {
  color: var(--color-text-secondary);
}

/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-element);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* Asymmetric grids — NOT 12-col bootstrap */
.grid-7-5 {
  display: grid;
  grid-template-columns: 58.33% 41.67%;
  gap: var(--gap-grid);
  align-items: center;
}

.grid-5-7 {
  display: grid;
  grid-template-columns: 41.67% 58.33%;
  gap: var(--gap-grid);
  align-items: center;
}

.grid-8-4 {
  display: grid;
  grid-template-columns: 66.67% 33.33%;
  gap: var(--gap-grid);
  align-items: center;
}

@media (max-width: 768px) {
  .grid-7-5,
  .grid-5-7,
  .grid-8-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Remove inline padding-left on product description when stacked */
  .grid-5-7 > *:last-child {
    padding-left: 0 !important;
  }
}

/* ══════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-tight) 0;
  transition: background var(--duration-medium) var(--ease-out),
              padding var(--duration-medium) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(23, 37, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-micro) 0;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-element);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 108px;
  width: auto;
  transition: height var(--duration-medium) var(--ease-out);
}

.scrolled .logo img {
  height: 64px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-desktop a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  padding: var(--space-micro) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-text);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Nav Overlay ──
   Solid dark background over a 90% opaque layer so nothing behind bleeds
   through. Items scroll if the list exceeds viewport height. */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-background);
  background-image: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 40%);
  z-index: 105;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 96px var(--space-element) var(--space-element);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity var(--duration-medium) var(--ease-out);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Mobile menu close button ──
   Visible X anchored to the top-right of the menu overlay so users have
   an obvious way to dismiss it without hunting for the hamburger. */
.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.nav-close:hover,
.nav-close:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}

.nav-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-tight) var(--space-element);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.nav-mobile a:last-child { border-bottom: 0; }

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .nav-mobile { display: flex; }
  .nav-close { display: flex; }

  .logo img {
    height: 64px;
  }

  .scrolled .logo img {
    height: 44px;
  }

  .site-header {
    padding: var(--space-micro) 0;
  }
}

/* ══════════════════════════════════════
   HERO — Pattern B (The Split)
   ══════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-hero);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  padding: var(--space-xl) var(--space-element) var(--space-xl) 0;
  padding-left: max(var(--space-element), calc((100vw - var(--max-width)) / 2 + var(--space-element)));
  overflow: visible;
}

.hero h1 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: none;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero h1 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: var(--text-4xl);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 48ch;
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: var(--space-tight);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, var(--color-background), transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: var(--space-md) var(--space-element) var(--space-lg);
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-sub {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-image {
    min-height: 280px;
    max-height: 45vh;
  }

  .hero-image::after {
    width: 100%;
    height: 60px;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, var(--color-background), transparent);
  }
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-micro);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  letter-spacing: 0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(113, 24, 24, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border-strong);
  padding: 14px 30px;
}

.btn-secondary:hover {
  border-color: var(--color-text);
  background: var(--color-surface);
}

@media (max-width: 768px) {
  .btn {
    min-height: 48px;
    padding: 14px 24px;
    font-size: var(--text-base);
  }
}

/* ══════════════════════════════════════
   SECTIONS — General
   ══════════════════════════════════════ */

.section {
  padding: var(--space-section) 0;
}

.section--tight {
  padding: var(--space-section-tight) 0;
}

.section--light {
  background: var(--color-surface-light);
  color: var(--color-text-on-light);
}

.section--surface {
  background: var(--color-surface);
}

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.section--light .section-label {
  color: var(--color-primary);
}

.section-title {
  margin-bottom: var(--space-block);
}

.section--light .text-muted {
  color: var(--color-text-on-light-secondary);
}

/* ── Divider line ── */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.section--light .divider {
  border-color: var(--color-border-on-light);
}

/* ══════════════════════════════════════
   SERVICES — Pattern A (Numbered Stack)
   ══════════════════════════════════════ */

.services-stack {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-element);
  align-items: center;
  padding: var(--space-block) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration-fast) var(--ease-out);
  cursor: default;
}

.service-row:first-child {
  border-top: 1px solid var(--color-border);
}

.service-row:hover {
  background: var(--color-surface);
  margin: 0 calc(-1 * var(--space-element));
  padding-left: var(--space-element);
  padding-right: var(--space-element);
}

.service-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-muted);
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-out);
}

.service-row:hover .service-number {
  color: var(--color-primary);
}

.service-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-micro);
}

.service-body p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.section--light .service-body p {
  color: var(--color-text-on-light-secondary);
}

.section--light .service-row {
  border-color: var(--color-border-on-light);
}

.section--light .service-number {
  color: var(--color-border-on-light);
}

.section--light .service-row:hover .service-number {
  color: var(--color-primary);
}

.section--light .service-row:hover {
  background: var(--color-surface-light-alt);
}

.service-arrow {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--duration-fast) var(--ease-out);
}

.service-row:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 40px 1fr;
    padding: var(--space-element) 0;
    gap: var(--space-tight);
  }

  .service-number {
    font-size: var(--text-xl);
  }

  .service-body h3 {
    font-size: var(--text-lg);
  }

  .service-arrow {
    display: none;
  }

  .service-row:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ══════════════════════════════════════
   ABOUT PREVIEW
   ══════════════════════════════════════ */

.about-preview {
  display: grid;
  grid-template-columns: 58.33% 41.67%;
  gap: var(--gap-grid);
  align-items: center;
}

.about-preview-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}

.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-medium) var(--ease-out);
}

.about-preview-image:hover img {
  transform: scale(1.02);
}

.about-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.about-stat {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.about-stat--four {
  gap: var(--space-xl);
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-micro);
}

@media (max-width: 768px) {
  .about-preview {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-preview-image {
    order: -1;
  }

  .about-stat {
    gap: var(--space-md);
  }

  .about-stat--four {
    gap: var(--space-md) var(--space-lg);
  }

  /* 2-column grid on mobile so 15 + 16V sit on top, UK + SLS sit beneath */
  .about-stat--four .stat-item {
    flex: 0 0 calc(50% - (var(--space-lg) / 2));
    min-width: 0;
  }

  .stat-value {
    font-size: var(--text-2xl);
  }
}

/* ══════════════════════════════════════
   USPs / TRUST
   ══════════════════════════════════════ */

.usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}

.usp-item {
  padding: var(--space-block);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.usp-item:hover {
  border-color: var(--color-primary);
}

.usp-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-tight);
}

.usp-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-micro);
}

.usp-item p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .usps {
    grid-template-columns: 1fr;
    gap: var(--space-tight);
  }

  .usp-item {
    padding: var(--space-element);
  }

  .usp-number {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-micro);
  }
}

/* ══════════════════════════════════════
   TESTIMONIALS — Pattern A (Single Statement)
   ══════════════════════════════════════ */

.testimonial-statement {
  text-align: left;
  max-width: var(--max-width-narrow);
}

.testimonial-quote {
  font-family: 'Georgia', serif;
  font-size: var(--text-3xl);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: var(--text-5xl);
  color: var(--color-primary);
  position: absolute;
  top: -0.3em;
  left: -0.05em;
  line-height: 1;
  font-style: normal;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}

.testimonial-role {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.testimonial-divider {
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: var(--text-xl);
  }

  .testimonial-quote::before {
    font-size: var(--text-3xl);
    top: -0.2em;
  }
}

/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */

.cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: var(--color-text-secondary);
  max-width: 50ch;
  margin: 0 auto var(--space-md);
}

.cta-section .hero-actions {
  justify-content: center;
}

@media (max-width: 768px) {
  .cta-section {
    padding: var(--space-lg) 0;
  }

  .cta-section h2 {
    font-size: var(--text-2xl);
  }

  .cta-section .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-section-tight);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--gap-cards);
  padding-bottom: var(--space-block);
  border-bottom: 1px solid var(--color-border);
}

.footer-brand .logo {
  margin-bottom: var(--space-tight);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  max-width: 30ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-tight);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-micro);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-element) 0;
  flex-wrap: wrap;
  gap: var(--space-tight);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-credit {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-credit a {
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-credit a:hover {
  color: var(--color-text);
}

.footer-social {
  display: flex;
  gap: var(--space-tight);
}

.footer-social a {
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: var(--space-block);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-element);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   FORM INPUTS
   ══════════════════════════════════════ */

input, textarea, select {
  padding: 14px 16px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-surface);
  color: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-muted);
}

input::placeholder, textarea::placeholder {
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 300ms; }

/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════
   PRODUCT CARD (Shop preview)
   ══════════════════════════════════════ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-cards);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: var(--color-surface-elevated);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-medium) var(--ease-out);
}

.product-card:hover .product-card-image img {
  transform: scale(1.02);
}

.product-card-body {
  padding: var(--space-element);
}

.product-card-category {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-micro);
}

.product-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-micro);
}

.product-card-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-tight);
}

.product-card-sku {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.product-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-micro);
}

.product-card-compare-price {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-right: 6px;
}

.product-card-vat {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: 4px;
}

.product-card-enquiry {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.product-card-image {
  position: relative;
}

.product-card-image .stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-elevated);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   STOCK BADGE
   ══════════════════════════════════════ */

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  line-height: 1.4;
}

.stock-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-badge--in { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.stock-badge--in::before { background: #10B981; }
.stock-badge--low { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.stock-badge--low::before { background: #F59E0B; animation: pulse-dot 2s infinite; }
.stock-badge--out { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.stock-badge--out::before { background: #EF4444; }
.stock-badge--preorder { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.stock-badge--preorder::before { background: #3B82F6; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ══════════════════════════════════════
   PRODUCT FLASH BANNER (thumbnail + detail)
   Variant-driven corner ribbon / pill
   ══════════════════════════════════════ */

.product-flash {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px 5px 11px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 2px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* On the product detail page the banner is larger */
.product-flash--detail {
  top: 16px;
  left: 16px;
  font-size: 11px;
  padding: 7px 14px;
}

/* Variants — feature-flag future banner states */
.product-flash--in_production { background: #F59E0B; color: #0E0E0E; }
.product-flash--coming_soon   { background: #3B82F6; color: #fff; }
.product-flash--new           { background: #10B981; color: #0E0E0E; }
.product-flash--limited       { background: #8B5CF6; color: #fff; }
.product-flash--preorder      { background: #3B82F6; color: #fff; }
.product-flash--sale          { background: var(--color-primary); color: #fff; }

/* Subtle diagonal "chevron" tail on the ribbon — purely decorative */
.product-flash::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(0, 0, 0, 0.25);
}

/* ══════════════════════════════════════
   EMAIL SIGNUP (Footer + Product Page)
   ══════════════════════════════════════ */

.email-signup {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-element);
  margin: var(--space-block) 0;
  text-align: center;
}

.email-signup h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 4px;
}

.email-signup > p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-tight);
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
}

.email-signup-form {
  display: flex;
  gap: var(--space-micro);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.email-signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
}

.email-signup-form button {
  flex-shrink: 0;
}

.email-signup-status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  margin-top: var(--space-micro);
  min-height: 1.5em;
}

.email-signup-status .success { color: #10B981; }
.email-signup-status .error { color: #EF4444; }

.email-signup-consent {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: var(--space-micro);
}

@media (max-width: 768px) {
  .email-signup-form { flex-direction: column; }
}

/* ══════════════════════════════════════
   WAITLIST FORM
   ══════════════════════════════════════ */

.waitlist-form {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-element);
  margin-top: var(--space-tight);
}

.waitlist-form h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 4px;
}

.waitlist-form p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-tight);
}

.waitlist-form-row {
  display: flex;
  gap: var(--space-micro);
}

.waitlist-status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  margin-top: var(--space-micro);
  min-height: 1.5em;
}

.waitlist-status .success { color: #10B981; }
.waitlist-status .error { color: #EF4444; }

@media (max-width: 768px) {
  .waitlist-form-row { flex-direction: column; }
}

/* ══════════════════════════════════════
   SHOP PAGE
   ══════════════════════════════════════ */

.shop-header {
  margin-bottom: var(--space-block);
}

.shop-header h1 {
  margin-bottom: var(--space-micro);
}

.shop-subtitle {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 50ch;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-cards);
  margin-bottom: var(--space-section);
}

/* ══════════════════════════════════════
   SHOP CATEGORY LANDING GRID
   ══════════════════════════════════════ */
.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap-cards);
  margin-bottom: var(--space-section);
}

.shop-category-tile {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.shop-category-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.shop-category-tile:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.shop-category-tile-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-category-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-element);
  transition: transform 400ms ease;
}
.shop-category-tile:hover .shop-category-tile-image img {
  transform: scale(1.04);
}
.shop-category-tile-placeholder {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.shop-category-tile-body {
  padding: var(--space-element);
  display: flex;
  flex-direction: column;
  gap: var(--space-micro);
  flex: 1;
}
.shop-category-tile-count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.shop-category-tile-title {
  font-size: var(--text-xl);
  margin: 0;
  line-height: 1.15;
}
.shop-category-tile-blurb {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-tight);
  flex: 1;
}
.shop-category-tile-cta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

/* Shop empty state */
.shop-empty {
  padding: var(--space-section) var(--space-element);
  text-align: center;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-section);
}
.shop-empty h2 {
  margin-bottom: var(--space-tight);
}
.shop-empty p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.shop-count-hint {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-tight);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-micro);
  margin-bottom: var(--space-block);
}

.shop-filter-pill {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.shop-filter-pill:hover,
.shop-filter-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-background);
}

.shop-empty {
  text-align: center;
  padding: var(--space-xl) 0;
  color: var(--color-text-secondary);
}

.shop-coming-soon {
  margin-bottom: var(--space-section);
}

.shop-coming-soon-card {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-block);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.shop-coming-soon-card h3 {
  margin-bottom: var(--space-micro);
}

.shop-coming-soon-card p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.shop-info-section {
  margin-bottom: var(--space-section);
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}

.shop-info-item {
  padding: var(--space-element);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.shop-info-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-micro);
}

.shop-info-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.shop-other-categories {
  margin-top: var(--space-section);
  text-align: center;
}

.shop-other-categories h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-tight);
}

.shop-category-links {
  display: flex;
  gap: var(--space-tight);
  justify-content: center;
  flex-wrap: wrap;
}

.shop-category-link {
  padding: 12px 24px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-transform: capitalize;
  transition: all var(--duration-fast) var(--ease-out);
}

.shop-category-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════ */

.breadcrumb {
  margin-bottom: var(--space-block);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-text);
}

.product-detail {
  display: grid;
  /* minmax(0, 1fr) forces equal columns regardless of intrinsic content
     width — without it, a long <select> option (e.g. "Black Edition —
     powder-coated black with zinc-silver ironmongery (+£500.00)") drags
     the right column wider, which shrinks the gallery on products with
     more / longer variant labels. Now KR / 9A / EV all render at the
     same gallery dimensions. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-section);
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 120px;
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-tight);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-micro);
  overflow-x: auto;
}

.product-gallery-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: var(--color-surface-elevated);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--color-primary);
}

/* Info Column */
.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-tight);
}

.product-info-category {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.product-info-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
}

.product-rating-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-rating-stars {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  letter-spacing: 2px;
}

.product-rating-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Price */
.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price-current {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
}

.product-price-compare {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-price-vat {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product-price-enquiry {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
}

/* Prominent VW part-number badge — first-class signal for niche search */
.product-part-number-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  margin: var(--space-tight) 0 var(--space-micro);
  background: rgba(113, 24, 24, 0.12);
  border: 1px solid rgba(113, 24, 24, 0.3);
  border-radius: 4px;
  font-family: var(--font-mono);
}
.product-part-number-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.product-part-number-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

/* SKU + secondary OEM echo */
.product-info-oem {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.product-info-oem-secondary {
  font-size: 11px;
  opacity: 0.85;
}

.product-info-divider {
  color: var(--color-border-strong);
}

/* Variants */
.product-variants {
  display: flex;
  flex-direction: column;
  gap: var(--space-tight);
  margin: var(--space-tight) 0;
}

.product-variant-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-variant-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}

.product-variant-required {
  color: #EF4444;
  margin-left: 2px;
}

.product-variant-select {
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Add to Cart */
.product-action-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-tight);
  margin: var(--space-tight) 0;
}

.product-cart-row {
  display: flex;
  gap: var(--space-tight);
  align-items: stretch;
}

.product-qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.product-qty-btn {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  padding: 0;
}

.product-qty-btn:hover {
  background: var(--color-surface-elevated);
}

.product-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 600;
  -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-add-to-cart {
  flex: 1;
  font-size: var(--text-lg);
  padding: 16px 32px;
  text-align: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--text-lg);
}

.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 768px) {
  .product-cart-row {
    flex-direction: column;
  }
  .product-qty-selector {
    align-self: flex-start;
  }
}

/* Trust Signals */
.product-trust-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: var(--space-tight) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-trust-signals li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-trust-signals svg {
  color: #10B981;
  flex-shrink: 0;
}

/* Delivery */
.product-delivery-estimate {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-tight);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-md);
}

.product-delivery-estimate strong {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-block);
  }

  .product-gallery {
    position: static;
  }

  .product-info-title {
    font-size: var(--text-2xl);
  }

  .product-price-current {
    font-size: var(--text-2xl);
  }

  .product-trust-signals {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   PRODUCT TABS
   ══════════════════════════════════════ */

.product-tabs {
  margin-bottom: var(--space-section);
}

.product-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-block);
  overflow-x: auto;
}

.product-tab {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 12px 24px;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.product-tab:hover {
  color: var(--color-text);
}

.product-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

.product-long-description {
  max-width: 70ch;
  line-height: 1.7;
}

.product-long-description .product-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.product-long-description h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-tight);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.product-long-description h3:first-child { margin-top: 0; }

.product-long-description p {
  margin: var(--space-tight) 0 var(--space-md);
}

.product-long-description ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: var(--space-tight) 0 var(--space-md);
  columns: 1;
}

.product-long-description li {
  margin-bottom: 6px;
  color: var(--color-text-secondary);
}

.product-long-description strong {
  color: var(--color-text);
}

.product-material-callout {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-element);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-material-callout strong {
  color: var(--color-text);
}

/* Specs table */
.product-specs {
  width: 100%;
  border-collapse: collapse;
}

.product-specs th,
.product-specs td {
  padding: 12px 16px;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.product-specs th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
}

.product-specs td {
  color: var(--color-text-secondary);
}

/* Fitment */
.product-engine-codes {
  list-style: none;
  margin: var(--space-tight) 0 var(--space-md);
}

.product-engine-codes li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.product-engine-codes strong {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--color-primary);
  margin-right: 8px;
}

.product-fitment-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-micro);
  margin-top: var(--space-tight);
}

.product-fitment-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  color: var(--color-text-muted);
}

.product-fitment-help {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-fitment-help a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ══════════════════════════════════════
   CROSS-SELL
   ══════════════════════════════════════ */

.cross-sell-section {
  margin: var(--space-section) 0;
  padding-top: var(--space-block);
  border-top: 1px solid var(--color-border);
}

.cross-sell-heading {
  font-size: var(--text-xl);
  margin-bottom: var(--space-block);
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap-cards);
  margin-bottom: var(--space-tight);
}

.cross-sell-add-all {
  margin-top: var(--space-tight);
}

/* ══════════════════════════════════════
   RECENTLY VIEWED
   ══════════════════════════════════════ */

.recently-viewed-section {
  margin: var(--space-section) 0;
  padding-top: var(--space-block);
  border-top: 1px solid var(--color-border);
}

.recently-viewed-section h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-block);
}

.recently-viewed-grid {
  display: flex;
  gap: var(--space-tight);
  overflow-x: auto;
  padding-bottom: var(--space-tight);
}

.recently-viewed-card {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-micro);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.recently-viewed-card:hover {
  border-color: var(--color-primary);
}

.recently-viewed-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-elevated);
}

.recently-viewed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recently-viewed-name {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recently-viewed-price {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
}

/* ══════════════════════════════════════
   PRODUCT PAGE EMAIL SIGNUP
   ══════════════════════════════════════ */

.product-page-signup {
  margin-top: var(--space-section);
}

.product-page-signup .email-signup h4::before {
  content: '📬 ';
}

/* ══════════════════════════════════════
   CART ICON (Header)
   ══════════════════════════════════════ */

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.cart-icon:hover {
  color: var(--color-text);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-primary);
  color: var(--color-background);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

/* ══════════════════════════════════════
   CONTACT FORM FEEDBACK
   ══════════════════════════════════════ */

.contact-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-element);
  margin-bottom: var(--space-block);
}

.contact-success h3 {
  color: #10B981;
  font-size: var(--text-lg);
  margin-bottom: var(--space-micro);
}

.contact-success p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.contact-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-element);
  margin-bottom: var(--space-block);
}

.contact-error p {
  color: #EF4444;
  font-size: var(--text-sm);
}

.contact-form-status {
  min-height: 1em;
}
