:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-soft: #fff8ed;
  --surface-green: #edf8f2;
  --ink: #121a16;
  --text: #26322d;
  --muted: #6c776f;
  --line: #e3ded3;
  --primary: #ee4f2f;
  --primary-dark: #c43a21;
  --green: #13855f;
  --green-dark: #0e5e45;
  --blue: #2f67c8;
  --sun: #f4a72c;
  --plum: #7a3e61;
  --warning: #99610d;
  --success: #16754f;
  --shadow: 0 28px 90px rgba(18, 26, 22, 0.2);
  --soft-shadow: 0 16px 44px rgba(18, 26, 22, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(238, 79, 47, 0.08), transparent 34%),
    linear-gradient(240deg, rgba(19, 133, 95, 0.1), transparent 36%),
    repeating-linear-gradient(90deg, rgba(18, 26, 22, 0.025) 0 1px, transparent 1px 44px),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(244, 167, 44, 0.12) 47% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 58%, rgba(47, 103, 200, 0.07) 58% 60%, transparent 60% 100%);
  background-size: 420px 420px, 520px 520px;
  opacity: 0.75;
  animation: pageTexture 26s linear infinite;
  pointer-events: none;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

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

button,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(18, 26, 22, 0.13);
  border-radius: 8px;
  padding: 11px 17px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 26, 22, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

button::after,
.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.36) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 720ms ease;
}

button:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 79, 47, 0.35);
  box-shadow: 0 18px 44px rgba(18, 26, 22, 0.14);
}

button:hover::after,
.button:hover::after {
  transform: translateX(130%);
}

button:active,
.button:active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sun) 52%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(238, 79, 47, 0.26);
}

.primary:hover {
  color: #fff;
  box-shadow: 0 22px 52px rgba(238, 79, 47, 0.34);
}

.button.light,
.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(18px);
}

.button.ghost:hover,
.button.light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.78);
  border-bottom: 1px solid rgba(227, 222, 211, 0.68);
  backdrop-filter: blur(20px);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 44px rgba(18, 26, 22, 0.1);
}

.site-header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 950;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--primary);
  box-shadow: 9px 0 0 var(--sun), 4px 9px 0 var(--green);
  transform: rotate(-8deg);
  animation: brandPop 3.6s ease-in-out infinite;
}

.site-nav {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  position: relative;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--text);
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(19, 133, 95, 0.08);
  color: var(--green-dark);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(19, 133, 95, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(18, 26, 22, 0.08);
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 16px;
  border: 2px solid var(--green);
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.cart-icon::before {
  position: absolute;
  left: 3px;
  top: -8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.cart-count,
.floating-cart span {
  min-width: 24px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.cart-link.secondary {
  background: var(--surface);
}

.cart-link.cart-pulse .cart-count {
  animation: cartPulse 420ms ease;
}

.site-main {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 72px;
}

.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.site-footer p {
  margin: 6px 0 0;
}

.store-hero {
  position: relative;
  width: 100vw;
  min-height: clamp(660px, 86vh, 840px);
  margin: -24px 0 46px calc(50% - 50vw);
  overflow: hidden;
  background: #111915;
  color: #fff;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(12, 17, 14, 0.97) 0%, rgba(12, 17, 14, 0.78) 42%, rgba(12, 17, 14, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 17, 14, 0.9) 0%, rgba(12, 17, 14, 0.12) 58%, rgba(12, 17, 14, 0.5) 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
    linear-gradient(110deg, transparent 20%, rgba(244, 167, 44, 0.18) 48%, transparent 74%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: heroSweep 9s ease-in-out infinite alternate;
}

.hero-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: clamp(600px, 77vh, 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0 122px;
}

.hero-content {
  max-width: 780px;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition: transform 120ms ease-out;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--primary-dark);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #80ecaa;
  box-shadow: 0 0 0 0 rgba(128, 236, 170, 0.55);
  animation: livePulse 1700ms ease-out infinite;
}

.store-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(52px, 8.8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.store-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-metrics span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-showcase {
  position: relative;
  display: grid;
  gap: 14px;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition: transform 120ms ease-out;
}

.showcase-card,
.mini-dish,
.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.showcase-main {
  position: relative;
  overflow: hidden;
  animation: dishFloat 5.8s ease-in-out infinite;
}

.showcase-main::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  animation: showcaseShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.showcase-image {
  display: block;
  aspect-ratio: 1.16;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.showcase-card:hover .showcase-image img {
  transform: scale(1.05);
}

.showcase-copy {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.showcase-copy span {
  color: #ffdca0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-copy strong {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}

.showcase-copy em {
  color: #fff;
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
}

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

.mini-dish {
  position: relative;
  min-height: 122px;
  overflow: hidden;
  color: #fff;
}

.mini-dish:nth-child(2n) {
  animation: miniFloat 5.2s ease-in-out infinite;
}

.mini-dish img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.mini-dish::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 17, 14, 0.72), rgba(12, 17, 14, 0.14));
}

.mini-dish span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
}

.mini-dish:hover img {
  transform: scale(1.08);
}

.hero-panel {
  padding: 14px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-chip {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.status-chip.success {
  background: #dbf7e6;
  color: var(--success);
}

.status-chip.warning {
  background: #fff0c9;
  color: var(--warning);
}

.dish-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 15, 13, 0.52);
  backdrop-filter: blur(18px);
}

.dish-marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px 12px;
  animation: marqueeFlow 32s linear infinite;
}

.dish-marquee:hover .dish-marquee-track {
  animation-play-state: paused;
}

.marquee-dish {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 850;
}

.marquee-dish img {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  object-fit: cover;
}

.section {
  margin-bottom: 46px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h1,
.section-head h2,
.product-info h1,
.checkout-form h1,
.result-panel h1,
.final-cta h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: clamp(32px, 4.7vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h2,
.feature-strip h2,
.checkout-summary h2,
.form-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 26, 22, 0.08);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(237, 248, 242, 0.92)),
    repeating-linear-gradient(90deg, rgba(238, 79, 47, 0.06) 0 1px, transparent 1px 24px);
  box-shadow: var(--soft-shadow);
}

.page-hero p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.promise-card,
.step-card {
  position: relative;
  min-height: 178px;
  border: 1px solid rgba(18, 26, 22, 0.09);
  border-radius: 8px;
  padding: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.promise-card::before,
.step-card::before,
.category-grid a::after,
.product-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(244, 167, 44, 0.26), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.promise-card:hover,
.step-card:hover {
  transform: translateY(-7px);
  border-color: rgba(238, 79, 47, 0.2);
  box-shadow: var(--shadow);
}

.promise-card:hover::before,
.step-card:hover::before,
.category-grid a:hover::after,
.product-card:hover::before {
  opacity: 1;
}

.promise-card span,
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.promise-card:nth-child(2) span,
.step-card:nth-child(2) span {
  background: var(--green);
}

.promise-card:nth-child(3) span,
.step-card:nth-child(3) span {
  background: var(--primary);
}

.promise-card strong,
.step-card strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.promise-card p,
.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 12px;
}

.category-grid a,
.category-tags a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(18, 26, 22, 0.09);
  border-radius: 8px;
  padding: 14px 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(18, 26, 22, 0.07);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.category-grid a::before,
.category-tags a::before {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 4px;
  content: "";
  background: var(--primary);
  box-shadow: 7px 5px 0 rgba(238, 79, 47, 0.18);
}

.category-grid a:nth-child(3n+2)::before,
.category-tags a:nth-child(3n+2)::before {
  background: var(--green);
  box-shadow: 7px 5px 0 rgba(19, 133, 95, 0.18);
}

.category-grid a:nth-child(3n+3)::before,
.category-tags a:nth-child(3n+3)::before {
  background: var(--sun);
  box-shadow: 7px 5px 0 rgba(244, 167, 44, 0.2);
}

.category-grid a:hover,
.category-tags a:hover {
  border-color: rgba(238, 79, 47, 0.26);
  background: #fff;
  box-shadow: var(--soft-shadow);
  transform: translateY(-5px);
}

.feature-strip {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-bottom: 46px;
  border: 1px solid rgba(238, 79, 47, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(120deg, #fff7ef, #edf8f2),
    repeating-linear-gradient(90deg, rgba(238, 79, 47, 0.06) 0 1px, transparent 1px 26px);
  box-shadow: var(--soft-shadow);
}

.feature-strip img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 15px 34px rgba(18, 26, 22, 0.16);
}

.feature-strip p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 900;
}

.catalog-section {
  scroll-margin-top: 96px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 26, 22, 0.09);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(18, 26, 22, 0.09);
  transform-style: preserve-3d;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.product-card:hover {
  border-color: rgba(238, 79, 47, 0.24);
  box-shadow: var(--shadow);
  transform: perspective(900px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.product-image-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--surface-green);
  overflow: hidden;
}

.product-image-link::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(0deg, rgba(18, 26, 22, 0.72), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.product-card:hover .product-image-link::after {
  opacity: 1;
}

.product-image-link img,
.product-main-image,
.cart-line-image img,
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-link img {
  transition: transform 520ms ease, filter 520ms ease;
}

.product-card:hover .product-image-link img {
  transform: scale(1.075);
  filter: saturate(1.1);
}

.card-badge,
.card-view {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
}

.card-badge {
  left: 12px;
  top: 12px;
  background: rgba(238, 79, 47, 0.95);
  color: #fff;
  box-shadow: 0 10px 26px rgba(238, 79, 47, 0.3);
}

.card-view {
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-card:hover .card-view {
  opacity: 1;
  transform: translateY(0);
}

.product-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 17px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.16;
}

.product-card h3 a {
  color: var(--ink);
}

.product-card p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.product-meta span {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(19, 133, 95, 0.09);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.product-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.product-price,
.price-current {
  color: var(--ink);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.special-note {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background:
    linear-gradient(135deg, rgba(19, 133, 95, 0.1), rgba(244, 167, 44, 0.14)),
    var(--surface-green);
  color: var(--muted);
  font-weight: 900;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.product-gallery,
.product-info,
.cart-panel,
.checkout-form,
.checkout-summary,
.result-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 26, 22, 0.09);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.product-gallery,
.product-info {
  padding: 18px;
}

.product-gallery {
  position: sticky;
  top: 96px;
}

.product-main-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 56px rgba(18, 26, 22, 0.17);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.product-thumbs img {
  aspect-ratio: 1;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.product-badge-row span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(238, 79, 47, 0.1);
  color: var(--primary-dark);
  font-weight: 900;
}

.product-info p {
  color: var(--muted);
  font-size: 18px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.price-block {
  margin: 18px 0;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
}

.buy-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(238, 79, 47, 0.55);
  box-shadow: 0 0 0 4px rgba(238, 79, 47, 0.12);
  outline: none;
}

input[type="radio"] {
  width: auto;
}

.buy-form input {
  width: 110px;
}

.cart-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  padding: 18px;
}

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

.cart-line {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) 140px 112px auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-line h3 {
  margin: 0 0 4px;
}

.cart-line-image {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-green);
}

.quantity-field input {
  max-width: 110px;
}

.line-total {
  color: var(--ink);
  font-weight: 950;
  text-align: right;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  padding: 0;
  min-height: auto;
  box-shadow: none;
}

.link-button:hover {
  box-shadow: none;
}

.cart-summary {
  align-self: start;
  border: 1px solid rgba(19, 133, 95, 0.18);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(237, 248, 242, 0.96), rgba(255, 248, 237, 0.96)),
    var(--surface-green);
}

.cart-summary dl,
.checkout-summary dl,
.result-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin: 0;
}

.cart-summary dt,
.result-list dt {
  color: var(--muted);
}

.cart-summary dd,
.result-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.cart-actions,
.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  padding: 22px;
}

.form-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

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

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

.choice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.choice-card:has(input:checked) {
  border-color: rgba(238, 79, 47, 0.58);
  box-shadow: 0 0 0 4px rgba(238, 79, 47, 0.1);
}

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

.choice-card-disabled {
  opacity: 0.58;
}

.choice-card-disabled:hover {
  transform: none;
  box-shadow: none;
}

.choice-card span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.choice-card small {
  color: var(--muted);
}

.timed-fields {
  margin-top: 14px;
  border: 1px solid rgba(238, 79, 47, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.timed-fields[hidden] {
  display: none;
}

.address-field {
  position: relative;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(18, 26, 22, 0.12);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

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

.address-suggestion {
  justify-content: flex-start;
  width: 100%;
  min-height: auto;
  border-color: rgba(18, 26, 22, 0.08);
  padding: 10px 12px;
  background: #fff;
  box-shadow: none;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.address-suggestion:hover {
  border-color: rgba(238, 79, 47, 0.24);
  background: var(--surface-soft);
}

.checkout-submit {
  margin-top: 20px;
}

.checkout-summary {
  position: sticky;
  top: 96px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.summary-total {
  border-bottom: 0;
  color: var(--ink);
  font-size: 18px;
}

.order-result {
  display: grid;
  place-items: start center;
}

.result-panel {
  width: min(720px, 100%);
  padding: 24px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  background:
    linear-gradient(125deg, #141d18 0%, #194935 48%, #883f33 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.final-cta .section-kicker {
  color: #ffdca0;
}

.alert,
.empty-state {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.alert.success {
  background: #e8f7ee;
  color: var(--success);
  border: 1px solid #b9dec8;
}

.alert.warning {
  background: #fff8e8;
  color: var(--warning);
  border: 1px solid #e2b95f;
}

.alert.danger {
  background: #fff0ef;
  color: #8a211d;
  border: 1px solid #f1bbb7;
}

.empty-state {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--muted);
}

.muted,
.back-link {
  color: var(--muted);
}

.back-link {
  font-weight: 850;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.motion-ready .product-card[data-reveal].is-visible:hover {
  transform: perspective(900px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.motion-ready .promise-card[data-reveal].is-visible:hover,
.motion-ready .step-card[data-reveal].is-visible:hover {
  transform: translateY(-7px);
}

@keyframes pageTexture {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 420px 420px, -520px 520px;
  }
}

@keyframes brandPop {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }
  45% {
    transform: rotate(-3deg) scale(1.08);
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(22px, -14px, 0);
  }
}

@keyframes heroSweep {
  0% {
    background-position: 0 0, -280px 0;
  }
  100% {
    background-position: 120px 0, 420px 0;
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(128, 236, 170, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(128, 236, 170, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(128, 236, 170, 0);
  }
}

@keyframes dishFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.7deg);
  }
}

@keyframes miniFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes showcaseShine {
  0%,
  54% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes marqueeFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes cartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .site-header-inner,
  .site-footer,
  .product-detail,
  .cart-panel,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    display: grid;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .hero-inner {
    padding-bottom: 128px;
  }

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

  .product-gallery,
  .checkout-summary {
    position: static;
  }

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

  .quantity-field,
  .line-total,
  .link-button {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-main,
  .site-header-inner,
  .site-footer,
  .hero-inner {
    width: min(100% - 20px, 1240px);
  }

  .site-main {
    margin-top: 14px;
    margin-bottom: 72px;
  }

  .store-hero {
    min-height: 760px;
    margin-top: -14px;
  }

  .hero-inner {
    padding-top: 36px;
    padding-bottom: 118px;
  }

  .store-hero h1 {
    font-size: 46px;
  }

  .hero-actions,
  .section-head,
  .product-card-bottom,
  .feature-strip,
  .final-cta {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .promise-grid,
  .steps-grid,
  .form-row,
  .choice-grid,
  .showcase-mini-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip img {
    width: 100%;
    max-height: 230px;
  }

  button,
  .button {
    width: 100%;
  }

  .site-nav a {
    padding-inline: 9px;
  }

  .cart-label {
    display: none;
  }

  .dish-marquee-track {
    animation-duration: 24s;
  }

}

@media (max-width: 460px) {
  .store-hero {
    min-height: 820px;
  }

  .marquee-dish {
    min-width: 190px;
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
