:root {
  --red: #c82027;
  --red-dark: #99171d;
  --green: #1f6d47;
  --text: #1f2937;
  --muted: #667085;
  --surface: #ffffff;
  --bg: #f7fbf8;
  --radius: 20px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --hero-image: url("https://images.unsplash.com/photo-1771762211132-2f0598b44dbb?auto=format&fit=crop&fm=webp&q=70&w=1920");
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --fluid-body: clamp(0.96rem, 0.92rem + 0.3vw, 1.06rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
  font-size: var(--fluid-body);
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: var(--space-6) 0; content-visibility: auto; contain-intrinsic-size: 1px 560px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand h1 { margin: 0; font-size: 1.25rem; }
.brand p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.nav-actions,
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  min-height: 44px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11); }
.btn-primary { background: var(--red); color: #fff; }
.btn-soft { background: #eef8f2; color: #165b3a; border-color: rgba(31, 109, 71, 0.25); }


.hero-strip-section {
  margin-top: 14px;
  width: 100%;
  overflow: hidden;
  background: #081f16;
  padding: 0;
}

.hero-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.hero-premium{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 24px 45px rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.18);
}
.hero-premium-viewport{position:relative;min-height:320px;background:#06261b;}
.hero-premium-slide{position:absolute;inset:0;opacity:0;transition:opacity .55s ease;}
.hero-premium-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-premium-slide.is-active{opacity:1;z-index:2;}
.hero-premium-overlay{position:absolute;left:0;right:0;bottom:0;padding:22px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72));color:#fff}
.hero-premium-overlay h3{margin:0;font-size:1.45rem}
.hero-premium-overlay p{margin:8px 0 0;color:rgba(255,255,255,.92)}
.hero-premium-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:12px;display:flex;gap:8px;z-index:5}
.hero-premium-dot{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.45);cursor:pointer}
.hero-premium-dot.is-active{background:#fff;transform:scale(1.15)}
.hero-experiment{
  position:relative;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:10px;
}
.hero-experiment-viewport{overflow:hidden;min-height:340px}
.hero-experiment-track{position:relative;height:340px;perspective:1000px}
.hero-exp-card{
  --offset:0;
  position:absolute;left:50%;top:50%;width:min(66vw,820px);height:300px;transform-style:preserve-3d;
  transform:translate(-50%,-50%);opacity:.4;transition:transform 1.05s ease,opacity 1.05s ease;pointer-events:none;
}
.hero-exp-card.is-active{pointer-events:auto;z-index:3}
.hero-exp-card img{width:100%;height:100%;object-fit:cover;border-radius:22px;box-shadow:0 24px 40px rgba(0,0,0,.28)}
.hero-exp-overlay{position:absolute;left:0;right:0;bottom:0;padding:20px;border-radius:0 0 22px 22px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));color:#fff}
.hero-exp-nav{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(6,26,18,.72);color:#fff;font-size:2rem;line-height:1;cursor:pointer}

.hero-strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: hero-scroll 40s linear infinite;
  will-change: transform;
}

.hero-strip-item {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 420px);
  height: clamp(180px, 20vw, 320px);
  object-fit: cover;
  display: block;
}

.hero-strip:hover .hero-strip-track {
  animation-play-state: paused;
}

@keyframes hero-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.story-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  color: #fff;
  display: grid;
  align-content: end;
}
.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72));
}
.story-card > * { position: relative; z-index: 1; }
.story-card h2 { color: #fff; }
.story-card p { margin: 0; color: rgba(255,255,255,.96); }
.story-card:nth-child(1) {
  background: url("../hero/Shop photo.jpg") center/cover no-repeat;
}
.story-card:nth-child(2) {
  background: url("../hero/Picture20.png") center/cover no-repeat;
}

.section-top h2,
.card h2 { margin: 0 0 var(--space-2); color: var(--green); }
.section-top p,
.muted { color: var(--muted); }

.menu-grid,
.plan-grid,
.footer-grid,
.diet-form { display: grid; gap: var(--space-4); }

.menu-grid { display:block; column-count:2; column-gap: var(--space-4); margin-top: var(--space-4); }
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-4); }

.menu-section,
.plan-card {
  background: #fff;
  border: 1px solid rgba(31, 109, 71, 0.12);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.menu-section { align-self: start; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 var(--space-4); display: inline-block; width: 100%; }
.menu-section:hover,
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1); border-color: rgba(31, 109, 71, 0.2); }

.menu-title-row { display: flex; justify-content: space-between; gap: var(--space-2); align-items: center; }
.menu-title { margin: 0; color: var(--green); font-size: 1.2rem; letter-spacing: .01em; }
.item-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.item-list li { display: grid; grid-template-columns: 28px 70px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: #fbfefd; border: 1px solid rgba(31,109,71,.08); }
.dish-thumb { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(0,0,0,.08); }
.count,
.price { font-size: 0.82rem; border-radius: 999px; padding: 7px 11px; }
.count { background: #eef8f2; color: #165b3a; }
.price { background: #fff1f1; color: var(--red-dark); font-weight: 700; }
.nutrition-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.nutrition-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: #1f6d47;
  background: linear-gradient(180deg, #f4fbf7, #eaf6ef);
  border: 1px solid rgba(31, 109, 71, .2);
}
.preorder-cat-toggle { width: 100%; justify-content: space-between; margin-bottom: 8px; }
.preorder-cat-body .item-list { margin-top: 6px; }
.menu-card.preorder-item { display: grid; grid-template-columns: 84px 1fr; align-items: start; column-gap: 12px; row-gap: 6px; padding: 10px 12px !important; }
.preorder-thumb{width:84px;height:84px;border-radius:12px;object-fit:cover;border:1px solid rgba(0,0,0,.08);} 
.menu-card.preorder-item > div { width: 100%; min-width: 0; }
.preorder-item .price { justify-self: end; }
.preorder-item .action-row { grid-column: 2; display:flex;align-items:center;gap:10px;}
.preorder-item .dish-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.preorder-item .dish-title-wrap { min-width: 0; flex: 1; }
.preorder-item .price { margin: 0; white-space: nowrap; }
.preorder-page .section { padding-top: 22px; }
.preorder-shell {
  max-width: 1180px;
  border-radius: 22px;
  border: 1px solid rgba(31,109,71,.14);
  box-shadow: 0 18px 44px rgba(12,48,30,.1);
}
.preorder-shell h2 { font-size: 1.55rem; color: #1f6d47; margin-bottom: 8px; }
.preorder-feedback { min-height: 22px; font-weight: 600; }
.dish-title { display:block; font-size: 1.08rem; line-height:1.35; color: #123f2a; width: 100%; flex: 0 0 100%; }
.nutrition-icon { width: 16px; display: inline-flex; justify-content: center; }
.preorder-page #preorder-menu { column-count: 1; display: block; }
.preorder-page .menu-section { width: 100%; margin-bottom: 18px; }
.preorder-category-bar {
  position: sticky;
  top: 84px;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  margin-bottom: 8px;
  background: linear-gradient(180deg,#fff,rgba(255,255,255,.92));
}
.preorder-cat-chip { white-space: nowrap; min-height: 40px; }
.preorder-cat-chip.is-active {
  background: #fff;
  border-color: rgba(200,32,39,.42);
  color: #9d1a20;
  box-shadow: 0 8px 20px rgba(200,32,39,.18);
}
.nutrition-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.nutrition-chips .nutrition-pill { min-width: 78px; justify-content: center; flex: 0 0 auto; }
.nutrition-chips .nutrition-pill.is-red { border-color: rgba(200,32,39,.3); color: #a11d24; background: #fff3f3; }
.nutrition-chips .nutrition-pill.is-green { border-color: rgba(31,109,71,.3); color: #14532d; background: #eefaf2; }
.preorder-confirm-floating {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  min-width: 260px;
  box-shadow: 0 16px 30px rgba(200,32,39,.34);
}

.diet-form input {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

.site-footer { background: #154d33; color: rgba(255, 255, 255, 0.9); padding: 36px 0 100px; }
.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floating-order { position: fixed; right: 16px; bottom: 16px; z-index: 50; }

@media (max-width: 980px) {
  .menu-grid,
  .plan-grid,
  .footer-grid,
  .brand-story-grid { grid-template-columns: 1fr; }
  .menu-grid { column-count: 1; }
}

@media (max-width: 720px) {
  .container { width: min(1120px, calc(100% - 20px)); }
  .nav { justify-content: center; }
  .nav-actions { width: 100%; }
  .nav-actions .btn { flex: 1 1 auto; min-width: 44px; }
  .plan-card .btn { width: 100%; }
  .item-list li { grid-template-columns: 24px 56px 1fr; padding: 8px; }
  .item-list li .price { grid-column: 2 / 4; justify-self: start; }
  .hero-strip-item { width: 50vw; height: 36vw; }
  .hero-premium-viewport{min-height:220px}
  .hero-premium-overlay h3{font-size:1.1rem}
  .hero-experiment{grid-template-columns:1fr}
  .hero-exp-nav{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    font-size:1.6rem;
  }
  .hero-experiment-viewport,.hero-experiment-track{min-height:240px;height:240px}
  .hero-exp-card{width:88vw;height:220px}
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.preorder-confirm-floating .badge{margin-left:8px;background:rgba(255,255,255,.2);padding:4px 10px;border-radius:999px;font-size:.78rem;}
.tap-bump{animation:bump .25s ease;}@keyframes bump{0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
.preorder-skeleton{display:grid;gap:10px}.preorder-skeleton .row{height:84px;border-radius:12px;background:linear-gradient(90deg,#edf2ef,#f8fbf9,#edf2ef);background-size:200% 100%;animation:sh 1.2s ease-in-out infinite}
