/* =========================================================
   Concept Momo — brand tokens
   ========================================================= */
:root {
  --cream: #FEF1DE;
  --cream-2: #F7E2C2;
  --paper: #FFF9F1;
  --orange: #E4531B;
  --orange-d: #C2410F;
  --red: #D7351A;
  --brown: #2A130B;
  --brown-2: #5A3424;
  --board: #1D1917;
  --leaf: #2F7D32;
  --nonveg: #C62828;
  --line: rgba(42, 19, 11, .14);

  --f-body: "Baloo 2", system-ui, sans-serif;
  --f-mark: "Permanent Marker", "Baloo 2", cursive;

  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font: 400 1.0625rem/1.55 var(--f-body);
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.marker { font-family: var(--f-mark); font-weight: 400; letter-spacing: .01em; }
.muted { color: var(--brown-2); opacity: .8; font-weight: 400; }
.small { font-size: .92rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .55em 1.5em; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-d); }
.btn-primary:hover { background: var(--red); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- veg / non-veg marks (Indian FSSAI style) ---------- */
.dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 2px solid; border-radius: 3px; flex: none; }
.dot i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot.veg { color: var(--leaf); }
.dot.nonveg { color: var(--nonveg); }
.dot.nonveg i { border-radius: 0; width: 0; height: 0; background: none; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid currentColor; }
.dot.coffee, .dot.addon { display: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(42,19,11,.35); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 56px; height: 56px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); }
.nav-links a:hover { background: var(--cream-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-call { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding: 8px 12px; }
.nav-call svg, .nav-cart svg { width: 20px; height: 20px; fill: currentColor; }
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; background: var(--brown); color: var(--cream); border: 0; border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; }
.nav-cart.pop, .cb-count.pop { animation: pop .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes pop { 50% { transform: scale(1.25); } }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: transform .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(16px, 4vw, 48px); overflow: hidden; padding-bottom: 10px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; }
.hero-title { margin: 0; font-family: var(--f-mark); font-weight: 400; line-height: .92; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title .l1 { font-size: clamp(3.2rem, 9vw, 7.2rem); color: var(--brown); transform: rotate(-3deg); transform-origin: left; }
.hero-title .l2 { font-size: clamp(3.6rem, 10vw, 8rem); color: var(--orange); transform: rotate(-3deg); transform-origin: left; margin-top: .06em; }
.hero-sub { font-family: var(--f-mark); font-size: clamp(1.4rem, 3vw, 2.1rem); margin: .5em 0 .4em; transform: rotate(-2deg); transform-origin: left; }
.hero-lede { max-width: 34ch; font-size: 1.15rem; margin: 0 0 1.4em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; border: 0; background: none; padding: 0; cursor: pointer; justify-self: center; width: 100%; max-width: 640px; }
.hero-art img { width: 100%; height: auto; transform-origin: 50% 70%; }
.hero-art:hover img { animation: wobble .6s ease; }
.hero-art.puff img { animation: puff .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes wobble { 30% { transform: rotate(-2deg); } 60% { transform: rotate(1.5deg); } }
@keyframes puff { 40% { transform: scale(1.05) translateY(-6px); } }
.hero-hint { position: absolute; left: 0; bottom: 0; font-family: var(--f-mark); font-size: 1.05rem; color: var(--orange-d); transform: rotate(-6deg); }
.steam { position: absolute; left: 29%; top: -7%; width: 17%; z-index: 1; overflow: visible; }
.steam path { fill: none; stroke: var(--brown); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 150; stroke-dashoffset: 150; opacity: 0; animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .5s; }
.steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam {
  0% { stroke-dashoffset: 150; opacity: 0; transform: translateY(10px); }
  30% { opacity: .85; }
  70% { stroke-dashoffset: 0; opacity: .6; }
  100% { stroke-dashoffset: -150; opacity: 0; transform: translateY(-14px); }
}

/* page-load sequence: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .l1 { animation: slam .6s cubic-bezier(.2,1.4,.4,1) both; }
  .hero-title .l2 { animation: slam .6s .12s cubic-bezier(.2,1.4,.4,1) both; }
  .hero-sub { animation: rise .5s .35s ease-out both; }
  .hero-lede, .hero-ctas { animation: rise .5s .45s ease-out both; }
  .hero-art img { animation: land .8s .15s cubic-bezier(.2,1.2,.4,1) both; }
}
@keyframes slam { from { opacity: 0; transform: rotate(-3deg) scale(1.5) translateY(-20px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) rotate(-2deg); } }
@keyframes land { from { opacity: 0; transform: translateY(30px) scale(.92) rotate(4deg); } }

.ribbon { margin-top: clamp(16px, 4vw, 36px); background: var(--red); color: #fff; transform: rotate(-1.6deg); width: 104%; margin-left: -2%; overflow: hidden; box-shadow: 0 6px 0 var(--brown); }
.ribbon-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ribbon-track span { font-family: var(--f-mark); font-size: clamp(1.2rem, 2.6vw, 1.7rem); padding: 12px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ribbon-track span::after { content: ""; width: 26px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M5 39C5 24 18 11 32 8c14 3 27 16 27 31 0 6-11 8-27 8S5 45 5 39z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M5 39C5 24 18 11 32 8c14 3 27 16 27 31 0 6-11 8-27 8S5 45 5 39z'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { padding-block: clamp(56px, 9vw, 110px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.sec-head h2, .sec h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 0; }
.sec-head p { margin: 0; max-width: 46ch; }

/* ---------- MENU BOARD ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--brown); background: transparent; border-radius: var(--r-pill); padding: 7px 16px; font-weight: 600; transition: background-color .2s, color .2s; }
.chips button[aria-pressed="true"] { background: var(--brown); color: var(--cream); }
.chips button[aria-pressed="true"] .dot { background: #fff; }

.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; filter: drop-shadow(0 18px 24px rgba(42,19,11,.18)); }
.boards.single { grid-template-columns: 1fr; max-width: 640px; }
.board { position: relative; padding: clamp(28px, 4vw, 48px) clamp(20px, 3.5vw, 44px); }
.board[hidden] { display: none; }
/* torn brush edges */
.board-dark { background: var(--board); color: #fff; clip-path: polygon(0 1.5%, 6% 0, 18% 1.2%, 33% .2%, 48% 1.4%, 62% .3%, 78% 1.1%, 92% 0, 100% 1%, 100% 99%, 88% 100%, 72% 98.9%, 55% 99.8%, 40% 98.7%, 24% 99.7%, 9% 98.8%, 0 99.6%); }
.board-orange { background: var(--orange); color: #fff; clip-path: polygon(0 0, 14% 1.2%, 30% .2%, 46% 1.3%, 61% .1%, 77% 1.2%, 90% .3%, 100% 1.4%, 99.2% 50%, 100% 98.6%, 86% 99.8%, 70% 98.8%, 52% 100%, 36% 98.9%, 20% 99.9%, 0 98.8%); }
.group + .group { margin-top: 34px; }
.group[hidden] { display: none; }
.g-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.g-head img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); }
.g-head h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0; line-height: 1; position: relative; padding-bottom: 8px; }
.g-head h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; border-radius: 6px 2px 8px 3px; transform: rotate(-1.5deg); }
.board-dark .g-head h3::after { background: var(--red); }
.board-orange .g-head h3::after { background: var(--board); }

.group ul { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.22); }
.item:last-child { border-bottom: 0; }
.iname { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.iname .dot { background: #fff; }
.pick { font-family: var(--f-mark); font-weight: 400; font-size: .82rem; color: #FFD7B5; transform: rotate(-3deg); }
.board-orange .pick { color: var(--board); }
.price { font-weight: 800; font-size: 1.1rem; padding: 2px 12px; border-radius: 4px 10px 5px 9px; transform: rotate(-2deg); white-space: nowrap; }
.board-dark .price { background: var(--red); }
.board-orange .price { background: var(--board); }
.opts { display: inline-flex; gap: 6px; flex-basis: 100%; }
.opts button { border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; border-radius: var(--r-pill); padding: 0 10px; font-size: .85rem; font-weight: 600; line-height: 1.8; }
.opts button[aria-checked="true"] { background: #fff; color: var(--orange-d); }

.qty { min-width: 104px; display: flex; justify-content: flex-end; }
.qty .add { min-height: 40px; min-width: 84px; border: 2px solid #fff; background: transparent; color: #fff; border-radius: var(--r-pill); font-weight: 700; padding: 0 16px; transition: background-color .2s, color .2s, transform .15s; }
.qty .add:hover { background: #fff; color: var(--board); }
.board-orange .qty .add:hover { color: var(--orange-d); }
.qty .step { width: 36px; height: 40px; border: 0; background: #fff; color: var(--board); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.qty .step:first-child { border-radius: var(--r-pill) 0 0 var(--r-pill); }
.qty .step:last-child { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
.qty output { min-width: 32px; height: 40px; display: grid; place-items: center; background: #fff; color: var(--board); font-weight: 800; }
.chill { position: absolute; right: clamp(16px, 4vw, 44px); bottom: clamp(18px, 3vw, 36px); margin: 0; font-size: 1.4rem; line-height: 1.05; color: var(--board); transform: rotate(-12deg); }

/* ---------- PAIR BUILDER ---------- */
.pair { background: var(--paper); border-block: 2px dashed var(--line); text-align: center; }
.pair .pair-title { margin: 0 auto 6px; max-width: 18ch; }
.pair-sub { margin: 0 0 32px; }
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto .8fr; align-items: stretch; gap: 14px; }
.pv { display: flex; align-items: center; justify-content: space-between; gap: 4px; background: #fff; border: 2px solid var(--brown); border-radius: var(--r-lg); padding: 14px 8px; min-height: 140px; box-shadow: 5px 5px 0 var(--brown); }
.pv-body { flex: 1; display: grid; justify-items: center; gap: 4px; overflow: hidden; }
.pv-name { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.pv-price { font-weight: 800; font-size: 1.3rem; color: var(--orange-d); }
.pv-total { flex-direction: column; justify-content: center; background: var(--brown); color: var(--cream); }
.pv-total .pv-price { font-family: var(--f-mark); font-weight: 400; font-size: 2.6rem; color: #FFB27F; }
.arrow { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--cream-2); font-size: 1.6rem; font-weight: 700; line-height: 1; transition: background-color .2s, transform .15s; }
.arrow:hover { background: var(--orange); color: #fff; }
.arrow:active { transform: scale(.9); }
.op { align-self: center; font-size: 2.6rem; color: var(--orange); }
.pair-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- PROMISES ---------- */
.promises { background: var(--board); color: #fff; padding-block: 34px; }
.promises ul { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promises li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.promises svg { flex: none; width: 54px; height: 54px; padding: 10px; border: 2px solid var(--red); border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- EVENTS ---------- */
.events-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event { position: relative; background: var(--paper); border: 2px solid var(--brown); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.event:nth-child(1) { transform: rotate(-1deg); }
.event:nth-child(3) { transform: rotate(1deg); }
.ev-when { display: inline-flex; flex-direction: column; align-self: flex-start; background: var(--orange); color: #fff; padding: 8px 16px 6px; border-radius: 6px 14px 8px 12px; transform: rotate(-2deg); line-height: 1.15; }
.ev-when strong { font-family: var(--f-mark); font-weight: 400; font-size: 1.35rem; }
.ev-when span { font-size: .92rem; font-weight: 600; }
.event:nth-child(2) .ev-when { background: var(--brown); }
.event:nth-child(3) .ev-when { background: var(--red); }
.event h3 { font-size: 1.45rem; line-height: 1.15; margin: 6px 0 0; }
.event p { margin: 0; flex: 1; }
.event .btn { align-self: flex-start; min-height: 44px; }

/* ---------- FORMS ---------- */
.card { background: var(--paper); border: 2px solid var(--brown); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--brown); }
.form { padding: clamp(20px, 3vw, 34px); display: grid; gap: 14px; }
.form label, .cart label { display: grid; gap: 4px; font-weight: 600; font-size: .98rem; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--brown); width: 100%;
  background: #fff; border: 2px solid rgba(42,19,11,.25); border-radius: 12px; padding: 10px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(228,83,27,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { margin: 0; color: var(--nonveg); font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; padding: 0; margin-bottom: 6px; }

.bookings { background: var(--cream-2); }
.book-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.book-copy p { max-width: 42ch; font-size: 1.12rem; }
.big-phone { display: inline-block; font-size: clamp(2rem, 5vw, 3.2rem); text-decoration: none; background: var(--orange); color: #fff; padding: 4px 22px; transform: rotate(-3deg); border-radius: 6px 18px 8px 14px; margin: 10px 0 6px; transition: transform .2s; }
.big-phone:hover { transform: rotate(-1deg) scale(1.03); }

/* ---------- FEEDBACK ---------- */
.fb-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.feedback h2 { margin: 0; }
.feedback .muted { margin: -6px 0 4px; }
.rating { display: flex; gap: 8px; }
.rating button { width: 56px; height: 50px; border: 0; background: none; padding: 0; transition: transform .15s; }
.rating button:hover { transform: translateY(-3px); }
.rating svg { width: 100%; height: 100%; }
.m-body { fill: #fff; stroke: var(--brown); stroke-width: 3; transition: fill .2s; }
.m-pleat { fill: none; stroke: var(--brown); stroke-width: 2.6; stroke-linecap: round; }
.m-knob { fill: var(--brown); }
.rating button.on .m-body { fill: #F6C27E; }
.rating-word { display: inline-block; margin-top: 4px; font-family: var(--f-mark); color: var(--orange-d); min-height: 1.4em; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { border: 2px solid rgba(42,19,11,.3); border-radius: var(--r-pill); padding: 4px 14px; font-weight: 600; font-size: .92rem; transition: background-color .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.scan { display: grid; gap: 20px; }
.scan-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: var(--orange); color: #fff; border-radius: var(--r-lg); padding: 18px; }
.scan-card.dark { background: var(--board); }
.scan-card img { width: 150px; height: 150px; border-radius: 12px; background: #fff; padding: 6px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.scan-card:hover img { transform: rotate(-3deg) scale(1.04); }
.scan-card h3 { margin: 0 0 4px; font-size: 1.3rem; line-height: 1.2; }
.scan-card p { margin: 0 0 10px; font-size: .98rem; }
.scan-card .btn { display: flex; width: fit-content; min-height: 42px; padding-inline: 18px; font-size: .98rem; margin-bottom: 8px; }
.scan-card .link { font-size: .92rem; }

/* ---------- FOOTER ---------- */
.foot { background: var(--brown); color: var(--cream); padding: 48px 0 24px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot-in img { width: 96px; height: 96px; }
.foot-big { font-size: 1.8rem; margin: 0 0 4px; color: #FFB27F; }
.foot p { margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot .legal { margin: 32px auto 0; opacity: .65; font-size: .88rem; }

/* ---------- CART ---------- */
.cartbar { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.cartbar:not(.show) { visibility: hidden; transition: transform .35s, visibility 0s .35s; }
.cartbar.show { transform: translate(-50%, 0); }
.cartbar button { display: flex; align-items: center; gap: 12px; border: 0; background: var(--brown); color: var(--cream); padding: 8px 8px 8px 10px; border-radius: var(--r-pill); font-weight: 600; box-shadow: 0 10px 30px -8px rgba(42,19,11,.6); white-space: nowrap; }
.cb-count { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.cb-go { background: var(--cream); color: var(--brown); padding: 8px 16px; border-radius: var(--r-pill); font-weight: 700; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 39; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.cart { border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(440px, 100%); background: var(--paper); color: var(--brown); }
.cart::backdrop { background: rgba(42,19,11,.45); }
.cart[open] { animation: slidein .3s cubic-bezier(.2,1,.4,1); }
@keyframes slidein { from { transform: translateX(100%); } }
.cart-in { padding: 22px; display: grid; gap: 16px; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; font-size: 2rem; }
.x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream-2); font-size: 1.6rem; line-height: 1; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto 64px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart-lines li.empty { display: block; color: var(--brown-2); }
.cl-name { font-weight: 600; line-height: 1.25; }
.cl-q { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cl-q button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--brown); background: transparent; font-weight: 800; line-height: 1; }
.cl-t { text-align: right; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; }
.mode { display: flex; gap: 10px; flex-wrap: wrap; }
.mode legend { width: 100%; }
.mode label { display: inline-flex; cursor: pointer; }
.mode input { position: absolute; opacity: 0; width: 1px; min-height: 0; }
.mode span { border: 2px solid var(--brown); border-radius: var(--r-pill); padding: 6px 18px; font-weight: 600; }
.mode input:checked + span { background: var(--brown); color: var(--cream); }
.mode input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.cart-foot { display: flex; justify-content: space-between; }
.cart .small { margin: 0; }

/* ---------- toast & bursts ---------- */
.toast { position: fixed; left: 50%; top: 86px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; z-index: 80; background: var(--brown); color: var(--cream); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="ok"] { background: var(--leaf); color: #fff; }
.burst, .fly { position: fixed; z-index: 90; pointer-events: none; width: 28px; height: 22px; }
.burst svg, .fly svg { width: 100%; height: 100%; }
.burst .m-body, .fly .m-body { fill: #F6C27E; }
.burst { animation: burst 1s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.6); opacity: 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 8px var(--gut) 18px; box-shadow: 0 16px 24px -16px rgba(42,19,11,.4); transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none; transition: transform .25s, opacity .2s; }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 8px; font-size: 1.15rem; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav-call-num { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin-top: 10px; }
  .boards { grid-template-columns: 1fr; }
  .equation { grid-template-columns: 1fr; gap: 6px; }
  .pv { min-height: 96px; }
  .op { line-height: 1; }
  .promises ul { grid-template-columns: 1fr 1fr; }
  .events-list { grid-template-columns: 1fr; }
  .event:nth-child(n) { transform: none; }
  .book-in, .fb-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { width: 48px; height: 48px; }
  .nav-in { min-height: 64px; gap: 12px; }
  .row2 { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1fr auto; grid-template-areas: "name qty" "price qty"; row-gap: 6px; }
  .item .iname { grid-area: name; }
  .item .price { grid-area: price; justify-self: start; }
  .item .qty { grid-area: qty; min-width: 0; }
  .promises ul { grid-template-columns: 1fr; gap: 14px; }
  .scan-card { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .scan-card img { width: 110px; height: 110px; }
  .chill { display: none; }
  .rating button { width: 50px; height: 44px; }
  .wa-float { bottom: 84px; width: 50px; height: 50px; }
  .cartbar { bottom: 14px; }
  .card { box-shadow: 5px 5px 0 var(--brown); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ribbon-track { animation: none; }
  .steam path { opacity: .6; stroke-dashoffset: 0; }
}
