/* evergreenthai.com look for the guest pages (pickup menu, catering, payment, order status, gift cards, account).
   Loaded after order.css. The website's palette: night #120f0d, cream #f7f1e8, orange #ea7a2c, gold #f2dd6d;
   Forum for headings, Roboto Condensed for buttons, DM Sans for text. The page body stays light so menus and
   forms read fast on a phone; the dark, warm band at the top carries the brand. Staff screens don't load this. */
@import url("https://fonts.googleapis.com/css2?family=Forum&family=Roboto+Condensed:wght@600;700&display=swap");

:root {
  --night: #120f0d; --night-2: #1b1714; --cream: #f7f1e8; --cream-muted: #cfbdaa; --gold: #f2dd6d;
  --bg: #fbf7f1; --bg-soft: #f5ece0; --panel: #fff; --text: #231a12; --muted: #776654; --line: #ebdfcd;
  --accent: #ea7a2c; --accent-d: #c95f17; --ink: #ea7a2c; --ok: #a24f0f; --orange-soft: #fdebd9;
  --serif: "Forum", Georgia, serif; --condensed: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
body { background: var(--bg); }

/* The top band: dark and warm, like the website's header and hero. */
header.top {
  background: radial-gradient(900px 260px at 12% -30%, rgba(234, 122, 44, .30), transparent 62%),
    radial-gradient(700px 220px at 95% 120%, rgba(242, 221, 109, .10), transparent 60%), linear-gradient(180deg, var(--night-2), var(--night));
  color: var(--cream); padding: 30px 0 22px; border-bottom: 2px solid rgba(242, 221, 109, .35);
}
header.top h1 { font-family: var(--serif); font-weight: 400; font-size: 2.35rem; letter-spacing: .01em; line-height: 1.1; }
header.top p { color: var(--cream-muted); }
header.top a, header.top a.back { color: var(--gold); }
header.top .badge { background: rgba(242, 221, 109, .14); color: var(--gold); }
header.top .badge.open { background: rgba(234, 122, 44, .20); color: #ffc08a; }
header.top .badge.closed { background: rgba(229, 72, 77, .20); color: #ffb3b0; }
header.top .notice { background: rgba(242, 221, 109, .12); color: var(--cream); }

/* Headings in the website's serif. */
section.cat h2, h2.step, .cart-box h3, .plan h4, .dlg header h2 { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
section.cat h2 { font-size: 1.8rem; }
h2.step { font-size: 1.6rem; }
h2.step span { background: var(--night); color: var(--gold); font-family: "DM Sans", sans-serif; font-weight: 700; }

/* Buttons: the website's orange, condensed capitals. */
.btn { background: linear-gradient(135deg, #ef8538, #d8661c); font-family: var(--condensed); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.btn:hover:not(:disabled), .btn:active { background: var(--accent-d); }
.btn.ghost { background: var(--bg-soft); color: var(--text); font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn.ghost:hover:not(:disabled) { background: #eee1cf; }

/* Menu tabs and category chips. */
nav.cats { background: #fffdf9; }
nav.cats a.active { background: var(--night); color: var(--gold); }
nav.cats .mtabs button.active { color: var(--accent-d); border-bottom-color: var(--accent); }

/* Dish cards and the cart. */
.item { background: #fff; border-color: var(--line); }
.item:hover:not(:disabled) { border-color: #dcc7a8; box-shadow: 0 6px 18px rgba(60, 35, 10, .10); }
.item .price { color: var(--accent-d); font-weight: 600; }
.cart-box { border-color: var(--line); box-shadow: 0 6px 22px rgba(60, 35, 10, .07); }
.cartbar, .bar { box-shadow: 0 -8px 22px -12px rgba(60, 35, 10, .35); }

/* Catering page pieces. */
.mode button.on, .payopt.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #fff8ef; }
.payopt.on .dot { border-color: var(--accent); }
.helper { background: #fff8ef; }
.seg button.on, .mtabs button.on, .chips button.on { background: var(--night); border-color: var(--night); color: var(--gold); }
.plan { border-color: var(--line); box-shadow: 0 6px 18px rgba(60, 35, 10, .06); }

/* Payment page: no top band, so the serif heading and a warm summary card carry the look. */
main h1 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: .01em; }
main .sum { background: #fff8ef; border: 1px solid var(--line); }
.tips button.on { border-color: var(--night); background: var(--night); color: var(--gold); }

/* The catering page starts its text right under the band. */
header.top + main { padding-top: 20px; }

/* Phones: a little less letter-spacing so long button labels ("Pay $313.58 deposit") fit. */
@media (max-width: 600px) { .btn { letter-spacing: .05em; } }

/* Drop-downs: a clean field with a small arrow instead of the grey iOS look. */
.tray select, .helper select, form select {
  -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23776654' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--text);
}
/* Catering menu tabs on phones: two even buttons, not big pills. */
@media (max-width: 600px) { .mtabs button { border-radius: 12px; font-size: .9rem; } }
