/* Ruokio v2 — light, simple, mobile-first */
:root {
  --green: #0BAF5E;
  --green-dark: #087A42;
  --green-soft: #E7F5EB;
  --green-mid: #B7E6C9;
  --navy: #0B2144;
  --text: #0B2144;
  --muted: #5A5248;
  --line: #E8DFD2;
  --bg: #F6EFE4;
  --card: #FFF9F2;
  --danger: #C0392B;
  --amber: #8A5A00;
  --amber-soft: #FFF3D1;
  --amber-bright: #F5C64A;
  --tomato: #C73C16;
  --tomato-top: #D4451A;
  --tomato-dark: #B33614;
  --espresso: #2A1C14;
  --shadow: 0 8px 28px rgba(58, 36, 24, 0.10);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 64px;
  --safe: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  padding-bottom: calc(88px + var(--safe));
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.hidden { display: none !important; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 6px; }
.lede { color: var(--muted); font-size: 1rem; margin-bottom: 16px; }
h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 800; }

/* Demo banner */
.demo-banner {
  background: var(--espresso);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
}
.demo-banner strong { color: #8dffc0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 249, 242, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 10px;
  min-height: var(--header-h);
  padding: 8px 0;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img, .logo-img { height: 34px; width: auto; }
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-toggle {
  display: flex; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px; overflow: hidden;
}
.lang-toggle button {
  min-width: 40px; height: 32px; border-radius: 999px;
  font-weight: 800; font-size: 0.78rem; color: var(--muted);
}
.lang-toggle button.is-on { background: var(--green-dark); color: #fff; }
.city-wrap { position: relative; }
.city-btn, .icon-btn, .text-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.city-btn { border: 1px solid var(--line); background: #fff; }
.city-btn svg, .icon-btn svg { width: 18px; height: 18px; }
.city-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); min-width: 180px; padding: 6px; z-index: 50;
}
.city-menu button {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 10px; font-weight: 700;
}
.city-menu button:hover, .city-menu button.is-on { background: var(--green-soft); color: var(--green-dark); }
.partners-link { font-weight: 700; color: var(--navy); padding: 0 8px; white-space: nowrap; }
.cart-link {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--navy);
}
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost, .btn-wide {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border-radius: 16px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  text-align: center; border: 0;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(11,175,94,.28); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.btn-secondary:hover { border-color: var(--green); }
.btn-ghost { background: var(--green-soft); color: var(--green-dark); }
.btn-wide { width: 100%; }
.btn-sm { min-height: 42px; padding: 8px 14px; font-size: 0.92rem; border-radius: 12px; }
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: var(--muted); margin: 16px 0 4px; font-size: 0.92rem;
}

/* Cards / panels */
.panel, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel h2 { margin-bottom: 12px; }

/* Hero + weather */
.hero { padding: 20px 0 8px; }
.hero h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.hero .tagline { color: var(--muted); font-weight: 600; margin: 8px 0 14px; font-size: 1.02rem; }
.weather-badge {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  color: var(--navy);
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 12px 0 18px;
}
.weather-badge .wb-icon { font-size: 1.3rem; line-height: 1; }
.weather-badge small { display: block; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* Feature tiles (top 2) */
.feature-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}
.feature-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow); min-height: 160px;
  color: var(--navy);
}
.feature-card.primary { background: linear-gradient(180deg, #fff 70%, var(--green-soft)); border-color: var(--green-mid); }
.feature-card.deal { background: linear-gradient(180deg, #fff 70%, var(--amber-soft)); }
.feature-card .kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.feature-card.deal .kicker { color: var(--amber); }
.feature-card h2 { font-size: 1.25rem; }
.feature-card p { color: var(--muted); font-weight: 600; flex: 1; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.mini-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px; font-weight: 800; font-size: 0.82rem; color: var(--navy); min-height: 86px;
}
.mini-card span { font-size: 1.2rem; }

/* Search / chips */
.search-row { position: relative; margin: 4px 0 12px; }
.search-row svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-row input {
  width: 100%; height: 52px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; padding: 0 16px 0 44px; font-weight: 600;
}
.search-row input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy);
}
.chip.is-on { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.section-head .meta { color: var(--muted); font-weight: 700; font-size: 0.88rem; }

/* Restaurant cards */
.resto-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 24px; }
.resto-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--navy);
}
.cover { position: relative; height: 140px; overflow: hidden; background: #4A3224; }
.cover svg { width: 100%; height: 100%; }
.badge {
  position: absolute; left: 10px; top: 10px;
  background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
}
.badge-home { background: var(--espresso); }
.card-body { padding: 12px 14px 14px; }
.card-tags, .card-row { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.card-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; align-items: center; }
.rating { color: var(--navy); font-weight: 800; }
.star { color: #E8B923; }
.empty { background: #fff; border-radius: var(--radius); padding: 28px 16px; text-align: center; color: var(--muted); font-weight: 600; }

/* Menu */
.resto-hero .cover { border-radius: var(--radius) var(--radius) 0 0; height: 180px; }
.resto-meta { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 16px; margin-bottom: 16px; }
.menu-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; }
.menu-nav a { flex-shrink: 0; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--navy); }
.menu-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; margin-bottom: 10px;
}
.menu-item h3 { margin-bottom: 2px; }
.menu-item p { color: var(--muted); font-size: 0.88rem; }
.menu-item .price { font-weight: 800; white-space: nowrap; }
.was { text-decoration: line-through; color: var(--muted); font-weight: 600; margin-right: 6px; }
.qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff;
}
.qty button { width: 36px; height: 36px; font-weight: 800; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.add-btn { min-height: 40px; padding: 8px 14px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; }

/* Cart bar */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe));
  z-index: 35;
  background: var(--espresso); color: #fff;
  border-radius: 18px; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; font-weight: 800; box-shadow: 0 10px 30px rgba(11,33,68,.3);
}
.cart-bar.is-hidden { display: none; }

/* Checkout / forms */
.field { margin: 12px 0; }
.field label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px; background: #fff; min-height: 52px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.notice { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.err { color: var(--danger); font-weight: 700; font-size: 0.9rem; margin-top: 8px; }
.err.is-on { display: block; }
.seg, .tips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .tips button, .pay-opt {
  min-height: 48px; padding: 10px 16px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; font-weight: 800;
}
.seg button.is-on, .tips button.is-on, .pay-opt.is-on {
  border-color: var(--green); background: var(--green-soft); color: var(--green-dark);
}
.totals { margin-top: 12px; }
.totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-weight: 700; }
.totals .row.total { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.pay-demo { background: var(--green-soft); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.pay-demo p { color: var(--muted); font-weight: 600; margin-top: 4px; }
.cards-row, .benefit-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fake-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.privacy-note { background: #F3E6D2; border-radius: 14px; padding: 12px 14px; font-size: 0.88rem; font-weight: 600; color: var(--muted); margin: 10px 0; }

/* Tracker */
.tracker { list-style: none; margin: 12px 0 20px; }
.tracker li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 10px 0; position: relative;
}
.tracker li:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 36px; bottom: -10px;
  width: 2px; background: var(--line);
}
.tracker .dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.tracker li.is-done .dot, .tracker li.is-now .dot { background: var(--green); border-color: var(--green); color: #fff; }
.tracker li.is-now { font-weight: 800; }
.tracker .st-desc { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.order-id { font-weight: 700; margin-bottom: 4px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 16px; }

/* Call modal */
.modal-back {
  position: fixed; inset: 0; background: rgba(11,33,68,.45);
  z-index: 80; display: flex; align-items: flex-end; justify-content: center;
}
.modal {
  background: #fff; width: min(420px, 100%);
  border-radius: 24px 24px 0 0; padding: 24px 20px calc(24px + var(--safe));
  text-align: center; box-shadow: var(--shadow);
}
.modal .pulse {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 8px auto 16px; font-size: 2rem;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.08); background: var(--green-mid); } }
.call-status { font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.call-sub { color: var(--muted); font-weight: 600; margin-bottom: 18px; }

/* Chat */
.chat-card { padding: 0; overflow: hidden; margin-bottom: 20px; }
.chat-tabs { display: flex; border-bottom: 1px solid var(--line); }
.chat-tabs button { flex: 1; min-height: 48px; font-weight: 800; color: var(--muted); }
.chat-tabs button.is-on { color: var(--green-dark); box-shadow: inset 0 -3px 0 var(--green); }
.chat-log { max-height: 280px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #F6EFE4; min-height: 180px; }
.bubble { max-width: 85%; padding: 10px 12px; border-radius: 16px; font-weight: 600; font-size: 0.92rem; }
.bubble.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble .who { display: block; font-size: 0.72rem; font-weight: 800; opacity: .7; margin-bottom: 2px; }
.chat-compose { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-compose input { flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; }
.chat-compose button { min-width: 48px; min-height: 48px; border-radius: 14px; background: var(--green); color: #fff; font-weight: 800; padding: 0 14px; }

/* Office lunch */
.building-list { display: grid; gap: 10px; margin: 12px 0 18px; }
.building-card {
  text-align: left; background: #fff; border: 2px solid var(--line);
  border-radius: 18px; padding: 16px; width: 100%;
}
.building-card.is-on { border-color: var(--green); background: var(--green-soft); }
.building-card .addr { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.people-count { font-size: 1.15rem; font-weight: 800; margin: 10px 0 6px; }
.progress { height: 12px; background: #E8EEEA; border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress > span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.fee-now { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); }
.cutoff { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.cutoff .pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 0.88rem; }

/* Deals */
.saved-counter {
  background: var(--espresso); color: #fff; border-radius: var(--radius);
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.saved-counter b { font-size: 1.6rem; }
.deal-card { padding: 0; overflow: hidden; margin-bottom: 12px; }
.deal-body { padding: 14px 16px 16px; }
.countdown { display: inline-flex; align-items: center; gap: 6px; background: var(--amber-soft); color: var(--amber); font-weight: 800; border-radius: 999px; padding: 4px 10px; font-size: 0.82rem; }
.left-tag { color: var(--muted); font-weight: 700; font-size: 0.85rem; }

/* Planner */
.week-grid { display: grid; gap: 10px; margin: 12px 0 16px; }
.day-card { padding: 14px; }
.day-card .day-name { font-weight: 800; margin-bottom: 8px; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.toggle input { width: 22px; height: 22px; accent-color: var(--green); }
.diet-row { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 10px 0 16px; }
.diet-btn { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px; font-weight: 800; }
.diet-btn small { display: block; font-weight: 600; color: var(--muted); margin-top: 2px; }
.diet-btn.is-on { border-color: var(--green); background: var(--green-soft); }
.admin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-size: 1.4rem; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.85rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-top: 24px; }
.footer-inner { display: grid; gap: 6px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; }
.footer-brand img { height: 28px; width: auto; }
.footer-tagline { color: var(--muted); margin: 4px 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.footer-links a { color: var(--navy); font-weight: 700; }

/* Partners */
.partner-hero { padding: 24px 0 8px; }
.partner-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.perks { display: grid; gap: 12px; margin: 16px 0 24px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.perk .rate { font-size: 2rem; font-weight: 800; color: var(--green-dark); }
.suggested { display: inline-block; font-size: 0.75rem; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 3px 8px; vertical-align: middle; margin-left: 6px; }
.perk .icon { font-size: 1.6rem; margin-bottom: 6px; }
.form-success { display: none; background: var(--green-soft); border-radius: 16px; padding: 16px; font-weight: 700; }
.form-success.is-on { display: block; }
.honeypot { position: absolute; left: -9999px; }

.center-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.center-page h1 { font-size: 3rem; font-weight: 800; }

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .resto-grid { grid-template-columns: 1fr 1fr; }
  .diet-row { grid-template-columns: 1fr 1fr 1fr; }
  .logo img, .logo-img { height: 40px; }
  .modal { border-radius: 24px; margin-bottom: 40px; }
  .modal-back { align-items: center; }
  .week-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .resto-grid { grid-template-columns: 1fr 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr 1fr; }
  .week-grid { grid-template-columns: repeat(5, 1fr); }
  .mini-grid { gap: 12px; }
}

@media (max-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 24px)); }
  .partners-link, .couriers-link { display: none; }
  .logo img, .logo-img { height: 30px; }
  .city-btn { height: 36px; padding: 0 8px; font-size: 0.82rem; }
  .lang-toggle button { min-width: 34px; height: 30px; }
  .header-actions { gap: 4px; }
  .cart-link { width: 40px; height: 40px; flex-shrink: 0; }
  .header-inner { gap: 8px; }
}

/* ——— Soft cloud / claymorphism + food motion (v2.1) ——— */
:root {
  --radius: 28px;
  --radius-sm: 22px;
  --bg: #F6EFE4;
  --shadow:
    0 2px 4px rgba(58, 36, 24, 0.04),
    0 10px 24px rgba(58, 36, 24, 0.08),
    0 22px 40px rgba(58, 36, 24, 0.05),
    inset 0 2px 2px rgba(255, 252, 246, 0.95),
    inset 0 -3px 8px rgba(58, 36, 24, 0.05);
  --shadow-press:
    0 1px 2px rgba(58, 36, 24, 0.06),
    0 4px 10px rgba(58, 36, 24, 0.08),
    inset 0 3px 8px rgba(58, 36, 24, 0.10);
  --btn-green: linear-gradient(180deg, #0D9A54 0%, #087A42 50%, #066636 100%);
  --btn-tomato: linear-gradient(180deg, #D4451A 0%, #C73C16 50%, #B33614 100%);
  --btn-amber: linear-gradient(180deg, #FFE08A 0%, #F5C64A 55%, #E8B423 100%);
  --btn-green-shadow:
    0 8px 18px rgba(11, 175, 94, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 -3px 8px rgba(0, 70, 30, 0.22) inset;
  --btn-tomato-shadow:
    0 8px 18px rgba(199, 60, 22, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 -3px 8px rgba(90, 20, 0, 0.22) inset;
  --btn-amber-shadow:
    0 8px 18px rgba(200, 150, 20, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.45) inset,
    0 -3px 8px rgba(120, 70, 0, 0.16) inset;
}

body {
  background:
    radial-gradient(1100px 480px at 8% -8%, rgba(11, 175, 94, 0.07), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(245, 198, 74, 0.22), transparent 52%),
    radial-gradient(700px 360px at 80% 20%, rgba(212, 69, 26, 0.06), transparent 50%),
    linear-gradient(180deg, #FBF4EA 0%, #F3E6D4 100%);
}

.site-header {
  background: rgba(255, 249, 242, 0.88);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(58, 36, 24, 0.06);
}

.lang-toggle {
  background: var(--card);
  border: 0;
  border-radius: 999px;
  padding: 3px;
  box-shadow: var(--shadow);
  gap: 0;
}
.lang-toggle button {
  min-width: 36px;
  height: 30px;
  border-radius: 999px;
  font-size: 0.72rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.lang-toggle button.is-on {
  background: var(--btn-green);
  color: #fff;
  box-shadow: 0 3px 8px rgba(11, 175, 94, 0.3), inset 0 1px 0 rgba(255,255,255,.35);
}
.city-btn, .cart-link, .chip, .add-btn, .seg button, .tips button, .pay-opt, .diet-btn, .menu-nav a {
  border: 0;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #FFFBF6 0%, #F3E8DA 100%);
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.cart-link { border-radius: 18px; background: linear-gradient(180deg, #F2FFF7, #E6F8EE); }
.cart-count {
  box-shadow: 0 2px 6px rgba(11, 175, 94, 0.4);
  background: var(--btn-green);
}

.btn-primary, .btn-secondary, .btn-ghost, .btn-wide, .add-btn {
  border-radius: 999px;
  border: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn-primary, .add-btn {
  background: var(--btn-tomato);
  color: #fff;
  box-shadow: var(--btn-tomato-shadow);
}
.btn-primary:hover, .add-btn:hover { filter: brightness(1.03); background: var(--btn-tomato); }
.btn-brand, .feature-card.primary .btn-primary, .btn-primary.btn-brand {
  background: var(--btn-green);
  color: #fff;
  box-shadow: var(--btn-green-shadow);
}
.btn-brand:hover, .feature-card.primary .btn-primary:hover, .btn-primary.btn-brand:hover {
  filter: brightness(1.03); background: var(--btn-green);
}
.btn-deal, .feature-card.deal .btn-primary, .btn-primary.btn-deal {
  background: var(--btn-amber);
  box-shadow: var(--btn-amber-shadow);
  color: var(--navy);
}
.btn-deal:hover, .feature-card.deal .btn-primary:hover {
  filter: brightness(1.03); background: var(--btn-amber); color: var(--navy);
}
.btn-secondary, .btn-ghost {
  background: linear-gradient(180deg, #FFFBF6 0%, #F3E8DA 100%);
  box-shadow: var(--shadow);
  color: var(--navy);
  border: 0;
}
.btn-sm { border-radius: 999px; }

.btn-primary:active, .btn-secondary:active, .btn-ghost:active, .add-btn:active,
.chip:active, .city-btn:active, .cart-link:active, .lang-toggle button:active,
.building-card:active, .diet-btn:active, .pay-opt:active, .seg button:active,
.tips button:active, .mini-card:active, .feature-card:active, .qty button:active,
.chat-compose button:active, .contact-actions .btn-primary:active {
  transform: translateY(3px) scale(0.985);
  box-shadow: var(--shadow-press);
}
.btn-primary:active, .add-btn:active {
  box-shadow: 0 3px 8px rgba(199, 60, 22, 0.28), inset 0 3px 8px rgba(90, 20, 0, 0.22);
}
.btn-brand:active, .feature-card.primary .btn-primary:active, .btn-primary.btn-brand:active {
  box-shadow: 0 3px 8px rgba(11, 175, 94, 0.25), inset 0 3px 8px rgba(0, 70, 30, 0.2);
}
.btn-deal:active, .feature-card.deal .btn-primary:active {
  box-shadow: 0 3px 8px rgba(200, 150, 20, 0.28), inset 0 3px 8px rgba(120, 70, 0, 0.18);
}

.panel, .card, .resto-card, .feature-card, .mini-card, .deal-card, .building-card,
.menu-item, .weather-badge, .saved-counter, .perk, .day-card, .stat, .chat-card, .pay-demo,
.search-row input, .field input, .field select, .field textarea, .qty, .modal, .city-menu {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #FFFBF6 0%, #F6EBDD 100%);
}
.feature-card, .resto-card, .mini-card, .building-card, .diet-btn {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.feature-card.primary {
  background: linear-gradient(180deg, #FFFBF6 55%, #E6F6EB 100%);
}
.feature-card.deal {
  background: linear-gradient(180deg, #FFFBF6 55%, #FFF0C8 100%);
}
.weather-badge {
  background: linear-gradient(180deg, #F3F8F0, #E7F5EB);
  border: 0;
  overflow: visible;
  padding: 16px 16px 14px;
}
.weather-badge .wb-icon {
  padding-top: 6px;
  flex-shrink: 0;
}
.saved-counter {
  background: linear-gradient(180deg, #3C2418 0%, #2A1C14 100%);
  box-shadow: 0 10px 24px rgba(42, 28, 20, 0.28), inset 0 2px 0 rgba(255,255,255,.12);
}
.cover { border-radius: 28px 28px 0 0; overflow: hidden; position: relative; }
.resto-hero .cover { border-radius: var(--radius) var(--radius) 0 0; }
.resto-meta { border: 0; box-shadow: var(--shadow); }

.cart-bar {
  border-radius: 24px;
  background: linear-gradient(180deg, #3C2418, #2A1C14);
  box-shadow:
    0 12px 30px rgba(42, 28, 20, 0.32),
    inset 0 2px 0 rgba(255,255,255,.12);
}

.progress { background: #E8DFD2; border-radius: 99px; box-shadow: inset 0 2px 4px rgba(58,36,24,.08); }
.progress > span { background: var(--btn-green); }

.chip { border-radius: 999px; }
.chip.is-on, .seg button.is-on, .tips button.is-on, .pay-opt.is-on, .diet-btn.is-on, .building-card.is-on {
  background: var(--btn-green);
  color: #fff;
  box-shadow: var(--btn-green-shadow);
  border: 0;
}
.diet-btn.is-on, .building-card.is-on { color: var(--navy); background: linear-gradient(180deg, #F2FFF7, #D9F5E6); box-shadow: var(--shadow); }

/* Food motion */
.cover-art {
  width: 100%;
  height: 100%;
  animation: bob 3.8s ease-in-out infinite;
  transform-origin: 50% 60%;
}
.cover-art svg { display: block; width: 100%; height: 100%; }
.bob { display: inline-block; animation: bob 3.2s ease-in-out infinite; }
.steam {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: 42%;
  width: 80px;
  height: 70px;
  transform: translateX(-50%);
  z-index: 2;
}
.steam i {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(2px);
  opacity: 0;
  animation: steam 3.2s ease-in-out infinite;
}
.steam i:nth-child(1) { left: 18px; animation-delay: 0s; }
.steam i:nth-child(2) { left: 35px; width: 12px; height: 26px; animation-delay: 0.7s; }
.steam i:nth-child(3) { left: 54px; animation-delay: 1.3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-5px) rotate(0.6deg); }
}
@keyframes steam {
  0% { opacity: 0; transform: translateY(8px) scaleX(0.8); }
  20% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-42px) scaleX(1.2); }
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cartPop {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.16); }
  60% { transform: scale(0.96); }
}

.pop-in { animation: popIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.resto-grid .pop-in:nth-child(1) { animation-delay: 0.03s; }
.resto-grid .pop-in:nth-child(2) { animation-delay: 0.08s; }
.resto-grid .pop-in:nth-child(3) { animation-delay: 0.13s; }
.resto-grid .pop-in:nth-child(4) { animation-delay: 0.18s; }
.resto-grid .pop-in:nth-child(5) { animation-delay: 0.23s; }
.resto-grid .pop-in:nth-child(6) { animation-delay: 0.28s; }
.feature-grid .pop-in:nth-child(2) { animation-delay: 0.08s; }
.mini-grid .pop-in:nth-child(2) { animation-delay: 0.06s; }
.mini-grid .pop-in:nth-child(3) { animation-delay: 0.12s; }

.fly-bite {
  position: fixed;
  z-index: 200;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.65s ease;
  filter: drop-shadow(0 6px 8px rgba(11, 33, 68, 0.2));
}
.cart-pop { animation: cartPop 0.45s ease; }

@media (max-width: 720px) {
  .lang-toggle button { min-width: 30px; height: 28px; font-size: 0.68rem; padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-art, .bob, .steam i, .pop-in, .cart-pop, .fly-bite {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .btn-primary:active, .btn-secondary:active, .btn-ghost:active, .add-btn:active,
  .chip:active, .city-btn:active, .cart-link:active, .building-card:active {
    transform: none;
  }
}

.couriers-link { font-weight: 700; color: var(--navy); padding: 0 8px; white-space: nowrap; }

.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; }
.join-row .mini-card { min-height: 86px; }

/* Deal / highlight typography */
.deal-body s, .deal-card s, .was { color: var(--muted); font-weight: 600; }
.deal-body .now, .price-now { color: #A33A12; font-weight: 800; }
.countdown { background: var(--amber-soft); color: var(--amber); }

/* Chat send stays brand green; bubbles use darker emerald for contrast */
.chat-compose button { background: var(--btn-green); }
.bubble.me { background: var(--green-dark); }

/* Courier page */
.page-couriers { padding-bottom: 28px; }
.courier-hero { margin-bottom: 8px; }
.courier-mark { display: inline-block; font-size: 2rem; margin-bottom: 4px; }
.courier-grid { display: grid; gap: 12px; margin: 8px 0 16px; }
.req-list, .how-list {
  margin: 10px 0 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 8px;
}
.req-list li, .how-list li { font-weight: 600; color: var(--text); }
.how-list { list-style: none; padding: 0; counter-reset: how; }
.how-list li {
  counter-increment: how;
  position: relative;
  padding: 10px 12px 10px 48px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFBF6 0%, #F3E8DA 100%);
  box-shadow: var(--shadow);
  list-style: none;
}
.how-list li::before {
  content: counter(how);
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--btn-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.courier-self p { font-weight: 600; margin-top: 8px; }
.courier-form-card { margin-bottom: 28px; }
.lang-fieldset { border: 0; padding: 0; min-width: 0; }
.lang-fieldset legend { font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; color: var(--navy); }
.lang-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(180deg, #FFFBF6 0%, #F3E8DA 100%);
  box-shadow: var(--shadow); font-weight: 700; cursor: pointer;
}
.check-chip input { width: 18px; height: 18px; accent-color: var(--green); }
.lang-other-input { display: none; margin-top: 10px; width: 100%; border: 0; border-radius: 18px; padding: 14px; min-height: 52px; box-shadow: var(--shadow); background: linear-gradient(180deg, #FFFBF6 0%, #F6EBDD 100%); }
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 0 18px; font-weight: 600; font-size: 0.92rem;
}
.consent-row input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green); }

@media (min-width: 720px) {
  .courier-grid { grid-template-columns: 1fr 1fr; }
}

/* Contrast + warm overlays */
.badge, .cart-count { background: var(--green-dark); color: #fff; }
.tracker li.is-done .dot, .tracker li.is-now .dot { background: var(--green-dark); border-color: var(--green-dark); }
.modal-back { background: rgba(42, 28, 20, 0.45); }
.cart-bar { box-shadow: 0 12px 30px rgba(42, 28, 20, 0.32), inset 0 2px 0 rgba(255,255,255,.12); }

.cover-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-photo {
  width: 72px; height: 72px; object-fit: cover; border-radius: 12px;
  flex-shrink: 0; background: #E8EEE9;
}
.menu-item { align-items: flex-start; }
.menu-item-body { flex: 1; min-width: 0; }
