/* LITELOK Lock Selector — brand system.
   No blue. Gold #cea761. Dark #0a0b0e. Roboto / Roboto Condensed / Space Mono. */

:root {
  --gold: #cea761;
  --gold-dark: #b08e4a;
  --ink: #0a0b0e;
  --ink-soft: #2a2c33;
  --paper: #ffffff;
  --mist: #f4f3f0;
  --line: #e3e1db;
  --muted: #6b6c72;
  --success: #2ed573;
  --danger: #e63946;
  --radius: 14px;
  --shadow: 0 6px 30px rgba(10, 11, 14, 0.09);
  --shadow-lg: 0 18px 50px rgba(10, 11, 14, 0.16);
}

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

html, body {
  background-color: var(--mist);
  color: var(--ink);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Background image gives the selector focus; a darkening overlay turns
   the surround moody while keeping the white content panels popping. */
body {
  background-image:
    linear-gradient(rgba(10, 11, 14, 0.68), rgba(10, 11, 14, 0.82)),
    url("https://cdn.shopify.com/s/files/1/0601/9661/8409/files/lock-selector-bg.jpg?v=1779273321");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  min-height: 100vh;
}

h1, h2, h3, .display {
  font-family: "Roboto Condensed", "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.mono { font-family: "Space Mono", monospace; }

a { color: inherit; }

.app {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ── header ───────────────────────────────────────────────── */
.app-header { text-align: center; margin-bottom: 26px; color: #fff; }
.app-header .kicker {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.app-header h1 { font-size: clamp(30px, 6vw, 46px); margin: 6px 0 4px; color: #fff; }
.app-header p { color: #c8c9cf; max-width: 480px; margin: 0 auto; }

/* ── progress ─────────────────────────────────────────────── */
.progress { margin: 0 auto 24px; max-width: 560px; }
.progress-track {
  height: 6px; background: var(--line); border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--gold);
  border-radius: 99px; transition: width 0.4s cubic-bezier(.4,0,.2,1);
}
.progress-label {
  display: flex; justify-content: space-between;
  font-family: "Space Mono", monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 8px;
}

/* ── card surface ─────────────────────────────────────────── */
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
@media (max-width: 560px) { .panel { padding: 22px 18px; } }

/* ── intro ────────────────────────────────────────────────── */
.intro { text-align: center; }
.intro-hook {
  display: inline-block; background: var(--ink); color: #fff;
  border-radius: 12px; padding: 14px 22px; margin-bottom: 18px;
  border-left: 4px solid var(--danger);
}
.intro-hook-stat {
  font-family: "Roboto Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em;
  line-height: 1.15;
}
.intro-hook-tag {
  font-size: 13px; color: #c8c9cf; margin-top: 4px;
}
.intro h2 { font-size: 30px; margin-bottom: 10px; }
.intro p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.intro-points {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 26px;
}
.intro-point {
  flex: 1 1 200px; max-width: 240px; text-align: left;
  background: var(--mist); border-radius: 10px; padding: 14px 16px;
  border-left: 3px solid var(--gold);
}
.intro-point strong { display: block; font-size: 15px; }
.intro-point span { font-size: 13px; color: var(--muted); }

/* ── quiz step ────────────────────────────────────────────── */
.step-head { margin-bottom: 20px; }
.step-head .step-no {
  font-family: "Space Mono", monospace; font-size: 12px;
  letter-spacing: 0.18em; color: var(--gold-dark); text-transform: uppercase;
}
.step-head h2 { font-size: 26px; margin: 4px 0 2px; }
.step-head p { color: var(--muted); font-size: 14px; }

.question { margin-bottom: 24px; }
.question:last-child { margin-bottom: 0; }
.question > label {
  display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px;
}

/* card-style options */
.options-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.opt {
  border: 1.5px solid var(--line); border-radius: 11px;
  padding: 14px 14px; cursor: pointer; background: var(--paper);
  transition: border-color .15s, box-shadow .15s, transform .08s;
  display: flex; flex-direction: column; gap: 3px;
}
.opt:hover { border-color: var(--gold); }
.opt:active { transform: scale(0.99); }
.opt.selected {
  border-color: var(--gold); background: #fdf9f0;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.opt .opt-icon { margin-bottom: 6px; display: block; line-height: 0; }
.opt .opt-icon img,
.opt .opt-icon svg { display: block; width: 44px; height: 44px; object-fit: contain; }

/* Cargo bike icon has Noun Project attribution baked into the bottom of
   the PNG; render larger and clip the bottom 30% so only the artwork
   shows. Negative margin keeps the label below correctly spaced. */
.opt .opt-icon img.icon-cargo {
  width: 56px; height: 56px;
  object-fit: cover; object-position: top;
  clip-path: inset(0 0 30% 0);
  margin-bottom: -14px;
}

/* Mobile vehicle cards: two-per-row stacked layout with the icon centred
   above the text. The default auto-fit grid drops to one column on
   narrow phones, so force two columns here. */
.options-grid[data-q="vehicleType"] {
  grid-template-columns: repeat(2, 1fr);
}
.opt[data-q="vehicleType"] {
  align-items: center;
  text-align: center;
}

/* Desktop layout for the vehicle-type cards: three across, with the icon
   on the left in a 1:2 column split alongside the text. Mobile keeps the
   default stacked layout (icon over text, two cards per row). */
@media (min-width: 560px) {
  .options-grid[data-q="vehicleType"] {
    grid-template-columns: repeat(3, 1fr);
  }
  .opt[data-q="vehicleType"] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 3px;
    align-items: center;
    text-align: left;
  }
  /* Icon spans both rows in column 1; label and desc stack in column 2. */
  .opt[data-q="vehicleType"] .opt-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .opt[data-q="vehicleType"] .opt-icon img.icon-cargo {
    margin-bottom: 0;
  }
}
.opt .opt-label { font-weight: 600; font-size: 15px; }
.opt .opt-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* multi-select checkbox cards */
.opt[data-multi="1"] { position: relative; padding-left: 44px; }
.opt[data-multi="1"]::before {
  content: ""; position: absolute; left: 15px; top: 16px;
  width: 17px; height: 17px; border: 1.5px solid var(--line);
  border-radius: 5px; background: #fff; transition: all .15s;
}
.opt[data-multi="1"].selected::before {
  background: var(--gold); border-color: var(--gold);
}
.opt[data-multi="1"].selected::after {
  content: "✓"; position: absolute; left: 18px; top: 13px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}

/* pill-style options */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border: 1.5px solid var(--line); border-radius: 99px;
  padding: 8px 16px; cursor: pointer; background: var(--paper);
  font-weight: 600; font-size: 14px; transition: all .15s;
}
.pill:hover { border-color: var(--gold); }
.pill.selected { border-color: var(--gold); background: var(--ink); color: var(--paper); }

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 17px; border: none; border-radius: 10px;
  padding: 13px 28px; cursor: pointer; transition: all .15s;
  text-decoration: none; display: inline-block;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-primary:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); padding: 13px 18px; }
.btn-ghost:hover { color: var(--gold-dark); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-block { width: 100%; }

.step-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 26px; gap: 12px;
}

/* ── results ──────────────────────────────────────────────── */
.results-hero { text-align: center; margin-bottom: 8px; }
.results-hero .kicker {
  font-family: "Space Mono", monospace; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark);
}
.results-hero h2 { font-size: 30px; margin: 6px 0; }
.results-hero p { color: var(--muted); }

.rec-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 22px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px;
  border-top: 4px solid var(--gold); margin-bottom: 18px;
}
@media (max-width: 560px) { .rec-card { grid-template-columns: 1fr; } }
.rec-card img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: var(--mist); border-radius: 10px;
}
.rec-badges {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
  align-items: center;
}
.rec-badge, .made-badge {
  display: inline-flex; align-items: center;
  font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; padding: 5px 10px; border-radius: 6px; line-height: 1;
}
.rec-badge { background: var(--gold); }
.made-badge { background: var(--ink); gap: 6px; padding-left: 8px; }
.made-badge svg { width: 18px; height: 11px; display: block; flex-shrink: 0; border-radius: 1px; }
.rec-card h3 { font-size: 26px; }
.rec-card .rec-tag { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.rec-price {
  font-family: "Roboto Condensed", sans-serif; font-weight: 700;
  font-size: 28px; margin: 6px 0;
}

/* Strikethrough compare-at price (shown when an item is on sale). */
.price-compare {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
  font-size: 0.78em;
  vertical-align: middle;
}
.rec-highlights { list-style: none; margin: 10px 0; }
.rec-highlights li {
  font-size: 13.5px; padding-left: 20px; position: relative; margin-bottom: 5px;
}
.rec-highlights li::before {
  content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: 10px; top: 3px;
}
.rec-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.spec-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.spec-chip {
  background: var(--mist); border-radius: 6px; padding: 4px 10px;
  font-size: 12px; font-family: "Space Mono", monospace;
}
.spec-chip.good { background: #eaf7ee; color: #1c7a3e; }

/* section blocks */
.block { margin-top: 22px; }
.block-title {
  font-family: "Roboto Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 20px; letter-spacing: 0.02em;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.block-title::before {
  content: ""; width: 22px; height: 3px; background: var(--gold); border-radius: 2px;
}

.why-list { list-style: none; }
.why-list li {
  background: var(--paper); border-radius: 10px; padding: 13px 16px;
  margin-bottom: 8px; font-size: 14px; box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
}

/* alternatives */
.alt-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .alt-grid { grid-template-columns: 1fr; } }
.alt-card {
  background: var(--paper); border-radius: 11px; padding: 16px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start;
}
.alt-card img {
  width: 72px; height: 72px; object-fit: contain;
  background: var(--mist); border-radius: 8px; flex-shrink: 0;
}
.alt-card .alt-label {
  font-family: "Space Mono", monospace; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark);
}
.alt-card h4 { font-family: "Roboto Condensed", sans-serif; font-size: 19px; }
.alt-card .alt-price { font-weight: 700; font-size: 15px; }
.alt-card a { font-size: 13px; color: var(--gold-dark); font-weight: 600; text-decoration: none; }

/* comparison table */
.compare-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.compare th, table.compare td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
}
table.compare thead th {
  font-family: "Roboto Condensed", sans-serif; text-transform: uppercase;
  font-size: 15px; background: var(--ink); color: var(--paper);
}
table.compare tbody th {
  font-weight: 600; color: var(--muted); white-space: nowrap;
}
table.compare td.best { background: #fdf9f0; font-weight: 600; }

/* stories */
.story-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.story-card {
  background: var(--paper); border-radius: 11px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.story-card img { width: 100%; height: 130px; object-fit: cover; background: var(--mist); }
.story-card .story-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.story-card h4 { font-family: "Roboto Condensed", sans-serif; font-size: 18px; margin-bottom: 4px; }
.story-card .story-meta {
  font-family: "Space Mono", monospace; font-size: 10.5px;
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.06em;
}
.story-card p { font-size: 13px; color: var(--muted); margin: 6px 0; flex: 1; }
.story-card a { font-size: 12.5px; font-weight: 600; color: var(--gold-dark); text-decoration: none; }

/* theft stat strip */
.stat-strip {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: 20px 24px; display: flex; align-items: center; gap: 20px;
  margin-top: 22px; flex-wrap: wrap;
}
.stat-strip .stat-big {
  font-family: "Roboto Condensed", sans-serif; font-weight: 700;
  font-size: 44px; color: var(--gold); line-height: 1;
}
.stat-strip .stat-text { flex: 1; min-width: 200px; }
.stat-strip .stat-text p { font-size: 14px; }
.stat-strip .stat-src {
  font-family: "Space Mono", monospace; font-size: 10px;
  color: var(--muted); margin-top: 4px;
}

/* mounting tip */
.tip {
  background: #fdf9f0; border: 1px solid var(--gold);
  border-radius: 10px; padding: 14px 16px; font-size: 14px;
}
.tip strong { display: block; font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase; font-size: 16px; margin-bottom: 3px; }

/* bundle */
.bundle-card {
  background: linear-gradient(110deg, var(--ink), var(--ink-soft));
  color: var(--paper); border-radius: var(--radius); padding: 20px 24px;
  margin-top: 14px;
}
.bundle-card .bundle-tag {
  font-family: "Space Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.bundle-card h4 { font-family: "Roboto Condensed", sans-serif; font-size: 22px; margin: 4px 0; }
.bundle-card p { font-size: 13.5px; color: #c8c9cf; margin-bottom: 20px; }

/* links row */
.resource-row { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 14px; }

/* mount accessory card */
.mount-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); border-radius: 11px; padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow); border-left: 3px solid var(--gold);
  text-decoration: none; color: inherit;
  transition: box-shadow .15s;
}
.mount-card:hover { box-shadow: var(--shadow-lg); }
.mount-card img {
  width: 80px; height: 80px; object-fit: cover;
  background: var(--mist); border-radius: 8px; flex-shrink: 0;
}
.mount-card .mount-text {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
}
.mount-card .mount-text strong {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase; font-size: 17px; line-height: 1.15;
}
.mount-card .mount-note { font-size: 13px; color: var(--muted); }
.mount-card .mount-price { font-weight: 700; font-size: 15px; }
.mount-card .mount-arrow {
  font-size: 24px; color: var(--gold-dark); flex-shrink: 0;
}

/* fitment gallery callout */
.fitment-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper); border-radius: 11px; padding: 20px 22px;
  box-shadow: var(--shadow); border-left: 3px solid var(--gold);
  text-decoration: none; color: inherit;
  transition: box-shadow .15s;
}
.fitment-card:hover { box-shadow: var(--shadow-lg); }
.fitment-card .fitment-text { flex: 1; }
.fitment-card strong {
  display: block; font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase; font-size: 19px; line-height: 1.15;
  margin-bottom: 4px;
}
.fitment-card .fitment-text span { font-size: 14px; color: var(--muted); }
.fitment-card .fitment-arrow {
  font-size: 28px; color: var(--gold-dark); flex-shrink: 0;
}
.resource-link {
  display: block; background: var(--paper); border-radius: 11px;
  padding: 16px; box-shadow: var(--shadow); text-decoration: none;
  border-left: 3px solid var(--gold);
}
.resource-link strong { font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase; font-size: 17px; display: block; }
.resource-link span { font-size: 13px; color: var(--muted); }

/* email capture */
.email-capture {
  background: var(--paper); border-radius: 11px; padding: 18px 20px;
  box-shadow: var(--shadow); border-left: 3px solid var(--gold);
}
.email-capture p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.email-capture form { display: flex; gap: 8px; flex-wrap: wrap; }
.email-capture input {
  flex: 1; min-width: 220px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 15px;
}
.email-capture input:focus { outline: none; border-color: var(--gold); }
.email-capture .lead-done {
  font-size: 14px; color: #1c7a3e; font-weight: 600; margin: 0;
}
.email-capture .lead-error {
  font-size: 13px; color: var(--danger); margin-top: 8px;
}

/* pre-recommendation email gate */
.gate .kicker {
  font-family: "Space Mono", monospace; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark);
}
.gate .email-capture {
  max-width: 460px; margin: 18px auto 14px; text-align: left;
}
.gate #gate-skip { margin-top: 2px; }

/* out of stock */
.oos-badge {
  display: inline-block; background: var(--danger); color: #fff;
  font-family: "Space Mono", monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; margin-left: 6px;
}
.rec-card.oos img, .alt-card.oos img { opacity: 0.5; }
.alt-card.oos .alt-label { color: var(--danger); }

.instock-callout {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #eaf7ee; border: 1px solid var(--success);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px;
}
.instock-callout .instock-text { flex: 1; min-width: 200px; }
.instock-tag {
  display: block; font-family: "Space Mono", monospace; font-size: 11px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #1c7a3e; margin-bottom: 2px;
}
.instock-callout strong {
  font-family: "Roboto Condensed", sans-serif; font-size: 20px;
  text-transform: uppercase; display: block;
}
.instock-sub { font-size: 13px; color: var(--muted); }

/* story chip — featured product on each story card */
.story-card { position: relative; }
.story-chip {
  position: absolute; top: 10px; left: 10px;
  background: var(--ink); color: var(--gold);
  font-family: "Space Mono", monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}

/* mobile comparison cards */
.compare-cards { display: none; }
.compare-card {
  background: var(--paper); border-radius: 11px; padding: 18px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.compare-card.best {
  border-left: 3px solid var(--gold);
  background: #fdf9f0;
}
.compare-card h4 {
  font-family: "Roboto Condensed", sans-serif; text-transform: uppercase;
  font-size: 20px; margin-bottom: 14px;
}
.compare-card dl {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 14px;
  font-size: 13px; margin-bottom: 16px;
}
.compare-card dt { color: var(--muted); }
.compare-card dd { font-weight: 500; }
.compare-card .btn {
  width: 100%; text-align: center; font-size: 15px; padding: 11px 18px;
}

@media (max-width: 640px) {
  .compare-wrap { display: none; }
  .compare-cards { display: block; }
}

/* footer actions */
.results-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px;
}

/* misc */
.foot-note {
  text-align: center; font-size: 12px; color: #c8c9cf;
  margin-top: 30px;
}
.foot-note .made { color: var(--gold); font-weight: 600; }
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 12px 20px;
  border-radius: 99px; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50;
}
.toast.show { opacity: 1; }
.hidden { display: none !important; }
.skeleton {
  background: linear-gradient(90deg, var(--mist) 25%, #ecebe6 50%, var(--mist) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
  border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }
