/* DASARA — ordering, tracking and account pages.
   Mobile-first. Builds on the tokens in styles.css; adds nothing to the brand
   that wasn't already there. */

:root {
  --shadow-soft: 0 10px 30px rgba(67, 16, 13, .10);
  --shadow-lift: 0 16px 40px rgba(67, 16, 13, .18);
  --radius: 4px;
  --tap: 44px;
}

/* ------------------------------------------------------------- primitives */

[hidden] { display: none !important; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.button {
  min-height: var(--tap);
  border: 0;
  cursor: pointer;
  font-family: "Karla", sans-serif;
  font-size: .95rem;
  gap: 10px;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-secondary { background: transparent; }
.button-green { background: var(--green); color: var(--cream); }
.button-ghost {
  background: transparent; color: var(--red-dark);
  border: 1px solid var(--line); font-weight: 700;
}
.button-sm { min-height: 38px; padding: 9px 14px; font-size: .82rem; }
.button-block { width: 100%; }
.button-lg { padding: 17px 24px; font-size: 1.02rem; }

.eyebrow { margin-bottom: 10px; }

.page-main { padding-bottom: 96px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 clamp(24px, 5vw, 64px); } }

.stack > * + * { margin-top: 14px; }
.muted { color: #6a5e53; }
.small { font-size: .82rem; }
.tiny { font-size: .75rem; }
.nowrap { white-space: nowrap; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin: 0 0 14px;
}
.panel-head h2, .panel-head h3 {
  font-family: "Marcellus", serif; font-size: 1.35rem; margin: 0; color: var(--red-dark);
}

/* ------------------------------------------------------------- page head */

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head-link {
  color: var(--red-dark); font-weight: 700; text-decoration: none; font-size: .9rem;
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px;
}
.head-link:hover { text-decoration: underline; }
.head-link[aria-current="page"] { color: var(--red); text-decoration: underline; }
@media (max-width: 760px) { .head-actions .head-link.opt { display: none; } }

/* ------------------------------------------------------------- hero */

.ord-hero { padding: 26px 0 6px; }
.ord-hero h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.04; letter-spacing: -.035em; margin: 0 0 10px;
}
.ord-hero h1 em { font-style: italic; color: var(--red); font-weight: 600; }
.ord-hero .intro { max-width: 46ch; margin: 0 0 18px; }

/* ------------------------------------------------------------- guarantee */

.guarantee {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.guarantee::after {
  content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  border: 14px solid rgba(242, 201, 76, .18); right: -70px; top: -70px; pointer-events: none;
}
.guarantee .eyebrow { color: #f4c94f; margin-bottom: 8px; }
.guarantee-headline {
  font-family: "Marcellus", serif;
  font-size: clamp(1.5rem, 5.4vw, 2.2rem);
  line-height: 1.08; margin: 0 0 10px; position: relative;
}
.guarantee-headline b { color: #f6cf58; font-weight: 700; }
.guarantee-terms {
  margin: 0; font-size: .86rem; color: #e6dcbe; max-width: 52ch; position: relative;
}
.guarantee-clock {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 248, 233, .12); border: 1px solid rgba(246, 207, 88, .5);
  padding: 7px 13px; border-radius: 999px; font-weight: 700; margin-bottom: 12px;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #f6cf58;
  position: relative;
}

/* live per-order guarantee state, shown in the checkout panel */
.g-state {
  border-radius: var(--radius); padding: 13px 14px; display: flex; gap: 11px;
  align-items: flex-start; font-size: .87rem; line-height: 1.45;
}
.g-state b { display: block; margin-bottom: 2px; }
.g-state-on { background: #eaf3ea; border: 1px solid #a9cbaa; color: #123a1c; }
.g-state-off { background: var(--paper); border: 1px solid var(--line); color: #5b4c3f; }
.g-mark { font-size: 1.05rem; line-height: 1.3; }

/* ------------------------------------------------------------- notes */

.note {
  border-radius: var(--radius); padding: 13px 15px; font-size: .88rem; line-height: 1.5;
  border: 1px solid var(--line); background: var(--paper);
}
.note-text { margin: 0; }
.note-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 11px 0 0; }
.note-bad { background: #fdecea; border-color: #e0a8a2; color: #6e1a13; }
.note-good { background: #eaf3ea; border-color: #a9cbaa; color: #123a1c; }
.note-warn { background: #fdf3dd; border-color: #e2c37c; color: #6b4c11; }

.loading { display: flex; align-items: center; gap: 10px; padding: 26px 0; color: #6a5e53; }
.loading-dot {
  width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line);
  border-top-color: var(--red); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- specials */

.specials-strip { margin: 24px 0 8px; }
.specials-rail {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.special-tile {
  flex: 0 0 min(80%, 300px); scroll-snap-align: start;
  background: var(--red-dark); color: var(--cream);
  border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px;
}
.special-tile .eyebrow { color: #f4c94f; margin: 0; }
.special-tile h3 { font-family: "Marcellus", serif; font-size: 1.3rem; margin: 0; }
.special-tile p { margin: 0; font-size: .85rem; color: #e6dcbe; }
.special-left {
  align-self: flex-start; background: #f2c94c; color: var(--red-dark);
  font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.special-tile .button { margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------- menu */

.cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 0;
  position: sticky; top: 70px; z-index: 8;
  background: linear-gradient(var(--cream) 70%, rgba(255, 248, 233, 0));
  -webkit-overflow-scrolling: touch;
}
.cat-tabs button {
  flex: 0 0 auto; min-height: var(--tap); border: 1px solid var(--red);
  background: transparent; color: var(--red); font: 700 .82rem "Karla", sans-serif;
  padding: 0 15px; cursor: pointer; border-radius: 999px;
}
.cat-tabs button[aria-selected="true"] { background: var(--red); color: #fff; }

.cat-title {
  font-family: "Marcellus", serif; color: var(--red); font-size: 1.8rem;
  margin: 18px 0 12px;
}

.dish-grid { display: grid; gap: 12px; }
@media (min-width: 620px) { .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.dish {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 9px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.dish:hover { box-shadow: var(--shadow-soft); border-color: var(--gold); }
.dish.is-out { opacity: .55; background: var(--paper); }
.dish.is-out:hover { box-shadow: none; border-color: var(--line); }
.dish.in-basket { border-color: var(--green); box-shadow: inset 3px 0 0 var(--green); }

.dish-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.dish-name { font-family: "Marcellus", serif; font-size: 1.12rem; margin: 0; line-height: 1.2; }
.dish-price { color: var(--red); font-weight: 700; white-space: nowrap; }
.dish-desc { margin: 0; font-size: .86rem; color: #5f5348; }
.dish-allergens { margin: 0; font-size: .74rem; color: #7a6c5e; }
.dish-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700;
  letter-spacing: .02em; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: #5b4c3f;
}
.chip-veg { border-color: #a9cbaa; background: #eaf3ea; color: var(--green); }
.chip-nonveg { border-color: #d8a99e; background: #f8ecea; color: #8a2b1d; }
.chip-out { border-color: #d8a49e; background: #fbe9e7; color: #7a231b; }

.add-btn {
  min-height: var(--tap); padding: 0 18px; background: var(--red); color: #fff;
  border: 0; font: 700 .85rem "Karla", sans-serif; cursor: pointer; border-radius: 999px;
}
.add-btn:hover { background: var(--red-dark); }
.add-btn:disabled { background: #b9a893; cursor: not-allowed; }

.stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--red);
  border-radius: 999px; overflow: hidden;
}
.stepper button {
  min-width: var(--tap); min-height: var(--tap); border: 0; background: transparent;
  color: var(--red); font: 700 1.15rem "Karla", sans-serif; cursor: pointer; line-height: 1;
}
.stepper button:hover { background: rgba(121, 17, 13, .08); }
.stepper output {
  min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- layout */

.ord-layout { display: block; }
@media (min-width: 960px) {
  .ord-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: start; }
}

/* ------------------------------------------------------------- checkout */

.checkout { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.checkout-inner { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.checkout h2 { font-family: "Marcellus", serif; font-size: 1.5rem; margin: 0; color: var(--red-dark); }

.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px;
}
.seg button {
  min-height: var(--tap); border: 0; border-radius: 999px; background: transparent;
  font: 700 .9rem "Karla", sans-serif; color: var(--red-dark); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--red); color: #fff; }

.b-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.b-line { border-bottom: 1px dashed #d4b984; padding-bottom: 12px; }
.b-line:last-child { border-bottom: 0; padding-bottom: 0; }
.b-line-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.b-line-name { font-weight: 700; font-size: .95rem; }
.b-line-each { font-size: .76rem; color: #6a5e53; }
.b-line-total { font-weight: 700; color: var(--red); white-space: nowrap; }
.b-line-ctl { display: flex; align-items: center; gap: 10px; margin-top: 9px; flex-wrap: wrap; }
.b-note-btn {
  background: none; border: 0; border-bottom: 1px dotted var(--red); color: var(--red);
  font: 700 .78rem "Karla", sans-serif; cursor: pointer; padding: 4px 0; min-height: 32px;
}
.b-note-input { width: 100%; margin-top: 8px; }
.b-remove {
  margin-left: auto; background: none; border: 0; color: #7a231b; cursor: pointer;
  font: 500 .78rem "Karla", sans-serif; text-decoration: underline;
  min-height: var(--tap); padding: 0 4px;
}

.b-empty { text-align: center; padding: 20px 6px; color: #6a5e53; }
.b-empty p { margin: 0 0 4px; }

.totals { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.totals li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.totals li span:last-child { font-variant-numeric: tabular-nums; }
.totals .t-discount { color: var(--green); }
.totals .t-free { color: var(--green); font-size: .85rem; }
.totals .t-grand {
  border-top: 2px solid var(--red); margin-top: 8px; padding-top: 10px;
  font-family: "Marcellus", serif; font-size: 1.35rem; color: var(--red-dark);
}

/* forms */
.fld { display: grid; gap: 5px; margin-bottom: 12px; }
.fld-label { font-size: .8rem; font-weight: 700; color: var(--red-dark); }
.fld-hint { font-size: .74rem; color: #6a5e53; }
.fld input, .fld textarea, .fld select, .b-note-input {
  width: 100%; min-height: var(--tap); border: 1px solid var(--line); background: #fffaf0;
  color: var(--ink); padding: 11px 12px; border-radius: var(--radius);
  font: 400 1rem "Karla", sans-serif;
}
.fld textarea { resize: vertical; min-height: 72px; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--gold); }
.fld-row { display: grid; gap: 0 12px; }
@media (min-width: 460px) { .fld-row { grid-template-columns: 1fr 1fr; } }
.fld.is-bad input, .fld.is-bad textarea { border-color: #c0392b; background: #fdf3f2; }
.fld-error { font-size: .76rem; color: #a02c1f; font-weight: 700; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; }
.consent input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; flex: 0 0 auto; }

/* rewards */
.rw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rw {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; cursor: pointer; min-height: var(--tap);
  font: 400 .88rem "Karla", sans-serif; color: var(--ink);
}
.rw:hover:not(:disabled) { border-color: var(--gold); }
.rw[aria-pressed="true"] { border-color: var(--green); background: #eaf3ea; box-shadow: inset 3px 0 0 var(--green); }
.rw:disabled { opacity: .5; cursor: not-allowed; }
.rw-body { flex: 1 1 auto; }
.rw-name { font-weight: 700; display: block; }
.rw-desc { font-size: .78rem; color: #6a5e53; }
.rw-cost { font-weight: 700; color: var(--red); white-space: nowrap; font-size: .82rem; }

.points-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red-dark); color: #f6cf58;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .84rem;
}
.points-badge b { color: var(--cream); font-size: 1rem; }

/* mobile drawer */
.checkout-close { display: none; }
.sticky-bar { display: none; }
@media (max-width: 959px) {
  .checkout {
    position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto;
    transform: translateY(100%); transition: transform .25s ease; visibility: hidden;
    border-radius: 0; border: 0;
  }
  .checkout.is-open { transform: none; visibility: visible; }
  .checkout-close {
    display: inline-flex; align-items: center; justify-content: center;
    position: sticky; top: 0; z-index: 2; width: 100%; min-height: var(--tap);
    background: var(--red); color: #fff; border: 0; cursor: pointer;
    font: 700 .85rem "Karla", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  }
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--red); color: #fff; box-shadow: 0 -6px 20px rgba(67, 16, 13, .22);
  }
  .sticky-bar .sb-info { font-size: .84rem; line-height: 1.25; }
  .sticky-bar .sb-info b { display: block; font-size: 1.05rem; }
  .sticky-bar .sb-btn {
    margin-left: auto; min-height: var(--tap); padding: 0 20px; border: 0; border-radius: 999px;
    background: var(--gold); color: var(--red-dark); font: 700 .9rem "Karla", sans-serif; cursor: pointer;
  }
  .sticky-bar[hidden] { display: none; }
}

/* ------------------------------------------------------------- tracking */

.trk-head { padding: 26px 0 4px; }
.trk-code {
  font-family: "Marcellus", serif; font-size: clamp(2.2rem, 9vw, 3.6rem);
  letter-spacing: .08em; color: var(--red); margin: 0; line-height: 1;
}
.trk-sub { margin: 8px 0 0; }
.trk-grid { display: grid; gap: 20px; margin-top: 22px; }
@media (min-width: 900px) { .trk-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { display: flex; gap: 14px; padding: 0 0 22px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.tl-rail { flex: 0 0 auto; width: 26px; display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  background: var(--cream); flex: 0 0 auto; display: grid; place-content: center;
  font-size: .66rem; color: transparent;
}
.tl-line { flex: 1 1 auto; width: 2px; background: var(--line); margin: 4px 0 -22px; }
.timeline li:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 2px; }
.tl-name { font-weight: 700; margin: 0; line-height: 1.3; }
.tl-when { font-size: .8rem; color: #6a5e53; margin: 2px 0 0; }
.timeline li.done .tl-dot { background: var(--green); border-color: var(--green); color: var(--cream); }
.timeline li.done .tl-line { background: var(--green); }
.timeline li.now .tl-dot {
  background: var(--red); border-color: var(--red); color: var(--cream);
  box-shadow: 0 0 0 5px rgba(121, 17, 13, .15);
}
.timeline li.now .tl-name { color: var(--red); }
.timeline li.todo .tl-name { color: #8a7b6c; font-weight: 500; }
.timeline li.cancelled .tl-dot { background: #7a231b; border-color: #7a231b; color: #fff; }

.countdown {
  background: var(--green); color: var(--cream); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow-soft);
}
.countdown .eyebrow { color: #f4c94f; }
.cd-time {
  font-family: "Marcellus", serif; font-size: clamp(3rem, 15vw, 4.6rem); line-height: 1;
  font-variant-numeric: tabular-nums; margin: 6px 0; color: #f6cf58;
}
.cd-note { margin: 0; font-size: .84rem; color: #e6dcbe; }
.countdown.is-late { background: var(--red-dark); }
.countdown.is-late .cd-time { color: #f4c94f; }

.free-banner {
  background: var(--gold); color: var(--red-dark); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-lift);
}
.free-banner h2 { font-family: "Marcellus", serif; font-size: clamp(1.6rem, 6vw, 2.3rem); margin: 0 0 8px; }
.free-banner p { margin: 0 0 6px; font-size: .95rem; }
.free-banner .free-price { font-family: "Marcellus", serif; font-size: 2.6rem; line-height: 1; margin: 10px 0 0; }

.o-items { list-style: none; margin: 0; padding: 0; }
.o-item {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed #d4b984; font-size: .92rem;
}
.o-item:last-child { border-bottom: 0; }
.o-item-qty { font-weight: 700; color: var(--red); }
.o-item-note { display: block; font-size: .76rem; color: #6a5e53; font-style: italic; }
.o-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.o-was { text-decoration: line-through; color: #8a7b6c; }

.poll-state { font-size: .76rem; color: #6a5e53; display: flex; align-items: center; gap: 7px; }
.poll-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b9539; }
.poll-state.is-stale .poll-dot { background: #c0392b; }

/* ------------------------------------------------------------- account */

.acct-grid { display: grid; gap: 20px; margin-top: 22px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; } }

.auth-card { max-width: 460px; margin: 24px auto 0; }
.otp-input {
  font-size: 1.9rem !important; letter-spacing: .5em; text-align: center;
  font-variant-numeric: tabular-nums; padding-left: .5em !important;
}
.dev-hint {
  background: #241713; color: #7ee787; border-radius: var(--radius); padding: 10px 13px;
  font: 700 .82rem ui-monospace, 'SF Mono', Menlo, monospace; margin-top: 12px;
}
.dev-hint span { color: #b9a893; font-weight: 400; display: block; font-size: .72rem; margin-bottom: 3px; }

.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed #d4b984; font-size: .88rem;
}
.ledger li:last-child { border-bottom: 0; }
.led-pts { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.led-pts.plus { color: var(--green); }
.led-pts.minus { color: var(--red); }

.hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hist a {
  display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px;
  background: var(--cream); min-height: var(--tap);
}
.hist a:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.hist-code { font-family: "Marcellus", serif; font-size: 1.2rem; color: var(--red); letter-spacing: .06em; }
.hist-meta { flex: 1 1 auto; font-size: .8rem; color: #6a5e53; }
.hist-total { font-weight: 700; white-space: nowrap; }

.status-pill {
  display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 4px 9px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: #5b4c3f;
}
.status-pill.live { background: #fdf3dd; border-color: var(--gold); color: #7d5a08; }
.status-pill.done { background: #eaf3ea; border-color: #a9cbaa; color: var(--green); }
.status-pill.dead { background: #fbe9e7; border-color: #d8a49e; color: #7a231b; }

/* ------------------------------------------------------------- footer */

.mini-foot {
  background: #2f100d; color: var(--cream); padding: 34px 0; margin-top: 60px; font-size: .86rem;
}
.mini-foot a { color: #f2c94c; }
.mini-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }

/* ------------------------------------------------------------- motion */

.pop { animation: pop .22s ease; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .button:hover:not(:disabled) { transform: none; }
}

/* ---- account page: points, ledger, locked rewards ---- */
.pts-big{
  font-family:"Marcellus",Georgia,serif;font-size:clamp(3rem,9vw,4.6rem);
  line-height:1;color:var(--red);margin:6px 0 0;font-weight:800;
  font-variant-numeric:tabular-nums;
}
.acct-grid .pts-big + .muted{margin:0 0 14px}
.ledger li.is-locked{opacity:.55}
.pts-plus,.pts-minus{
  font-family:"Karla",sans-serif;font-weight:700;font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.pts-plus{color:var(--green)}
.pts-minus{color:var(--red)}
.ledger li .hist-meta{display:block;margin-top:2px}
.ledger li > div{display:flex;flex-direction:column;gap:0;min-width:0}

/* ---- sign-in: password, Google, alternatives ---- */
.auth-or{
  display:flex;align-items:center;gap:12px;color:#8a7663;font-size:.8rem;
  text-transform:uppercase;letter-spacing:.1em;margin:16px 0;
}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.google-btn{display:flex;align-items:center;justify-content:center;gap:10px}
.g-mark{
  width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--line);
  display:grid;place-content:center;font-weight:700;font-family:Georgia,serif;
  color:#4285f4;font-size:.9rem;line-height:1;
}
.link-btn{
  background:none;border:0;padding:6px 0;color:var(--red);font:600 .86rem "Karla",sans-serif;
  cursor:pointer;text-decoration:underline;text-underline-offset:2px;
}
.link-btn:hover{color:var(--red-dark)}
.link-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* The answer to a dish's question, on its checkout line. */
.b-line-opt { font-size: .84rem; font-weight: 700; color: var(--red); margin: 2px 0 1px; }
.o-item-opt { font-weight: 700; color: var(--red); }

/* The question itself: one big button per choice. */
.opt-list { display: grid; gap: 10px; margin: 14px 0 6px; }
.opt-choice { width: 100%; min-height: 54px; font-size: 1.02rem; justify-content: center; }
.opt-choice:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Offer code at checkout. */
.promo-entry { display: flex; gap: 8px; }
.promo-entry input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.promo-status { margin: 6px 0 0; }
.promo-status .link-btn { background: none; border: 0; padding: 0; color: var(--red); text-decoration: underline; cursor: pointer; font: inherit; }
