/* ==========================================================================
   СтартЭкстрим V2 — High-Shine Youthful Motorsport & E-Mobility Flagship
   Aesthetic: Carbon Obsidian (#08090D), Smoked Glass, Molten Orange Shine, Acid-Lime Live Signals
   Typography: Unbounded (Display), Golos Text (UI), JetBrains Mono (Specs/Prices)
   ========================================================================== */

:root {
  --bg-base: #08090D;
  --bg-surface: #0F1219;
  --bg-glass: rgba(18, 22, 31, 0.74);
  --bg-glass-strong: rgba(22, 26, 37, 0.9);
  --bg-glass-soft: rgba(255, 255, 255, 0.04);

  --text-primary: #F7F8FC;
  --text-secondary: #B4BCCB;
  --text-muted: #7C8598;

  --accent: #FF4D15;
  --accent-mid: #FF781F;
  --accent-gold: #FFAE33;
  --accent-grad: linear-gradient(108deg, #FF4712 0%, #FF6E1A 52%, #FFA32E 100%);
  --accent-text-grad: linear-gradient(95deg, #FF551C 0%, #FF962E 55%, #FFD166 100%);
  --accent-soft: rgba(255, 77, 21, 0.14);
  --accent-border: rgba(255, 96, 36, 0.45);

  --volt: #B8FF2C;
  --volt-soft: rgba(184, 255, 44, 0.14);
  --status-closed: #FFB020;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);
  --specular-top: inset 0 1px 0 rgba(255, 255, 255, 0.13);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.44);
  --shadow-glow: 0 14px 36px rgba(255, 77, 21, 0.36);

  --font-display: 'Unbounded', system-ui, -apple-system, sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1260px;
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 18px);
  background: var(--bg-base);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

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='%23B4BCCB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}

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

:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

/* Ambient Scene Background */
.ambient-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.24;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, #FF5117 0%, rgba(255, 132, 36, 0.25) 55%, transparent 75%);
}

.ambient-orb--2 {
  width: 560px;
  height: 560px;
  bottom: 12%;
  left: -180px;
  background: radial-gradient(circle, #FF7A1A 0%, rgba(45, 78, 255, 0.22) 55%, transparent 75%);
  animation-delay: -7s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 25%, #000 18%, transparent 80%);
}

@keyframes orbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(38px, -28px, 0) scale(1.08);
  }
}

/* Interactive Cursor Spotlight Card Effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 102, 34, 0.14),
      transparent 65%);
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card>* {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(68px, 8vw, 110px);
}

/* Typography & Shine Accents */
.shine-text,
.brand-grad {
  background: var(--accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono-accent,
.mono-tag,
.mono-small,
.mono-price,
.mono-footer,
.mono-chip,
.mono-tag-light {
  font-family: var(--font-mono);
}

.mono-accent {
  color: var(--accent-mid);
}

.section-eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.3vw, 44px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 54ch;
}

.section-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px 44px;
  align-items: end;
  margin-bottom: 36px;
}

/* ==========================================================================
   LIQUID-SHINE BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 180ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-lg {
  padding: 16px 26px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

.btn-shine {
  background: var(--accent-grad);
  color: #FFFFFF;
  border-color: rgba(255, 200, 130, 0.38);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -130%;
  width: 75%;
  height: 200%;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.42) 50%,
      transparent 80%);
  transform: skewX(-18deg);
  transition: left 620ms var(--ease);
  pointer-events: none;
}

.btn-shine:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 77, 21, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-shine:hover::after {
  left: 155%;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--specular-top);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 90;
  background: rgba(8, 9, 13, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 9, 13, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  line-height: 1.05;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-mid);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt), 0 0 0 3px rgba(184, 255, 44, 0.22);
  flex-shrink: 0;
}

.status-dot.is-closed {
  background: var(--status-closed);
  box-shadow: 0 0 10px var(--status-closed), 0 0 0 3px rgba(255, 176, 32, 0.22);
}

.btn-fast-hdr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 160, 70, 0.45);
  background: var(--accent-grad);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 77, 21, 0.34);
  transition: transform 180ms var(--ease), box-shadow 200ms var(--ease);
}

.btn-fast-hdr:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 77, 21, 0.48);
}

.pulse-ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.btn-cart:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.cart-badge {
  min-width: 21px;
  height: 21px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(4, 5, 9, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(350px, 88vw);
  background: #0D1017;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  border-left: 1px solid var(--border-strong);
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15.5px;
}

.mobile-link .mono-tag {
  color: var(--accent-mid);
  font-size: 12px;
}

.mobile-drawer-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.meta-label {
  margin: 0 0 4px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.meta-value {
  margin: 0 0 14px;
  font-size: 14.5px;
}

/* ==========================================================================
   HERO: 2-COLUMN CONVERSION COCKPIT
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.12) contrast(1.06);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 85, 22, 0.24), transparent 48%),
    linear-gradient(90deg, rgba(8, 9, 13, 0.94) 0%, rgba(8, 9, 13, 0.84) 48%, rgba(8, 9, 13, 0.66) 100%),
    linear-gradient(180deg, rgba(8, 9, 13, 0.52) 0%, rgba(8, 9, 13, 0.24) 35%, rgba(8, 9, 13, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 32px 40px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(184, 255, 44, 0.32);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FFFFFF;
}

.eyebrow-loc {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero-proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mid);
  box-shadow: 0 0 8px var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Express 15-Second Glass Conversion Card */
.hero-express-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: linear-gradient(155deg, rgba(24, 29, 42, 0.88), rgba(12, 15, 22, 0.94));
  border: 1px solid rgba(255, 130, 60, 0.34);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62), 0 0 42px rgba(255, 77, 21, 0.14), var(--specular-top);
}

.express-glow-edge {
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF6A1A, #FFD166, #FF6A1A, transparent);
  pointer-events: none;
}

.express-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.express-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.express-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.express-live-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--volt-soft);
  border: 1px solid rgba(184, 255, 44, 0.34);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.express-service-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.exp-tab {
  padding: 8px 6px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.exp-tab.is-active {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(255, 77, 21, 0.34);
}

.express-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.express-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-chip {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms var(--ease);
}

.exp-chip:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.exp-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-mid);
  color: #FFFFFF;
}

.express-model-wrap {
  position: relative;
}

.model-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 205px;
  overflow-y: auto;
  border-radius: 12px;
  background: #141824;
  border: 1px solid var(--accent-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72);
  padding: 6px;
}

.model-sug-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #FFFFFF;
  font-size: 13.5px;
  cursor: pointer;
}

.model-sug-item:hover {
  background: var(--accent-soft);
}

.model-sug-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.express-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.quick-need-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 160, 70, 0.35);
  background: rgba(255, 120, 31, 0.08);
  color: #FFD1A3;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}

.quick-need-chip:hover {
  background: rgba(255, 120, 31, 0.22);
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

.express-row-2,
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-dark {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-dark span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-dark input,
.field-dark select,
.field-dark textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.78);
  color: #FFFFFF;
  font-size: 14px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field-dark select option {
  background: #121621;
  color: #FFFFFF;
}

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

.field-dark input:focus,
.field-dark select:focus,
.field-dark textarea:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.2);
}

.express-foot-note {
  margin: 2px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Priority Strip */
.priority-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.priority-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--specular-top);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.priority-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 130, 50, 0.55);
}

.priority-card--primary {
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.22), rgba(16, 20, 30, 0.88));
  border-color: var(--accent-border);
}

.priority-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.priority-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
}

.priority-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #FFFFFF;
}

.priority-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.priority-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
}

.priority-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.priority-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* ==========================================================================
   SECTION 01: 3D-FLIP INTERACTIVE PARTS CONFIGURATOR
   ========================================================================== */
.section-parts {
  border-top: 1px solid var(--border);
}

/* Global Search Bar */
.global-search-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.global-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--specular-top);
  color: var(--accent-mid);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.global-search-box:focus-within {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.2), var(--shadow-card);
}

.global-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15.5px;
  color: #FFFFFF;
}

.global-search-box input::placeholder {
  color: var(--text-muted);
}

.search-clear-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.search-hot-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hot-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hot-tag {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms var(--ease);
}

.hot-tag:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
  color: #FFFFFF;
}

/* Global Search Results Panel */
.global-results-panel {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-strong);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-card);
}

.global-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.results-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
}

.global-results-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* 3D FLIP DECK CONTAINER */
.configurator-deck {
  border-radius: var(--radius-xl);
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(160deg, rgba(20, 24, 35, 0.86), rgba(11, 13, 20, 0.94));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--specular-top);
}

.deck-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.deck-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.deck-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.deck-step:disabled {
  opacity: 0.45;
  cursor: default;
}

.deck-step.is-done {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.deck-step.is-done:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.deck-step.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 77, 21, 0.34);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-sep {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.deck-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-back-deck {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms var(--ease);
}

.btn-back-deck:hover {
  background: var(--accent);
}

/* 3D Perspective Flip Animations */
.flip-perspective {
  perspective: 1400px;
}

.flip-stage {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.flip-stage.is-flipping-out {
  animation: flipOut 210ms cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.flip-stage.is-flipping-in {
  animation: flipIn 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes flipOut {
  0% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotateY(-14deg) scale(0.96);
  }
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: rotateY(14deg) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

/* Stage 1: Category Grid */
.stage-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.stage-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.stage-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vehicle-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  box-shadow: var(--specular-top);
  cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-mid);
  background: rgba(255, 77, 21, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 77, 21, 0.14);
}

.vehicle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vehicle-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 85, 26, 0.2), rgba(255, 160, 46, 0.08));
  border: 1px solid rgba(255, 110, 40, 0.34);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.vehicle-card:hover .vehicle-icon {
  transform: scale(1.07);
  background: var(--accent-grad);
  color: #FFFFFF;
}

.vehicle-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.vehicle-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.vehicle-list {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.vehicle-action {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Stage 2: Models Selector with Inline Search */
.model-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.stage-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(360px, 100%);
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--accent-mid);
}

.stage-search:focus-within {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.18);
}

.stage-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  color: #FFFFFF;
  font-size: 14.5px;
}

.stage-search input::placeholder {
  color: var(--text-muted);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.model-tile {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--specular-top);
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.model-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent-mid);
  background: rgba(255, 77, 21, 0.12);
}

.model-tile--custom {
  border-style: dashed;
  border-color: rgba(255, 160, 70, 0.45);
  background: rgba(255, 110, 30, 0.07);
}

.model-tile-name {
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.28;
}

.model-tile-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.model-tile-go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Stage 3: Subsystems + Parts */
.selected-model-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 77, 21, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--accent-border);
  margin-bottom: 20px;
}

.selected-model-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
}

.selected-model-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.subsystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.subsystem-tile {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.subsystem-tile:hover {
  border-color: rgba(255, 160, 70, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.subsystem-tile.is-active {
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.24), rgba(255, 140, 30, 0.1));
  border-color: var(--accent-mid);
  box-shadow: 0 10px 26px rgba(255, 77, 21, 0.2);
}

.sub-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subsystem-tile.is-active .sub-ico {
  background: var(--accent-grad);
  color: #FFFFFF;
}

.sub-name {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: #FFFFFF;
  line-height: 1.25;
}

.sub-desc {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.parts-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.parts-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.part-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border-radius: 15px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 18, 27, 0.85);
  box-shadow: var(--specular-top);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.part-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 130, 50, 0.55);
}

.part-card.in-cart {
  border-color: var(--volt);
  background: linear-gradient(155deg, rgba(184, 255, 44, 0.08), rgba(15, 18, 27, 0.92));
}

.part-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

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

.part-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--volt);
  font-weight: 600;
}

.part-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}

.part-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.32;
  color: #FFFFFF;
}

.part-spec {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--text-secondary);
}

.part-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.part-price {
  font-family: var(--font-mono);
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.btn-part-add {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 170ms var(--ease);
}

.btn-part-add:hover {
  background: var(--accent-grad);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 77, 21, 0.34);
}

.btn-part-add.is-added {
  background: var(--volt);
  border-color: var(--volt);
  color: #08090D;
}

/* Custom Part Add Strip inside Stage 3 */
.custom-part-bar {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 160, 70, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-part-form {
  display: flex;
  flex: 1 1 360px;
  gap: 10px;
}

.custom-part-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.85);
  color: #FFFFFF;
  font-size: 14px;
}

.custom-part-form input:focus {
  outline: none;
  border-color: var(--accent-mid);
}

/* Custom Match Banner */
.parts-match-banner {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--specular-top);
}

.match-copy {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.mono-chip {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-gold);
  font-size: 11.5px;
  font-weight: 700;
}

.match-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.2;
}

.match-text {
  margin: 0;
  color: var(--text-secondary);
}

.match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.match-media {
  min-height: 270px;
}

.match-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SECTION 02: REPAIR WORKSHOP
   ========================================================================== */
.section-repair {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16, 19, 28, 0.55) 0%, rgba(8, 9, 13, 0.2) 100%);
}

.repair-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 44px;
}

.repair-intro-copy .section-subtitle {
  margin-top: 14px;
}

.workshop-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.pillar-item {
  display: flex;
  gap: 15px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--specular-top);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  padding-top: 2px;
}

.pillar-title {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
}

.pillar-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.repair-photo-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-glass-strong);
  box-shadow: var(--shadow-card);
}

.repair-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

/* Repair Calculator */
.repair-calc {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card), var(--specular-top);
}

.repair-calc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.repair-calc-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
}

.repair-calc-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.repair-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-tab {
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.repair-tab:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.34);
}

.repair-tab.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 77, 21, 0.34);
}

.repair-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.repair-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
  transition: all 180ms var(--ease);
}

.repair-row:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.repair-row.is-checked {
  border-color: var(--accent-mid);
  background: rgba(255, 77, 21, 0.14);
}

.repair-row-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.repair-check {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  transition: all 160ms var(--ease);
}

.repair-row.is-checked .repair-check {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.repair-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.repair-note {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.repair-price-col {
  text-align: right;
  flex-shrink: 0;
}

.repair-price {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.repair-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.repair-summary-bar {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.repair-summary-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.repair-summary-info strong {
  color: #FFFFFF;
}

.repair-summary-info .mono-price {
  color: var(--accent-gold);
  font-size: 19px;
}

.repair-summary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   SECTION 03: RENTAL
   ========================================================================== */
.section-rental {
  border-top: 1px solid var(--border);
}

.rental-showcase {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.rental-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 390px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.rental-banner img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 62%;
}

.rental-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 9, 13, 0.82) 100%);
}

.rental-banner-note {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 470px;
  padding: 16px 20px;
  border-radius: 15px;
  background: rgba(14, 17, 25, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
}

.mono-tag-light {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--volt);
  margin-bottom: 5px;
}

.rental-banner-note p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}

.rental-duration-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.duration-label {
  font-weight: 700;
  color: var(--text-secondary);
}

.duration-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  gap: 4px;
}

.duration-btn {
  padding: 9px 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.duration-btn.is-active {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(255, 77, 21, 0.34);
}

.rental-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rental-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-glass);
  box-shadow: var(--specular-top);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.rental-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 130, 50, 0.5);
}

.rental-card--highlight {
  background: linear-gradient(155deg, rgba(255, 77, 21, 0.16), rgba(16, 20, 30, 0.92));
  border-color: var(--accent-border);
}

.rental-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rental-type-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.rental-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.rental-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
}

.rental-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.rental-features {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rental-features li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.rental-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mid);
}

.rental-card .btn {
  margin-top: auto;
}

.rental-rules {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rule-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.section-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255, 77, 21, 0.08), rgba(16, 20, 30, 0.8), rgba(255, 160, 46, 0.08));
  padding-block: 42px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 2px solid var(--accent-mid);
}

.strip-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: var(--accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.strip-label {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 04: CONTACTS & MAP
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.contacts-lead {
  margin: 14px 0 24px;
  color: var(--text-secondary);
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.info-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--specular-top);
}

.info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-value {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.info-value--mono {
  font-family: var(--font-mono);
}

.info-status {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--volt);
}

.info-status.is-closed {
  color: var(--status-closed);
}

.text-action-btn {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--accent-gold);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.text-action-btn:hover {
  text-decoration: underline;
}

.info-services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.info-services-list strong {
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-frame-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-glass-strong);
  box-shadow: var(--shadow-card);
}

.map-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.map-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.map-pin-label svg {
  color: var(--accent-mid);
}

.mono-small {
  font-size: 12px;
  color: var(--text-muted);
}

.map-embed-box {
  position: relative;
  height: 430px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 85, 22, 0.16), #121622 72%);
}

.map-fallback-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-fallback-pin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 77, 21, 0.16), 0 12px 30px rgba(255, 77, 21, 0.45);
  margin-bottom: 14px;
}

.map-fallback-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.map-fallback-addr {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.map-fallback-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 34ch;
}

.map-embed-box iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Mobile Bottom Sheet Drag Handle */
.sheet-handle {
  display: none;
}

.map-footer-note {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   FOOTER & FLOATING QUICK DOCK
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #06070B;
  padding-top: 52px;
  padding-bottom: 92px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.footer-tagline {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links,
.footer-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

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

.mono-footer {
  color: var(--accent-gold);
  font-size: 13.5px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Floating Quick Conversion Dock */
.quick-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: rgba(15, 18, 28, 0.92);
  border: 1px solid rgba(255, 120, 40, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 77, 21, 0.2);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}

.quick-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dock-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

.dock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt);
}

/* ==========================================================================
   CART DRAWER & BOOKING MODAL
   ========================================================================== */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(4, 5, 10, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.drawer-backdrop.is-open,
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(470px, 100vw);
  background: #0E111A;
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.7);
}

.drawer-backdrop.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head,
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-kicker,
.modal-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.drawer-title,
.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
}

.drawer-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.icon-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-close:hover {
  border-color: var(--accent-mid);
  color: #FFFFFF;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  margin: auto;
  text-align: center;
  padding: 28px 12px;
  color: var(--text-secondary);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.cart-item-info {
  min-width: 0;
}

.cart-item-name {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
}

.cart-item-model {
  display: block;
  font-size: 11.5px;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.qty-val {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.drawer-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border);
  background: #0A0C12;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 700;
}

.cart-total-row .mono-price {
  font-size: 19px;
  color: var(--accent-gold);
}

.drawer-btn-row {
  display: flex;
  gap: 10px;
}

/* Modal */
.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  width: min(600px, 100%);
  max-height: 92svh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: #0F131D;
  border: 1px solid rgba(255, 130, 50, 0.35);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 77, 21, 0.14);
  transform: translateY(16px) scale(0.97);
  transition: transform 240ms var(--ease);
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 14px 24px 0;
}

.mode-tab {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.mode-tab.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.modal-form,
.compact-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.modal-form {
  padding: 18px 24px 24px;
}

.modal-addr-hint {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-success {
  padding: 26px 24px 28px;
  text-align: center;
}

.success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--volt-soft);
  border: 1px solid rgba(184, 255, 44, 0.45);
  color: var(--volt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
}

.success-desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.ticket-preview {
  text-align: left;
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: #141926;
  color: #FFFFFF;
  border: 1px solid var(--accent-border);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1140px) {
  .hours-pill {
    display: none;
  }

  .models-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid,
  .section-header--split,
  .repair-intro,
  .contacts-grid,
  .parts-match-banner {
    grid-template-columns: 1fr;
  }

  .priority-strip,
  .vehicle-grid,
  .subsystem-grid,
  .parts-grid,
  .rental-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-card--primary {
    grid-column: 1 / -1;
  }

  .repair-list {
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  /* Smooth iPhone 60/120fps scrolling & safe-area polish */
  .ambient-orb {
    filter: blur(72px);
    opacity: 0.18;
    animation: none;
  }

  .spotlight-card::before {
    display: none;
  }

  /* Prevent iOS Safari automatic zoom on input tap (MUST be >= 16px) */
  input,
  select,
  textarea,
  .field-dark input,
  .field-dark select,
  .field-dark textarea,
  .global-search-box input,
  .stage-search input,
  .custom-part-form input {
    font-size: 16px !important;
  }

  /* Safe-area Header */
  .site-header {
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    -webkit--webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding-block: 52px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-mark svg {
    width: 34px;
    height: 34px;
  }

  .brand-sub,
  .btn-fast-hdr {
    display: none;
  }

  .btn-cart {
    min-height: 42px;
    padding: 8px 11px;
  }

  /* Hero Mobile Ergonomics */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 18px);
    padding-bottom: 28px;
  }

  .hero-content {
    gap: 22px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-eyebrow {
    gap: 8px;
    margin-bottom: 14px;
  }

  .eyebrow-badge {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  .eyebrow-loc {
    font-size: 12.5px;
  }

  .hero-title {
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-proof-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    margin-inline: -12px;
    padding-inline: 12px;
    padding-bottom: 4px;
    margin-bottom: 18px;
  }

  .hero-proof-chips::-webkit-scrollbar {
    display: none;
  }

  .proof-chip {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 6px 11px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 50px;
  }

  /* Hero 15-sec Express Card on iPhone */
  .hero-express-card {
    padding: 18px 16px;
    border-radius: 22px;
    -webkit--webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .express-title {
    font-size: 16px;
  }

  .express-live-badge {
    font-size: 10px;
    padding: 4px 8px;
  }

  .exp-tab {
    min-height: 38px;
    font-size: 12px;
  }

  .express-cat-chips,
  .express-quick-tags,
  .search-hot-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -4px;
    padding-inline: 4px;
    padding-bottom: 4px;
  }

  .express-cat-chips::-webkit-scrollbar,
  .express-quick-tags::-webkit-scrollbar,
  .search-hot-tags::-webkit-scrollbar {
    display: none;
  }

  .exp-chip,
  .quick-need-chip,
  .hot-tag {
    flex: 0 0 auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }

  /* Priority Strip Compact on iPhone */
  .priority-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .priority-card {
    padding: 15px 16px;
  }

  .priority-title {
    font-size: 15.5px;
  }

  /* Section 01: Ultra-Friendly iPhone Configurator (2-col compact icons!) */
  .section-header--split {
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-title {
    font-size: clamp(23px, 6.4vw, 30px);
  }

  .section-subtitle {
    font-size: 14.5px;
  }

  .global-search-box {
    padding: 12px 14px;
  }

  .configurator-deck {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .deck-topbar {
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }

  .deck-steps {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }

  .deck-steps::-webkit-scrollbar {
    display: none;
  }

  .deck-step {
    flex: 0 0 auto;
    padding: 6px 11px;
    font-size: 12.5px;
  }

  .deck-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-back-deck {
    min-height: 40px;
    padding: 8px 14px;
  }

  .stage-title {
    font-size: 17px;
  }

  .stage-sub {
    font-size: 13px;
  }

  /* 6 Transport Categories fit neatly in 2 columns right in iPhone screen! */
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vehicle-card {
    padding: 14px 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .vehicle-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .vehicle-count {
    display: none;
  }

  .vehicle-title {
    font-size: 13.5px;
    line-height: 1.22;
    margin-top: 2px;
  }

  .vehicle-list {
    font-size: 11.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vehicle-action {
    font-size: 12px;
    padding-top: 2px;
  }

  /* Stage 2: Models in clean 2-col touch grid */
  .stage-search {
    width: 100%;
    min-width: 0;
  }

  .models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .model-tile {
    padding: 12px 11px;
    min-height: 86px;
  }

  .model-tile--custom {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .model-tile-name {
    font-size: 13.5px;
  }

  .model-tile-tag {
    font-size: 10.5px;
  }

  .model-tile-go {
    font-size: 11.5px;
  }

  /* Stage 3: Compact 2-col Subsystem buttons (zero scrolling guesswork!) */
  .selected-model-banner {
    padding: 12px 14px;
  }

  .selected-model-name {
    font-size: 15.5px;
  }

  .subsystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
  }

  .subsystem-tile {
    padding: 11px 10px;
    gap: 9px;
    align-items: center;
    border-radius: 12px;
  }

  .sub-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .sub-name {
    font-size: 12.5px;
    line-height: 1.2;
  }

  .sub-desc {
    display: none;
  }

  .parts-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .part-card {
    padding: 15px;
  }

  .btn-part-add {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 13.5px;
  }

  .custom-part-bar {
    padding: 14px;
  }

  .custom-part-form {
    flex-direction: column;
    width: 100%;
  }

  .custom-part-form .btn {
    min-height: 44px;
  }

  .match-copy {
    padding: 20px 16px;
  }

  .match-actions .btn {
    width: 100%;
  }

  /* Section 02: Repair Calculator Mobile */
  .repair-intro {
    gap: 24px;
    margin-bottom: 28px;
  }

  .repair-calc {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .repair-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .repair-tabs::-webkit-scrollbar {
    display: none;
  }

  .repair-tab {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .repair-row {
    padding: 13px 12px;
    gap: 10px;
  }

  .repair-name {
    font-size: 14px;
  }

  .repair-summary-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .repair-summary-actions {
    width: 100%;
  }

  .repair-summary-actions .btn-shine {
    flex: 1;
    min-height: 48px;
  }

  /* Section 03: Rental Mobile */
  .rental-banner img {
    height: 240px;
  }

  .rental-banner-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .rental-duration-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .duration-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .duration-btn {
    padding: 10px 6px;
    font-size: 12.5px;
    text-align: center;
  }

  .rental-cards {
    grid-template-columns: 1fr;
  }

  /* Strip & Contacts Mobile */
  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .strip-value {
    font-size: 22px;
  }

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

  .contacts-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .map-embed-box {
    height: 290px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  /* Native iOS Floating Quick Dock above Home Indicator */
  .quick-dock {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 7px 8px 7px 14px;
    justify-content: space-between;
    -webkit--webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .dock-cart-btn {
    font-size: 13px;
    min-height: 40px;
  }

  .quick-dock .btn-shine {
    min-height: 42px;
    padding: 10px 16px;
  }

  /* Native iOS Bottom-Sheet Modals & Cart Drawer */
  .sheet-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 2px;
    flex-shrink: 0;
  }

  .sheet-handle span {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .modal-backdrop.is-open .modal-dialog {
    transform: translateY(0);
  }

  .modal-head,
  .drawer-head {
    padding: 14px 18px 14px;
  }

  .modal-mode-tabs {
    padding: 12px 18px 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .mode-tab {
    font-size: 11.5px;
    padding: 9px 4px;
  }

  .modal-form {
    padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .drawer-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90dvh;
    border-left: none;
    border-top: 1px solid rgba(255, 130, 50, 0.35);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .drawer-backdrop.is-open .drawer-panel {
    transform: translateY(0);
  }

  .drawer-body {
    padding: 14px 18px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .drawer-footer {
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-drawer-panel {
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .form-row-2,
  .express-row-2 {
    grid-template-columns: 1fr;
  }

  .drawer-btn-row {
    flex-direction: column;
  }

  .icon-close {
    width: 40px;
    height: 40px;
  }

  .qty-btn {
    width: 34px;
    height: 34px;
  }

  .toast {
    width: calc(100% - 28px);
    max-width: 380px;
    text-align: center;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {

  .vehicle-grid,
  .models-grid,
  .subsystem-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   V3 ADDITIONS: CLEAN HERO, ACCOUNT BUTTON, STOREFRONT GALLERY,
   3D EXPRESS MODAL PICKERS, AND BUYER/ADMIN ACCOUNT CENTER
   ========================================================================== */

/* Header Account Button */
.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.btn-account:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.btn-account.is-customer {
  border-color: rgba(184, 255, 44, 0.45);
  background: rgba(184, 255, 44, 0.12);
  color: var(--volt);
}

.btn-account.is-admin {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-gold);
}

.mobile-link-btn {
  width: 100%;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  text-align: left;
  cursor: pointer;
}

/* Clean Wide Hero */
.hero-copy--wide {
  max-width: 760px;
}

.btn-dot-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mid);
  box-shadow: 0 0 10px var(--accent);
}

/* Storefront Exterior Gallery (Summer / Winter Toggle) */
.storefront-showcase {
  margin-bottom: 32px;
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--specular-top);
}

.storefront-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.storefront-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.storefront-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
}

.season-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  gap: 4px;
}

.season-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.season-btn.is-active {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 77, 21, 0.35);
}

.storefront-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 490px;
  width: 100%;
  background: #0D1017;
  border: 1px solid var(--border);
}

.storefront-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms var(--ease), transform 520ms var(--ease);
  pointer-events: none;
}

.storefront-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.storefront-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 600px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(10, 12, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  z-index: 2;
}

.storefront-caption p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   3D FLIP EXPRESS MODAL & STYLISH CUSTOM PICKERS (Fixes #3, #5, #6)
   ========================================================================== */
.modal-dialog--express {
  width: min(630px, 100%);
}

.modal-flip-perspective {
  perspective: 1200px;
}

.modal-flip-stage {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.modal-flip-stage.is-flipping-out {
  animation: modalFlipOut 180ms cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.modal-flip-stage.is-flipping-in {
  animation: modalFlipIn 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes modalFlipOut {
  0% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotateY(-12deg) scale(0.97);
  }
}

@keyframes modalFlipIn {
  0% {
    opacity: 0;
    transform: rotateY(12deg) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

.exp-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.exp-active-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent-gold);
}

.exp-link-toggle {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  cursor: pointer;
}

.exp-link-toggle:hover {
  text-decoration: underline;
}

/* Styled Transport Category Chips (Unbounded display font + crisp vector icons) */
.exp-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.exp-vehicle-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.exp-vehicle-btn:hover {
  border-color: rgba(255, 140, 60, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

.exp-vehicle-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.24), rgba(255, 150, 40, 0.1));
  border-color: var(--accent-mid);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 77, 21, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.exp-v-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exp-v-ico svg {
  width: 17px;
  height: 17px;
}

.exp-vehicle-btn.is-active .exp-v-ico {
  background: var(--accent-grad);
  color: #FFFFFF;
}

.exp-v-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.22;
}

/* Minimalist Categorized Model Picker */
.exp-model-picker {
  position: relative;
}

.exp-model-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.85);
  color: var(--accent-mid);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.exp-model-input-wrap:focus-within {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.2);
}

.exp-model-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
}

.exp-model-clear {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.exp-model-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  max-height: 245px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  border-radius: 14px;
  background: #131825;
  border: 1px solid var(--accent-border);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.82);
}

.exp-group {
  margin-bottom: 8px;
}

.exp-group:last-child {
  margin-bottom: 0;
}

.exp-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 4px;
}

.exp-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.exp-model-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 150ms var(--ease);
}

.exp-model-item:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.exp-model-item-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.exp-model-item-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

.exp-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-time-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.exp-time-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.time-pill {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms var(--ease);
}

.time-pill.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

/* ==========================================================================
   ACCOUNTS MODAL: BUYER CABINET & ADMIN PANEL
   ========================================================================== */
.modal-dialog--account {
  width: min(690px, 100%);
}

.account-body {
  padding: 16px 24px 24px;
}

.account-role-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.role-tab {
  padding: 10px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.role-tab.is-active {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 77, 21, 0.3);
}

.auth-demo-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 160, 70, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.auth-demo-box code {
  font-family: var(--font-mono);
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Logged-in Header Bar */
.cabinet-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}

.cabinet-user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cabinet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cabinet-user-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.cabinet-user-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.cabinet-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cab-tab {
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cab-tab.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

/* Order History Cards */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.order-card {
  padding: 14px 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}

.order-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.order-status {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--volt-soft);
  color: var(--volt);
}

.order-status--new {
  background: var(--accent-soft);
  color: var(--accent-gold);
}

.order-items-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-primary);
  white-space: pre-line;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Admin Inventory List */
.admin-stock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 310px;
  overflow-y: auto;
  margin-top: 10px;
}

.admin-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.admin-stock-info {
  min-width: 0;
}

.admin-stock-title {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 700;
}

.admin-stock-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.admin-stock-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.admin-price-input {
  width: 92px !important;
  padding: 6px 8px !important;
  font-family: var(--font-mono);
  font-size: 13px !important;
  text-align: right;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.9);
  color: #FFFFFF;
}

.btn-del-mini {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 90, 90, 0.35);
  background: rgba(255, 70, 70, 0.12);
  color: #FF8080;
  font-size: 16px;
  cursor: pointer;
}

.btn-del-mini:hover {
  background: rgba(255, 70, 70, 0.28);
  color: #FFFFFF;
}

.admin-status-select {
  padding: 5px 28px 5px 10px !important;
  font-size: 12px !important;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background-color: rgba(8, 10, 16, 0.9);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .btn-account-label {
    display: none;
  }

  .btn-account {
    min-height: 42px;
    padding: 8px 10px;
  }

  .storefront-viewport {
    aspect-ratio: 4 / 3;
    max-height: 310px;
  }

  .storefront-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
  }

  .storefront-caption p {
    font-size: 12px;
  }

  .exp-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .exp-vehicle-btn {
    padding: 9px 9px;
  }

  .exp-v-name {
    font-size: 10.5px;
  }

  .exp-group-list {
    grid-template-columns: 1fr;
  }

  .account-body {
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .admin-stock-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-stock-actions {
    justify-content: flex-end;
  }
}


/* ==========================================================================
   V4 PRODUCTION RELEASE: ANNOUNCEMENT BAR, DEVICES SHOWCASE,
   UNIFIED AUTH + PASSWORD RESET, AND FULL CLOUDFLARE D1 CRM DASHBOARD
   ========================================================================== */

/* Announcement Bar */
.shop-announcement {
  position: relative;
  z-index: 5;
  margin-top: var(--header-height);
  padding: 10px 0;
  background: linear-gradient(90deg, rgba(255, 77, 21, 0.22), rgba(255, 160, 46, 0.16), rgba(255, 77, 21, 0.22));
  border-bottom: 1px solid var(--accent-border);
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.shop-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.ann-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px var(--volt);
  flex-shrink: 0;
}

/* Direct Contacts Card */
.direct-contacts-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.direct-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  transition: all 180ms var(--ease);
}

.direct-link-pill:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

/* Public Devices Showcase (#devices) */
.section-devices {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 17, 26, 0.52) 0%, rgba(8, 9, 13, 0.1) 100%);
}

.devices-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.devices-filter-bar .hot-tag.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.device-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--specular-top);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.device-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
}

.device-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.device-cond-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.device-cond-badge--new {
  background: var(--accent-soft);
  color: var(--accent-gold);
}

.device-status-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--volt);
}

.device-status-pill--reserved {
  color: var(--status-closed);
}

.device-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}

.device-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
}

.device-specs {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.device-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

/* Unified Auth Controls */
.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--text-secondary);
  user-select: none;
}

.check-label input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
}

.link-btn-muted {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.link-btn-muted:hover {
  text-decoration: underline;
}

.auth-alert {
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.auth-alert--error {
  background: rgba(255, 68, 68, 0.14);
  border: 1px solid rgba(255, 90, 90, 0.4);
  color: #FFB4B4;
}

.auth-alert--info {
  background: rgba(184, 255, 44, 0.1);
  border: 1px solid rgba(184, 255, 44, 0.35);
  color: #E2FF9E;
}

/* Full Production CRM Modal Expansion */
.modal-dialog--crm {
  width: min(1080px, 96vw) !important;
  max-height: 92dvh;
}

.crm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.crm-nav-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 160ms var(--ease);
}

.crm-nav-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.crm-nav-btn.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 77, 21, 0.32);
}

/* Monitoring KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi-card {
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
}

.kpi-val--volt {
  color: var(--volt);
}

.kpi-val--accent {
  color: var(--accent-gold);
}

.kpi-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.crm-split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.crm-panel-box {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.crm-box-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.bar-stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.bar-stat-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent-grad);
}

.audit-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.audit-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

/* CRM Orders Pipeline & Cards */
.crm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.crm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-pill {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.crm-pill.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.crm-deal-card {
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crm-deal-controls {
  display: grid;
  grid-template-columns: 155px 115px 1fr 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.crm-mini-input {
  padding: 7px 10px !important;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.9);
  color: #FFFFFF;
  font-size: 12.5px !important;
  width: 100%;
}

/* CRM Device Registry Row */
.registry-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  margin-top: 14px;
}

.registry-row {
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.registry-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.registry-margin {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--volt-soft);
  color: var(--volt);
  font-weight: 700;
}

.registry-edit-bar {
  display: grid;
  grid-template-columns: 135px 110px 80px 1fr auto auto;
  gap: 8px;
  align-items: center;
}

/* Pricing Matrix */
.rental-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.rental-matrix th,
.rental-matrix td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}

.rental-matrix th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--volt-soft);
  border: 1px solid rgba(184, 255, 44, 0.32);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .devices-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-split-2,
  .crm-deal-controls,
  .registry-edit-bar,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .devices-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .modal-dialog--crm {
    width: 100% !important;
  }

  .crm-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .crm-nav::-webkit-scrollbar {
    display: none;
  }

  .crm-nav-btn {
    flex: 0 0 auto;
  }
}


/* ==========================================================================
   V5 PRODUCTION RELEASE: MOBILE-FIRST PHONE UX, PHOTO UPLOADER,
   REAL WAREHOUSE SHOWCASE, REAL RENTAL PRICE LIST, UNOBSTRUCTED STOREFRONT,
   AND BEZ-PEDALEY ADAPTED CRM STYLES
   ========================================================================== */

/* 1. Unobstructed Storefront Photo + Clean Meta Bar BELOW image */
.storefront-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
  margin-top: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.storefront-meta-bar .mono-tag-light {
  margin-bottom: 0;
}

.storefront-meta-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 2. Real Store Warehouse Showcase (100+ items from Excel) */
.warehouse-showcase {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-xl);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--specular-top);
}

.warehouse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.warehouse-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
}

.warehouse-search {
  min-width: min(320px, 100%);
}

.warehouse-cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.warehouse-cat-pills::-webkit-scrollbar {
  display: none;
}

.warehouse-cat-pills .hot-tag {
  flex: 0 0 auto;
  white-space: nowrap;
}

.warehouse-cat-pills .hot-tag.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.warehouse-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* 3. Photo Uploader (Inline Banner + Express Modal) */
.sr-only-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inline-photo-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}

.inline-photo-fields {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.inline-photo-fields input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 10, 16, 0.85);
  color: #FFFFFF;
  font-size: 16px;
}

.inline-photo-fields input:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.2);
}

.photo-uploader {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-drop-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1.5px dashed rgba(255, 130, 50, 0.55);
  background: rgba(255, 77, 21, 0.08);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 180ms var(--ease);
}

.photo-drop-btn:hover,
.photo-drop-btn:active {
  background: rgba(255, 77, 21, 0.16);
  border-color: var(--accent-mid);
}

.photo-drop-btn--sm {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13.5px;
}

.photo-drop-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-gold);
}

.photo-preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.photo-thumb-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #121621;
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.photo-thumb-item.is-uploading::after {
  content: "⏳";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 16, 0.65);
  font-size: 18px;
}

.photo-thumb-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(8, 10, 16, 0.85);
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 6, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox img {
  max-width: 100%;
  max-height: 88dvh;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  object-fit: contain;
}

.photo-lightbox-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 24, 34, 0.9);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* 4. Real Rental Price List Section (#rental) */
.rental-conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rent-cond-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rent-cond-card--accent {
  background: linear-gradient(145deg, rgba(255, 77, 21, 0.22), rgba(20, 24, 34, 0.92));
  border-color: var(--accent-mid);
}

.rent-cond-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
}

.rent-cond-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.rent-cond-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.rental-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rental-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.rental-block-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.rental-cards--real {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.rental-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--volt-soft);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  align-self: flex-start;
}

.rental-batteries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.battery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--specular-top);
}

.battery-card--highlight {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, rgba(184, 255, 44, 0.08), rgba(16, 20, 30, 0.92));
}

.rental-to-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.14), rgba(16, 20, 30, 0.92));
  border: 1px solid var(--accent-border);
}

.rental-to-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rental-to-copy {
  flex: 1;
  min-width: 0;
}

.rental-to-title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 16px;
}

.rental-to-copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* 5. Bez-Pedaley Adapted CRM Badges, Plan Bar, Alerts & Mobile Cards */
.crm-alert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.crm-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.crm-alert-pill--danger {
  background: rgba(255, 68, 68, 0.16);
  border-color: rgba(255, 90, 90, 0.45);
  color: #FF9C9C;
}

.crm-alert-pill--warn {
  background: rgba(255, 176, 32, 0.16);
  border-color: rgba(255, 185, 50, 0.45);
  color: #FFD17A;
}

.crm-alert-pill--ok {
  background: var(--volt-soft);
  border-color: rgba(184, 255, 44, 0.35);
  color: var(--volt);
}

.crm-plan-box {
  padding: 15px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.14), rgba(18, 22, 34, 0.9));
  border: 1px solid var(--accent-border);
  margin-bottom: 14px;
}

.crm-plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.crm-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.crm-photo-thumb {
  width: 62px;
  height: 62px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  cursor: zoom-in;
}

.crm-badge-stalled {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 68, 68, 0.2);
  color: #FF8F8F;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.crm-badge-payer {
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: rgba(100, 170, 255, 0.16);
  color: #96C8FF;
}

.crm-badge-payer--fleet {
  background: rgba(255, 160, 46, 0.18);
  color: var(--accent-gold);
}

.wh-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wh-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.wh-qty-btn:hover {
  border-color: var(--accent-mid);
  background: var(--accent-soft);
}

.wh-edit-grid {
  display: grid;
  grid-template-columns: auto 105px 105px auto auto auto;
  gap: 8px;
  align-items: center;
}

/* 6. MOBILE-FIRST PHONE TUNING (360px - 640px) */
@media (max-width: 960px) {
  .rental-conditions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rental-batteries-grid {
    grid-template-columns: 1fr;
  }

  .rental-to-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .wh-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* Prevent iOS Safari zoom on EVERY form control */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .container {
    padding-inline: 14px;
  }

  .section {
    padding-block: 52px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 42px;
  }

  .hero-title {
    font-size: clamp(24px, 7.2vw, 34px);
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .priority-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .priority-card {
    padding: 16px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .btn-fast-hdr {
    display: none;
  }

  .parts-match-banner {
    grid-template-columns: 1fr;
  }

  .match-media {
    min-height: 180px;
    max-height: 210px;
    order: -1;
  }

  .match-copy {
    padding: 18px 16px;
  }

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

  .match-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .rental-conditions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rent-cond-card {
    padding: 12px 13px;
  }

  .rent-cond-val {
    font-size: 15px;
  }

  .rental-cards--real {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rental-card {
    padding: 16px;
  }

  .battery-card {
    padding: 14px 15px;
  }

  .storefront-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .storefront-viewport {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  .storefront-meta-bar {
    padding: 10px 12px;
  }

  .warehouse-showcase {
    padding: 16px 14px;
    border-radius: var(--radius-lg);
  }

  .warehouse-search {
    width: 100%;
  }

  .repair-list {
    grid-template-columns: 1fr;
  }

  .repair-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .repair-tabs::-webkit-scrollbar {
    display: none;
  }

  .repair-tab {
    flex: 0 0 auto;
    min-height: 42px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .map-embed-box {
    height: 310px;
  }

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

  .contacts-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  /* Bottom-sheet full mobile modals & CRM */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog,
  .modal-dialog--express,
  .modal-dialog--account,
  .modal-dialog--crm {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94dvh !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
  }

  .crm-nav-btn {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .wh-edit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-dock {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    padding: 8px 10px;
  }

  .quick-dock .btn,
  .dock-cart-btn {
    min-height: 42px;
  }
}
