:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-soft: #ececea;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --line-strong: rgba(29, 29, 31, 0.18);
  --accent: #285b43;
  --accent-pressed: #1e4634;
  --accent-soft: #dce9e2;
  --tray: #d8d8d2;
  --danger: #a63d35;
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, 0.18);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --touch: 44px;
  --header-height: 68px;
  --content: 1440px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 58%, white);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg-elevated);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.content-shell,
.nav-shell,
.hero-shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: var(--header-height);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -10px;
  height: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.035), transparent);
  pointer-events: none;
}

.nav-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--touch);
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
}

.desktop-nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: color 180ms ease, background 180ms ease, transform 100ms ease;
}

.desktop-nav a:hover {
  background: var(--surface-solid);
  color: var(--ink);
}

.desktop-nav a:active,
.button:active,
.cart-trigger:active,
.icon-button:active,
.product-add:active,
.quantity-button:active,
.mobile-nav a:active,
.mobile-nav button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.cart-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--touch);
  padding: 0 7px 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-elevated);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 100ms ease, filter 180ms ease;
}

.cart-trigger:hover {
  filter: brightness(1.16);
}

.cart-trigger svg {
  width: 19px;
  height: 19px;
}

.cart-badge {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hero {
  padding: calc(var(--header-height) + 56px) 0 72px;
  overflow: hidden;
}

.hero-shell {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(52px, 7vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-left: clamp(0px, 3vw, 48px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 5.3vw, 82px);
  font-weight: 680;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.hero-lead {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 11px 21px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 100ms ease, background 180ms ease, color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 24%, transparent);
}

.button-primary:hover {
  background: var(--accent-pressed);
}

.button-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
}

.button-secondary:hover {
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 36px rgba(0, 0, 0, 0.1);
}

.button-full {
  width: 100%;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 44px;
}

.service-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.tray-stage {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.tray-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  top: -15%;
  right: -10%;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(2px);
  opacity: 0.75;
}

.tray-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.07;
  padding: 12px;
  border: 2px solid color-mix(in srgb, var(--tray) 72%, white);
  border-radius: var(--radius-xl);
  background: var(--tray);
  box-shadow: 0 44px 100px rgba(38, 45, 41, 0.2),
    inset 0 2px 2px rgba(255, 255, 255, 0.55);
  transform: rotateY(-4deg) rotateX(1deg);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tray-frame:hover {
  transform: rotateY(-1deg) rotateX(0);
}

.tray-frame > img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.tray-grid {
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  box-shadow: inset 0 0 0 7px rgba(226, 226, 220, 0.55);
  pointer-events: none;
}

.tray-grid::before,
.tray-grid::after {
  content: "";
  position: absolute;
  background: rgba(234, 234, 228, 0.64);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.tray-grid::before {
  top: 0;
  bottom: 0;
  left: 66%;
  width: 8px;
}

.tray-grid::after {
  right: 0;
  bottom: 43%;
  width: 34%;
  height: 8px;
}

.tray-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  width: min(220px, 32%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 17px;
  background: rgba(24, 31, 27, 0.72);
  color: white;
  backdrop-filter: blur(18px) saturate(150%);
}

.tray-label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tray-label strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.category-band {
  padding: 0 0 96px;
}

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

.category-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent);
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.category-card > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.category-card strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.category-card small {
  color: var(--muted);
  font-size: 13px;
}

.category-arrow {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.catalog-section {
  padding: 112px 0;
}

.section-tinted {
  background: var(--surface-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 6px;
  color: var(--muted);
  text-align: right;
}

.product-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 64px rgba(0, 0, 0, 0.1);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.18;
  background: var(--surface-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(22, 29, 25, 0.68);
  color: white;
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(14px) saturate(140%);
}

.product-info {
  display: grid;
  gap: 15px;
  padding: 22px;
}

.product-copy {
  display: grid;
  gap: 6px;
}

.product-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.product-copy p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price strong {
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

.product-price span {
  color: var(--muted);
  font-size: 12px;
}

.product-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: var(--touch);
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: transform 100ms ease, background 180ms ease;
}

.product-add:hover {
  background: var(--accent-pressed);
}

.product-add.added {
  background: var(--ink);
}

.site-footer {
  padding: 42px 0 calc(42px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner > div {
  display: grid;
  gap: 6px;
}

.footer-inner strong {
  color: var(--ink);
  font-size: 15px;
}

.footer-inner p {
  margin: 0;
}

.cart-scrim {
  position: fixed;
  z-index: 120;
  inset: 0;
  background: rgba(12, 14, 13, 0.32);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 260ms ease;
}

.drawer-open .cart-scrim {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  z-index: 130;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.22, 0.74, 0.18, 1);
  will-change: transform;
}

.cart-drawer[aria-hidden="false"] {
  pointer-events: auto;
  transform: translateX(0);
}

.cart-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.44);
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
}

.cart-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
  margin-bottom: 3px;
  font-size: 10px;
}

.cart-header h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.icon-button {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  cursor: pointer;
  transition: transform 100ms ease, background 180ms ease;
}

.icon-button:hover {
  background: var(--line-strong);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.cart-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-empty {
  min-height: 75vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 48px 28px;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: var(--accent-soft);
  color: var(--accent);
}

.empty-icon svg {
  width: 32px;
  height: 32px;
}

.cart-empty h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.cart-empty p {
  max-width: 300px;
  margin: 8px 0 24px;
  color: var(--muted);
}

.cart-content {
  padding: 0 26px calc(32px + env(safe-area-inset-bottom));
}

.cart-items {
  display: grid;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-item-main {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.cart-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-top h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.cart-item-top strong {
  white-space: nowrap;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

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

.quantity-control {
  display: inline-grid;
  grid-template-columns: var(--touch) 42px var(--touch);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-button {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.quantity-button svg {
  width: 16px;
  height: 16px;
}

.quantity-control output {
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.remove-button {
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.remove-button:hover {
  color: var(--danger);
}

.delivery-fields {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.delivery-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.delivery-fields input,
.delivery-fields textarea {
  width: 100%;
  min-height: var(--touch);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink);
  resize: vertical;
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.delivery-fields input:focus,
.delivery-fields textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-total span {
  color: var(--muted);
  font-size: 14px;
}

.cart-total strong {
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.cart-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

.summary-preview {
  margin: 14px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  font: 12px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  user-select: text;
}
.checkout-form {
  padding-top: 1px;
}

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

.checkout-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.checkout-heading > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

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

.checkout-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.order-success {
  padding: 48px 2px 24px;
  text-align: center;
}

.order-brand-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(40, 91, 67, 0.2);
}

.order-success .eyebrow {
  margin-bottom: 6px;
}

.order-success h3 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.order-number-label {
  margin: 28px 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.order-number {
  display: block;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.order-receipt {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 4px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  text-align: left;
}

.order-receipt div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-receipt div:last-child {
  border-bottom: 0;
}

.order-receipt dt {
  color: var(--muted);
  font-size: 13px;
}

.order-receipt dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
  font-size: 13px;
  font-weight: 620;
}

.order-notice {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.order-actions {
  display: grid;
  gap: 10px;
}

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

  .order-success {
    padding-top: 36px;
  }
}

.mobile-nav,
.noscript {
  display: none;
}

@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 42px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 60px;
  }

  .content-shell,
  .nav-shell,
  .hero-shell {
    width: min(calc(100% - 32px), var(--content));
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .cart-trigger > span:not(.cart-badge) {
    display: none;
  }

  .cart-trigger {
    min-width: var(--touch);
    padding: 0 7px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 680px;
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(44px, 10.5vw, 74px);
  }

  .tray-stage {
    width: min(100%, 720px);
    justify-self: center;
  }

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

  .category-band {
    padding-bottom: 72px;
  }

  .catalog-section {
    padding: 88px 0;
  }

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

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

@media (max-width: 640px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .content-shell,
  .nav-shell,
  .hero-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand-copy small {
    display: none;
  }

  .site-header {
    height: 58px;
  }

  .site-header .cart-trigger {
    display: none;
  }

  .hero {
    padding-top: 94px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 60px);
    letter-spacing: -0.055em;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .button {
    flex: 1;
  }

  .service-tags {
    margin-top: 30px;
  }

  .tray-frame {
    padding: 8px;
    border-radius: 28px;
    transform: none;
  }

  .tray-frame > img,
  .tray-grid {
    border-radius: 21px;
  }

  .tray-grid {
    inset: 8px;
  }

  .tray-label {
    right: 18px;
    bottom: 18px;
    width: 38%;
    padding: 12px;
  }

  .tray-label span {
    display: none;
  }

  .category-band {
    padding-bottom: 56px;
  }

  .category-card {
    min-height: 88px;
    padding: 16px;
  }

  .category-icon {
    width: 48px;
    height: 48px;
  }

  .catalog-section {
    padding: 72px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .section-heading > p {
    max-width: 340px;
    margin: 0;
    text-align: left;
    font-size: 14px;
  }

  .meal-grid,
  .delivery-grid,
  .tableware-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(130px, 42%) 1fr;
    border-radius: 22px;
  }

  .product-media {
    height: 100%;
    min-height: 210px;
    aspect-ratio: auto;
  }

  .product-info {
    align-content: space-between;
    padding: 17px 15px;
  }

  .product-copy h3 {
    font-size: 17px;
  }

  .product-copy p {
    min-height: 0;
    font-size: 12px;
  }

  .product-buy {
    align-items: end;
    flex-direction: column;
  }

  .product-price {
    align-self: start;
  }

  .product-price strong {
    font-size: 20px;
  }

  .product-add {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .cart-drawer {
    inset: auto 0 0;
    width: 100%;
    height: min(92dvh, 820px);
    transform: translateY(102%);
    transition-duration: 320ms;
  }

  .cart-drawer[aria-hidden="false"] {
    transform: translateY(0);
  }

  .cart-panel {
    border: 0;
    border-radius: 28px 28px 0 0;
  }

  .cart-header {
    min-height: 88px;
    padding: 20px 20px 14px;
  }

  .cart-header::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 36px;
    height: 5px;
    border-radius: 999px;
    background: var(--line-strong);
    transform: translateX(-50%);
  }

  .cart-content {
    padding-inline: 20px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 90;
    inset: auto 10px calc(10px + env(safe-area-inset-bottom));
    height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
  }

  .mobile-nav a,
  .mobile-nav button {
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 650;
    transition: transform 100ms ease, color 180ms ease, background 180ms ease;
  }

  .mobile-nav a:hover,
  .mobile-nav button:hover {
    background: var(--surface-soft);
    color: var(--ink);
  }

  .mobile-nav svg {
    width: 22px;
    height: 22px;
  }

  .mobile-cart-icon {
    position: relative;
  }

  .mobile-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid var(--surface-solid);
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
  }

  .noscript {
    position: fixed;
    z-index: 180;
    inset: auto 16px 88px;
    display: block;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--bg-elevated);
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .product-card {
    grid-template-columns: 122px 1fr;
  }

  .product-media {
    min-height: 198px;
  }

  .product-info {
    gap: 10px;
    padding: 14px 12px;
  }

  .product-tag {
    top: 10px;
    left: 10px;
    padding: 5px 8px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1110;
    --bg-elevated: #1c1f1d;
    --surface: rgba(25, 29, 27, 0.82);
    --surface-solid: #1c1f1d;
    --surface-soft: #262a27;
    --ink: #f5f5f7;
    --muted: #a5a6a8;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #78bd94;
    --accent-pressed: #8dccaa;
    --accent-soft: #203a2d;
    --tray: #40433f;
    --danger: #ff8a7f;
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.28);
  }

  .button-primary,
  .product-add {
    color: #102018;
  }

  .brand-mark,
  .cart-badge,
  .mobile-badge {
    color: #102018;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .tray-frame,
  .tray-frame:hover,
  .product-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .cart-panel,
  .mobile-nav,
  .tray-label {
    background: var(--surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
    --line-strong: currentColor;
  }

  .site-header,
  .cart-panel,
  .mobile-nav {
    background: var(--surface-solid);
  }

  .button,
  .product-card,
  .category-card {
    border: 2px solid currentColor;
  }
}
