:root {
  --accent: #00aeef;
  --accent-soft: #e8f8ff;
  --bg: #f7fbfd;
  --border: #dce8ef;
  --card: #ffffff;
  --danger: #b42318;
  --ink: #081522;
  --muted: #657687;
  --navy: #00477f;
  --navy-dark: #06263d;
  --success: #138a43;
  --warning: #a66400;
  --shadow: 0 18px 45px rgba(8, 21, 34, 0.12);
  --soft-shadow: 0 12px 28px rgba(8, 21, 34, 0.08);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.no-scroll {
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

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

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

.app-shell {
  min-height: 100vh;
}

.page-loader {
  display: grid;
  min-height: 100vh;
  place-items: center;
  text-align: center;
}

.loader-mark {
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 0.9rem 1.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(220, 232, 239, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 0.9rem 1.1rem;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-dot {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  border-radius: 18px;
  color: white;
  display: inline-grid;
  font-size: 1rem;
  height: 42px;
  place-items: center;
  width: 42px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.nav-link {
  border-radius: 999px;
  color: #294355;
  font-weight: 800;
  padding: 0.7rem 0.9rem;
}

.nav-link:hover,
.nav-link.active {
  background: var(--accent-soft);
  color: var(--navy);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.cart-pill {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
}

.cart-count {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: white;
  display: inline-grid;
  font-size: 0.8rem;
  height: 1.45rem;
  min-width: 1.45rem;
  padding: 0 0.35rem;
  place-items: center;
}

.page {
  margin: 0 auto;
  max-width: 1220px;
  padding: 1rem 1.1rem 5rem;
}

.hero {
  align-items: end;
  aspect-ratio: 2.25 / 1;
  background:
    linear-gradient(90deg, rgba(6, 38, 61, 0.84), rgba(6, 38, 61, 0.14)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: white;
  display: grid;
  margin-top: 0.55rem;
  min-height: 470px;
  overflow: hidden;
  padding: clamp(1.3rem, 4vw, 3.5rem);
}

.hero-content {
  max-width: 640px;
}

.status-pill {
  align-items: center;
  background: rgba(19, 138, 67, 0.95);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.58rem 0.9rem;
}

.status-pill.closed {
  background: rgba(180, 35, 24, 0.95);
}

.status-dot {
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  height: 0.55rem;
  width: 0.55rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.hero p {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 800;
  margin: 0.9rem 0 1.3rem;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.hero-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  align-items: center;
  border: 0;
  display: inline-flex;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
}

.primary-button {
  background: var(--accent);
  border-radius: 999px;
  color: white;
  padding: 0.95rem 1.35rem;
}

.primary-button.navy {
  background: var(--navy);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary-button {
  background: var(--accent-soft);
  border: 1px solid #c8eaf8;
  border-radius: 999px;
  color: var(--navy);
  padding: 0.82rem 1rem;
}

.ghost-button {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  padding: 0.78rem 1rem;
}

.icon-button {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  height: 44px;
  padding: 0;
  width: 44px;
}

.social-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  display: inline-grid;
  font-size: 1.05rem;
  font-weight: 950;
  height: 46px;
  place-items: center;
  width: 46px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 2.4rem 0 1rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0.35rem 0 0;
}

.category-strip,
.chip-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.45rem;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.chip-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  flex: 0 0 auto;
  font-weight: 900;
  padding: 0.82rem 1.1rem;
}

.category-chip.active,
.category-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.food-row,
.banner-row {
  display: grid;
  gap: 1rem;
  grid-auto-columns: minmax(270px, 360px);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 0.25rem 0 0.8rem;
  scrollbar-width: none;
}

.food-row::-webkit-scrollbar,
.banner-row::-webkit-scrollbar {
  display: none;
}

.food-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.food-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  overflow: hidden;
  position: relative;
  text-align: left;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.food-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.food-card-image {
  aspect-ratio: 1.35 / 1;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
  overflow: hidden;
  position: relative;
}

.food-card-image img {
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
}

.food-card-badge {
  background: var(--accent);
  border-radius: 999px;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  left: 0.9rem;
  padding: 0.45rem 0.72rem;
  position: absolute;
  top: 0.9rem;
}

.food-card-body {
  padding: 1rem;
}

.food-card-title {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.food-card-title h3 {
  font-size: 1.25rem;
  line-height: 1.05;
  margin: 0;
}

.price {
  color: var(--navy);
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 950;
}

.food-card p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0.65rem 0 0.95rem;
}

.card-actions {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.add-button {
  background: var(--accent-soft);
  border: 1px solid #bce5f5;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 950;
  padding: 0.62rem 0.9rem;
}

.sold-out {
  color: var(--danger);
  font-weight: 950;
}

.banner-card,
.trust-card,
.info-card,
.summary-card,
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.banner-card {
  min-height: 160px;
  padding: 1.2rem;
}

.banner-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.banner-card p {
  color: var(--muted);
  margin: 0;
}

.trust-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  padding: 1.1rem;
}

.trust-card span {
  color: var(--navy);
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
  margin-bottom: 0.35rem;
}

.trust-card p {
  color: var(--muted);
  margin: 0;
}

.menu-layout {
  align-items: start;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 210px minmax(0, 1fr) 310px;
}

.sticky-panel {
  position: sticky;
  top: 94px;
}

.side-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  padding: 1rem;
}

.side-card h3 {
  margin: 0 0 0.8rem;
}

.side-stack {
  display: grid;
  gap: 0.45rem;
}

.side-link {
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: #2c4050;
  font-weight: 850;
  padding: 0.7rem 0.75rem;
  text-align: left;
}

.side-link.active,
.side-link:hover {
  background: var(--accent-soft);
  color: var(--navy);
}

.search-field {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  font-weight: 800;
  padding: 0.95rem 1.1rem;
  width: 100%;
}

.menu-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.item-page {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) 460px;
}

.item-hero {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  position: relative;
}

.item-hero img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  width: 100%;
}

.item-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  padding: 1.3rem;
}

.item-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.item-header h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
  margin: 0;
}

.item-description {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 0.85rem 0 1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 950;
  padding: 0.42rem 0.72rem;
}

.modifier-group {
  border: 1px solid var(--border);
  border-radius: 22px;
  margin-top: 1rem;
  padding: 1rem;
}

.modifier-group.invalid {
  border-color: #b07916;
}

.modifier-group-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.modifier-group-header h3 {
  margin: 0;
}

.modifier-group-header p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.required-pill {
  background: #fff4d9;
  border-radius: 999px;
  color: #9b6500;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 0.4rem 0.65rem;
}

.modifier-option {
  align-items: center;
  border-radius: 16px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  padding: 0.72rem 0.15rem;
}

.choice-ring {
  border: 4px solid #b8c8d4;
  border-radius: 999px;
  height: 28px;
  position: relative;
  width: 28px;
}

.modifier-option.selected .choice-ring {
  border-color: var(--navy);
}

.modifier-option.selected .choice-ring::after {
  background: var(--navy);
  border-radius: 999px;
  content: "";
  inset: 4px;
  position: absolute;
}

.modifier-option input {
  display: none;
}

.inline-error {
  color: #8a5700;
  font-weight: 900;
  margin: 0.85rem 0 0;
}

.special-note {
  background: #f4f8fb;
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 94px;
  padding: 0.9rem 1rem;
  resize: vertical;
  width: 100%;
}

.sticky-add-panel {
  background: white;
  border-top: 1px solid var(--border);
  bottom: 0;
  box-shadow: 0 -14px 32px rgba(8, 21, 34, 0.08);
  left: 0;
  padding: 0.9rem max(1rem, env(safe-area-inset-right)) max(0.9rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  position: sticky;
  z-index: 20;
}

.add-panel-inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0 auto;
  max-width: 760px;
}

.quantity-control {
  align-items: center;
  display: inline-flex;
  gap: 1rem;
}

.qty-button {
  align-items: center;
  background: #f1f7fb;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  display: inline-grid;
  font-size: 1.45rem;
  font-weight: 900;
  height: 46px;
  place-items: center;
  width: 46px;
}

.quantity-number {
  font-size: 1.35rem;
  font-weight: 950;
  min-width: 2ch;
  text-align: center;
}

.wide-cta {
  justify-content: space-between;
  min-height: 58px;
  width: 100%;
}

.cart-layout,
.checkout-layout,
.orders-layout,
.account-layout,
.support-layout {
  align-items: start;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.cart-list,
.stack {
  display: grid;
  gap: 1rem;
}

.cart-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 1rem;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 0.85rem;
}

.cart-item img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.muted {
  color: var(--muted);
}

.summary-card,
.form-card,
.info-card {
  padding: 1.1rem;
}

.summary-row {
  align-items: center;
  border-bottom: 1px solid #edf3f6;
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row.total {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
}

.field-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: grid;
  gap: 0.35rem;
}

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

.field-grid > .address-autocomplete.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  background: #f5f9fc;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--ink);
  padding: 0.9rem 1rem;
  width: 100%;
}

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

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 850;
}

.address-autocomplete {
  display: grid;
  gap: 0.45rem;
}

.address-autocomplete-status {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  margin: -0.25rem 0 0.15rem;
}

.address-autocomplete-status.warning {
  color: var(--warning);
}

.address-suggestion-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(8, 21, 34, 0.08);
  display: grid;
  overflow: hidden;
}

.address-suggestion-button {
  background: white;
  border: 0;
  border-bottom: 1px solid #edf3f6;
  color: var(--ink);
  display: grid;
  gap: 0.12rem;
  min-height: 54px;
  padding: 0.78rem 0.95rem;
  text-align: left;
}

.address-suggestion-button:last-child {
  border-bottom: 0;
}

.address-suggestion-button:hover,
.address-suggestion-button:focus-visible {
  background: #f3fbff;
  outline: none;
}

.address-suggestion-button span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

#card-element {
  background: #f5f9fc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.auth-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  padding: 1.1rem;
}

.tabs {
  background: #eff6fa;
  border-radius: 18px;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.35rem;
}

.tab-button {
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 950;
  padding: 0.75rem;
}

.tab-button.active {
  background: white;
  color: var(--navy);
}

.account-hero {
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 1.25rem;
}

.avatar {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: white;
  display: inline-grid;
  font-size: 2rem;
  font-weight: 950;
  height: 74px;
  place-items: center;
  width: 74px;
}

.profile-avatar-wrap {
  display: inline-grid;
  flex: 0 0 auto;
  position: relative;
}

.profile-avatar-wrap.large .avatar {
  height: 92px;
  width: 92px;
}

.profile-avatar-button {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.profile-avatar-button::after {
  align-items: center;
  background: rgba(8, 21, 34, 0.72);
  border-radius: 999px;
  color: white;
  content: "Change";
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 950;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity 0.18s ease;
}

.profile-avatar-button:hover {
  box-shadow: 0 14px 28px rgba(3, 116, 174, 0.2);
  transform: translateY(-1px);
}

.profile-avatar-button:hover::after,
.profile-avatar-button:focus-visible::after {
  opacity: 1;
}

.profile-avatar-button:focus-visible {
  outline: 3px solid rgba(0, 174, 239, 0.32);
  outline-offset: 3px;
}

.profile-photo-panel {
  align-items: center;
  background: #f5fbff;
  border: 1px solid var(--border);
  border-radius: 22px;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 1rem 0;
  padding: 1rem;
}

.profile-photo-copy {
  display: grid;
  gap: 0.35rem;
}

.profile-photo-copy span {
  color: var(--muted);
}

.profile-photo-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.visually-hidden {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.address-card,
.order-card,
.support-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  padding: 1rem;
}

.order-card {
  display: grid;
  gap: 0.75rem;
}

.status-badge {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 0.45rem 0.65rem;
}

.support-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.support-card {
  align-items: center;
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  gap: 0.8rem;
  text-align: left;
}

.support-card span {
  color: var(--navy);
  font-size: 1.35rem;
}

.modal-backdrop {
  align-items: center;
  background: rgba(8, 21, 34, 0.52);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.modal {
  background: white;
  border-radius: 26px;
  box-shadow: var(--shadow);
  max-height: min(92vh, 860px);
  max-width: 720px;
  overflow: auto;
  padding: 1.15rem;
  width: min(100%, 720px);
}

.empty-state {
  background: white;
  border: 1px dashed #b9cbd7;
  border-radius: 24px;
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

.error-card {
  background: #fff4f2;
  border: 1px solid #ffc5bd;
  border-radius: 20px;
  color: #8f1c13;
  font-weight: 850;
  padding: 1rem;
}

.success-card {
  background: #ecfff4;
  border: 1px solid #b8e8c9;
  border-radius: 20px;
  color: #11683a;
  font-weight: 850;
  padding: 1rem;
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin-top: 3rem;
  padding: 1.4rem 0 0;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1020px) {
  .menu-layout,
  .item-page,
  .cart-layout,
  .checkout-layout,
  .orders-layout,
  .account-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

  .desktop-only {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .desktop-nav,
  .header-actions .nav-account {
    display: none;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .page {
    padding: 0.75rem 1rem 6rem;
  }

  .hero {
    aspect-ratio: auto;
    border-radius: 26px;
    min-height: 500px;
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    max-width: 300px;
  }

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

  .food-row {
    grid-auto-columns: minmax(255px, 84vw);
  }

  .field-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .item-detail-card {
    border-radius: 24px;
    padding: 1rem;
  }

  .item-header h1 {
    font-size: 2.9rem;
  }

  .add-panel-inner {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    justify-content: center;
  }

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

  .mobile-nav {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 0;
    padding: 0.45rem 0.35rem max(0.45rem, env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 50;
  }

  .mobile-nav a {
    align-items: center;
    color: #344d5d;
    display: grid;
    font-size: 0.75rem;
    font-weight: 900;
    gap: 0.18rem;
    justify-items: center;
    min-height: 54px;
  }

  .mobile-nav a.active {
    color: var(--navy);
  }

  .mobile-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
  }
}

/* Final 10/10 ordering-platform polish. */
.site-header {
  border-color: rgba(215, 231, 244, 0.85);
  box-shadow: 0 14px 38px rgba(8, 21, 34, 0.06);
}

.desktop-nav {
  border: 1px solid #edf3f6;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  padding: 0.22rem;
}

.nav-link {
  position: relative;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-link:hover {
  box-shadow: 0 10px 22px rgba(0, 121, 184, 0.12);
  transform: translateY(-1px);
}

.nav-link.active {
  background: linear-gradient(135deg, #e8f8ff, #f7fbff);
  box-shadow: 0 8px 20px rgba(0, 71, 127, 0.1);
}

.cart-pill {
  box-shadow: 0 12px 28px rgba(0, 71, 127, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cart-pill:hover {
  box-shadow: 0 16px 34px rgba(0, 71, 127, 0.28);
  transform: translateY(-1px);
}

.hero {
  border-radius: 28px;
  min-height: 430px;
}

.hero h1 {
  letter-spacing: 0.015em;
}

.hero-row .primary-button,
.hero-row .secondary-button {
  min-height: 48px;
}

.home-food-first {
  margin-top: 0.9rem;
}

.home-food-first + .customer-favorites-section,
.customer-favorites-section + .home-food-first {
  margin-top: 1rem;
}

.food-row {
  grid-auto-columns: minmax(285px, 350px);
}

.food-card {
  box-shadow: 0 12px 32px rgba(8, 21, 34, 0.08);
}

.food-card:hover {
  box-shadow: 0 18px 44px rgba(8, 21, 34, 0.13);
}

.recommendation-card {
  border-radius: 18px;
}

.recommendation-card img {
  border-radius: 14px;
}

.cart-recommendation-rail + .cart-recommendation-rail {
  margin-top: 0.95rem;
}

.cart-recommendation-rail .section-heading {
  margin-bottom: 0.55rem;
}

.footer {
  box-shadow: 0 20px 54px rgba(6, 38, 61, 0.18);
}

@media (max-width: 760px) {
  .hero {
    min-height: 420px;
  }

  .food-row {
    grid-auto-columns: minmax(270px, 86vw);
  }

  .desktop-nav {
    box-shadow: none;
  }
}

@media (max-width: 420px) {
  .brand-link span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 3.45rem;
  }

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

/* Phase 2 premium website polish */
.brand-logo {
  height: 48px;
  max-width: 178px;
  object-fit: contain;
  object-position: left center;
}

.header-social {
  background: #f3f8fb;
  box-shadow: none;
  height: 40px;
  width: 40px;
}

.social-button svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 38, 61, 0.88) 0%, rgba(6, 38, 61, 0.5) 45%, rgba(6, 38, 61, 0.08) 100%),
    var(--hero-image);
  border-radius: 34px;
  min-height: 540px;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  max-width: 780px;
}

.hero-kicker {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  margin-bottom: 0.35rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 750;
  max-width: 580px;
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
}

.trust-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  margin: 1rem 0 1.1rem;
  overflow: hidden;
}

.trust-bar-item {
  border-right: 1px solid #edf3f6;
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
}

.trust-bar-item:last-child {
  border-right: 0;
}

.trust-bar-item strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.trust-bar-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.category-icon-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1.2rem 0 0.2rem;
}

.category-icon-chip,
.category-card {
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  color: var(--navy);
  display: flex;
  font-weight: 950;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.95rem;
}

.category-icon-chip span,
.category-card span {
  align-items: center;
  background: #e8f8ff;
  border-radius: 999px;
  display: inline-grid;
  font-size: 1.3rem;
  height: 2.2rem;
  place-items: center;
  width: 2.2rem;
}

.category-card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
  flex-direction: column;
  min-height: 112px;
  text-align: center;
}

.menu-topline {
  margin: 1rem 0 0.9rem;
}

.menu-topline h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  margin: 0;
}

.menu-topline p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0.35rem 0 0;
}

.food-card {
  border-radius: 26px;
}

.food-card-image {
  aspect-ratio: 1.18 / 1;
}

.food-grid .food-card-image {
  aspect-ratio: 1.3 / 1;
}

.food-card-body {
  padding: 1.05rem 1.1rem 1.15rem;
}

.food-card-title h3 {
  font-size: 1.36rem;
}

.food-card p {
  display: -webkit-box;
  line-height: 1.34;
  margin-bottom: 0.8rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.add-button {
  padding: 0.54rem 0.82rem;
}

.item-page {
  margin-top: 0.85rem;
}

.back-link {
  margin-top: 0.5rem;
}

.item-detail-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.15rem;
}

.modifier-section-heading {
  margin-top: 1.2rem;
}

.modifier-section-heading p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.modifier-section-label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.modifier-group {
  background: #fff;
  padding: 1.1rem;
}

.modifier-option {
  border-top: 1px solid #eef4f7;
  padding: 0.9rem 0.15rem;
}

.modifier-group-header + .modifier-option {
  border-top: 0;
}

.checkout-progress {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, 1fr);
  margin: -0.2rem 0 1rem;
  padding: 0.35rem;
}

.checkout-progress span {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 950;
  padding: 0.7rem 0.8rem;
  text-align: center;
}

.checkout-progress .active {
  background: var(--navy);
  color: white;
}

.compact-card-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.compact-card-heading h2,
.compact-card-heading h3 {
  margin: 0;
}

.compact-card-heading p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.compact-button {
  min-height: 0;
  padding: 0.62rem 0.85rem;
}

.cart-item {
  grid-template-columns: 150px minmax(0, 1fr);
}

.cart-item img {
  min-height: 138px;
}

.account-hero {
  border-radius: 26px;
  padding: 1rem;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.profile-stats span {
  background: #f4f9fc;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 0.45rem 0.7rem;
}

.profile-stats strong {
  color: var(--ink);
}

.micro-actions,
.quick-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.micro-actions button,
.quick-action-bar a,
.quick-action-bar button {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-weight: 950;
  padding: 0;
}

.quick-action-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  justify-content: space-around;
  padding: 0.75rem 1rem;
}

.account-feature-row,
.account-row {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
}

.account-feature-row {
  display: grid;
  gap: 0.2rem;
  padding: 1.05rem;
}

.account-feature-row span,
.account-row span {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 950;
}

.account-feature-row strong {
  font-size: 1.25rem;
}

.account-feature-row p,
.account-row p {
  color: var(--muted);
  margin: 0;
}

.account-row-list {
  display: grid;
  gap: 0.75rem;
}

.account-row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.timeline-preview {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(5, 1fr);
}

.timeline-preview span {
  background: #edf4f8;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.timeline-preview .complete {
  background: var(--accent-soft);
  color: var(--navy);
}

.support-card {
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.support-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

@media (max-width: 1020px) {
  .category-card-grid,
  .category-icon-row,
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-item:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 760px) {
  .brand-logo {
    height: 42px;
    max-width: 138px;
  }

  .header-actions .header-social {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(6, 38, 61, 0.08) 0%, rgba(6, 38, 61, 0.42) 52%, rgba(6, 38, 61, 0.9) 100%),
      var(--hero-image);
    background-position: center;
    min-height: 510px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
    line-height: 0.9;
  }

  .hero-row {
    align-items: center;
    flex-wrap: nowrap;
  }

  .hero-row .primary-button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-row .hero-secondary {
    display: none;
  }

  .hero-row .social-button {
    flex: 0 0 56px;
    height: 56px;
    width: 56px;
  }

  .trust-bar {
    border-radius: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar-item {
    border-bottom: 1px solid #edf3f6;
    border-right: 1px solid #edf3f6;
  }

  .trust-bar-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-bar-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .category-icon-row,
  .category-card-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-icon-row::-webkit-scrollbar,
  .category-card-grid::-webkit-scrollbar {
    display: none;
  }

  .category-icon-chip,
  .category-card {
    flex: 0 0 auto;
    min-width: 142px;
  }

  .cart-item {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .cart-item img {
    min-height: 104px;
  }

  .checkout-progress {
    border-radius: 18px;
  }

  .checkout-progress span {
    font-size: 0.82rem;
    padding: 0.58rem 0.35rem;
  }

  .compact-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-hero {
    align-items: start;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .avatar {
    font-size: 1.45rem;
    height: 58px;
    width: 58px;
  }

  .quick-action-bar {
    border-radius: 20px;
  }

  .timeline-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Phase 3 final brand and conversion polish */
body {
  background: #ffffff;
  overflow-x: hidden;
}

.page {
  padding-top: 1.15rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
}

.wordmark-link {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 150px;
}

.wordmark {
  color: var(--navy-dark);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 1000;
  letter-spacing: 0.015em;
  line-height: 1;
}

.wordmark-wave {
  background: linear-gradient(90deg, var(--navy), var(--accent));
  border-radius: 999px;
  display: block;
  height: 4px;
  margin-left: 2px;
  position: relative;
  width: 82px;
}

.wordmark-wave::after {
  background: white;
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 34px;
  position: absolute;
  top: -1px;
  transform: rotate(-8deg);
  width: 23px;
}

.desktop-nav,
.header-actions {
  background: #ffffff;
}

.nav-link.active {
  background: #eef8fd;
  color: var(--navy);
}

.hero {
  background:
    linear-gradient(90deg, rgba(6, 38, 61, 0.86) 0%, rgba(6, 38, 61, 0.44) 48%, rgba(6, 38, 61, 0.08) 100%),
    var(--hero-image);
  background-position: center;
}

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

.hero-socials {
  display: inline-flex;
  gap: 0.6rem;
}

.primary-button,
.cart-pill,
.food-card-badge {
  background: linear-gradient(135deg, var(--navy), #0079b8);
}

.cart-pill {
  color: white;
}

.cart-pill .cart-count {
  background: white;
  color: var(--navy);
}

.trust-bar,
.category-icon-chip,
.category-card,
.banner-card,
.trust-card,
.info-card,
.summary-card,
.form-card,
.empty-state,
.account-hero,
.account-feature-row,
.account-row,
.food-card,
.order-card,
.support-card {
  background: #ffffff;
}

.banner-card,
.trust-card,
.info-card,
.summary-card,
.form-card {
  box-shadow: 0 10px 28px rgba(8, 21, 34, 0.06);
}

.food-row {
  grid-auto-columns: minmax(320px, 390px);
}

.food-card {
  border-radius: 24px;
}

.food-card-image {
  aspect-ratio: 1 / 1;
  background: #f7fbfd;
}

.food-grid .food-card-image {
  aspect-ratio: 1 / 1;
}

.food-card-body {
  padding: 0.82rem 0.95rem 0.95rem;
}

.food-card-title h3 {
  font-size: 1.28rem;
}

.food-card p {
  font-size: 0.95rem;
  margin: 0.45rem 0 0.65rem;
}

.add-button {
  background: #eef8fd;
  border-color: #b9e2f2;
  color: var(--navy);
  padding: 0.5rem 0.78rem;
}

.compact-add {
  align-self: flex-start;
}

.tag {
  background: #f4fbff;
  border: 1px solid #d7edf7;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.38rem 0.58rem;
}

.empty-cart-panel {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fdff 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.empty-cart-copy {
  margin-bottom: 1rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-cart-copy h2,
.benefits-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.96;
  margin: 0.25rem 0 0.45rem;
}

.empty-cart-copy p,
.benefits-panel p {
  color: var(--muted);
  font-weight: 750;
  margin: 0;
}

.recommendation-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.recommendation-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(8, 21, 34, 0.07);
  display: grid;
  gap: 0.65rem;
  overflow: hidden;
  padding: 0.65rem;
}

.recommendation-card img {
  aspect-ratio: 1.1 / 1;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
  border-radius: 17px;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
}

.recommendation-card h3 {
  font-size: 1rem;
  line-height: 1.05;
  margin: 0;
}

.recommendation-card span {
  color: var(--navy);
  display: inline-block;
  font-weight: 950;
  margin-top: 0.25rem;
}

.signed-out-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.benefits-panel {
  background:
    radial-gradient(circle at top right, rgba(0, 174, 239, 0.16), transparent 35%),
    #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.benefit-grid,
.order-preview-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.1rem;
}

.benefit-card {
  background: #fbfdff;
  border: 1px solid #e3eef4;
  border-radius: 18px;
  padding: 0.95rem;
}

.benefit-card strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-card p {
  font-size: 0.92rem;
  line-height: 1.35;
}

.orders-preview-panel {
  min-height: 100%;
}

.timeline-preview {
  grid-template-columns: repeat(4, 1fr);
}

.timeline-preview span {
  background: #f2f7fa;
}

.timeline-preview .complete {
  background: #e8f8ff;
}

.support-card {
  align-items: center;
}

.support-card span {
  background: #e8f8ff;
  color: var(--navy);
  min-width: 62px;
  text-align: center;
}

.why-section .compact-heading {
  margin-bottom: 0.65rem;
}

.why-section .section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.featured-menu-section .section-heading {
  margin-top: 1.75rem;
}

.featured-food-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  background:
    linear-gradient(135deg, #06263d 0%, #00477f 58%, #0079b8 100%);
  border: 0;
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 3rem;
  padding: clamp(1.1rem, 3vw, 1.65rem);
}

.footer a {
  color: white;
  font-weight: 850;
}

.footer .wordmark {
  color: white;
}

.footer .wordmark-wave::after {
  background: #06263d;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.footer-brand strong {
  color: white;
  display: block;
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0.2rem 0 0;
}

.footer-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  padding-top: 1rem;
}

.footer-grid span {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.footer-socials div,
.footer-links {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.footer .social-button {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  height: 40px;
  width: 40px;
}

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

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

@media (max-width: 760px) {
  .header-inner {
    gap: 0.55rem;
    max-width: 100%;
  }

  .header-actions {
    display: none;
  }

  .page {
    overflow: hidden;
  }

  .wordmark-link {
    min-width: 112px;
  }

  .wordmark {
    font-size: 1.05rem;
  }

  .wordmark-wave {
    width: 64px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(6, 38, 61, 0.06) 0%, rgba(6, 38, 61, 0.32) 47%, rgba(6, 38, 61, 0.92) 100%),
      var(--hero-image);
    background-position: center;
  }

  .hero-content {
    min-width: 0;
    width: 100%;
  }

  .hero-row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    width: 100%;
  }

  .hero-row .primary-button {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .hero-row .social-button {
    flex: 0 0 38px;
    height: 38px;
    min-width: 0;
    width: 38px;
  }

  .hero-socials {
    display: none;
  }

  .food-row {
    grid-auto-columns: minmax(285px, 82vw);
  }

  .food-grid .food-card-image,
  .food-card-image {
    aspect-ratio: 1 / 1;
  }

  .benefit-grid,
  .order-preview-list,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-card {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
  }

  .recommendation-card img {
    aspect-ratio: 1 / 1;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .timeline-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Premium redesign pass: food-first hierarchy without changing product flow. */
.home-food-first {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.customer-favorites-section {
  margin-top: 0.8rem;
}

.premium-favorites-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.food-card {
  border-radius: 20px;
}

.food-card-image {
  aspect-ratio: 1.08 / 1;
}

.food-grid .food-card-image {
  aspect-ratio: 1.16 / 1;
}

.food-card-body {
  padding: 0.95rem 1rem 1rem;
}

.food-card-title h3 {
  font-size: 1.2rem;
  line-height: 1.08;
}

.food-card p {
  margin: 0.45rem 0 0.62rem;
}

.food-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.72rem;
}

.food-card-meta span {
  background: #f4f9fc;
  border: 1px solid #d7e7f4;
  border-radius: 999px;
  color: #335c76;
  font-size: 0.76rem;
  font-weight: 850;
  padding: 0.32rem 0.52rem;
}

.food-card-badge {
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 21, 34, 0.15);
}

.add-button {
  min-height: 42px;
}

.why-section {
  margin-top: 1.6rem;
}

.cart-layout {
  align-items: start;
}

.cart-item {
  border-radius: 18px;
  grid-template-columns: 176px minmax(0, 1fr);
  padding: 0.72rem;
}

.cart-item img {
  border-radius: 14px;
  min-height: 152px;
}

.cart-upsell-section {
  margin-top: 1rem;
}

.cart-upsell-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.summary-card .wide-cta {
  min-height: 48px;
}

/* Conversion pass: faster menu scanning and safer mobile checkout CTA spacing. */
.add-button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

button.add-button {
  font-family: inherit;
}

.food-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.guest-checkout-card {
  background: #f8fcff;
  border-color: #cfe9f6;
}

.avatar-photo {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.96);
  object-fit: cover;
}

.signed-out-layout .benefits-panel,
.account-hero,
.order-card {
  border-radius: 20px;
}

.benefits-panel h2,
.account-hero h2 {
  line-height: 1.02;
}

.benefit-card {
  min-height: 96px;
}

.account-feature-row strong,
.account-row strong {
  color: var(--ink);
}

.orders-preview-panel .benefit-card:first-child {
  background: #e8f8ff;
  border-color: #bce5f5;
}

@media (max-width: 760px) {
  .premium-favorites-grid,
  .cart-upsell-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .cart-item img {
    min-height: 112px;
  }

  .food-grid {
    gap: 0.78rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-grid .food-card-image,
  .food-card-image {
    aspect-ratio: 1.18 / 1;
  }

  .food-card-body {
    padding: 0.72rem;
  }

  .food-card-title {
    gap: 0.45rem;
  }

  .food-card-title h3 {
    font-size: 0.98rem;
    line-height: 1.05;
  }

  .price {
    font-size: 0.92rem;
  }

  .food-card p {
    font-size: 0.78rem;
    line-height: 1.25;
    margin: 0.36rem 0 0.54rem;
  }

  .add-button {
    font-size: 0.82rem;
    min-height: 40px;
    padding: 0.5rem 0.7rem;
  }

  .checkout-layout .summary-card,
  .cart-layout .summary-card {
    margin-bottom: 5rem;
  }
}

/* Final 10/10 pass: real-photo brand polish and tighter footer density. */
.wordmark-link {
  align-items: center;
  flex-direction: row;
  gap: 0.65rem;
  min-width: 174px;
}

.wordmark-stack {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-wordmark-image {
  display: block;
  height: 48px;
  object-fit: contain;
  object-position: center;
  width: 216px;
}

.brand-wordmark-text {
  color: var(--navy);
  display: inline-flex;
  font-size: 1.48rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo-mark {
  background: #ffffff;
  border: 1px solid rgba(6, 38, 61, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(6, 38, 61, 0.1);
  flex: 0 0 auto;
  height: 46px;
  object-fit: contain;
  padding: 0.22rem;
  width: 46px;
}

.hero-logo-mark {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  display: block;
  height: 78px;
  margin-bottom: 0.65rem;
  object-fit: contain;
  padding: 0.35rem;
  width: 78px;
}

.footer {
  margin-top: 2.1rem;
  padding: clamp(0.78rem, 2.2vw, 1.18rem);
}

.footer-brand {
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.footer-brand strong {
  font-size: 1.08rem;
}

.footer-brand p {
  margin-top: 0.05rem;
}

.footer-grid {
  gap: 0.7rem;
  padding-top: 0.72rem;
}

.footer-grid span {
  margin-bottom: 0.18rem;
}

.footer-socials div,
.footer-links {
  gap: 0.48rem;
}

.footer .social-button {
  height: 34px;
  width: 34px;
}

.footer .brand-logo-mark {
  background: rgba(255, 255, 255, 0.98);
  height: 42px;
  width: 42px;
}

@media (max-width: 760px) {
  .wordmark-link {
    min-width: 132px;
  }

  .brand-wordmark-image {
    height: 39px;
    width: 176px;
  }

  .brand-wordmark-text {
    font-size: 1.2rem;
  }

  .brand-logo-mark {
    border-radius: 12px;
    height: 38px;
    width: 38px;
  }

  .hero-logo-mark {
    height: 64px;
    width: 64px;
  }
}

/* Favorites sync pass */
.favorite-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(215, 231, 244, 0.95);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(8, 21, 34, 0.14);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 42px;
  z-index: 2;
}

.item-hero .favorite-toggle {
  height: 48px;
  right: 1rem;
  top: 1rem;
  width: 48px;
}

.favorite-toggle.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.favorite-dish-list {
  display: grid;
  gap: 0.78rem;
}

.favorite-dish-row {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  padding: 0.55rem;
}

.favorite-dish-row img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.favorite-dish-row strong {
  display: block;
  line-height: 1.1;
}

.favorite-empty-card {
  box-shadow: none;
  padding: 0.9rem;
}

@media (max-width: 760px) {
  .favorite-toggle {
    height: 36px;
    right: 0.55rem;
    top: 0.55rem;
    width: 36px;
  }

  .item-hero .favorite-toggle {
    height: 42px;
    right: 0.8rem;
    top: 0.8rem;
    width: 42px;
  }

  .favorite-dish-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .favorite-dish-row img {
    height: 64px;
    width: 64px;
  }
}
