/* KOMO QR Menu — FineDine flow, elevated FineDine polish */
:root {
  --brand: #0E3D8C;
  --brand-dark: #0A2E6B;
  --brand-soft: rgba(14, 61, 140, 0.08);
  --cream: #F7F1E6;
  --cream-2: #EFE6D4;
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --text: #1A2233;
  --muted: #6B7385;
  --line: #ECEEF2;
  --shadow: 0 10px 28px rgba(14, 61, 140, 0.09);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.06);
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --top-h: 56px;
  --font: "Nunito Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.view {
  min-height: 100dvh;
  padding-bottom: calc(28px + var(--safe-bottom));
  animation: viewIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.view[hidden] { display: none !important; }
.view-detail {
  padding-bottom: calc(96px + var(--safe-bottom));
  background: var(--surface);
}
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Top bar */
.fd-top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--top-h) + var(--safe-top));
  padding: var(--safe-top) 8px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.fd-top-solid { border-bottom: 1px solid var(--line); }
.fd-top-spacer { width: 44px; }
.fd-top-logo {
  height: 38px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.fd-top-title {
  font-size: 1.02rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58vw;
}
.fd-top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}
.icon-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  transition: background 0.15s ease;
}
.icon-btn:active { background: var(--cream); }
.lang-pill {
  min-width: 40px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  border: 1px solid #d6deef;
  background: #fff;
  margin-right: 6px;
}

/* Home */
.home-hero {
  text-align: center;
  padding: 6px 22px 10px;
}
.logo-frame {
  width: min(168px, 46vw);
  aspect-ratio: 1;
  margin: 4px auto 14px;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 50% 0%, #fff 0%, var(--cream) 70%);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(14, 61, 140, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.logo-frame img {
  width: 86%;
  height: auto;
  object-fit: contain;
}
.announce {
  margin: 0 14px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}
.eyebrow {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.home-hero h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin-top: 4px;
  line-height: 1.15;
}
.home-hero .tag {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: 6px;
}
.info-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
}
.chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px 10px;
}
.section-label.pad { padding-top: 18px; }
.section-label h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-label span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.rail-section { padding-bottom: 4px; }
.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail-card {
  flex: 0 0 148px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  border: 1px solid rgba(236,238,242,0.9);
  transition: transform 0.18s ease;
}
.rail-card:active { transform: scale(0.98); }
.rail-card img {
  width: 100%;
  height: 108px;
  object-fit: cover;
}
.rail-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 12px;
}
.rail-body strong {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rail-body em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
}

/* Category folders */
.folder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 14px 8px;
}
.folder-card {
  position: relative;
  aspect-ratio: 1 / 1.12;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
  isolation: isolate;
  transition: transform 0.2s ease;
}
.folder-card:active { transform: scale(0.985); }
.folder-img, .folder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.folder-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 52, 0.05) 28%, rgba(8, 22, 58, 0.82) 100%);
}
.folder-meta {
  position: absolute;
  left: 11px; right: 11px; bottom: 11px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
}
.folder-name {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
.folder-count {
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.story-card {
  margin: 8px 14px 6px;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 96px 1fr;
}
.story-card img {
  width: 96px;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
}
.story-copy { padding: 14px 14px 14px 13px; }
.story-copy h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.story-copy p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 14px 8px;
}
.quick-actions:has(.qa:only-child) { grid-template-columns: 1fr; }
.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--shadow-sm);
}
.qa span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.qa strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-foot {
  text-align: center;
  padding: 22px 16px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.fd-foot img {
  margin: 0 auto 8px;
  opacity: 0.88;
}

/* Category switch + filters */
.cat-switch {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px 4px;
  background: var(--surface);
  scrollbar-width: none;
  position: sticky;
  top: calc(var(--top-h) + var(--safe-top));
  z-index: 30;
}
.cat-switch::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid transparent;
  white-space: nowrap;
}
.cat-pill.is-on {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 14px rgba(14, 61, 140, 0.22);
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 14px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--cream);
}
.filter-chip.is-on {
  background: var(--brand);
  color: #fff;
}

/* Product list rows */
.product-list { background: var(--surface); }
.item-row {
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
  align-items: stretch;
  background: var(--surface);
  animation: rowIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.item-row:nth-child(1) { animation-delay: 0.02s; }
.item-row:nth-child(2) { animation-delay: 0.05s; }
.item-row:nth-child(3) { animation-delay: 0.08s; }
.item-row:nth-child(4) { animation-delay: 0.11s; }
.item-row:nth-child(5) { animation-delay: 0.14s; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.item-row:active { background: #f7f8fb; }
.item-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item-name {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.spice-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 7px;
  vertical-align: 2px;
}
.spice-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spice, #C41E3A);
  box-shadow: 0 0 0 1px rgba(196,30,58,0.08);
}
.item-sauce-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.item-sauces {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.4;
}
.item-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.item-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.item-price {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}
.item-kcal {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.item-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-chevron {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.item-row.is-soldout .item-thumb img { filter: grayscale(0.7) brightness(0.85); }
.item-badge {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--cream);
  padding: 2px 7px;
  border-radius: 999px;
}
.sold-flag {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(28,35,51,0.72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  padding: 3px 4px;
  letter-spacing: 0.04em;
}

.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  background: var(--surface);
}

/* Detail */
.detail-hero {
  position: relative;
  aspect-ratio: 1 / 0.94;
  background: #eee;
  overflow: hidden;
}
.detail-slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.detail-slides::-webkit-scrollbar { display: none; }
.detail-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.detail-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.detail-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.detail-dots span.is-on { background: #fff; width: 16px; border-radius: 999px; }
.icon-btn-onimg {
  position: absolute;
  top: calc(10px + var(--safe-top));
  left: 10px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.icon-share { left: auto; right: 10px; }
.detail-body { padding: 22px 18px 12px; }
.detail-cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 7px;
}
.detail-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.detail-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.diet-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brand);
}
.chef-note {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--cream);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px;
}
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.detail-facts span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 10px;
}
.extras-block, .ing-block {
  margin: 8px 0 18px;
}
.extras-block h3, .ing-block h3, .related h3 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 0 0 10px;
}
.extra-group {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  margin: 8px 0 6px;
}
.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.extra-copy strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
}
.extra-copy em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 999px;
  padding: 4px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(16,24,40,0.08);
}
.qty-btn:disabled { opacity: 0.35; }
.qty span {
  min-width: 16px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.ing-block p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.related {
  margin-top: 22px;
  padding-top: 6px;
}
.related h3 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 0 0 10px;
}
.related .rail { padding-left: 0; padding-right: 0; }

.detail-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(14px + var(--safe-bottom));
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(0,0,0,0.06);
}
.detail-bar-label {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-bar strong {
  font-size: 1.18rem;
  color: var(--brand);
  font-weight: 800;
}
.detail-cta {
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.86rem;
  box-shadow: 0 8px 18px rgba(14, 61, 140, 0.28);
}
.detail-cta[hidden],
.detail-cta.is-disabled {
  background: #9aa3b2;
  pointer-events: none;
  box-shadow: none;
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.search-overlay[hidden] { display: none; }
.search-head {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: calc(10px + var(--safe-top)) 12px 10px;
  border-bottom: 1px solid var(--line);
}
.search-head input {
  flex: 1;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: var(--bg);
  font: inherit;
  outline: none;
}
.search-head input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search-cancel {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px;
}
.cat-note {
  margin: 0 16px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-extras { padding-bottom: 6px; }
.extras-sheet {
  margin: 0 14px;
  background: var(--surface);
  border-radius: 18px;
  padding: 4px 16px 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.extras-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dotted #d7dbe5;
}
.extras-line:last-child { border-bottom: none; }
.extras-name {
  font-weight: 800;
  font-size: 0.95rem;
}
.extras-leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted #c8ceda;
  transform: translateY(-5px);
}
.extras-line strong {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}
.sauce-block { margin: 4px 0 16px; }
.sauce-block h3 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 0 0 10px;
}
.sauce-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sauce-chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
}
.sauce-chip.is-on {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.hh-banner {
  margin: 0 14px 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
}
.hh-banner p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}
.hh-banner p + p { margin-top: 6px; opacity: 0.92; }
.hh-banner span { font-weight: 600; opacity: 0.85; font-size: 0.78rem; }

.promo-badge {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  vertical-align: middle;
}
.promo-badge.type-happy_hour { background: var(--spice, #C41E3A); }
.promo-badge.type-daily { background: var(--brand); }
.promo-badge.type-offer { background: var(--brand-dark, #0A2E6B); }

.item-price.is-deal,
.rail-price.is-deal,
.rail-body em.is-deal,
#detailBarPrice {
  font-weight: 800;
}
.item-price s,
.rail-price s,
.rail-body em s,
#detailBarPrice s {
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
  margin-right: 6px;
}
.rail-price {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  display: block;
}
.item-chevron-plain {
  align-self: center;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 400;
  padding-left: 8px;
}
.detail-slides[hidden] { display: none; }
.detail-hero:has(.detail-slides[hidden]) {
  aspect-ratio: auto;
  min-height: 56px;
  background: var(--bg);
}

@media (min-width: 720px) {
  .folder-grid,
  .quick-actions,
  .section-label,
  .home-hero,
  .story-card,
  .extras-sheet,
  .rail { max-width: 720px; margin-left: auto; margin-right: auto; }
  .folder-grid { grid-template-columns: repeat(3, 1fr); }
  .product-list, .fd-top, .detail-body, .detail-bar, .search-head,
  .cat-switch, .filter-row { max-width: 720px; margin-left: auto; margin-right: auto; }
  .detail-hero { max-width: 720px; margin: 0 auto; }
  .rail-card { flex-basis: 168px; }
}
