:root {
  --sand: #f8edd9;
  --cream: #fffaf3;
  --coral: #f16d5d;
  --coral-dark: #d95142;
  --sunburst: #f6b65a;
  --sunburst-soft: #ffd979;
  --aqua: #49c8c4;
  --aqua-deep: #1f8c93;
  --lagoon: #0e5d66;
  --lagoon-soft: #d8eff1;
  --seaweed: #163439;
  --ink: #1f1e1a;
  --muted: #6e7066;
  --line: rgba(16, 37, 40, 0.12);
  --card: rgba(255, 250, 243, 0.88);
  --shadow: 0 24px 80px rgba(22, 52, 57, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 177, 90, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 93, 102, 0.14), transparent 28%),
    linear-gradient(180deg, #fff8ee 0%, #f7f0e6 44%, #eef6f5 100%);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.cart-drawer-open {
  overflow: hidden;
}

body.mobile-nav-open {
  overflow: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 50% 50%, rgba(18, 70, 76, 0.08) 0, rgba(18, 70, 76, 0) 42%);
  mix-blend-mode: screen;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 96px;
}

.status-banner {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: min(620px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  text-align: center;
  font-weight: 700;
}

.status-banner[data-tone="error"] {
  background: linear-gradient(135deg, #861b13, #d14533);
}

.status-banner[data-tone="success"] {
  background: linear-gradient(135deg, #126251, #19a97d);
}

.order-tracker {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(22, 52, 57, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(237, 247, 247, 0.92)),
    var(--cream);
  box-shadow: 0 14px 34px rgba(22, 52, 57, 0.14);
  display: grid;
  gap: 10px;
}

.order-tracker__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.order-tracker__header h3 {
  margin: 4px 0 0;
  font-size: 1.08rem;
}

.order-tracker__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 52, 57, 0.16);
  background: rgba(22, 52, 57, 0.08);
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-tracker__status[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.14);
  color: #8a2e1f;
}

.order-tracker__status[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.24);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58;
}

.order-tracker__status[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46;
}

.order-tracker__status[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.2);
  background: rgba(22, 52, 57, 0.1);
  color: #234046;
}

.order-tracker__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.order-tracker__tile {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(22, 52, 57, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.order-tracker__tile--wide {
  grid-column: span 4;
}

.order-tracker__tile span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.order-tracker__tile strong {
  font-size: 0.94rem;
  line-height: 1.35;
  word-break: break-word;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: 22px 0 48px;
  min-height: calc(100svh + 140px);
  box-shadow: var(--shadow);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(92, 31, 4, 0.44), rgba(161, 61, 10, 0.12) 42%, rgba(84, 23, 4, 0.36)),
    #3a1207;
  transform: scale(1.02);
}

.hero-video {
  position: absolute;
  inset: -10%;
  width: calc(100% + 20%);
  height: calc(100% + 20%);
  object-fit: cover;
  object-position: center 48%;
  transform: scale(0.78);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 18%, rgba(241, 109, 93, 0.28), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 207, 102, 0.18), transparent 21%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero-topbar,
.hero-body {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-address-strip {
  display: none;
}

.layout-anchor,
.hero-mobile-loyalty-slot {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 20, 22, 0.32);
  backdrop-filter: blur(12px);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #fff8ee;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: white;
}

.hero-brand strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brand__eyebrow,
.kicker,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-brand__eyebrow,
.kicker {
  color: rgba(255, 246, 240, 0.82);
}

.ghost-button,
.primary-button,
.secondary-button,
.icon-button,
.mode-switch__button,
.product-card__action,
.category-chip {
  font: inherit;
  cursor: pointer;
  border: 0;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.ghost-button--account {
  min-width: 120px;
  justify-content: center;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.mode-switch__button:hover,
.product-card__action:hover,
.category-chip:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.ghost-button__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 999px;
  color: var(--seaweed);
  background: var(--sand);
  font-weight: 800;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: end;
  margin-top: clamp(120px, 18vh, 220px);
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.4rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 247, 242, 0.92);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 18px 40px rgba(217, 81, 66, 0.34);
}

.primary-button--full {
  width: 100%;
}

.secondary-button {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.hero-summary {
  padding: 20px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(14, 36, 39, 0.24);
}

.hero-summary__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-summary__header img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 10px 30px rgba(22, 52, 57, 0.16);
}

.hero-summary__header h2 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.hero-summary__intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-summary__label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.hero-summary__grid .fact-tile:only-child {
  grid-column: 1 / -1;
}

.fact-tile--mode .mode-switch {
  margin-top: 10px;
}

.hero-address {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.hero-address__mode {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.mode-switch--inline {
  width: 100%;
}

.hero-address__city-street {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.address-field-stack {
  display: grid;
  gap: 8px;
  align-content: start;
}

.address-field-stack .address-suggestions {
  margin-top: 0;
}

.hero-address__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.hero-address__check,
.checkout-address__check {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-address__hint {
  color: var(--muted);
  line-height: 1.5;
}

.address-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  max-height: 240px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 38, 42, 0.08);
}

.address-suggestions[hidden] {
  display: none !important;
}

.address-suggestion {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  text-align: left;
}

.address-suggestion strong {
  font-size: 0.98rem;
}

.address-suggestion span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.address-suggestion.is-active,
.address-suggestion:hover {
  border-color: rgba(241, 109, 93, 0.44);
  background: rgba(255, 245, 240, 0.98);
}

.address-suggestions__status {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(22, 52, 57, 0.04);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fact-tile,
.overview-card,
.product-card,
.summary-card,
.field input,
.field select,
.field textarea,
.cart-item,
.featured-card,
.menu-group,
.control-deck,
.overview-panel,
.category-ribbon,
.cart-panel {
  backdrop-filter: blur(14px);
}

.fact-tile {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.fact-tile__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.fact-tile strong,
.overview-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.fact-tile small,
.overview-card span {
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.menu-pane {
  display: grid;
  gap: 22px;
}

.control-deck,
.overview-panel,
.category-ribbon,
.menu-group,
.cart-panel {
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: var(--card);
  box-shadow: var(--shadow);
}

.control-deck,
.overview-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.control-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.05);
}

.mode-switch__button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.mode-switch__button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  box-shadow: 0 12px 26px rgba(14, 93, 102, 0.2);
}

.search-field,
.field {
  display: grid;
  gap: 10px;
}

.field--wide {
  grid-column: 1 / -1;
}

.search-field input,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.search-field input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(14, 93, 102, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 93, 102, 0.08);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.overview-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-card {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 250, 0.88)),
    var(--cream);
}

.featured {
  display: grid;
  gap: 16px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.menu-group__heading h2,
.cart-panel__header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
}

.section-text,
.menu-group__description,
.summary-card__note,
.cart-empty p,
.field span,
.item-modal__description,
.item-modal__content p {
  color: var(--muted);
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 18px;
  border-radius: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 38, 42, 0.02), rgba(20, 38, 42, 0.92)),
    radial-gradient(circle at top right, rgba(241, 109, 93, 0.5), transparent 30%);
  z-index: -1;
}

.featured-card__badge,
.product-card__badge,
.item-modal__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.featured-card__badge {
  margin-bottom: auto;
  color: var(--seaweed);
  background: rgba(255, 245, 232, 0.92);
}

.featured-card--promo::before {
  background:
    linear-gradient(180deg, rgba(20, 38, 42, 0.04), rgba(20, 38, 42, 0.88)),
    radial-gradient(circle at top right, rgba(255, 188, 34, 0.72), transparent 36%),
    radial-gradient(circle at 22% 88%, rgba(241, 109, 93, 0.42), transparent 46%);
}

.featured-card__badge--promo,
.item-modal__badge.item-modal__badge--promo {
  color: #fff8f1;
  text-shadow: 0 1px 1px rgba(72, 10, 10, 0.42);
  background: linear-gradient(138deg, #ff3124 0%, #ff541d 36%, #ff8f00 72%, #ffd447 100%);
  border: 1px solid rgba(161, 33, 0, 0.52);
  box-shadow: 0 10px 24px rgba(219, 47, 0, 0.4);
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  animation: promoBadgePulse 1.8s ease-in-out infinite;
}

.product-card__badge--unavailable,
.item-modal__badge--unavailable {
  color: white;
  background: rgba(192, 73, 57, 0.9);
}

.featured-card h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.featured-card p {
  margin: 0;
  color: rgba(255, 248, 240, 0.88);
}

.featured-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.featured-card__price {
  display: inline-grid;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 800;
}

.featured-card__price small {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.82);
}

.price-stack {
  display: inline-grid;
  gap: 3px;
}

.price-stack s {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.68);
  text-decoration-thickness: 2px;
}

.price-stack__promo {
  color: #ffd166;
}

.price-stack--compact s {
  font-size: 0.78rem;
}

.featured-card__button {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.featured-card__button,
.product-card__action--ghost {
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

.menu-sections {
  display: grid;
  gap: 20px;
}

.menu-group {
  scroll-margin-top: 112px;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
}

.menu-group__heading {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding: 20px 20px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 38, 42, 0.08);
  position: relative;
}

.menu-group__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 6px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--coral), var(--coral-dark));
}

.menu-group--promotions .menu-group__heading {
  background:
    radial-gradient(circle at top right, rgba(255, 203, 93, 0.36), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 232, 0.98), rgba(255, 244, 220, 0.98));
}

.menu-group--promotions .menu-group__heading::before {
  background: linear-gradient(180deg, #f7b437, #f16d5d);
}

.menu-group--promotions .menu-group__heading h2::after {
  content: "HOT";
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #5d1200;
  background: linear-gradient(135deg, #ffe17b, #ffac3d);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 900;
  vertical-align: middle;
}

.menu-group__description {
  max-width: 50ch;
}

.menu-group__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.menu-group__pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 14px 18px;
  background: rgba(245, 240, 232, 0.6);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.product-card + .product-card {
  margin-top: 12px;
}

.product-card--unavailable {
  opacity: 0.72;
}

.product-card--promo {
  border-color: rgba(241, 109, 93, 0.36);
  background:
    radial-gradient(circle at top right, rgba(255, 192, 73, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(241, 109, 93, 0.14);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  width: 132px;
  height: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(20, 38, 42, 0.08), rgba(20, 38, 42, 0));
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: -10px;
  left: -8px;
  z-index: 11;
  pointer-events: none;
  color: white;
  background: rgba(22, 52, 57, 0.8);
  backdrop-filter: blur(12px);
}

.product-card__badge.product-card__badge--promo {
  color: #fff6ec;
  text-shadow: 0 1px 1px rgba(82, 9, 9, 0.48);
  background: linear-gradient(140deg, #ff002b 0%, #ff3a00 34%, #ff7a00 66%, #ffd200 100%);
  border: 1px solid rgba(161, 18, 0, 0.6);
  box-shadow: 0 12px 26px rgba(216, 35, 0, 0.5);
  backdrop-filter: none;
}

.product-card__copy {
  display: grid;
  gap: 10px;
}

.product-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-card__unavailable-note {
  color: var(--coral-dark);
}

.product-card__body {
  display: grid;
  gap: 12px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  display: inline-grid;
  gap: 4px;
  font-size: 1.2rem;
  font-weight: 800;
}

.product-card__price small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.product-card__price .price-stack s,
#itemModalPrice .price-stack s {
  color: var(--muted);
}

.product-card__price .price-stack__promo,
#itemModalPrice .price-stack__promo {
  color: var(--coral);
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card__action {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}

.product-card__action--ghost {
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.06);
}

.product-card__action--primary {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
}

.product-card__action--primary.is-disabled,
.primary-button:disabled,
.text-button:disabled {
  cursor: not-allowed;
  transform: none;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, rgba(113, 113, 113, 0.92), rgba(82, 82, 82, 0.92));
}

.cart-panel {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  max-height: calc(100vh - 32px);
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
}

.cart-panel.is-pulsing {
  animation: cartPulse 650ms ease;
}

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

.cart-order-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
}

.cart-order-status[hidden] {
  display: none !important;
}

.cart-order-status__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-order-status__link {
  color: var(--seaweed);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-order-status__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 52, 57, 0.16);
  background: rgba(22, 52, 57, 0.08);
  color: var(--seaweed);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-order-status__state[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.14);
  color: #8a2e1f;
}

.cart-order-status__state[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.24);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58;
}

.cart-order-status__state[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46;
}

.cart-order-status__state[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.2);
  background: rgba(22, 52, 57, 0.1);
  color: #234046;
}

.cart-order-status__eta {
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-panel__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-panel__close {
  display: none;
}

.text-button {
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.text-button:hover {
  transform: translateY(-1px);
}

.text-button--strong {
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--seaweed);
  background: rgba(22, 52, 57, 0.08);
}

.cart-panel__body {
  display: grid;
  gap: 16px;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-right: 4px;
  align-content: start;
}

.loyalty-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(252, 244, 232, 0.96), rgba(241, 249, 249, 0.9)),
    var(--cream);
}

.loyalty-card--showcase {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 217, 121, 0.95), rgba(255, 217, 121, 0) 28%),
    radial-gradient(circle at 8% 92%, rgba(73, 200, 196, 0.35), rgba(73, 200, 196, 0) 32%),
    linear-gradient(130deg, rgba(17, 78, 86, 0.98) 0%, rgba(19, 102, 110, 0.94) 36%, rgba(241, 109, 93, 0.94) 76%, rgba(246, 182, 90, 0.96) 100%);
  color: white;
}

.loyalty-card--showcase::before {
  content: "";
  position: absolute;
  inset: auto -82px -94px auto;
  width: 260px;
  height: 260px;
  border-radius: 44% 56% 65% 35% / 38% 46% 54% 62%;
  background:
    radial-gradient(circle at 40% 38%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 62% 60%, rgba(255, 217, 121, 0.42), rgba(255, 217, 121, 0) 56%);
  opacity: 0.9;
  pointer-events: none;
}

.loyalty-card--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 16%, rgba(255, 255, 255, 0) 16% 32%, rgba(255, 255, 255, 0.06) 32% 44%, rgba(255, 255, 255, 0) 44% 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.loyalty-card--showcase > * {
  position: relative;
  z-index: 1;
}

.loyalty-card--showcase .loyalty-card__header h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.loyalty-card--showcase .loyalty-card__text {
  max-width: 70ch;
}

.loyalty-card--showcase .section-kicker,
.loyalty-card--showcase .loyalty-card__text,
.loyalty-card--showcase .loyalty-progress__label,
.loyalty-card--showcase .loyalty-reward p {
  color: rgba(255, 248, 238, 0.88);
}

.loyalty-card--showcase .loyalty-card__auth {
  color: var(--seaweed);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 232, 190, 0.98));
  box-shadow: 0 14px 28px rgba(19, 62, 67, 0.2);
}

.loyalty-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.loyalty-card__header h3 {
  margin: 6px 0 0;
  font-size: 1.18rem;
}

.loyalty-card__auth {
  white-space: nowrap;
}

.loyalty-card__text,
.loyalty-progress__label,
.loyalty-reward p,
.auth-modal__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.loyalty-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.loyalty-card--showcase .loyalty-card__stats {
  gap: 12px;
}

.loyalty-stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 38, 42, 0.06);
}

.loyalty-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.loyalty-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.loyalty-card--showcase .loyalty-stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.loyalty-card--showcase .loyalty-stat span {
  color: rgba(255, 246, 240, 0.74);
}

.loyalty-card--showcase .loyalty-stat strong {
  color: white;
  font-size: 1.22rem;
}

.loyalty-progress {
  display: grid;
  gap: 8px;
}

.loyalty-progress__bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.1);
}

.loyalty-card--showcase .loyalty-progress__bar {
  background: rgba(255, 255, 255, 0.2);
}

.loyalty-progress__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--coral), #f6b65a);
  transition: width 220ms ease;
}

.loyalty-card--showcase .loyalty-progress__bar span {
  background: linear-gradient(90deg, var(--sunburst-soft), var(--sunburst), #ff8d7f);
  box-shadow: 0 0 18px rgba(255, 217, 121, 0.55);
}

.loyalty-rewards {
  display: grid;
  gap: 10px;
}

.loyalty-card--showcase .loyalty-rewards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loyalty-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.loyalty-card--showcase .loyalty-reward {
  align-items: start;
  flex-direction: column;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(12, 53, 59, 0.08);
  backdrop-filter: blur(14px);
}

.loyalty-reward strong {
  display: block;
  margin-bottom: 4px;
}

.loyalty-reward span {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--seaweed);
}

.loyalty-card--showcase .loyalty-reward strong,
.loyalty-card--showcase .loyalty-reward span {
  color: white;
}

.loyalty-reward.is-unlocked {
  border-color: rgba(25, 169, 125, 0.28);
  background: rgba(232, 250, 244, 0.88);
}

.loyalty-card--showcase .loyalty-reward.is-unlocked {
  border-color: rgba(255, 217, 121, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 217, 121, 0.26), rgba(73, 200, 196, 0.14)),
    rgba(255, 255, 255, 0.08);
}

.user-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(252, 244, 232, 0.95), rgba(237, 247, 247, 0.9)),
    var(--cream);
}

.user-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.user-panel__header h3 {
  margin: 6px 0 0;
  font-size: 1.18rem;
}

.user-panel__auth {
  white-space: nowrap;
}

.user-panel__state {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.user-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.user-panel__tile {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 6px;
}

.user-panel__tile--wide {
  grid-column: span 2;
}

.user-panel__tile span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.user-panel__tile strong {
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.user-panel__orders {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.user-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.user-order-row > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.user-order-row strong {
  font-size: 0.95rem;
}

.user-order-row span,
.user-order-row small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.user-order-row__status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(14, 93, 102, 0.2);
  background: rgba(14, 93, 102, 0.08);
  color: var(--seaweed) !important;
  font-size: 0.75rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.user-order-row__status[data-status="new"] {
  border-color: rgba(241, 109, 93, 0.26);
  background: rgba(241, 109, 93, 0.12);
  color: #8a2e1f !important;
}

.user-order-row__status[data-status="preparing"] {
  border-color: rgba(15, 136, 149, 0.26);
  background: rgba(15, 136, 149, 0.12);
  color: #0d4f58 !important;
}

.user-order-row__status[data-status="courier"] {
  border-color: rgba(25, 169, 125, 0.26);
  background: rgba(25, 169, 125, 0.12);
  color: #0d5e46 !important;
}

.user-order-row__status[data-status="completed"] {
  border-color: rgba(22, 52, 57, 0.18);
  background: rgba(22, 52, 57, 0.09);
  color: #203f44 !important;
}

.delivery-config {
  display: grid;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty {
  padding: 22px;
  border: 1px dashed rgba(14, 93, 102, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
}

.cart-empty h3 {
  margin: 0 0 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
}

.cart-item__copy {
  display: grid;
  gap: 8px;
}

.cart-item__copy h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-item__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 52, 57, 0.06);
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--seaweed);
  background: white;
  cursor: pointer;
}

.qty-control strong {
  min-width: 22px;
  text-align: center;
}

.cart-item__remove {
  color: var(--coral-dark);
  background: transparent;
  font-weight: 800;
}

.summary-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.summary-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-card__row + .summary-card__row {
  margin-top: 10px;
}

.summary-card__divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.summary-card__row--total {
  font-size: 1.12rem;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-mode {
  display: grid;
  gap: 8px;
}

.checkout-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-form__grid--delivery {
  grid-template-columns: minmax(0, 1fr);
}

.checkout-form__grid--address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-address {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.checkout-address__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkout-address__city-street {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.checkout-address__city-street input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.checkout-address__city-street input:focus {
  border-color: rgba(14, 93, 102, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 93, 102, 0.08);
}

.checkout-address__hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.address-suggestions--cart {
  margin-top: 0;
  max-height: 240px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 3;
}

#cartCustomerAddress,
#cartCustomerCity,
#cartCustomerStreet,
#cartCustomerBuildingNumber,
#cartCustomerApartmentNumber,
#customerCity,
#customerStreet {
  font-size: 16px;
}

.mobile-cart-button,
.drawer-scrim,
.mobile-nav-scrim,
.mobile-nav-panel,
.welcome-bubble,
.upsell-modal,
.item-modal,
.auth-modal {
  display: none;
}

.mobile-cart-button {
  position: fixed;
  left: 14px;
  right: auto;
  bottom: 14px;
  z-index: 24;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--seaweed), var(--lagoon));
  box-shadow: 0 18px 40px rgba(14, 93, 102, 0.3);
  font: inherit;
  font-weight: 800;
}

.mobile-cart-button > :not(.mobile-cart-button__icon):not(.mobile-cart-button__count):not(.mobile-cart-button__total) {
  display: none !important;
}

.mobile-cart-button.is-pulsing {
  animation: cartPulse 650ms ease;
}

.mobile-cart-button__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.mobile-cart-button__count {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 22px;
  min-height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--seaweed);
  background: #ffd979;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart-button__total {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.welcome-bubble {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 34;
  display: grid;
  width: min(760px, calc(100% - 24px));
  padding: 28px;
  border-radius: 34px;
  color: white;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at top right, rgba(255, 233, 166, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(101, 28, 16, 0.98), rgba(206, 71, 47, 0.96) 55%, rgba(241, 147, 61, 0.94));
  box-shadow:
    0 36px 90px rgba(105, 31, 9, 0.34),
    0 0 0 100vmax rgba(12, 25, 28, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.welcome-bubble[hidden] {
  display: none;
}

.welcome-bubble.is-visible {
  display: grid;
  animation: welcomeBubbleIn 320ms ease;
}

.welcome-bubble::after {
  content: none;
}

.welcome-bubble .section-kicker,
.welcome-bubble p {
  margin: 0;
  color: rgba(255, 247, 240, 0.88);
}

.welcome-bubble__layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.welcome-bubble__mascot {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 244, 232, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.welcome-bubble__mascot::before {
  content: "";
  position: absolute;
  inset: auto 12% 6%;
  height: 22%;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(16, 20, 22, 0.3), rgba(16, 20, 22, 0) 72%);
  filter: blur(10px);
  z-index: 1;
}

.welcome-bubble__mascot img {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.welcome-bubble__content {
  display: grid;
  gap: 14px;
}

.welcome-bubble__speech {
  justify-self: start;
  max-width: 28ch;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  color: #23201d !important;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 14px 36px rgba(64, 19, 7, 0.18);
  font-weight: 800;
  line-height: 1.45;
}

.welcome-bubble h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 0.92;
  color: white;
}

.welcome-bubble__headline-accent {
  display: inline-block;
  padding: 0 0.18em 0.04em;
  color: #fff7da;
  text-decoration: underline;
  text-decoration-thickness: 0.18em;
  text-decoration-color: #ffd65c;
  text-underline-offset: 0.16em;
  background: linear-gradient(180deg, rgba(255, 214, 92, 0) 0 54%, rgba(255, 214, 92, 0.22) 54% 100%);
}

.welcome-bubble p:not(.section-kicker):not(.welcome-bubble__speech) {
  max-width: 34ch;
  justify-self: start;
  font-size: 1.05rem;
  line-height: 1.5;
}

.welcome-bubble__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  color: white;
  background: rgba(16, 20, 22, 0.28);
}

.welcome-bubble__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.welcome-bubble__actions .primary-button,
.welcome-bubble__actions .secondary-button {
  min-width: 190px;
  min-height: 54px;
}

.welcome-bubble__actions .secondary-button {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.welcome-bubble__quick-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-auth-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 31;
  background: rgba(10, 18, 20, 0.42);
  backdrop-filter: blur(3px);
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 32;
  width: min(400px, calc(100% - 34px));
  height: 100svh;
  padding: 18px 16px 20px;
  border-left: 1px solid rgba(20, 38, 42, 0.12);
  background:
    radial-gradient(circle at top right, rgba(241, 109, 93, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(255, 248, 239, 0.98));
  box-shadow: -22px 0 44px rgba(16, 38, 42, 0.18);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.mobile-nav-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 38, 42, 0.1);
  color: var(--seaweed);
}

.mobile-nav-panel__header strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 42, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--seaweed);
}

.mobile-nav-panel__actions {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  color: var(--seaweed);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-scrim.is-open {
  display: block;
}

.mobile-nav-panel.is-open {
  display: block;
  transform: translateX(0);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(12, 25, 28, 0.44);
  backdrop-filter: blur(4px);
}

.item-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}

.upsell-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
}

.upsell-modal[hidden] {
  display: none;
}

.upsell-modal.is-visible {
  display: block;
}

.item-modal[hidden] {
  display: none;
}

.item-modal.is-visible {
  display: block;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal.is-visible {
  display: block;
}

.item-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.54);
}

.auth-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.58);
}

.upsell-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 28, 0.56);
}

.item-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 24px));
  margin: 24px auto;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 24px));
  margin: 56px auto;
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.upsell-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 24px));
  margin: 48px auto;
  border-radius: 28px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.item-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  color: white;
  background: rgba(20, 38, 42, 0.48);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.upsell-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.item-modal__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.item-modal__content {
  display: grid;
  gap: 12px;
  padding: 24px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-modal__content {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.upsell-modal__content {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.item-modal__badge {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
}

.item-modal__content h2 {
  margin: 0;
  font-size: 2rem;
}

.item-modal__content p {
  margin: 0;
}

#itemModalPrice {
  display: inline-grid;
  gap: 4px;
}

#itemModalPrice small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

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

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-provider-shortcuts {
  display: grid;
  gap: 8px;
}

.auth-provider-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.14);
  color: var(--seaweed);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.auth-provider-button__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.auth-provider-button--facebook {
  border-color: rgba(24, 119, 242, 0.3);
}

.auth-provider-button__logo--facebook {
  color: white;
  background: #1877f2;
  font-size: 1.35rem;
  text-transform: lowercase;
}

.auth-provider-button--apple {
  border-color: rgba(20, 38, 42, 0.22);
}

.auth-provider-button__logo--apple {
  color: #0e1516;
  background: #ffffff;
  border: 1px solid rgba(20, 38, 42, 0.2);
  font-size: 1.2rem;
}

.auth-provider-button--google {
  border-color: rgba(20, 38, 42, 0.22);
}

.auth-provider-button__logo--google {
  border: 1px solid rgba(20, 38, 42, 0.16);
  color: transparent;
  background:
    linear-gradient(45deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.28rem;
}

.auth-modal__logout {
  justify-self: start;
}

.upsell-modal__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.upsell-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.upsell-card.is-added {
  border-color: rgba(25, 169, 125, 0.24);
  background: linear-gradient(180deg, rgba(232, 250, 244, 0.92), rgba(245, 255, 251, 0.84));
}

.upsell-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.upsell-card__copy {
  display: grid;
  gap: 8px;
}

.upsell-card__copy strong {
  font-size: 1.12rem;
}

.upsell-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.upsell-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upsell-card__price {
  font-size: 1.15rem;
  font-weight: 800;
}

.upsell-card__price .price-stack {
  gap: 2px;
}

.product-card__action--primary.is-added {
  color: var(--seaweed);
  background: rgba(25, 169, 125, 0.12);
}

.upsell-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@keyframes welcomeBubbleIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.address-tools {
  display: grid;
  gap: 10px;
}

.address-tools__hint {
  color: var(--muted);
  line-height: 1.5;
}

.route-card {
  margin-top: 12px;
}

.route-card--hero {
  margin-top: 0;
}

.route-card--cart {
  margin-top: 6px;
}

.route-card--cart:empty {
  display: none;
}

.route-card__panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(20, 38, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.route-card__panel strong,
.route-card__stats strong {
  display: block;
}

.route-card__panel p,
.route-card__meta,
.route-card__stats span {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.route-card__panel--success {
  background: linear-gradient(180deg, rgba(232, 250, 244, 0.9), rgba(245, 255, 251, 0.82));
  border-color: rgba(25, 169, 125, 0.2);
}

.route-card__panel--error {
  background: linear-gradient(180deg, rgba(255, 241, 238, 0.9), rgba(255, 250, 245, 0.82));
  border-color: rgba(209, 69, 51, 0.22);
}

.route-card__panel--info,
.route-card__panel--idle {
  background: rgba(255, 255, 255, 0.78);
}

.route-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.route-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-card__stats span {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 24px 80px rgba(241, 109, 93, 0.28);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
}

@keyframes promoBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(255, 120, 30, 0.32);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(255, 120, 30, 0.44);
  }
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 8px;
    z-index: 29;
    width: auto;
    height: auto;
    max-height: min(62dvh, 560px);
    border-radius: 22px;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease;
    overflow: hidden;
  }

  .cart-panel__body {
    min-height: 0;
    max-height: calc(min(62dvh, 560px) - 110px);
    overflow: auto;
    padding-right: 0;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.cart-drawer-open .drawer-scrim {
    display: block;
  }

  .cart-panel__close {
    display: inline-flex;
  }

  .mobile-cart-button {
    display: flex;
  }
}

@media (max-width: 980px) {
  .mobile-address-strip {
    display: none !important;
  }

  #customerAddress,
  #mobileAddressInput,
  .hero-address__city-street input,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .address-suggestions__status,
  .address-suggestion strong,
  .address-suggestion span {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .hero-address__city-street {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-address__split {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
  }

  .order-tracker {
    width: calc(100% - 24px);
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .order-tracker__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-tracker__tile--wide {
    grid-column: span 2;
  }

  .hero-backdrop {
    transform: none;
  }

  .hero-body,
  .control-deck,
  .featured-grid,
  .overview-panel {
    grid-template-columns: 1fr;
  }

  .hero-body {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 112px);
    align-items: stretch;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .mobile-address-strip {
    position: sticky;
    top: 66px;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(760px, calc(100% - 24px));
    margin: 8px auto 0;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 20, 24, 0.38);
    backdrop-filter: blur(10px);
  }

  .mobile-address-strip input {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }

  .mobile-address-strip input::placeholder {
    color: rgba(255, 246, 238, 0.76);
  }

  .mobile-address-strip__go {
    min-width: 46px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--seaweed);
    background: #ffd979;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .hero-copy {
    display: none;
  }

  .hero-summary__grid,
  .checkout-form__grid {
    grid-template-columns: 1fr;
  }

  .hero-summary {
    display: none;
  }

  .hero-summary__header,
  .hero-summary__intro,
  .hero-summary__grid {
    display: none;
  }

  .hero-mobile-loyalty-slot {
    display: block;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
  }

  .hero-mobile-loyalty-slot .loyalty-card {
    margin-top: 0;
    border-radius: 20px;
    background:
      radial-gradient(circle at 90% 12%, rgba(255, 217, 121, 0.34), rgba(255, 217, 121, 0) 30%),
      linear-gradient(130deg, rgba(17, 78, 86, 0.96), rgba(241, 109, 93, 0.92));
    box-shadow: 0 12px 30px rgba(16, 38, 42, 0.26);
  }

  .route-card--hero:empty {
    display: none;
  }

  .control-deck {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .control-deck .search-field {
    display: none;
  }

  #mobileAddressMount {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  #mobileAddressMount .hero-address {
    margin-top: 0;
    border-radius: 20px;
    background: rgba(255, 249, 241, 0.96);
    box-shadow: 0 12px 30px rgba(16, 38, 42, 0.22);
  }

  .featured {
    display: none;
  }

  .overview-panel {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 8px 10px 12px;
    background: transparent;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
  }

  .product-card + .product-card {
    margin-top: 0;
  }

  .product-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .product-card__badge {
    top: -7px;
    left: -6px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .product-card__badge--promo {
    min-height: 30px;
    padding: 0 11px;
    font-size: 0.7rem;
  }

  .product-card h3 {
    margin-bottom: 6px;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .product-card__copy {
    gap: 6px;
  }

  .product-card__copy p {
    font-size: 0.84rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card__footer {
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__price {
    font-size: 0.98rem;
  }

  .product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-card__action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .product-card__action--ghost {
    display: none;
  }

  .section-heading,
  .menu-group__heading {
    flex-direction: column;
    align-items: start;
  }

  .control-deck .section-kicker {
    letter-spacing: 0.12em;
  }

  .search-field input {
    min-height: 48px;
  }

  .loyalty-card--showcase {
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 90% 12%, rgba(255, 217, 121, 0.34), rgba(255, 217, 121, 0) 30%),
      linear-gradient(130deg, rgba(17, 78, 86, 0.96), rgba(241, 109, 93, 0.92));
  }

  .loyalty-card--showcase::before,
  .loyalty-card--showcase::after {
    display: none;
  }

  .loyalty-card__header {
    align-items: center;
  }

  .loyalty-card__text {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .loyalty-card--showcase .loyalty-card__stats,
  .loyalty-card--showcase .loyalty-progress,
  .loyalty-card--showcase .loyalty-rewards {
    display: none;
  }

  .user-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-panel__tile--wide {
    grid-column: span 2;
  }

  .user-order-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .route-card__stats {
    grid-template-columns: 1fr;
  }

  .reveal,
  body.reveal-ready .reveal,
  body.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-topbar {
    position: sticky;
    top: 10px;
    z-index: 4;
    align-items: center;
    flex-direction: row;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(8, 20, 24, 0.36);
    backdrop-filter: blur(10px);
  }

  .hero-topbar__actions,
  .hero-badges,
  .hero-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .cart-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 8px;
    z-index: 29;
    max-height: min(62dvh, 560px);
    height: auto;
    border-radius: 22px;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(14, 36, 39, 0.32);
  }

  .cart-panel__body {
    max-height: calc(min(62dvh, 560px) - 110px);
    overflow: auto;
  }

  .cart-panel__close {
    display: inline-flex;
  }

  .cart-panel__header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .cart-panel__actions {
    order: -1;
    justify-self: start;
  }

  .cart-panel__actions .text-button {
    display: none;
  }

  .mobile-cart-button {
    display: flex;
  }

  .drawer-scrim {
    z-index: 28;
    background: rgba(10, 20, 24, 0.42);
  }

  body.cart-drawer-open .drawer-scrim {
    display: block;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.mobile-nav-open .mobile-nav-scrim {
    display: block;
  }

  body.mobile-nav-open .mobile-nav-panel {
    display: block;
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .grain {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0 10px 88px;
  }

  .order-tracker {
    width: calc(100% - 16px);
    padding: 10px;
    border-radius: 14px;
  }

  .order-tracker__header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .order-tracker__status {
    width: fit-content;
  }

  .order-tracker__grid {
    grid-template-columns: 1fr;
  }

  .order-tracker__tile--wide {
    grid-column: auto;
  }

  .hero-backdrop {
    transform: none;
  }

  .hero-video {
    inset: -8%;
    width: calc(100% + 16%);
    height: calc(100% + 16%);
    object-position: center 46%;
    transform: scale(0.84);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 20, 22, 0.04), rgba(7, 20, 22, 0.12));
  }

  .hero,
  .control-deck,
  .overview-panel,
  .category-ribbon,
  .menu-group,
  .cart-panel {
    padding: 16px;
  }

  .cart-panel {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    max-height: min(56dvh, 480px);
    border-radius: 18px;
  }

  .cart-panel__body {
    max-height: calc(min(56dvh, 480px) - 102px);
  }

  .cart-order-status {
    gap: 4px 6px;
    margin-top: 6px;
  }

  .cart-order-status__label {
    font-size: 0.66rem;
  }

  .cart-order-status__state {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.6rem;
  }

  .cart-order-status__eta,
  .cart-order-status__link {
    font-size: 0.74rem;
  }

  .hero {
    min-height: 100dvh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 14px 32px rgba(22, 52, 57, 0.12);
  }

  .hero-body {
    min-height: calc(100dvh - 106px);
    gap: 10px;
    margin-top: 8px;
  }

  .hero-topbar,
  .hero-body {
    width: calc(100% - 24px);
  }

  .hero-topbar {
    padding-top: calc(10px + env(safe-area-inset-top));
  }

  .mobile-address-strip {
    top: calc(62px + env(safe-area-inset-top));
    width: calc(100% - 24px);
  }

  .hero-summary,
  .fact-tile,
  .overview-card,
  .product-card,
  .summary-card,
  .field input,
  .field select,
  .field textarea,
  .cart-item,
  .featured-card,
  .menu-group,
  .control-deck,
  .overview-panel,
  .category-ribbon,
  .cart-panel,
  .ghost-button,
  .hero-badge,
  .secondary-button,
  .drawer-scrim {
    backdrop-filter: none;
  }

  .control-deck,
  .overview-panel,
  .category-ribbon,
  .menu-group,
  .cart-panel,
  .hero-summary {
    box-shadow: 0 12px 28px rgba(22, 52, 57, 0.1);
  }

  .hero-summary {
    margin-top: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .hero-address,
  .fact-tile,
  .overview-card,
  .product-card,
  .menu-group__heading,
  .summary-card,
  .cart-item {
    background: rgba(255, 250, 244, 0.98);
  }

  .ghost-button,
  .secondary-button,
  .hero-badge,
  .address-suggestions {
    background: rgba(14, 22, 24, 0.3);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .address-suggestion {
    background: rgba(255, 250, 244, 0.98);
  }

  .hero-summary__header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-summary__header img {
    width: 52px;
    height: 52px;
    border-width: 2px;
  }

  .hero-summary__header h2 {
    font-size: 1.16rem;
    line-height: 1.2;
  }

  .fact-tile--mode {
    padding: 12px;
  }

  .mode-switch {
    padding: 6px;
    gap: 6px;
  }

  .mode-switch__button {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .hero-address {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .hero-address__hint {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-address__check {
    width: 100%;
    min-height: 44px;
  }

  .route-card__panel {
    padding: 12px;
    border-radius: 16px;
  }

  .route-card__stats span {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .menu-pane {
    gap: 16px;
  }

  .menu-group {
    border-radius: 22px;
  }

  .menu-group__heading {
    padding: 14px 14px 10px;
    gap: 10px;
  }

  .menu-group__heading::before {
    top: 12px;
    bottom: 12px;
  }

  .product-grid {
    padding: 8px 10px 12px;
  }

  .mobile-nav-panel {
    width: min(340px, calc(100% - 20px));
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .loyalty-card__header,
  .loyalty-reward,
  .mobile-nav-panel__actions {
    width: 100%;
  }

  .loyalty-card__header,
  .loyalty-reward {
    flex-direction: column;
    align-items: stretch;
  }

  .user-panel {
    padding: 14px;
    border-radius: 18px;
    gap: 12px;
  }

  .user-panel__header {
    flex-direction: column;
    align-items: stretch;
  }

  .user-panel__grid {
    grid-template-columns: 1fr;
  }

  .user-panel__tile--wide {
    grid-column: auto;
  }

  .user-panel__orders {
    max-height: 220px;
  }

  .hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .welcome-bubble {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 18px);
    top: 50%;
    padding: 14px;
    border-radius: 18px;
    overflow: auto;
  }

  .welcome-bubble__layout {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .welcome-bubble__mascot {
    border-radius: 14px;
  }

  .welcome-bubble__speech {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .welcome-bubble h3 {
    font-size: clamp(1.35rem, 7.5vw, 1.95rem);
    line-height: 0.98;
  }

  .welcome-bubble p:not(.section-kicker):not(.welcome-bubble__speech) {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .welcome-bubble__quick-auth {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .social-auth-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .welcome-bubble__actions {
    gap: 8px;
  }

  .welcome-bubble__actions .primary-button,
  .welcome-bubble__actions .secondary-button {
    min-width: 0;
    min-height: 46px;
    width: 100%;
  }

  .upsell-grid {
    grid-template-columns: 1fr;
  }

  .upsell-modal__footer {
    flex-direction: column;
  }

  .upsell-modal__footer > * {
    width: 100%;
    justify-content: center;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-card {
    min-height: 236px;
    padding: 16px;
    border-radius: 20px;
    background-position: center 24%;
  }

  .featured-card__button {
    background: rgba(14, 22, 24, 0.34);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .product-card__footer,
  .featured-card__footer,
  .item-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card {
    padding: 10px;
    border-radius: 16px;
  }

  .product-card__media {
    border-radius: 12px;
  }

  .product-card h3 {
    margin-bottom: 6px;
    font-size: 0.94rem;
  }

  .product-card__copy p {
    -webkit-line-clamp: 2;
  }

  .product-card__price {
    font-size: 0.94rem;
  }

  .product-card__price small {
    font-size: 0.66rem;
  }

  .product-card__action,
  .featured-card__button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .drawer-scrim {
    background: rgba(12, 25, 28, 0.34);
  }

  .mobile-cart-button {
    left: 12px;
    right: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .product-card {
    padding: 10px;
  }

  .product-card__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 1180px) {
  body:not(.cart-drawer-open) .cart-panel {
    transform: translateY(calc(100% + 24px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.cart-drawer-open .cart-panel {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .cart-panel {
    position: fixed !important;
    top: calc(8px + env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    max-height: none !important;
    height: auto !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 20px !important;
    backdrop-filter: none !important;
    background: rgba(255, 250, 244, 0.98) !important;
    box-shadow: 0 22px 56px rgba(14, 36, 39, 0.26) !important;
  }

  .cart-panel__header h2 {
    font-size: 1.3rem !important;
  }

  .cart-panel__body {
    max-height: none !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding-right: 0 !important;
  }

  .cart-item {
    grid-template-columns: 60px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  .cart-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
  }

  .cart-item__copy h3 {
    font-size: 0.9rem !important;
  }

  .cart-item__copy p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .summary-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .summary-card__row {
    font-size: 0.92rem !important;
  }

  .summary-card__row--total {
    font-size: 1.02rem !important;
  }

  .summary-card__note {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  .checkout-form {
    gap: 10px !important;
  }

  .checkout-form .field span {
    font-size: 0.82rem !important;
  }

  #customerName,
  #customerPhone,
  #customerDetails,
  #cartCustomerAddress,
  #cartCustomerBuildingNumber,
  #cartCustomerApartmentNumber {
    font-size: 16px !important;
  }

  .field textarea {
    min-height: 72px !important;
  }

  .checkout-form .primary-button--full {
    min-height: 44px !important;
    font-size: 0.92rem !important;
  }

  .drawer-scrim {
    display: none !important;
    backdrop-filter: none !important;
    background: transparent !important;
  }

  body.cart-drawer-open .drawer-scrim {
    display: none !important;
  }

  .mobile-cart-button {
    left: auto !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 40px rgba(14, 93, 102, 0.34) !important;
  }

  .mobile-cart-button__icon {
    transform: translateY(-8px);
  }

  .mobile-cart-button__count {
    top: -3px;
    right: -1px;
  }

  .mobile-cart-button__total {
    bottom: 10px;
    font-size: 0.62rem;
  }

  .upsell-modal {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
  }

  .upsell-modal__dialog {
    width: calc(100% - 4px) !important;
    margin: 0 auto !important;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .upsell-modal__content {
    gap: 10px !important;
    padding: 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .upsell-modal__text {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .upsell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .upsell-card {
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .upsell-card__image {
    height: 88px !important;
    border-radius: 10px !important;
  }

  .upsell-card__copy {
    gap: 4px !important;
  }

  .upsell-card__copy strong {
    font-size: 0.88rem !important;
    line-height: 1.22 !important;
  }

  .upsell-card__copy p {
    font-size: 0.76rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .upsell-card__footer {
    gap: 6px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .upsell-card__price {
    font-size: 0.92rem !important;
  }

  .upsell-card__footer .product-card__action {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.82rem !important;
  }

  .upsell-modal__footer {
    flex-direction: row !important;
    gap: 8px !important;
  }

  .upsell-modal__footer > * {
    width: 100% !important;
    min-height: 40px !important;
  }
}

/* Account + order status polish */
.loyalty-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.loyalty-account-tile {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--seaweed);
  background: linear-gradient(135deg, rgba(255, 247, 235, 0.95), rgba(255, 224, 176, 0.94));
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.loyalty-account-tile span {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.loyalty-account-tile small {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(22, 52, 57, 0.78);
}

.loyalty-account-tile[hidden] {
  display: none !important;
}

.loyalty-reward__claim {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(22, 52, 57, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.loyalty-reward__claim:disabled {
  border-color: rgba(22, 52, 57, 0.12);
  color: rgba(22, 52, 57, 0.42);
  background: rgba(255, 255, 255, 0.58);
}

@keyframes cartStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 109, 93, 0.24);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(241, 109, 93, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 109, 93, 0);
  }
}

.cart-order-status {
  position: relative;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(22, 52, 57, 0.14);
  background:
    linear-gradient(140deg, rgba(255, 246, 232, 0.92), rgba(237, 247, 247, 0.9));
  animation: cartStatusPulse 2.6s ease-in-out infinite;
}

.cart-order-status::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(241, 109, 93, 0.1), rgba(246, 182, 90, 0.08));
}

.cart-order-status > * {
  position: relative;
  z-index: 1;
}

.cart-order-status__label {
  color: rgba(22, 52, 57, 0.72);
}

.cart-order-status__eta {
  font-weight: 800;
}

.account-modal__dialog {
  width: min(980px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

.account-modal__content {
  max-height: calc(100dvh - 84px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.account-modal__content .user-panel {
  border: 0;
  padding: 0;
  background: transparent;
}

.user-order-day {
  display: grid;
  gap: 8px;
}

.user-order-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.user-order-day__header strong {
  font-size: 0.88rem;
}

.user-order-day__header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.user-order-day__rows {
  display: grid;
  gap: 8px;
}

.user-order-row strong a {
  color: var(--seaweed);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.user-order-row__actions {
  justify-items: end;
}

.user-order-row__actions .text-button {
  min-height: 30px;
  padding: 4px 10px;
}

.order-details-modal__dialog {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

.order-details-modal__content {
  max-height: calc(100dvh - 84px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
}

.order-details-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-details-modal__line {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-details-modal__items {
  display: grid;
  gap: 8px;
}

.order-details-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.order-details-modal__item span {
  color: var(--seaweed);
  font-weight: 700;
}

.order-details-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .account-modal__dialog,
  .order-details-modal__dialog {
    width: calc(100% - 10px);
    margin: 8px auto;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  .account-modal__content,
  .order-details-modal__content {
    max-height: calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 16px;
  }

  .user-order-day__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-order-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .user-order-row__actions {
    justify-items: start;
  }

  .order-details-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1180px) {
  .checkout-address__city-street {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .checkout-address__check {
    width: 100% !important;
    min-height: 42px !important;
  }

  .checkout-form__grid--address {
    grid-template-columns: 1fr !important;
  }

  .checkout-address {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .address-suggestions--cart {
    max-height: 190px !important;
  }

  .item-modal {
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .item-modal__dialog {
    width: calc(100% - 4px) !important;
    margin: 0 auto !important;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
  }

  .item-modal__image {
    height: 180px !important;
  }

  .item-modal__content {
    padding: 14px !important;
    gap: 10px !important;
  }
}
