/* Mipos Virtual Showroom - one accent (Mipos orange), cream + charcoal neutrals.
   Montserrat for display, Inter for UI. The 3D world is the hero; UI floats lightly over it. */

@font-face { font-family: 'Montserrat'; src: url('../vendor/fonts/montserrat-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../vendor/fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --orange: #F97316;
  --orange-press: #E2620A;
  --orange-tint: #FFE9D8;
  --cream: #FFF8EF;
  --cream-2: #FBEFE0;
  --paper: #FFFFFF;
  --ink: #26231F;
  --ink-2: #5E574F;
  --ink-3: #8C8379;
  --line: rgba(38, 35, 31, 0.09);
  --surface: rgba(255, 249, 241, 0.95);
  --shadow-1: 0 1px 2px rgba(70, 40, 10, 0.08), 0 6px 18px -6px rgba(70, 40, 10, 0.22);
  --shadow-2: 0 2px 6px rgba(70, 40, 10, 0.08), 0 18px 48px -12px rgba(70, 40, 10, 0.34);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --display: 'Montserrat', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ui: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --gutter: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: light;
}
@media (min-width: 761px) { :root { --gutter: 22px; } }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #DCEFF8; }
body {
  font-family: var(--ui); color: var(--ink); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none; touch-action: manipulation;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 12px; }
.ic { display: block; flex: none; }
.hide-sm { display: none; }
@media (min-width: 761px) { .hide-sm { display: inline; } }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
#scene.is-pointer { cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 650; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(249, 115, 22, .7); }
.btn--primary:hover { background: var(--orange-press); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(38, 35, 31, .28); }
.btn--soft { background: var(--orange-tint); color: #A64300; }
.btn--soft:hover { background: #FFDCC0; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
.btn__icon { display: inline-flex; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.link-btn:hover { color: var(--orange-press); }
.link-btn .ic { width: 18px; height: 18px; }

.fab {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink);
}
.fab:hover { background: #fff; }

.eyebrow {
  margin: 0; font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; z-index: 20; left: 0; right: 0; top: 0;
  padding: calc(var(--safe-t) + var(--gutter)) calc(var(--safe-r) + var(--gutter)) 0 calc(var(--safe-l) + var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 14px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-1); text-decoration: none;
}
.brand__logo { width: 74px; height: auto; }
.brand__sub {
  font-family: var(--display); font-weight: 700; font-size: 10.5px; line-height: 1.05; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2); padding-left: 10px; border-left: 1.5px solid var(--line);
}
.topbar__right { display: flex; align-items: center; gap: 8px; }
.btn--browse { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-1); padding: 0 16px 0 14px; height: 46px; }
.btn--browse:hover { background: #000; }

/* theme picker: one button on phones (opens a little row), inline swatches on desktop */
.themes { position: relative; }
.themes__toggle .sw { width: 26px; height: 26px; }
.themes__list {
  position: absolute; right: 0; top: calc(100% + 8px); display: flex; gap: 4px; padding: 5px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(-6px) scale(.96); transform-origin: top right; pointer-events: none;
  transition: opacity .18s, transform .22s var(--ease);
}
.themes.is-open .themes__list { opacity: 1; transform: none; pointer-events: auto; }
.theme-opt {
  position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
}
.theme-opt .sw { width: 30px; height: 30px; }
.theme-opt[aria-checked="true"] { background: var(--orange-tint); }
.theme-opt[aria-checked="true"] .sw { box-shadow: 0 0 0 2.5px var(--orange); }
.theme-opt__label { display: none; }
.sw {
  border-radius: 999px; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.sw .ic { width: 16px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
@media (min-width: 761px) {
  .themes__toggle { display: none; }
  .themes__list {
    position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: var(--shadow-1);
  }
  .theme-opt { width: auto; padding: 0 12px 0 7px; gap: 7px; display: flex; align-items: center; }
  .theme-opt .sw { width: 30px; height: 30px; }
  .theme-opt__label { display: inline; font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
  .theme-opt[aria-checked="true"] .theme-opt__label { color: #A64300; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .theme-opt { padding: 0 6px; }
  .theme-opt__label { display: none !important; }
}

/* ---------- isometric toggle ---------- */
.iso-toggle {
  position: fixed; z-index: 15; top: calc(var(--safe-t) + var(--gutter) + 58px); left: calc(var(--safe-l) + var(--gutter));
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-1); font-weight: 600; font-size: 14px;
}
.iso-toggle .ic { width: 20px; height: 20px; }
.iso-toggle[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* ---------- bottom cluster: Mippy, world switcher, visit chip ---------- */
.bottom {
  position: fixed; z-index: 18; left: 0; right: 0; bottom: 0;
  padding: 0 calc(var(--safe-r) + var(--gutter)) calc(var(--safe-b) + 6px) calc(var(--safe-l) + var(--gutter));
  display: grid; grid-template-columns: 1fr; justify-items: center; gap: 6px;
  pointer-events: none;
}
.bottom > * { pointer-events: auto; }
.guide { justify-self: start; display: flex; align-items: flex-end; gap: 8px; max-width: 100%; position: relative; }
.guide__mippy {
  flex: none; width: 64px; height: 72px; position: relative; display: grid; place-items: end center;
}
.guide__mippy::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 38px; height: 8px; margin-left: -19px;
  background: radial-gradient(closest-side, rgba(40, 20, 0, .28), transparent); border-radius: 50%;
  animation: shadowbob 3.2s var(--ease) infinite;
}
.guide__mippy img { width: 64px; height: 64px; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 4px 8px rgba(60, 30, 0, .22)); animation: mippybob 3.2s var(--ease) infinite; }
.guide__mippy:hover img { transform: translateY(-3px) rotate(-3deg); }
@keyframes mippybob { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-10px) scaleY(1.03); } 90% { transform: translateY(0) scale(1.04, .96); } }
@keyframes shadowbob { 0%, 70%, 100% { transform: scale(1); opacity: 1; } 80% { transform: scale(.7); opacity: .6; } }

.bubble {
  position: relative; margin-bottom: 14px; padding: 14px 14px 12px 16px; max-width: min(340px, calc(100vw - 2 * var(--gutter) - 72px));
  background: var(--surface); border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow-2);
  animation: pop .32s var(--spring);
  font-size: 14.5px;
}
.bubble__title { margin: 0 0 2px; font-family: var(--display); font-weight: 750; font-size: 15px; letter-spacing: -.01em; }
.bubble__text { margin: 0; color: var(--ink-2); }
.bubble__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.bubble__actions .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.bubble__close { position: absolute; top: 2px; right: 2px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); }
.bubble__close .ic { width: 16px; height: 16px; }
.bubble--has-close { padding-right: 36px; }
.tour-ctrl { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.tour-ctrl__btn { width: 44px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--cream-2); }
.tour-ctrl__btn:hover { background: var(--orange-tint); }
.tour-ctrl__btn--main { background: var(--ink); color: var(--cream); width: 52px; }
.tour-ctrl__btn--main:hover { background: #000; }
.tour-ctrl__btn .ic { width: 18px; height: 18px; }
.tour-ctrl__count { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; color: var(--ink-3); padding: 0 6px; }
.tour-ctrl .tour-open { margin-left: 2px; min-height: 40px; font-size: 13.5px; padding: 0 12px; }
.tour-bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.tour-bar > span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }

.worlds {
  position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-2);
}
.worlds__glider {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--orange);
  box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .8);
  transition: transform .42s var(--spring), width .42s var(--spring);
}
.world-btn {
  position: relative; z-index: 1; min-width: 76px; height: 54px; padding: 0 10px; border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-weight: 650; font-size: 12px; color: var(--ink-2); transition: color .25s;
}
.world-btn .ic { width: 21px; height: 21px; }
.world-btn[aria-current="true"] { color: #fff; }
.world-btn__soon {
  position: absolute; top: 3px; right: 6px; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  background: var(--cream-2); color: var(--ink-3); padding: 1px 5px; border-radius: 99px;
}
.world-btn[aria-current="true"] .world-btn__soon { background: rgba(255,255,255,.25); color: #fff; }

.visit-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px; border-radius: 999px;
  font-size: 12px; color: var(--ink-2); background: rgba(255, 249, 241, .82); box-shadow: 0 1px 3px rgba(60, 30, 0, .12);
  position: relative;
}
.visit-chip::before { content: ''; position: absolute; inset: -8px -4px; } /* 44px+ touch target */
.visit-chip .ic { width: 14px; height: 14px; color: var(--orange); }
.visit-chip b { color: var(--ink); font-weight: 650; }
.visit-chip__sep { margin: 0 5px; opacity: .5; }
.visit-chip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 9px; background: #22A55A; margin-right: 4px; vertical-align: 1px; }
@media (max-width: 420px) { #visit-hours { display: none; } .visit-chip__sep { display: none; } }

@media (min-width: 761px) {
  .bottom {
    grid-template-columns: 1fr auto 1fr; align-items: end; justify-items: stretch;
    padding-bottom: calc(var(--safe-b) + var(--gutter));
  }
  .guide { justify-self: start; }
  .worlds { justify-self: center; }
  .visit-chip { justify-self: end; min-height: 44px; padding: 0 16px; font-size: 13px; background: var(--surface); box-shadow: var(--shadow-1); }
  .visit-chip::before { display: none; }
  .world-btn { flex-direction: row; gap: 8px; height: 48px; padding: 0 18px; font-size: 14px; }
  .bubble { max-width: 340px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .bottom { grid-template-columns: 1fr auto; }
  .visit-chip { position: fixed; top: calc(var(--safe-t) + var(--gutter) + 58px); right: calc(var(--safe-r) + var(--gutter)); }
}

/* ---------- hotspots ---------- */
.hotspots { position: fixed; inset: 0; pointer-events: none; z-index: 10; overflow: hidden; transition: opacity .25s; }
.hotspots.is-hidden { opacity: 0; }
.hotspots.is-hidden .hs { pointer-events: none; }
.hs {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  pointer-events: auto; display: grid; place-items: center;
  transition: opacity .22s var(--ease);
  will-change: transform;
}
.hs.is-off { opacity: 0; pointer-events: none; }
.hs__pin {
  position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(50, 25, 0, .45);
  transition: transform .25s var(--spring), background-color .2s, box-shadow .2s;
}
.hs__pin img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hs--zone .hs__pin, .hs--unknown .hs__pin { background: var(--orange); color: #fff; }
.hs--zone .hs__pin .ic { width: 20px; height: 20px; }
.hs--product .hs__pin { box-shadow: 0 0 0 2.5px var(--orange), 0 0 0 5px #fff, 0 6px 14px -4px rgba(50, 25, 0, .45); }
.hs--mippy .hs__pin { background: var(--cream); }
.hs--mippy .hs__pin img { padding: 2px; }
.hs__ring {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 999px;
  border: 2px solid var(--orange); opacity: 0; animation: ring 2.6s var(--ease) infinite;
}
.hs--product .hs__ring { animation-delay: .6s; }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.hs__label {
  position: absolute; z-index: 3; bottom: calc(100% - 2px); left: 50%; transform: translateX(calc(-50% + var(--lx, 0px)));
  padding: 5px 11px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1);
  font-size: 13px; font-weight: 650; white-space: nowrap; color: var(--ink); letter-spacing: -.005em;
  transition: opacity .18s, transform .22s var(--ease); pointer-events: none;
}
.hs--zone .hs__label { font-family: var(--display); font-weight: 700; font-size: 13.5px; }
.hs.no-label .hs__label { opacity: 0; transform: translateX(calc(-50% + var(--lx, 0px))) translateY(4px); }
.hs.no-label:hover .hs__label, .hs.no-label:focus-visible .hs__label, .hs.is-hover .hs__label { opacity: 1; transform: translateX(calc(-50% + var(--lx, 0px))); }
.hs:hover .hs__pin, .hs.is-hover .hs__pin, .hs.is-zonehover .hs__pin { transform: scale(1.12); }
.hs.is-active .hs__pin { transform: scale(1.18); }
.hs.is-active .hs__label { background: var(--orange); color: #fff; opacity: 1; transform: translateX(calc(-50% + var(--lx, 0px))); }
.hs.is-far .hs__pin { transform: scale(.42); background: var(--orange); }
.hs.is-far .hs__pin img { opacity: 0; }
.hs.is-far .hs__ring { animation: none; opacity: 0; }
.hs.is-far:hover .hs__pin { transform: scale(.9); background: #fff; }
.hs.is-far:hover .hs__pin img { opacity: 1; }
.hs:focus-visible { outline: none; }
.hs:focus-visible .hs__pin { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--orange); }

/* ---------- panel: bottom sheet on phones, side card on desktop ---------- */
.panel {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; max-height: min(64vh, 64dvh);
  display: flex; flex-direction: column;
  background: var(--cream); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-2);
  transform: translateY(0); transition: transform .38s var(--ease);
  padding-bottom: var(--safe-b);
}
.panel.is-entering { transform: translateY(105%); }
.panel__grab { flex: none; height: 26px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.panel__grab::before { content: ''; width: 42px; height: 5px; border-radius: 9px; background: rgba(38, 35, 31, .18); }
.panel__close { position: absolute; z-index: 3; top: 10px; right: 10px; }
.panel__scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 18px; -webkit-overflow-scrolling: touch; }
.panel__media {
  position: relative; margin: 0 -2px 14px; border-radius: var(--r-md); background: var(--paper); overflow: hidden;
  aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--line);
}
.panel__media--product { aspect-ratio: 16 / 10; }
.panel__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.panel__media.is-cover img { object-fit: cover; padding: 0; }
.panel__media--icon { display: grid; place-items: center; background: linear-gradient(140deg, #FFE7D2, #FFF6EC); color: var(--orange); }
.panel__media--icon .ic { width: 64px; height: 64px; stroke-width: 1.4; }
.gallery { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > img { flex: none; width: 100%; height: 100%; scroll-snap-align: center; object-fit: contain; padding: 14px; }
.gallery-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.gallery-dots i { width: 6px; height: 6px; border-radius: 9px; background: rgba(38,35,31,.2); transition: width .2s, background-color .2s; }
.gallery-dots i.on { width: 16px; background: var(--orange); }
.panel__chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px;
  background: var(--orange-tint); color: #A64300; font-size: 12.5px; font-weight: 650;
}
.panel__chip .ic { width: 15px; height: 15px; }
button.panel__chip { min-height: 28px; }
button.panel__chip:hover { background: #FFDCC0; }
.panel__title { margin: 10px 0 4px; font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.12; letter-spacing: -.02em; }
.panel__lede { margin: 0 0 12px; font-size: 16.5px; color: var(--ink); line-height: 1.4; }
.panel__about { margin: 0 0 12px; color: var(--ink-2); }
.ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 99px; background: var(--orange-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 2.8 6-6.4' fill='none' stroke='%23E2620A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 19px;
}
.ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 6px; }
.ctas .btn { padding: 6px 12px; white-space: normal; text-align: center; line-height: 1.15; min-height: 48px; }
.ctas .btn--wide { grid-column: 1 / -1; }
.ctas--three .btn--primary { grid-column: 1 / -1; }
.panel__minor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; margin: 2px 0 6px; }
.section-h { margin: 18px 0 10px; font-family: var(--display); font-weight: 750; font-size: 15px; letter-spacing: -.01em; display: flex; align-items: baseline; justify-content: space-between; }
.section-h small { font-family: var(--ui); font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.strip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.strip > * { scroll-snap-align: start; }
.mini {
  flex: none; width: 128px; text-align: left; border-radius: var(--r-md); padding: 0; background: none;
  transition: transform .2s var(--ease);
}
.mini:hover { transform: translateY(-2px); }
.mini__img { display: grid; place-items: center; height: 104px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; color: var(--orange); }
.mini__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mini__img.is-cover img { object-fit: cover; padding: 0; }
.mini__img .ic { width: 34px; height: 34px; stroke-width: 1.5; }
.mini__name { margin-top: 6px; font-weight: 650; font-size: 13px; line-height: 1.25; }
.photo { flex: none; width: 168px; height: 118px; border-radius: 14px; overflow: hidden; padding: 0; background: var(--cream-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.store-card {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 8px; font-size: 14px;
}
.store-card__row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.store-card__row .ic { width: 18px; height: 18px; color: var(--orange); margin-top: 1px; }
.store-card__row b { color: var(--ink); font-weight: 650; }
.hours { display: grid; grid-template-columns: auto auto; gap: 0 14px; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 2px 9px; border-radius: 99px; background: #E3F5EA; color: #17723E; }
.open-pill.is-closed { background: var(--cream-2); color: var(--ink-3); }
.open-pill::before { content: ''; width: 7px; height: 7px; border-radius: 9px; background: currentColor; }
.visit-line {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md);
  background: linear-gradient(120deg, #FFF0E2, #FFF8F0); text-decoration: none; text-align: left; width: 100%;
}
.visit-line img { width: 54px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }
.visit-line span { flex: 1; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; }
.visit-line b { display: block; color: var(--ink); font-weight: 700; font-size: 14px; }
.visit-line .ic { width: 18px; height: 18px; color: var(--orange); }

@media (min-width: 761px) {
  .panel {
    left: auto; right: calc(var(--safe-r) + var(--gutter)); top: calc(var(--safe-t) + 84px); bottom: calc(var(--safe-b) + 88px);
    width: 404px; max-height: none; border-radius: var(--r-lg); padding-bottom: 0;
    transition: transform .4s var(--ease), opacity .3s;
  }
  .panel.is-entering { transform: translateX(30px); opacity: 0; }
  .panel__grab { display: none; }
  .panel__scroll { padding: 18px 22px 22px; }
  .panel__close { top: 12px; right: 12px; }
  .panel__title { font-size: 28px; }
}
@media (min-width: 761px) and (max-width: 1180px) { .panel { bottom: calc(var(--safe-b) + 84px); } }

/* ---------- drawer: browse everything ---------- */
.drawer {
  position: fixed; z-index: 40; inset: 0; display: flex; flex-direction: column; background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s;
}
.drawer.is-entering { transform: translateY(24px); opacity: 0; }
.drawer__head { flex: none; padding: calc(var(--safe-t) + 16px) 18px 10px; border-bottom: 1px solid var(--line); background: var(--cream); }
.drawer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer__title { margin: 2px 0 2px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.drawer__sub { margin: 0; color: var(--ink-2); font-size: 14px; }
.search {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; height: 48px; padding: 0 14px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line);
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--orange); }
.search .ic { width: 20px; height: 20px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 11px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink-2);
}
.chip-btn .ic { width: 17px; height: 17px; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px calc(var(--safe-b) + 28px); scroll-behavior: smooth; }
.zone-sec { padding-top: 18px; }
.zone-sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.zone-sec__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.zone-sec__icon .ic { width: 22px; height: 22px; }
.zone-sec__name { margin: 0; font-family: var(--display); font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.zone-sec__tag { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.zone-sec__go { margin-left: auto; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; text-align: left; border-radius: 18px; padding: 8px 8px 12px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(60, 30, 0, .06); transition: transform .2s var(--ease), box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.card__img { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; color: var(--orange); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.card__img.is-cover img { object-fit: cover; padding: 0; }
.card__img--icon { background: linear-gradient(140deg, #FFE7D2, #FFF6EC); }
.card__img .ic { width: 40px; height: 40px; stroke-width: 1.5; }
.card__name { margin: 9px 4px 2px; font-weight: 700; font-size: 14px; line-height: 1.25; }
.card__tag { margin: 0 4px; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__go { margin: 8px 4px 0; font-size: 12px; font-weight: 650; color: var(--orange-press); display: flex; align-items: center; gap: 4px; }
.card__go .ic { width: 14px; height: 14px; }
.empty { padding: 40px 10px; text-align: center; color: var(--ink-2); }
.empty img { width: 96px; margin: 0 auto 10px; }
.drawer__foot { margin-top: 26px; padding: 18px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); display: grid; gap: 10px; }
.drawer__foot h3 { margin: 0; font-family: var(--display); font-weight: 750; font-size: 18px; }
.drawer__foot p { margin: 0; color: rgba(255, 248, 239, .75); font-size: 14px; }
.drawer__foot .row { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__foot .btn--ghost { background: rgba(255,255,255,.08); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }

@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) {
  .drawer {
    left: auto; top: calc(var(--safe-t) + 12px); right: calc(var(--safe-r) + 12px); bottom: calc(var(--safe-b) + 12px);
    width: min(620px, calc(100vw - 24px)); border-radius: 28px; box-shadow: var(--shadow-2); overflow: hidden;
  }
  .drawer.is-entering { transform: translateX(40px); }
  .drawer__head { padding: 22px 24px 12px; }
  .drawer__body { padding: 4px 24px 28px; }
  .chips { margin: 0 -24px; padding: 0 24px 4px; }
}
.scrim { position: fixed; inset: 0; z-index: 35; background: rgba(38, 30, 20, .28); transition: opacity .3s; }
.scrim.is-entering { opacity: 0; }

/* ---------- status card (loading / coming soon) ---------- */
.status {
  position: fixed; z-index: 25; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(360px, calc(100vw - 32px)); padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-2); text-align: center; animation: pop .35s var(--spring);
}
.status img { width: 92px; margin: -2px auto 8px; }
.status h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.status p { margin: 0 0 14px; color: var(--ink-2); }
.status .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.status--loading { width: auto; min-width: 220px; padding: 16px 22px; }
.status--loading img { width: 64px; animation: mippybob 1.2s var(--ease) infinite; }
.status--loading h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.bar { height: 6px; border-radius: 9px; background: var(--cream-2); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--orange); transition: width .25s; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(var(--safe-t) + 74px); transform: translateX(calc(-50% + var(--lx, 0px)));
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-2); animation: pop .3s var(--spring);
}

/* ---------- intro ---------- */
.intro {
  position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 246, 236, .55), rgba(255, 246, 236, 0) 100%);
  transition: opacity .45s var(--ease), visibility .45s;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro__card {
  width: min(440px, 100%); padding: 28px 26px 22px; border-radius: 32px; text-align: center;
  background: rgba(255, 249, 241, .93); box-shadow: var(--shadow-2);
  animation: pop .5s var(--spring);
}
.intro__mippy { width: 124px; height: 124px; margin: -88px auto 4px; filter: drop-shadow(0 10px 16px rgba(60, 30, 0, .25)); animation: mippybob 3.2s var(--ease) infinite; }
.intro__title { margin: 8px 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 6.6vw, 32px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.intro__text { margin: 0 auto 18px; color: var(--ink-2); font-size: 16px; max-width: 34ch; text-wrap: pretty; }
.intro__progress { width: 120px; height: 4px; margin: 14px auto 0; border-radius: 9px; background: var(--cream-2); overflow: hidden; transition: opacity .3s; }
.intro__progress > span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s; }
.intro__progress.is-done { opacity: 0; }
.intro__hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.intro .btn--lg .ic { width: 20px; height: 20px; }

.noscript { position: fixed; inset: 0; display: grid; place-content: center; padding: 24px; text-align: center; background: var(--cream); z-index: 100; }

/* While the drawer covers the phone screen, the rest of the UI steps back. */
body.drawer-open .bottom, body.drawer-open .topbar, body.drawer-open .hotspots, body.drawer-open .iso-toggle { visibility: hidden; }
@media (min-width: 761px) { body.drawer-open .bottom, body.drawer-open .topbar, body.drawer-open .hotspots, body.drawer-open .iso-toggle { visibility: visible; } }
body.panel-open .guide { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 760px) {
  body.panel-open .bottom { opacity: 0; pointer-events: none; }
  body.panel-open .bottom > * { pointer-events: none; }
  body.panel-open .iso-toggle { opacity: 0; pointer-events: none; }
}
.guide, .bottom, .iso-toggle { transition: opacity .25s, transform .25s var(--ease); }
body.intro-open .topbar, body.intro-open .bottom, body.intro-open .hotspots, body.intro-open .iso-toggle { opacity: 0; pointer-events: none; }
body.intro-open .bottom > *, body.intro-open .topbar > * { pointer-events: none; }
.topbar, .hotspots { transition: opacity .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* phones: slightly smaller pins + labels so a whole world fits without clutter */
@media (max-width: 760px) {
  .hs__pin { width: 34px; height: 34px; }
  .hs__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .hs--zone .hs__pin .ic { width: 18px; height: 18px; }
  .hs__label { font-size: 12px; padding: 4px 9px; }
  .hs--zone .hs__label { font-size: 12.5px; }
  .panel__media--product { aspect-ratio: 16 / 9; }
}

/* ?clean=1 - share-image capture: the world, the pins and the brand, nothing else */
body.clean .bottom, body.clean .topbar__right, body.clean .iso-toggle, body.clean .toast, body.clean .status { display: none !important; }

/* CTAs stay in reach while the panel scrolls (conversion first) */
.ctas--sticky {
  position: sticky; z-index: 2; bottom: 0; margin: 4px -18px 6px; padding: 18px 18px 10px;
  background: linear-gradient(to bottom, rgba(255, 248, 239, 0), var(--cream) 16px);
}
@media (min-width: 761px) { .ctas--sticky { margin: 4px -22px 6px; padding: 18px 22px 12px; } }

/* phones: the intro card sits low so the world shows above it */
@media (max-width: 760px) {
  .intro { place-items: end center; padding-bottom: calc(var(--safe-b) + 22px); }
  .intro__card { padding-top: 24px; }
}
/* sticky CTAs: the scroll box's own bottom padding would leave a strip of content showing under them */
.ctas--sticky { bottom: -18px; padding-bottom: 28px; }
@media (min-width: 761px) { .ctas--sticky { bottom: -22px; padding-bottom: 34px; } }
