:root {
  --cream: #fff4e6;
  --cream2: #ffe9d1;
  --paper: #fffaf3;
  --choco: #3b2418;
  --muted: #7a5a48;
  --caramel: #e07a3f;
  --caramel-dark: #c4612a;
  --honey: #f4b860;
  --cherry: #d94f4f;
  --sage: #7d9e6c;
  --line: #f0d9bf;
  --shadow: 0 10px 30px rgba(120, 70, 30, .12);
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--choco); font: 400 17px/1.6 "Nunito", system-ui, sans-serif; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .logo { font-family: "Fraunces", Georgia, serif; }
main { overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 5vw, 60px); background: rgba(255, 244, 230, .85); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(120, 70, 30, .06); }
.logo { font-size: 1.45rem; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo em { font-style: italic; color: var(--caramel); }
.logo-dot { display: inline-block; transition: transform .5s; }
.logo:hover .logo-dot { transform: rotate(360deg); }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--caramel); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; border: 0; cursor: pointer; background: var(--choco); color: var(--paper); font: 800 1rem "Nunito", sans-serif; padding: 10px 16px; border-radius: 999px; transition: transform .2s; }
.cart-btn:hover { transform: scale(1.05); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 999px; background: var(--honey); color: var(--choco); font-size: .8rem; }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }
.burger { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--choco); transition: transform .3s; }
.burger span:first-child { top: 5px; }
.burger span:last-child { bottom: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-block; border: 0; cursor: pointer; padding: 14px 28px; border-radius: 999px; font: 800 1rem "Nunito", sans-serif; text-decoration: none; color: #fff; background: var(--caramel); box-shadow: 0 6px 0 var(--caramel-dark); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--caramel-dark); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--caramel-dark); }
.btn-soft { background: var(--paper); color: var(--choco); box-shadow: 0 6px 0 var(--line); }
.btn-soft:hover { box-shadow: 0 4px 0 var(--line); }
.btn-full { width: 100%; }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 60px clamp(16px, 5vw, 60px) 80px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; padding: 6px 14px; border-radius: 999px; background: #e3f0dc; color: #3f6b2f; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.status.closed { background: #f8dede; color: #a33a3a; }
.status.closed::before { animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.08; margin: 18px 0; }
.squiggle { color: var(--caramel); position: relative; white-space: nowrap; }
.squiggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q12.5 0 25 6 T50 6 T75 6 T100 6' fill='none' stroke='%23f4b860' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 24px; }
.perks { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.perks li { background: var(--paper); border: 1px dashed var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.blob { border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--paper); animation: morph 10s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: 42% 58% 45% 55% / 55% 45% 55% 45%; } }
.float { position: absolute; font-size: 2.6rem; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15)); animation: bob 4s ease-in-out infinite; }
.f1 { top: -4%; left: 4%; }
.f2 { top: 8%; right: -2%; animation-delay: -1s; }
.f3 { bottom: 10%; left: -4%; animation-delay: -2s; }
.f4 { bottom: -2%; right: 18%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }
.sticker { position: absolute; top: 40%; right: -10px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--cherry); color: #fff; font-weight: 800; font-size: .8rem; line-height: 1.1; transform: rotate(12deg); box-shadow: var(--shadow); animation: wiggle 3s ease-in-out infinite; }
.sticker b { font: 800 1.4rem "Fraunces", serif; }
@keyframes wiggle { 50% { transform: rotate(-6deg) scale(1.05); } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; background: var(--choco); color: var(--honey); padding: 14px 0; transform: rotate(-1.5deg); margin: 0 -10px; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; font: 600 1.2rem "Fraunces", serif; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: 90px clamp(16px, 5vw, 60px); max-width: 1200px; margin: 0 auto; }
.section-warm { max-width: none; background: var(--cream2); border-radius: 48px 48px 0 0; }
.section-warm > * { max-width: 1100px; margin-inline: auto; }
.section-warm + .section-warm { border-radius: 0; }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 8px auto 36px; max-width: 560px; }

/* ---------- MENU ---------- */
.menu-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 2px solid var(--line); background: var(--paper); color: var(--choco); font: 700 .95rem "Nunito", sans-serif; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--choco); border-color: var(--choco); color: var(--paper); }
.search input { font: 400 16px "Nunito", sans-serif; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--choco); width: min(260px, 100%); }
.search { flex: 0 1 260px; }
.search input:focus, .order input:focus, .order textarea:focus { outline: 3px solid var(--honey); outline-offset: 1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.item { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; animation: pop .4s both; }
.item:hover { transform: translateY(-6px) rotate(-.5deg); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.item-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item:hover .item-img img { transform: scale(1.08); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--honey); color: var(--choco); font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 999px; transform: rotate(-4deg); }
.badge.soldout { background: var(--choco); color: var(--paper); }
.item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item h3 { font-size: 1.15rem; }
.item p { color: var(--muted); font-size: .92rem; flex: 1; }
.item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font: 800 1.25rem "Fraunces", serif; color: var(--caramel-dark); }
.add { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--caramel); color: #fff; font: 800 1.4rem "Nunito", sans-serif; box-shadow: 0 4px 0 var(--caramel-dark); transition: transform .15s; }
.add:hover { transform: scale(1.1) rotate(90deg); }
.add:disabled { background: var(--line); box-shadow: none; cursor: not-allowed; transform: none; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* ---------- COMBOS ---------- */
.combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.combo:nth-child(2) { outline: 4px solid var(--honey); }
.combo .item-img { aspect-ratio: 16/10; }
.price s { color: var(--muted); font: 400 .9rem "Nunito", sans-serif; margin-left: 6px; }

/* ---------- STEPS / REVIEWS / INFO ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.steps li { text-align: center; padding: 30px 22px; }
.steps span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--honey); font: 800 1.6rem "Fraunces", serif; margin-bottom: 12px; box-shadow: 0 6px 0 #d99a3e; }
.steps p { color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.review { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review:nth-child(odd) { transform: rotate(-1deg); }
.review blockquote { font: 600 1.1rem/1.5 "Fraunces", serif; margin-bottom: 14px; }
.review figcaption { color: var(--muted); font-weight: 700; font-size: .9rem; }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.card-soft { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.card-soft p { color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 4px; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--caramel-dark); font-weight: 800; }

.faq { max-width: 760px; margin: 36px auto 0; display: grid; gap: 12px; }
details { background: var(--paper); border-radius: 18px; padding: 18px 22px; box-shadow: 0 4px 14px rgba(120, 70, 30, .06); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--caramel); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; }

.footer { text-align: center; padding: 50px 16px; background: var(--choco); color: var(--cream2); display: grid; gap: 8px; justify-items: center; }
.footer .logo em { color: var(--honey); }

/* ---------- DRAWER ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(59, 36, 24, .45); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, .15); overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px dashed var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.drawer-head h2 { font-size: 1.6rem; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream2); color: var(--choco); cursor: pointer; font-size: 1rem; }
.cart-items { list-style: none; padding: 10px 22px; display: grid; gap: 12px; }
.cart-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.cart-items img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.cart-items .name { font-weight: 800; line-height: 1.2; }
.cart-items .line { color: var(--muted); font-size: .85rem; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--choco); font-weight: 800; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.cart-empty { padding: 30px 22px; color: var(--muted); text-align: center; }
.order { padding: 10px 22px 26px; display: grid; gap: 14px; margin-top: auto; }
.order[hidden] { display: none; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 14px 0; border-top: 1px dashed var(--line); }
.totals .total { font: 800 1.3rem "Fraunces", serif; margin-top: 6px; }
.order label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.order input:not([type="radio"]), .order textarea { font: 400 16px "Nunito", sans-serif; padding: 11px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--choco); resize: vertical; }
.mode { border: 0; display: grid; gap: 8px; }
.mode legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.mode label { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.mode label:has(input:checked) { border-color: var(--caramel); background: #fff3e8; }
.mode input { accent-color: var(--caramel); width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 150%; background: var(--choco); color: var(--paper); padding: 12px 22px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); transition: translate .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { translate: -50% 0; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav nav.open { max-height: 320px; }
  .nav nav a { padding: 14px clamp(16px, 5vw, 60px); border-top: 1px dashed var(--line); }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .hero-art { order: -1; width: min(80%, 360px); }
  .lead { margin-inline: auto; }
  .cta, .perks { justify-content: center; }
  .combos, .reviews, .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .info { grid-template-columns: 1fr; }
  .menu-tools { justify-content: center; }
  .chips { justify-content: center; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item-body { padding: 12px; }
  .item h3 { font-size: 1rem; }
  .item p { display: none; }
  .add { width: 36px; height: 36px; font-size: 1.2rem; }
  .price { font-size: 1.05rem; }
  .logo { font-size: 1.2rem; }
  .sticker { width: 78px; height: 78px; right: -6px; }
  .search, .search input { width: 100%; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}
