:root {
  --cream: #FBF8F2;
  --beige: #E8DFC9;
  --beige-soft: #F3ECDC;
  --coffee: #4A2D20;
  --brown: #79513A;
  --green: #294D38;
  --green-soft: #DDE9DC;
  --ink: #2A1A12;
  --muted: #6B5A50;
  --wa: #25D366;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --tone: var(--coffee);
  --shadow-float: 0 8px 24px -4px rgba(74,45,32,.28), 0 2px 6px -1px rgba(74,45,32,.12);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  background: var(--beige);
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.app {
  max-width: 428px;
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  box-shadow: 0 0 60px rgba(74,45,32,.15);
}

/* HERO */
.hero {
  background: var(--coffee);
  color: var(--cream);
  text-align: center;
  padding: 44px 24px 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -40px -70px -40px; height: 120px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__pot { color: var(--beige); opacity: .9; }
.hero__name {
  font: 600 56px/1 var(--serif);
  letter-spacing: .02em;
  font-variant: small-caps;
  margin-top: 4px;
}
.hero__tag {
  font: 500 11px/1 var(--sans);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--beige);
  margin-top: 12px;
}
.hero__hours { margin-top: 20px; font-size: 13px; color: var(--beige); position: relative; z-index: 1; }
.hero__now {
  position: relative; z-index: 1;
  display: inline-block; margin-top: 12px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--cream); color: var(--coffee);
  font: 700 12px/1 var(--sans);
}
.hero__now::before { content: "● "; color: var(--green); }
.hero__now[hidden] { display: none; }

/* TABS */
.tabs {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,248,242,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige);
  margin-top: -4px;
}
.tabs ul { list-style: none; display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a {
  display: block; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px;
  background: var(--beige); color: var(--coffee);
  font: 600 13px/18px var(--sans); text-decoration: none;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s, color .2s;
}
.tabs a:active { transform: scale(.95); }
.tabs a.is-active { background: var(--coffee); color: var(--cream); }
.tabs a.is-active[data-tone="green"] { background: var(--green); }
.tabs a.is-active[data-tone="brown"] { background: var(--brown); }

/* SECTIONS */
main { padding: 8px 16px 0; }
.sec { padding: 28px 0 8px; }
.sec--coffee { --tone: var(--coffee); }
.sec--brown  { --tone: var(--brown); }
.sec--green  { --tone: var(--green); }
.sec__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  border-bottom: 2px solid var(--tone);
  padding-bottom: 8px; margin-bottom: 6px;
}
.sec__head h2 {
  font: 600 30px/1 var(--serif);
  color: var(--tone);
  letter-spacing: .01em;
}
.sec__head h2 small {
  display: block; margin-top: 6px;
  font: 500 10px/1 var(--sans);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted);
}
.sec__time { font: 600 12px/1 var(--sans); color: var(--tone); white-space: nowrap; padding-bottom: 2px; }

/* DISHES */
.dish { padding: 16px 0; border-bottom: 1px dashed var(--beige); }
.dish:last-of-type { border-bottom: 0; }
.dish--lead {
  background: var(--beige-soft);
  margin: 12px -16px 0; padding: 18px 16px;
  border-bottom: 0;
}
.sec--green .dish--lead { background: var(--green-soft); }
.dish h3 { font: 600 20px/1.2 var(--serif); color: var(--tone); }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish p { margin-top: 6px; font-size: 14px; color: var(--ink); }
.dish p.meta, .meta { font-size: 12.5px; color: var(--muted); }
.meta { margin-top: 8px; }
.meta b { font-weight: 700; color: var(--tone); }
.price {
  font: 700 16px/1 var(--sans);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--tone);
  white-space: nowrap;
}
em { font-style: normal; font-size: .85em; color: var(--muted); }

.bul { margin: 6px 0 0 18px; font-size: 14px; }
.bul li { margin-top: 2px; }

/* leader lines, like the printed menu */
.lines { list-style: none; margin-top: 8px; padding: 0; }
.lines li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 14px; }
.lines i { flex: 1; border-bottom: 1.5px dotted var(--outline, #b9a898); min-width: 16px; transform: translateY(-3px); }
.lines--card {
  background: #fff; border: 1px solid var(--beige); border-radius: 16px;
  padding: 8px 16px; margin-top: 12px;
}

/* PACKS */
.pack {
  margin-top: 16px; padding: 16px; border-radius: 16px;
  background: var(--beige); color: var(--coffee);
}
.pack p { font-size: 13.5px; margin-top: 4px; }
.pack__title { font: 600 18px/1.25 var(--serif); margin-top: 0 !important; }
.pack__title b { font-family: var(--sans); font-size: 16px; }
.pack--dark { background: var(--coffee); color: var(--cream); }
.pack--dark .meta { color: var(--beige); }
.pack--green { background: var(--green); color: var(--cream); }

/* COFFEE TABLE */
.table-wrap { margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--beige); background: #fff; }
.cafe { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cafe thead th {
  background: var(--beige); color: var(--coffee);
  font: 700 12px/1.3 var(--sans); padding: 10px 6px; text-align: center;
}
.cafe thead th em { font-weight: 500; font-size: 10.5px; }
.cafe thead th.cold, .cafe td.cold { background: #DCE8E3; }
.cafe tbody th { text-align: left; font-weight: 600; padding: 10px 10px; color: var(--ink); }
.cafe td { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--coffee); }
.cafe tbody tr + tr > * { border-top: 1px solid var(--beige-soft); }

/* NOTES */
.notes { margin: 32px 0 8px; background: var(--coffee); color: var(--cream); border-radius: 16px; padding: 16px; }
.notes summary { font: 600 18px/1.2 var(--serif); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: "+"; font: 400 22px/1 var(--sans); transition: transform .25s; }
.notes[open] summary::after { transform: rotate(45deg); }
.notes p, .notes li { font-size: 13px; margin-top: 10px; color: var(--beige); }
.notes ul { margin-left: 18px; }
.notes li { margin-top: 6px; }

/* FOOTER */
.foot { text-align: center; padding: 32px 24px 8px; color: var(--muted); font-size: 13px; }
.foot__name { font: 600 28px/1 var(--serif); font-variant: small-caps; color: var(--coffee); }
.foot p + p { margin-top: 4px; }
.foot__social { display: flex; flex-direction: column; gap: 4px; margin-top: 12px !important; }
.foot a { color: var(--coffee); font-weight: 600; }

/* WHATSAPP CTA */
.wa {
  position: fixed; z-index: 30;
  left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(396px, calc(100vw - 32px));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px; border-radius: 999px;
  background: var(--wa); color: #fff;
  font: 700 15px/1 var(--sans); text-decoration: none;
  box-shadow: var(--shadow-float);
  transition: transform .2s cubic-bezier(.16,1,.3,1);
}
.wa:active { transform: translateX(-50%) scale(.97); }
.wa[hidden] { display: none; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
