:root {
  --bg: #0a0a0b;
  --panel: #0f0f11;
  --panel-2: #171719;
  --line: #262628;
  --text: #f4f4f5;
  --muted: #8b8b90;
  --gold: #c3c6cb;      /* platinum accent (kept var name for simplicity) */
  --gold-2: #eeeff1;    /* near-white accent */
  --radius: 16px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
#installers { scroll-margin-top: 18px; }
/* Lean embed (/embed): keep the tools + map, hide the marketing/info sections (they live in Shopify). */
html.lean #films, html.lean #why, html.lean #how, html.lean #faq, html.lean .site-footer { display: none !important; }
html, body { margin: 0; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.app {
  display: grid;
  grid-template-columns: 1fr 400px;
  height: 100vh;
  height: 100dvh;
}

/* ---------- STAGE ---------- */
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(255,255,255,.09), transparent 60%),
    radial-gradient(120% 80% at 50% 0%, #16181c 0%, #0b0c0e 62%);
  min-width: 0;
}
.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 24px; width: auto; display: block; }
.brand .tag {
  color: var(--muted); font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  font-size: 10px; border-left: 1px solid var(--line); padding-left: 12px;
}

.top-right { display: flex; align-items: center; gap: 10px; }
.home {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text);
  padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: .15s; white-space: nowrap;
}
.home:hover { background: rgba(255,255,255,.14); border-color: var(--gold); color: var(--gold-2); }

.stage-actions { display: flex; gap: 8px; }
.ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.ghost:hover { background: rgba(255,255,255,.09); }

.canvas-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.empty { text-align: center; padding: 40px; max-width: 640px; }
.empty-logo { width: 210px; max-width: 62%; margin: 0 auto 28px; display: block; opacity: .97; }
.empty-cta {
  margin-top: 26px; display: inline-block;
  color: var(--gold-2); font-weight: 700; font-size: 14px; letter-spacing: .3px;
}
.empty-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.empty h1 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -1px;
}
.empty p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }

.result { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.result img {
  position: absolute;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 10px;
  user-select: none;
  -webkit-user-drag: none;
}
#genImg { clip-path: inset(0 0 0 0); }

.stage-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}

.paint-tip {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--gold-2);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 6;
  white-space: nowrap;
  pointer-events: none;
  animation: tipPulse 2s ease-in-out infinite;
}
@keyframes tipPulse { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.canvas-wrap.painting { cursor: crosshair; }

.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  cursor: ew-resize;
  z-index: 5;
}
.slider-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: grid; place-items: center;
  font-size: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.slider-handle span::before { content: "⟷"; }

.loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(8,9,11,.55);
  backdrop-filter: blur(3px);
  z-index: 8;
  font-size: 14px;
  color: var(--muted);
}
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.disclaimer {
  text-align: center;
  color: #5f6570;
  font-size: 12px;
  padding: 10px;
}

/* ---------- PANEL ---------- */
.panel {
  background: var(--panel);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  padding: 22px;
}

/* progress steps */
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.stp {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}
.stp i {
  width: 18px; height: 18px; border-radius: 50%;
  background: #2b2b2f; color: var(--muted);
  display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700;
}
.stp.active { color: var(--text); border-color: var(--gold); }
.stp.active i { background: var(--gold); color: #000; }
.stp.done i { background: var(--gold); color: #000; }

.step-title { font-size: 20px; margin: 0 0 4px; font-weight: 800; letter-spacing: -.4px; }
.step-sub { color: var(--muted); font-size: 13px; margin: 0 0 18px; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 6px; }
.field select, .field input {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--gold); }
.field select:disabled { opacity: .5; cursor: default; }

.back {
  background: none; border: none; color: var(--muted);
  font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 12px; font-weight: 600;
}
.back:hover { color: var(--text); }

.build-hint { font-size: 12px; margin-top: 12px; text-align: center; line-height: 1.5; }
.build-hint.warn { color: var(--gold); }

.quote {
  display: block; text-align: center; margin-top: 14px;
  color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px;
}
.quote:hover { color: var(--text); border-color: #3a3f48; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step-head h2 { font-size: 17px; margin: 0; font-weight: 700; }
.dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}

.upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: .15s;
  background: var(--panel-2);
}
.upload:hover { border-color: var(--gold); background: #171719; }
.upload-ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700;
}
.upload strong { display: block; font-size: 14px; }
.upload small { color: var(--muted); font-size: 12px; }

.or { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0; letter-spacing: .5px; }

.car-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.car-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel-2);
  transition: .15s;
  text-align: left;
  padding: 0;
  color: var(--text);
}
.car-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.car-tile .thumb { aspect-ratio: 16/10; width: 100%; display: block; object-fit: cover; background: #0d0f12; }
.car-tile .cap { padding: 8px 10px; font-size: 12px; font-weight: 600; }

/* groups */
.group { margin-top: 22px; }
.group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.films { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.film {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: .15s;
  background: var(--panel-2);
}
.film:hover { border-color: #3a3f48; }
.film.active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.film .chip { width: 26px; height: 26px; border-radius: 7px; flex: none; border: 1px solid rgba(255,255,255,.14); }
.film .chip.clear { background: linear-gradient(135deg,#e9edf2,#aeb6c0); position: relative; }
.film .fname { font-size: 12.5px; font-weight: 700; line-height: 1.1; }
.film .fsub { font-size: 11px; color: var(--muted); }
.film .fstars { font-size: 10px; letter-spacing: 1.5px; color: var(--gold); margin-top: 2px; }

.color-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.color-tab { background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: .12s; }
.color-tab:hover { color: var(--text); border-color: var(--gold); }
.color-tab.on { background: var(--gold-2); color: #0a0b0d; border-color: var(--gold-2); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.swatch {
  aspect-ratio: 1;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .12s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,255,255,.3); }

.segmented { display: flex; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.segmented.small button { font-size: 11px; padding: 7px 4px; }
.segmented button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 9px 6px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.segmented button.active { background: var(--gold); color: #000; }

.toggles { display: flex; flex-direction: column; gap: 8px; }
.toggle {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  background: var(--panel-2);
  transition: .15s;
}
.toggle:hover { border-color: #3a3f48; }
.toggle .t-name { font-size: 13.5px; font-weight: 600; }
.toggle .t-desc { font-size: 11px; color: var(--muted); margin-top: 2px; max-width: 240px; }
.switch { width: 42px; height: 24px; border-radius: 999px; background: #2b2b2f; position: relative; flex: none; transition: .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .15s; }
.toggle.on .switch { background: var(--gold); }
.toggle.on .switch::after { left: 21px; }

.selection {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 18px;
  line-height: 1.5;
}
.selection b { color: var(--text); }

.cta {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: #e9edf2;
  color: #000;
  transition: .15s;
}
.cta:hover { transform: translateY(-1px); }
.cta.ai {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #000;
}
.cta:disabled { opacity: .5; cursor: default; transform: none; }
.ai-hint { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }

/* ---------- GALLERY ---------- */
.gallery-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(6,6,7,.94);
  backdrop-filter: blur(10px);
  padding: 26px 30px;
  overflow-y: auto;
}
.gallery-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  max-width: 1200px; margin: 0 auto 22px;
}
.g-title { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.g-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.gallery-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.g-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--panel-2); cursor: pointer; transition: .15s;
}
.g-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.g-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; background: #0d0d0f; }
.g-card .g-meta { padding: 10px 12px; }
.g-card .g-car { font-size: 13.5px; font-weight: 700; }
.g-card .g-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.gallery-empty { max-width: 620px; margin: 80px auto; text-align: center; color: var(--muted); font-size: 15px; }

.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lightbox img { max-width: 94%; max-height: 88%; object-fit: contain; border-radius: 12px; }
.lightbox .ghost { position: absolute; top: 24px; right: 24px; }

/* ---------- MARKETING / CONTENT SECTIONS ---------- */
.marketing { padding: 88px 30px; border-top: 1px solid var(--line); }
.marketing.alt { background: #0d0d0f; }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.marketing h2 { font-size: 34px; font-weight: 800; letter-spacing: -.8px; margin: 0 0 14px; max-width: 760px; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 30px; max-width: 640px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.mcard { border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; background: var(--panel-2); }
.mcard h3 { font-size: 22px; margin: 0 0 4px; font-weight: 800; letter-spacing: -.3px; }
.mcard .spec { color: var(--gold); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.mcard p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.feat { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--panel-2); }
.feat h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.feat p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 34px; }
.stepc { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--panel-2); }
.stepc .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #000; font-weight: 800; margin-bottom: 14px;
}
.stepc h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.stepc p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

.cta-btn {
  display: inline-block; background: var(--gold-2); color: #000; font-weight: 800; font-size: 15px;
  padding: 15px 28px; border-radius: 14px; text-decoration: none; transition: .15s;
}
.cta-btn:hover { transform: translateY(-2px); }

.faqlist { margin-top: 26px; max-width: 820px; }
.faqlist details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faqlist summary {
  cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; }
.faqlist details[open] summary::after { content: "−"; }
.faqlist details p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 12px 0 0; max-width: 720px; }

.gallery-grid { margin-top: 26px; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 30px; background: #0a0a0b; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { height: 26px; opacity: .9; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { color: #5f6066; font-size: 12px; }

/* ---------- INSTALLER MAP ---------- */
.installers-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 16px; }
#installerSearch {
  flex: 1; max-width: 440px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  padding: 13px 16px; border-radius: 12px; font-size: 14px; font-family: inherit;
}
#installerSearch:focus { outline: none; border-color: var(--gold); }
.installer-count { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }

.installers-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; height: 580px; }
.installer-map { height: 100%; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: #0d0d0f; }
.installer-list {
  height: 100%; overflow-y: auto; border: 1px solid var(--line);
  border-radius: 16px; background: var(--panel);
}
.installer-card { padding: 15px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .12s; }
.installer-card:hover, .installer-card.active { background: var(--panel-2); }
.installer-card.active { box-shadow: inset 3px 0 0 var(--gold-2); }
/* Featured shop is marked only by its #1 badge — no pre-selected highlight. */
.ic-badge {
  display: inline-block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #0a0a0b; background: var(--gold-2); font-weight: 800; padding: 3px 9px; border-radius: 6px; margin-bottom: 9px;
}
.ic-name { font-weight: 700; font-size: 15px; }
.ic-loc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ic-phone { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.ic-note { color: #6a6a70; font-size: 11.5px; margin-top: 4px; font-style: italic; }
.installer-empty, .map-err { padding: 30px; text-align: center; color: var(--muted); font-size: 14px; }

/* leaflet markers */
.voir-pin {
  width: 15px; height: 15px; border-radius: 50%;
  background: #e8eaed; border: 2px solid #0a0a0b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 2px 6px rgba(0,0,0,.6);
}
.voir-pin.featured {
  width: 22px; height: 22px; background: #fff; border: 2px solid #0a0a0b;
  box-shadow: 0 0 0 3px rgba(255,255,255,.4), 0 0 18px rgba(255,255,255,.55);
  animation: pinPulse 2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.4), 0 0 18px rgba(255,255,255,.5); }
  50% { box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 0 26px rgba(255,255,255,.7); }
}

/* leaflet popup dark theme */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: #141416; color: var(--text); border: 1px solid var(--line);
}
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: var(--font); font-size: 13px; margin: 12px 14px; line-height: 1.5; }
.pop-name { font-weight: 700; font-size: 14px; }
.pop-badge { background: var(--gold-2); color: #000; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 5px; }
.pop-addr { color: var(--muted); margin: 5px 0; }
.leaflet-popup-content a { color: var(--gold-2); font-weight: 600; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-control-zoom a { background: #141416 !important; color: var(--text) !important; border-color: var(--line) !important; }

/* ---------- SHOP DETAIL PAGE (/installer/<slug>) ---------- */
.shop-page-body { background: var(--bg); color: var(--text); min-height: 100vh; overflow-y: auto; }
.shop-topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; border-bottom: 1px solid var(--line);
  background: rgba(11,12,14,.9); backdrop-filter: blur(8px);
}
.shop-back { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.shop-back:hover { color: var(--text); }
.shop-topbar .brand { text-decoration: none; color: var(--text); }
.shop-page { max-width: 880px; margin: 0 auto; padding-bottom: 60px; }

/* inline shop detail (under the map) */
.shop-detail { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); scroll-margin-top: 20px; }
.sd-loading { display: flex; align-items: center; justify-content: center; height: 200px; }
.sd-bar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.sd-link { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.sd-link:hover { color: var(--text); }
.sd-close { width: 32px; height: 32px; border-radius: 8px; background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 13px; }
.sd-close:hover { background: rgba(255,255,255,.08); }
.shop-detail .shop-hero { background: radial-gradient(120% 100% at 0% 0%, #17181c, var(--panel)); }

.shop-hero { padding: 44px 40px 30px; background: radial-gradient(120% 100% at 0% 0%, #17181c, var(--bg)); border-bottom: 1px solid var(--line); }
.shop-badge { display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #0a0a0b; background: var(--gold-2); font-weight: 800; padding: 4px 11px; border-radius: 6px; margin-bottom: 14px; }
.shop-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.shop-title { font-size: 34px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.6px; }
.shop-loc { color: var(--muted); font-size: 14px; }
.shop-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.shop-rating.muted { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.star { color: #3a3f48; font-size: 16px; }
.star.on { color: var(--gold-2); }
.shop-rating-num { font-weight: 800; }
.shop-rating-count { color: var(--muted); font-size: 13px; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.shop-btn { padding: 11px 18px; border-radius: 11px; font-size: 13.5px; font-weight: 700; text-decoration: none; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.shop-btn:hover { border-color: #3a3f48; }
.shop-btn.primary { background: #e9edf2; color: #000; border-color: #e9edf2; }
.shop-btn.ghost { color: var(--muted); }

.shop-section { padding: 26px 40px; border-bottom: 1px solid var(--line); }
.shop-section:last-child { border-bottom: none; }
.shop-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 16px; }
.shop-blurb { font-size: 17px; line-height: 1.6; margin: 0; color: var(--text); }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel-2); }
.svc-name { font-weight: 700; font-size: 14px; }
.svc-desc { color: var(--muted); font-size: 12.5px; margin-top: 3px; }

.reviews-grid { display: grid; gap: 12px; }
.review-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--panel-2); }
.rev-top { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 38px; height: 38px; border-radius: 50%; background: #2a2f38; object-fit: cover; flex: none; }
.rev-author { font-weight: 700; font-size: 14px; }
.rev-stars .star { font-size: 13px; }
.rev-when { margin-left: auto; color: var(--muted); font-size: 12px; }
.rev-text { margin-top: 10px; font-size: 14px; line-height: 1.55; color: #cdd0d5; }
.reviews-empty { color: var(--muted); font-size: 14px; padding: 20px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }

/* responsive */
@media (max-width: 900px) {
  .shop-hero, .shop-section { padding-left: 22px; padding-right: 22px; }
  .shop-title { font-size: 26px; }
  .svc-grid { grid-template-columns: 1fr; }
  .installers-layout { grid-template-columns: 1fr; height: auto; }
  .installer-map { height: 380px; }
  .installer-list { height: 340px; }
  .installers-tools { flex-direction: column; align-items: stretch; }
  #installerSearch { max-width: none; }
  .app { grid-template-columns: 1fr; height: auto; }
  .stage { min-height: 60vh; }
  .panel { border-left: none; border-top: 1px solid var(--line); }
  .empty h1 { font-size: 30px; }
  .marketing { padding: 60px 20px; }
  .marketing h2 { font-size: 26px; }
  .cards3, .features, .steps3 { grid-template-columns: 1fr; }
}

/* ---------- render row + submit ---------- */
.render-row { display: flex; justify-content: center; margin-top: 12px; }
.rerender { background: none; border: none; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 8px; }
.rerender:hover { color: var(--text); }

/* ---------- lead / submit modal ---------- */
.lead-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lead-panel { position: relative; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lead-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.lead-close:hover { background: rgba(255,255,255,.08); }
.lead-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.4px; }
.lead-sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; line-height: 1.5; }
.lead-preview { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 18px; background: var(--panel-2); }
.lead-preview img { width: 120px; height: 74px; object-fit: cover; border-radius: 9px; flex: none; }
.lp-car { font-weight: 700; font-size: 14px; }
.lp-design { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.lead-field { margin-bottom: 12px; }
.lead-field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 6px; }
.lead-field input, .lead-field select, .lead-field textarea { width: 100%; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); padding: 12px; border-radius: 11px; font-size: 14px; font-family: inherit; }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus { outline: none; border-color: var(--gold); }
.lead-field textarea { resize: vertical; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-msg { text-align: center; font-size: 13px; color: var(--gold-2); margin-top: 10px; min-height: 16px; }
.lead-done { text-align: center; padding: 20px 0; }
.lead-check { width: 60px; height: 60px; border-radius: 50%; background: #1f6b45; color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 18px; }
#leadSubmit, #leadDoneClose { margin-top: 8px; }
@media (max-width: 560px) { .lead-row { grid-template-columns: 1fr; } .lead-panel { padding: 24px; } }

/* service / specialty chips (real shop content) */
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chip { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.svc-chip.alt { background: transparent; color: var(--muted); border-style: dashed; }

/* scannable services list (replaces the pill cloud) */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; }
.svc-list li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text); line-height: 1.45; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); }
@media (max-width: 640px) { .svc-list { grid-template-columns: 1fr; } }

/* searchable installer combobox */
.combo { position: relative; }
.combo-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  max-height: 230px; overflow-y: auto;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.combo-item { padding: 10px 13px; font-size: 13.5px; cursor: pointer; color: var(--text); }
.combo-item:first-child { color: var(--muted); }
.combo-item:hover { background: rgba(255,255,255,.06); }

/* ---------- mode toggle (Color & Wrap / Clear PPF) ---------- */
.mode-toggle { display: flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.mode-toggle .mt { background: transparent; border: none; color: var(--muted); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: .12s; }
.mode-toggle .mt.on { background: var(--gold-2); color: #000; }

/* ---------- LANDING / GOAL PICKER ---------- */
.intro { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background:
    radial-gradient(90% 60% at 50% -5%, rgba(255,255,255,.06), transparent 60%),
    repeating-linear-gradient(45deg, #0b0c0e 0 8px, #090a0c 8px 16px),
    #0a0b0d; }
.intro-top { border-bottom: 1px solid var(--line); }
/* Embedded in an iframe on voirppt.com: don't force a full-viewport hero (that's what created the big empty gap you scroll through). Standalone page keeps its 100vh hero. */
html.embedded .intro { min-height: 0; }
html.embedded .intro-body { justify-content: flex-start; padding-top: 28px; }
.intro-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 22px 64px; }
.intro-h { font-size: clamp(28px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.intro-sub { color: var(--muted); font-size: clamp(15px, 2.2vw, 19px); margin: 12px 0 40px; }
.goal-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; width: 100%; max-width: 940px; }
.goal-card { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; padding: 0; color: var(--text); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.goal-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.goal-media { position: relative; aspect-ratio: 1240 / 600; background: #000; overflow: hidden; }
.goal-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before, .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255,255,255,.8); box-shadow: 0 0 10px rgba(0,0,0,.6); }
.goal-ppf-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.goal-ppf-panel { fill: rgba(57,192,255,.30); stroke: #7fd4ff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.goal-ba, .goal-tag { position: absolute; top: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; backdrop-filter: blur(3px); z-index: 2; }
.goal-ba.before { left: 10px; } .goal-ba.after { right: 10px; }
.goal-tag { right: 12px; background: rgba(57,192,255,.95); color: #001018; }
.goal-info { padding: 20px 22px 24px; }
.goal-info h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; }
.goal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.goal-chips span { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.goal-info p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.goal-cta { font-weight: 700; font-size: 14.5px; color: var(--gold-2); }
.intro-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.voir-site { background: var(--gold-2) !important; color: #0a0b0d !important; border-color: var(--gold-2) !important; font-weight: 700; }
.voir-site:hover { background: #fff !important; }
.ghost-back { opacity: .82; }
@media (max-width: 720px) {
  .goal-cards { grid-template-columns: 1fr; max-width: 460px; }
  .intro-body { justify-content: flex-start; padding-top: 28px; }
}

/* ---------- CLEAR PPF coverage selector ---------- */
.ppf-app { display: grid; grid-template-columns: 1fr 420px; height: 100vh; height: 100dvh; }
.ppf-stage { position: relative; display: flex; flex-direction: column; min-width: 0;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.06), transparent 60%),
    repeating-linear-gradient(45deg, #0b0c0e 0 7px, #090a0c 7px 14px),
    #0a0b0d; }
.ppf-cars { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; min-height: 0; overflow: hidden; }
.ppf-car { position: relative; display: flex; max-width: min(96%, 1080px); }
.ppf-car img { display: block; max-width: 100%; max-height: 46vh; width: auto; height: auto; border-radius: 10px; user-select: none; -webkit-user-drag: none; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ppf-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ppf-panel { fill: transparent; stroke: transparent; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: auto; cursor: pointer; transition: fill .12s, stroke .12s; }
.ppf-panel.hover { fill: rgba(57,192,255,.22); stroke: #39c0ff; }
.ppf-panel.preview { fill: rgba(57,192,255,.28); stroke: #39c0ff; }
.ppf-panel.on { fill: rgba(57,192,255,.44); stroke: #8bd8ff; }

.ppf-side { background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto; padding: 26px 24px; }
.ppf-packages { display: flex; gap: 8px; margin-top: 18px; }
.ppf-packages button { flex: 1; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 12.5px; padding: 13px 6px; border-radius: 11px; cursor: pointer; transition: .12s; }
.ppf-packages button:hover { border-color: #39c0ff; color: #fff; }
.ppf-packages button.on { background: #39c0ff; color: #001018; border-color: #39c0ff; }
.ppf-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ppf-area { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; padding: 11px 13px; border-radius: 10px; cursor: pointer; transition: .12s; text-align: left; }
.ppf-area:hover, .ppf-area.hover { border-color: #39c0ff; color: var(--text); }
.ppf-area.on { background: rgba(57,192,255,.14); border-color: #39c0ff; color: #fff; }
.ppf-area.ppf-hidden { display: none; }
.ppf-area.ppf-hidden.reveal { display: flex; }
.ppf-area .ppf-check { opacity: 0; color: #39c0ff; font-weight: 800; }
.ppf-area.on .ppf-check { opacity: 1; }
.ppf-summary { margin: 20px 0 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ppf-summary b { color: var(--text); }
.lp-shield { width: 118px; height: 74px; display: grid; place-items: center; font-size: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; flex: none; }

@media (max-width: 900px) {
  .ppf-app { grid-template-columns: 1fr; height: auto; }
  .ppf-stage { height: 64vh; position: sticky; top: 0; z-index: 2; }
  .ppf-car img { max-height: 27vh; }
  .ppf-side { border-left: none; border-top: 1px solid var(--line); }
  .mode-toggle .mt { padding: 6px 9px; font-size: 11.5px; }
}
