/* =========================================================
   CStore World — visual system
   ========================================================= */
:root {
  --bg: #0b0c10;
  --s1: #121318;
  --s2: #181a20;
  --s3: #20232b;
  --s4: #2b2f39;
  --text: #f3f5f9;
  --muted: #a1a6b3;
  --dim: #6b7180;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --amber: #ffb23e;
  --amber-hi: #ffc76e;
  --amber-ink: #1a1204;
  --ice: #8ad4ff;
  --ember: #ff7a45;
  --error: #ff8a70;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: 16px; line-height: 24px;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--amber); color: var(--amber-ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
img, svg { display: block; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

/* ---------- Text styles ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.035em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.015em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.lead { font-size: 18px; line-height: 28px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.amber { color: var(--amber); }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber); }

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.block { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin-top: 12px; max-width: 680px; }
.section-head p { max-width: 480px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; min-height: 40px; border-radius: 9999px; white-space: nowrap;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 12px 24px; min-height: 48px; }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-hi); }
.btn-ghost { background: var(--s2); border: 1px solid var(--line2); }
.btn-ghost:hover { background: var(--s3); border-color: rgba(255, 255, 255, 0.24); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn .ph { font-size: 18px; }
.btn:hover .ph-arrow-right, .btn:hover .ph-arrow-up-right { transform: translateX(2px); }
.btn .ph-arrow-right, .btn .ph-arrow-up-right { transition: transform 500ms var(--ease); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); }
.link-arrow .ph { transition: transform 500ms var(--ease); }
.link-arrow:hover .ph { transform: translateX(4px); }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100; padding: 8px 16px; border-radius: 9999px;
  background: var(--amber); color: var(--amber-ink); transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 28px; height: 28px; }
.logo .title-3 { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Floating nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px;
  width: max-content; max-width: calc(100% - 24px);
  background: rgba(18, 19, 24, 0.72); border: 1px solid var(--line); border-radius: 9999px;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  view-transition-name: site-nav;
}
.nav .logo { margin-right: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 12px; border-radius: 9999px; color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--s2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--s3); }
.nav-search {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 9999px;
  background: var(--s2); border: 1px solid var(--line); color: var(--muted);
  transition: color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}
.nav-search:hover { color: var(--text); border-color: var(--line2); }
.nav-search:active { transform: scale(0.97); }
kbd { padding: 2px 8px; border-radius: 6px; background: var(--s3); border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); }

.menu-btn { display: none; position: relative; width: 40px; height: 40px; border-radius: 9999px; background: var(--s2); border: 1px solid var(--line); }
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 500ms var(--ease);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 22px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 112px 24px 32px; background: rgba(11, 12, 16, 0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease);
}
.mobile-menu > * { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mobile-menu > * { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 60ms); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px;
  border: 1px solid var(--line2); border-radius: 9999px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.led { width: 8px; height: 8px; border-radius: 9999px; background: var(--amber); box-shadow: 0 0 8px var(--amber); flex: none; animation: led-pulse 2.4s var(--ease) infinite; }
@keyframes led-pulse { 50% { opacity: 0.35; } }
.hero h1 { margin: 24px 0; max-width: 680px; }
.grad { display: block; background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad.amber-grad { background: linear-gradient(90deg, #ffc76e, #ffb23e); -webkit-background-clip: text; background-clip: text; }
.hero-sub { max-width: 560px; color: var(--muted); }

.search {
  display: flex; align-items: center; gap: 8px; margin-top: 32px; max-width: 560px; padding: 8px 8px 8px 16px;
  background: var(--s2); border: 1px solid var(--line2); border-radius: 9999px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.search:focus-within { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 62, 0.14); }
.search > .ph { font-size: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; padding: 8px 4px; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 9999px;
  background: var(--s1); border: 1px solid var(--line); color: var(--muted);
  transition: color 300ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease), transform 500ms var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255, 178, 62, 0.45); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; color: var(--muted); }
.proof b { color: var(--text); font-weight: 600; font-family: var(--mono); }

/* ---------- Store map ---------- */
.map { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 16px; }
.map-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 12px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .building { fill: #161616; stroke: var(--line2); stroke-width: 1.2; }
.map .floor { fill: url(#dots); }
.map .label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; fill: var(--dim); pointer-events: none; transition: fill 300ms var(--ease); }
.zone { --zc: var(--amber); cursor: pointer; outline: none; transition: filter 300ms var(--ease); }
.zone[data-cat="cold-food"] { --zc: var(--ice); }
.zone[data-cat="hot-food"] { --zc: var(--ember); }
.zone .z { fill: var(--s3); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; transition: fill 300ms var(--ease), stroke 300ms var(--ease); }
.zone .zd { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; transition: stroke 300ms var(--ease); }
.zone .zf { fill: rgba(255, 255, 255, 0.12); transition: fill 300ms var(--ease); }
.zone .strip { fill: #3b3527; }
.zone .hit { fill: transparent; }
.zone.is-on { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--zc) 55%, transparent)); }
.zone.is-on .z { fill: color-mix(in srgb, var(--zc) 24%, #272727); stroke: var(--zc); }
.zone.is-on .zd { stroke: color-mix(in srgb, var(--zc) 60%, transparent); }
.zone.is-on .zf, .zone.is-on .strip { fill: var(--zc); }
.zone.is-on .label { fill: var(--zc); }
.zone:focus-visible .z { stroke-width: 2; }
.map-bar {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 16px; min-height: 52px;
  background: var(--s2); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 300ms var(--ease);
}
.map-bar:hover { border-color: var(--line2); }
.map-bar .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.map-bar .grow > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-bar .ph { color: var(--amber); font-size: 18px; transition: transform 500ms var(--ease); }
.map-bar:hover .ph { transform: translateX(4px); }
.map-bar .swap { animation: swap-in 400ms var(--ease) both; }
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } }

/* ---------- LED ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 20px 0; background: #000; border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.ticker-item {
  font-family: var(--mono); font-weight: 600; font-size: 30px; line-height: 36px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--amber); text-shadow: 0 0 14px rgba(255, 178, 62, 0.6); white-space: nowrap;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 62%); mask-image: radial-gradient(circle, #000 58%, transparent 62%);
  -webkit-mask-size: 4px 4px; mask-size: 4px 4px;
}
.ticker-sep { color: var(--ice); text-shadow: 0 0 14px rgba(138, 212, 255, 0.6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; min-height: 248px;
  background: var(--s1); border: 1px solid var(--line); border-radius: 24px;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(255, 178, 62, 0.35); background: var(--s2); }
.cat-card:active { transform: translateY(-2px) scale(0.985); }
.cat-card h3 { margin-bottom: 8px; }
.icon-tile {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--s3); color: var(--amber); font-size: 24px;
  transition: box-shadow 300ms var(--ease), transform 500ms var(--ease);
}
.cat-card:hover .icon-tile { box-shadow: 0 0 0 1px rgba(255, 178, 62, 0.45), 0 0 28px rgba(255, 178, 62, 0.28); transform: scale(1.06); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--dim); }
.card-foot .ph { font-size: 18px; color: var(--muted); transition: transform 500ms var(--ease), color 300ms var(--ease); }
.cat-card:hover .card-foot .ph { transform: translateX(4px); color: var(--amber); }

/* ---------- Tagline reveal ---------- */
.tagline { padding: 160px 0; }
.tagline-text { max-width: 880px; }
.tagline-text .w { color: rgba(243, 245, 249, 0.2); transition: color 700ms var(--ease), text-shadow 700ms var(--ease); }
.tagline-text .w.on { color: var(--text); }
.tagline-text .w.hl.on { color: var(--amber); text-shadow: 0 0 28px rgba(255, 178, 62, 0.45); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 32px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; }
.step .num { display: inline-block; margin-bottom: 48px; color: var(--amber); }
.step h3 { margin-bottom: 8px; }

.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.side { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; }
.side ul { display: grid; gap: 12px; }
.side li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.side li .ph { color: var(--amber); font-size: 20px; flex: none; }
.side .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Supplier cards ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sup-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--s4) transparent; }
.sup-row > * { scroll-snap-align: start; }
.sup-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: var(--s1); border: 1px solid var(--line); border-radius: 24px;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.sup-card:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--s2); }
.sup-card:active { transform: translateY(-2px) scale(0.985); }
.sup-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.logo-tile {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: var(--s3); color: var(--amber); font-family: var(--mono); font-weight: 600; font-size: 16px;
  border: 1px solid var(--line);
}
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 9999px; background: var(--s3); color: var(--muted); }
.meta { display: flex; align-items: center; gap: 4px; color: var(--dim); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 8px; }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--s2); border: 1px solid var(--line); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; max-width: 880px; }
.faq details { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; transition: border-color 300ms var(--ease); }
.faq details[open] { border-color: var(--line2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; cursor: pointer; list-style: none; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { font-size: 20px; color: var(--amber); flex: none; transition: transform 500ms var(--ease); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 24px; max-width: 680px; }
.faq details[open] .faq-body { animation: faq-in 500ms var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 96px 48px; background: var(--s1); border: 1px solid var(--line); border-radius: 32px; position: relative; overflow: hidden; }
.final h2 { max-width: 680px; margin: 16px auto; }
.final p { max-width: 480px; margin: 0 auto 32px; }
.final .row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final-dots { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(circle, rgba(255, 178, 62, 0.22) 1px, transparent 1.5px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.final > *:not(.final-dots) { position: relative; }

/* ---------- Inner pages ---------- */
.page-head { padding: 144px 0 48px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 32px; transition: color 300ms var(--ease); }
.back .ph { transition: transform 500ms var(--ease); }
.back:hover { color: var(--text); }
.back:hover .ph { transform: translateX(-4px); }
.cat-hero { display: flex; gap: 24px; align-items: flex-start; }
.cat-hero .icon-tile { width: 80px; height: 80px; border-radius: 24px; font-size: 40px; box-shadow: 0 0 0 1px rgba(255, 178, 62, 0.4), 0 0 40px rgba(255, 178, 62, 0.22); }
.cat-hero h1 { margin-bottom: 12px; }
.cat-hero p { max-width: 640px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; }
.count { margin-left: auto; color: var(--dim); }
.note { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--dim); }

.filters { display: grid; grid-template-columns: 1fr 280px; gap: 12px; margin: 32px 0 16px; }
.field {
  width: 100%; padding: 12px 16px; min-height: 48px; background: var(--s2); color: var(--text);
  border: 1px solid var(--line2); border-radius: 12px; font: inherit; font-size: 16px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.field::placeholder { color: var(--dim); }
.field:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 62, 0.14); }
.field[aria-invalid="true"] { border-color: var(--error); }
select.field { appearance: none; background-image: none; padding-right: 40px; }
.select-wrap { position: relative; }
.select-wrap .ph { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
textarea.field { min-height: 140px; resize: vertical; }
.search-field { position: relative; }
.search-field .ph { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; pointer-events: none; }
.search-field .field { padding-left: 48px; }

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 80px 24px; border: 1px dashed var(--line2); border-radius: 24px;
}
.empty .icon-tile { margin-bottom: 8px; }
.empty p { max-width: 420px; }
.empty .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.detail-head { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }
.detail-head .logo-tile { width: 80px; height: 80px; border-radius: 24px; font-size: 24px; }
.facts { display: grid; gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; background: var(--s1); }
.panel { padding: 32px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; }
.panel h2 { margin-bottom: 8px; }
.panel > p { margin-bottom: 24px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 8px; }
.form .err { display: block; min-height: 16px; margin-top: 4px; color: var(--error); }
.form .err:empty { min-height: 0; margin: 0; }
.form-status { color: var(--error); }
.success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; animation: swap-in 600ms var(--ease) both; }
.success .icon-tile { background: rgba(255, 178, 62, 0.14); }

.prose { max-width: 680px; display: grid; gap: 16px; color: var(--muted); }
.prose h2 { color: var(--text); margin-top: 16px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 200px 0 120px; }
.nf .big {
  font-family: var(--mono); font-weight: 600; font-size: 128px; line-height: 1; color: var(--amber);
  text-shadow: 0 0 32px rgba(255, 178, 62, 0.55);
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 62%); mask-image: radial-gradient(circle, #000 58%, transparent 62%);
  -webkit-mask-size: 6px 6px; mask-size: 6px 6px; animation: flicker 4s steps(1) infinite;
}
@keyframes flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: 0.4; } 94% { opacity: 1; } 96% { opacity: 0.6; } 97% { opacity: 1; } }
.nf h1 { margin: 24px 0 12px; }
.nf .row { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { max-width: 320px; margin-top: 16px; }
.footer h2 { margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--muted); transition: color 300ms var(--ease); }
.footer ul a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---------- Command palette ---------- */
.palette { position: fixed; inset: 0; z-index: 60; display: grid; justify-items: center; align-items: start; padding: 15vh 16px 16px; }
.palette[hidden] { display: none; }
.palette-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.palette-box {
  position: relative; width: min(640px, 100%); background: var(--s2); border: 1px solid var(--line2); border-radius: 16px;
  overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.palette.anim .palette-scrim { animation: fade-in 200ms var(--ease) both; }
.palette.anim .palette-box { animation: pal-in 240ms var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pal-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.palette-input .ph { font-size: 20px; color: var(--muted); }
.palette-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 16px; }
.palette-list { max-height: min(420px, 55vh); overflow-y: auto; padding: 8px; }
.palette-group { padding: 8px 12px 4px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.palette-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.palette-item[aria-selected="true"] { background: var(--s3); }
.palette-item .mini { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--s3); color: var(--amber); font-size: 16px; flex: none; font-family: var(--mono); font-weight: 600; font-size: 12px; }
.palette-item[aria-selected="true"] .mini { background: var(--s4); }
.palette-item .grow { flex: 1; min-width: 0; }
.palette-item .grow > * { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item .go { color: var(--dim); opacity: 0; transition: opacity 200ms var(--ease); }
.palette-item[aria-selected="true"] .go { opacity: 1; }
.palette-empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.palette-foot { display: flex; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.palette-foot kbd { margin-right: 4px; padding: 0 4px; }

/* ---------- Motion: entrances and reveals ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(32px); filter: blur(4px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
/* Hover transitions on revealed cards should not inherit the stagger delay */
.cat-card.in, .sup-card.in { transition-delay: 0ms; }

.is-first [data-load] { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
@keyframes zone-in { from { opacity: 0; transform: translateY(6px) scale(0.96); } }

/* Page transitions (View Transitions API) */
::view-transition-old(root) { animation: vt-out 240ms var(--ease) both; }
::view-transition-new(root) { animation: vt-in 560ms var(--ease) both; }
::view-transition-group(*) { animation-duration: 560ms; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.view-fade { animation: fade-in 400ms var(--ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sup-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a[data-nav="how"] { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .detail { grid-template-columns: 1fr; }
  .hero { padding-top: 128px; }
  .nav-links, .nav-search span, .nav-search kbd { display: none; }
  .nav-search { padding: 8px 12px; }
  .menu-btn { display: block; }
  .nav { width: calc(100% - 24px); justify-content: space-between; }
  .nav .logo { margin-right: auto; }
  .cat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .sides { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .block { padding: 64px 0; }
  .tagline { padding: 96px 0; }
  .cat-grid, .steps, .sup-grid, .form-row, .filters { grid-template-columns: 1fr; }
  .cat-card { min-height: 0; }
  .side, .panel, .step { padding: 24px; }
  .final { padding: 64px 24px; }
  .search { padding-left: 12px; }
  .search .btn span { display: none; }
  .ticker-item { font-size: 24px; line-height: 32px; }
  .cat-hero { flex-direction: column; }
  .nf .big { font-size: 96px; }
  .sup-row { grid-auto-columns: 85%; }
}

/* ---------- Reduced motion: movement becomes plain opacity ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transform: none; filter: none; transition: opacity 300ms linear; transition-delay: 0ms; }
  .is-first [data-load] { animation-name: fade-in; }
  .ticker-track { animation: none; }
  .led, .nf .big { animation: none; }
  .mobile-menu > * { transform: none; }
  .palette.anim .palette-box { animation-name: fade-in; }
  .cat-card:hover, .sup-card:hover, .cat-card:hover .icon-tile { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-name: fade-in; animation-duration: 200ms; }
  ::view-transition-old(root) { animation-direction: reverse; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Overflow guards */
.hero-grid > *, .detail > *, .cat-grid > *, .sup-grid > * { min-width: 0; }
.menu-btn, .nav-search, .logo-mark { flex: none; }
.eyebrow { max-width: 100%; }
@media (max-width: 640px) { .eyebrow { letter-spacing: 0.04em; } .proof { gap: 8px 24px; } }

/* =========================================================
   Imagery, entrance, display cases, section rail
   ========================================================= */

/* ---------- Photos with skeleton + settle ---------- */
.media { position: relative; display: block; overflow: hidden; background: var(--s3); }
.media:not(.loaded) { animation: skel 1.6s var(--ease) infinite; }
@keyframes skel { 50% { background-color: var(--s4); } }
.media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 700ms var(--ease), transform 1200ms var(--ease);
}
.media.loaded img { opacity: 1; transform: none; }
.media.err img { display: none; }

/* ---------- Scroll progress + nav state ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none;
  background: var(--amber); box-shadow: 0 0 8px rgba(255, 178, 62, 0.7);
  transform: scaleX(0); transform-origin: 0 50%;
}
.nav { transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.scrolled .nav { background: rgba(18, 19, 24, 0.86); border-color: var(--line2); }

/* ---------- Entrance (hero) ---------- */
.entry { padding: 12px; }
.entry-frame {
  position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line);
  min-height: 680px; height: min(calc(100svh - 24px), 960px);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 128px 0 32px;
  isolation: isolate;
}
.entry-media { position: absolute; inset: 0; z-index: -2; }

.entry-content .hero-sub { color: #d6d2c8; }
.entry h1 { margin: 24px 0; max-width: 760px; }
.entry .eyebrow { background: rgba(11, 12, 16, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.entry .search { background: rgba(24, 26, 32, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.entry .chips > .caption-4 { color: #bdb9ae; }
.entry .chip { background: rgba(18, 19, 24, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.entry-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.entry-hint { display: inline-flex; align-items: center; gap: 8px; color: #bdb9ae; text-transform: uppercase; letter-spacing: 0.12em; }
.entry-hint .ph { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.peeks { display: flex; gap: 8px; flex-wrap: wrap; }
.peek {
  display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px; text-align: left;
  background: rgba(18, 19, 24, 0.72); border: 1px solid var(--line2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 500ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.peek:hover { transform: translateY(-4px); border-color: rgba(255, 178, 62, 0.45); background: rgba(24, 26, 32, 0.86); }
.peek:active { transform: translateY(-2px) scale(0.98); }
.peek .icon-tile, .peek-media { width: 48px; height: 48px; border-radius: 8px; flex: none; }
.peek .icon-tile { font-size: 22px; }
.peek-text { display: flex; flex-direction: column; }
.peek-text .caption-5 { color: var(--muted); }

/* Sliding doors: the one time "you walk in" moment on first visit */
.doors { position: absolute; inset: 0; z-index: 5; display: none; pointer-events: none; }
.is-first .doors { display: flex; }
.door { position: relative; flex: 1; background: #181818; border: 1px solid var(--line2); }
.door i { position: absolute; top: 50%; width: 4px; height: 96px; margin-top: -48px; border-radius: 4px; background: var(--s4); }
.door-l i { right: 24px; }
.door-r i { left: 24px; }
.door-l { box-shadow: inset -1px 0 0 rgba(255, 178, 62, 0.35); }
.door-r { box-shadow: inset 1px 0 0 rgba(255, 178, 62, 0.35); }
.is-first .door-l { animation: door-l 1400ms var(--ease) 250ms both; }
.is-first .door-r { animation: door-r 1400ms var(--ease) 250ms both; }
@keyframes door-l { to { transform: translateX(-101%); } }
@keyframes door-r { to { transform: translateX(101%); } }
.is-first .entry [data-load] { animation-delay: calc(var(--i, 0) * 90ms + 800ms); }
.is-first .entry-media img { animation: entry-zoom 2400ms var(--ease) both; }
@keyframes entry-zoom { from { transform: scale(1.12); } }

/* ---------- Walk the store: map + zone card ---------- */
.walk-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: stretch; }
.map.in .zone { animation: zone-in 700ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 200ms); transform-box: fill-box; transform-origin: center; }
.zone-card { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 8px; }
.zone-media { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: var(--s3); }
.zone-media .media { position: absolute; inset: 0; background: transparent; animation: none; }
.zone-body { padding: 24px 16px 16px; flex: 1; display: flex; }
.zone-body .swap { display: flex; flex-direction: column; gap: 12px; width: 100%; animation: swap-in 500ms var(--ease) both; }
.zone-body .kicker { display: inline-flex; align-items: center; gap: 8px; }
.zone-body .btn { align-self: flex-start; margin-top: auto; }
.zone-sups { display: grid; gap: 8px; margin: 4px 0 16px; }
.zone-sups li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; }
.zone-sups .mini { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--s3); color: var(--amber); font-size: 12px; font-weight: 600; }

/* ---------- Showcases: hot case and open cooler ---------- */
.show-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.show-grid.flip { grid-template-columns: 7fr 5fr; }
.show-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.show-copy .kicker { display: inline-flex; align-items: center; gap: 8px; }
.show-copy .kicker.cold { color: var(--ice); }
.show-copy h2 { margin-bottom: 8px; }
.gear-list { width: 100%; margin: 8px 0 16px; border-top: 1px solid var(--line); }
.gear-list a {
  display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); transition: color 300ms var(--ease);
}
.gear-list a .ph { color: var(--dim); transition: transform 500ms var(--ease), color 300ms var(--ease); }
.gear-list a:hover { color: var(--amber); }
.gear-list a:hover .ph { transform: translateX(4px); color: var(--amber); }

.case { --glow: 255, 150, 60; --strip: var(--amber); position: relative; padding: 8px; background: #000; border: 1px solid var(--line2); border-radius: 24px; }
.case.cold { --glow: 138, 212, 255; --strip: var(--ice); }
.case-hood {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px 16px; color: var(--muted); letter-spacing: 0.12em;
}
.hood-light {
  position: absolute; left: 16px; right: 16px; bottom: 4px; height: 4px; border-radius: 4px;
  background: rgb(var(--glow)); box-shadow: 0 6px 32px 6px rgba(var(--glow), 0.55);
  animation: breathe 5s var(--ease) infinite;
}
@keyframes breathe { 50% { opacity: 0.7; } }
.case-status { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--glow)); }
.case-status .led { background: rgb(var(--glow)); box-shadow: 0 0 8px rgb(var(--glow)); }
.case-body {
  position: relative; overflow: hidden; display: grid; gap: 0; padding: 24px 16px 8px;
  background: #0e0f13; border-radius: 16px; border: 1px solid var(--line);
}
.case.cold .case-body { background: #13161c; }
/* warm or cold light wash from the hood */
.case-body::before { content: ""; position: absolute; inset: 0; background: rgba(var(--glow), 0.06); pointer-events: none; }
.shelf { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 4px; }
.rail-strip {
  display: block; height: 6px; margin: 8px 0 24px; border-radius: 3px; background: var(--s4);
  position: relative; overflow: hidden;
}
.rail-strip::after {
  content: ""; position: absolute; inset: 0; background: var(--strip); box-shadow: 0 0 12px var(--strip);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease);
  transition-delay: calc(var(--k) * 240ms + 400ms);
}
.case.in .rail-strip::after { transform: scaleX(1); }
.case.hot .rail-strip { background: #3a3a3a; }
.case.hot .rail-strip::after { opacity: 0.55; }

.item { position: relative; display: flex; flex-direction: column; gap: 8px; outline-offset: 4px; }
.item-media { aspect-ratio: 9 / 7; border-radius: 12px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.item:hover .item-media { transform: translateY(-6px); box-shadow: 0 20px 32px rgba(0, 0, 0, 0.55), 0 0 32px rgba(var(--glow), 0.28); }
.item:active .item-media { transform: translateY(-3px) scale(0.98); }
.item-tag {
  display: flex; flex-direction: column; padding: 8px 12px; border-radius: 8px; min-width: 0;
  background: var(--s2); border: 1px solid var(--line);
  transition: border-color 300ms var(--ease);
}
.item-tag > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-tag .caption-5 { color: rgb(var(--glow)); }
.item:hover .item-tag { border-color: rgba(var(--glow), 0.45); }
/* items settle onto the shelf one after another when the case comes into view */
.case .item { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--k) * 70ms + 200ms); }
.case.in .item { opacity: 1; transform: none; }
.sheen {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; pointer-events: none;
  background: rgba(255, 255, 255, 0.06); transform: translateX(-160%) skewX(-18deg);
}
.case.in .sheen { animation: sheen 1800ms var(--ease) 500ms both; }
@keyframes sheen { to { transform: translateX(460%) skewX(-18deg); } }
.case-base { height: 16px; margin: 8px 16px 0; border-radius: 0 0 12px 12px; background: var(--s2); border: 1px solid var(--line); }

/* ---------- Category cards with photos ---------- */
.cat-card { padding: 8px; gap: 0; min-height: 0; }
.cat-media-wrap { position: relative; display: block; }
.cat-media { aspect-ratio: 16 / 10; border-radius: 16px; }
.cat-media img { transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-media-wrap .icon-tile { position: absolute; left: 12px; bottom: -20px; border: 4px solid var(--s1); width: 52px; height: 52px; transition: box-shadow 300ms var(--ease), transform 500ms var(--ease), border-color 300ms var(--ease); }
.cat-card:hover .cat-media-wrap .icon-tile { border-color: var(--s2); }
.cat-body { padding: 32px 16px 16px; }
.cat-body h3 { margin-bottom: 8px; }
.cat-card .card-foot { padding: 0 16px 12px; }

/* ---------- Category and supplier page photos ---------- */
.cat-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cat-hero .icon-tile { margin-bottom: 24px; }
.cat-banner { aspect-ratio: 16 / 10; border-radius: 24px; border: 1px solid var(--line); }
.sup-banner { aspect-ratio: 12 / 5; border-radius: 16px; margin-top: 32px; }
.sup-banner + .facts { margin-top: 16px; }

/* ---------- Section rail ---------- */
.rail {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
}
.rail-item { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.rail-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--s4); border: 1px solid var(--line2); transition: transform 500ms var(--ease), background-color 300ms var(--ease); }
.rail-label {
  padding: 4px 8px; border-radius: 6px; background: rgba(18, 19, 24, 0.86); border: 1px solid var(--line); color: var(--muted);
  opacity: 0; transform: translateX(8px); transition: opacity 300ms var(--ease), transform 500ms var(--ease);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rail-item:hover .rail-label, .rail-item:focus-visible .rail-label { opacity: 1; transform: none; }
.rail-item:hover .rail-dot { background: var(--muted); }
.rail-item.is-active .rail-dot { background: var(--amber); transform: scale(1.4); box-shadow: 0 0 8px var(--amber); border-color: var(--amber); }
.rail-item.is-active .rail-label { color: var(--text); }
.rail:hover .rail-item .rail-label { opacity: 1; transform: none; }
[data-section] { scroll-margin-top: 72px; }
#entrance { scroll-margin-top: 0; }

/* ---------- Responsive for the new pieces ---------- */
@media (max-width: 1360px) { .rail { display: none; } }
@media (max-width: 1080px) {
  .show-grid, .show-grid.flip { grid-template-columns: 1fr; gap: 48px; }
  .show-grid.flip .case { order: 2; }
  .walk-grid { grid-template-columns: 1fr; }
  .zone-card { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .entry { padding: 8px; }
  .entry-frame { border-radius: 24px; min-height: 0; height: auto; padding: 112px 0 24px; }
  .entry-foot { margin-top: 32px; }
  .peeks { width: 100%; }
  .peek { flex: 1 1 100%; }
  .zone-card { display: flex; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .shelf .item:nth-child(3) { display: none; }
  .case-body { padding: 16px 8px 4px; }
  .case-hood { padding: 8px 8px 16px; }
  .case-hood > .caption-3:not(.case-status) { display: none; }
  .cat-hero { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .doors { display: none !important; }
  .media img { transform: none; transition: opacity 300ms linear; }
  .is-first .entry-media img { animation: none; }
  .entry-hint .ph, .hood-light { animation: none; }
  .sheen { display: none; }
  .case .item { transform: none; transition: opacity 300ms linear; }
  .rail-strip::after { transition: none; transform: none; }
  .item:hover .item-media, .peek:hover, .cat-card:hover .cat-media img { transform: none; }
  .map.in .zone { animation-name: fade-in; }
}

/* =========================================================
   Modern, futuristic pass: night palette, lights on entrance,
   inside view hotspots, isometric 3D store, LED shelf screens
   ========================================================= */
:root {
  --blue: #4d8dff;
  --violet: #8b5cff;
  --cyan: #3fd8ff;
  --led: linear-gradient(90deg, #6d4bff, #2f7bff 25%, #19d3ff 45%, #ff7a3d 70%, #ff3d77 85%, #6d4bff);
}
body { background: var(--bg); }
.ticker { background: #050608; }
.ticker-sep { color: var(--cyan); text-shadow: 0 0 14px rgba(63, 216, 255, 0.6); }
.kicker { color: var(--amber); }
.grad { background: linear-gradient(90deg, #ffffff, #b7c0d4); -webkit-background-clip: text; background-clip: text; }
.grad.amber-grad { background: linear-gradient(90deg, #ffd08a, #ff9a3d); -webkit-background-clip: text; background-clip: text; }

/* ---------- Entrance: the forecourt at dusk ---------- */
.entry-frame { justify-content: space-between; padding: 136px 0 32px; min-height: 720px; height: min(calc(100svh - 24px), 980px); border-color: rgba(255, 255, 255, 0.1); }
.entry-media img { object-position: 50% 62%; filter: saturate(1.08) contrast(1.04); }
.entry-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 12, 16, 0.55) 0%, rgba(11, 12, 16, 0) 38%, rgba(11, 12, 16, 0) 58%, rgba(11, 12, 16, 0.8) 100%),
    linear-gradient(90deg, rgba(11, 12, 16, 0.45) 0%, rgba(11, 12, 16, 0) 55%);
}
.entry-content .hero-sub { color: #d5dae6; max-width: 560px; }
.entry h1 { text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
.entry-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.entry-search { flex: 1 1 520px; max-width: 600px; }
.entry-search .search { margin-top: 0; }
.entry .search { background: rgba(18, 19, 24, 0.72); border-color: rgba(255, 255, 255, 0.18); }
.entry .chips > .caption-4 { color: #c3c9d6; }
.doors { display: none !important; }
/* "Lights on": the scene powers up once on first visit */
.is-first .entry-media img { animation: lights-on 2600ms var(--ease) both; }
@keyframes lights-on {
  0% { filter: brightness(0.15) saturate(0.4) contrast(1.04); transform: scale(1.08); }
  35% { filter: brightness(0.5) saturate(0.7) contrast(1.04); }
  100% { filter: saturate(1.08) contrast(1.04); transform: none; }
}
.is-first .entry [data-load] { animation-delay: calc(var(--i, 0) * 90ms + 650ms); }

/* ---------- Inside view with hotspots ---------- */
.inside-frame {
  position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--line2);
  aspect-ratio: 1672 / 941; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  clip-path: inset(6% 8% round 32px); transition: clip-path 1400ms var(--ease), opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease);
}
.inside-frame.in { clip-path: inset(0 round 32px); }
.inside-media { position: absolute; inset: 0; }
.inside-media img { filter: saturate(1.05) contrast(1.03); }
.inside-frame.in .inside-media img { animation: slow-push 14s var(--ease) both; }
@keyframes slow-push { from { transform: scale(1.08); } }
.hud {
  position: absolute; top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 9999px;
  background: rgba(11, 12, 16, 0.6); border: 1px solid rgba(255, 255, 255, 0.16); color: #dfe4ee; letter-spacing: 0.12em;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hud-tl { left: 24px; }
.hud-tr { right: 24px; }
.hud .led { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hotspot { position: absolute; width: 0; height: 0; z-index: 2; }
.hs-dot {
  position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95); border: 6px solid rgba(255, 178, 62, 0.95);
  box-shadow: 0 0 0 0 rgba(255, 178, 62, 0.6), 0 4px 16px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: scale(0.4);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: calc(var(--k) * 90ms + 700ms);
}
.inside-frame.in .hs-dot { opacity: 1; transform: none; animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--k) * 400ms + 1400ms); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 178, 62, 0.55), 0 4px 16px rgba(0, 0, 0, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 178, 62, 0), 0 4px 16px rgba(0, 0, 0, 0.5); } }
.hs-label {
  position: absolute; left: 20px; top: -24px; display: flex; flex-direction: column; white-space: nowrap;
  padding: 8px 12px; border-radius: 12px; background: rgba(11, 12, 16, 0.82); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--text);
  opacity: 0; transform: translateX(-6px) scale(0.98); transform-origin: left center; pointer-events: none;
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}
.hotspot.left .hs-label { left: auto; right: 20px; transform-origin: right center; transform: translateX(6px) scale(0.98); }
.hs-label .caption-5 { color: var(--amber); display: inline-flex; align-items: center; gap: 4px; }
.hotspot:hover .hs-label, .hotspot:focus-visible .hs-label, .hotspot.is-on .hs-label { opacity: 1; transform: none; }
.hotspot:hover .hs-dot, .hotspot.is-on .hs-dot { transform: scale(1.15); transition-delay: 0ms; }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hs-dot { outline: 2px solid var(--amber); outline-offset: 4px; }
.hs-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hs-legend .chip { gap: 8px; }
.hs-legend .chip.is-on { border-color: rgba(255, 178, 62, 0.6); color: var(--text); }

/* ---------- Isometric 3D store ---------- */
.map { padding: 16px 16px 8px; }
.iso-stage { position: relative; aspect-ratio: 760 / 520; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #0e0f13; border: 1px solid var(--line); }
.iso-scale { width: 520px; height: 470px; flex: none; transform: scale(var(--s, 1)); transform-style: preserve-3d; }
.iso-plane {
  position: relative; width: 520px; height: 470px; transform-style: preserve-3d;
  transform: translateY(-24px) rotateX(58deg) rotateZ(45deg);
}
.iso-floor {
  position: absolute; left: 36px; top: 20px; width: 448px; height: 320px; border-radius: 4px;
  background-color: #16181f;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 60px rgba(77, 141, 255, 0.12);
}
.iso-pad { position: absolute; left: 60px; top: 362px; width: 400px; height: 104px; border-radius: 8px; background: #121419; border: 1px dashed rgba(255, 255, 255, 0.14); }
.iso-text { position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--dim); }
.blk {
  --top: #2a2e38; --front: #1d2028; --side: #171a21;
  position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px); height: calc(var(--d) * 1px);
  transform-style: preserve-3d; transform: translateZ(calc(var(--z) * 1px));
  transition: transform 500ms var(--ease);
}
.blk > span { position: absolute; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.blk .t { inset: 0; background: var(--top); transform: translateZ(calc(var(--h) * 1px)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.blk .f { left: 0; top: 100%; width: 100%; height: calc(var(--h) * 1px); transform-origin: top; transform: rotateX(90deg); background: var(--front); }
.blk .e { left: 100%; top: 0; width: calc(var(--h) * 1px); height: 100%; transform-origin: left; transform: rotateY(-90deg); background: var(--side); }
.blk.wall { --top: #2b2f3a; --front: #1b1e26; --side: #1b1e26; pointer-events: none; }
.blk.cooler { --front: #2a4a63; }
.blk.cooler .f { box-shadow: inset 0 0 18px rgba(138, 212, 255, 0.35); }
.blk.hot { --side: #3a2418; }
.blk.screen { --front: #2c2f6b; --side: #2c2f6b; }
.blk.strip { --top: #5b6170; --front: #8d93a3; --side: #5b6170; }
.blk.glass { --top: rgba(138, 212, 255, 0.25); --front: rgba(138, 212, 255, 0.18); --side: rgba(138, 212, 255, 0.18); }
.blk.canopy { --top: rgba(232, 236, 245, 0.16); --front: #ff3d4d; --side: #ff3d4d; }
.blk.canopy .f, .blk.canopy .e { box-shadow: 0 0 12px rgba(255, 61, 77, 0.8); }

.iso-stage .zone { --zc: var(--amber); position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; cursor: pointer; outline: none; filter: none; }
.iso-stage .zone .blk { pointer-events: auto; }
.iso-stage .zone[data-cat="cold-food"] { --zc: var(--ice); }
.iso-stage .zone[data-cat="hot-food"] { --zc: var(--ember); }
.iso-stage .zone[data-cat="led-displays"], .iso-stage .zone[data-cat="led-gondola"] { --zc: var(--cyan); }
.iso-stage .zone[data-cat="technology"], .iso-stage .zone[data-cat="advertising"] { --zc: var(--violet); }
.iso-stage .zone.is-on .blk:not(.canopy) { transform: translateZ(calc(var(--z) * 1px + 12px)); }
.iso-stage .zone.is-on .blk.canopy { transform: translateZ(calc(var(--z) * 1px + 8px)); }
.iso-stage .zone.is-on .t { background: color-mix(in srgb, var(--zc) 78%, #ffffff); box-shadow: 0 0 28px color-mix(in srgb, var(--zc) 70%, transparent); }
.iso-stage .zone.is-on .f { background: color-mix(in srgb, var(--zc) 55%, #1d2028); }
.iso-stage .zone.is-on .e { background: color-mix(in srgb, var(--zc) 38%, #171a21); }
.iso-stage .zone:focus-visible .t { box-shadow: 0 0 0 2px #fff; }
/* Blocks drop into place. Opacity lives on the faces only: opacity on a 3D group would flatten it. */
.map.in .iso-stage .zone { animation: drop-in 900ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
.map.in .iso-stage .zone .blk > span { animation: fade-in 700ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
@keyframes drop-in { from { transform: translateZ(60px); } }

/* ---------- LED shelf edge screens (cases) ---------- */
.rail-strip {
  height: 20px; margin: 8px 0 24px; border-radius: 4px; background: #050608; border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; overflow: hidden;
}
.rail-strip::after { display: none; }
.rail-strip > span {
  display: block; white-space: nowrap; font-size: 10px; line-height: 20px; letter-spacing: 0.2em; font-weight: 600; color: #fff;
  padding-left: 100%;
  background: var(--led); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transition: opacity 600ms var(--ease); transition-delay: calc(var(--k) * 240ms + 500ms);
  animation: led-scroll 26s linear infinite, led-hue 6s linear infinite;
}
.rail-strip { background-image: none; box-shadow: inset 0 0 12px rgba(109, 75, 255, 0.25), 0 0 16px rgba(47, 123, 255, 0.18); }
.case.in .rail-strip > span { opacity: 1; }
@keyframes led-scroll { to { transform: translateX(-100%); } }
@keyframes led-hue { to { background-position: 200% 0; } }
.case.hot .rail-strip { background: #050608; }
.case.hot .rail-strip::after, .case.cold .rail-strip::after { display: none; }
/* LED gradient underline on the hood light for a signage feel */
.case .hood-light { background: var(--led); background-size: 200% 100%; animation: led-hue 8s linear infinite, breathe 5s var(--ease) infinite; }
.case.hot .hood-light { box-shadow: 0 6px 32px 6px rgba(255, 150, 60, 0.45); }
.case.cold .hood-light { box-shadow: 0 6px 32px 6px rgba(63, 216, 255, 0.4); }

/* ---------- Zone card & cards in the night palette ---------- */
.zone-card { background: var(--s1); }
.cat-card:hover { border-color: rgba(63, 216, 255, 0.35); }
.cat-card:hover .icon-tile { box-shadow: 0 0 0 1px rgba(63, 216, 255, 0.45), 0 0 28px rgba(63, 216, 255, 0.25); }
.cat-media img { filter: saturate(1.06) contrast(1.03); }

@media (max-width: 900px) {
  .entry-foot { flex-direction: column; align-items: stretch; }
  .entry-search { flex: none; max-width: none; }
}
@media (max-width: 640px) {
  .entry-frame { min-height: 760px; height: auto; padding: 112px 0 24px; }
  .entry-media img { object-position: 42% 60%; }
  .inside-frame { border-radius: 16px; clip-path: inset(4% 4% round 16px); }
  .inside-frame.in { clip-path: inset(0 round 16px); }
  .hs-dot { left: -8px; top: -8px; width: 16px; height: 16px; border-width: 4px; }
  .hud { top: 12px; }
  .hud-tl { left: 12px; }
  .hs-label { display: none; }
  .hud-tr { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-first .entry-media img, .inside-frame.in .inside-media img { animation: none; }
  .inside-frame { clip-path: none; transition: opacity 300ms linear; }
  .inside-frame.in .hs-dot { animation: none; }
  .rail-strip > span { animation: none; padding-left: 8px; }
  .case .hood-light { animation: none; }
  .map.in .iso-stage .zone { animation: none; }
  .iso-stage .zone.is-on .blk { transform: translateZ(calc(var(--z) * 1px)); }
}

/* 3D store: taller blocks, lit edges, fills its card */
.map { display: flex; flex-direction: column; }
.iso-stage { flex: 1; aspect-ratio: auto; min-height: 420px; background: #0d0f14; }
.iso-plane { transform: translate(24px, 56px) rotateX(56deg) rotateZ(45deg); }
.iso-floor { background-color: #1a1d26; background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); box-shadow: 0 0 80px rgba(77, 141, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.blk { --top: #3a4050; --front: #2a2f3c; --side: #222632; }
.blk .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.blk .f { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.blk .e { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08); }
.blk.wall { --top: #353a48; --front: #232733; --side: #232733; }
.blk.cooler { --top: #3a4658; --front: #34607f; }
.blk.cooler .f { background-image: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255, 255, 255, 0.25) 40px 42px); box-shadow: inset 0 0 24px rgba(138, 212, 255, 0.45); }
.blk.screen { --front: #3d3a9a; --side: #3d3a9a; }
.blk.screen .f { background-image: var(--led); background-size: 200% 100%; opacity: 0.9; }
.blk.strip { --top: #c9d2e6; --front: #e8eefc; --side: #c9d2e6; }
.blk.strip .f { box-shadow: 0 0 10px rgba(232, 238, 252, 0.7); }
.blk.hot .f { box-shadow: inset 0 0 18px rgba(255, 122, 69, 0.45); }
.iso-stage .zone.is-on .blk.strip .t, .iso-stage .zone.is-on .blk.strip .f { background: #ffffff; box-shadow: 0 0 18px var(--cyan); }

.blk.canopy { --top: rgba(232, 236, 245, 0.08); }
.blk.canopy .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.blk.strip .t, .blk.strip .f { box-shadow: 0 0 8px rgba(232, 238, 252, 0.9); }
/* 3D plane never sets the card width (fixes sideways overflow on phones) */
.walk-grid > * { min-width: 0; }
.iso-stage { display: block; min-width: 0; }
.iso-scale { position: absolute; left: 50%; top: 50%; margin: -235px 0 0 -260px; }
@media (max-width: 640px) { .iso-stage { min-height: 300px; } }

/* =========================================================
   Live store view: static 3D planogram
   No ambient or looping motion. Hover is a quick color change;
   the only movement is the visitor's own 3D / Plan switch.
   ========================================================= */
.planogram {
  position: relative; height: 680px; border-radius: 32px; overflow: hidden;
  background: #0d0f14; border: 1px solid var(--line2);
}
.planogram[data-reveal] { filter: none !important; transform: none; transition: opacity 600ms var(--ease); }
.pg-stage { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; user-select: none; -webkit-user-select: none; }
.pg-stage .iso-scale { position: absolute; top: 50%; left: 50%; margin: -235px 0 0 -260px; transform-origin: 260px 235px; }
.pg-stage .iso-plane { transform-origin: 0 0; transition: transform 500ms var(--ease); }
.pg-stage .pg-bill { transition: transform 500ms var(--ease); }

/* Floor: architectural model look */
.pg-floor {
  position: absolute; left: 36px; top: 22px; width: 448px; height: 318px;
  background-color: #2b2f39;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pg-pad { position: absolute; left: 60px; top: 360px; width: 400px; height: 104px; background: #1a1d24; border: 1px dashed rgba(255, 255, 255, 0.16); }
.pg-mat { position: absolute; left: 236px; top: 318px; width: 68px; height: 16px; background: #3a3f4c; }

/* Base surfaces: light model walls, dark metal fixtures, quiet product color */
.pg-stage .blk { --top: #3a4050; --front: #2c313d; --side: #252a35; transition: none; }
.pg-stage .blk > span { transition: box-shadow 150ms var(--ease), background-color 150ms var(--ease); }
.pg-stage .blk .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.pg-stage .blk.wall { --top: #d9dde5; --front: #a9b0bd; --side: #8e96a4; }
.pg-stage .blk.wall.part { --top: #c3c9d4; }
.pg-stage .blk.gondola .f, .pg-stage .blk.gondola .e {
  background:
    repeating-linear-gradient(0deg, #1d212a 0 2px, transparent 2px 13px),
    repeating-linear-gradient(90deg, #c9574e 0 6px, #d9b25a 6px 11px, #4f86c9 11px 17px, #5aa77a 17px 22px, #e4e6ea 22px 26px, #8a6cc4 26px 31px);
  filter: saturate(0.75);
}
.pg-stage .blk.walkin { --top: rgba(120, 200, 240, 0.28); --front: rgba(120, 200, 240, 0.2); --side: rgba(120, 200, 240, 0.2); }
.pg-stage .blk.walkin .t { box-shadow: inset 0 0 0 1px rgba(150, 220, 255, 0.6); }
.pg-stage .blk.reachin { --top: #e6eaf1; --side: #b9c1cd; }
.pg-stage .blk.reachin .f {
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, #e6eaf1 25px 27px),
    repeating-linear-gradient(0deg, rgba(20, 26, 34, 0.6) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(90deg, #6fb0dc 0 4px, #d8695f 4px 7px, #e2c46a 7px 10px, #79c08f 10px 13px, #f1f3f6 13px 16px);
  box-shadow: inset 0 0 18px rgba(150, 210, 255, 0.35);
}
.pg-stage .blk.hotcase { --top: #2a2d36; --side: #2a2d36; }
.pg-stage .blk.hotcase .e {
  background:
    repeating-linear-gradient(0deg, transparent 0 9px, #f08a24 9px 12px, transparent 12px 14px),
    repeating-linear-gradient(90deg, #e3b36c 0 6px, #c0662f 6px 9px, #f2d398 9px 14px, #b44a2a 14px 17px),
    #3a2418;
  box-shadow: inset 0 0 14px rgba(255, 150, 60, 0.4);
}
.pg-stage .blk.hotcase .f { background: linear-gradient(0deg, #2a2d36 0 82%, #f08a24 82%); }
.pg-stage .blk.screen .f, .pg-stage .blk.screen .e { background: linear-gradient(90deg, #6d4bff, #2f7bff 45%, #19d3ff); }
.pg-stage .blk.coffee .t { background: radial-gradient(circle, #f3efe6 0 3px, #3b2b22 3.4px 4.4px, transparent 4.8px) 0 0 / 12px 12px, #4a3a30; }
.pg-stage .blk.strip .t, .pg-stage .blk.strip .f, .pg-stage .blk.strip .e { background: #f4f8ff; box-shadow: 0 0 4px rgba(226, 238, 255, 0.8); }
.pg-stage .blk.endcap .e { background: linear-gradient(0deg, #e07a3f, #d9466e 60%, #8b5cff); }
.pg-stage .blk.endcap .f { background: repeating-linear-gradient(90deg, #d9b25a 0 4px, #e07a3f 4px 8px, #c9574e 8px 12px); }
.pg-stage .blk.island { --top: #2a2e38; }
.pg-stage .blk.island .f, .pg-stage .blk.island .e, .pg-stage .blk.islandtier .f, .pg-stage .blk.islandtier .e, .pg-stage .blk.grabgo .f {
  background:
    repeating-linear-gradient(0deg, #e6eef8 0 2px, transparent 2px 11px),
    repeating-linear-gradient(90deg, #e8c48a 0 7px, #7cb878 7px 12px, #f2e6c9 12px 18px, #e88f72 18px 22px, #9fd18b 22px 27px),
    #233040;
}
.pg-stage .blk.islandtop { --top: #20232b; --front: #20232b; --side: #20232b; }
.pg-stage .blk.post { --top: #8a91a0; --front: #6b7280; --side: #5a606d; }
.pg-stage .blk.freezer { --top: rgba(150, 210, 255, 0.35); --front: #e3e7ee; --side: #c6ccd7; }
.pg-stage .blk.freezer .t { background: repeating-linear-gradient(90deg, #d8695f 0 8px, #6fb0dc 8px 14px, #e2c46a 14px 20px, #79c08f 20px 26px); box-shadow: inset 0 0 0 2px rgba(200, 235, 255, 0.85); opacity: 0.9; }
.pg-stage .blk.counter { --top: #c7a780; --front: #3a3440; --side: #312c37; }
.pg-stage .blk.kiosk { --top: #e8ecf4; --front: #c9cfdb; --side: #aeb5c3; }
.pg-stage .blk.kiosk .f { background: linear-gradient(0deg, #c9cfdb 0 45%, #2f7bff 45% 92%, #c9cfdb 92%); }
.pg-stage .blk.impulse .f { background: repeating-linear-gradient(90deg, #d9b25a 0 5px, #c9574e 5px 9px, #4f86c9 9px 13px, #5aa77a 13px 17px); }
.pg-stage .blk.grabgo { --top: #20232b; --side: #2a2e38; }
.pg-stage .blk.glass { --top: rgba(170, 210, 255, 0.35); --front: rgba(170, 210, 255, 0.16); --side: rgba(170, 210, 255, 0.16); }
.pg-stage .blk.tled { --top: rgba(255, 255, 255, 0.4); --side: rgba(255, 255, 255, 0.2); }
.pg-stage .blk.tled .f { background: repeating-linear-gradient(90deg, rgba(255, 70, 70, 0.75) 0 2px, rgba(255, 70, 70, 0.35) 2px 4px); box-shadow: 0 0 12px rgba(255, 80, 80, 0.5); }
.pg-stage .blk.plant { --top: #9fb3c8; --front: #7c8fa3; --side: #6a7c8f; }
.pg-stage .blk.rack .f { background: repeating-linear-gradient(0deg, #4a505c 0 2px, transparent 2px 10px), #c4b49a; }
.pg-stage .blk.pump { --top: #eef1f6; --front: #d7dce6; --side: #b6bdca; }
.pg-stage .blk.pump .f { background: linear-gradient(0deg, #d7dce6 0 70%, #e0444f 70% 84%, #d7dce6 84%); }
.pg-stage .blk.canopy { --top: rgba(235, 240, 250, 0.06); --front: #e0444f; --side: #e0444f; }
.pg-stage .blk.canopy .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.pg-stage .iso-text { color: #7b8292; }

/* Hover and selection: outline and tint only */
.pg-stage .fx { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; cursor: pointer; outline: none; }
.pg-stage .fx .blk { pointer-events: auto; }
.pg-stage .fx.is-hover .t { box-shadow: inset 0 0 0 2px #ffffff; }
.pg-stage .fx.is-sel .t { box-shadow: inset 0 0 0 2px var(--amber), 0 0 18px rgba(255, 178, 62, 0.55); }

/* Numbered markers that always face the viewer */
.pg-bill { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.pg-bill .bill-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.pg-num {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 9999px;
  background: #f3f5f9; color: #0b0c10; font-size: 11px; font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 2px rgba(11, 12, 16, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.pg-bill .bill-tag {
  order: -1; padding: 4px 10px; border-radius: 8px; white-space: nowrap; background: #0b0c10; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text);
  opacity: 0; transform: none; transition: opacity 150ms var(--ease);
}
.pg-bill.is-hover .bill-tag, .pg-bill.is-sel .bill-tag { opacity: 1; }
.pg-bill.is-hover .pg-num, .pg-bill.is-sel .pg-num { background: var(--amber); color: var(--amber-ink); }

/* View switch */
.planogram .hud { position: absolute; top: 24px; left: 24px; z-index: 3; background: rgba(11, 12, 16, 0.9); }
.pg-views { position: absolute; bottom: 24px; left: 24px; z-index: 3; display: inline-flex; padding: 2px; border-radius: 9999px; background: rgba(11, 12, 16, 0.9); border: 1px solid rgba(255, 255, 255, 0.16); }
.pg-views button { padding: 4px 12px; border-radius: 9999px; color: var(--muted); letter-spacing: 0.12em; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.pg-views button[aria-pressed="true"] { background: var(--s3); color: var(--text); }

/* Fixture key and details */
.pg-panel {
  position: absolute; top: 24px; right: 24px; bottom: 24px; width: 344px; z-index: 4; overflow: hidden auto;
  background: #121318; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px; scrollbar-width: thin; overflow-anchor: none;
}
.pg-legend { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.pg-dept { display: flex; flex-direction: column; gap: 4px; }
.pg-dept ul { display: flex; flex-direction: column; }
.pg-item { width: 100%; display: grid; grid-template-columns: 28px 1fr 16px; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; text-align: left; color: var(--text); transition: background-color 150ms var(--ease); }
.pg-item .ph { color: var(--dim); }
.pg-item:hover, .pg-item.is-hover { background: var(--s2); }
.pg-item.is-hover .pg-num { background: var(--amber); color: var(--amber-ink); }
.pg-detail { display: flex; flex-direction: column; }
.pg-back { display: inline-flex; align-items: center; gap: 6px; margin: 16px 20px 8px; color: var(--muted); align-self: flex-start; transition: color 150ms var(--ease); }
.pg-back:hover { color: var(--text); }
.pg-photo { aspect-ratio: 16 / 10; margin: 0 8px; border-radius: 16px; }
.pg-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-actions { display: flex; gap: 8px; margin-top: 4px; }
.ex-actions .btn-primary { flex: 1; }

@media (max-width: 900px) {
  .planogram { height: auto; display: flex; flex-direction: column; }
  .pg-stage { position: relative; inset: auto; height: 440px; flex: none; }
  .pg-panel { position: relative; inset: auto; width: auto; margin: 0 12px 12px; }
}
@media (max-width: 640px) {
  .planogram { border-radius: 24px; }
  .pg-stage { height: 360px; }
  .planogram .hud { top: 12px; left: 12px; }
  .pg-views { bottom: 12px; left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-stage .iso-plane, .pg-stage .pg-bill { transition: none; }
}

/* =========================================================
   Planogram cleanup: pinned callouts, model materials,
   LED gondola display, grounded shadows
   ========================================================= */
.planogram { background: #12141a; }

/* Polished concrete floor, like an architectural model */
.pg-floor {
  background-color: #3a3f4a;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse at 40% 35%, rgba(255, 255, 255, 0.1), transparent 60%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.pg-pad { background: #23262e; border-color: rgba(255, 255, 255, 0.12); }
.pg-mat { background: #2a2e37; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* Soft contact shadow under every floor standing fixture */
.pg-stage .blk .sh { position: absolute; inset: -2px -2px -6px -2px; background: rgba(0, 0, 0, 0.34); border-radius: 3px; filter: blur(3px); transform: translateZ(0.2px); }

/* Calmer materials: light top, mid front, darker side */
.pg-stage .blk { --top: #4a5060; --front: #363b47; --side: #2d313b; }
.pg-stage .blk .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pg-stage .blk .f { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.pg-stage .blk.wall { --top: #f1f3f6; --front: #c9ced7; --side: #b3b9c4; }
.pg-stage .blk.wall .f, .pg-stage .blk.wall .e { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pg-stage .blk.wall.part { --top: #e3e6eb; }

/* Gondolas: black uprights, tidy product rows */
.pg-stage .blk.gondola { --top: #23262d; }
.pg-stage .blk.gondola .f, .pg-stage .blk.gondola .e {
  background:
    repeating-linear-gradient(0deg, #15171c 0 3px, transparent 3px 13px),
    repeating-linear-gradient(90deg, #c85a50 0 8px, #15171c 8px 9px, #d8b866 9px 16px, #15171c 16px 17px, #5d8cc8 17px 25px, #15171c 25px 26px, #6aa982 26px 33px, #15171c 33px 34px, #e7e9ed 34px 40px, #15171c 40px 41px);
  filter: saturate(0.7) brightness(0.95);
}

/* LED gondola display: white unit with stretched bar screens (fixture 10) */
.pg-stage .blk.ledgondola { --top: #f4f5f8; --front: #e6e9ee; --side: #cfd4dc; }
.pg-stage .blk.ledgondola .f { background: repeating-linear-gradient(0deg, #d4d8df 0 2px, #eceef2 2px 12px); }
.pg-stage .blk.bar .f, .pg-stage .blk.bar .e, .pg-stage .blk.bar .t {
  background: linear-gradient(90deg, #2bd4ff, #4a5cff 30%, #b24bff 55%, #ff4fa8 80%, #4a5cff);
  box-shadow: 0 0 8px rgba(178, 75, 255, 0.55);
}
.pg-stage .blk.bar .t { background: #101218; box-shadow: none; }

/* Hot case, coolers and the rest keep their look but lose the glow */
.pg-stage .blk.hotcase .e { box-shadow: inset 0 0 10px rgba(255, 150, 60, 0.3); }
.pg-stage .blk.reachin .f { box-shadow: inset 0 0 12px rgba(150, 210, 255, 0.25); }
.pg-stage .blk.strip .t, .pg-stage .blk.strip .f, .pg-stage .blk.strip .e { box-shadow: none; }
.pg-stage .blk.canopy .t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }

/* Hover and selection */
.pg-stage .fx.is-hover .t { box-shadow: inset 0 0 0 2px #ffffff; }
.pg-stage .fx.is-sel .t { box-shadow: inset 0 0 0 2px var(--amber), 0 0 14px rgba(255, 178, 62, 0.5); }

/* Pinned callouts: number + short name, a stem, and a dot on the fixture */
.pg-bill .bill-in { gap: 0; }
.pg-pin {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 9999px; white-space: nowrap;
  background: rgba(11, 12, 16, 0.88); border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.pg-pin .pg-num { min-width: 20px; height: 20px; font-size: 11px; box-shadow: none; }
.pg-sn { color: #e6e9ef; }
.pg-stem { width: 1.5px; height: 14px; background: rgba(255, 255, 255, 0.7); }
.pg-dot { width: 6px; height: 6px; margin-top: -1px; border-radius: 9999px; background: #ffffff; box-shadow: 0 0 0 2px rgba(11, 12, 16, 0.6); }
.pg-bill.is-hover .pg-pin, .pg-bill.is-sel .pg-pin { background: var(--amber); border-color: var(--amber); }
.pg-bill.is-hover .pg-sn, .pg-bill.is-sel .pg-sn { color: var(--amber-ink); }
.pg-bill.is-hover .pg-num, .pg-bill.is-sel .pg-num { background: #0b0c10; color: var(--amber); }
.pg-bill.is-hover .pg-stem, .pg-bill.is-sel .pg-stem, .pg-bill.is-hover .pg-dot, .pg-bill.is-sel .pg-dot { background: var(--amber); }
.pg-bill.is-hover, .pg-bill.is-sel { z-index: 10; }
@media (max-width: 640px) { .pg-sn { display: none; } .pg-pin { padding: 2px; } }
/* The number sits right above its stem; the name reads outward to the left or right. */
.pg-bill .bill-in { transform: translate(-12px, -100%); align-items: flex-start; }
.pg-bill .pg-stem, .pg-bill .pg-dot { margin-left: 11px; }
.pg-bill .pg-dot { margin-left: 9px; }
.pg-bill.side-l .bill-in { transform: translate(calc(-100% + 12px), -100%); align-items: flex-end; }
.pg-bill.side-l .pg-pin { flex-direction: row-reverse; padding: 2px 2px 2px 8px; }
.pg-bill.side-l .pg-stem { margin: 0 11px 0 0; }
.pg-bill.side-l .pg-dot { margin: -1px 9px 0 0; }
.pg-pin { gap: 5px; }
.pg-sn { font-size: 11px; line-height: 14px; }

/* Flat label layer over the 3D drawing */
.pg-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pg-labels .pg-bill { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: flat; }
.pg-labels .pg-pin { pointer-events: auto; cursor: pointer; }
.pg-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; }

/* Only animate the 3D/Plan switch, never the first paint */
.pg-stage .iso-plane { transition: none; }
.planogram.pg-ready .pg-stage .iso-plane { transition: transform 500ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .planogram.pg-ready .pg-stage .iso-plane { transition: none; } }
@media (max-width: 640px) { .pg-bill.side-l .pg-pin, .pg-bill .pg-pin { padding: 2px; gap: 0; } }
