:root {
  --bg: #FAF7F2; --card: #FFFFFF; --tile: #F4EEE6; --ink: #1F2124; --mute: #6A6E75; --line: #E8E1D7;
  --dark: #1F2124; --dark-2: #2B2E33; --on-dark: #F6F1EA;
  --accent: #F28C1E; --accent-2: #FFB25C; --accent-soft: #FFF1DF; --ok: #1F7A4D; --ok-soft: #E8F5EE; --warn: #9A5B00; --warn-soft: #FFF3D6;
  --r: 16px; --shadow: 0 8px 28px rgba(31, 33, 36, .08);
  --display: "Fraunces", Georgia, serif; --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.012em; margin: 0; line-height: 1.15; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.demo { background: var(--warn-soft); color: var(--warn); font-size: 13px; padding: 7px 24px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center; }
.demo button { border: 0; background: var(--warn); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 12.5px; }

.top { position: sticky; top: 0; z-index: 30; background: var(--dark); color: var(--on-dark); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.top-in { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.mark { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 49 15 31a10 10 0 0 1 17-9 10 10 0 0 1 17 9z' fill='%23fff'/%3E%3C/svg%3E") center/100% no-repeat; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font: italic 500 21px var(--display); letter-spacing: -.01em; }
.brand-t small { font-size: 11.5px; opacity: .7; letter-spacing: .02em; }
.search { flex: 1; display: flex; align-items: center; gap: 9px; background: var(--dark-2); border: 1px solid #3A3E45; border-radius: 999px; padding: 0 16px; height: 44px; min-width: 0; }
.search svg { width: 18px; height: 18px; fill: none; stroke: #A9AEB6; stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--on-dark); font-size: 15px; }
.search input::placeholder { color: #8C9199; }
.search:focus-within { border-color: var(--accent); }
.zone, .cartbtn { height: 44px; border-radius: 999px; border: 1px solid #3A3E45; background: var(--dark-2); color: var(--on-dark); padding: 0 16px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; flex: none; }
.zone small { opacity: .65; font-size: 12px; }
.cartbtn { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.cartbtn .n { background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }

.catbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.catbar-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.groups { display: flex; background: var(--tile); border-radius: 999px; padding: 3px; flex: none; }
.groups button { border: 0; background: none; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13.5px; }
.groups button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; scroll-behavior: smooth; flex: 1; mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips a { text-decoration: none; white-space: nowrap; padding: 7px 13px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--mute); }
.chips a:hover { background: var(--tile); color: var(--ink); }
.chips a.on { background: var(--accent-soft); color: #8A4B00; font-weight: 700; }
.chips a small { opacity: .6; font-weight: 400; margin-left: 3px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; padding: 6px 13px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); margin-bottom: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.off { background: #F1EDE7; color: var(--mute); }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); }
.hero h1 em { font-style: italic; color: #C96A00; }
.hero p { color: var(--mute); font-size: 17px; max-width: 46ch; margin: 14px 0 22px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.perks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; color: var(--mute); }
.perks b { color: var(--ink); display: block; font-size: 14.5px; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 380px; }
.collage figure { margin: 0; background: var(--tile); border-radius: 22px; overflow: hidden; position: relative; }
.collage figure:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.collage figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; }

.sec-h { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 14px; flex-wrap: wrap; }
.sec-h h2 { font-size: 27px; }
.sec-h span { color: var(--mute); font-size: 14px; }
.sec-h .more { margin-left: auto; font-weight: 700; font-size: 14px; }
.tilegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 12px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #D9CFC2; }
.tile i { display: block; aspect-ratio: 1.35; background: var(--tile); border-radius: 11px; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.tile img.photo, .card .ph img.photo, .collage img.photo, .sheet .big img.photo { object-fit: cover; mix-blend-mode: normal; padding: 0; }
.tile b { font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.tile small { color: var(--mute); font-size: 12.5px; margin-top: -6px; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; padding-bottom: 4px; border-top: 1px solid var(--line); }
.toolbar > span { font-weight: 700; font-size: 13px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 500; }
.fchips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar select { margin-left: auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 500; }
.result { width: 100%; color: var(--mute); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.sub { grid-column: 1 / -1; font: 700 12.5px var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 8px 0 -4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #D9CFC2; }
.card .ph { display: block; aspect-ratio: 1.5; background: var(--tile); border: 0; padding: 0; width: 100%; position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; transition: transform .25s; }
.card:hover .ph img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.badge.out { background: var(--ink); color: #fff; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card h3 { font: 700 15.5px/1.25 var(--body); letter-spacing: 0; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card p { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tag { font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; background: var(--tile); color: #5B5046; }
.tag.kcal { background: var(--ok-soft); color: var(--ok); }
.tag.todo { background: var(--warn-soft); color: var(--warn); }
.card .buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font: 600 19px var(--display); white-space: nowrap; }
.price small { font: 400 12.5px var(--body); color: var(--mute); }
.add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); font-size: 24px; line-height: 1; font-weight: 500; display: grid; place-items: center; }
.add:hover { background: var(--accent-2); }
.stepper { display: inline-flex; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; height: 40px; }
.stepper button { width: 38px; height: 40px; border: 0; background: none; color: #fff; font-size: 20px; line-height: 1; }
.stepper span { min-width: 34px; text-align: center; font-weight: 700; font-size: 14px; white-space: nowrap; }
.card.dim { opacity: .5; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 26px; text-align: center; color: var(--mute); }

.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.row .card { scroll-snap-align: start; }

.cta3d { margin-top: 44px; }
.cta3d-in { background: var(--dark); color: var(--on-dark); border-radius: 26px; padding: 34px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; overflow: hidden; }
.cta3d h2 { font-size: 32px; }
.cta3d p { opacity: .78; max-width: 48ch; margin: 10px 0 20px; }
.cta3d figure { margin: 0; background: #F7EEE3; border-radius: 18px; aspect-ratio: 1.5; display: grid; place-items: center; font-size: 84px; }

.info { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 44px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.panel h2 { font-size: 24px; margin-bottom: 4px; }
.panel > p { color: var(--mute); margin: 0 0 14px; }
.zones { width: 100%; border-collapse: collapse; font-size: 14px; }
.zones th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding: 6px 8px 6px 0; }
.zones td { padding: 9px 8px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.zones td:nth-child(n+2), .zones th:nth-child(n+2) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zones tr.me td { background: var(--accent-soft); }
.zones tr.me td:first-child { box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
.loc { display: grid; gap: 12px; }
.loc div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.loc b { display: block; font: 600 17px var(--display); }
.loc a { font-weight: 700; text-decoration: none; }
.loc small { color: var(--mute); display: block; }

.foot { background: var(--dark); color: var(--on-dark); margin-top: 54px; padding: 30px 0 90px; font-size: 14px; }
.foot-in { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.foot a { opacity: .78; text-decoration: none; display: block; padding: 2px 0; }
.foot a:hover { opacity: 1; text-decoration: underline; }
.foot b { display: block; margin-bottom: 6px; }
.foot small { opacity: .6; display: block; margin-top: 10px; max-width: 46ch; }

/* overlays */
.scrim { position: fixed; inset: 0; background: rgba(31, 33, 36, .5); z-index: 60; display: flex; }
.drawer { margin-left: auto; width: min(440px, 100%); background: var(--bg); height: 100%; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.25); animation: in-r .22s ease-out; }
@keyframes in-r { from { transform: translateX(40px); opacity: 0; } }
.drawer header, .sheet header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer h2, .sheet h2 { font-size: 22px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tile); font-size: 17px; flex: none; }
.drawer .scroll { flex: 1; overflow-y: auto; padding: 16px 20px; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line i { width: 62px; height: 62px; border-radius: 12px; background: var(--tile); overflow: hidden; display: block; }
.line img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line b { font-size: 14.5px; line-height: 1.25; display: block; }
.line small { color: var(--mute); }
.line .stepper { height: 34px; }
.line .stepper button { width: 32px; height: 34px; }
.line .r { text-align: right; display: grid; gap: 6px; justify-items: end; font-weight: 700; }
.ship { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 16px; }
.ship label { font-weight: 700; font-size: 13.5px; display: block; margin-bottom: 6px; }
.ship select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 15px; }
.bar { height: 8px; background: var(--tile); border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.bar.done i { background: var(--ok); }
.ship p { margin: 0; font-size: 13.5px; color: var(--mute); }
.ship p b { color: var(--ink); }
.drawer footer { background: #fff; border-top: 1px solid var(--line); padding: 14px 20px 18px; }
.tot { display: flex; justify-content: space-between; font-size: 14.5px; padding: 2px 0; }
.tot.big { font: 600 22px var(--display); margin: 6px 0 12px; }
.tot .free { color: var(--ok); font-weight: 700; }
.hint { color: var(--mute); font-size: 12.5px; margin: 8px 0 0; text-align: center; }

.scrim.center { align-items: center; justify-content: center; padding: 16px; }
.sheet { background: var(--bg); border-radius: 24px; width: min(860px, 100%); max-height: min(92dvh, 900px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: in-u .2s ease-out; }
@keyframes in-u { from { transform: translateY(16px); opacity: 0; } }
.sheet .scroll { overflow-y: auto; }
.prod { display: grid; grid-template-columns: 1fr 1fr; }
.prod .big { background: var(--tile); min-height: 320px; position: relative; }
.prod .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 18px; }
.prod .det { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.crumb { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #C96A00; }
.prod h2 { font-size: 28px; }
.prod .desc { color: var(--mute); margin: 0; }
.prod .buyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.prod .price { font-size: 28px; }
.h4 { font: 700 12.5px var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--mute); margin: 6px 0 0; }
.nutri { width: 100%; border-collapse: collapse; font-size: 14px; }
.nutri th { text-align: right; font-size: 12px; color: var(--mute); font-weight: 700; padding: 4px 0; }
.nutri th:first-child, .nutri td:first-child { text-align: left; }
.nutri td { border-top: 1px solid var(--line); padding: 7px 0; text-align: right; font-variant-numeric: tabular-nums; }
.nutri tr:first-child td { font-weight: 700; }
.alg { display: flex; flex-wrap: wrap; gap: 6px; }
.alg span { border: 1.5px solid #E7B9A0; background: #FFF4EE; color: #9A3B10; border-radius: 999px; padding: 3px 11px; font-weight: 700; font-size: 13px; }
.ingr { font-size: 13.5px; color: #4A4E55; margin: 0; }
.todo-box { background: var(--warn-soft); border: 1px dashed #E2C277; color: #6E4500; border-radius: 12px; padding: 11px 13px; font-size: 13.5px; }

.notes { width: min(760px, 100%); }
.notes .scroll { padding: 6px 24px 24px; background: #fff; }
.notes h3 { font-size: 19px; margin: 20px 0 8px; }
.notes table { width: 100%; border-collapse: collapse; font-size: 14px; }
.notes td { border-top: 1px solid var(--line); padding: 10px 10px 10px 0; vertical-align: top; }
.notes td:first-child { width: 46%; }
.notes td b { display: block; }
.notes .pill { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; margin-bottom: 4px; }
.pill.bad { background: #FDE8E4; color: #A12A12; } .pill.good { background: var(--ok-soft); color: var(--ok); }
.notes p { color: var(--mute); margin: 6px 0; font-size: 14px; }
.notes ul { margin: 4px 0; padding-left: 18px; color: #4A4E55; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .22s; z-index: 90; max-width: min(92vw, 440px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.mobcart { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; height: 54px; border: 0; border-radius: 16px; background: var(--accent); font-weight: 700; font-size: 16px; display: none; align-items: center; justify-content: space-between; padding: 0 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

@media (max-width: 900px) {
  html { scroll-padding-top: 170px; }
  .wrap, .catbar-in { padding-left: 14px; padding-right: 14px; }
  .demo { padding: 6px 14px; font-size: 12px; }
  .top-in { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand-t b { font-size: 18px; } .brand-t small { display: none; } .mark { width: 36px; height: 36px; }
  .search { order: 5; flex-basis: 100%; height: 42px; }
  .zone { margin-left: auto; height: 38px; padding: 0 12px; font-size: 13.5px; } .zone small { display: none; }
  .cartbtn { display: none; }
  .mobcart:not([hidden]) { display: flex; }
  .catbar-in { gap: 8px; } .groups button { padding: 6px 10px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 22px; gap: 18px; }
  .hero p { font-size: 15.5px; }
  .collage { height: 230px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .body { padding: 10px 11px 12px; } .card h3 { font-size: 14.5px; } .price { font-size: 17px; }
  .row { grid-auto-columns: 70%; }
  .tilegrid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .tile { padding: 7px 7px 9px; } .tile b { font-size: 13px; }
  .sec-h h2 { font-size: 23px; } .sec-h { margin-top: 26px; }
  .toolbar select { margin-left: 0; }
  .cta3d-in, .info { grid-template-columns: 1fr; } .cta3d-in { padding: 22px; } .cta3d h2 { font-size: 25px; } .cta3d figure { display: none; }
  .prod { grid-template-columns: 1fr; } .prod .big { min-height: 220px; } .prod h2 { font-size: 23px; }
  .scrim.center { padding: 0; align-items: flex-end; } .sheet { border-radius: 22px 22px 0 0; max-height: 94dvh; }
  .foot { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #A89C8E; font-size: 13px; font-weight: 500; }
.tile i, .line i, .collage figure { position: relative; }
