/* Mary's Kitchen — customer ordering site
   Brand tokens lifted verbatim from the live preview (marys-kitchen-order.pages.dev)
   so marketing + ordering + admin stay one coherent system. */
:root{
  --board:#283a2e; --board-2:#1f2e22; --card:#fbf5ea; --card-edge:#efe4d2;
  --ink:#2a211a; --ink-soft:#7a6b5b; --gravy:#c0492f; --gravy-deep:#9c3621;
  --basil:#6f9a5e; --basil-deep:#5a8049; --butter:#e3a93f;
  --plum:#7a5a8a; --plum-deep:#634a70;
  --line:rgba(42,33,26,.14); --focus:#2f6db0; --r:18px;
}
*{box-sizing:border-box} html,body{margin:0}
body{background:radial-gradient(125% 80% at 50% -8%, #32482f 0%, var(--board) 46%, var(--board-2) 100%);
  color:var(--ink); font-family:Inter,system-ui,sans-serif; min-height:100vh; -webkit-font-smoothing:antialiased; padding-bottom:60px}
.wrap{max-width:560px;margin:0 auto;padding:0 16px}

header{padding:30px 0 8px;color:#f3ecdd;text-align:center}
.kicker{font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--butter);text-decoration:none;cursor:pointer;display:inline-block}
a.kicker:hover{text-decoration:underline;text-underline-offset:3px}
a.kicker:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(32px,9vw,46px);letter-spacing:-.025em;line-height:.98;margin:8px 0 0}
.sub{color:#cdd9c7;font-size:15px;font-weight:500;margin:12px auto 0;max-width:30em;line-height:1.5}
.zones{color:#9fb19a;font-size:12.5px;font-weight:600;margin-top:10px}

/* (c) main-page tagline — the no-app, low-friction reply loop */
.tagline{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;
  background:rgba(243,236,221,.07);border:1px solid rgba(243,236,221,.16);border-radius:14px;
  padding:12px 16px;margin:16px auto 0;max-width:36em;color:#e7ddca;font-size:13.5px;font-weight:600;line-height:1.45}
.tagline b{color:#fff} .tagline .yn{color:var(--butter);font-family:'Bricolage Grotesque',sans-serif;font-weight:800}

.sectlabel{color:#f3ecdd;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:20px;letter-spacing:-.02em;margin:26px 4px 12px}

.night{background:var(--card);border:1px solid var(--card-edge);border-radius:var(--r);overflow:hidden;margin-bottom:14px;
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 10px 26px -18px rgba(0,0,0,.6)}
.night .pic{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#eadfca}
.night .pad{padding:15px 16px 16px}
.night .top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.night .when{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--gravy)}
.night .price{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:20px}
.night .dish{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:23px;letter-spacing:-.02em;margin:3px 0 4px;line-height:1.05}
.night .desc{font-size:14px;color:var(--ink-soft);line-height:1.45}
.night .meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:12.5px;font-weight:600;color:var(--ink-soft)}
.night .meta .left{color:var(--basil-deep)}

/* ✨ special badge + headline (rendered only when the night carries them) */
.badge{display:inline-flex;align-items:center;gap:5px;background:var(--butter);color:#4a3410;
  font-size:11.5px;font-weight:800;letter-spacing:.02em;padding:3px 9px;border-radius:999px;font-family:Inter}
.night .headline{font-size:13.5px;font-weight:700;color:var(--gravy-deep);margin:6px 0 0;line-height:1.4}

/* (c) per-card YES/NO reply line for already-subscribed customers */
.ynline{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:11px;
  background:#f4ecdd;border:1px solid var(--card-edge);font-size:12.5px;line-height:1.45;color:var(--ink-soft);font-weight:500}
.ynline b{color:var(--basil-deep)} .ynline .no{color:var(--gravy)}

.btn{width:100%;border:0;background:var(--gravy);color:#fff;font:inherit;font-weight:800;font-size:16px;padding:14px;border-radius:13px;cursor:pointer;font-family:'Bricolage Grotesque',sans-serif;letter-spacing:-.01em;margin-top:14px}
.btn:active{transform:translateY(1px)} .btn:disabled{opacity:.55;cursor:default}
.btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.btn.ghost{background:transparent;color:var(--ink-soft);font-family:Inter;font-weight:700;font-size:14px;padding:10px;margin-top:6px}

/* order panel */
.panel{background:var(--card);border:1px solid var(--card-edge);border-radius:var(--r);padding:18px 17px 18px;margin-bottom:14px;
  box-shadow:0 10px 26px -18px rgba(0,0,0,.6)}
.chosen{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:4px}
.chosen .d{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:19px;letter-spacing:-.02em}
.chosen .w{font-size:12.5px;color:var(--ink-soft);font-weight:600}
label.lbl{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);margin:15px 0 6px}
input,select{width:100%;font:inherit;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:11px;padding:12px;min-height:46px}
select{appearance:none;-webkit-appearance:none;font-weight:600;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%237a6b5b' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}
input:focus,select:focus{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
.row2{display:flex;gap:10px}.row2>div{flex:1}
.qty{display:flex;align-items:center;gap:10px;max-width:190px}
.qbtn{width:46px;height:46px;flex:0 0 auto;border:1.5px solid var(--line);background:#fff;border-radius:11px;font-size:22px;font-weight:700;cursor:pointer}
.qty input{text-align:center;font-weight:800;font-size:18px;font-family:'Bricolage Grotesque',sans-serif}
.servings{font-size:12.5px;color:var(--ink-soft);font-weight:600;margin-top:7px}

/* (a)+(b) channel chooser — Text dominates, Email first-class, Both available */
.channel{margin-top:16px}
.channel-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:9px}
.choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  text-align:center;background:#fff;border:1.5px solid var(--line);border-radius:13px;padding:13px 8px;cursor:pointer;min-height:78px;
  transition:border-color .12s,background .12s,box-shadow .12s}
.choice input{position:absolute;opacity:0;pointer-events:none}
.choice .ico{font-size:20px;line-height:1}
.choice .ttl{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:15px;letter-spacing:-.01em;color:var(--ink)}
.choice .hint{font-size:10.5px;font-weight:600;color:var(--ink-soft);line-height:1.2}
.choice:hover{border-color:var(--basil)}
.choice.sel{border-color:var(--basil-deep);background:#f1f6ec;box-shadow:0 0 0 1.5px var(--basil-deep) inset}
.choice:focus-within{outline:3px solid var(--focus);outline-offset:2px}
/* (a) the Text option is visually dominant: bigger cell, primary fill, "popular" flag */
.choice.text{background:linear-gradient(180deg,#fbf2ff,#f4e9fb);border-color:var(--plum)}
.choice.text .ico{font-size:26px}
.choice.text .ttl{font-size:18px;color:var(--plum-deep)}
.choice.text.sel{background:linear-gradient(180deg,#f3e4fb,#ead4f6);border-color:var(--plum-deep);box-shadow:0 0 0 2px var(--plum-deep) inset}
.choice.text .flag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:var(--plum);color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:2px 8px;border-radius:999px}

.consent{display:flex;gap:11px;margin-top:14px;background:#f4ecdd;border:1px solid var(--card-edge);border-radius:12px;padding:13px}
.consent input{width:22px;height:22px;flex:0 0 auto;margin-top:1px;accent-color:var(--basil)}
.consent .t{font-size:12.5px;line-height:1.5;color:var(--ink-soft)}
.consent a{color:var(--gravy);font-weight:600}

/* (d) payment: wallet buttons (Apple/Google Pay/Link) above the unified Payment Element */
#express-el{margin-top:6px;min-height:0}
.express-or{display:flex;align-items:center;gap:12px;color:var(--ink-soft);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin:12px 0}
.express-or::before,.express-or::after{content:"";flex:1;height:1px;background:var(--line)}
#payment-el{background:#fff;border:1.5px solid var(--line);border-radius:11px;padding:6px 4px;min-height:48px}
.cardnote{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:12.5px;color:var(--ink-soft);line-height:1.45;font-weight:500}
.cardnote b{color:var(--ink)}

.total{display:flex;justify-content:space-between;align-items:baseline;margin-top:18px;font-family:'Bricolage Grotesque',sans-serif}
.total .l{font-weight:600;font-size:14px;color:var(--ink-soft);font-family:Inter}
.total .v{font-weight:800;font-size:26px;letter-spacing:-.02em}
.err{color:var(--gravy-deep);font-size:13.5px;font-weight:600;margin-top:12px;min-height:1px}

.done{text-align:center;padding:8px 4px}
.done .check{width:64px;height:64px;border-radius:50%;background:var(--basil);margin:6px auto 14px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:34px}
.done h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:26px;letter-spacing:-.02em;margin:0 0 8px}
.done p{color:var(--ink-soft);font-size:14.5px;line-height:1.55;margin:0 auto 4px;max-width:26em}

.loading,.empty{color:#cdd9c7;text-align:center;font-weight:500;padding:24px;font-size:14.5px}

/* compliance strip — MEHKO permit + service area + test-mode */
.permit{margin-top:22px;color:#9fb19a;font-size:11.5px;text-align:center;line-height:1.7}
.permit .pill{display:inline-block;background:rgba(243,236,221,.08);border:1px solid rgba(243,236,221,.16);
  border-radius:999px;padding:3px 11px;margin:3px;color:#cdd9c7;font-weight:600}
footer{color:#9fb19a;font-size:12px;text-align:center;margin-top:18px;line-height:1.6}
[hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
