:root {
  --ink: #0f1115;
  --paper: #f8f9fa;
  --shell: #f6f7f8;
  --terracotta: #e05a36;
  --navy: #1a2b4c;
  --font-sans: "Inter", system-ui, sans-serif;
  --shadow-card: 0 8px 10px rgba(15, 17, 21, 0.16);
  --shadow-phone: 0 24px 64px rgba(15, 17, 21, 0.28);
  --safe-top: max(10px, env(safe-area-inset-top));
  --gold: linear-gradient(165deg, #ffe44d 0%, #ffd200 48%, #f0b400 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

body {
  background: var(--ink);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.writing-side {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  letter-spacing: 0.02em;
  font-family: inherit;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input[type="search"] {
  color: #000;
  -webkit-text-fill-color: #000;
}

input[type="search"]::placeholder {
  color: rgba(0, 0, 0, 0.4);
  -webkit-text-fill-color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.glass-nav,
.glass-nav-on,
.glass-cta,
.glass-icon,
.glass-lang {
  position: relative;
  isolation: isolate;
}

.glass-cta,
.glass-icon,
.glass-lang {
  overflow: hidden;
}

.glass-nav > *,
.glass-nav-on > *,
.glass-cta > *,
.glass-icon > *,
.glass-lang > * {
  position: relative;
  z-index: 1;
}

.glass-nav {
  background: #fff;
  border: 1px solid rgba(26, 43, 76, 0.08);
  box-shadow: 4px 4px 14px rgba(15, 17, 21, 0.16);
  color: var(--navy);
}

.glass-nav-on,
.glass-cta,
.glass-lang-on {
  background: var(--gold);
  color: var(--navy);
}

.glass-nav-on {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 236, 150, 0.55);
  box-shadow: 4px 6px 16px rgba(26, 43, 76, 0.18);
}

.glass-cta {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 236, 150, 0.55);
  box-shadow: 0 6px 16px rgba(240, 180, 0, 0.28);
}

.glass-lang {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(26, 43, 76, 0.08);
}

.shadow-scroll {
  padding-top: 0.75rem;
  padding-bottom: 2.5rem;
  overflow-x: clip;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shadow-scroll-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

button svg,
.nav-btn svg,
.sheet-x svg,
.hero-back svg,
.search svg,
.search-clear svg,
.contact-ico svg {
  pointer-events: none;
}

.nav-rail {
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
}

.nav-rail > * {
  pointer-events: auto;
}

.card-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Shell */
.viewport {
  height: 100dvh;
  overflow: hidden;
  background: var(--ink);
}

.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--shell);
  box-shadow: var(--shadow-phone);
}

.palm {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  margin: 0;
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  opacity: 0.92;
}

.app {
  position: relative;
  z-index: 10;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.stage {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  background: transparent;
  color: var(--navy);
}

.logo {
  pointer-events: none;
  position: absolute;
  left: 4px;
  top: max(10px, env(safe-area-inset-top));
  z-index: 20;
  height: 78px;
  width: auto;
  object-fit: contain;
}

.aside {
  position: relative;
  z-index: 11;
  height: 100%;
  width: 49px;
  flex-shrink: 0;
  overflow: visible;
  background: transparent;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  width: 96px;
  padding: 108px 0 max(16px, env(safe-area-inset-bottom));
}

.nav-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 49px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-btn--icon {
  height: 56px;
}

.nav-btn--one {
  height: 80px;
  font-size: 11px;
}

.nav-btn--two {
  height: 92px;
  font-size: 10px;
}

.nav-btn .icon {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.nav-label {
  text-align: center;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.main {
  display: flex;
  min-height: 0;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 24px 0;
}

.topbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-left: 52px;
}

.welcome {
  min-width: 0;
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.welcome span {
  display: block;
}

.welcome strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lang {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.lang button {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  color: rgba(26, 43, 76, 0.7);
}

.lang button.is-on {
  color: var(--navy);
}

.panel {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin: 8px -24px 0;
  overflow-x: clip;
  overflow-y: hidden;
}

.panel-head {
  flex-shrink: 0;
  padding: 0 24px;
}

.page-title {
  margin: 0;
  min-width: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.crumbs {
  margin-top: 8px;
}

.crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.3;
}

.crumb-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.crumb-sep {
  flex-shrink: 0;
  color: rgba(26, 43, 76, 0.25);
}

.crumb-sep.is-light {
  color: rgba(255, 255, 255, 0.55);
}

.crumb-btn,
.crumb-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
}

.crumb-btn {
  color: rgba(26, 43, 76, 0.45);
  text-align: left;
}

.crumb-btn:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.crumb-btn.is-light {
  color: #fff;
}

.crumb-btn.is-light:hover {
  color: #fff;
}

.crumb-text.is-current {
  font-weight: 600;
  color: var(--navy);
}

.crumb-text.is-light {
  color: #fff;
}

.crumb-text.is-light.is-current {
  color: #fff;
}

/* Hero */
.hero-wrap {
  width: 100%;
  flex-shrink: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.hero {
  position: relative;
  aspect-ratio: 5 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  user-select: none;
  cursor: pointer;
}

.hero .search,
.hero .search input,
.hero .hero-back,
.hero .crumbs {
  cursor: auto;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero img.is-on {
  opacity: 1;
}

.hero-scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

/* Decorative only: pointer-events must stay off so the tap reaches .hero */
.hero-tap {
  pointer-events: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.45);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 17, 21, 0.25);
}

.hero-tap svg {
  width: 17px;
  height: 17px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 16px 20px;
}

.hero-title-row {
  position: relative;
  min-width: 0;
}

.hero-back {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  height: 26px;
  width: 28px;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
}

.hero-back svg {
  width: 20px;
  height: 20px;
}

.hero h1 {
  margin: 0;
  min-width: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
}

.hero h1.has-back {
  padding-left: 28px;
}

.hero .crumbs {
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
}

.search {
  position: relative;
  display: block;
  margin-top: auto;
}

.search svg {
  pointer-events: none;
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #000;
}

.search input {
  height: 44px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.7);
  padding: 0 44px;
  font-size: 15px;
  color: #000;
  caret-color: #000;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.45);
}

.search-clear svg {
  position: static;
  transform: none;
  width: 20px;
  height: 20px;
  color: inherit;
}

/* Featured */
.featured {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin-top: 16px;
}

.featured > h2 {
  flex-shrink: 0;
  margin: 0;
  padding: 0 24px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.featured .shadow-scroll {
  margin-top: 8px;
}

.section-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(26, 43, 76, 0.55);
}

.section-label + .list-wrap,
.section-gap {
  margin-top: 8px;
}

.section-label.spaced {
  margin-top: 12px;
}

/* Circle picks */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  column-gap: 16px;
  row-gap: 20px;
  overflow: visible;
}

.circle-pick {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  text-align: center;
}

.circle-frame {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.circle-frame > div,
.circle-media {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--paper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.circle-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.circle-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ece8e1;
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
}

.circle-pick p {
  margin: 8px -6px 0;
  width: calc(100% + 0.75rem);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.cat-scroll {
  margin-top: 8px;
}

.cat-scroll.is-home-search {
  margin-top: 12px;
}

.sort-bar {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  margin: 8px 0 0;
  padding: 0 24px;
}

.sort-field {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.sort-field select {
  appearance: none;
  -webkit-appearance: none;
  max-width: 100%;
  border-radius: 999px;
  padding: 8px 34px 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231a2b4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid rgba(26, 43, 76, 0.1);
  box-shadow: 0 4px 12px rgba(15, 17, 21, 0.08);
}

.sort-field select:focus {
  outline: 2px solid rgba(240, 180, 0, 0.7);
  outline-offset: 1px;
}

/* Product list */
.list-wrap {
  border-radius: 24px;
  box-shadow: 0 6px 12px rgba(15, 17, 21, 0.12);
}

.list {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.product {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 14px 16px;
  text-align: left;
}

.product + .product {
  border-top: 1px solid rgba(26, 43, 76, 0.1);
}

.product h3 {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.product-price {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(26, 43, 76, 0.7);
}

.product-go {
  flex-shrink: 0;
  display: block;
  width: 12px;
  height: 12px;
  margin-left: -2px;
  color: rgba(26, 43, 76, 0.32);
}

.product-go svg {
  display: block;
  width: 12px;
  height: 12px;
}

.empty {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(26, 43, 76, 0.08);
  background: rgba(255, 255, 255, 0.6);
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(26, 43, 76, 0.5);
}

.mt-5 {
  margin-top: 20px;
}

/* Contact */
.contact-view {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin-top: 12px;
}

.hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(26, 43, 76, 0.5);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 28px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}

.contact-ico {
  display: grid;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
}

.contact-ico svg {
  width: 20px;
  height: 20px;
}

.contact-kicker {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 43, 76, 0.4);
}

.contact-value {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.contact-value.is-wrap {
  white-space: normal;
  font-size: 13px;
  line-height: 1.35;
}

.map-card {
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.map-card-inner {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.map-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  margin: 0;
  padding: 8px 0;
  background: transparent;
  line-height: 1;
  text-align: center;
}

.site-footer a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(26, 43, 76, 0.4);
}

.site-footer a:hover {
  color: var(--navy);
}

/* Hero card stack */
.hero-stack {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 17, 21, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hero-stack.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Released immediately on close so the next tap is not eaten by the fading scrim.
   Fall-through of the closing tap itself is handled by swallowStackClick(). */
.hero-stack.is-leaving {
  pointer-events: none;
}

.hero-stack[hidden],
.hero-stack.is-hidden {
  display: none !important;
}

.hero-stack-x {
  position: absolute;
  right: 16px;
  top: max(16px, env(safe-area-inset-top));
  z-index: 20;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 24px rgba(15, 17, 21, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.hero-stack-x svg {
  width: 20px;
  height: 20px;
}

.hero-stack-deck {
  position: relative;
  aspect-ratio: 3 / 4;
  width: min(18.75rem, calc(100vw - 4.5rem));
  max-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stack-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 36px;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(15, 17, 21, 0.28);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-stack-card.is-dragging {
  cursor: grabbing;
}

.hero-stack-card img {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stack-dots {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.hero-stack-dot {
  height: 4px;
  width: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-stack-dot.is-on {
  width: 20px;
  background: var(--terracotta);
}

/* Product sheet */
.sheet {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(56px, calc(env(safe-area-inset-top) + 44px)) 20px 20px;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.45);
}

.sheet-x {
  position: absolute;
  right: 16px;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  z-index: 20;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.75);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(15, 17, 21, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.sheet-x svg {
  width: 20px;
  height: 20px;
}

.dialog {
  position: relative;
  z-index: 10;
  display: flex;
  max-height: 100%;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-phone);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dialog-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 20px 0;
}

.dialog-photo {
  position: relative;
  aspect-ratio: 5 / 3;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
}

.dialog-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog--plain .dialog-body {
  padding-top: 28px;
}

.dialog h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.dialog-blurb {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(26, 43, 76, 0.62);
}

.dialog-meta {
  margin-top: 12px;
  border-radius: 24px;
  background: rgba(248, 249, 250, 0.7);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.35;
}

.dialog-meta p {
  margin: 0;
  word-break: break-word;
}

.dialog-meta p + p {
  margin-top: 8px;
}

.dialog-meta strong {
  font-weight: 600;
  color: var(--navy);
}

.dialog-meta span {
  color: rgba(26, 43, 76, 0.5);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.dialog-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 16px;
  background: rgba(248, 249, 250, 0.7);
  padding: 10px 8px 12px;
  text-align: center;
}

.dialog-fact span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 43, 76, 0.5);
}

.dialog-fact strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.dialog-allergens {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.dialog-allergens strong {
  font-weight: 600;
  color: var(--navy);
}

.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.allergen-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  background: rgba(240, 180, 0, 0.18);
  border: 1px solid rgba(240, 180, 0, 0.35);
}

.dialog-foot {
  flex-shrink: 0;
  padding: 16px 20px 20px;
}

.price-pill {
  width: 100%;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

/* Splash */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  background: var(--ink);
  transition: opacity 0.3s ease;
}

.splash.is-leaving {
  pointer-events: none;
  opacity: 0;
}

.splash-inner {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  background: var(--paper);
}

.splash-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 404 */
.miss {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
  color: var(--navy);
}

.miss h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.miss p {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(26, 43, 76, 0.45);
}

.miss a {
  margin-top: 32px;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
}

.is-hidden {
  display: none !important;
}

/* SEO crawlable menu lives in the document; visually reserved for crawlers/no-js */
.seo-menu {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
