@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Onest:wght@400;500;600;700&display=swap");

:root {
  --leaf: #5E7F64;
  --leaf-deep: #3F5A45;
  --mango: #F4B63F;
  --mango-soft: #FCE3A8;
  --chamoy: #C8412B;
  --matcha: #E3EBDD;
  --milk: #FFFCF5;
  --paper: #FFFFFF;
  --ink: #142620;
  --muted: #56665E;
  --line: #E7E1D3;
  --f-display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1200px;
  --shadow: 0 18px 40px -24px rgba(63, 90, 69, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--chamoy); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 24px;
  font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--leaf); background: var(--leaf); color: var(--milk);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--leaf-deep); }
.btn:active { transform: translateY(1px); }
.btn.line { background: transparent; color: var(--leaf); }
.btn.line:hover { background: var(--leaf); color: var(--milk); }
.btn.mango { background: var(--mango); border-color: var(--mango); color: var(--leaf-deep); }
.btn.mango:hover { background: #F7C45E; }
.btn.small { padding: 9px 16px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 252, 245, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--leaf); }
.brand svg { width: 30px; height: 30px; }
.brand b { font: 800 1.5rem/1 var(--f-display); letter-spacing: .01em; }
.nav { display: flex; gap: 26px; font-weight: 600; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--leaf); }
.nav a[aria-current="page"] { border-color: var(--mango); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #2E9E62; box-shadow: 0 0 0 4px rgba(46, 158, 98, .18); }
.open-pill.closed i { background: var(--chamoy); box-shadow: 0 0 0 4px rgba(200, 65, 43, .15); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.cart-btn:hover { border-color: var(--leaf); }
.cart-btn svg { width: 22px; height: 22px; color: var(--leaf); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; background: var(--chamoy); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--milk); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .open-pill span { display: none; }
  .head-actions .btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--mango); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 64px; padding-bottom: 0; }
.hero-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.2rem); color: var(--leaf-deep); line-height: .92; letter-spacing: -.04em; }
.hero h1 .pearls { display: inline-flex; gap: .08em; vertical-align: .05em; margin-left: .12em; }
.hero h1 .pearls i { width: .2em; height: .2em; border-radius: 50%; background: var(--leaf-deep); display: inline-block; animation: drop .9s cubic-bezier(.3, 1.6, .5, 1) both; }
.hero h1 .pearls i:nth-child(2) { animation-delay: .12s; }
.hero h1 .pearls i:nth-child(3) { animation-delay: .24s; }
@keyframes drop { from { transform: translateY(-1.2em); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-copy p { font-size: 1.18rem; max-width: 34ch; color: var(--leaf-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cta .btn.line { border-color: var(--leaf-deep); color: var(--leaf-deep); }
.hero-cta .btn.line:hover { background: var(--leaf-deep); color: var(--mango); }
.shelf { margin-top: 48px; position: relative; }
.shelf img { width: 100%; aspect-ratio: 900 / 226; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.shelf-tag { position: absolute; right: 22px; top: -22px; background: var(--chamoy); color: #fff; font: 700 .95rem/1.2 var(--f-display); padding: 14px 18px; border-radius: 50%; width: 112px; height: 112px; display: grid; place-items: center; text-align: center; transform: rotate(10deg); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; gap: 18px; }
  .hero .wrap { padding-top: 40px; }
  .shelf { margin-top: 36px; }
  .shelf img { aspect-ratio: 16 / 7; object-position: 30% 50%; }
  .shelf-tag { width: 88px; height: 88px; font-size: .78rem; top: -30px; right: 10px; }
}

/* Info strip under hero */
.strip { background: var(--leaf-deep); color: var(--milk); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 18px 44px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.strip dt { font-size: .82rem; color: #D3DFCF; }
.strip dd { margin: 0; font-weight: 600; }
.strip .btn { justify-self: end; }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip .btn { justify-self: start; grid-column: 1 / -1; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--leaf); max-width: 16ch; }
.sec-head p { max-width: 44ch; color: var(--muted); }
.kicker { font: 600 1rem var(--f-body); color: var(--chamoy); margin-bottom: 10px; }

/* Signature band */
.sig { background: var(--leaf); color: var(--milk); }
.sig .sec-head h2 { color: var(--milk); }
.sig .sec-head p { color: #E8EFE4; }
.sig-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.sig-card { background: var(--leaf-deep); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.sig-card .ph { aspect-ratio: 4 / 4.4; overflow: hidden; background: #55725B; }
.sig-card:first-child .ph { aspect-ratio: 4 / 3.66; }
.sig-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.sig-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sig-card h3 { font-size: 1.8rem; color: var(--milk); }
.sig-card p { color: #E8EFE4; }
.sig-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.sig-card .price { font: 700 1.25rem var(--f-display); color: var(--mango); font-variant-numeric: tabular-nums; }
.bliss-art { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 50% 120%, #B9773D 0 45%, #6F8F74 46%); }
.bliss-art svg { width: 44%; }
@media (max-width: 860px) { .sig-grid { grid-template-columns: 1fr; } .sig-card .ph, .sig-card:first-child .ph { aspect-ratio: 16 / 11; } }

/* Build-your-cup teaser */
.builder-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.builder-teaser ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.builder-teaser li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.builder-teaser li b { display: block; }
.builder-teaser li span { color: var(--muted); font-size: .95rem; }
.dot-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--matcha); color: var(--leaf); font: 800 1rem var(--f-display); }
.teaser-cups { background: var(--mango-soft); border-radius: var(--r-lg); padding: 40px 24px 0; display: flex; justify-content: center; align-items: end; gap: 6%; min-height: 380px; overflow: hidden; }
.teaser-cups svg { width: 28%; max-width: 160px; }
.teaser-cups svg:nth-child(2) { width: 34%; max-width: 190px; }
@media (max-width: 860px) { .builder-teaser { grid-template-columns: 1fr; gap: 32px; } .teaser-cups { min-height: 280px; } }

/* Treats row */
.treats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.treat { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.treat .ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.treat .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.treat:hover .ph img { transform: scale(1.04); }
.treat h3 { font-size: 1.35rem; }
.treat .meta { display: flex; justify-content: space-between; color: var(--muted); }
.flavor-dots { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 20px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-md); align-items: center; }
.flavor-dots strong { margin-right: 6px; }
.flavor-dots span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.flavor-dots i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); border: 1px solid rgba(0, 0, 0, .08); }
@media (max-width: 860px) { .treats { grid-template-columns: 1fr 1fr; } }

/* Elote + coffee split */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.elote-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; color: #fff; display: flex; align-items: end; }
.elote-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.elote-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(63, 90, 69,0) 15%, rgba(63, 90, 69,.55) 50%, rgba(63, 90, 69,.95)); }
.elote-card .body { position: relative; z-index: 1; padding: 30px; display: grid; gap: 10px; }
.elote-card h3 { font-size: clamp(2rem, 4vw, 3rem); }
.coffee-card { border-radius: var(--r-lg); background: var(--matcha); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.coffee-card h3 { font-size: 2rem; color: var(--leaf); }
.coffee-card .soon { align-self: start; background: var(--leaf); color: var(--mango); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.coffee-list { list-style: none; padding: 0; margin: 4px 0 0; columns: 2; column-gap: 20px; }
.coffee-list li { padding: 8px 0; border-bottom: 1px solid rgba(94, 127, 100, .15); break-inside: avoid; font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .elote-card { min-height: 320px; } }

/* Catering CTA band */
.cater-band { background: var(--chamoy); color: #fff; border-radius: var(--r-lg); padding: 52px; display: grid; grid-template-columns: 1.4fr auto; gap: 24px 40px; align-items: center; }
.cater-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cater-band p { color: #FBDCD3; margin-top: 12px; max-width: 52ch; }
.cater-band .btn { background: var(--milk); color: var(--chamoy); border-color: var(--milk); }
@media (max-width: 760px) { .cater-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Visit block */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.visit-info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 24px; align-content: start; }
.visit-info h3 { font-size: 1.1rem; font-family: var(--f-body); font-weight: 700; margin-bottom: 6px; color: var(--muted); }
.visit-info address { font-style: normal; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { font-weight: 700; color: var(--leaf); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--matcha); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map, .map iframe { min-height: 300px; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--leaf-deep); color: #E8EFE4; margin-top: 40px; }
.site-foot .wrap { padding-top: 64px; padding-bottom: 36px; }
.foot-big { font: 800 clamp(3rem, 13vw, 10rem)/.85 var(--f-display); color: var(--mango); letter-spacing: -.04em; margin-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { font: 700 1rem var(--f-body); color: var(--milk); margin-bottom: 10px; }
.foot-grid a { display: block; text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--mango); }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid #55725B; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--mango); padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); color: var(--leaf-deep); letter-spacing: -.035em; }
.page-head p { margin-top: 12px; font-size: 1.15rem; max-width: 52ch; color: var(--leaf-deep); }
.page-head.leaf { background: var(--leaf); }
.page-head.leaf h1 { color: var(--milk); }
.page-head.leaf p { color: #E8EFE4; }

/* ---------- Menu page ---------- */
.menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.cat-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.cat-nav a { text-decoration: none; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; color: var(--muted); }
.cat-nav a:hover { background: var(--paper); color: var(--ink); }
.cat-nav a.active { background: var(--leaf); color: var(--milk); }
.cat { scroll-margin-top: 96px; padding-bottom: 56px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; border-bottom: 2px solid var(--leaf); padding-bottom: 12px; margin-bottom: 8px; }
.cat-head h2 { font-size: 2.4rem; color: var(--leaf); }
.cat-head p { color: var(--muted); }
.cat-head .sizes { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.item { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item-ph { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--matcha); display: grid; place-items: center; }
.item-ph img { width: 100%; height: 100%; object-fit: cover; }
.item-ph svg { width: 54%; }
.item h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.item p { color: var(--muted); font-size: .97rem; margin-top: 2px; }
.badge { font: 700 .72rem var(--f-body); background: var(--chamoy); color: #fff; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.item-price { text-align: right; display: grid; gap: 8px; justify-items: end; }
.item-price .p { font: 700 1.1rem var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-price .p small { font: 500 .8rem var(--f-body); color: var(--muted); }
.addon-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.addon-panel > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.addon-panel h3 { font-size: 1.4rem; color: var(--leaf); margin-bottom: 10px; }
.addon-panel ul { list-style: none; padding: 0; margin: 0; }
.addon-panel li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.addon-panel li:last-child { border: 0; }
@media (max-width: 860px) {
  .menu-layout { grid-template-columns: 1fr; gap: 0; }
  .cat-nav { top: 72px; z-index: 5; display: flex; overflow-x: auto; background: var(--milk); padding: 12px 0; margin: 0 -16px 16px; padding-left: 16px; border-bottom: 1px solid var(--line); }
  .cat-nav a { white-space: nowrap; flex: none; }
  .cat { scroll-margin-top: 140px; }
  .item { grid-template-columns: 72px 1fr; }
  .item-ph { width: 72px; height: 72px; }
  .item-price { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .addon-panel { grid-template-columns: 1fr; }
}

/* ---------- Order page ---------- */
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.picker-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; }
.picker-tabs button { flex: none; border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; }
.picker-tabs button[aria-selected="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--milk); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pick { text-align: left; border: 2px solid var(--line); background: var(--paper); border-radius: var(--r-md); padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: border-color .15s; }
.pick:hover { border-color: var(--leaf); }
.pick[aria-pressed="true"] { border-color: var(--chamoy); box-shadow: 0 0 0 3px rgba(200, 65, 43, .18); }
.pick .ph { aspect-ratio: 1; background: var(--matcha); display: grid; place-items: center; overflow: hidden; }
.pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.pick .ph svg { width: 48%; }
.pick .t { padding: 10px 12px 12px; }
.pick .t b { display: block; line-height: 1.25; }
.pick .t span { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }

.builder { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: 240px 1fr; overflow: hidden; }
.builder[hidden] { display: none; }
.cup-stage { background: var(--mango-soft); display: grid; place-items: center; padding: 28px 20px; position: relative; }
.cup-stage svg { width: 170px; height: auto; }
.cup-stage .stage-photo { width: 100%; border-radius: var(--r-md); }
.builder-body { padding: 26px 28px 28px; display: grid; gap: 20px; }
.builder-body h3 { font-size: 2rem; color: var(--leaf); }
.builder-body .desc { color: var(--muted); margin-top: 4px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
legend small { font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: .95rem; background: var(--milk); font-variant-numeric: tabular-nums; }
.chip span i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.chip input:checked + span { border-color: var(--leaf); background: var(--leaf); color: var(--milk); }
.chip input:focus-visible + span { outline: 3px solid var(--chamoy); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.builder-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line); }
.builder-foot .total { font: 800 1.6rem var(--f-display); font-variant-numeric: tabular-nums; }

.bag { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; }
.bag h2 { font-size: 1.7rem; color: var(--leaf); }
.bag-empty { color: var(--muted); padding: 18px; border: 1.5px dashed var(--line); border-radius: var(--r-md); text-align: center; }
.bag-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-height: 340px; overflow: auto; }
.bag-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bag-list .nm { font-weight: 700; }
.bag-list .opts { grid-column: 1; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.bag-list .pr { font-weight: 700; font-variant-numeric: tabular-nums; }
.bag-list .rm { grid-column: 2; justify-self: end; border: 0; background: none; color: var(--chamoy); cursor: pointer; font-size: .85rem; text-decoration: underline; padding: 0; }
.totals { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 800 1.3rem var(--f-display); padding-top: 8px; border-top: 2px solid var(--leaf); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--milk); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .err { font-size: .85rem; color: var(--chamoy); font-weight: 600; }
.demo-note { font-size: .85rem; color: var(--muted); background: var(--milk); border-radius: var(--r-sm); padding: 10px 12px; }
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .bag { position: static; }
  .builder { grid-template-columns: 1fr; }
  .cup-stage { padding: 20px; }
  .cup-stage svg { width: 120px; }
}

/* ---------- Drawer (mini bag on other pages) ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(63, 90, 69, .5); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--milk); z-index: 51; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 24px; gap: 16px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 1.8rem; color: var(--leaf); }
.x-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--matcha); cursor: pointer; font-size: 1.3rem; }
.drawer .bag-list { max-height: none; flex: 1; overflow: auto; }

/* Toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--leaf-deep); color: var(--milk); padding: 14px 20px; border-radius: 999px; font-weight: 600; z-index: 60; transition: transform .3s ease; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }
.toast a { color: var(--mango); }

/* Confirmation */
.confirm { text-align: center; padding: 60px 24px; display: grid; gap: 14px; justify-items: center; }
.confirm .num { font: 800 clamp(3rem, 10vw, 6rem)/1 var(--f-display); color: var(--chamoy); }
.confirm h2 { font-size: 2.4rem; color: var(--leaf); }
.confirm p { max-width: 46ch; color: var(--muted); }

/* ---------- Catering page ---------- */
.cater-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.pkg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pkg.feature { background: var(--leaf); color: var(--milk); border-color: var(--leaf); }
.pkg.feature h3 { color: var(--mango); }
.pkg.feature li { border-color: #6F8F74; }
.pkg h3 { font-size: 1.8rem; color: var(--leaf); }
.pkg .size { font-weight: 600; color: var(--chamoy); }
.pkg.feature .size { color: var(--mango-soft); }
.pkg ul { list-style: none; padding: 0; margin: 0; }
.pkg li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pkg li:last-child { border: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; padding-top: 18px; border-top: 3px solid var(--mango); }
.steps li::before { content: counter(s); font: 800 2.6rem/1 var(--f-display); color: var(--mango); display: block; margin-bottom: 8px; }
.steps { padding: 0; margin: 0; }
.steps b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.steps span { color: var(--muted); }
.inquiry { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) {
  .cater-grid, .steps { grid-template-columns: 1fr; }
  .inquiry { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

.brand img { height: 52px; width: auto; display: block; }
.foot-top { display: flex; align-items: center; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.foot-top .foot-big { margin-bottom: 0; }
.foot-logo { width: 120px; height: 120px; border-radius: 50%; }
@media (max-width: 600px) { .brand img { height: 42px; } .foot-logo { width: 84px; height: 84px; } }
