/* HOP Club Premium V7 — presentation layer only */
:root {
  --v7-green: #0b3b2c;
  --v7-green-2: #145941;
  --v7-green-soft: #e8f2ed;
  --v7-red: #b5252d;
  --v7-red-dark: #8e1921;
  --v7-cream: #f7f3ea;
  --v7-paper: #fffdf9;
  --v7-beige: #eadfc9;
  --v7-gold: #c79a3a;
  --v7-ink: #17201c;
  --v7-muted: #6d746f;
  --v7-line: rgba(11, 59, 44, .11);
  --v7-shadow: 0 10px 30px rgba(30, 43, 36, .08);
  --v7-shadow-high: 0 24px 60px rgba(22, 35, 29, .16);
  --v7-radius-sm: 12px;
  --v7-radius: 18px;
  --v7-radius-lg: 26px;
  --v7-content: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--v7-cream);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 154, 58, .08), transparent 24rem),
    var(--v7-cream);
  color: var(--v7-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(181, 37, 45, .22);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

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

.network-banner {
  position: fixed;
  z-index: 140;
  inset: 0 0 auto;
  padding: max(10px, env(safe-area-inset-top)) 20px 10px;
  background: var(--v7-red);
  color: white;
  font-size: .82rem;
  font-weight: 750;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--v7-green-2);
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:active:not([disabled]) { transform: scale(.975); }
.button[disabled] { opacity: .5; cursor: not-allowed; }

.button.primary {
  background: linear-gradient(135deg, var(--v7-green-2), var(--v7-green));
  color: white;
  box-shadow: 0 9px 20px rgba(11, 59, 44, .2);
}

.button.secondary {
  border: 1px solid var(--v7-line);
  background: white;
  color: var(--v7-green);
  box-shadow: 0 4px 14px rgba(22, 35, 29, .05);
}

.button.ghost { background: transparent; color: var(--v7-green); }
.button.danger, .danger-text { color: var(--v7-red) !important; }
.button.light { background: white; color: var(--v7-green); box-shadow: none; }

.text-button,
.text-link,
.section-title button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--v7-green-2);
  font-weight: 800;
  cursor: pointer;
}

.light-text { color: rgba(255, 255, 255, .9); }

.surface-card,
.status-row,
.activity-row,
.reward-card,
.member-card-shell,
.state-card {
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
  background: var(--v7-paper);
  box-shadow: var(--v7-shadow);
}

/* Login */
.login-screen {
  width: min(100%, 1120px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(40px, calc(env(safe-area-inset-top) + 26px)) clamp(22px, 6vw, 72px) max(36px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  grid-template-areas: "brand form" "copy form" "notice form" "link form";
  align-content: center;
  column-gap: clamp(40px, 8vw, 100px);
}

.login-brand { grid-area: brand; margin-bottom: 28px; }
.login-brand img { display: block; width: min(260px, 70vw); height: 68px; object-fit: contain; object-position: left center; }
.login-copy { grid-area: copy; max-width: 580px; }

.login-copy h1 {
  max-width: 560px;
  margin: 14px 0 16px;
  color: var(--v7-green);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .98;
}

.login-copy > p:last-child { max-width: 520px; margin: 0; color: var(--v7-muted); font-size: 1.04rem; }

.login-form {
  grid-area: form;
  padding: clamp(24px, 4vw, 38px);
  align-self: center;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(11, 59, 44, .1);
  border-radius: 28px;
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--v7-shadow-high);
}

.login-form label,
.field { display: grid; gap: 8px; }

.login-form label > span,
.field > span { color: var(--v7-green); font-size: .82rem; font-weight: 800; }

.login-form input,
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid rgba(11, 59, 44, .15);
  border-radius: 13px;
  background: white;
  color: var(--v7-ink);
}

.login-form input:focus,
.field input:focus,
.field textarea:focus { border-color: var(--v7-green-2); box-shadow: 0 0 0 4px rgba(20, 89, 65, .09); outline: 0; }

.form-status { min-height: 1.2em; margin: -3px 0 0; color: var(--v7-red); font-size: .82rem; font-weight: 700; }

.auth-tabs { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; background: var(--v7-green-soft); }
.auth-tabs button { min-height: 42px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; color: var(--v7-muted); font-size: .78rem; font-weight: 850; cursor: pointer; }
.auth-tabs button.active { background: var(--v7-paper); color: var(--v7-green); box-shadow: 0 5px 14px rgba(11, 59, 44, .1); }

.preview-notice {
  grid-area: notice;
  max-width: 500px;
  margin-top: 32px;
  padding: 15px 17px;
  display: grid;
  gap: 3px;
  border-radius: 14px;
  background: rgba(234, 223, 201, .6);
  color: var(--v7-muted);
  font-size: .8rem;
}

.preview-notice strong { color: var(--v7-green); }
.current-app-link { grid-area: link; width: max-content; margin-top: 18px; color: var(--v7-green-2); font-size: .82rem; font-weight: 750; }

/* Shell */
.app-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
}

.safe-header {
  position: sticky;
  z-index: 50;
  top: 0;
  left: auto;
  right: auto;
  transform: none;
  width: min(calc(100% - 24px), var(--v7-content));
  height: calc(68px + env(safe-area-inset-top));
  margin: 0 auto;
  padding: env(safe-area-inset-top) 10px 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  border-bottom: 1px solid rgba(11, 59, 44, .07);
  border-radius: 0 0 22px 22px;
  background: rgba(247, 243, 234, .9);
  box-shadow: 0 8px 24px rgba(30, 43, 36, .045);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-brand { width: min(190px, 52vw); height: 46px; margin: auto; display: grid; place-items: center; }
.header-brand img { width: 100%; height: 43px; object-fit: contain; }

.icon-button,
.drawer-close,
.modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 59, 44, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .86);
  color: var(--v7-green);
  box-shadow: 0 5px 14px rgba(24, 38, 31, .06);
  cursor: pointer;
}

.icon-button svg,
.drawer-close svg,
.bottom-nav svg,
.inline-icon,
.home-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--v7-cream);
  border-radius: 99px;
  background: var(--v7-red);
  color: white;
  font-size: .62rem;
  font-weight: 900;
}

.page-content {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 150px);
  margin: 0;
  padding: 0;
}

.page {
  width: min(100%, var(--v7-content));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 34px) calc(112px + env(safe-area-inset-bottom));
  animation: v7-page-in .32s ease both;
}

@keyframes v7-page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.page-heading { max-width: 720px; margin-bottom: 32px; }
.page-heading h1,
.display-heading,
.greeting h1 {
  margin: 8px 0 10px;
  color: var(--v7-green);
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.page-heading p:last-child { max-width: 640px; margin: 0; color: var(--v7-muted); font-size: 1rem; }

.compact-heading { margin-bottom: 24px; }
.compact-heading h1 { font-size: clamp(2rem, 4.3vw, 3.25rem); }

/* Home */
.greeting {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.greeting h1 { max-width: 760px; margin-bottom: 0; }

.greeting-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: var(--v7-green);
  color: white;
  box-shadow: 0 7px 18px rgba(11, 59, 44, .17);
  font-size: .84rem;
  font-weight: 850;
}

.home-search,
.menu-search {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(11, 59, 44, .1);
  border-radius: 16px;
  background: rgba(255, 253, 249, .94);
  color: var(--v7-muted);
  box-shadow: 0 7px 20px rgba(29, 43, 36, .06);
  text-align: left;
}

.home-search { cursor: pointer; }
.home-search svg, .menu-search svg { flex: 0 0 auto; color: var(--v7-green); }
.home-search span { font-weight: 650; }

.home-categories,
.category-scroller {
  margin: 13px 0 24px;
  padding: 2px 1px 8px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-categories::-webkit-scrollbar,
.category-scroller::-webkit-scrollbar,
.featured-scroller::-webkit-scrollbar { display: none; }

.home-categories button,
.category-scroller button {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  border: 1px solid rgba(11, 59, 44, .11);
  border-radius: 999px;
  background: var(--v7-paper);
  color: var(--v7-green);
  font-size: .82rem;
  font-weight: 760;
  cursor: pointer;
}

.home-categories button:first-child,
.category-scroller button.active {
  border-color: var(--v7-green);
  background: var(--v7-green);
  color: white;
}

.home-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(310px, .78fr); gap: 24px; align-items: start; }
.home-primary, .home-secondary { min-width: 0; display: grid; gap: 18px; }

.pickup-banner {
  position: relative;
  min-height: 280px;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  border-radius: var(--v7-radius-lg);
  background:
    linear-gradient(90deg, rgba(7, 38, 28, .96) 0%, rgba(11, 59, 44, .82) 54%, rgba(11, 59, 44, .2) 100%),
    url('/public/assets/media/homepage/hero/20260708025551-ml-pizza-png.webp') center 54% / cover;
  color: white;
  box-shadow: var(--v7-shadow-high);
}

.pickup-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(199, 154, 58, .13), transparent 42%);
}

.pickup-copy, .pickup-banner .button { position: relative; z-index: 1; }
.pickup-copy { max-width: 590px; }
.pickup-banner .eyebrow { color: #f2d895; }

.pickup-banner h2 {
  max-width: 590px;
  margin: 10px 0 10px;
  color: white;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.pickup-banner p:not(.eyebrow) { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .78); }
.pickup-banner .button { flex: 0 0 auto; background: white; color: var(--v7-green); box-shadow: none; }

.pickup-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pickup-meta span { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); font-size: .72rem; backdrop-filter: blur(8px); }
.pickup-meta b { margin-right: 4px; color: white; }

.hero-card {
  position: relative;
  min-height: 222px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--v7-radius-lg);
  background: linear-gradient(135deg, #b5252d, #8f1820);
  color: white;
  box-shadow: 0 16px 36px rgba(142, 25, 33, .18);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -95px;
  bottom: -135px;
  border: 46px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.hero-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.hero-card .eyebrow { color: #ffe9b5; }

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 20px 0 4px;
  color: white;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 880;
  letter-spacing: -.055em;
  line-height: .95;
}

.hero-card h2 small { font-size: .9rem; letter-spacing: 0; }
.hero-card > p { position: relative; z-index: 1; max-width: 500px; margin: 12px 0 22px; color: rgba(255, 255, 255, .78); font-size: .88rem; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

.section-title { min-height: 44px; margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title h2 { margin: 0; color: var(--v7-green); font-size: 1.12rem; font-weight: 850; letter-spacing: -.015em; }
.section-title button { font-size: .79rem; }

.status-row { min-height: 92px; padding: 17px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #2d9b6e; box-shadow: 0 0 0 6px rgba(45, 155, 110, .11); }
.status-main, .status-value { display: grid; gap: 2px; }
.status-main strong, .status-value strong { color: var(--v7-green); font-size: .88rem; }
.status-main small, .status-value small { color: var(--v7-muted); font-size: .69rem; }
.status-value { text-align: right; }

.recent-order-card { padding: 18px; display: grid; gap: 16px; }
.recent-order-card h3 { margin: 10px 0 3px; color: var(--v7-green); font-size: .95rem; line-height: 1.35; }
.recent-order-card p { margin: 0; color: var(--v7-muted); font-size: .75rem; }
.recent-order-card .button { width: 100%; min-height: 44px; }

.reward-preview {
  padding: 20px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  border: 1px solid rgba(199, 154, 58, .22);
  border-radius: var(--v7-radius);
  background: linear-gradient(135deg, #fffdf8, #f5ead0);
  box-shadow: var(--v7-shadow);
}

.reward-preview-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--v7-green);
  color: white;
}

.reward-preview-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.reward-preview h3 { margin: 9px 0 3px; color: var(--v7-green); font-size: 1.1rem; line-height: 1.12; }
.reward-preview p { margin: 0 0 13px; color: var(--v7-muted); font-size: .76rem; }
.reward-preview .button { width: 100%; min-height: 44px; }

/* Menu */
.menu-search { position: relative; padding: 0; }
.menu-search svg { margin-left: 17px; }
.menu-search input { width: 100%; min-height: 54px; padding: 0 18px 0 0; border: 0; background: transparent; color: var(--v7-ink); outline: 0; }
.menu-search input::placeholder { color: #929892; }
.category-scroller { position: sticky; z-index: 20; top: calc(68px + env(safe-area-inset-top)); margin: 12px -4px 8px; padding: 10px 4px; background: linear-gradient(var(--v7-cream) 72%, transparent); }
.menu-count { margin: 2px 0 18px; display: flex; gap: 5px; color: var(--v7-muted); font-size: .78rem; }
.menu-count strong { color: var(--v7-green); }
.menu-count span { margin-left: auto; }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.featured-scroller { display: grid; grid-auto-columns: minmax(230px, 42%); grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; }

.menu-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
  background: var(--v7-paper);
  box-shadow: var(--v7-shadow);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.menu-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27, 42, 35, .11); }
.menu-card-image { aspect-ratio: 1.32; overflow: hidden; background: #eee7da; }
.menu-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.menu-card:hover .menu-card-image img { transform: scale(1.025); }
.menu-card-image .menu-fallback { padding: 24%; object-fit: contain; background: #f2eadc; }
.menu-card-copy { min-width: 0; padding: 16px; display: flex; flex-direction: column; }
.menu-card-title { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.menu-card-title h3 { min-width: 0; margin: 0; color: var(--v7-green); font-size: 1rem; line-height: 1.22; }
.menu-card-title strong { flex: 0 0 auto; color: var(--v7-red); font-size: .82rem; }
.menu-card-copy > p { margin: 7px 0 16px; color: var(--v7-muted); font-size: .76rem; line-height: 1.45; }
.menu-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.menu-card-footer > span { color: var(--v7-muted); font-size: .7rem; font-weight: 700; }
.menu-add-button { min-height: 40px; padding: 0 15px; border: 0; border-radius: 12px; background: var(--v7-green); color: white; font-size: .76rem; font-weight: 850; cursor: pointer; }

.inline-notice,
.install-guide { margin: 14px 0; padding: 15px 17px; border: 1px solid rgba(199, 154, 58, .24); border-radius: 14px; background: #fff8e7; color: #6f5922; font-size: .82rem; }

.floating-cart-button {
  position: fixed;
  z-index: 44;
  top: auto;
  left: auto;
  right: max(18px, calc((100vw - var(--v7-content)) / 2 + 28px));
  bottom: calc(92px + env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 36px));
  min-width: 0;
  min-height: 58px;
  height: auto;
  max-height: 72px;
  padding: 9px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 17px;
  background: var(--v7-green);
  color: white;
  box-shadow: 0 18px 40px rgba(11, 59, 44, .3);
  cursor: pointer;
}

.floating-cart-button span { font-size: .76rem; }
.floating-cart-button strong { font-size: .84rem; white-space: nowrap; }

/* Product sheet */
.order-modal-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(8, 20, 15, .54); backdrop-filter: blur(8px); animation: v7-fade .2s ease; }
@keyframes v7-fade { from { opacity: 0; } }

.order-modal {
  position: fixed;
  z-index: 91;
  inset: max(14px, env(safe-area-inset-top)) max(14px, calc((100vw - 820px) / 2)) max(14px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 28px;
  background: var(--v7-paper);
  box-shadow: 0 34px 90px rgba(4, 18, 12, .36);
  animation: v7-sheet-in .28s ease both;
}

@keyframes v7-sheet-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.order-modal-open { overflow: hidden; }

.order-modal > .product-hero {
  position: relative;
  min-height: 178px;
  padding: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 176px 1fr auto;
  gap: 22px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--v7-line);
  background: #f3ecdf;
}

.product-hero-image { height: 132px; overflow: hidden; border-radius: 18px; box-shadow: 0 10px 24px rgba(22, 35, 29, .14); }
.product-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-copy { min-width: 0; }
.product-hero-copy h2 { margin: 6px 0; color: var(--v7-green); font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.03; letter-spacing: -.035em; }
.product-hero-copy p:not(.eyebrow) { margin: 0; color: var(--v7-muted); font-size: .82rem; }
.product-hero-copy > strong { display: block; margin-top: 12px; color: var(--v7-red); font-size: 1.05rem; }
.modal-close { align-self: start; border: 0; border-radius: 50%; font-size: 1.4rem; }

.order-modal-body { overflow-y: auto; padding: 2px 24px 26px; overscroll-behavior: contain; }
.modifier-field { margin: 24px 0 0; padding: 0; border: 0; }
.modifier-field legend { width: 100%; margin-bottom: 11px; color: var(--v7-green); font-size: 1rem; font-weight: 850; }
.modifier-field legend small { float: right; color: var(--v7-red); font-size: .67rem; letter-spacing: .04em; text-transform: uppercase; }
.modifier-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.modifier-option-wrap { min-width: 0; display: grid; gap: 7px; }
.modifier-option { width: 100%; min-height: 52px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(11, 59, 44, .13); border-radius: 14px; background: white; color: var(--v7-ink); text-align: left; cursor: pointer; }
.modifier-option.selected { border: 2px solid var(--v7-green-2); background: var(--v7-green-soft); color: var(--v7-green); box-shadow: 0 5px 14px rgba(20, 89, 65, .08); }
.modifier-option strong { color: var(--v7-green); font-size: .74rem; }
.mini-options { display: flex; padding: 0 6px 4px; gap: 6px; flex-wrap: wrap; }
.mini-options button { min-height: 34px; padding: 0 11px; border: 1px solid var(--v7-line); border-radius: 99px; background: white; color: var(--v7-muted); font-size: .69rem; text-transform: capitalize; }
.mini-options button.selected { border-color: var(--v7-green); background: var(--v7-green); color: white; }
.modifier-notes { margin-top: 24px; display: grid; gap: 8px; color: var(--v7-green); font-size: .82rem; font-weight: 800; }
.modifier-notes textarea { min-height: 88px; padding: 13px; border: 1px solid var(--v7-line); border-radius: 14px; background: white; color: var(--v7-ink); resize: vertical; }

.order-modal > footer { padding: 15px 24px max(15px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--v7-line); background: rgba(255, 253, 249, .96); box-shadow: 0 -12px 30px rgba(22, 35, 29, .06); }
.order-modal > footer span { display: grid; }
.order-modal > footer span small { color: var(--v7-muted); }
.order-modal > footer span strong { color: var(--v7-green); font-size: 1.1rem; }
.order-modal > footer p { grid-column: 1 / -1; margin: 0; color: var(--v7-red); font-size: .74rem; }

/* Cart and orders */
.ordering-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 22px; align-items: start; }
.order-cart { padding: 22px; }
.cart-lines { border-block: 1px solid var(--v7-line); }
.cart-line { padding: 17px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--v7-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line > div { min-width: 0; }
.cart-line small { display: block; margin-top: 5px; color: var(--v7-muted); font-size: .76rem; line-height: 1.45; }
.cart-line > span { display: grid; justify-items: end; gap: 9px; white-space: nowrap; }
.cart-line > span > strong { color: var(--v7-green); }
.cart-quantity { display: grid; grid-template-columns: 34px 25px 34px; align-items: center; text-align: center; }
.cart-quantity button { width: 34px; height: 34px; border: 1px solid var(--v7-line); border-radius: 50%; background: white; color: var(--v7-green); font-size: 1.1rem; cursor: pointer; }
.checkout-fields { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-fields label { display: grid; gap: 7px; color: var(--v7-green); font-size: .8rem; font-weight: 800; }
.checkout-fields .full { grid-column: 1 / -1; }
.checkout-fields select, .checkout-fields input, .checkout-fields textarea { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid var(--v7-line); border-radius: 13px; background: white; color: var(--v7-ink); }
.checkout-fields textarea { min-height: 84px; resize: vertical; }
.checkout-totals { margin-top: 20px; padding: 18px; display: grid; gap: 9px; border-radius: 15px; background: #f3eee4; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 15px; font-size: .86rem; }
.checkout-totals .total { margin-top: 5px; padding-top: 13px; border-top: 1px solid rgba(11, 59, 44, .18); color: var(--v7-green); font-size: 1.02rem; }
.order-submit { width: 100%; margin-top: 16px; }
.checkout-note { margin: 10px 0 0; color: var(--v7-muted); font-size: .74rem; text-align: center; }
.empty-cart { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 11px; text-align: center; }
.empty-cart > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--v7-green-soft); color: var(--v7-green); }
.empty-cart svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.empty-cart h2, .empty-cart p { margin: 0; }
.empty-cart p { color: var(--v7-muted); }
.order-history { display: grid; gap: 13px; }
.order-status-card { padding: 18px; }
.order-status-card header, .order-status-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-status-card h3 { margin: 3px 0 0; color: var(--v7-green); }
.order-status-card ul { margin: 15px 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.order-status-card ul li { display: flex; justify-content: space-between; gap: 10px; color: var(--v7-muted); font-size: .78rem; }
.order-status-card footer { padding-top: 12px; border-top: 1px solid var(--v7-line); font-size: .75rem; }
.order-status-card > p { margin: 12px 0 0; padding: 10px; border-radius: 10px; background: #fff5da; color: #70551a; font-size: .75rem; }
.order-status, .pill { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 999px; background: #fff1cc; color: #735615; font-size: .65rem; font-weight: 850; line-height: 1.2; text-transform: capitalize; }
.order-status.accepted, .order-status.ready, .order-status.completed, .pill.accepted, .pill.ready, .pill.completed { background: #dff3e8; color: #17623e; }
.order-status.denied, .order-status.cancelled { background: #fde4e3; color: #8b2824; }
.pill.gold { background: #f8e6b6; color: #745410; }
.pill.muted { background: #ecece7; color: #666b67; }
.order-steps { margin: 15px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; }
.order-steps li { padding-top: 8px; border-top: 4px solid #dddeda; color: var(--v7-muted); font-size: .66rem; font-weight: 800; text-align: center; }
.order-steps li.done { border-color: var(--v7-green-2); color: var(--v7-green); }

/* Rewards, member card, account */
.rewards-layout { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.rewards-balance { position: sticky; top: 98px; min-height: 240px; padding: 28px; display: flex; align-items: center; gap: 24px; overflow: hidden; border-radius: var(--v7-radius-lg); background: linear-gradient(145deg, var(--v7-green-2), var(--v7-green)); color: white; box-shadow: var(--v7-shadow-high); }
.rewards-balance::after { content: "HOP"; position: absolute; right: -10px; bottom: -34px; color: rgba(255, 255, 255, .055); font-size: 8rem; font-weight: 900; letter-spacing: -.08em; }
.rewards-balance > div:last-child { position: relative; z-index: 1; min-width: 0; display: grid; }
.rewards-balance > div > span { color: #f4d991; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.rewards-balance strong { color: white; font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 880; letter-spacing: -.055em; line-height: 1; }
.rewards-balance small { margin-top: 8px; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.reward-ring { --reward-progress: 0deg; position: relative; z-index: 1; width: 96px; height: 96px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#f0ce79 var(--reward-progress), rgba(255, 255, 255, .16) 0); }
.reward-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--v7-green); }
.reward-ring span { position: relative; z-index: 1; color: white; font-size: .9rem; font-weight: 900; }

.reward-list, .activity-list, .account-list { display: grid; gap: 12px; }
.reward-card { width: 100%; padding: 16px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; color: var(--v7-ink); text-align: left; cursor: pointer; }
.reward-card.locked { opacity: .72; }
.reward-art { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border-radius: 19px; background: var(--v7-green-soft); color: var(--v7-green); }
.reward-art img { width: 100%; height: 100%; object-fit: cover; }
.reward-art svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.reward-copy { min-width: 0; display: block; }
.reward-meta { display: block; margin-bottom: 7px; }
.reward-title { display: block; color: var(--v7-green); font-size: 1rem; font-weight: 850; line-height: 1.25; }
.reward-description { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--v7-muted); font-size: .75rem; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.progress-track { height: 7px; margin-top: 12px; overflow: hidden; display: block; border-radius: 99px; background: #e4e5e0; }
.progress-track > span { display: block; max-width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v7-gold), #e2bc60); }
.reward-progress-label { display: block; margin-top: 6px; color: var(--v7-muted); font-size: .68rem; }

.activity-row { padding: 14px 16px; display: grid; grid-template-columns: 46px 1fr auto; gap: 13px; align-items: center; }
.activity-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--v7-green-soft); color: var(--v7-green); }
.activity-icon.reward { background: #f7ebcd; color: #7a5b18; }
.activity-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.activity-row strong, .activity-row small { display: block; }
.activity-row strong { color: var(--v7-green); font-size: .85rem; text-transform: capitalize; }
.activity-row small { margin-top: 2px; color: var(--v7-muted); font-size: .69rem; }
.activity-amount { color: var(--v7-green-2); font-size: .82rem; font-weight: 850; }
.activity-amount.negative { color: var(--v7-red); }

.detail-hero { overflow: hidden; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); border: 1px solid var(--v7-line); border-radius: var(--v7-radius-lg); background: var(--v7-paper); box-shadow: var(--v7-shadow); }
.detail-art { min-height: 420px; display: grid; place-items: center; overflow: hidden; background: #efe6d5; color: var(--v7-green); }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-art svg { width: 90px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.detail-copy { padding: clamp(26px, 5vw, 50px); align-self: center; }
.detail-copy h1 { margin: 12px 0; color: var(--v7-green); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.045em; }
.detail-copy > p { color: var(--v7-muted); }
.rule-list { margin: 24px 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.rule-list li { position: relative; padding-left: 22px; color: var(--v7-muted); font-size: .82rem; }
.rule-list li::before { content: "✓"; position: absolute; left: 0; color: var(--v7-green-2); font-weight: 900; }
.sticky-action .button { width: 100%; }

.member-card-shell { max-width: 820px; margin: 0 auto; padding: 20px; }
.member-card { position: relative; min-height: 320px; padding: clamp(25px, 5vw, 44px); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; border-radius: 24px; background: linear-gradient(145deg, var(--v7-green-2), var(--v7-green)); color: white; box-shadow: var(--v7-shadow-high); }
.member-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -150px; border: 55px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.member-card-logo { position: relative; z-index: 1; width: max-content; padding: 8px 12px; border-radius: 14px; background: rgba(255, 253, 249, .96); box-shadow: 0 8px 22px rgba(4, 28, 20, .14); }
.member-card-logo img { display: block; width: 150px; height: 34px; object-fit: contain; object-position: left; filter: none; }
.member-name { align-self: center; }
.member-name > span:first-child { color: #f2d895; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.member-name h2 { margin: 6px 0; color: white; font-size: clamp(1.8rem, 5vw, 3rem); }
.member-code { color: rgba(255, 255, 255, .72); font-size: .8rem; }
.member-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.member-stat { display: grid; gap: 2px; }
.member-stat span { color: rgba(255, 255, 255, .66); font-size: .7rem; }
.member-stat strong { color: white; font-size: 1.15rem; }
.member-qr-section { padding: 28px 8px 8px; text-align: center; }
.member-qr-section h3 { margin: 0; color: var(--v7-green); font-size: 1.3rem; }
.member-qr-section p { max-width: 520px; margin: 8px auto 20px; color: var(--v7-muted); font-size: .82rem; }
.qr-frame { width: min(260px, 78vw); aspect-ratio: 1; margin: 0 auto 16px; padding: 11px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--v7-line); border-radius: 22px; background: white; box-shadow: var(--v7-shadow); }

.account-card { padding: 22px; display: flex; align-items: center; gap: 16px; border-radius: var(--v7-radius-lg); background: linear-gradient(135deg, var(--v7-green), var(--v7-green-2)); color: white; box-shadow: var(--v7-shadow-high); }
.account-avatar { width: 68px; height: 68px; flex: 0 0 auto; display: grid; place-items: center; border: 4px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 1.15rem; font-weight: 900; }
.account-card h2 { margin: 0; color: white; font-size: 1.4rem; }
.account-card p { margin: 3px 0 0; color: rgba(255, 255, 255, .7); }
.account-list { overflow: hidden; border: 1px solid var(--v7-line); border-radius: var(--v7-radius); background: var(--v7-paper); box-shadow: var(--v7-shadow); gap: 0; }
.account-row { width: 100%; min-height: 58px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; border-bottom: 1px solid var(--v7-line); background: transparent; color: var(--v7-green); text-align: left; }
.account-row:last-child { border-bottom: 0; }
button.account-row { cursor: pointer; }
.account-row span:last-child { color: var(--v7-muted); font-size: .78rem; text-align: right; }

.redemption-card { max-width: 620px; margin: 0 auto; padding: clamp(22px, 5vw, 36px); border: 1px solid var(--v7-line); border-radius: var(--v7-radius-lg); background: var(--v7-paper); box-shadow: var(--v7-shadow); text-align: center; }
.redemption-card h2 { margin: 20px 0 5px; color: var(--v7-green); }
.redemption-card > p { margin: 0; color: var(--v7-muted); }
.status-banner { padding: 11px 14px; border-radius: 12px; background: #fff1cc; color: #735615; font-size: .78rem; font-weight: 850; }
.status-banner.success { background: #dff3e8; color: #17623e; }
.status-banner.error { background: #fde4e3; color: #8b2824; }
.redemption-meta { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--v7-line); border-radius: 14px; background: var(--v7-line); }
.meta-cell { padding: 13px; display: grid; gap: 3px; background: white; }
.meta-cell span { color: var(--v7-muted); font-size: .68rem; }
.meta-cell strong { color: var(--v7-green); font-size: .8rem; }

/* Notifications */
.notification-hero { padding: 24px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; border-radius: var(--v7-radius-lg); background: linear-gradient(135deg, #efe5cf, #faf6ee); border: 1px solid rgba(199, 154, 58, .18); }
.notification-hero-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 19px; background: var(--v7-green); color: white; }
.notification-hero-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.notification-hero h2 { margin: 9px 0 4px; color: var(--v7-green); }
.notification-hero p { margin: 0; color: var(--v7-muted); font-size: .82rem; }
.notification-settings { margin-top: 16px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.notification-settings h3 { margin: 0; color: var(--v7-green); }
.notification-settings p { margin: 4px 0 0; color: var(--v7-muted); font-size: .78rem; }
.status-switch { width: 50px; height: 29px; flex: 0 0 auto; padding: 3px; display: flex; border-radius: 99px; background: #d2d5d2; }
.status-switch i { width: 23px; height: 23px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .2s ease; }
.status-switch.on { background: var(--v7-green-2); }
.status-switch.on i { transform: translateX(21px); }
.notification-actions { margin-top: 16px; display: flex; gap: 10px; }
.privacy-note { color: var(--v7-muted); font-size: .75rem; }

.state-card { padding: 28px; text-align: center; }
.state-card h2 { margin: 0; color: var(--v7-green); }
.state-card p { margin: 8px 0 18px; color: var(--v7-muted); }
.state-card svg { width: 46px; }
.loading-layout { display: grid; gap: 15px; }
.skeleton { min-height: 100px; border-radius: var(--v7-radius); background: linear-gradient(90deg, #eee9df 25%, #f8f5ee 50%, #eee9df 75%); background-size: 200% 100%; animation: v7-shimmer 1.4s linear infinite; }
@keyframes v7-shimmer { to { background-position: -200% 0; } }

/* Navigation and drawer */
.bottom-nav {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 650px);
  min-height: 72px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(11, 59, 44, .1);
  border-radius: 22px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 18px 50px rgba(20, 32, 26, .17);
  backdrop-filter: blur(20px) saturate(1.2);
}

.bottom-nav button { position: relative; min-width: 0; min-height: 56px; padding: 6px 3px; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; border-radius: 15px; background: transparent; color: #747b76; cursor: pointer; }
.bottom-nav button > span:last-child { font-size: .64rem; font-weight: 760; }
.bottom-nav button.active { background: var(--v7-green-soft); color: var(--v7-green); }
.bottom-nav .nav-card { overflow: visible; }
.bottom-nav .nav-card.active { background: transparent; color: var(--v7-red); }
.nav-card-icon { width: 48px; height: 48px; margin-top: -27px; display: grid; place-items: center; border: 4px solid var(--v7-paper); border-radius: 50%; background: var(--v7-red); color: white; box-shadow: 0 7px 18px rgba(181, 37, 45, .3); }
.bottom-nav .nav-card.active .nav-card-icon { background: var(--v7-red-dark); transform: translateY(-1px); }
.bottom-nav .nav-card > span:last-child { margin-top: 1px; color: var(--v7-red); }

.drawer-backdrop { position: fixed; z-index: 70; inset: 0; background: rgba(5, 19, 13, .48); backdrop-filter: blur(6px); }
.app-drawer { position: fixed; z-index: 71; inset: max(10px, env(safe-area-inset-top)) auto max(10px, env(safe-area-inset-bottom)) 10px; width: min(380px, calc(100vw - 20px)); padding: 20px; display: grid; grid-template-rows: auto 1fr auto; transform: translateX(calc(-100% - 24px)); border: 1px solid rgba(255, 255, 255, .4); border-radius: 26px; background: rgba(255, 253, 249, .98); box-shadow: 30px 0 70px rgba(5, 22, 15, .25); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.app-drawer.open { transform: none; }
.app-drawer > header { padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--v7-line); }
.app-drawer > header img { width: 190px; height: 50px; object-fit: contain; object-position: left; }
.app-drawer nav { padding: 16px 0; display: grid; align-content: start; gap: 5px; overflow-y: auto; }
.app-drawer nav button, .drawer-logout { min-height: 51px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 13px; background: transparent; color: var(--v7-green); font-weight: 760; text-align: left; cursor: pointer; }
.app-drawer nav button.active { background: var(--v7-green-soft); }
.drawer-note { color: var(--v7-red); font-size: .68rem; }
.drawer-logout { color: var(--v7-red); }

.toast { position: fixed; z-index: 150; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); max-width: min(500px, calc(100vw - 36px)); padding: 13px 17px; transform: translateX(-50%); border-radius: 13px; background: #14221c; color: white; box-shadow: var(--v7-shadow-high); font-size: .82rem; font-weight: 700; text-align: center; animation: v7-toast .25s ease both; }
@keyframes v7-toast { from { opacity: 0; transform: translate(-50%, 9px); } }

@media (max-width: 980px) {
  .home-grid, .ordering-layout, .rewards-layout { grid-template-columns: 1fr; }
  .home-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .home-secondary > .section-title, .home-secondary > .activity-list { grid-column: 1 / -1; }
  .rewards-balance { position: relative; top: auto; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pickup-banner { min-height: 320px; }
}

@media (max-width: 700px) {
  .login-screen { padding: max(28px, calc(env(safe-area-inset-top) + 18px)) 20px max(28px, env(safe-area-inset-bottom)); grid-template-columns: 1fr; grid-template-areas: "brand" "copy" "form" "notice" "link"; align-content: start; }
  .login-brand { margin-bottom: 20px; }
  .login-brand img { height: 54px; }
  .login-copy h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .login-form { margin-top: 28px; padding: 22px; border-radius: 22px; }
  .preview-notice { margin-top: 18px; }
  .safe-header { width: 100%; padding-inline: 14px; border-radius: 0 0 20px 20px; }
  .page { padding-top: 24px; }
  .page-heading h1, .greeting h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .home-secondary { grid-template-columns: 1fr; }
  .home-secondary > .section-title, .home-secondary > .activity-list { grid-column: auto; }
  .pickup-banner { min-height: 390px; padding: 26px 22px; flex-direction: column; align-items: stretch; justify-content: flex-end; background-position: 62% center; }
  .pickup-banner h2 { font-size: 2.25rem; }
  .pickup-banner .button { width: 100%; }
  .pickup-meta { display: grid; }
  .featured-scroller { grid-auto-columns: minmax(230px, 78%); }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { grid-template-columns: 128px 1fr; grid-template-rows: auto; }
  .menu-card-image { aspect-ratio: auto; min-height: 156px; }
  .menu-card-copy { padding: 14px; }
  .menu-card-copy > p { -webkit-line-clamp: 2; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
  .order-modal { inset: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); border-radius: 24px; }
  .order-modal > .product-hero { min-height: 154px; padding: 18px; grid-template-columns: 112px 1fr auto; gap: 14px; }
  .product-hero-image { height: 112px; }
  .product-hero-copy h2 { font-size: 1.55rem; }
  .product-hero-copy p:not(.eyebrow) { display: none; }
  .order-modal-body { padding: 2px 18px 22px; }
  .modifier-options { grid-template-columns: 1fr; }
  .order-modal > footer { padding-inline: 18px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-art { min-height: 260px; }
  .notification-actions { flex-direction: column; }
  .notification-actions .button { width: 100%; }
}

@media (max-width: 480px) {
  .page { padding-inline: 16px; }
  .safe-header { height: calc(64px + env(safe-area-inset-top)); grid-template-columns: 44px 1fr 44px; }
  .header-brand { height: 39px; }
  .header-brand img { height: 37px; }
  .icon-button { width: 42px; height: 42px; }
  .greeting-avatar { width: 48px; height: 48px; }
  .home-search { min-height: 52px; }
  .pickup-banner { min-height: 372px; border-radius: 22px; }
  .hero-card { padding: 23px; border-radius: 22px; }
  .hero-card h2 { font-size: 3rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .hero-actions .text-button { width: 100%; }
  .status-row { grid-template-columns: auto 1fr; }
  .status-value { grid-column: 2; text-align: left; }
  .menu-card { grid-template-columns: 116px 1fr; }
  .menu-card-image { width: 116px; height: 152px; min-height: 152px; align-self: start; }
  .menu-card-image img { min-width: 0; min-height: 0; }
  .menu-card-title { display: grid; gap: 4px; }
  .menu-card-title strong { order: 2; }
  .menu-card-copy > p { margin-bottom: 10px; }
  .menu-card-footer > span { display: none; }
  .menu-card-footer { justify-content: flex-end; }
  .floating-cart-button { top: auto; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); width: min(340px, calc(100vw - 32px)); height: auto; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-fields .full { grid-column: auto; }
  .cart-line { flex-direction: column; }
  .cart-line > span { display: flex; justify-content: space-between; align-items: center; }
  .rewards-balance { min-height: 220px; padding: 24px; gap: 16px; }
  .reward-ring { width: 82px; height: 82px; }
  .reward-card { grid-template-columns: 62px 1fr; padding: 14px; gap: 13px; }
  .reward-art { width: 62px; height: 62px; border-radius: 16px; }
  .activity-row { grid-template-columns: 42px 1fr auto; padding: 13px; gap: 11px; }
  .activity-icon { width: 42px; height: 42px; }
  .member-card-shell { padding: 12px; }
  .member-card { min-height: 290px; padding: 24px; }
  .member-card-logo img { width: 140px; height: 32px; }
  .redemption-meta { grid-template-columns: 1fr; }
  .notification-hero { grid-template-columns: 52px 1fr; padding: 19px; }
  .notification-hero-icon { width: 52px; height: 52px; border-radius: 15px; }
  .bottom-nav { width: calc(100% - 16px); bottom: max(6px, env(safe-area-inset-bottom)); padding-inline: 5px; border-radius: 20px; }
  .bottom-nav button > span:last-child { font-size: .59rem; }
}

@media (orientation: landscape) and (max-height: 540px) {
  .safe-header { position: relative; }
  .page { padding-bottom: 100px; }
  .bottom-nav { min-height: 62px; }
  .bottom-nav button { min-height: 49px; }
  .nav-card-icon { width: 44px; height: 44px; margin-top: -20px; }
  .order-modal { inset: 6px; }
  .order-modal > .product-hero { min-height: 128px; grid-template-columns: 120px 1fr auto; }
  .product-hero-image { height: 96px; }
}

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