/* ============================================================
   Lolly Cannabis — Menu Wall  (v13 consolidated)
   Single source of truth. All patch layers resolved.
   ============================================================ */

/* === Design tokens ========================================= */
:root {
  --bg: #111112;
  --bg-rgb: 17,17,18;
  --panel: #1a1a1d;
  --panel-2: #232327;
  --text: #fff6ef;
  --muted: #c8b1a4;
  --line: rgba(255,255,255,0.08);
  --accent: #c44c42;
  --accent-strong: #cb5220;
  --accent-soft: #b37d7f;
  --accent-olive: #a7a87e;
  --accent-rgb: 196,76,66;
  --accent-strong-rgb: 203,82,32;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(0,0,0,0.28);
}

/* === Reset ================================================= */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left,  rgba(var(--accent-strong-rgb),0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(var(--accent-rgb),0.10), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { overflow: hidden; }

/* === Wall layout =========================================== */
.wall {
  height: 100vh;
  width: 100vw;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* === Screen panels ========================================= */
.screen {
  min-width: 0;
  min-height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  position: relative;
}
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* === Screen header ========================================= */
.screen-header {
  padding: 18px 22px 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.08), rgba(var(--accent-rgb),0));
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #10130f;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(var(--accent-rgb),0.28);
  flex: none;
}
.brand-copy { min-width: 0; }
.brand-copy h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
/* Left and right screens: logo carries the brand — hide the text title */
#screen-left .brand-copy h1,
#screen-right .brand-copy h1 { display: none; }

.brand-copy p {
  margin: 0;
  font-size: 12px;
  color: #e0c9bd;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid rgba(var(--accent-strong-rgb),0.18);
  border-radius: 16px;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--accent-strong), #b94b1e);
  box-shadow: 0 10px 22px rgba(var(--accent-strong-rgb),0.22);
  color: #fff6ef;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.right-header-tools,
.center-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.screen-label {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 4;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* === Density toggle (right screen) ========================= */
.density-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}
.density-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.density-btn.is-active {
  background: rgba(var(--accent-rgb),0.16);
  color: #fff6ef;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.22);
}

/* === Scroll infrastructure ================================= */
.scroll-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.scroll-viewport::before,
.scroll-viewport::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  z-index: 3;
  pointer-events: none;
}
.scroll-viewport::before {
  top: 0;
  background: linear-gradient(180deg, rgba(15,17,21,1), rgba(15,17,21,0));
}
.scroll-viewport::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(15,17,21,1), rgba(15,17,21,0));
}
.scroll-track { will-change: transform; }

/* === Common card surfaces ================================== */
.section-card,
.feature-card,
.category-block,
.product-card,
.info-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.section-card { padding: 16px; }
.section-card-highlight {
  border-color: rgba(var(--accent-rgb),0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 10px 24px rgba(0,0,0,0.12);
}

/* === Inner content ========================================= */
.inner {
  padding: 16px;
  display: grid;
  gap: 14px;
}
.empty-state { padding: 18px; color: var(--muted); }

/* === Hero ================================================== */
.hero {
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.22), rgba(var(--accent-rgb),0.05));
  border: 1px solid rgba(var(--accent-rgb),0.22);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -40px; right: -26px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.28), rgba(198,255,77,0));
}
.hero-kicker {
  color: #ffd5c8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}
.hero h2 { margin: 10px 0 8px; font-size: 28px; line-height: 0.96; letter-spacing: -0.04em; }
.hero p  { margin: 0; color: #d8dde4; font-size: 14px; line-height: 1.45; max-width: 26ch; }

/* === Section typography ==================================== */
.section-title {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.section-head-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.helper-copy { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.helper-copy code {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 8px;
}
.section-helper { max-width: 38ch; margin-top: 4px; }

/* === Pills ================================================= */
.pill-row, .meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #dde2e8;
}
.pill-live { background: rgba(var(--accent-rgb),0.12); color: var(--accent); border-color: rgba(var(--accent-rgb),0.18); }

/* === Feature card ========================================== */
.feature-card { padding: 16px; display: grid; gap: 12px; }
.feature-card h3 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.feature-card .feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feature-card .big-stat { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.feature-card p { margin: 0; color: #d6dbe1; font-size: 14px; line-height: 1.4; }

/* === Lane cards removed — not used === */

/* === Mini rows (left-panel lists) ========================== */
.mini-list { display: grid; gap: 10px; }
.mini-row { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; align-items: center; }
.mini-topline { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: start; }
.mini-thumb {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  object-fit: cover;
}
.mini-copy { min-width: 0; }
.mini-copy h4 { margin: 0; font-size: 15px; line-height: 1.15; letter-spacing: -0.01em; padding-right: 8px; }
.mini-copy p  { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.mini-price {
  align-self: start;
  justify-self: end;
  min-width: 82px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(var(--accent-strong-rgb),0.22), rgba(var(--accent-rgb),0.18));
  border: 1px solid rgba(var(--accent-strong-rgb),0.2);
  color: #fff9f4;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(var(--accent-strong-rgb),0.16);
}
.mini-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.mini-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.mini-status-chip, .fresh-chip {
  display: inline-flex; align-items: center;
  padding: 5px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ffe1bf;
  background: rgba(var(--accent-strong-rgb),0.12);
  border: 1px solid rgba(var(--accent-strong-rgb),0.18);
}
.format-badge, .grams-chip, .value-chip {
  display: inline-flex; align-items: center;
  padding: 5px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  color: #efe5cf;
}
.icon-pills { margin-bottom: 12px; }
.icon-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; }
.pill-icon { width: 18px; height: 18px; }

/* === Strain chips ========================================== */
.inline-strain,
.stat-pill.strain-indica,
.stat-pill.strain-sativa,
.stat-pill.strain-hybrid,
.stat-pill.strain-variety {
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.inline-strain.strain-indica,  .stat-pill.strain-indica,  .card-chip.strain-indica  { background: rgba(170,120,255,0.16); color: #d8c2ff; border-color: rgba(170,120,255,0.24); }
.inline-strain.strain-sativa,  .stat-pill.strain-sativa,  .card-chip.strain-sativa  { background: rgba(255,169,77,0.16);  color: #ffd4a6; border-color: rgba(255,169,77,0.24); }
.inline-strain.strain-hybrid,  .stat-pill.strain-hybrid,  .card-chip.strain-hybrid  { background: rgba(95,218,146,0.16);  color: #b9f1cb; border-color: rgba(95,218,146,0.24); }
.inline-strain.strain-variety, .stat-pill.strain-variety, .card-chip.strain-variety { background: rgba(255,255,255,0.08);  color: #dbe0e8; border-color: rgba(255,255,255,0.12); }
.inline-strain.strain-missing, .stat-pill.strain-missing, .card-chip.strain-missing { background: rgba(255,98,98,0.12);    color: #ffc5c5; border-color: rgba(255,98,98,0.22); }

/* === Product cards (shared / center screen) ================ */
.product-stack { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; align-content: start; }
.product-card {
  padding: 12px;
  display: grid;
  grid-template-columns: 60px minmax(0,1fr);
  gap: 8px;
  align-items: start;
  min-height: 0;
}
.product-card-inhalable  { border-left: 3px solid rgba(var(--accent-rgb),0.34); }
.product-card-concentrate { border-left: 3px solid rgba(170,120,255,0.28); }
.product-card-ingestible { border-left: 3px solid rgba(255,169,77,0.30); }
.product-card-topical    { border-left: 3px solid rgba(95,218,146,0.28); }
.product-thumb {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  object-fit: cover;
  flex: none;
}
.product-copy { min-width: 0; display: grid; gap: 10px; }
.product-topline { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.product-title-wrap { min-width: 0; }
.product-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 5px;
}
.product-copy h4 { margin: 0; font-size: 15px; line-height: 1.15; letter-spacing: -0.01em; }
.price { font-size: 24px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.card-chip {
  padding: 5px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.rank-chip    { background: rgba(var(--accent-rgb),0.12); color: var(--accent); border-color: rgba(var(--accent-rgb),0.18); white-space: nowrap; }
.popular-chip { background: rgba(var(--accent-strong-rgb),0.14); color: #ffd5c8; border-color: rgba(var(--accent-strong-rgb),0.20); }
.metric-grid  { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.metric {
  min-width: 0;
  padding: 8px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.metric-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.metric strong { display: block; font-size: 12px; line-height: 1.2; word-break: break-word; }
.metric-highlight { background: rgba(var(--accent-rgb),0.09); border-color: rgba(var(--accent-rgb),0.18); }
.metric-highlight strong { color: #ffd5c8; }
.product-foot { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; }
.stat-pill {
  padding: 6px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.stat-pill.highlight { background: rgba(var(--accent-rgb),0.12); color: var(--accent); border-color: rgba(var(--accent-rgb),0.18); }

/* === Heat bars ============================================= */
.heat-block { display: inline-flex; align-items: center; gap: 8px; }
.heat-bars  { display: inline-flex; gap: 4px; }
.heat-bar   { width: 8px; height: 14px; border-radius: 3px; background: rgba(255,255,255,0.14); }
.heat-bar.active { background: linear-gradient(180deg, #ffbb7d, #d86a2a); }
.heat-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #f0dfcf; }

/* === Decision cards (center screen) ======================== */
.decision-grid { display: grid; gap: 10px; }
.decision-card {
  padding: 14px; border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1f26, #151920);
  display: grid; gap: 8px;
}
.decision-card-top { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: start; }
.decision-title-block { min-width: 0; }
.decision-title-block h4 { margin: 0; font-size: 16px; line-height: 1.08; letter-spacing: -0.02em; }
.decision-meta, .ranking-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px;
}
.decision-price {
  font-size: 18px; font-weight: 900; line-height: 1; letter-spacing: -0.03em;
  color: #fff9f3;
  background: rgba(var(--accent-strong-rgb),0.14);
  border: 1px solid rgba(var(--accent-strong-rgb),0.18);
  padding: 7px 10px; border-radius: 12px;
}
.decision-subline { display: flex; flex-wrap: wrap; gap: 6px; color: #d7ddd8; font-size: 12px; }
.decision-subline span, .ranking-stats span {
  display: inline-flex; align-items: center;
  padding: 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
}
.decision-bottom { display: grid; gap: 8px; }
.decision-chips  { display: flex; gap: 6px; flex-wrap: wrap; }

/* === Ranking wall ========================================== */
.ranking-wall-section { display: grid; gap: 14px; }
.ranking-wall-head    { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.ranking-wall-head p  { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; max-width: 32ch; }
.rank-pill { background: rgba(var(--accent-rgb),0.12); color: var(--accent); border-color: rgba(var(--accent-rgb),0.18); }
.ranking-wall-grid { display: grid; gap: 10px; }
.ranking-card {
  padding: 14px; border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1f26, #151920);
  display: grid; gap: 10px;
}
.ranking-top   { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.ranking-index { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; color: #ffd5c8; }
.ranking-card h4 { margin: 0; font-size: 16px; line-height: 1.1; letter-spacing: -0.02em; }
.ranking-stats { display: flex; flex-wrap: wrap; gap: 8px; }

/* === Specials / promo rows ================================= */
.specials-list { display: grid; gap: 8px; }
.special-row {
  display: grid; gap: 4px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
}
.special-row strong { font-size: 13px; line-height: 1.1; }
.special-row span   { color: var(--muted); font-size: 12px; line-height: 1.35; }
.special-row.is-today { border-color: rgba(var(--accent-rgb),0.22); background: rgba(var(--accent-strong-rgb),0.12); }
.promo-products { display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.promo-product-pill {
  padding: 6px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dce3cd;
}

/* === Category artwork icons ================================ */
.category-icon         { width: 14px; height: 14px; object-fit: contain; display: inline-block; vertical-align: -2px; }
.category-icon-emoji   { font-size: 12px; line-height: 1; }
.category-icon-inline  { margin-right: 6px; }
.menu-kicker-icon      { width: 18px; height: 18px; }
.product-meta-icon     { width: 14px; height: 14px; opacity: 0.95; }

/* === Menu kicker / subhead ================================= */
.menu-kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: #dce3cd;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 800;
  margin-bottom: 8px;
}
.menu-subhead {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.count-wrap { text-align: right; min-width: 82px; }
.menu-slide-head .count { color: var(--text); font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -0.05em; }
.count-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }

/* === Discovery tiles (left screen) ========================= */
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.discovery-tile {
  position: relative; overflow: hidden;
  min-height: 148px; padding: 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, #1b2027, #171b21);
  display: grid; grid-template-rows: auto 1fr auto; gap: 10px;
}
.discovery-tile::after {
  content: ""; position: absolute;
  width: 120px; height: 120px; right: -22px; top: -34px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 68%);
  pointer-events: none;
}
.discovery-icon {
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.discovery-title { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.discovery-copy p { margin: 6px 0 0; font-size: 13px; line-height: 1.34; color: #d8dde4; }
.discovery-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.discovery-stat   { font-size: 24px; font-weight: 900; letter-spacing: -0.05em; white-space: nowrap; }
.discovery-meta   { min-width: 0; text-align: right; font-size: 11px; color: #f1ddcf; text-transform: uppercase; letter-spacing: 0.1em; }
.discovery-tile.accent-warm     { border-color: rgba(var(--accent-strong-rgb),0.22); background: linear-gradient(180deg, rgba(var(--accent-rgb),0.18), rgba(25,26,30,0.96)); }
.discovery-tile.accent-rose     { border-color: rgba(var(--accent-rgb),0.18); }
.discovery-tile.accent-olive    { border-color: rgba(167,168,126,0.22); }
.discovery-tile.accent-cool     { border-color: rgba(140,167,196,0.18); }

/* === Info card ============================================= */
.info-card { padding: 15px; }
.info-card h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.03em; }
.info-card p  { margin: 0; color: #d0d5dc; font-size: 14px; line-height: 1.45; }

/* === Motion / animation ==================================== */
.product-card, .menu-slide, .section-card, .feature-card, .lane-card {
  backface-visibility: hidden;
  transform: translateZ(0);
}
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-slide.is-active .product-card,
.decision-card { animation: cardFadeUp 0.42s ease both; }

@media (prefers-reduced-motion: reduce) {
  .menu-slide,
  .menu-slide.is-active .product-card,
  .decision-card,
  .left-promo-slide { animation: none !important; transition: none !important; }
}

/* === Center screen sticky header =========================== */
#screen-center .scroll-viewport,
#screen-center .scroll-track { height: 100%; overflow: hidden; }

.center-carousel { position: relative; height: 100%; min-height: 100%; overflow: hidden; }

.center-slide {
  position: absolute;
  inset: 0;
  width: 100%; max-width: 100%;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  gap: 8px;
  padding: 10px;
  box-sizing: border-box;
}

#screen-center .menu-slide-head { padding: 12px 16px; }
#screen-center .menu-slide-head h3 { font-size: 20px; margin: 0; }

.center-sticky-kicker {
  color: #dce3cd;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
}

.center-sticky-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}

.center-sticky-desc {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 280px;
  line-height: 1.4;
}

/* === Right screen carousel ================================= */
#screen-right .scroll-viewport,
#screen-right .scroll-track { height: 100%; overflow: hidden; }

.right-carousel { position: relative; height: 100%; min-height: 100%; overflow: hidden; }

.menu-slide {
  position: absolute;
  inset: 0; left: 0; right: 0;
  width: 100%; max-width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: none !important;
  transition: opacity 380ms ease;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
}
.menu-slide.is-active { opacity: 1; pointer-events: auto; }
.menu-slide.is-exit   { opacity: 0; }

.menu-slide-head {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.menu-slide-head h3 { margin: 0; letter-spacing: -0.04em; }

.menu-scroll-viewport { min-height: 0; overflow: hidden; position: relative; }
.menu-scroll-viewport::before,
.menu-scroll-viewport::after {
  content: ""; position: absolute;
  left: 0; right: 0; height: 16px;
  z-index: 3; pointer-events: none;
}
.menu-scroll-viewport::before { top: 0; background: linear-gradient(180deg, rgba(15,17,21,1), rgba(15,17,21,0)); }
.menu-scroll-viewport::after  { bottom: 0; background: linear-gradient(0deg, rgba(15,17,21,1), rgba(15,17,21,0)); }
.menu-scroll-track { will-change: transform; width: 100%; }

.menu-dots { position: absolute; right: 16px; bottom: 16px; z-index: 4; display: flex; gap: 8px; }
.menu-dot {
  width: 10px; height: 10px;
  border-radius: 999px; border: 0;
  background: rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.menu-dot.is-active { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.16); }

/* === Right screen — product cards (final resolved values) == */
#screen-right .menu-slide         { gap: 8px; padding: 10px; }
#screen-right .menu-slide-head    { padding: 10px; }
#screen-right .menu-slide-head h3 { font-size: 22px; }
#screen-right .menu-kicker,
#screen-right .menu-subhead,
#screen-right .count-label        { font-size: 9px; }
#screen-right .menu-slide-head .count { font-size: 30px; }
#screen-right .menu-slide,
#screen-right .menu-scroll-viewport,
#screen-right .menu-scroll-track,
#screen-right .product-stack,
#screen-right .product-card,
#screen-right .product-copy       { min-width: 0; max-width: 100%; overflow: hidden; }

#screen-right .product-stack  { grid-template-columns: 1fr; gap: 6px; }
#screen-right .product-card {
  padding: 7px 10px 7px 8px;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 7px; border-radius: 16px;
  align-items: center; margin-left: 0;
  width: 100%; max-width: 100%;
}
#screen-right .product-thumb  { width: 44px; height: 44px; border-radius: 9px; flex: none; overflow: hidden; }
#screen-right .product-copy   { gap: 5px; }
#screen-right .product-topline {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start; gap: 7px; min-width: 0;
}
#screen-right .product-title-wrap { min-width: 0; }
#screen-right .product-copy h4 {
  font-size: 12px; line-height: 1.06;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#screen-right .product-meta {
  font-size: 8.5px; margin-bottom: 1px;
  color: #cfd6de; line-height: 1.2; letter-spacing: 0.1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#screen-right .price {
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 950; color: #fff8f0;
  text-shadow: 0 0 14px rgba(var(--accent-rgb),0.10);
  justify-self: end; align-self: start;
  flex: none; max-width: 100%;
  letter-spacing: -0.04em; line-height: 0.95;
  min-width: 4ch; text-align: right;
}
#screen-right .chip-row   { gap: 4px; }
#screen-right .card-chip  { font-size: 8px; padding: 3px 6px; }
#screen-right .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 4px; align-items: stretch;
}
#screen-right .metric {
  padding: 4px 5px; border-radius: 9px;
  min-width: 0; max-width: 100%;
  display: grid; align-content: start; min-height: 42px;
  overflow: hidden;
  text-align: left;
}
#screen-right .metric-label  { font-size: 7px; margin-bottom: 1px; text-align: left; }
#screen-right .metric strong { font-size: 11px; line-height: 1.08; word-break: break-word; overflow-wrap: anywhere; hyphens: auto; display: block; text-align: center; }
#screen-right .product-foot  { gap: 5px; font-size: 10px; }
#screen-right .stat-pill     { padding: 4px 7px; font-size: 8px; }

/* === Right screen — density token overrides ================ */
#screen-right.density-compact .product-card    { padding: 5px 6px; grid-template-columns: 38px minmax(0,1fr); gap: 6px; }
#screen-right.density-compact .product-thumb   { width: 38px; height: 38px; }
#screen-right.density-compact .product-copy h4 { font-size: 11px; }
#screen-right.density-compact .price           { font-size: clamp(18px, 1.35vw, 22px); }

#screen-right.density-comfortable .product-card    { padding: 9px 10px; grid-template-columns: 50px minmax(0,1fr); gap: 8px; }
#screen-right.density-comfortable .product-thumb   { width: 50px; height: 50px; }
#screen-right.density-comfortable .product-copy h4 { font-size: 13px; }
#screen-right.density-comfortable .price           { font-size: clamp(22px, 1.65vw, 28px); }

/* === Left screen — 5-slide full-panel rotator ============== */
.left-rotator-inner { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 100%; }
#left-track > .left-rotator-inner { flex: 1 1 auto; min-height: 100%; }

.left-rotator-shell {
  position: relative;
  display: flex; flex-direction: column;
  flex: 1 1 auto; min-height: 720px;
  overflow: hidden; padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(196,76,66,0.18), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
@media (min-height: 900px) { .left-rotator-shell { min-height: 820px; } }

.left-rotator-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 100%;
  background: #111112;
  isolation: isolate;
}

.left-promo-slide {
  position: absolute; inset: 0;
  padding: 22px 22px 72px;
  display: grid; grid-template-rows: auto 1fr; gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease, visibility 0s 520ms;
}
.left-promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 520ms ease, transform 520ms ease, visibility 0s 0s;
}

.left-promo-slide.accent-fresh    { background: linear-gradient(180deg, rgba(196,76,66,0.18),   rgba(255,255,255,0.01)); }
.left-promo-slide.accent-popular  { background: linear-gradient(180deg, rgba(203,82,32,0.18),   rgba(255,255,255,0.01)); }
.left-promo-slide.accent-strong   { background: linear-gradient(180deg, rgba(203,82,32,0.22),   rgba(255,255,255,0.01)); }
.left-promo-slide.accent-value    { background: linear-gradient(180deg, rgba(167,168,126,0.20), rgba(255,255,255,0.01)); }
.left-promo-slide.accent-category { background: linear-gradient(180deg, rgba(102,132,180,0.18), rgba(255,255,255,0.01)); }
.left-promo-slide.accent-edibles  { background: linear-gradient(180deg, rgba(210,140,60,0.20),  rgba(255,255,255,0.01)); }
.left-promo-slide.accent-drinks   { background: linear-gradient(180deg, rgba(60,160,210,0.22),  rgba(255,255,255,0.01)); }
.left-promo-slide.accent-premium  { background: linear-gradient(180deg, rgba(100,190,210,0.20), rgba(255,255,255,0.01)); }
.left-promo-slide.accent-oils     { background: linear-gradient(180deg, rgba(120,170,120,0.20), rgba(255,255,255,0.01)); }
.left-promo-slide.accent-disposables { background: linear-gradient(180deg, rgba(150,120,200,0.20), rgba(255,255,255,0.01)); }

.left-slide-topline        { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.left-slide-topline-right  { display: inline-flex; align-items: center; gap: 10px; }
.left-slide-progress {
  display: inline-flex; align-items: center;
  padding: 6px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,246,239,0.78);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.left-slide-icon { font-size: 1.8rem; line-height: 1; }
.left-slide-copy { align-self: stretch; display: grid; gap: 8px; align-content: start; padding-bottom: 4px; overflow: hidden; }
.left-slide-copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 0.96; font-weight: 900; letter-spacing: -0.04em;
}
.left-slide-statline { display: grid; gap: 2px; }
.left-slide-statline strong { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1; font-weight: 900; }
.left-slide-statline span   { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,246,239,0.72); }
.left-slide-body { margin: 0; font-size: 0.9rem; line-height: 1.25; color: rgba(255,246,239,0.96); max-width: 28ch; }
.left-slide-meta { margin: 0; font-size: 0.78rem; line-height: 1.3; color: rgba(255,246,239,0.75); max-width: 32ch; }
.left-slide-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.left-slide-chip {
  display: inline-flex; align-items: center;
  padding: 7px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem; font-weight: 700; line-height: 1.15;
  white-space: nowrap;
}

/* Left slide product cards */
.left-slide-cards {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  overflow-y: auto;
  scrollbar-width: none;
}
.left-slide-cards::-webkit-scrollbar { display: none; }
.left-slide-card {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.left-slide-card:hover {
  background: rgba(var(--accent-rgb),0.1);
  border-color: rgba(var(--accent-rgb),0.3);
}

.decision-card,
.ranking-card,
.product-card {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.decision-card:hover,
.ranking-card:hover,
.product-card:hover {
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.1), rgba(var(--accent-rgb),0.05));
  border-color: rgba(var(--accent-rgb),0.3);
}
.left-slide-card-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  object-fit: cover;
  flex: none;
}
.left-slide-card-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.left-slide-card-name {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(255,246,239,0.95);
}
.left-slide-card-meta {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.left-slide-card-thc {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd5c8;
}
.left-slide-card-strain {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.left-slide-card-strain.strain-indica  { background: rgba(170,120,255,0.18); color: #d8c2ff; border-color: rgba(170,120,255,0.24); }
.left-slide-card-strain.strain-sativa  { background: rgba(255,169,77,0.18);  color: #ffd4a6; border-color: rgba(255,169,77,0.24); }
.left-slide-card-strain.strain-hybrid  { background: rgba(95,218,146,0.18);  color: #b9f1cb; border-color: rgba(95,218,146,0.24); }
.left-slide-card-strain.strain-variety { background: rgba(255,255,255,0.08); color: #dbe0e8; border-color: rgba(255,255,255,0.12); }
.left-slide-card-price {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff8f0;
  white-space: nowrap;
  flex: none;
}

.left-promo-slide.accent-specials { background: linear-gradient(180deg, rgba(255,198,60,0.16), rgba(255,255,255,0.01)); }

.left-slide-specials {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.left-slide-special {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.07);
}
.left-slide-special.is-today {
  background: rgba(255,198,60,0.14);
  border-color: rgba(255,198,60,0.28);
}
.left-slide-special-day {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,246,239,0.55);
}
.left-slide-special.is-today .left-slide-special-day {
  color: #ffd97a;
}
.left-slide-special-offer {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255,246,239,0.92);
}
.left-slide-special.is-today .left-slide-special-offer {
  color: #fff8ef;
}

.left-rotator-dots {
  position: absolute; right: 20px; bottom: 58px;
  display: flex; flex-direction: column; gap: 10px; z-index: 4;
}
.left-rotator-dot {
  width: 10px; height: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,0.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.left-rotator-dot.is-active { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.14); }

/* === Responsive breakpoints ================================ */
@media (max-width: 1000px) { .wall { min-width: 1080px; } }
@media (max-width: 1400px) {
  .discovery-grid,
  .lane-grid-priority { grid-template-columns: 1fr; }
  .lane-card-primary  { grid-row: auto; }
}

/* === Product detail overlay ================================ */
.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10,11,14,0);
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  pointer-events: none;
  border-radius: 26px;
  overflow: hidden;
}
.product-overlay.is-open {
  background: rgba(10,11,14,0.88);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.product-overlay-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(var(--accent-rgb),0.22);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
  display: grid;
  grid-template-rows: minmax(0,1fr) minmax(0,2fr);
  gap: 0;
  cursor: pointer;
  overflow: hidden;
}
.product-overlay.is-open .product-overlay-card {
  transform: scale(1);
  opacity: 1;
}

/* Top row — big image */
.overlay-image-col {
  position: relative;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.overlay-thumb {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
}
.overlay-price-badge {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff8f0;
  background: rgba(var(--accent-rgb),0.15);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  border-radius: 12px;
  padding: 6px 14px;
}

/* Bottom rows — info */
.overlay-info-col {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 20px 24px 16px;
  overflow: hidden;
  min-height: 0;
}
.overlay-header { display: grid; gap: 5px; }
.overlay-brand {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.overlay-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
.overlay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.overlay-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
}
.overlay-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.overlay-heat { grid-column: span 2; }
.overlay-heat .heat-block { display: flex; align-items: center; gap: 8px; }
.overlay-heat-bars { gap: 4px; }
.overlay-stat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.overlay-stat-value {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.overlay-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #c8cfd8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  align-self: start;
  min-height: 0;
}
.overlay-footer {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* Remove old top row styles */
.overlay-top { display: contents; }
.overlay-price { display: none; }
}

/* === Search overlay ======================================== */
.search-trigger { cursor: pointer; user-select: none; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,9,12,0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  pointer-events: none;
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}
.search-overlay.is-open {
  background: rgba(8,9,12,0.78);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.search-modal {
  width: 680px;
  max-width: calc(100vw - 48px);
  background: linear-gradient(180deg, #1e1f24, #18191e);
  border: 1px solid rgba(var(--accent-rgb),0.2);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  transform: translateY(-16px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
}
.search-overlay.is-open .search-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.search-icon { font-size: 18px; flex: none; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.search-input::placeholder { color: var(--muted); font-weight: 500; }
.search-close {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px 9px;
  flex: none;
}
.search-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.search-results {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.search-result-row {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease;
}
.search-result-row:hover { background: rgba(var(--accent-rgb),0.1); }
.search-result-row:last-child { border-bottom: none; }

.search-result-thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  flex: none;
}
.search-result-copy { min-width: 0; }
.search-result-brand {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 2px;
}
.search-result-name {
  font-size: 13px; font-weight: 700;
  color: var(--text); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap;
}
.search-result-cat {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.search-result-thc {
  font-size: 10px; font-weight: 800;
  color: #ffd5c8; letter-spacing: 0.06em;
}
.search-heat-badge {
  font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.search-heat-badge.heat-level-1 { background: rgba(95,218,146,0.15); color: #b9f1cb; }
.search-heat-badge.heat-level-2 { background: rgba(255,169,77,0.15);  color: #ffd4a6; }
.search-heat-badge.heat-level-3 { background: rgba(var(--accent-rgb),0.2); color: var(--accent); }
.search-heat-badge.heat-level-4 { background: rgba(196,76,66,0.2); color: #f4a89a; }

.search-result-price {
  font-size: 16px; font-weight: 900;
  letter-spacing: -0.03em; color: var(--text);
  white-space: nowrap; flex: none;
}

.search-empty {
  padding: 28px 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.search-hint {
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
}
.search-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  font-family: inherit;
  font-size: 11px;
}

/* === Preferences overlay =================================== */
.prefs-trigger {
  cursor: pointer; user-select: none;
}
.prefs-trigger:hover,
.search-trigger:hover { filter: brightness(1.15); }

.prefs-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,9,12,0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}
.prefs-overlay.is-open {
  background: rgba(8,9,12,0.82);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.prefs-modal {
  width: 580px;
  max-width: calc(100vw - 48px);
  background: linear-gradient(180deg, #1e1f24, #18191e);
  border: 1px solid rgba(var(--accent-rgb),0.25);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
  padding: 24px;
  display: grid;
  gap: 20px;
}
.prefs-overlay.is-open .prefs-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.prefs-modal-header {
  display: grid;
  gap: 6px;
  position: relative;
  padding-right: 36px;
}
.prefs-modal-header .search-close {
  position: absolute;
  top: 0; right: 0;
}
.prefs-modal-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.prefs-modal-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.prefs-section { display: grid; gap: 10px; }
.prefs-section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.prefs-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prefs-toggle {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.prefs-toggle:hover {
  background: rgba(var(--accent-rgb),0.1);
  border-color: rgba(var(--accent-rgb),0.3);
}
.prefs-toggle.is-active {
  background: rgba(var(--accent-rgb),0.22);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.14);
}

.prefs-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.prefs-btn-reset {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.prefs-btn-reset:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.prefs-btn-apply {
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: rgba(var(--accent-rgb),0.2);
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.12s;
}
.prefs-btn-apply:hover { background: rgba(var(--accent-rgb),0.34); }

.prefs-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
}
.prefs-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  font-family: inherit;
  font-size: 11px;
}

/* === Personalised mode banner ============================== */
.prefs-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.25), rgba(var(--accent-rgb),0.1));
  border: 1px solid rgba(var(--accent-rgb),0.4);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
  white-space: nowrap;
}
.prefs-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.prefs-banner-dot {
  color: var(--accent);
  font-size: 14px;
}
.prefs-banner-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prefs-banner-reset {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb),0.4);
  background: rgba(var(--accent-rgb),0.15);
  color: var(--accent);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.12s;
}
.prefs-banner-reset:hover { background: rgba(var(--accent-rgb),0.3); }
/* ─── Drinks Section (centre screen) ─────────────────────────────────────── */
.drinks-section .section-head-split { align-items: center; }
.drinks-cold-pill {
  background: linear-gradient(135deg, rgba(60,160,210,0.28), rgba(100,200,240,0.16));
  border: 1px solid rgba(100,200,240,0.32);
  color: #a8e4f8;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.drinks-cold-note {
  margin: 0 0 12px 0;
  font-size: 0.78rem;
  color: rgba(180,220,240,0.72);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ─── Personalisation — For You highlighting ──────────────────────────────── */
.foryou-chip {
  background: linear-gradient(135deg, rgba(196,76,66,0.30), rgba(203,82,32,0.22));
  border: 1px solid rgba(196,76,66,0.45);
  color: #ffd5c8;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Center decision card highlight */
.decision-card.pref-match {
  border-color: rgba(196,76,66,0.40);
  background: linear-gradient(180deg, rgba(196,76,66,0.10), rgba(196,76,66,0.03));
  box-shadow: 0 0 0 1px rgba(196,76,66,0.20) inset;
}

/* Left slide card highlight */
.left-slide-card.pref-match {
  border-color: rgba(196,76,66,0.40);
  background: rgba(196,76,66,0.10);
}
.left-slide-card-foryou {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd5c8;
  background: rgba(196,76,66,0.28);
  border: 1px solid rgba(196,76,66,0.40);
  border-radius: 999px;
  padding: 2px 6px;
  margin-right: 4px;
}

/* ─── Left slide — For You whole-slide indicator ─────────────────────────── */
.left-promo-slide.pref-slide-match {
  box-shadow: inset 0 0 0 1.5px rgba(196,76,66,0.35);
}
.left-slide-foryou-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffd5c8;
  background: rgba(196,76,66,0.28);
  border: 1px solid rgba(196,76,66,0.40);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 7px;
  vertical-align: middle;
  text-transform: uppercase;
}
