﻿:root {
  --pc-orange: #ff9d00;
  --pc-orange-hot: #ffad00;
  --pc-red: #d90013;
  --pc-red-deep: #a9000d;
  --pc-yellow: #ffc000;
  --pc-yellow-bright: #ffd21a;
  --pc-cream: #fff8e6;
  --pc-white: #ffffff;
  --pc-ink: #2a0908;
  --pc-muted-red: #7e1512;
  --pc-success: #1c9b4a;
  --pc-danger: #d90013;
  --shadow: 0 18px 36px rgba(69, 0, 0, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Narrow", "Barlow Condensed", "Oswald", Arial, sans-serif;
  color: var(--pc-cream);
  background:
    radial-gradient(circle at 10% 24%, rgba(179, 0, 0, 0.11) 0 2px, transparent 3px) 0 0 / 19px 19px,
    radial-gradient(circle at 88% 72%, rgba(255, 210, 26, 0.17) 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(112deg, var(--pc-orange) 0 38%, var(--pc-red) 38% 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.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;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  display: none;
  content: none;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--pc-yellow);
  color: var(--pc-red);
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100vw - 32px));
  margin: 16px auto 0;
  padding: 10px 14px;
  background: rgba(150, 0, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.brand-lockup,
.main-nav,
.button-row,
.price-row,
.chip-row,
.coupon-row,
.branch-filter,
.category-tabs {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--pc-yellow);
  color: var(--pc-red);
  line-height: 1;
}

.main-nav {
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.header-cta,
.primary-button,
.secondary-button,
.mini-cta,
.branch-filter button,
.category-tabs button,
.coupon-row button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 0;
  cursor: pointer;
}

.main-nav a {
  color: var(--pc-cream);
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta,
.primary-button,
.coupon-row button {
  background: var(--pc-yellow);
  color: var(--pc-red);
  box-shadow: 0 10px 20px rgba(65, 0, 0, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-branch-select {
  display: grid;
  gap: 2px;
  color: var(--pc-cream);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.header-branch-select select {
  min-height: 34px;
  max-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0 30px 0 12px;
  background: rgba(255, 248, 230, 0.96);
  color: var(--pc-red);
  font-weight: 900;
}

.secondary-button,
.branch-filter button,
.category-tabs button {
  border: 2px solid currentColor;
  background: transparent;
  color: var(--pc-red);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--pc-yellow);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pc-red);
}

.poster-stage {
  position: relative;
  width: min(1120px, 100vw);
  min-height: 1728px;
  margin: -62px auto 0;
  padding: 86px 20px 0;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  z-index: 2;
  width: min(88%, 980px);
  min-height: clamp(330px, 43vw, 470px);
  margin: 0 auto;
  background: #f7f7f4;
  color: var(--pc-red);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: auto;
  touch-action: manipulation;
}

.hero-copy {
  position: absolute;
  inset: 34% 12%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--pc-red);
  text-shadow: 0 3px 0 rgba(255, 192, 0, 0.7);
  background: radial-gradient(circle at center, rgba(255, 248, 230, 0.72), rgba(255, 248, 230, 0.1) 68%, transparent 100%);
  border-radius: 18px;
}

.hero-copy p,
.section-heading p,
.page-hero p,
.detail-copy p:first-child {
  margin: 0 0 8px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--pc-yellow-bright);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy span {
  max-width: 470px;
  margin-top: 10px;
  color: var(--pc-muted-red);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 900;
}

.deals-pill {
  position: relative;
  z-index: 4;
  width: clamp(240px, 37.5vw, 384px);
  min-height: clamp(48px, 6.4vw, 66px);
  margin: 168px auto 80px;
  border-radius: 999px;
  background: var(--pc-yellow);
  color: var(--pc-red);
  display: grid;
  place-items: center;
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(91, 0, 0, 0.18);
}

.snap-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 46px 18px;
}

.snap-row::-webkit-scrollbar {
  display: none;
}

.deal-card,
.menu-card,
.branch-card,
.coupon-card,
.rewards-grid article,
.link-grid a,
.content-panel,
.detail-copy {
  background: var(--pc-yellow);
  color: var(--pc-red);
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(92, 0, 0, 0.16);
}

.deal-card {
  position: relative;
  min-height: 382px;
  padding: 18px;
  scroll-snap-align: center;
  overflow: hidden;
}

.card-link {
  display: block;
}

.card-badge,
.status-pill,
.sold-out-ribbon {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--pc-red);
  color: var(--pc-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.deal-card .image-placeholder {
  position: relative;
  width: 100%;
  min-height: auto;
  aspect-ratio: 4 / 3;
  margin-top: 12px;
  border-radius: 18px;
  opacity: 0.86;
}

.card-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 14px;
}

.card-copy h3,
.menu-copy h3,
.branch-card h3,
.rewards-grid h3,
.detail-copy h1,
.page-hero h1,
.section-heading h2,
.landing-copy h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.card-copy h3 {
  font-size: clamp(24px, 3vw, 32px);
}

.card-copy p,
.menu-copy p,
.branch-card p,
.rewards-grid p,
.page-hero span,
.detail-copy p,
.landing-copy p,
.link-grid span,
.form-note,
.site-footer p {
  line-height: 1.45;
  font-family: Arial, sans-serif;
}

.price-row {
  gap: 10px;
  margin: 8px 0;
}

.price-row strong {
  font-size: 24px;
}

.price-row span {
  text-decoration: line-through;
  color: var(--pc-muted-red);
}

.availability {
  font-size: 13px;
  font-weight: 700;
}

.mini-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 34px;
  background: var(--pc-red);
  color: var(--pc-yellow);
}

.detail-cta {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: var(--pc-muted-red);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.edge-arrow {
  position: absolute;
  z-index: 5;
  top: 855px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #f6f6f6;
  color: var(--pc-red);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}

.edge-arrow.left {
  left: 0;
}

.edge-arrow.right {
  right: 0;
}

.float-food {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(55, 0, 0, 0.26));
  animation: floatFood 8s ease-in-out infinite;
}

.food-bucket {
  right: -50px;
  top: 1140px;
  width: min(32vw, 340px);
}

.tagline {
  position: relative;
  z-index: 4;
  margin: 230px 0 44px;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.tagline span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  border-radius: 13px;
  background: #ef1b22;
  color: var(--pc-yellow);
  padding: 2px 20px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.featured-row {
  grid-auto-columns: minmax(204px, 1fr);
  padding-inline: 46px;
}

.menu-card {
  position: relative;
  min-height: 276px;
  padding: 14px;
  overflow: hidden;
  scroll-snap-align: start;
}

.menu-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(217, 0, 19, 0.08);
}

.menu-image img,
.deal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  color: var(--pc-red);
  background:
    radial-gradient(circle at 28% 28%, rgba(217, 0, 19, 0.18) 0 8px, transparent 9px) 0 0 / 34px 34px,
    linear-gradient(135deg, var(--pc-yellow-bright), var(--pc-yellow));
  border: 2px dashed rgba(217, 0, 19, 0.3);
  border-radius: inherit;
  font-weight: 900;
}

.menu-copy {
  padding-top: 12px;
}

.menu-copy h3 {
  font-size: 24px;
}

.menu-description {
  min-height: 2.9em;
  max-height: 4.35em;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.menu-description::-webkit-scrollbar {
  width: 4px;
}

.menu-description::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 248, 230, 0.34);
}

.chip-row {
  gap: 6px;
  flex-wrap: wrap;
  min-height: 26px;
}

.chip-row span {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(217, 0, 19, 0.13);
  color: var(--pc-muted-red);
  font-size: 12px;
  font-weight: 900;
}

.menu-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.menu-bottom .mini-cta {
  position: static;
}

.is-sold-out {
  opacity: 0.76;
  filter: grayscale(0.25);
}

.sold-out-ribbon {
  position: absolute;
  right: -20px;
  top: 22px;
  transform: rotate(18deg);
}

.branch-cta-block {
  margin-top: 38px;
  text-align: center;
}

.branch-cta-block h2 {
  color: var(--pc-yellow);
  font-size: clamp(34px, 4.6vw, 52px);
  text-shadow: 0 4px 0 rgba(79, 0, 0, 0.18);
}

.content-band {
  position: relative;
  width: 100%;
  padding: 72px 20px;
}

.red-band {
  background: linear-gradient(180deg, rgba(169, 0, 13, 0.9), rgba(111, 0, 9, 0.96));
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.section-heading h2 {
  max-width: 760px;
  color: var(--pc-yellow);
  font-size: clamp(36px, 5vw, 60px);
}

.branch-grid,
.deal-grid,
.menu-grid,
.link-grid,
.rewards-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.branch-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.branch-card {
  min-height: 230px;
  padding: 22px;
}

.branch-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.branch-card h3 {
  font-size: 28px;
}

.location-line,
.delivery-line {
  color: var(--pc-muted-red);
  font-weight: 900;
}

.button-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.branch-card .secondary-button {
  min-height: 44px;
}

.rewards-panel {
  background: linear-gradient(135deg, var(--pc-orange-hot), var(--pc-red));
}

.rewards-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.loyalty-points {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--pc-red);
  margin: 10px 0;
}

.loyalty-activity {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
}

.loyalty-activity li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--pc-red), transparent 82%);
}

.loyalty-hold-card {
  border-color: color-mix(in srgb, var(--pc-red), transparent 55%);
}

.loyalty-reward-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--pc-red), transparent 78%);
  border: 1px solid color-mix(in srgb, var(--pc-cream), transparent 75%);
}

.loyalty-reward-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loyalty-reward-card button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.reward-line {
  border-color: color-mix(in srgb, var(--pc-red), transparent 58%);
}

.reward-line .secondary-button {
  padding-inline: 16px;
}

.rewards-page {
  display: grid;
  gap: 22px;
}

.rewards-hero {
  min-height: 260px;
}

.rewards-balance {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--pc-yellow-bright);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  font-weight: 900;
  text-shadow: 0 5px 28px rgba(70, 0, 8, 0.28);
}

.rewards-action-shell {
  width: min(1120px, 100%);
  margin: -6px auto 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rewards-action-shell form {
  margin: 0;
}

.rewards-catalog-section,
.rewards-account-panel,
.rewards-auth-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.content-panel.rewards-catalog-section {
  display: block;
}

.rewards-section-heading {
  margin-bottom: 18px;
}

.rewards-section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.rewards-page .rewards-catalog-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
  justify-content: stretch;
}

.rewards-page .rewards-account-panel,
.rewards-page .rewards-auth-grid {
  display: grid;
  gap: 20px;
}

.rewards-page .rewards-account-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rewards-page .rewards-auth-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.loyalty-points--compact {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.rewards-grid article,
.coupon-card,
.link-grid a {
  padding: 24px;
}

.coupon-card label {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.coupon-row {
  gap: 8px;
}

.coupon-row input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(217, 0, 19, 0.24);
  padding: 0 16px;
  color: var(--pc-ink);
}

.form-note {
  min-height: 40px;
  color: var(--pc-muted-red);
}

.form-note.is-valid {
  color: var(--pc-success);
  font-weight: 700;
}

.landing-strip {
  background: rgba(255, 248, 230, 0.96);
  color: var(--pc-red);
}

.landing-strip .section-heading h2 {
  color: var(--pc-red);
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.link-grid a {
  display: grid;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
}

.link-grid span {
  color: var(--pc-muted-red);
  font-size: 15px;
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 34px max(20px, calc((100vw - 1120px) / 2));
  background: var(--pc-ink);
  color: var(--pc-cream);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.adapter-note {
  grid-column: 1 / -1;
  margin: 0;
  opacity: 0.72;
  font-size: 13px;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 84px;
}

.page-hero {
  min-height: 300px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 80px 0 36px;
}

.page-hero h1 {
  max-width: 870px;
  color: var(--pc-yellow);
  font-size: clamp(50px, 8vw, 112px);
}

.page-hero span {
  max-width: 720px;
  font-size: 18px;
  color: var(--pc-cream);
}

.content-panel {
  padding: 28px;
}

.branch-filter,
.category-tabs {
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 22px;
  width: min(1120px, 100%);
}

.branch-filter button.is-active,
.category-tabs button.is-active {
  background: var(--pc-red);
  color: var(--pc-yellow);
}

.deal-grid,
.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.compact-card {
  height: 100%;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 28px;
  align-items: center;
  min-height: 680px;
}

.detail-copy {
  padding: 34px;
}

.detail-copy h1 {
  color: var(--pc-red);
  font-size: clamp(44px, 7vw, 86px);
}

.readable-hero {
  min-height: 420px;
}

.landing-copy {
  max-width: 820px;
}

.landing-copy h2 {
  font-size: 38px;
}

details {
  margin-top: 18px;
  padding: 16px;
  border: 2px solid rgba(217, 0, 19, 0.18);
  border-radius: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.primary-button:hover,
.secondary-button:hover,
.mini-cta:hover,
.header-cta:hover,
.branch-filter button:hover,
.category-tabs button:hover,
.coupon-row button:hover,
.deal-card:hover,
.menu-card:hover,
.branch-card:hover {
  transform: translateY(-2px);
}

.primary-button,
.secondary-button,
.mini-cta,
.header-cta,
.branch-filter button,
.category-tabs button,
.coupon-row button,
.deal-card,
.menu-card,
.branch-card {
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

@keyframes floatFood {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
    padding-right: 12px;
  }

  .brand-lockup span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: fixed;
    left: min(310px, calc(100vw - 72px));
    top: 24px;
    flex: 0 0 44px;
    margin-left: auto;
    z-index: 30;
    background: var(--pc-yellow) !important;
  }

  .nav-open .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(150, 0, 12, 0.96);
    border-radius: 8px;
  }

  .poster-stage {
    min-height: 1460px;
    padding-top: 82px;
    margin-top: -58px;
  }

  .hero-banner {
    width: calc(100% - 40px);
    min-height: 330px;
  }

  .hero-copy {
    inset: 31% 7%;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8.5vw, 34px);
    max-width: 9ch;
  }

  .hero-copy span {
    max-width: 270px;
    font-size: 16px;
  }

  .deals-pill {
    margin-top: 84px;
    margin-bottom: 40px;
  }

  .snap-row {
    grid-auto-columns: minmax(250px, 83vw);
    gap: 16px;
    padding-inline: 20px;
  }

  .edge-arrow {
    display: none;
  }

  .food-bucket {
    width: 220px;
    right: -70px;
    top: 990px;
  }

  .tagline {
    margin-top: 110px;
  }

  .tagline span {
    max-width: 92vw;
    min-height: 50px;
  }

  .featured-row {
    padding-inline: 20px;
  }

  .content-band {
    padding: 52px 16px;
  }

  .rewards-grid,
  .detail-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-links {
    justify-content: start;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    margin-top: 20px;
  }

  .content-panel {
    padding: 18px;
  }

  .page-hero {
    min-height: 250px;
    padding-bottom: 24px;
  }

  .coupon-row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Cart, API errors, and lean CMS additions */
.cart-link { white-space: nowrap; }
.toast {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100vw - 36px));
  background: var(--pc-yellow);
  color: var(--pc-red);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.interaction-feedback {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.interaction-feedback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(70, 0, 8, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.interaction-feedback-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 248, 230, 0.88);
  color: var(--pc-red);
  box-shadow: 0 18px 44px rgba(70, 0, 8, 0.2);
  transform: translateZ(0) scale(0.96);
  transition: transform 0.18s ease;
}

.interaction-feedback-card img {
  width: 58px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  animation: ddPulse 0.92s ease-in-out infinite;
}

.interaction-feedback-card span {
  font-size: 0.78rem;
  font-weight: 900;
}

body.is-interaction-pending #app {
  filter: blur(1.2px);
  opacity: 0.94;
  transform: translateZ(0);
  transition: filter 0.18s ease, opacity 0.18s ease;
}

body.is-interaction-pending .interaction-feedback {
  opacity: 1;
  visibility: visible;
}

body.is-interaction-pending .interaction-feedback-card {
  transform: translateZ(0) scale(1);
}

button.is-pending,
input[type="submit"].is-pending,
input[type="button"].is-pending {
  position: relative;
}

button.is-pending::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.76;
  animation: ddSpin 0.72s linear infinite;
}

@keyframes ddPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes ddSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .interaction-feedback {
    padding: 14px;
  }

  .interaction-feedback-card {
    min-width: 104px;
    padding: 13px 15px 12px;
    border-radius: 18px;
  }

  .interaction-feedback-card img {
    width: 50px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interaction-feedback,
  .interaction-feedback-card,
  body.is-interaction-pending #app {
    transition: none !important;
  }

  .interaction-feedback-card img,
  button.is-pending::after {
    animation: none !important;
  }
}
.qty-cluster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qty-cluster button,
.admin-nav button,
.table-wrap button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
  background: var(--pc-yellow);
  color: var(--pc-red);
}
.qty-cluster span {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}
button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.line-subtotal,
.summary-row,
.form-note {
  color: var(--pc-muted-red);
}
.line-subtotal { font-weight: 900; }
.cart-inline {
  margin-top: 28px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 248, 230, 0.9);
  color: var(--pc-red);
}
.cart-inline > div,
.cart-head,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cart-layout,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.admin-branches-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: start;
}

.admin-qr-card {
  grid-column: 1 / -1;
}

.admin-branch-copy-card {
  grid-column: 1 / -1;
}

.branch-copy-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.branch-copy-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(169, 0, 13, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.28);
}

.branch-copy-options legend {
  padding: 0 6px;
  color: var(--pc-red);
  font-weight: 900;
}

.branch-copy-summary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(169, 0, 13, 0.14);
  background: rgba(255, 203, 0, 0.12);
}

.branch-copy-summary h3 {
  margin: 0;
}

.branch-copy-counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.branch-copy-counts span {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--pc-muted-red);
  font-weight: 800;
}

.branch-copy-counts strong {
  color: var(--pc-red);
}

.branch-copy-warnings {
  margin: 0;
  padding-left: 18px;
  color: var(--pc-muted-red);
  font-weight: 800;
}

.branch-qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.branch-qr-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(169, 0, 13, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
}

.branch-qr-preview {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: #fff8e6;
}

.branch-qr-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.branch-qr-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.branch-qr-copy code {
  display: block;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(169, 0, 13, 0.08);
  color: var(--pc-red);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.icon-btn.icon-btn--download {
  color: var(--pc-red);
  background: rgba(255, 203, 0, 0.85);
}

.icon-btn.icon-btn--download:hover {
  background: var(--pc-yellow);
}

.cart-lines,
.cart-checkout,
.empty-card,
.admin-card,
.admin-form {
  background: rgba(255, 248, 230, 0.95);
  color: var(--pc-red);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(169, 0, 13, 0.14);
}
.cart-line h3,
.admin-card h2,
.cart-checkout h2,
.empty-card h2 { margin-top: 0; }
.checkout-form,
.coupon-card,
.admin-form {
  display: grid;
  gap: 14px;
}
.checkout-form label,
.admin-form label,
.coupon-card label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  color: var(--pc-red);
}
.checkout-form input,
.coupon-card input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-card select {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(169, 0, 13, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--pc-ink);
}
.admin-form input.admin-datetime-input:invalid {
  border-color: rgba(169, 0, 13, 0.58);
  background: rgba(255, 238, 230, 0.95);
}
.admin-form input.admin-datetime-input.is-past {
  border-color: rgba(255, 210, 26, 0.58);
  background: rgba(255, 248, 230, 0.92);
}
.field-note {
  color: rgba(169, 0, 13, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}
.edit-modal .field-note {
  color: rgba(255, 248, 230, 0.82);
}
.admin-form textarea { min-height: 110px; }
.admin-form select[multiple] { min-height: 130px; }
.admin-option-builder {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px solid rgba(169, 0, 13, 0.14);
  border-radius: 12px;
  background: rgba(255, 248, 230, 0.45);
}
.admin-option-panel {
  display: grid;
  gap: 10px;
  padding-left: 8px;
  border-left: 3px solid rgba(169, 0, 13, 0.16);
}
.admin-option-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(140px, 1fr);
  gap: 10px;
  align-items: end;
}
.admin-hours,
.admin-branch-toggles {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 2px solid rgba(169, 0, 13, 0.14);
  border-radius: 12px;
  background: rgba(255, 248, 230, 0.45);
}
.admin-hours legend,
.admin-branch-toggles legend {
  padding: 0 6px;
  font-weight: 900;
}
.admin-hours-grid {
  display: grid;
  gap: 10px;
}
.admin-hours-row,
.admin-break-panel {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(100px, 0.7fr) minmax(100px, 0.7fr);
  gap: 10px;
  align-items: end;
}
.admin-break-toggle {
  justify-content: center;
}
.admin-branch-toggles {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.menu-card.is-unavailable {
  opacity: 0.68;
}
.branch-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--pc-red);
  font-weight: 900;
}
.branch-meta-bar span,
.branch-meta-bar strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(169, 0, 13, 0.08);
}
.checkbox-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
}
.checkbox-row input { width: auto; min-height: auto; }
.form-note.is-valid { color: var(--pc-success); }
.secondary-button.danger { color: var(--pc-danger); }
.admin-shell .content-panel { display: grid; gap: 18px; }
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 248, 230, 0.72);
}
.admin-nav a,
.admin-nav button {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  background: transparent;
  color: var(--pc-red);
  border: 2px solid rgba(169, 0, 13, 0.22);
}
.admin-nav a.is-active { background: var(--pc-yellow); }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(169, 0, 13, 0.14);
  vertical-align: top;
}
th { color: var(--pc-red-deep); }
td { color: var(--pc-ink); max-width: 280px; overflow-wrap: anywhere; }
.admin-code-reveal-row td {
  padding-top: 0;
  background: rgba(255, 224, 71, 0.12);
}
.admin-code-reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(169, 0, 13, 0.18);
  border-radius: 14px;
  background: rgba(255, 248, 230, 0.88);
  box-shadow: 0 12px 28px rgba(81, 0, 13, 0.08);
}
.admin-code-reveal > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.admin-code-reveal .form-note {
  width: 100%;
  margin: 0;
}
.admin-code-reveal strong {
  color: var(--pc-red-deep);
}
.admin-code-reveal code {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(169, 0, 13, 0.14);
}
code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 860px) {
  .cart-layout,
  .admin-grid,
  .cart-line,
  .admin-option-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Flowing split-wave background + edge product art
   Added for long-form pages: CSS-only animated red/orange waves, glass cards,
   and PNG food assets peeking from the viewport edges.
-------------------------------------------------------------------------- */
:root {
  --glass-fill: rgba(255, 255, 255, 0.105);
  --glass-fill-strong: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.23);
  --glass-border-soft: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 24px 80px rgba(62, 0, 10, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  --glass-shadow-hover: 0 30px 100px rgba(62, 0, 10, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body {
  position: relative;
  color: var(--pc-cream);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 215, 30, 0.48), transparent 19%),
    radial-gradient(circle at 92% 36%, rgba(255, 103, 0, 0.25), transparent 24%),
    radial-gradient(circle at 12% 82%, rgba(255, 175, 0, 0.22), transparent 30%),
    linear-gradient(160deg, #ff7800 0%, #ffae00 26%, #e50016 68%, #a70011 100%);
}

body::before {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(70, 0, 8, 0.16), transparent 22%, transparent 76%, rgba(70, 0, 8, 0.18)),
    radial-gradient(circle at center, transparent 0 52%, rgba(70, 0, 8, 0.14) 100%);
  mix-blend-mode: multiply;
}

#app {
  position: relative;
  z-index: 5;
  min-height: 100vh;
}

.animated-site-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.flow-orb,
.flow-ribbon,
.flow-dots {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity, border-radius, background-position;
}

.flow-orb {
  top: -24vh;
  width: 78vw;
  height: 148vh;
  opacity: 0.96;
  filter: blur(0.2px);
}

.flow-orb-left {
  left: -54vw;
  border-radius: 48% 52% 44% 56% / 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 226, 70, 0.55), transparent 25%),
    radial-gradient(circle at 68% 72%, rgba(255, 116, 0, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 190, 0, 0.98), rgba(255, 114, 0, 0.95));
  animation: splitLeftFlow 20s ease-in-out infinite alternate;
}

.flow-orb-right {
  right: -52vw;
  border-radius: 54% 46% 56% 44% / 50% 50% 58% 42%;
  background:
    radial-gradient(circle at 26% 32%, rgba(255, 92, 28, 0.36), transparent 28%),
    radial-gradient(circle at 55% 84%, rgba(121, 0, 16, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(165, 0, 19, 0.98), rgba(219, 0, 24, 0.97) 58%, rgba(238, 42, 16, 0.86));
  animation: splitRightFlow 23s ease-in-out infinite alternate;
}

.flow-ribbon {
  inset: -28vh -18vw;
  opacity: 0.36;
  background:
    radial-gradient(ellipse at 17% 34%, rgba(255, 207, 26, 0.64) 0%, rgba(255, 172, 0, 0.28) 17%, transparent 42%),
    radial-gradient(ellipse at 83% 58%, rgba(111, 0, 15, 0.68) 0%, rgba(185, 0, 24, 0.3) 23%, transparent 48%),
    radial-gradient(ellipse at 10% 92%, rgba(255, 190, 0, 0.28), transparent 33%);
  animation: flowingRibbon 27s ease-in-out infinite alternate;
}

.flow-dots {
  inset: 0;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(176, 35, 0, 0.5) 1.4px, transparent 1.75px),
    radial-gradient(circle, rgba(255, 163, 128, 0.31) 1.3px, transparent 1.65px);
  background-size: 14px 14px, 13px 13px;
  background-position: 0 0, 0 0;
  mask-image:
    radial-gradient(circle at 5% 18%, black 0%, transparent 23%),
    radial-gradient(circle at 94% 41%, black 0%, transparent 25%),
    radial-gradient(circle at 8% 73%, black 0%, transparent 24%),
    radial-gradient(circle at 92% 91%, black 0%, transparent 26%);
  -webkit-mask-image:
    radial-gradient(circle at 5% 18%, black 0%, transparent 23%),
    radial-gradient(circle at 94% 41%, black 0%, transparent 25%),
    radial-gradient(circle at 8% 73%, black 0%, transparent 24%),
    radial-gradient(circle at 92% 91%, black 0%, transparent 26%);
  animation: flowingDots 31s ease-in-out infinite alternate;
}

.edge-food {
  position: fixed;
  z-index: 3;
  width: clamp(150px, 24vw, 360px);
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 28px 28px rgba(70, 0, 8, 0.32));
  transform-origin: center;
  will-change: transform;
}

.edge-food-burger {
  top: 8vh;
  left: clamp(-165px, -9vw, -78px);
  width: clamp(190px, 30vw, 430px);
  animation: edgeFloatA 8.8s ease-in-out infinite;
}

.edge-food-tray {
  top: 28vh;
  right: clamp(-230px, -12vw, -100px);
  width: clamp(230px, 34vw, 520px);
  animation: edgeFloatB 9.6s ease-in-out infinite;
}

.edge-food-sub {
  bottom: 5vh;
  left: clamp(-250px, -15vw, -128px);
  width: clamp(260px, 39vw, 610px);
  animation: edgeFloatC 10.4s ease-in-out infinite;
}

.edge-food-drink {
  bottom: -8vh;
  right: clamp(-120px, -7vw, -54px);
  width: clamp(130px, 18vw, 280px);
  animation: edgeFloatD 8.2s ease-in-out infinite;
}

/* Make the original poster stage blend with the new long-form background. */
.poster-stage {
  min-height: clamp(1340px, 170vw, 1780px);
  overflow: hidden;
}

.hero-banner {
  border-radius: 30px;
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.deals-pill,
.tagline span,
.cart-inline,
.admin-nav {
  background: rgba(255, 255, 255, 0.14);
  color: var(--pc-cream);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.site-header {
  z-index: 40;
  border-radius: 999px;
  background: rgba(120, 0, 14, 0.42);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 60px rgba(66, 0, 10, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.brand-mark,
.header-cta,
.primary-button,
.coupon-row button,
.qty-cluster button,
.admin-nav button,
.table-wrap button {
  background: linear-gradient(135deg, var(--pc-yellow-bright), var(--pc-yellow));
  color: var(--pc-red-deep);
}

.secondary-button,
.branch-filter button,
.category-tabs button {
  color: var(--pc-cream);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.07);
}

.main-nav a:hover,
.secondary-button:hover,
.branch-filter button:hover,
.category-tabs button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.deal-card,
.menu-card,
.branch-card,
.coupon-card,
.rewards-grid article,
.link-grid a,
.content-panel,
.detail-copy,
.empty-card,
.cart-lines,
.cart-checkout,
.admin-card,
.admin-form {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075)),
    radial-gradient(circle at 20% 0%, rgba(255, 216, 70, 0.16), transparent 38%);
  color: var(--pc-cream);
  border: 1px solid var(--glass-border-soft);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
}

.deal-card::before,
.menu-card::before,
.branch-card::before,
.content-panel::before,
.detail-copy::before,
.empty-card::before,
.cart-lines::before,
.cart-checkout::before,
.admin-card::before,
.admin-form::before,
.rewards-grid article::before,
.link-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 28%, transparent 70%, rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 85% 12%, rgba(255, 218, 45, 0.12), transparent 30%);
  opacity: 0.75;
}

.deal-card > *,
.menu-card > *,
.branch-card > *,
.coupon-card > *,
.rewards-grid article > *,
.link-grid a > *,
.content-panel > *,
.detail-copy > *,
.empty-card > *,
.cart-lines > *,
.cart-checkout > *,
.admin-card > *,
.admin-form > * {
  position: relative;
  z-index: 1;
}

.deal-card:hover,
.menu-card:hover,
.branch-card:hover,
.link-grid a:hover,
.rewards-grid article:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 255, 255, 0.34);
}

.card-badge,
.status-pill,
.sold-out-ribbon {
  background: rgba(255, 209, 26, 0.95);
  color: var(--pc-red-deep);
  box-shadow: 0 10px 24px rgba(78, 0, 8, 0.18);
}

.mini-cta,
.detail-cta {
  background: rgba(255, 208, 26, 0.95);
  color: var(--pc-red-deep);
}

.card-copy p,
.menu-copy p,
.branch-card p,
.rewards-grid p,
.page-hero span,
.detail-copy p,
.landing-copy p,
.link-grid span,
.form-note,
.site-footer p,
.location-line,
.delivery-line,
.availability,
.price-row span,
.line-subtotal,
.summary-row {
  color: rgba(255, 248, 230, 0.82);
}

.card-copy h3,
.menu-copy h3,
.branch-card h3,
.rewards-grid h3,
.detail-copy h1,
.landing-copy h2,
.cart-line h3,
.admin-card h2,
.cart-checkout h2,
.empty-card h2 {
  color: var(--pc-cream);
  text-shadow: 0 3px 22px rgba(80, 0, 8, 0.18);
}

.section-heading h2,
.page-hero h1,
.branch-cta-block h2 {
  color: var(--pc-cream);
  text-shadow: 0 5px 28px rgba(70, 0, 8, 0.25);
}

.hero-copy {
  background: rgba(255, 255, 255, 0.09);
  color: var(--pc-cream);
  text-shadow: 0 4px 22px rgba(60, 0, 8, 0.24);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-copy p,
.section-heading p,
.page-hero p,
.detail-copy p:first-child {
  color: var(--pc-yellow-bright);
}

.hero-copy span {
  color: rgba(255, 248, 230, 0.88);
}

.image-placeholder,
.menu-image {
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 210, 26, 0.25), rgba(198, 0, 19, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--pc-cream);
}

.chip-row span {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 248, 230, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.red-band,
.rewards-panel,
.landing-strip {
  background: transparent;
}

.content-band {
  z-index: 6;
}

.site-footer {
  position: relative;
  z-index: 6;
  background: rgba(42, 9, 8, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.checkout-form input,
.coupon-card input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-card select {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--pc-ink);
}

.admin-nav a {
  color: var(--pc-cream);
  border-color: rgba(255, 255, 255, 0.24);
}

.admin-nav a.is-active {
  background: rgba(255, 210, 26, 0.92);
  color: var(--pc-red-deep);
}

td { color: rgba(255, 248, 230, 0.86); }
th { color: var(--pc-yellow-bright); }

@keyframes splitLeftFlow {
  0% {
    transform: translate3d(-1vw, 5vh, 0) rotate(-8deg) scale(1);
    border-radius: 48% 52% 44% 56% / 42% 58% 48% 52%;
  }
  50% {
    transform: translate3d(4.5vw, 0, 0) rotate(-5deg) scale(1.045);
    border-radius: 56% 44% 52% 48% / 48% 52% 44% 56%;
  }
  100% {
    transform: translate3d(8vw, -4vh, 0) rotate(-2deg) scale(1.09);
    border-radius: 44% 56% 50% 50% / 56% 44% 54% 46%;
  }
}

@keyframes splitRightFlow {
  0% {
    transform: translate3d(1vw, -4vh, 0) rotate(6deg) scale(1.02);
    border-radius: 52% 48% 56% 44% / 48% 52% 58% 42%;
  }
  50% {
    transform: translate3d(-4.5vw, 1vh, 0) rotate(3deg) scale(1.065);
    border-radius: 45% 55% 48% 52% / 56% 44% 50% 50%;
  }
  100% {
    transform: translate3d(-8vw, 5vh, 0) rotate(0deg) scale(1.11);
    border-radius: 58% 42% 54% 46% / 45% 55% 46% 54%;
  }
}

@keyframes flowingRibbon {
  0% { transform: translate3d(-1.2vw, 2vh, 0) scale(1); opacity: 0.28; }
  100% { transform: translate3d(1.8vw, -2vh, 0) scale(1.045); opacity: 0.44; }
}

@keyframes flowingDots {
  0% { background-position: 0 0, 0 0; opacity: 0.34; }
  100% { background-position: 38px -30px, -28px 24px; opacity: 0.54; }
}

@keyframes edgeFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(14px, -16px, 0) rotate(-2deg); }
}

@keyframes edgeFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(5deg); }
  50% { transform: translate3d(-16px, 14px, 0) rotate(2deg); }
}

@keyframes edgeFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  50% { transform: translate3d(18px, -12px, 0) rotate(0deg); }
}

@keyframes edgeFloatD {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(-10px, -18px, 0) rotate(2deg); }
}

@media (min-width: 1280px) {
  .edge-food-burger { left: -118px; }
  .edge-food-tray { right: -150px; }
  .edge-food-sub { left: -185px; }
  .edge-food-drink { right: -82px; }
}

@media (max-width: 900px) {
  .flow-orb {
    width: 98vw;
    height: 136vh;
  }

  .flow-orb-left { left: -78vw; }
  .flow-orb-right { right: -76vw; }

  .edge-food {
    opacity: 0.82;
    filter: drop-shadow(0 18px 18px rgba(70, 0, 8, 0.24));
  }

  .edge-food-burger { width: 230px; left: -132px; top: 11vh; }
  .edge-food-tray { width: 275px; right: -170px; top: 35vh; }
  .edge-food-sub { width: 315px; left: -212px; bottom: 11vh; }
  .edge-food-drink { width: 145px; right: -76px; bottom: -30px; }

  .site-header {
    border-radius: 24px;
  }
}

@media (max-width: 540px) {
  .edge-food-burger,
  .edge-food-sub {
    display: none;
  }

  .edge-food-tray { width: 210px; right: -142px; top: 46vh; }
  .edge-food-drink { width: 118px; right: -62px; bottom: -20px; }
}

/* --------------------------------------------------------------------------
   Hero slogan image replacement + smoother video/background performance
   - Removes the old two-line glass tagline.
   - Uses the supplied transparent PNG slogan as a compact hero graphic.
   - Keeps motion subtle but avoids expensive per-frame repaint work so the
     hero video can play more smoothly.
-------------------------------------------------------------------------- */
.hero-slogan-wrap {
  position: relative;
  z-index: 4;
  width: min(62vw, 520px);
  margin: clamp(112px, 15vw, 190px) auto clamp(28px, 5vw, 56px);
  display: grid;
  place-items: center;
  pointer-events: none;
  isolation: isolate;
}

.hero-slogan-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(72, 0, 10, 0.22));
  transform: translateZ(0) scale(0.82);
  transform-origin: center;
  backface-visibility: hidden;
}

.tagline {
  display: none !important;
}

/* The video itself should be isolated on the compositor. */
.hero-banner {
  contain: paint;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: auto;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-video {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  contain: paint;
}

/* Reduce expensive full-screen repainting while keeping the flowing look. */
.animated-site-bg {
  contain: layout paint style;
  transform: translateZ(0);
}

.flow-orb {
  filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.flow-ribbon {
  will-change: transform, opacity;
  transform: translateZ(0);
}

.flow-dots {
  inset: -7vh -7vw;
  will-change: transform, opacity;
  animation: flowingDotsSmooth 34s ease-in-out infinite alternate !important;
  transform: translateZ(0);
}

/* Override the earlier border-radius-morph keyframes. Border-radius animation
   on giant fixed layers can cause visible stutter on video-heavy pages. */
@keyframes splitLeftFlow {
  0% { transform: translate3d(-1vw, 5vh, 0) rotate(-8deg) scale(1); }
  50% { transform: translate3d(4.5vw, 0, 0) rotate(-5deg) scale(1.045); }
  100% { transform: translate3d(8vw, -4vh, 0) rotate(-2deg) scale(1.09); }
}

@keyframes splitRightFlow {
  0% { transform: translate3d(1vw, -4vh, 0) rotate(6deg) scale(1.02); }
  50% { transform: translate3d(-4.5vw, 1vh, 0) rotate(3deg) scale(1.065); }
  100% { transform: translate3d(-8vw, 5vh, 0) rotate(0deg) scale(1.11); }
}

@keyframes flowingDotsSmooth {
  0% { transform: translate3d(-1.4vw, 1.2vh, 0); opacity: 0.30; }
  100% { transform: translate3d(1.5vw, -1.4vh, 0); opacity: 0.48; }
}

/* Edge food animations are kept, but their movement is less frequent and less
   intense to prevent unnecessary compositing pressure around the video. */
.edge-food {
  will-change: transform;
  backface-visibility: hidden;
}

.edge-food-burger { animation-duration: 12.8s; }
.edge-food-tray { animation-duration: 13.6s; }
.edge-food-sub { animation-duration: 14.4s; }
.edge-food-drink { animation-duration: 12.2s; }

@media (max-width: 900px) {
  .hero-slogan-wrap {
    width: min(76vw, 390px);
    margin-top: 92px;
    margin-bottom: 28px;
  }

  .hero-slogan-art {
    transform: translateZ(0) scale(0.76);
    max-height: 170px;
  }
}

@media (max-width: 540px) {
  .hero-slogan-wrap {
    width: min(82vw, 310px);
    margin-top: 70px;
    margin-bottom: 20px;
  }

  .hero-slogan-art {
    transform: translateZ(0) scale(0.7);
    max-height: 132px;
  }

  .flow-dots {
    opacity: 0.28;
  }
}


/* --------------------------------------------------------------------------
   Size + alignment refinements
   - Switches hero video to a smaller H.264 MP4 source for smoother hardware
     decoding in browsers.
   - Keeps CTA button baselines and paddings consistent across WhatsApp, cart,
     coupon, and branch actions.
   - Makes the left-edge product art visible again on phones.
   - Uses lighter glass and slower compositor-only transforms for better FPS.
-------------------------------------------------------------------------- */
.primary-button,
.secondary-button,
.mini-cta,
.header-cta,
.branch-filter button,
.category-tabs button,
.coupon-row button,
.checkout-form button,
.cart-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.primary-button,
.secondary-button {
  min-width: max-content;
}

.button-row {
  align-items: center;
}

.button-row .primary-button,
.button-row .secondary-button {
  min-height: 44px;
  padding-inline: 18px;
  line-height: 1;
}

.branch-card .button-row .primary-button,
.branch-card .button-row .secondary-button {
  flex: 0 0 auto;
}

.mini-cta {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  line-height: 1;
}

.menu-bottom {
  align-items: center;
  gap: 12px;
}

.menu-bottom > strong {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  line-height: 1;
}

.menu-bottom .qty-cluster {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.qty-cluster button {
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
  line-height: 1;
}

.qty-cluster .mini-cta {
  height: 40px;
  min-height: 40px;
  padding-inline: 16px;
}

.checkout-form .primary-button {
  width: 100%;
  min-height: 48px;
  padding-inline: 22px;
}

.coupon-row button {
  flex: 0 0 auto;
  min-height: 44px;
}

/* Compact slogan art: replaces the old hero text without a glass box. */
.hero-slogan-wrap {
  width: min(52vw, 360px);
  margin-top: clamp(92px, 12vw, 150px);
  margin-bottom: clamp(22px, 4vw, 44px);
}

.hero-slogan-art {
  max-height: 150px;
  transform: translateZ(0) scale(0.82);
}

/* Lighter glass helps scrolling/video FPS while preserving the same style. */
.deal-card,
.menu-card,
.branch-card,
.coupon-card,
.rewards-grid article,
.link-grid a,
.content-panel,
.detail-copy,
.empty-card,
.cart-lines,
.cart-checkout,
.admin-card,
.admin-form {
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.hero-banner {
  contain: layout paint;
  isolation: isolate;
  overflow: hidden;
}

.hero-video {
  transform: none;
  will-change: auto;
}

.content-band,
.page-shell,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 820px;
}

.edge-food {
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 900px) {
  .hero-slogan-wrap {
    width: min(62vw, 300px);
    margin-top: 82px;
  }

  .hero-slogan-art {
    max-height: 126px;
    transform: translateZ(0) scale(0.78);
  }

  .button-row {
    gap: 9px;
  }
}

@media (max-width: 540px) {
  .hero-slogan-wrap {
    width: min(66vw, 238px);
    margin-top: 64px;
    margin-bottom: 16px;
  }

  .hero-slogan-art {
    max-height: 100px;
    transform: translateZ(0) scale(0.74);
  }

  .edge-food-burger,
  .edge-food-sub {
    display: block;
  }

  .edge-food {
    opacity: 0.74;
    filter: drop-shadow(0 14px 14px rgba(70, 0, 8, 0.24));
  }

  .edge-food-burger {
    width: 172px;
    left: -102px;
    top: 15vh;
  }

  .edge-food-sub {
    width: 235px;
    left: -150px;
    bottom: 18vh;
  }

  .edge-food-tray {
    width: 208px;
    right: -144px;
    top: 47vh;
  }

  .edge-food-drink {
    width: 114px;
    right: -58px;
    bottom: -18px;
  }

  .primary-button,
  .secondary-button,
  .mini-cta,
  .header-cta,
  .branch-filter button,
  .category-tabs button,
  .coupon-row button,
  .checkout-form button,
  .cart-head button {
    min-height: 42px;
    padding-inline: 15px;
    font-size: 0.92rem;
  }

  .menu-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-bottom .qty-cluster {
    width: 100%;
    justify-content: space-between;
  }

  .menu-bottom .mini-cta,
  .qty-cluster .mini-cta {
    flex: 1 1 auto;
  }

  .deal-card,
  .menu-card,
  .branch-card,
  .coupon-card,
  .rewards-grid article,
  .link-grid a,
  .content-panel,
  .detail-copy,
  .empty-card,
  .cart-lines,
  .cart-checkout,
  .admin-card,
  .admin-form {
    backdrop-filter: blur(8px) saturate(1.04);
    -webkit-backdrop-filter: blur(8px) saturate(1.04);
  }
}


/* --------------------------------------------------------------------------
   UI/UX FIX PASS â€” homepage layout, single branch, admin controls, mobile
   Appended intentionally so these rules win over the older iterative blocks.
-------------------------------------------------------------------------- */

/* Poster stage is only a layout container. Cards keep their own glass shadows. */
.poster-stage {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: hidden !important;
}

.poster-stage::before,
.poster-stage::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Keep snap rows inside the viewport and make touch scrolling smoother. */
.snap-row {
  max-width: 100vw;
  will-change: scroll-position;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Bottom-align deal card price/details even when titles wrap. */
.deal-card {
  display: flex;
  flex-direction: column;
}

.deal-card .card-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.deal-card .card-copy h3 {
  min-height: 0;
}

.deal-card .price-row {
  margin-top: auto;
}

/* Bottom-align menu card price/add-to-cart clusters even when titles wrap. */
.menu-card {
  display: flex;
  flex-direction: column;
}

.menu-card .menu-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.menu-card .menu-bottom {
  margin-top: auto;
}

/* --- SLOGAN SIZE INCREASE --- */
.hero-slogan-wrap {
  width: min(72vw, 620px);
  margin-top: clamp(130px, 17vw, 210px);
  margin-bottom: clamp(32px, 5vw, 60px);
}

.hero-slogan-art {
  max-height: 260px;
  transform: translateZ(0) scale(1);
}

@media (max-width: 900px) {
  .hero-slogan-wrap {
    width: min(80vw, 420px);
    margin-top: 100px;
  }

  .hero-slogan-art {
    max-height: 190px;
    transform: translateZ(0) scale(1);
  }
}

@media (max-width: 540px) {
  .hero-slogan-wrap {
    width: min(86vw, 320px);
    margin-top: 72px;
    margin-bottom: 20px;
  }

  .hero-slogan-art {
    max-height: 148px;
    transform: translateZ(0) scale(1);
  }
}

/* --- BRANCH CTA BLOCK STYLING --- */
.branch-cta-block {
  margin-top: 48px;
  text-align: center;
}

.branch-cta-block h2 {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,220,30,0.15));
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  padding: 18px 40px;
  color: var(--pc-cream);
  font-size: clamp(22px, 3.2vw, 38px);
  text-shadow: 0 3px 18px rgba(60,0,8,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(60,0,10,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* Single-branch: never show an empty filter row. */
.branch-filter:empty {
  display: none;
}

/* Single-item rewards grid. */
.rewards-grid {
  grid-template-columns: minmax(280px, 640px);
  justify-content: center;
}

/* --- ADMIN ICON BUTTONS --- */
.icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
  vertical-align: middle;
  line-height: 1;
}

.icon-btn + .icon-btn {
  margin-left: 6px;
}

.icon-btn.icon-btn--edit {
  background: rgba(255, 210, 26, 0.85) !important;
  color: var(--pc-red-deep) !important;
}

.icon-btn.icon-btn--edit:hover {
  background: rgba(255, 210, 26, 1) !important;
  transform: translateY(-1px);
}

.icon-btn.icon-btn--delete {
  background: rgba(217, 0, 19, 0.78) !important;
  color: #fff !important;
}

.icon-btn.icon-btn--delete:hover {
  background: rgba(217, 0, 19, 1) !important;
  transform: translateY(-1px);
}

.icon-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* --- ADMIN EDIT MODAL --- */
.edit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(30, 0, 4, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.edit-modal {
  position: relative;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.075));
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 32px 80px rgba(60,0,10,0.38);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--pc-cream);
}

.edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.edit-modal-head h2 {
  margin: 0;
  color: var(--pc-cream);
  text-transform: capitalize;
}

.edit-modal .admin-form,
.edit-modal-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

.edit-modal .admin-form::before,
.edit-modal-form::before {
  content: none !important;
  display: none !important;
}

.edit-modal-form label {
  display: grid;
  gap: 8px;
}

.edit-modal-msg {
  min-height: 28px;
  margin-top: 8px;
}

/* --- MOBILE OVERFLOW / SWIPE FIX --- */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overscroll-behavior-y: none;
}

#app {
  overflow-x: clip;
}

.animated-site-bg {
  overflow: hidden;
}

.site-header {
  transform: translateZ(0);
}

/* Keep the left-edge food art visible enough on phones without causing drag drift. */
@media (max-width: 540px) {
  .edge-food-burger,
  .edge-food-sub {
    display: block !important;
  }

  .edge-food-burger {
    width: clamp(178px, 48vw, 215px);
    left: clamp(-116px, -29vw, -84px);
    top: 14vh;
  }

  .edge-food-sub {
    width: clamp(238px, 62vw, 292px);
    left: clamp(-164px, -40vw, -118px);
    bottom: 16vh;
  }

  .edge-food-tray {
    width: clamp(205px, 56vw, 260px);
    right: clamp(-154px, -38vw, -112px);
    top: 47vh;
  }

  .edge-food-drink {
    width: clamp(112px, 30vw, 136px);
    right: clamp(-66px, -16vw, -46px);
    bottom: -18px;
  }
}

/* Prevent expensive glass repaints from causing mobile scroll glitches. */
@media (max-width: 760px) {
  .deal-card,
  .menu-card,
  .branch-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .snap-row {
    padding-inline: 20px;
  }

  .branch-cta-block h2 {
    padding: 14px 22px;
    border-radius: 28px;
  }

  body[data-route="menu"] .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: initial;
    width: min(100%, calc(100vw - 24px));
    margin-inline: auto;
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: 0 !important;
    scroll-padding-inline: 0 !important;
  }

  body[data-route="home"] .featured-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(224px, 78vw);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body[data-route="menu"] .menu-card {
    min-height: 0;
    padding: 10px;
    border-radius: 18px;
  }

  body[data-route="menu"] .menu-card h3 {
    font-size: clamp(16px, 4.3vw, 20px);
    line-height: 1.05;
  }

  body[data-route="menu"] .menu-description {
    min-height: 2.6em;
    max-height: 3.9em;
    font-size: 13px;
    line-height: 1.3;
  }

  body[data-route="menu"] .chip-row {
    min-height: 0;
    gap: 4px;
  }

  body[data-route="menu"] .chip-row span {
    padding: 3px 6px;
    font-size: 10px;
  }

  body[data-route="menu"] .menu-options label {
    font-size: 12px;
  }

  body[data-route="menu"] .menu-bottom {
    display: grid;
    align-items: stretch;
    gap: 8px;
  }

  body[data-route="menu"] .menu-bottom .qty-cluster {
    justify-content: stretch;
  }

  body[data-route="menu"] .menu-bottom .mini-cta {
    width: 100%;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE POLISH PASS 2 â€” scroll, mobile art anchoring, promo cart CTAs
   Appended so it wins over earlier iterative rules without touching desktop art.
-------------------------------------------------------------------------- */

/* Promotion cards now have a real action row so Add to Cart and Details cannot overlap. */
.deal-card .deal-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.deal-card .deal-actions .mini-cta,
.deal-card .deal-actions .detail-cta {
  position: static !important;
  inset: auto !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.deal-card .deal-actions .mini-cta {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
}

.deal-card .deal-actions .detail-cta {
  flex: 0 0 auto;
  padding: 0 14px;
  color: var(--pc-red-deep);
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration-thickness: 2px;
}

/* Desktop/laptop: keep the document itself as the vertical scroll owner. */
@media (min-width: 761px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  #app {
    overflow: visible;
  }

  .content-band,
  .page-shell,
  .site-footer {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }

  .snap-row,
  .promo-grid,
  .admin-panel,
  .admin-card,
  .table-wrap {
    overscroll-behavior-y: auto;
  }
}

/* Mobile/tablet: anchor decorative food art to the page, not the changing browser viewport. */
@media (max-width: 760px) {
  body {
    position: relative;
  }

  .animated-site-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }

  .flow-orb,
  .flow-ribbon,
  .flow-dots {
    position: fixed;
    pointer-events: none;
  }

  .edge-food {
    position: absolute;
    max-width: none;
    opacity: 0.92;
    pointer-events: none;
    will-change: transform;
  }

  .edge-food-burger {
    width: clamp(260px, 78vw, 360px) !important;
    left: clamp(-166px, -39vw, -118px) !important;
    top: 260px !important;
  }

  .edge-food-tray {
    width: clamp(300px, 86vw, 410px) !important;
    right: clamp(-224px, -54vw, -162px) !important;
    top: 650px !important;
  }

  .edge-food-sub {
    display: block !important;
    width: clamp(340px, 98vw, 470px) !important;
    left: clamp(-232px, -54vw, -158px) !important;
    top: 940px !important;
    bottom: auto !important;
  }

  .edge-food-drink {
    width: clamp(148px, 42vw, 198px) !important;
    right: clamp(-76px, -18vw, -48px) !important;
    top: 1120px !important;
    bottom: auto !important;
  }

  .food-bucket {
    width: clamp(300px, 84vw, 430px) !important;
    right: clamp(-198px, -48vw, -128px) !important;
    top: 855px !important;
    z-index: 3;
  }

  .poster-stage {
    min-height: 1540px;
  }

  .deal-card .deal-actions {
    gap: 8px;
  }

  .deal-card .deal-actions .mini-cta,
  .deal-card .deal-actions .detail-cta {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .deal-card .deal-actions .detail-cta {
    padding-inline: 12px;
  }
}

/* Phone hero: larger slogan artwork, with enough spacing before the menu cards. */
@media (max-width: 540px) {
  .hero-slogan-wrap {
    width: min(96vw, 470px) !important;
    margin-top: clamp(76px, 17vw, 108px) !important;
    margin-bottom: clamp(52px, 13vw, 82px) !important;
  }

  .hero-slogan-art {
    display: block;
    width: 100%;
    max-height: none !important;
    transform: translateZ(0) scale(1) !important;
  }

  .poster-stage {
    min-height: 1610px;
  }

  .featured-row {
    margin-top: 0;
  }
}

/* Mobile top bar: stable cart pill + stable hamburger, no overlap or fixed-position drift. */
@media (max-width: 760px) {
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    width: calc(100vw - 24px);
    min-height: 64px;
    margin: 10px auto 0;
    padding: 8px 10px;
    border-radius: 30px;
  }

  .brand-lockup {
    min-width: 0;
    max-width: calc(100vw - 196px);
  }

  .brand-lockup .brand-mark {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .brand-lockup span:last-child {
    font-size: clamp(14px, 4.4vw, 18px);
  }

  .header-cta.cart-link {
    display: inline-flex !important;
    position: static !important;
    justify-self: end;
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    max-width: 114px;
    min-height: 44px;
    height: 44px;
    padding: 0 13px;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: clip;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
    min-width: 0;
  }

  .header-branch-select span {
    display: none;
  }

  .header-branch-select select {
    max-width: 104px;
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex !important;
    position: static !important;
    flex: 0 0 50px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .menu-button span {
    flex: 0 0 auto;
    width: 20px;
  }

  .nav-open .main-nav {
    top: calc(100% + 10px);
    z-index: 45;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 6px;
    padding-inline: 8px;
  }

  .brand-lockup {
    gap: 8px;
    max-width: calc(100vw - 184px);
  }

  .header-cta.cart-link {
    min-width: 82px;
    max-width: 96px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .menu-button {
    flex-basis: 48px;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
  }
}

/* Mobile admin action column: larger tap targets, compact vertical stack. */
.admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 760px) {
  .admin-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 46px;
  }

  .admin-actions .icon-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin-left: 0 !important;
    border-radius: 12px !important;
  }

  .admin-actions .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .table-wrap td:last-child,
  .table-wrap th:last-child {
    width: 58px;
    min-width: 58px;
    text-align: center;
  }
}

/* Smoocho inherited deployment/admin/loyalty pass: final hero visual correction. */
.hero-slogan-art {
  transform: translateZ(0) scale(0.95) !important;
}

.edge-food-drink {
  bottom: -11vh;
}

@media (max-width: 760px) {
  .edge-food-drink {
    top: 1160px !important;
    bottom: auto !important;
  }
}

/* Frontend follow/scroll polish pass: fixed nav, no deal/slogan shadows, larger slogan. */
#app {
  padding-top: 88px;
}

.site-header {
  position: fixed !important;
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  transform: translateX(-50%) translateZ(0) !important;
  z-index: 1000 !important;
}

.snap-row {
  overscroll-behavior-y: auto !important;
}

.deal-card,
.deal-card:hover {
  box-shadow: none !important;
}

.hero-slogan-wrap,
.hero-slogan-art {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.hero-slogan-wrap::before,
.hero-slogan-wrap::after,
.hero-slogan-art::before,
.hero-slogan-art::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.hero-slogan-art {
  transform: translateZ(0) scale(1.5) !important;
}

@media (max-width: 760px) {
  #app {
    padding-top: 84px;
  }

  .site-header {
    top: 10px !important;
    width: calc(100vw - 24px);
  }

  .nav-open .main-nav {
    top: calc(100% + 10px) !important;
  }

  .deal-row,
  .featured-row {
    padding-inline: max(32px, 8vw) !important;
    scroll-padding-inline: max(32px, 8vw) !important;
  }

  .deal-card,
  .menu-card {
    outline: 1px solid rgba(255, 255, 255, 0.34);
    outline-offset: -1px;
  }

  .edge-food-drink {
    top: 1285px !important;
    bottom: auto !important;
  }

  .hero-slogan-art {
    transform: translateZ(0) scale(1.15) !important;
  }
}

/* Production polish pass: stable mobile media, cleaner homepage carousel edges. */
body {
  min-height: 100svh;
}

.poster-stage .deal-card,
.poster-stage .menu-card,
.poster-stage .deal-card:hover,
.poster-stage .menu-card:hover {
  box-shadow: none !important;
}

.branch-cta-block h2 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 760px) {
  html,
  body {
    min-height: 100svh;
  }

  .animated-site-bg {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    min-height: 100lvh !important;
    height: 100lvh !important;
    overflow: hidden;
  }

  .flow-orb,
  .flow-ribbon,
  .flow-dots {
    position: fixed !important;
    min-height: 100lvh;
    height: 100lvh;
  }

  .animated-site-bg .edge-food {
    position: fixed !important;
  }

  body[data-route="home"] .animated-site-bg {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100%;
    min-height: max(100%, 2450px) !important;
    height: auto !important;
    overflow: visible;
  }

  body[data-route="home"]::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: max(100%, 2450px);
    height: auto;
  }

  body[data-route="home"] .flow-orb,
  body[data-route="home"] .flow-ribbon,
  body[data-route="home"] .flow-dots {
    position: absolute !important;
    min-height: max(100%, 2450px) !important;
    height: auto !important;
  }

  body[data-route="home"] .flow-ribbon {
    top: -28vh !important;
    right: -18vw !important;
    bottom: -28vh !important;
    left: -18vw !important;
  }

  body[data-route="home"] .flow-dots {
    inset: 0 !important;
  }

  body[data-route="home"] .animated-site-bg .edge-food {
    position: absolute !important;
  }

  .content-band,
  .page-shell,
  .site-footer {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }

  .poster-stage {
    overflow: visible !important;
    width: 100%;
    min-height: 1860px !important;
    padding-bottom: clamp(150px, 36vw, 240px);
  }

  .hero-banner {
    width: min(92vw, 620px) !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .deal-row,
  .featured-row {
    max-width: 100%;
    padding-left: max(36px, 9vw) !important;
    padding-right: max(36px, 9vw) !important;
    scroll-padding-left: max(36px, 9vw) !important;
    scroll-padding-right: max(36px, 9vw) !important;
    overflow-y: visible;
    clip-path: inset(-10px -20vw -28px -20vw);
  }

  .branch-cta-block {
    padding-bottom: clamp(110px, 32vw, 190px);
  }

  .site-header {
    overflow: visible !important;
    isolation: isolate;
  }

  .nav-open .main-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1002 !important;
    display: grid !important;
    pointer-events: auto !important;
    box-shadow: 0 18px 44px rgba(50, 0, 8, 0.28);
  }

  .nav-open .main-nav a {
    pointer-events: auto !important;
    min-height: 46px;
  }
}


/* Click reliability hardening
   -------------------------------------------------------------------------
   Route links are handled by the SPA router, while many buttons are rendered
   dynamically from menu/admin/CMS data. Keep action controls and external CTAs
   in a higher hit layer than decorative cards and adjacent route links so taps
   cannot be stolen by an overlapping [data-route] element. */
:where(button, a, input, select, textarea, summary, [role="button"]) {
  touch-action: manipulation;
}

:where(.deal-actions, .menu-bottom, .qty-cluster, .button-row, .branch-filter, .category-tabs, .admin-actions, .admin-filter-row, .coupon-row, .cart-head, .admin-nav, .table-wrap) {
  position: relative;
  z-index: 12;
  isolation: isolate;
}

:where([data-route], [data-analytics]) {
  position: relative;
  z-index: 8;
}

:where([data-add-cart], [data-cart-inc], [data-cart-dec], [data-clear-cart], [data-reward-attach], [data-mobile-toggle], [data-branch-filter], [data-category], [data-admin-logout], [data-copy], [data-edit-kind], [data-delete-kind], [data-intent-confirm], [data-intent-reject], [data-intent-queue], [data-customer-search-clear], [data-correction-approve], [data-correction-reject], [data-admin-branch-copy-apply], a[target="_blank"]) {
  position: relative;
  z-index: 24;
  pointer-events: auto;
  touch-action: manipulation;
}

.detail-cta {
  z-index: 8;
}

/* Deployed admin/mobile performance pass: phone-only hero compaction. */
@media (max-width: 760px) {
  body[data-route="home"] .poster-stage {
    min-height: clamp(1260px, 338vw, 1460px) !important;
    padding-top: clamp(54px, 14vw, 70px) !important;
    padding-bottom: clamp(72px, 18vw, 118px) !important;
  }

  body[data-route="home"] .deals-pill {
    margin-top: clamp(48px, 13vw, 70px) !important;
    margin-bottom: clamp(28px, 8vw, 42px) !important;
  }

  body[data-route="home"] .hero-slogan-wrap {
    margin-top: clamp(42px, 11vw, 58px) !important;
    margin-bottom: clamp(12px, 4vw, 20px) !important;
  }

  body[data-route="home"] .branch-cta-block {
    margin-top: clamp(28px, 8vw, 44px) !important;
    padding-bottom: clamp(56px, 16vw, 92px) !important;
  }
}

@media (max-width: 540px) {
  body[data-route="home"] .poster-stage {
    min-height: clamp(1120px, 330vw, 1320px) !important;
  }
}

/* Phone branch-section gap trim: keeps the existing poster layout but brings useful content higher. */
@media (max-width: 760px) {
  body[data-route="home"] .poster-stage {
    min-height: clamp(1040px, 292vw, 1210px) !important;
    padding-bottom: clamp(34px, 10vw, 58px) !important;
  }

  body[data-route="home"] .branch-cta-block {
    margin-top: clamp(18px, 5vw, 30px) !important;
    padding-bottom: clamp(20px, 6vw, 40px) !important;
  }
}

@media (max-width: 540px) {
  body[data-route="home"] .poster-stage {
    min-height: clamp(980px, 290vw, 1120px) !important;
  }
}

/* Header logo and branch picker polish: narrow overrides, no layout redesign. */
.brand-mark {
  overflow: hidden;
  width: 58px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: rgba(255, 248, 230, 0.96) !important;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 16px rgba(70, 0, 8, 0.18);
}

.brand-mark img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.brand-name {
  min-width: 0;
}

.header-branch-select {
  align-items: start;
}

.header-branch-select select {
  background: var(--pc-yellow) !important;
  color: var(--pc-red) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 10px 20px rgba(65, 0, 0, 0.18);
  outline: none;
}

.header-branch-select select:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 248, 230, 0.72), 0 10px 20px rgba(65, 0, 0, 0.18);
}

@media (max-width: 760px) {
  .brand-lockup {
    max-width: none !important;
    flex: 0 0 auto;
  }

  .brand-lockup .brand-mark {
    flex-basis: 58px;
    width: 58px !important;
    height: 40px !important;
  }

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

  .header-branch-select select {
    max-width: 118px;
    min-height: 42px;
    padding-inline: 12px 26px;
  }
}

/* Menu options + homepage carousel behavior: targeted functional pass. */
.deal-image {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  margin-top: 12px;
  border-radius: 18px;
  overflow: hidden;
}

.menu-options {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.menu-options label {
  display: grid;
  gap: 5px;
  color: var(--pc-muted-red);
  font-size: 0.86rem;
  font-weight: 900;
}

.menu-options select {
  min-height: 38px;
  width: 100%;
  border: 2px solid rgba(217, 0, 19, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--pc-red-deep);
  font: inherit;
  font-size: 0.9rem;
  padding: 0 10px;
}

.menu-options .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-actions .qty-cluster {
  flex: 1 1 auto;
  min-width: 0;
}

.edge-arrow {
  border: 0;
  cursor: pointer;
}

@media (min-width: 761px) {
  body[data-route="home"] .featured-row {
    grid-auto-columns: minmax(270px, calc((100% - 160px) / 3)) !important;
  }
}

/* Fixes 3: CMS media controls, category item filtering, and Deals sizing. */
.admin-filter-label {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  font-weight: 900;
  color: var(--pc-red);
}

.admin-card h2 + .admin-filter-label {
  margin-top: 8px;
}

.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.admin-filter-row .secondary-button {
  min-height: 38px;
  padding: 8px 12px;
}

.admin-filter-row .secondary-button.is-active {
  background: var(--pc-yellow);
  color: var(--pc-red-deep);
  border-color: rgba(169, 0, 13, 0.22);
  box-shadow: 0 8px 18px rgba(169, 0, 13, 0.12);
}

.admin-order-grid {
  align-items: start;
}

.admin-order-panel {
  display: grid;
  gap: 14px;
}

.admin-order-search input,
.admin-customer-search input {
  flex: 1 1 260px;
  min-height: 40px;
  border: 2px solid rgba(169, 0, 13, 0.18);
  border-radius: 12px;
  padding: 9px 12px;
}

.admin-order-list {
  display: grid;
  gap: 12px;
}

.admin-order-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(169, 0, 13, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(80, 0, 8, 0.08);
}

.admin-order-card.is-approval {
  border-color: rgba(169, 0, 13, 0.34);
  background: rgba(255, 248, 230, 0.9);
}

.admin-order-main,
.admin-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-order-phone {
  margin: 0;
  color: var(--pc-red-deep);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1.1;
}

.admin-order-sub {
  margin: 4px 0 0;
  color: rgba(169, 0, 13, 0.72);
  font-size: 0.9rem;
  font-weight: 850;
}

.admin-order-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 26, 0.88);
  color: var(--pc-red-deep);
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.admin-order-chip.is-approval,
.admin-order-chip.is-rejected {
  background: rgba(169, 0, 13, 0.12);
  color: var(--pc-red);
}

.admin-order-chip.is-confirmed,
.admin-order-chip.is-ready {
  background: rgba(34, 139, 75, 0.14);
  color: #1f6f3f;
}

.admin-order-chip.is-changed {
  background: rgba(255, 210, 26, 0.45);
}

.admin-order-meta,
.admin-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.admin-order-meta div,
.admin-order-detail-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-order-meta span,
.admin-order-detail-grid span {
  color: rgba(169, 0, 13, 0.64);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-order-meta strong,
.admin-order-detail-grid strong {
  color: var(--pc-red-deep);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.admin-order-details {
  border-top: 1px solid rgba(169, 0, 13, 0.12);
  padding-top: 8px;
}

.admin-order-details summary {
  color: var(--pc-red);
  cursor: pointer;
  font-weight: 950;
}

.admin-order-details ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.admin-order-details li span,
.admin-order-details li em {
  display: block;
  color: rgba(169, 0, 13, 0.72);
  font-style: normal;
  font-weight: 750;
}

.admin-order-action {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.admin-order-action--danger {
  color: var(--pc-red);
}

.admin-order-warning,
.admin-order-empty {
  border: 1px dashed rgba(169, 0, 13, 0.26);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(169, 0, 13, 0.06);
  color: var(--pc-red);
  font-weight: 900;
}

.admin-order-empty h3 {
  margin: 0 0 4px;
}

.admin-order-empty p {
  margin: 0;
}

@media (max-width: 760px) {
  .admin-order-card {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-order-actions,
  .admin-order-actions .admin-order-action {
    width: 100%;
  }

  .admin-order-action {
    justify-content: center;
  }
}

.table-wrap td:first-child {
  min-width: 150px;
  max-width: 230px;
  overflow-wrap: normal;
  word-break: normal;
}

.icon-btn.icon-btn--copy,
.icon-btn.icon-btn--preview {
  background: rgba(255, 210, 26, 0.85) !important;
  color: var(--pc-red-deep) !important;
}

.icon-btn.icon-btn--copy:hover,
.icon-btn.icon-btn--preview:hover {
  background: rgba(255, 210, 26, 1) !important;
  transform: translateY(-1px);
}

.admin-media-grid {
  align-items: start;
}

.admin-media-list {
  display: grid;
  gap: 10px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 10px;
}

.media-conversion-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(169, 0, 13, 0.16);
}

.media-conversion-panel h3 {
  margin: 0;
  color: var(--pc-red-deep);
  font-size: 1rem;
}

.admin-media-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(169, 0, 13, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.admin-media-row img {
  width: 74px;
  height: 56px;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: rgba(169, 0, 13, 0.08);
}

.admin-media-row strong {
  display: block;
  color: var(--pc-red-deep);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-media-row span {
  display: block;
  margin-top: 4px;
  color: var(--pc-muted-red);
  font-size: 0.85rem;
  font-weight: 800;
}

.admin-media-row .media-status-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 210, 26, 0.24);
  color: var(--pc-red-deep);
  border: 1px solid rgba(169, 0, 13, 0.18);
}

.admin-media-row .media-status-badge--conversion-failed {
  background: rgba(169, 0, 13, 0.12);
}

.admin-media-preview {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(169, 0, 13, 0.16);
}

.admin-media-preview h3,
.admin-media-preview p {
  margin: 0;
  color: var(--pc-red);
}

.admin-media-preview img {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(169, 0, 13, 0.12);
}

.admin-option-builder {
  gap: 14px;
}

.admin-option-panel {
  padding: 12px 0 12px 14px;
}

.admin-option-panel + .checkbox-row {
  margin-top: 2px;
}

@media (min-width: 761px) {
  body[data-route="home"] .deal-row {
    grid-auto-columns: minmax(280px, calc((100% - 112px) / 2)) !important;
  }
}

@media (max-width: 760px) {
  .admin-hours-row,
  .admin-break-panel {
    grid-template-columns: 1fr;
  }

  .admin-media-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-media-row img {
    width: 64px;
    height: 48px;
  }

  .admin-media-row .admin-actions {
    grid-column: 2;
  }
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px;
  border: 2px solid rgba(217, 0, 19, 0.22);
  border-radius: 16px;
  background: rgba(255, 251, 236, 0.97);
  box-shadow: 0 18px 42px rgba(87, 0, 6, 0.18);
  color: var(--pc-red-deep);
  backdrop-filter: blur(10px);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.36;
  max-width: 640px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-actions button {
  min-height: 40px;
  padding-inline: 18px;
}

.cookie-actions [data-cookie-reject] {
  border-color: rgba(169, 0, 13, 0.58);
  background: rgba(255, 239, 231, 0.98);
  color: var(--pc-red-deep);
  box-shadow: inset 0 0 0 1px rgba(169, 0, 13, 0.08);
}

.cookie-actions [data-cookie-reject]:hover {
  background: rgba(255, 226, 213, 1);
  border-color: rgba(169, 0, 13, 0.76);
}

.cookie-actions a {
  color: var(--pc-red);
  font-weight: 900;
  text-decoration: underline;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-copy section {
  display: grid;
  gap: 10px;
}

.legal-copy h2,
.legal-copy p {
  margin: 0;
}

.legal-copy ul {
  margin: 0;
  padding-left: 20px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-meta {
  color: var(--pc-muted-red);
  font-weight: 800;
}

.cookie-preferences {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 0, 13, 0.14);
}

@media (max-width: 760px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    right: 10px;
    bottom: 8px;
    left: 10px;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .cookie-banner p {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.24;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 6px;
  }

  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
    min-height: 36px;
  }

  .cookie-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    font-size: 0.82rem;
  }
}

/* Initial loading shell: reserves the premium first viewport until SPA render. */
body.is-booting #app {
  min-height: 100vh;
  min-height: 100svh;
}

.boot-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}

.boot-header {
  pointer-events: none;
}

.boot-nav-skeleton,
.boot-header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.boot-nav-skeleton span,
.boot-header-actions span,
.boot-media-block,
.boot-copy-block span,
.boot-copy-block strong,
.boot-card-row span {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 248, 230, 0.28), rgba(255, 210, 26, 0.48), rgba(255, 248, 230, 0.26));
  background-size: 220% 100%;
  animation: bootSheen 1.35s ease-in-out infinite;
}

.boot-nav-skeleton span {
  width: clamp(46px, 7vw, 76px);
  height: 13px;
  border-radius: 999px;
}

.boot-header-actions span {
  width: clamp(72px, 10vw, 118px);
  height: 38px;
  border-radius: 999px;
  background-color: rgba(255, 192, 0, 0.78);
}

.boot-main {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  width: min(1180px, calc(100vw - 32px));
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 44px) 0 clamp(30px, 6vw, 72px);
  opacity: 0.82;
  filter: blur(1.8px);
  transform: translateZ(0);
}

.boot-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: clamp(360px, 58svh, 650px);
  border-radius: 8px;
}

.boot-media-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(260px, 44svh, 520px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 26, 0.4), rgba(217, 0, 19, 0.24)),
    rgba(255, 255, 255, 0.14);
}

.boot-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  pointer-events: none;
}

.boot-copy-block {
  display: grid;
  gap: 14px;
}

.boot-copy-block span,
.boot-copy-block strong {
  display: block;
  border-radius: 999px;
}

.boot-copy-block span:first-child {
  width: min(220px, 48vw);
  height: 18px;
}

.boot-copy-block strong {
  width: min(440px, 72vw);
  height: clamp(44px, 7vw, 76px);
}

.boot-copy-block span:last-child {
  width: min(330px, 62vw);
  height: 22px;
}

.boot-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.boot-card-row span {
  min-height: clamp(150px, 22vw, 230px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-banner {
  transform: translateZ(0);
}

@keyframes bootSheen {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@media (max-width: 760px) {
  .boot-nav-skeleton {
    display: none;
  }

  .boot-header-actions {
    gap: 7px;
  }

  .boot-header-actions span {
    width: clamp(66px, 21vw, 92px);
    height: 34px;
  }

  .boot-main {
    width: calc(100vw - 24px);
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
    padding-top: 12px;
    filter: blur(1.2px);
  }

  .boot-hero-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: clamp(340px, 64svh, 560px);
  }

  .boot-media-block {
    min-height: clamp(230px, 45svh, 420px);
  }

  .boot-card-row {
    grid-template-columns: repeat(3, minmax(185px, 1fr));
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-nav-skeleton span,
  .boot-header-actions span,
  .boot-media-block,
  .boot-copy-block span,
  .boot-copy-block strong,
  .boot-card-row span {
    animation: none;
  }

  .boot-main {
    filter: none;
    opacity: 0.9;
  }
}

/* CLS and image stability pass: reserve card/media space before assets paint. */
img,
video {
  max-width: 100%;
}

.hero-banner {
  aspect-ratio: 16 / 9;
}

.menu-image,
.deal-image,
.admin-media-row img,
.admin-media-preview img {
  background:
    linear-gradient(110deg, rgba(255, 248, 230, 0.32), rgba(255, 210, 26, 0.48), rgba(255, 248, 230, 0.26)),
    rgba(217, 0, 19, 0.08);
  background-size: 220% 100%;
}

.menu-image,
.deal-card .image-placeholder,
.deal-image {
  aspect-ratio: 4 / 3;
}

.deal-image {
  width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.menu-image img {
  display: block;
}

.deal-card,
.menu-card,
.branch-card,
.coupon-card,
.rewards-grid article,
.link-grid a,
.admin-media-row,
.admin-media-preview {
  contain: layout paint;
}

.float-food,
.hero-slogan-art,
.edge-food,
.brand-mark img {
  height: auto;
}

.float-food,
.edge-food {
  max-width: min(100%, 100vw);
}

@supports (content-visibility: auto) {
  @media (min-width: 761px) {
    .deal-grid,
    .menu-grid,
    .branch-grid,
    .rewards-grid,
    .link-grid {
      content-visibility: auto;
      contain-intrinsic-size: auto 620px;
    }
  }
}

/* Task 6: touch-friendly one-row menu category scroller. */
.category-tabs-wrap {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto 22px;
  --category-scroll-progress: 0;
  --category-scroll-thumb: clamp(92px, 34%, 190px);
}

.category-tabs-wrap::before,
.category-tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.category-tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(114, 9, 16, 0.92), rgba(114, 9, 16, 0));
}

.category-tabs-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(114, 9, 16, 0.92), rgba(114, 9, 16, 0));
}

.category-tabs-wrap[data-scrollable="true"][data-scroll-start="false"]::before,
.category-tabs-wrap[data-scrollable="true"][data-scroll-end="false"]::after {
  opacity: 1;
}

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  margin: 0;
  padding: 2px 2px 10px;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  flex: 0 0 auto;
  max-width: none;
  white-space: nowrap;
  scroll-snap-align: start;
}

.category-scroll-hint {
  height: 5px;
  margin: 2px 10px 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 26, 0.24);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(114, 9, 16, 0.16);
}

.category-scroll-hint span {
  display: block;
  width: var(--category-scroll-thumb);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pc-yellow-bright), var(--pc-yellow), var(--pc-red));
  box-shadow: 0 0 14px rgba(255, 210, 26, 0.42);
  margin-left: calc((100% - var(--category-scroll-thumb)) * var(--category-scroll-progress, 0));
  transition: margin-left 120ms ease, width 160ms ease;
}

.category-tabs-wrap[data-scrollable="false"] .category-scroll-hint {
  opacity: 0.5;
}

.category-tabs-wrap[data-scrollable="false"] .category-scroll-hint span {
  width: 100%;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.category-tabs button:focus-visible {
  outline: 3px solid rgba(255, 210, 26, 0.92);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(217, 0, 19, 0.28);
}

@media (max-width: 760px) {
  .category-tabs-wrap {
    margin-bottom: 18px;
    --category-scroll-thumb: clamp(78px, 42%, 150px);
  }

  .category-tabs {
    width: 100%;
    padding-bottom: 8px;
  }

  .category-tabs button {
    min-height: 42px;
  }
}

/* Task 7: first-paint and mobile compositing guardrails. */
@media (max-width: 760px) {
  .site-header {
    backdrop-filter: blur(10px) saturate(1.08);
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
  }

  .flow-orb,
  .flow-ribbon,
  .flow-dots,
  .edge-food {
    will-change: auto;
  }
}

/* Responsive render polish: compact header earlier, native category scrolling, stable desktop paint. */
.content-band,
.page-shell,
.site-footer {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.menu-bottom > strong {
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0;
  color: var(--pc-cream);
}

.category-tabs-wrap::before,
.category-tabs-wrap::after {
  content: none !important;
  display: none !important;
}

.category-tabs {
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 210, 26, 0.88) rgba(255, 255, 255, 0.2);
  scroll-behavior: auto;
}

.category-tabs::-webkit-scrollbar {
  display: block;
  height: 9px;
}

.category-tabs::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 230, 0.18);
}

.category-tabs::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 248, 230, 0.18);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pc-yellow-bright), var(--pc-yellow));
}

.category-tabs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--pc-yellow), var(--pc-yellow-bright));
}

.category-scroll-hint {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(6px, 1.4vw, 10px);
    width: calc(100vw - 24px);
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 30px;
  }

  .brand-lockup {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: min(188px, 28vw);
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-self: end;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
  }

  .header-branch-select span {
    display: none;
  }

  .header-branch-select select {
    width: clamp(108px, 22vw, 148px);
    max-width: 148px;
    min-height: 42px;
    padding-inline: 12px 28px;
    font-size: clamp(0.76rem, 1.6vw, 0.86rem);
  }

  .header-cta.cart-link {
    display: inline-flex !important;
    position: static !important;
    flex: 0 0 auto;
    min-width: 90px;
    max-width: 122px;
    min-height: 44px;
    height: 44px;
    padding-inline: 12px;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    white-space: nowrap;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex !important;
    position: static !important;
    flex: 0 0 50px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .menu-button span {
    flex: 0 0 auto;
    width: 20px;
  }

  .nav-open .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px) !important;
    z-index: 45;
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(150, 0, 12, 0.96);
    border-radius: 8px;
  }

  .category-tabs {
    scrollbar-width: auto;
  }
}

@media (max-width: 820px) {
  .brand-lockup {
    max-width: none !important;
    flex: 0 0 auto;
  }

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

@media (max-width: 430px) {
  .header-branch-select select {
    width: clamp(96px, 29vw, 112px);
    max-width: 112px;
    padding-inline: 10px 24px;
  }

  .header-cta.cart-link {
    min-width: 82px;
    max-width: 96px;
    padding-inline: 10px;
  }

  .menu-button {
    flex-basis: 48px;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-orb,
  .flow-ribbon,
  .flow-dots,
  .edge-food,
  .hero-video {
    will-change: auto;
  }
}

/* Refinement Task A: consistent public branch cards. */
.branch-grid {
  align-items: stretch;
}

.branch-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.branch-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 209, 26, 0.34), rgba(217, 0, 19, 0.18)),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.branch-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.branch-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  max-height: 210px;
  overflow: auto;
  padding-right: 2px;
}

.branch-card-body p {
  margin: 0;
}

.branch-card .button-row {
  margin-top: auto;
  padding-top: 6px;
}

.branch-media-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 8px;
  margin-top: -4px;
}

.branch-media-option {
  appearance: none;
  border: 1px solid rgba(122, 20, 18, 0.16);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.82);
  color: var(--deep-red);
  cursor: pointer;
  display: grid;
  gap: 5px;
  padding: 6px;
  text-align: center;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.branch-media-option img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(122, 20, 18, 0.08);
}

.branch-media-option:focus-visible {
  outline: 3px solid rgba(255, 203, 31, 0.74);
  outline-offset: 2px;
}

.branch-card .button-row .primary-button,
.branch-card .button-row .secondary-button {
  justify-content: center;
}

@media (max-width: 760px) {
  .branch-card-body {
    max-height: 180px;
  }

  .branch-card .button-row .primary-button,
  .branch-card .button-row .secondary-button {
    flex: 1 1 132px;
  }
}

/* Rewards page structure polish: keep existing card visuals, fix page flow. */
.rewards-page--auth {
  min-height: min(720px, calc(100svh - 140px));
  align-items: center;
}

.rewards-auth-panel {
  width: min(520px, 100%);
  margin: clamp(18px, 6vh, 64px) auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.rewards-page .rewards-account-panel article,
.rewards-page .rewards-auth-grid article,
.rewards-page .rewards-auth-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075)),
    radial-gradient(circle at 20% 0%, rgba(255, 216, 70, 0.16), transparent 38%);
  color: var(--pc-cream);
  border: 1px solid var(--glass-border-soft);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  contain: layout paint;
}

.rewards-page .rewards-account-panel h3,
.rewards-page .rewards-auth-grid h3,
.rewards-page .rewards-auth-card h1 {
  margin: 0;
  color: var(--pc-cream);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(80, 0, 8, 0.18);
}

.rewards-page .rewards-auth-card h1 {
  font-size: clamp(2.15rem, 7vw, 3.25rem);
}

.rewards-page .rewards-account-panel p,
.rewards-page .rewards-auth-grid p,
.rewards-page .rewards-auth-card p {
  color: rgba(255, 248, 230, 0.82);
  line-height: 1.45;
  font-family: Arial, sans-serif;
}

.rewards-auth-card {
  display: grid;
  gap: 16px;
}

.rewards-auth-form {
  display: grid;
  gap: 13px;
  margin: 4px 0 0;
}

.rewards-auth-form .primary-button,
.rewards-auth-form .secondary-button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.rewards-auth-links {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding-top: 2px;
}

.rewards-auth-links .text-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pc-yellow-bright);
  font: inherit;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 14px;
}

.rewards-auth-links .text-link:hover {
  color: var(--pc-cream);
}

.rewards-page .rewards-catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: stretch;
}

.rewards-page .rewards-account-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .rewards-page .rewards-account-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rewards-page {
    gap: 16px;
  }

  .rewards-action-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .rewards-action-shell .primary-button,
  .rewards-action-shell .secondary-button,
  .rewards-action-shell form,
  .rewards-action-shell button {
    width: 100%;
    justify-content: center;
  }

  .rewards-action-shell .primary-button {
    grid-column: 1 / -1;
  }

  .rewards-page .rewards-catalog-grid,
  .rewards-page .rewards-auth-grid {
    grid-template-columns: 1fr;
  }

  .rewards-auth-panel {
    width: 100%;
    margin-block: 10px;
  }

  .rewards-page .rewards-auth-card {
    padding: 20px;
    border-radius: 24px;
  }

  .rewards-auth-links .text-link {
    min-height: 42px;
    width: 100%;
  }
}

/* Cross-browser compatibility and practical accessibility pass.
   Keep this final so it wins over older iterative rules without redesigning. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(255, 210, 26, 0.96);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(169, 0, 13, 0.28);
}

.category-tabs {
  scrollbar-width: auto;
  scrollbar-color: var(--pc-yellow) rgba(255, 255, 255, 0.28);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

.category-tabs::-webkit-scrollbar {
  display: block;
  height: 12px;
}

.category-tabs::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.category-tabs::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 248, 230, 0.34);
  border-radius: 999px;
  background: var(--pc-yellow);
  box-shadow: none;
}

.category-tabs:focus-visible {
  outline-offset: 6px;
}

.admin-media-list,
.table-wrap,
.edit-modal,
.branch-card-body,
.menu-description {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.admin-media-list:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid rgba(255, 210, 26, 0.9);
  outline-offset: 4px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .cookie-banner,
  .edit-modal,
  .interaction-feedback-card {
    background-color: rgba(255, 248, 230, 0.98);
  }

  .site-header {
    background-color: rgba(150, 0, 12, 0.94);
  }
}

@media (hover: none) and (pointer: coarse) {
  .category-tabs {
    padding-bottom: 18px;
  }

  .category-tabs::-webkit-scrollbar {
    height: 14px;
  }

  .admin-nav a,
  .admin-nav button,
  .table-wrap button,
  .admin-form input,
  .admin-form select,
  .admin-form textarea,
  .coupon-row button,
  .cookie-actions button {
    min-height: 44px;
  }
}

@media (max-width: 760px) {
  body {
    overscroll-behavior-y: auto;
  }

  .admin-media-list {
    max-height: min(52vh, 430px);
  }

  .table-wrap {
    margin-inline: -4px;
    padding-inline: 4px;
  }

  .edit-modal-overlay {
    align-items: flex-start;
    padding: 12px;
  }

  .edit-modal {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 18px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-interaction-pending #app {
    filter: none !important;
  }

  .hero-video {
    animation: none !important;
  }
}

/* One-shot CMS/card/header polish: structural only, preserving the inherited visual system. */
.admin-media-search {
  display: grid;
  gap: 6px;
  margin: 2px 0 12px;
  color: var(--pc-red-deep);
  font-weight: 900;
}

.admin-media-search input {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(169, 0, 13, 0.16);
  border-radius: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pc-ink);
  font: inherit;
}

.admin-media-empty {
  margin-top: 10px;
}

.admin-menu-layout {
  display: grid;
  gap: 14px;
}

.admin-menu-branch-card {
  display: grid;
  gap: 10px;
}

.admin-menu-section {
  overflow: hidden;
  border: 1px solid rgba(169, 0, 13, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 248, 230, 0.18);
  box-shadow: 0 14px 34px rgba(80, 0, 8, 0.08);
}

.admin-menu-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--pc-red-deep);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 950;
  list-style: none;
}

.admin-menu-section > summary::-webkit-details-marker {
  display: none;
}

.admin-menu-section > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pc-yellow);
  color: var(--pc-red-deep);
  font-weight: 950;
}

.admin-menu-section[open] > summary::after {
  content: "-";
}

.admin-menu-section-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.admin-category-order {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-category-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(169, 0, 13, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-category-order-row strong,
.admin-category-order-row span {
  display: block;
}

.admin-category-order-row strong {
  color: var(--pc-red-deep);
  line-height: 1.2;
}

.admin-category-order-row span {
  margin-top: 3px;
  color: var(--pc-muted-red);
  font-size: 0.84rem;
  font-weight: 800;
}

.category-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.category-position-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pc-muted-red);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.category-position-field input {
  width: 62px;
  min-height: 40px;
  border: 1px solid rgba(169, 0, 13, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--pc-red-deep);
  font: inherit;
  font-size: 0.86rem;
  text-align: center;
}

.category-order-actions .admin-actions {
  display: inline-flex;
}

.category-order-actions .icon-btn {
  min-width: 40px;
  width: auto;
  padding-inline: 9px;
  font-size: 0.72rem;
  font-weight: 950;
}

.menu-card {
  display: grid;
  grid-template-rows: auto minmax(34px, auto) minmax(0, 1fr);
  align-content: stretch;
}

.menu-card > .chip-row.menu-card-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  min-height: 34px;
  max-height: 38px;
  margin: 10px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), rgba(0, 0, 0, 0.18));
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), rgba(0, 0, 0, 0.18));
}

.menu-card > .chip-row.menu-card-tags::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.menu-card > .chip-row.menu-card-tags:empty::before {
  content: "";
  display: block;
  min-width: 1px;
}

.menu-card > .chip-row.menu-card-tags span {
  flex: 0 0 auto;
}

.menu-card .menu-copy {
  display: grid;
  grid-template-rows: minmax(2.55em, 2.55em) minmax(3.9em, 3.9em) minmax(0, auto) auto auto;
  align-content: stretch;
  min-height: 0;
}

.menu-card .menu-copy h3 {
  min-height: 2.55em;
  max-height: 2.55em;
  overflow: auto;
  line-height: 0.98;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), rgba(0, 0, 0, 0.24));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), rgba(0, 0, 0, 0.24));
}

.menu-card .menu-copy h3::-webkit-scrollbar,
.menu-card .menu-description::-webkit-scrollbar,
.menu-card .menu-options::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.menu-card .menu-description {
  min-height: 3.9em;
  max-height: 3.9em;
  overflow: auto;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), rgba(0, 0, 0, 0.22));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), rgba(0, 0, 0, 0.22));
}

.menu-card .menu-options {
  min-height: 0;
  max-height: 132px;
  overflow: auto;
  align-content: start;
  margin: 8px 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), rgba(0, 0, 0, 0.24));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), rgba(0, 0, 0, 0.24));
}

.menu-card .menu-meal-option {
  min-height: 32px;
  display: grid;
  align-content: end;
  margin: 0 0 8px;
}

.menu-card .menu-meal-option .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pc-muted-red);
  font-size: 0.86rem;
  font-weight: 900;
}

.menu-card .menu-bottom,
.deal-card .deal-actions {
  margin-top: auto;
}

.deal-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  align-content: stretch;
}

.deal-card .card-copy {
  display: grid;
  grid-template-rows: minmax(2.5em, 2.5em) minmax(3.55em, 3.55em) auto minmax(2.2em, auto);
  gap: 8px;
  min-height: 0;
}

.deal-card .card-copy h3 {
  min-height: 2.5em;
  max-height: 2.5em;
  overflow: auto;
  line-height: 1;
  scrollbar-width: thin;
}

.deal-card .card-copy > p:not(.availability) {
  min-height: 3.55em;
  max-height: 3.55em;
  overflow: auto;
  margin: 0;
  scrollbar-width: thin;
}

.deal-card .price-row {
  align-self: end;
}

.deal-card .availability {
  min-height: 2.2em;
  margin: 0;
}

.deal-card .deal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.deal-card .deal-actions .qty-cluster {
  width: 100%;
}

html,
body {
  max-width: 100%;
}

body.nav-open {
  overflow-y: auto;
}

.site-header,
.header-actions,
.main-nav {
  max-width: calc(100vw - 20px);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(44px, auto) minmax(0, 1fr) auto !important;
    overflow: visible !important;
  }

  .header-actions {
    justify-self: end;
    overflow: visible;
  }

  .nav-open .main-nav {
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 760px) {
  .admin-menu-section > summary {
    min-height: 50px;
    padding: 12px 14px;
  }

  .admin-menu-section-body {
    padding-inline: 12px;
  }

  .admin-category-order-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .category-order-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .category-position-field {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .category-position-field input {
    flex: 0 0 86px;
  }

  .category-order-actions > button,
  .category-order-actions .admin-actions,
  .category-order-actions .admin-actions .icon-btn {
    flex: 1 1 42px;
  }

  .menu-card .menu-copy {
    grid-template-rows: minmax(2.4em, 2.4em) minmax(3.7em, 3.7em) minmax(0, auto) auto auto;
  }

  .menu-card .menu-options {
    max-height: 120px;
  }

  .deal-card .deal-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-header {
    width: calc(100vw - 16px) !important;
  }

  .brand-lockup {
    max-width: 58px !important;
  }

  .header-actions {
    gap: 5px;
  }
}

/* Public card alignment contract: stable slots, hidden overflow affordances. */
.menu-card {
  --menu-card-tags-h: 34px;
  --menu-card-title-h: 2.72em;
  --menu-card-description-h: 3.85em;
  --menu-card-options-h: 92px;
  --menu-card-footer-h: 58px;
  --menu-card-subtotal-h: 18px;
  display: grid;
  grid-template-rows: auto var(--menu-card-tags-h) minmax(0, 1fr);
  align-content: stretch;
  gap: 0;
}

.menu-card > .chip-row.menu-card-tags {
  min-height: var(--menu-card-tags-h);
  max-height: var(--menu-card-tags-h);
  align-items: center;
  margin: 8px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 5px;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 calc(100% - 18px), rgba(0, 0, 0, 0.22));
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), rgba(0, 0, 0, 0.22));
}

.menu-card > .chip-row.menu-card-tags::-webkit-scrollbar,
.menu-card .menu-copy h3::-webkit-scrollbar,
.menu-card .menu-description::-webkit-scrollbar,
.menu-card .menu-card-options-slot::-webkit-scrollbar,
.menu-card .menu-options::-webkit-scrollbar,
.deal-card .card-copy h3::-webkit-scrollbar,
.deal-card .card-copy > p::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.menu-card > .chip-row.menu-card-tags span {
  flex: 0 0 auto;
}

.menu-card .menu-copy {
  display: grid;
  grid-template-rows:
    var(--menu-card-title-h)
    var(--menu-card-description-h)
    var(--menu-card-options-h)
    var(--menu-card-footer-h)
    var(--menu-card-subtotal-h);
  gap: 10px;
  min-height: 0;
  padding-top: 8px;
}

.menu-card .menu-copy h3,
.menu-card .menu-description,
.deal-card .card-copy h3,
.deal-card .card-copy > p:not(.availability),
.deal-card .availability {
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-card .menu-copy h3 {
  height: var(--menu-card-title-h);
  min-height: var(--menu-card-title-h);
  max-height: var(--menu-card-title-h);
  margin: 0;
  line-height: 1.06;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), rgba(0, 0, 0, 0.32));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), rgba(0, 0, 0, 0.32));
}

.menu-card .menu-description {
  height: var(--menu-card-description-h);
  min-height: var(--menu-card-description-h);
  max-height: var(--menu-card-description-h);
  margin: 0;
  padding: 4px 0 0;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), rgba(0, 0, 0, 0.28));
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), rgba(0, 0, 0, 0.28));
}

.menu-card .menu-card-options-slot {
  height: var(--menu-card-options-h);
  min-height: var(--menu-card-options-h);
  max-height: var(--menu-card-options-h);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  gap: 6px;
  overflow: hidden;
}

.menu-card .menu-options,
.menu-card .menu-meal-option {
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.menu-card .menu-options {
  display: grid;
  align-content: start;
  gap: 5px;
}

.menu-card .menu-options.is-empty,
.menu-card .menu-meal-option.is-empty {
  min-height: 0;
}

.menu-card .menu-options label {
  gap: 4px;
  min-width: 0;
}

.menu-card .menu-options select {
  min-height: 36px;
  padding-inline: 10px 28px;
}

.menu-card .menu-meal-option {
  display: grid;
  align-content: end;
}

.menu-card .menu-meal-option .checkbox-row {
  min-width: 0;
  gap: 7px;
  line-height: 1.2;
  white-space: nowrap;
}

.menu-card .menu-meal-option .checkbox-row input {
  flex: 0 0 auto;
}

.menu-card .menu-bottom {
  height: var(--menu-card-footer-h);
  min-height: var(--menu-card-footer-h);
  max-height: var(--menu-card-footer-h);
  margin: 0;
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.menu-card .menu-bottom > strong {
  min-width: 0;
  line-height: 0.96;
}

.menu-card .menu-bottom .qty-cluster {
  justify-content: flex-end;
  min-width: 0;
}

.menu-card .line-subtotal {
  height: var(--menu-card-subtotal-h);
  min-height: var(--menu-card-subtotal-h);
  max-height: var(--menu-card-subtotal-h);
  margin: 0;
  overflow: hidden;
  line-height: 1.15;
}

.menu-card .line-subtotal.is-empty {
  opacity: 0;
}

.deal-card {
  --deal-card-title-h: 2.45em;
  --deal-card-description-h: 3.55em;
  --deal-card-availability-h: 2.35em;
}

.deal-card .card-copy {
  grid-template-rows:
    var(--deal-card-title-h)
    var(--deal-card-description-h)
    auto
    var(--deal-card-availability-h);
}

.deal-card .card-copy h3 {
  min-height: var(--deal-card-title-h);
  max-height: var(--deal-card-title-h);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.06;
  scrollbar-width: none;
}

.deal-card .card-copy > p:not(.availability) {
  min-height: var(--deal-card-description-h);
  max-height: var(--deal-card-description-h);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  scrollbar-width: none;
}

.deal-card .availability {
  min-height: var(--deal-card-availability-h);
  max-height: var(--deal-card-availability-h);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 640px) {
  body[data-route="menu"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, calc(100vw - 20px));
    max-width: none;
    gap: 10px;
  }

  body[data-route="menu"] .menu-card {
    --menu-card-tags-h: 30px;
    --menu-card-title-h: 3.32em;
    --menu-card-description-h: 3.08em;
    --menu-card-options-h: 82px;
    --menu-card-footer-h: 54px;
    --menu-card-subtotal-h: 16px;
    padding: 9px;
    border-radius: 18px;
  }

  body[data-route="menu"] .menu-card .menu-copy {
    gap: 10px;
    padding-top: 7px;
  }

  body[data-route="menu"] .menu-card .menu-copy h3 {
    font-size: clamp(17px, 4.9vw, 21px);
    line-height: 1.08;
  }

  body[data-route="menu"] .menu-card .menu-description {
    padding-top: 7px;
    font-size: clamp(13px, 3.55vw, 15px);
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  body[data-route="menu"] .menu-card > .chip-row.menu-card-tags {
    margin-top: 7px;
    padding-bottom: 4px;
  }

  body[data-route="menu"] .menu-card > .chip-row.menu-card-tags span {
    font-size: 11px;
    padding: 5px 8px;
  }

  body[data-route="menu"] .menu-card .menu-card-options-slot {
    gap: 4px;
  }

  body[data-route="menu"] .menu-card .menu-options {
    gap: 4px;
  }

  body[data-route="menu"] .menu-card .menu-options label {
    gap: 3px;
  }

  body[data-route="menu"] .menu-card .menu-options select {
    min-height: 34px;
    padding-inline: 8px 24px;
  }

  body[data-route="menu"] .menu-card .menu-meal-option .checkbox-row {
    gap: 5px;
    font-size: clamp(11px, 3.3vw, 13px);
    white-space: normal;
  }

  body[data-route="menu"] .menu-card .menu-bottom {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px;
  }

  body[data-route="menu"] .menu-card .menu-bottom .mini-cta {
    min-height: 42px;
    width: 100%;
    padding-inline: 5px;
    font-size: clamp(9.5px, 2.65vw, 12px);
    white-space: nowrap;
  }

  body[data-route="menu"] .menu-card .menu-bottom > strong {
    font-size: clamp(18px, 5vw, 23px);
  }
}

@media (max-width: 340px) {
  body[data-route="menu"] .menu-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, calc(100vw - 20px));
    max-width: 320px;
  }
}

@media (min-width: 641px) and (max-width: 760px) {
  body[data-route="menu"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Fixed card face + details sheet contract. The card is for browsing; full
   reading and customization live in the sheet so CMS text/options cannot
   distort the grid. */
.menu-card {
  --menu-card-image-h: clamp(150px, 14vw, 178px);
  --menu-card-content-h: 224px;
  --menu-card-footer-h: 60px;
  display: grid;
  grid-template-rows: var(--menu-card-image-h) minmax(0, var(--menu-card-content-h));
  gap: 12px;
  min-height: auto;
  height: calc(var(--menu-card-image-h) + var(--menu-card-content-h) + 28px + 12px);
}

.menu-card .menu-image {
  height: var(--menu-card-image-h);
  aspect-ratio: auto;
}

.menu-card .menu-copy {
  display: grid;
  grid-template-rows: 30px minmax(0, 2.28em) minmax(0, 2.55em) 24px var(--menu-card-footer-h);
  gap: 8px;
  min-height: 0;
  padding-top: 0;
}

.menu-card .menu-card-tags {
  min-height: 0;
  max-height: 30px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  flex-wrap: nowrap;
  mask-image: none;
  -webkit-mask-image: none;
}

.menu-card .menu-card-tags span {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-card .menu-copy h3,
.menu-card .menu-description {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.menu-card .menu-copy h3 {
  -webkit-line-clamp: 2;
  line-height: 1.14;
}

.menu-card .menu-description {
  margin: 0;
  padding: 0;
  -webkit-line-clamp: 2;
  line-height: 1.28;
}

.menu-card .menu-detail-link {
  width: max-content;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--pc-red);
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.menu-card .menu-detail-link:focus-visible {
  outline: 3px solid var(--pc-yellow);
  outline-offset: 3px;
  border-radius: 8px;
}

.menu-card .menu-bottom {
  height: var(--menu-card-footer-h);
  min-height: var(--menu-card-footer-h);
  max-height: var(--menu-card-footer-h);
  grid-template-columns: minmax(54px, 0.58fr) minmax(0, 1fr);
  gap: 8px;
}

.menu-card .menu-card-actions,
.menu-card .menu-card-actions .qty-cluster {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-card .menu-card-actions .mini-cta {
  width: 100%;
  max-width: 168px;
  white-space: nowrap;
}

.menu-card .menu-card-qty {
  gap: 6px;
  white-space: nowrap;
}

.menu-card .menu-card-qty button {
  flex: 0 0 auto;
}

.menu-card .line-subtotal,
.menu-card .menu-card-options-slot,
.menu-card .menu-options,
.menu-card .menu-meal-option {
  display: none;
}

.menu-detail-open {
  overflow: hidden;
}

.menu-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 20px;
  background: rgba(41, 0, 0, 0.46);
  backdrop-filter: blur(6px);
}

.menu-detail-sheet {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86dvh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 248, 230, 0.35);
  border-radius: 28px 28px 22px 22px;
  background:
    linear-gradient(135deg, rgba(255, 192, 77, 0.96), rgba(239, 27, 34, 0.92)),
    var(--pc-orange);
  box-shadow: 0 24px 70px rgba(54, 0, 0, 0.38);
  padding: 18px;
  color: #fff;
}

.menu-detail-close {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--pc-yellow);
  color: var(--pc-red);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.menu-detail-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 248, 230, 0.2);
}

.menu-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-detail-copy {
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.menu-detail-tags {
  min-height: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.menu-detail-tags:empty {
  display: none;
}

.menu-detail-copy h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 3px 0 rgba(88, 0, 0, 0.18);
}

.menu-detail-copy p {
  margin: 0;
  color: #fff7e8;
  font-weight: 700;
  line-height: 1.35;
}

.menu-detail-options {
  display: grid;
  gap: 10px;
}

.menu-detail-options .menu-options,
.menu-detail-options .menu-meal-option {
  display: grid;
  gap: 10px;
  overflow: visible;
}

.menu-detail-options .menu-options.is-empty,
.menu-detail-options .menu-meal-option.is-empty {
  display: none;
}

.menu-detail-options label {
  color: var(--pc-red-deep);
  font-weight: 900;
}

.menu-detail-options select {
  min-height: 46px;
}

.menu-detail-bottom {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.menu-detail-bottom > strong {
  color: #fff;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 0.95;
}

.menu-detail-bottom .menu-card-actions,
.menu-detail-bottom .qty-cluster {
  justify-content: flex-end;
}

@media (min-width: 761px) {
  .menu-detail-overlay {
    place-items: center;
  }

  .menu-detail-sheet {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1fr);
    gap: 18px;
    border-radius: 24px;
  }

  .menu-detail-copy {
    padding-top: 8px;
  }
}

@media (max-width: 640px) {
  body[data-route="menu"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, calc(100vw - 20px));
    max-width: none;
    gap: 10px;
  }

  body[data-route="menu"] .menu-card {
    --menu-card-image-h: clamp(106px, 29vw, 126px);
    --menu-card-content-h: 176px;
    --menu-card-footer-h: 52px;
    gap: 8px;
    height: calc(var(--menu-card-image-h) + var(--menu-card-content-h) + 18px + 8px);
    padding: 9px;
    border-radius: 18px;
  }

  body[data-route="menu"] .menu-card .menu-copy {
    grid-template-rows: 26px minmax(0, 2.32em) minmax(0, 1.3em) 18px var(--menu-card-footer-h);
    gap: 6px;
  }

  body[data-route="menu"] .menu-card .menu-copy h3 {
    font-size: clamp(16px, 4.45vw, 19px);
    line-height: 1.12;
  }

  body[data-route="menu"] .menu-card .menu-description {
    -webkit-line-clamp: 1;
    font-size: clamp(12px, 3.25vw, 14px);
    line-height: 1.3;
  }

  body[data-route="menu"] .menu-card .menu-card-tags {
    max-height: 26px;
  }

  body[data-route="menu"] .menu-card .menu-card-tags span {
    font-size: 10px;
    padding: 4px 6px;
  }

  body[data-route="menu"] .menu-card .menu-detail-link {
    font-size: 11px;
  }

  body[data-route="menu"] .menu-card .menu-bottom {
    grid-template-columns: minmax(42px, 0.55fr) minmax(0, 1fr);
    gap: 5px;
  }

  body[data-route="menu"] .menu-card .menu-bottom > strong {
    font-size: clamp(18px, 4.8vw, 22px);
  }

  body[data-route="menu"] .menu-card .menu-card-actions .mini-cta {
    min-height: 40px;
    padding-inline: 5px;
    font-size: clamp(8.8px, 2.45vw, 11px);
  }

  body[data-route="menu"] .menu-card .menu-card-qty {
    gap: 4px;
  }

  body[data-route="menu"] .menu-card .menu-card-qty button {
    width: 30px;
    height: 30px;
  }

  .menu-detail-overlay {
    padding: 12px 10px;
  }

  .menu-detail-sheet {
    max-height: 88dvh;
    border-radius: 24px 24px 18px 18px;
    padding: 14px;
  }
}

/* Smoocho menu card design-lab application.
   This is intentionally a narrow sizing override for the fixed card face;
   images keep their 4:3 ratio and customization remains in the details sheet. */
:root {
  --dd-menu-card-pad: 14px;
  --dd-menu-card-radius: 28px;
  --dd-menu-card-content-h: 252px;
  --dd-menu-card-footer-h: 79px;
  --dd-menu-card-gap: 13px;
  --dd-menu-copy-gap: 6px;
  --dd-menu-tags-h: 30px;
  --dd-menu-title-h: 3.5em;
  --dd-menu-desc-h: 2.55em;
  --dd-menu-detail-h: 24px;
  --dd-menu-title-size: 24px;
  --dd-menu-desc-size: 15px;
  --dd-menu-cta-size: 15px;
  --dd-menu-price-size: 30px;
  --dd-deal-card-w: 340px;
  --dd-deal-title-h: 3.35em;
  --dd-deal-desc-h: 4.25em;
  --dd-deal-availability-h: 2.5em;
  --dd-phone-image-h: 116px;
  --dd-phone-content-h: 220px;
  --dd-phone-footer-h: 65px;
  --dd-phone-menu-copy-gap: 7px;
  --dd-phone-menu-tags-h: 20px;
  --dd-phone-menu-title-h: 2.65em;
  --dd-phone-menu-desc-h: 2.35em;
  --dd-phone-menu-detail-h: 22px;
  --dd-phone-title-size: 18px;
  --dd-phone-desc-size: 13px;
  --dd-phone-cta-size: 10px;
  --dd-phone-price-size: 20px;
  --dd-phone-deal-card-w: 280px;
  --dd-phone-deal-title-h: 3.5em;
  --dd-phone-deal-desc-h: 2.95em;
  --dd-phone-deal-availability-h: 2.15em;
  --dd-phone-deal-title-size: 25px;
  --dd-phone-deal-desc-size: 15px;
  --dd-phone-deal-cta-size: 12px;
}

body[data-route="menu"] .menu-card,
.featured-row .menu-card {
  --menu-card-content-h: var(--dd-menu-card-content-h);
  --menu-card-footer-h: var(--dd-menu-card-footer-h);
  grid-template-rows: auto minmax(0, var(--menu-card-content-h));
  gap: var(--dd-menu-card-gap);
  height: auto;
  min-height: 0;
  padding: var(--dd-menu-card-pad);
  border-radius: var(--dd-menu-card-radius);
}

body[data-route="menu"] .menu-card .menu-image,
.featured-row .menu-card .menu-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: max(16px, calc(var(--dd-menu-card-radius) - 10px));
}

body[data-route="menu"] .menu-card .menu-copy,
.featured-row .menu-card .menu-copy {
  grid-template-rows:
    var(--dd-menu-tags-h)
    minmax(0, var(--dd-menu-title-h))
    minmax(0, var(--dd-menu-desc-h))
    var(--dd-menu-detail-h)
    var(--menu-card-footer-h);
  gap: var(--dd-menu-copy-gap);
}

body[data-route="menu"] .menu-card .menu-card-tags,
.featured-row .menu-card .menu-card-tags {
  max-height: var(--dd-menu-tags-h);
}

body[data-route="menu"] .menu-card .menu-copy h3,
.featured-row .menu-card .menu-copy h3 {
  font-size: var(--dd-menu-title-size);
  line-height: 1.12;
  -webkit-line-clamp: 3;
}

body[data-route="menu"] .menu-card .menu-description,
.featured-row .menu-card .menu-description {
  font-size: var(--dd-menu-desc-size);
  line-height: 1.28;
  -webkit-line-clamp: 2;
}

body[data-route="menu"] .menu-card .menu-detail-link,
.featured-row .menu-card .menu-detail-link {
  min-height: var(--dd-menu-detail-h);
  font-size: 13px;
}

body[data-route="menu"] .menu-card .menu-bottom,
.featured-row .menu-card .menu-bottom {
  height: var(--menu-card-footer-h);
  min-height: var(--menu-card-footer-h);
  max-height: var(--menu-card-footer-h);
}

body[data-route="menu"] .menu-card .menu-bottom > strong,
.featured-row .menu-card .menu-bottom > strong {
  font-size: var(--dd-menu-price-size);
}

body[data-route="menu"] .menu-card .menu-card-actions .mini-cta,
.featured-row .menu-card .menu-card-actions .mini-cta {
  font-size: var(--dd-menu-cta-size);
}

.snap-row .deal-card,
.featured-row .deal-card {
  flex: 0 0 var(--dd-deal-card-w);
  width: var(--dd-deal-card-w);
}

.snap-row,
.featured-row {
  gap: max(44px, 5vw);
}

.deal-card .deal-image,
.deal-card .image-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.deal-card .card-copy {
  display: grid;
  grid-template-rows:
    minmax(0, var(--dd-deal-title-h))
    minmax(0, var(--dd-deal-desc-h))
    auto
    minmax(0, var(--dd-deal-availability-h));
  gap: 8px;
}

.deal-card .card-copy h3,
.deal-card .card-copy > p:not(.availability),
.deal-card .availability {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.deal-card .card-copy h3 {
  -webkit-line-clamp: 2;
}

.deal-card .card-copy > p:not(.availability) {
  -webkit-line-clamp: 3;
}

.deal-card .availability {
  -webkit-line-clamp: 2;
}

@media (max-width: 640px) {
  body[data-route="menu"] .menu-card,
  .featured-row .menu-card {
    --menu-card-content-h: var(--dd-phone-content-h);
    --menu-card-footer-h: var(--dd-phone-footer-h);
    gap: 8px;
    padding: 9px;
    border-radius: 18px;
  }

  body[data-route="menu"] .menu-card .menu-copy,
  .featured-row .menu-card .menu-copy {
    grid-template-rows:
      var(--dd-phone-menu-tags-h)
      minmax(0, var(--dd-phone-menu-title-h))
      minmax(0, var(--dd-phone-menu-desc-h))
      var(--dd-phone-menu-detail-h)
      var(--menu-card-footer-h);
    gap: var(--dd-phone-menu-copy-gap);
  }

  body[data-route="menu"] .menu-card .menu-card-tags,
  .featured-row .menu-card .menu-card-tags {
    max-height: var(--dd-phone-menu-tags-h);
  }

  body[data-route="menu"] .menu-card .menu-copy h3,
  .featured-row .menu-card .menu-copy h3 {
    font-size: var(--dd-phone-title-size);
    height: var(--dd-phone-menu-title-h);
    min-height: var(--dd-phone-menu-title-h);
    max-height: var(--dd-phone-menu-title-h);
    line-height: 1.12;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
  }

  body[data-route="menu"] .menu-card .menu-description,
  .featured-row .menu-card .menu-description {
    font-size: var(--dd-phone-desc-size);
    height: var(--dd-phone-menu-desc-h);
    min-height: var(--dd-phone-menu-desc-h);
    max-height: var(--dd-phone-menu-desc-h);
    line-height: 1.2;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
  }

  body[data-route="menu"] .menu-card .menu-detail-link,
  .featured-row .menu-card .menu-detail-link {
    min-height: var(--dd-phone-menu-detail-h);
    font-size: 10px;
  }

  body[data-route="menu"] .menu-card .menu-bottom > strong,
  .featured-row .menu-card .menu-bottom > strong {
    font-size: var(--dd-phone-price-size);
  }

  body[data-route="menu"] .menu-card .menu-card-actions .mini-cta,
  .featured-row .menu-card .menu-card-actions .mini-cta {
    font-size: var(--dd-phone-cta-size);
  }

  .snap-row .deal-card,
  .featured-row .deal-card {
    flex-basis: var(--dd-phone-deal-card-w);
    width: var(--dd-phone-deal-card-w);
  }

  .snap-row,
  .featured-row {
    gap: 32px;
  }

  .deal-card .card-copy {
    grid-template-rows:
      minmax(0, var(--dd-phone-deal-title-h))
      minmax(0, var(--dd-phone-deal-desc-h))
      auto
      minmax(0, var(--dd-phone-deal-availability-h));
  }

  .deal-card .card-copy h3 {
    font-size: var(--dd-phone-deal-title-size);
    -webkit-line-clamp: 3;
  }

  .deal-card .card-copy > p:not(.availability) {
    font-size: var(--dd-phone-deal-desc-size);
    -webkit-line-clamp: 2;
  }

  .deal-card .deal-actions .mini-cta,
  .deal-card .deal-actions .detail-cta {
    font-size: var(--dd-phone-deal-cta-size);
  }
}

@media (max-width: 640px) {
  body[data-route="menu"] .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(100%, 430px);
    margin-inline: auto;
    overflow-x: hidden;
  }

  body[data-route="menu"] .menu-card {
    display: grid;
    grid-template-columns: clamp(84px, 24vw, 100px) minmax(0, 1fr) clamp(86px, 23vw, 96px);
    grid-template-rows: 20px minmax(0, 2.3em) minmax(0, 2.5em) 18px;
    gap: 4px 8px;
    align-items: stretch;
    min-height: 132px;
    height: auto;
    padding: 9px;
    border-radius: 20px;
    background:
      linear-gradient(135deg, rgba(255, 196, 83, 0.94), rgba(255, 117, 68, 0.9)),
      rgba(255, 248, 230, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-route="menu"] .menu-card::before {
    opacity: 0.18;
  }

  body[data-route="menu"] .menu-card .menu-image {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  body[data-route="menu"] .menu-card .menu-copy {
    display: contents;
  }

  body[data-route="menu"] .menu-card .menu-card-tags {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-width: 0;
    min-height: 20px;
    max-height: 20px;
    gap: 5px;
    overflow: hidden;
  }

  body[data-route="menu"] .menu-card .menu-card-tags span {
    max-width: 78px;
    padding: 4px 7px;
    font-size: 10px;
    line-height: 1;
  }

  body[data-route="menu"] .menu-card .menu-copy h3 {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    height: 2.3em;
    min-height: 0;
    max-height: 2.3em;
    font-size: 17px;
    line-height: 1.14;
    display: -webkit-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    -webkit-box-orient: vertical !important;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body[data-route="menu"] .menu-card .menu-description {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    min-width: 0;
    height: 2.5em;
    min-height: 0;
    max-height: 2.5em;
    font-size: 12px;
    line-height: 1.25;
    display: -webkit-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    -webkit-box-orient: vertical !important;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body[data-route="menu"] .menu-card .menu-detail-link {
    grid-column: 2;
    grid-row: 4;
    align-self: end;
    min-height: 18px;
    font-size: 10px;
    line-height: 1;
  }

  body[data-route="menu"] .menu-card .menu-bottom {
    grid-column: 3;
    grid-row: 1 / -1;
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    height: auto;
    min-height: 0;
    max-height: none;
    min-width: 0;
  }

  body[data-route="menu"] .menu-card .menu-bottom > strong {
    align-self: end;
    font-size: 19px;
    line-height: 0.95;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  body[data-route="menu"] .menu-card .menu-card-actions,
  body[data-route="menu"] .menu-card .menu-card-actions .qty-cluster {
    justify-content: stretch;
    width: 100%;
  }

  body[data-route="menu"] .menu-card .menu-card-actions .mini-cta {
    width: 100%;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 10px;
    line-height: 1.05;
    white-space: normal;
  }

  body[data-route="menu"] .menu-card .menu-card-qty {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    max-height: 34px;
  }

  body[data-route="menu"] .menu-card .menu-card-qty button {
    flex: 0 0 26px;
    width: 26px;
    min-width: 26px;
    height: 26px;
    min-height: 26px;
    padding: 0;
  }

  body[data-route="menu"] .menu-card .menu-card-qty span {
    flex: 0 0 16px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
  }

  body[data-route="menu"] .menu-card .line-subtotal,
  body[data-route="menu"] .menu-card .menu-card-options-slot,
  body[data-route="menu"] .menu-card .menu-options,
  body[data-route="menu"] .menu-card .menu-meal-option {
    display: none;
  }
}

/* Smoocho production theme */
:root {
  --pc-orange: #f6a9c2;
  --pc-red: #d72b6a;
  --pc-yellow: #ffe0ea;
  --pc-cream: #fff8fb;
  --smoocho-pink: #d72b6a;
  --smoocho-soft: #f8bfd1;
  --smoocho-blush: #ffdce8;
  --smoocho-cream: #fff8fb;
  --smoocho-paper: #fffdf8;
  --smoocho-chocolate: #4b2726;
  --smoocho-ink: #34252b;
  --smoocho-muted: #745a65;
  --smoocho-green: #2f6b58;
  --smoocho-shadow: 0 22px 60px rgba(130, 20, 64, 0.18);
  --smoocho-border: rgba(122, 34, 70, 0.12);
}

html {
  background: #f8bfd1;
}

body {
  letter-spacing: 0;
  color: var(--smoocho-ink);
  font-family: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(rgba(255, 248, 251, 0.18), rgba(255, 248, 251, 0.18)),
    url("/assets/smoocho-pinkbg.png") center top / cover fixed,
    #f8bfd1;
}

body *,
body *::before,
body *::after {
  letter-spacing: 0;
}

h1,
h2,
h3,
.brand-name,
.smoocho-wordmark-xl,
.boot-brand {
  font-family: Georgia, "Times New Roman", serif;
}

.animated-site-bg,
.animated-site-bg *,
.edge-food,
.flow-orb,
.flow-ribbon,
.flow-dots,
.hero-video,
.boot-hero-video {
  display: none !important;
}

a {
  color: inherit;
}

.skip-link:focus {
  background: var(--smoocho-cream);
  color: var(--smoocho-pink);
  border: 2px solid var(--smoocho-pink);
  border-radius: 14px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 80;
  width: min(1080px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 248, 251, 0.92);
  box-shadow: 0 12px 35px rgba(122, 21, 65, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--smoocho-pink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark.smoocho-brand-mark,
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--smoocho-pink);
  color: var(--smoocho-cream);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(215, 43, 106, 0.22);
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
}

.brand-mark img {
  display: none;
}

.brand-name {
  color: var(--smoocho-pink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.main-nav a,
.header-cta,
.header-branch-select,
.admin-nav a,
.admin-nav button {
  border-radius: 999px;
}

.main-nav a {
  padding: 10px 13px;
  color: var(--smoocho-chocolate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--smoocho-blush);
  color: var(--smoocho-pink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.header-branch-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 5px 8px 5px 12px;
  background: #ffffff;
  border: 1px solid var(--smoocho-border);
  color: var(--smoocho-muted);
  font-size: 12px;
  font-weight: 800;
}

.header-branch-select select {
  border: 0;
  background: transparent;
  color: var(--smoocho-chocolate);
  font: inherit;
  max-width: 128px;
}

.header-cta.cart-link,
.primary-button,
.secondary-button,
.mini-cta,
.detail-cta,
.text-link,
.menu-detail-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.primary-button,
.mini-cta,
.header-cta.cart-link {
  background: var(--smoocho-pink);
  color: #fff8fb;
  box-shadow: 0 10px 24px rgba(215, 43, 106, 0.22);
}

.secondary-button,
.detail-cta,
.text-link,
.menu-detail-link {
  background: #ffffff;
  color: var(--smoocho-pink);
  border-color: rgba(215, 43, 106, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.mini-cta:hover,
.detail-cta:hover,
.header-cta.cart-link:hover,
.text-link:hover,
.menu-detail-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(118, 20, 58, 0.18);
}

.menu-button {
  border: 0;
  background: var(--smoocho-pink);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
  border-radius: 999px;
}

.toast {
  position: fixed;
  z-index: 120;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(460px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--smoocho-chocolate);
  color: #fff8fb;
  box-shadow: var(--smoocho-shadow);
}

.smoocho-section-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.smoocho-splash {
  min-height: calc(100svh - 76px);
  margin-top: -76px;
  padding: 116px 24px 56px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(215, 43, 106, 0.12), rgba(215, 43, 106, 0.08)),
    url("/assets/smoocho-pinkbg.png") center / cover;
  color: var(--smoocho-cream);
}

.smoocho-splash-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.smoocho-wordmark-xl {
  margin: 0;
  color: #fff8fb;
  font-size: 138px;
  line-height: 0.86;
  font-weight: 800;
  text-shadow: 0 18px 48px rgba(91, 9, 42, 0.28);
}

.smoocho-kicker,
.eyebrow,
.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--smoocho-pink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.smoocho-splash .smoocho-kicker,
.smoocho-tagline {
  color: #fff8fb;
}

.smoocho-tagline {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.smoocho-scroll-cue {
  margin-top: 30px;
  color: #fff8fb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.smoocho-scroll-cue::after {
  content: "";
  display: block;
  width: 2px;
  height: 34px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #fff8fb;
}

.smoocho-product-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 110px;
  background:
    linear-gradient(rgba(255, 248, 251, 0.08), rgba(255, 248, 251, 0.2)),
    url("/assets/smoocho-pinkbg.png") center / cover;
}

.smoocho-product-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -44px;
  height: 112px;
  background: var(--smoocho-cream);
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
}

.smoocho-product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 46px;
}

.smoocho-product-copy {
  max-width: 480px;
  color: var(--smoocho-chocolate);
}

.smoocho-product-copy h2,
.section-heading h2,
.page-hero h1,
.smoocho-about-grid h2,
.rewards-panel h2 {
  margin: 8px 0 12px;
  color: var(--smoocho-chocolate);
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
}

.smoocho-product-copy p:not(.smoocho-kicker),
.smoocho-about-grid p,
.page-hero span,
.detail-copy p,
.branch-card-body,
.card-copy p,
.menu-description,
.site-footer p,
.admin-card p {
  color: var(--smoocho-muted);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.smoocho-product-stage {
  min-height: 460px;
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.72fr;
  align-items: center;
  gap: 14px;
}

.smoocho-product-card,
.smoocho-hero-dessert {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 248, 251, 0.72);
  box-shadow: var(--smoocho-shadow);
}

.smoocho-product-card {
  min-height: 180px;
  border-radius: 34px;
  padding: 22px;
  display: grid;
  align-content: end;
  color: var(--smoocho-chocolate);
}

.smoocho-product-card span {
  font-weight: 900;
}

.smoocho-product-card strong {
  color: var(--smoocho-pink);
  font-size: 24px;
}

.smoocho-hero-dessert {
  position: relative;
  min-height: 390px;
  border-radius: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center 24%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #fff8fb, #ffdce8);
}

.smoocho-cup-top,
.smoocho-cup-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.smoocho-cup-top {
  top: 78px;
  width: 180px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 28%, #fff8fb 0 18%, transparent 19%),
    linear-gradient(135deg, #4b2726, #8c3c3d 54%, #f2a5bd);
  box-shadow: 0 18px 26px rgba(75, 39, 38, 0.18);
}

.smoocho-cup-body {
  top: 142px;
  width: 156px;
  height: 176px;
  border-radius: 18px 18px 46px 46px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #fff8fb 0 24%, #e06d96 24% 62%, #4b2726 62% 100%);
  box-shadow: 0 22px 38px rgba(75, 39, 38, 0.22);
}

.smoocho-hero-dessert strong {
  position: absolute;
  bottom: 34px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff8fb;
  color: var(--smoocho-pink);
  box-shadow: 0 10px 24px rgba(107, 19, 55, 0.12);
}

.smoocho-deals-section,
.smoocho-menu-preview,
.smoocho-visit-section,
.page-shell {
  background:
    linear-gradient(rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.46)),
    url("/assets/smoocho-whitebg.png") center top / cover fixed,
    var(--smoocho-cream);
}

.smoocho-deals-section,
.smoocho-menu-preview,
.smoocho-about-section,
.smoocho-visit-section,
.rewards-panel {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 780px;
}

.smoocho-carousel-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: -52px 0 16px;
}

.edge-arrow {
  position: static;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--smoocho-pink);
  color: #fff8fb;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(215, 43, 106, 0.2);
}

.deal-row,
.featured-row,
.snap-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 20px;
  scrollbar-width: thin;
}

.deal-card,
.menu-card,
.branch-card,
.admin-card,
.content-panel,
.detail-copy,
.detail-poster,
.smoocho-visit-card,
.rewards-grid article,
.loyalty-account-card,
.rewards-auth-card {
  border: 1px solid var(--smoocho-border);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--smoocho-shadow);
}

.deal-card {
  flex: 0 0 310px;
  width: 310px;
  min-height: 430px;
  border-radius: 34px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 178px 1fr auto auto;
  gap: 12px;
  scroll-snap-align: start;
  color: var(--smoocho-ink);
}

.deal-card.compact-card {
  flex: 0 0 310px;
  width: 310px;
}

.card-badge,
.status-pill,
.chip-row span,
.sold-out-ribbon {
  border-radius: 999px;
  background: var(--smoocho-blush);
  color: var(--smoocho-pink);
  font-size: 12px;
  font-weight: 900;
}

.card-badge {
  justify-self: start;
  padding: 7px 11px;
}

.deal-image,
.image-placeholder,
.menu-image {
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    url("/assets/smoocho-pinkbg.png") center / cover,
    #f6a9c2;
}

.image-placeholder {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #fff8fb;
  text-align: center;
  font-weight: 900;
  padding: 16px;
}

.deal-card .card-copy {
  display: grid;
  gap: 8px;
}

.deal-card h3,
.menu-card h3,
.branch-card h3,
.admin-card h2,
.detail-copy h1,
.loyalty-account-card h3,
.rewards-auth-card h1 {
  color: var(--smoocho-chocolate);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-row strong,
.menu-bottom strong,
.rewards-balance {
  color: var(--smoocho-pink);
  font-size: 24px;
  line-height: 1;
}

.price-row span {
  color: var(--smoocho-muted);
  text-decoration: line-through;
}

.availability {
  color: var(--smoocho-green);
  font-weight: 800;
}

.deal-actions,
.menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
}

.qty-cluster button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--smoocho-pink);
  color: #fff8fb;
  font-weight: 900;
}

.qty-cluster span {
  min-width: 18px;
  text-align: center;
  color: var(--smoocho-chocolate);
  font-weight: 900;
}

.smoocho-menu-preview {
  padding-top: 30px;
}

.smoocho-featured-row .menu-card {
  flex: 0 0 350px;
  width: 350px;
}

.smoocho-centered-actions {
  justify-content: center;
  margin-top: 12px;
}

.smoocho-about-section {
  background:
    linear-gradient(rgba(215, 43, 106, 0.05), rgba(215, 43, 106, 0.05)),
    url("/assets/smoocho-pinkbg.png") center / cover;
}

.smoocho-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 34px;
}

.smoocho-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.smoocho-gallery-strip span {
  min-height: 210px;
  border-radius: 32px;
  display: grid;
  align-items: end;
  padding: 18px;
  color: #fff8fb;
  font-weight: 900;
  box-shadow: var(--smoocho-shadow);
  background:
    linear-gradient(180deg, rgba(75, 39, 38, 0.06), rgba(75, 39, 38, 0.42)),
    url("/assets/smoocho-pinkbg.png") center / cover;
}

.smoocho-gallery-strip span:nth-child(2),
.smoocho-gallery-strip span:nth-child(4) {
  transform: translateY(28px);
}

.smoocho-marquee-section {
  overflow: hidden;
  padding: 16px 0;
  background: var(--smoocho-chocolate);
  color: #fff8fb;
}

.smoocho-marquee {
  display: flex;
  white-space: nowrap;
  border-block: 1px solid rgba(255, 248, 251, 0.18);
}

.smoocho-marquee span {
  display: inline-flex;
  min-width: 100%;
  padding: 10px 28px;
  font-size: 22px;
  font-weight: 900;
  animation: smoocho-marquee 28s linear infinite;
}

.smoocho-marquee:nth-child(2) span {
  animation-direction: reverse;
}

@keyframes smoocho-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.smoocho-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.smoocho-visit-card,
.branch-card {
  border-radius: 34px;
  padding: 24px;
}

.smoocho-visit-card h3,
.branch-card h3 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1;
}

.content-band.rewards-panel {
  background:
    linear-gradient(rgba(255, 248, 251, 0.72), rgba(255, 248, 251, 0.72)),
    url("/assets/smoocho-pinkbg.png") center / cover;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.rewards-grid article {
  border-radius: 32px;
  padding: 24px;
}

.page-shell {
  width: auto;
  min-height: calc(100svh - 86px);
  padding: 46px 0 74px;
}

.page-hero,
.content-panel,
.detail-layout {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.page-hero {
  padding: 48px 4px 24px;
}

.page-hero h1 {
  max-width: 760px;
}

.content-panel {
  border-radius: 36px;
  padding: 24px;
}

.branch-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--smoocho-muted);
}

.branch-meta-bar strong,
.branch-meta-bar span {
  border-radius: 999px;
  background: #fff8fb;
  border: 1px solid var(--smoocho-border);
  padding: 9px 12px;
}

.branch-grid,
.deal-grid,
.menu-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

body[data-route="menu"] {
  background:
    linear-gradient(rgba(255, 248, 251, 0.18), rgba(255, 248, 251, 0.18)),
    url("/assets/smoocho-pinkbg.png") center / cover fixed,
    #f8bfd1;
}

body[data-route="menu"] .page-shell,
body[data-route="cart"] .page-shell,
body[data-route="rewards"] .page-shell,
body[data-route="deals"] .page-shell,
body[data-route="outlets"] .page-shell,
body[data-route="branches"] .page-shell,
body[data-route="promotions"] .page-shell {
  background:
    linear-gradient(rgba(255, 248, 251, 0.22), rgba(255, 248, 251, 0.22)),
    url("/assets/smoocho-pinkbg.png") center / cover fixed,
    #f8bfd1;
}

body[data-route="menu"] .content-panel {
  background: rgba(255, 248, 251, 0.82);
}

.category-tabs-wrap {
  position: relative;
  margin-bottom: 18px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(215, 43, 106, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: var(--smoocho-pink);
  font-weight: 900;
}

.category-tabs button.is-active {
  background: var(--smoocho-pink);
  color: #fff8fb;
  box-shadow: 0 10px 22px rgba(215, 43, 106, 0.2);
}

.menu-card {
  position: relative;
  min-height: 178px;
  border-radius: 32px;
  padding: 14px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
}

.menu-image {
  min-height: 150px;
  height: 100%;
}

.menu-image img,
.deal-image,
.branch-card-image,
.menu-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-row span {
  padding: 5px 9px;
}

.menu-card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.menu-description {
  margin: 0;
}

body[data-route="menu"] .menu-card .menu-description,
body[data-route="home"] .menu-card .menu-description {
  color: var(--smoocho-muted) !important;
}

body[data-route="menu"] .menu-card .menu-card-title,
body[data-route="home"] .menu-card .menu-card-title {
  color: var(--smoocho-chocolate) !important;
}

body[data-route="menu"] .menu-card .menu-detail-link,
body[data-route="home"] .menu-card .menu-detail-link {
  color: var(--smoocho-pink) !important;
}

.menu-detail-link {
  justify-self: start;
  min-height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--smoocho-pink);
  box-shadow: none;
}

.menu-detail-link:hover {
  box-shadow: none;
}

.cart-inline {
  margin-top: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.detail-copy,
.detail-poster {
  border-radius: 34px;
  padding: 24px;
}

.menu-detail-overlay {
  background: rgba(52, 37, 43, 0.46);
}

.menu-detail-sheet {
  border-radius: 32px;
  background: var(--smoocho-cream);
  color: var(--smoocho-ink);
}

.menu-detail-close {
  background: var(--smoocho-pink);
  color: #fff8fb;
  border: 0;
}

body[data-route="admin"] {
  background:
    linear-gradient(rgba(255, 248, 251, 0.08), rgba(255, 248, 251, 0.08)),
    url("/assets/smoocho-pinkbg.png") center / cover fixed,
    #f8bfd1;
}

body[data-route="admin"] .page-shell {
  background: transparent;
}

.admin-shell .page-hero {
  text-align: center;
}

.admin-shell .page-hero h1,
.admin-shell .page-hero span {
  margin-inline: auto;
}

.admin-shell .content-panel {
  background: rgba(255, 248, 251, 0.88);
  border-radius: 38px;
}

.admin-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 28px;
}

.admin-nav a,
.admin-nav button {
  min-height: 72px;
  border: 1px solid rgba(215, 43, 106, 0.16);
  background: #fff;
  color: var(--smoocho-pink);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 22px;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 22px rgba(130, 20, 64, 0.09);
}

.admin-nav a::before,
.admin-nav button::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 8px;
  opacity: 0.92;
}

.admin-nav a.is-active,
.admin-nav button:hover,
.admin-nav a:hover {
  background: var(--smoocho-pink);
  color: #fff8fb;
  box-shadow: 0 12px 24px rgba(215, 43, 106, 0.2);
}

.admin-card {
  border-radius: 28px;
  padding: 20px;
  overflow: hidden;
}

.admin-dashboard-card {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label,
.admin-filter-label {
  display: grid;
  gap: 6px;
  color: var(--smoocho-chocolate);
  font-weight: 800;
}

input,
select,
textarea {
  border: 1px solid rgba(120, 48, 76, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--smoocho-ink);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 96px;
}

table {
  border-collapse: collapse;
  width: 100%;
  color: var(--smoocho-ink);
}

th,
td {
  border-bottom: 1px solid rgba(120, 48, 76, 0.12);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--smoocho-chocolate);
  font-size: 12px;
  text-transform: uppercase;
}

.form-note {
  color: var(--smoocho-muted);
}

.form-note.is-valid {
  color: var(--smoocho-green);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 30px max(24px, calc((100% - 1120px) / 2));
  background: var(--smoocho-chocolate);
  color: #fff8fb;
}

.site-footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.site-footer p {
  color: rgba(255, 248, 251, 0.78);
  max-width: 720px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  color: #fff8fb;
  text-decoration: none;
  font-weight: 800;
}

.interaction-feedback-card {
  border-radius: 24px;
  background: var(--smoocho-cream);
  color: var(--smoocho-pink);
  box-shadow: var(--smoocho-shadow);
}

.smoocho-loader-logo {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--smoocho-pink);
  font-size: 28px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--smoocho-border);
    border-radius: 24px;
    background: rgba(255, 248, 251, 0.96);
    box-shadow: var(--smoocho-shadow);
  }

  body.nav-open .main-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .main-nav a {
    justify-content: center;
  }

  .header-actions {
    justify-self: end;
  }

  .header-branch-select span {
    display: none;
  }

  .smoocho-product-grid,
  .smoocho-about-grid,
  .smoocho-visit-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .smoocho-product-copy {
    text-align: center;
    margin-inline: auto;
  }

  .smoocho-product-copy .button-row {
    justify-content: center;
  }

  .smoocho-product-stage {
    grid-template-columns: 1fr;
  }

  .smoocho-product-card.is-side {
    min-height: 112px;
  }

  .smoocho-gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smoocho-gallery-strip span:nth-child(2),
  .smoocho-gallery-strip span:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
  }

  .brand-lockup {
    order: 1;
    flex: 0 0 108px;
    min-width: 108px;
  }

  .brand-mark,
  .brand-mark.smoocho-brand-mark {
    display: none !important;
  }

  .brand-name {
    display: inline-flex;
    position: static;
    font-size: 24px;
    line-height: 1;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    max-width: none;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }

  .menu-button {
    order: 4;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .header-actions {
    order: 3;
    flex: 0 0 auto;
    gap: 5px;
  }

  .header-branch-select {
    max-width: 124px;
    padding: 4px 8px;
  }

  .header-branch-select select {
    max-width: 108px;
    font-size: 12px;
  }

  .header-cta.cart-link {
    min-width: 74px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .smoocho-splash {
    min-height: calc(100svh - 66px);
    margin-top: -66px;
    padding-top: 104px;
  }

  .smoocho-wordmark-xl {
    font-size: 72px;
  }

  .smoocho-tagline {
    font-size: 17px;
  }

  .smoocho-product-copy h2,
  .section-heading h2,
  .page-hero h1,
  .smoocho-about-grid h2,
  .rewards-panel h2 {
    font-size: 36px;
  }

  .smoocho-product-hero,
  .smoocho-deals-section,
  .smoocho-menu-preview,
  .smoocho-about-section,
  .smoocho-visit-section,
  .rewards-panel {
    padding-block: 48px;
  }

  .smoocho-product-stage {
    min-height: auto;
  }

  .smoocho-hero-dessert {
    min-height: 330px;
  }

  .smoocho-carousel-controls {
    margin: 0 0 10px;
    justify-content: flex-start;
  }

  .deal-card,
  .deal-card.compact-card {
    flex-basis: 286px;
    width: 286px;
  }

  .smoocho-featured-row .menu-card {
    flex-basis: 310px;
    width: 310px;
  }

  .smoocho-gallery-strip {
    grid-template-columns: 1fr;
  }

  .smoocho-gallery-strip span {
    min-height: 154px;
  }

  .smoocho-marquee span {
    font-size: 16px;
  }

  .content-panel {
    padding: 16px;
    border-radius: 26px;
  }

  body[data-route="menu"] .menu-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }

  body[data-route="menu"] .menu-card,
  .menu-card {
    min-height: 216px;
    display: grid;
    grid-template-columns: minmax(126px, 40%) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 14px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 253, 248, 0.94);
  }

  body[data-route="menu"] .menu-card .menu-image,
  .menu-image {
    grid-column: 1;
    grid-row: 1;
    min-height: 176px;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
  }

  body[data-route="menu"] .menu-card .menu-copy,
  .menu-copy {
    display: flex !important;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
    gap: 5px;
  }

  body[data-route="menu"] .menu-card .menu-card-tags,
  .menu-card-tags {
    display: none;
  }

  body[data-route="menu"] .menu-card .menu-card-title,
  .menu-card-title {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    height: auto;
    max-height: none;
    font-size: 24px;
    line-height: 1.05;
  }

  body[data-route="menu"] .menu-card .menu-description,
  .menu-description {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    height: auto;
    max-height: none;
    font-size: 14px;
    line-height: 1.35;
  }

  body[data-route="menu"] .menu-card .menu-detail-link,
  .menu-detail-link {
    grid-column: auto;
    grid-row: auto;
    order: 4;
  }

  body[data-route="menu"] .menu-card .menu-bottom,
  .menu-bottom {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  body[data-route="menu"] .menu-card .menu-bottom > strong,
  .menu-bottom > strong {
    font-size: 22px;
  }

  body[data-route="menu"] .menu-card .menu-card-actions .mini-cta,
  .menu-card-actions .mini-cta {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .admin-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-nav a,
  .admin-nav button {
    min-height: 58px;
    font-size: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Final Smoocho UI wins: appended after imported legacy overrides. */
html,
body {
  overflow-x: hidden;
}

body[data-route="home"] {
  background:
    linear-gradient(rgba(255, 230, 239, 0.08), rgba(255, 230, 239, 0.08)),
    url("/assets/smoocho-pinkbg.png") center top / cover fixed,
    #f6a9c2;
}

body[data-route="home"] .site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -18px);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body[data-route="home"].home-header-visible .site-header,
body[data-route="home"].nav-open .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.brand-mark,
.brand-mark.smoocho-brand-mark {
  display: none !important;
}

.brand-lockup {
  padding-left: 8px;
}

.brand-name {
  color: #d1286e;
}

.smoocho-home .smoocho-splash,
.smoocho-home .smoocho-product-hero {
  background: transparent;
}

.smoocho-splash {
  min-height: 100svh;
  margin-top: 0;
  padding: 64px 24px 54px;
}

.smoocho-splash .smoocho-kicker {
  order: 2;
  margin-top: 8px;
  color: #fff8fb;
  font-size: 16px;
  text-transform: none;
}

.smoocho-wordmark-xl {
  order: 1;
}

.smoocho-tagline {
  order: 3;
}

.smoocho-scroll-cue {
  order: 4;
}

.smoocho-product-hero {
  margin-top: 0;
  padding: 76px 0 124px;
}

.smoocho-product-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto;
  height: 8px;
  background: inherit;
}

.smoocho-feature-carousel {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.smoocho-feature-track {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) minmax(260px, 1.12fr) minmax(150px, 0.78fr);
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  overflow: visible;
  scroll-snap-type: x mandatory;
}

.smoocho-feature-product {
  min-width: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
  scroll-snap-align: center;
}

.smoocho-feature-product.is-side {
  opacity: 0.62;
  transform: scale(0.82);
}

.smoocho-feature-product.is-main {
  position: relative;
  z-index: 2;
}

.smoocho-feature-media,
.smoocho-media-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255, 248, 251, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 52px rgba(117, 18, 60, 0.16);
}

.smoocho-feature-product.is-main .smoocho-feature-media {
  border-radius: 46px;
  box-shadow: 0 30px 70px rgba(113, 20, 59, 0.22);
}

.smoocho-media-slot img,
.smoocho-feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.smoocho-feature-product h3,
.smoocho-feature-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #4b2726;
}

.smoocho-feature-product h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.smoocho-feature-product strong {
  color: #d1286e;
  font-size: 20px;
}

.smoocho-feature-copy {
  max-width: 700px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.smoocho-feature-copy h2 {
  margin: 0;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.92;
}

.smoocho-feature-copy p {
  max-width: 560px;
  margin: 0;
  color: #4b2726;
  font-weight: 700;
  line-height: 1.5;
}

.smoocho-feature-copy .button-row {
  justify-content: center;
  margin-top: 6px;
}

.smoocho-feature-arrow {
  position: absolute;
  top: 28%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.9);
  color: #d1286e;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(120, 20, 62, 0.16);
}

.smoocho-feature-arrow.is-left {
  left: clamp(0px, 2vw, 28px);
}

.smoocho-feature-arrow.is-right {
  right: clamp(0px, 2vw, 28px);
}

.snap-row,
.deal-row,
.featured-row,
.category-tabs,
.smoocho-gallery-strip {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.snap-row::-webkit-scrollbar,
.deal-row::-webkit-scrollbar,
.featured-row::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar,
.smoocho-gallery-strip::-webkit-scrollbar {
  display: none;
}

.deal-card,
.deal-card.compact-card {
  flex-basis: min(312px, 82vw);
  width: min(312px, 82vw);
  min-height: 0;
  grid-template-rows: auto auto 1fr auto auto;
}

.deal-image,
.deal-card .image-placeholder,
.menu-image,
.menu-image > .image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  object-fit: cover;
}

.image-placeholder.smoocho-image-placeholder {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(150deg, rgba(255, 248, 251, 0.5), rgba(255, 248, 251, 0.16)),
    url("/assets/smoocho-pinkbg.png") center / cover,
    #ffe6ef;
}

.smoocho-placeholder-mark {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.9);
  color: #d1286e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.smoocho-gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
}

.smoocho-gallery-strip span {
  flex: 0 0 min(232px, 68vw);
  min-height: 0;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  transform: none !important;
}

.smoocho-marquee {
  min-height: 58px;
  align-items: center;
  overflow: hidden;
}

.smoocho-marquee + .smoocho-marquee {
  margin-top: 10px;
}

.smoocho-marquee span {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 11px 54px 11px 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.smoocho-visit-media,
.branch-card-media > .image-placeholder,
.branch-card-image {
  width: 100%;
}

.smoocho-visit-media {
  aspect-ratio: 16 / 10;
  border-radius: 28px;
}

.branch-card-media {
  margin: -4px -4px 16px;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  overflow: hidden;
}

.branch-card-media > .image-placeholder {
  aspect-ratio: 16 / 10;
}

.site-footer {
  background: #fff8fb;
  color: #4b2726;
  border-top: 1px solid rgba(209, 40, 110, 0.12);
}

.site-footer p,
.footer-links a {
  color: #6f5b64;
}

@media (max-width: 900px) {
  .smoocho-feature-track {
    display: flex;
    overflow-x: auto;
    width: calc(100vw - 32px);
    padding: 4px 18vw 14px;
    scroll-padding-inline: 18vw;
  }

  .smoocho-feature-product {
    flex: 0 0 min(62vw, 320px);
  }

  .smoocho-feature-product.is-side,
  .smoocho-feature-product.is-main {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  body[data-route="home"] .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .smoocho-splash {
    min-height: 100svh;
    padding-top: 54px;
  }

  .brand-lockup {
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 6px;
  }

  .brand-name {
    font-size: 23px;
  }

  body[data-route="menu"] .menu-card,
  .menu-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-route="menu"] .menu-card .menu-image,
  .menu-image {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  body[data-route="menu"] .menu-card .menu-copy,
  .menu-copy {
    grid-column: 1;
  }

  body[data-route="menu"] .menu-card .menu-bottom,
  .menu-bottom {
    justify-content: space-between;
  }
}
