:root {
  --ink: #14100d; --ink-soft: #1e1712; --ink-raise: #2a2018;
  --ivory: #f6ebdd; --cream: #efe0cb; --muted: rgb(246 235 221 / .74);
  --ember: #e8862a; --ember-deep: #b4570d; --gold-light: #f4b26e; --brass: #d9a65b;
  --line: rgb(217 166 91 / .3);
  --paper: #fbf6ee; --paper-ink: #2a1f17; --paper-muted: #6b5a4b; --paper-line: #e7dccd;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Playfair Display", Georgia, serif; --sans: Jost, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
em { font-style: italic; color: var(--gold-light); font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
.kicker { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
.muted { color: var(--paper-muted); }
.tiny { font-size: .85rem; color: var(--paper-muted); margin: .8rem 0 0; text-align: center; }

/* buttons: square corners */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 2.1rem; border: 1px solid var(--ember); background: var(--ember); color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-radius: 0; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgb(246 235 221 / .55); }
.btn--ghost:hover { background: transparent; color: var(--gold-light); border-color: var(--ember); }
.btn--ghost-dark { background: transparent; color: var(--paper-ink); border-color: var(--paper-ink); }
.btn--ghost-dark:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.text-link { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--brass); }
.text-link:hover { color: var(--gold-light); }

/* demo bar + nav */
.demo-bar { background: var(--ember); color: var(--ink); text-align: center; font-size: .85rem; font-weight: 600; padding: .5rem 1rem; }
.demo-bar a { font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem clamp(1rem, 4vw, 3rem); background: rgb(20 16 13 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--brass); font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--gold-light); }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.nav__links { display: none; gap: 2rem; }
.nav__links a { text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav__links a:hover { color: var(--gold-light); }
.cart-btn { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--ivory); border: 1px solid var(--line); padding: .55rem .9rem; font-weight: 600; }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; background: var(--ember); color: var(--ink); font-size: .78rem; padding: 0 5px; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (min-width: 820px) { .nav__links { display: flex; } }

/* hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: clamp(3rem, 8vw, 6.5rem); background: radial-gradient(45% 40% at 50% 70%, rgb(232 134 42 / .24), transparent 70%), radial-gradient(60% 50% at 50% 0%, rgb(217 166 91 / .1), transparent 70%), var(--ink); }
.hero__frame { position: absolute; inset: clamp(.5rem, 1.5vw, 1.3rem); border: 1px solid var(--line); pointer-events: none; }
.hero__inner { position: relative; text-align: center; max-width: 58rem; padding: 0 1.25rem; display: grid; gap: 1.3rem; justify-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: 1.04; text-wrap: balance; }
.hero__sub { margin: 0; max-width: 34rem; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; align-items: center; justify-content: center; margin-top: .4rem; }
.arches { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.5rem, 2vw, 1.6rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding: 0 1rem; width: 100%; }
.arch { margin: 0; width: min(28vw, 320px); aspect-ratio: 2 / 3; border-radius: 999px 999px 0 0; border: 1px solid var(--brass); padding: 5px; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.arch--mid { width: min(32vw, 370px); transform: translateY(-2rem); }
.strip { list-style: none; margin: 0; padding: 1.3rem 1rem 1.6rem; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.4rem; border-top: 1px solid var(--line); background: rgb(13 10 8 / .7); position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

/* sections */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; }
.head { text-align: center; display: grid; gap: .9rem; justify-items: center; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-wrap: balance; }
.head__sub { margin: 0; color: var(--muted); max-width: 32rem; }

/* best sellers */
.best { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .best { grid-template-columns: repeat(3, 1fr); } }
.bcard { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--ink-soft); display: flex; flex-direction: column; }
.bcard__img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ember); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .7rem; }
.bcard__body { padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .5rem; flex: 1; }
.bcard__body h3 { font-size: 1.5rem; }
.bcard__body p { margin: 0; color: var(--muted); font-size: .98rem; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .7rem; }
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--gold-light); }

/* add / qty control */
.add { border: 1px solid var(--ember); background: transparent; color: var(--ivory); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: .65rem 1.1rem; transition: background .3s, color .3s; }
.add:hover { background: var(--ember); color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ember); }
.qty button { width: 38px; height: 38px; background: transparent; border: 0; color: var(--ivory); font-size: 1.2rem; }
.qty button:hover { background: var(--ember); color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }

/* menu */
.section--menu { max-width: 1100px; }
.tabs { position: sticky; top: 66px; z-index: 5; display: flex; gap: .4rem; overflow-x: auto; padding: .8rem 0; margin-bottom: 1.5rem; background: var(--ink); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: .55rem 1rem; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tab[aria-selected="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.cat { margin-bottom: 2.6rem; }
.cat h3 { font-size: 1.7rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
.dish { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgb(217 166 91 / .14); }
.dish img { width: 92px; height: 92px; object-fit: cover; }
.dish__info { display: grid; gap: .25rem; }
.dish__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.dish h4 { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.dish p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.dish .buy { padding-top: .35rem; justify-content: flex-start; }
@media (min-width: 700px) {
  .dish { grid-template-columns: 120px 1fr auto; gap: 1.4rem; }
  .dish img { width: 120px; height: 100px; }
  .dish .buy { padding: 0; }
}

/* steps + faq */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border: 1px solid var(--line); padding: 1.8rem 1.6rem; background: var(--ink-soft); }
.steps b { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--brass); font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); margin-bottom: 1rem; }
.steps h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font-family: var(--serif); font-size: 1.25rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.05rem; font-family: var(--sans); font-size: 1.5rem; color: var(--gold-light); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 1.2rem; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 3rem clamp(1rem, 4vw, 3rem) 6rem; text-align: center; display: grid; gap: 1.2rem; justify-items: center; background: var(--ink-soft); }
.foot p { margin: 0; max-width: 34rem; color: var(--muted); font-size: .95rem; }

/* mobile cart bar */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; display: flex; justify-content: space-between; align-items: center; background: var(--ember); color: var(--ink); border: 0; padding: 1rem 1.2rem; font-weight: 600; box-shadow: 0 16px 40px rgb(0 0 0 / .45); }
.cart-bar[hidden] { display: none; }
@media (min-width: 820px) { .cart-bar { display: none !important; } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__shade { position: absolute; inset: 0; background: rgb(0 0 0 / .55); opacity: 0; transition: opacity .4s; }
.drawer.open .drawer__shade { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--paper-line); }
.drawer__head h2 { font-size: 1.6rem; }
.x { background: transparent; border: 0; font-size: 2rem; line-height: 1; color: var(--paper-ink); }
.drawer__body { flex: 1; overflow: auto; padding: .4rem 1.4rem; }
.drawer__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--paper-line); display: grid; gap: 1rem; }
.row { display: flex; justify-content: space-between; gap: 1rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--paper-line); }
.line img { width: 64px; height: 64px; object-fit: cover; }
.line h4 { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.line small { color: var(--paper-muted); }
.drawer .qty, .checkout .qty { border-color: var(--paper-ink); }
.drawer .qty button { color: var(--paper-ink); width: 32px; height: 32px; }
.drawer .qty button:hover { background: var(--paper-ink); color: var(--paper); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--paper-muted); }

/* checkout */
.checkout { position: fixed; inset: 0; z-index: 60; background: var(--paper); color: var(--paper-ink); overflow: auto; display: none; }
.checkout.open { display: block; }
.co__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem clamp(1rem, 4vw, 3rem); background: var(--ink); color: var(--ivory); }
.co__back { background: transparent; border: 0; color: var(--ivory); font-weight: 600; padding: .4rem 0; }
.co__secure { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.co__top .brand__name { display: none; }
@media (min-width: 600px) { .co__top .brand__name { display: inline; } }
.co__progress { list-style: none; display: flex; justify-content: center; gap: .4rem; margin: 1.4rem auto .4rem; padding: 0 1rem; max-width: 520px; counter-reset: s; }
.co__progress li { flex: 1; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); padding-top: .6rem; border-top: 3px solid var(--paper-line); }
.co__progress li.on { color: var(--paper-ink); border-color: var(--ember-deep); }
.co__wrap { max-width: 1040px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem; display: grid; gap: 2rem; }
@media (min-width: 880px) { .co__wrap { grid-template-columns: 1fr 360px; align-items: start; } .co__sum { position: sticky; top: 80px; } }
.co__main { display: grid; gap: 1.1rem; }
.co__main[hidden] { display: none; }
.co__main h2 { font-size: 2rem; }
.choice, .pay { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
.pay { grid-template-columns: 1fr; }
@media (min-width: 560px) { .pay { grid-template-columns: 1fr 1fr; } }
.choice input, .pay input { position: absolute; opacity: 0; }
.choice label, .pay label { position: relative; cursor: pointer; }
.choice span, .pay span { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; border: 1.5px solid var(--paper-line); background: #fff; height: 100%; }
.pay span { flex-direction: row; align-items: center; gap: .8rem; }
.choice small { color: var(--paper-muted); font-size: .88rem; }
.choice input:checked + span, .pay input:checked + span { border-color: var(--ember-deep); box-shadow: inset 0 0 0 1px var(--ember-deep); background: #fff8ef; }
.choice input:focus-visible + span, .pay input:focus-visible + span { outline: 2px solid var(--ember-deep); outline-offset: 2px; }
.pm { width: 38px; height: 38px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .85rem; color: #fff; flex: none; }
.pm--gcash { background: #0b5fd6; } .pm--maya { background: #0f9d58; } .pm--qr { background: #2a1f17; } .pm--card { background: #6b5a4b; }
.grid2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.f { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.f input, .f select, .f textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid var(--paper-line); background: #fff; color: var(--paper-ink); border-radius: 0; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ember-deep); }
[data-delivery] { display: grid; gap: 1rem; }
[data-delivery][hidden] { display: none; }
.err { margin: 0; color: #a3260f; font-weight: 600; }
.co__sum { background: #fff; border: 1px solid var(--paper-line); padding: 1.4rem; display: grid; gap: .7rem; }
.co__sum h3 { font-size: 1.3rem; }
.co__sum ul { list-style: none; margin: 0; padding: 0 0 .6rem; border-bottom: 1px solid var(--paper-line); display: grid; gap: .5rem; }
.co__sum li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.row--total { border-top: 1px solid var(--paper-line); padding-top: .7rem; font-size: 1.15rem; }

/* done */
.done { text-align: center; display: grid; gap: .6rem; justify-items: center; padding: 1rem 0; }
.done__tick { width: 64px; height: 64px; display: grid; place-items: center; background: #1f7a3a; color: #fff; font-size: 2rem; }
.done .kicker { color: #1f7a3a; }
.done h2 { font-size: 2.3rem; }
.done p { margin: 0; }
.ref { font-size: 1.15rem; letter-spacing: .04em; }
.sub { font-size: 1.3rem; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.next li { background: #fff; border: 1px solid var(--paper-line); padding: .9rem 1rem; }
.next b { display: block; color: var(--ember-deep); }
@media (min-width: 560px) { .next b { display: inline-block; min-width: 110px; } }
.owner { background: var(--ink); color: var(--ivory); padding: 1.6rem 1.2rem; display: grid; gap: 1rem; justify-items: center; margin-top: .6rem; }
.owner__label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.owner .tiny { color: var(--muted); }
.phone { width: min(340px, 100%); background: #0c0a08; border: 1px solid var(--line); padding: 1rem; display: grid; gap: .8rem; }
.alert { background: #2b2b2e; color: #fff; padding: .8rem .9rem; display: grid; gap: .15rem; font-size: .92rem; animation: drop .7s var(--ease) both; }
.alert__app { font-size: .72rem; color: #c9c9cf; letter-spacing: .08em; text-transform: uppercase; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } }
.order-card { background: #fff; color: var(--paper-ink); padding: 1rem; display: grid; gap: .6rem; }
.oc__top { display: flex; justify-content: space-between; align-items: center; }
.pill { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; background: #fde7cf; color: var(--ember-deep); text-transform: uppercase; letter-spacing: .08em; }
.pill.s-Preparing { background: #fff1b8; color: #7a5b00; }
.pill.s-Out { background: #d9ebff; color: #0b4f9c; }
.pill.s-Done { background: #d8f2df; color: #1f7a3a; }
.oc__who { margin: 0; font-size: .9rem; color: var(--paper-muted); }
.oc__items { list-style: none; margin: 0; padding: .5rem 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); font-size: .92rem; display: grid; gap: .2rem; }
.oc__total { margin: 0; display: flex; justify-content: space-between; font-size: .92rem; }
.oc__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.oc__btns button { border: 1px solid var(--paper-ink); background: #fff; color: var(--paper-ink); padding: .55rem .3rem; font-size: .8rem; font-weight: 700; }
.oc__btns button.on { background: var(--paper-ink); color: #fff; }
.co__end { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1rem; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ivory); color: var(--ink); padding: .8rem 1.2rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .4s var(--ease); z-index: 70; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 820px) { .toast { bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
/* order tracker */
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.track li { display: grid; grid-template-columns: 28px 1fr; gap: .2rem .8rem; align-items: center; background: #fff; border: 1px solid var(--paper-line); padding: .8rem 1rem; color: var(--paper-muted); }
.track li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; border: 2px solid var(--paper-line); background: #fff; }
.track li b { color: var(--paper-muted); }
.track li span { font-size: .92rem; grid-column: 2; }
.track li.is-done::before { background: #1f7a3a; border-color: #1f7a3a; box-shadow: inset 0 0 0 4px #fff; }
.track li.is-done b { color: var(--paper-ink); }
.track li.is-now { border-color: var(--ember-deep); box-shadow: inset 0 0 0 1px var(--ember-deep); background: #fff8ef; }
.track li.is-now::before { background: var(--ember-deep); border-color: var(--ember-deep); box-shadow: inset 0 0 0 4px #fff; }
.track li.is-now b { color: var(--ember-deep); }
.pill.s-Paid { background: #fde7cf; color: var(--ember-deep); }
.pill.s-Ready { background: #d9ebff; color: #0b4f9c; }
.done--pending .done__tick { background: var(--ember-deep); }
.done--pending .kicker { color: var(--ember-deep); }
