:root {
  --navy: #163852;
  --accent: #7bdcb5;
  --accent-soft: #d0ede2;
  --bg: #fff;
  --card: #fff;
  --text: #163852;
  --muted: #6b7280;
  --line: #ebe6e1;
  --ok: #1f7a4d;
  --bad: #b42318;
}

html[data-city="ge"] {
  --accent: #7bdcb5;
  --accent-soft: #d0ede2;
}
html[data-city="ls"] {
  --accent: #ee9ab2;
  --accent-soft: rgba(238, 154, 178, 0.38);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app { min-height: 100vh; }
button, a { font: inherit; }
button { color: inherit; }

.site-header {
  position: relative; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 84px;
  padding: 12px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-right { justify-content: flex-end; }
.logo-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
}
.logo-btn img { height: 58px; display: block; }
.nav-link, .city-now {
  background: none; border: 0; padding: 0;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; color: var(--navy);
}
.nav-link.on { color: var(--accent); }
.nav-cta {
  border: 0; background: var(--accent); color: #fff;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; cursor: pointer;
}
.nav-cta.on, .nav-cta:hover { filter: brightness(0.96); }
.city-switch { position: relative; }
.city-now {
  display: inline-flex; align-items: center; gap: 6px;
}
.city-now svg { width: 14px; height: 14px; fill: currentColor; }
.city-menu {
  display: none;
  position: absolute; left: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line); min-width: 160px;
  box-shadow: 0 10px 30px rgba(22,56,82,.08);
}
.city-switch.open .city-menu { display: grid; }
.city-menu button {
  background: none; border: 0; text-align: left;
  padding: 12px 14px; font-weight: 800; cursor: pointer;
}
.city-menu button:hover, .city-menu button.on { background: var(--accent-soft); }
.cart-btn {
  border: 0; border-radius: 999px; background: var(--accent); color: var(--navy);
  font-weight: 800; padding: 10px 16px; cursor: pointer;
}
.cart-btn b { margin-left: 8px; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.burger span {
  display: block; height: 2px; background: var(--navy); margin: 7px 8px;
}
.mobile-nav {
  display: none;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; padding: 12px 0;
  font-weight: 800; text-transform: uppercase; cursor: pointer;
}

.hero, .page-head, .story, .menu-wrap, .home-pokes, .compose-cta, .philo-teaser {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 28px;
}
.hero { padding-top: 72px; padding-bottom: 36px; }
.eyebrow {
  margin: 0 0 8px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); font-size: 13px;
}
.hero h1, .page-head h1, .story h1 {
  margin: 0 0 16px; font-size: clamp(42px, 7vw, 84px);
  line-height: .95; font-weight: 900; letter-spacing: -.03em;
}
.hero .lede, .page-head p { color: var(--muted); font-size: 18px; line-height: 1.5; }
.center-actions { text-align: center; margin-top: 28px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card, .card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  background: var(--accent-soft); border: 0; padding: 0; cursor: pointer;
}
.product-media img, .product-hero > img, .cart-thumb {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
}
.product-body { padding: 18px; display: grid; gap: 10px; }
.product-name {
  background: none; border: 0; padding: 0; text-align: left;
  font-size: 22px; font-weight: 900; cursor: pointer;
}
.product-body p, .product-hero p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.size-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-pills button {
  border: 2px solid var(--line); background: #fff; border-radius: 12px;
  padding: 10px 8px; font-weight: 800; cursor: pointer;
}
.size-pills button span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.size-pills button.on { border-color: var(--accent); background: var(--accent-soft); }

.compose-cta, .philo-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.compose-cta h2, .philo-teaser h2, .story h2 {
  margin: 0 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 900;
}
.compose-visual .bowl-wrap { max-width: 360px; }
.philo-teaser { grid-template-columns: 1fr; max-width: 760px; }

.story p { font-size: 18px; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.contact-grid .card, .card { padding: 20px; }
.contact-grid h3, .contact-grid h4 { margin: 0 0 8px; }
.contact-grid p { margin: 0 0 8px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cat-tabs button {
  border: 0; border-radius: 999px; padding: 10px 16px;
  background: #f3f1ee; font-weight: 800; cursor: pointer;
}
.cat-tabs button.on { background: var(--accent); color: var(--navy); }

.product-hero {
  max-width: 1100px; margin: 0 auto; padding: 40px 28px 64px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start;
}
.product-hero img { border-radius: 18px; background: var(--accent-soft); }
.back-link { background: none; border: 0; padding: 0; font-weight: 800; cursor: pointer; margin-bottom: 12px; }
.hero-price { display: block; font-size: 28px; margin: 16px 0; }
.hero-sizes { max-width: 360px; margin-bottom: 16px; }

.site-footer {
  background: var(--navy); color: #fff; padding: 48px 28px 64px; margin-top: 24px;
}
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px;
}
.site-footer h3, .site-footer h4 { margin: 0 0 10px; }
.site-footer p { margin: 0 0 8px; color: rgba(255,255,255,.78); }
.site-footer a { color: #fff; text-decoration: none; }
.nl { display: flex; gap: 8px; margin-top: 12px; }
.nl input, .nl button { padding: 12px 14px; border: 0; }
.nl input { flex: 1; }
.nl button { background: var(--accent); color: var(--navy); font-weight: 800; }

.compose {
  display: grid;
  grid-template-columns: minmax(420px, 1.7fr) minmax(360px, 0.95fr);
  gap: 32px 56px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 40px 64px;
}
.bowl-col { position: sticky; top: 104px; align-self: start; }
.bowl-stage { position: relative; }
.bowl-stage:before {
  content: "";
  position: absolute; right: -8%; bottom: 4%;
  width: 88%; height: 72%;
  background: var(--accent);
  transform: rotate(7deg);
  border-radius: 8px; z-index: 0; opacity: .55;
}
.bowl-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: min(620px, 46vw);
  margin: 0 auto; aspect-ratio: 1;
}
.bowl-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; pointer-events: none;
}
.bowl-wrap .bowl-base { position: relative; z-index: 0; }
.bowl-wrap .layer { z-index: 1; }
.bowl-wrap .layer.cat-base { z-index: 2; }
.bowl-wrap .layer.cat-marinade { z-index: 20; }
.bowl-wrap .layer.cat-mix-me { z-index: 30; }
.bowl-wrap .layer.cat-proteines,
.bowl-wrap .layer.cat-sauce-me { z-index: 40; }
.bowl-wrap .layer.cat-top-me { z-index: 50; }
.bowl-title {
  position: relative; z-index: 1; margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
  font-weight: 900; color: var(--accent);
}
.bowl-title em { font-style: normal; color: var(--navy); }
.price-tag { position: relative; z-index: 1; margin-top: 10px; font-weight: 900; font-size: 26px; }
.price-tag small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.options-col { min-width: 0; padding-top: 8px; }
.options-intro h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-weight: 900; }
.options-intro p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.progress { position: relative; max-width: 100%; margin: 0 0 18px; }
.progress:before, .progress-bar {
  content: ""; position: absolute; height: 3px; left: 0; top: 14px;
  width: 100%; background: #ededed;
}
.progress-bar { background: var(--accent); width: 0; }
.progress-steps { display: flex; justify-content: space-between; position: relative; }
.progress-steps button {
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: #ededed; color: var(--navy); font-size: 11px; font-weight: 800; cursor: pointer;
}
.progress-steps button.active { background: var(--accent); color: #fff; }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.step-head h2 { margin: 0; font-size: 20px; font-weight: 900; text-transform: uppercase; }
.limit { color: var(--muted); font-weight: 700; font-size: 13px; }
.nav-mini { display: flex; gap: 8px; align-items: center; }
.nav-mini button, .icon-btn {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; cursor: pointer;
}
.nav-mini button.disabled { background: #d4d4d4; pointer-events: none; }
.icon-btn.reset { background: transparent; color: #c0c0c0; font-size: 16px; }
.lede { display: none; }
.err { color: var(--bad); font-size: 13px; margin: 0 0 10px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.swatch {
  display: flex; flex-direction: column; align-items: center;
  background: none; border: 0; padding: 0; cursor: pointer; user-select: none;
}
.swatch img, .swatch .ph {
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); object-fit: cover;
}
.swatch .ph { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.swatch.on:not(.qty) img, .swatch.on:not(.qty) .ph {
  padding: 6%; box-sizing: border-box; box-shadow: 0 0 0 3px var(--navy);
}
.swatch span { margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
.qty-box { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.qty-box button {
  width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 8px;
  background: var(--accent-soft); color: var(--navy); font-weight: 800; cursor: pointer;
}
.qty-box em { min-width: 16px; font-style: normal; font-weight: 800; text-align: center; }
.extra { margin-top: 26px; }
.extra label { display: block; font-weight: 900; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.extra select, .form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea, .form select,
.checkout-fields input, .checkout-fields textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px; background: #fff; color: var(--navy);
  -webkit-user-select: text; user-select: text;
}
.size-row { display: flex; gap: 12px; margin-top: 8px; }
.size-row button {
  flex: 1; border: 2px solid var(--line); background: #fff; border-radius: 14px;
  padding: 18px 12px; font-weight: 800; cursor: pointer;
}
.size-row button.on { border-color: var(--accent); background: var(--accent-soft); }

.desktop-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 8px;
}
.footer-bar { display: none; }
.btn {
  border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 800; cursor: pointer;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-accent, .btn-pink { background: var(--accent); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-wide { width: 100%; }

.page { padding: 36px 40px 80px; max-width: 980px; margin: 0 auto; }
.page h1 { margin: 0 0 8px; font-size: 32px; }
.cart-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.card-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.chip { background: var(--accent-soft); border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 600; }
.form { display: grid; gap: 12px; }
.form .row, .checkout-fields { display: grid; gap: 12px; }
.checkout-fields .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-fields.is-parked {
  position: fixed !important;
  left: -100vw;
  top: 0;
  width: 320px;
  opacity: 0;
  pointer-events: none;
}
html[data-view="checkout"] .footer-bar { display: none; }
html[data-view="checkout"] .desktop-actions { display: flex; }
html[data-view="checkout"] .page { padding-bottom: 40px; }
html[data-view="compose"] .footer-bar { position: static; }
html[data-view="compose"] .bowl-col { position: relative; top: 0; }
html[data-view="compose"] .compose { padding-bottom: 28px; }
.address-box { position: relative; }
.address-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  z-index: 50; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(22, 56, 82, .12);
  overflow: hidden;
}
.address-suggest button {
  display: block; width: 100%; text-align: left;
  background: #fff; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 14px; cursor: pointer; color: var(--navy);
}
.address-suggest button:last-child { border-bottom: 0; }
.address-suggest button:hover { background: var(--accent-soft); }
.address-suggest strong { display: block; font-size: 14px; }
.address-suggest em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.type-row { display: flex; gap: 8px; }
.type-row button { flex: 1; }
.order-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.order-box h2 { margin: 0 0 14px; font-size: 22px; }
.type-picks { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.type-picks button {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; cursor: pointer;
  background: none; border: 0; padding: 0;
}
.type-picks button:before {
  content: "";
  width: 22px; height: 22px; flex: 0 0 22px;
  border: 2px solid var(--navy); border-radius: 4px;
}
.type-picks button.on:before {
  background: var(--navy);
  box-shadow: inset 0 0 0 3px #fff;
}
.slot-label { display: block; font-weight: 800; margin: 16px 0 8px; }
.place-picks { display: grid; gap: 8px; }
.place-picks label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}
.place-picks label.on { border-color: var(--navy); background: var(--accent-soft); }
.place-picks > label > input[type="radio"] {
  appearance: none; width: 22px; height: 22px; margin-top: 2px;
  border: 2px solid var(--navy); border-radius: 4px; cursor: pointer;
}
.place-picks label.on input {
  background: var(--navy);
  box-shadow: inset 0 0 0 3px #fff;
}
.place-picks strong { display: block; font-size: 15px; }
.place-picks em { display: block; font-style: normal; color: var(--muted); font-size: 13px; font-weight: 600; }
.ok { color: var(--ok); }
.empty { text-align: center; color: var(--muted); padding: 40px 12px; }
.summary-box { position: static; }
.cart-item { display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; padding: 16px; margin: 12px 0; }
.cart-bowl .bowl-wrap { max-width: 148px; margin: 0; }
.cart-thumb { width: 148px; height: 148px; object-fit: cover; border-radius: 12px; }
.pay-box { margin: 16px 0 8px; }
.pay-choice {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; cursor: default;
}
.pay-choice > input[type="radio"] {
  appearance: none; width: 18px; height: 18px; margin: 0; flex: 0 0 18px;
  border: 2px solid var(--navy); border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px var(--navy);
}
.pay-detail {
  margin: 10px 0 0 28px;
  background: #f3f1ee;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
.pay-detail p { margin: 0 0 8px; color: var(--text); }
.pay-brands { font-weight: 800; font-size: 12px; letter-spacing: .02em; color: var(--navy); }

@media (max-width: 980px) {
  .site-header-inner { grid-template-columns: auto 1fr auto; padding: 10px 16px; min-height: 68px; }
  .nav-left, .nav-right { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; }
  .logo-btn img { height: 44px; }
  .hero, .page-head, .story, .menu-wrap, .home-pokes, .compose-cta, .philo-teaser { padding: 28px 16px; }
  .product-grid, .compose-cta, .contact-grid, .product-hero, .cart-grid, .footer-grid, .form .row, .checkout-fields .row {
    grid-template-columns: 1fr;
  }
  .compose { grid-template-columns: 1fr; gap: 8px; padding: 16px 16px 120px; }
  .bowl-col { position: relative; top: 0; }
  .bowl-stage:before { display: none; }
  .bowl-wrap { max-width: 280px; }
  .bowl-title { display: none; }
  .price-tag { text-align: center; font-size: 22px; }
  .options-intro { display: none; }
  .lede { display: block; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
  .desktop-actions { display: none; }
  .footer-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0;
    background: #fff; border-top: 1px solid var(--line);
    justify-content: space-between; gap: 10px;
    padding: 12px 16px 18px; z-index: 20;
  }
  .page { padding: 20px 16px 120px; }
  .summary-box { position: static; }
  .cart-item { grid-template-columns: 110px 1fr; }
  .cart-bowl .bowl-wrap, .cart-thumb { max-width: 110px; width: 110px; height: 110px; }
}
