/* Cafresco — warm microconcrete. Cream + espresso, latte, blush and dusty-rose accents. */
:root {
  --paper: #fbf6ef;      /* cream */
  --card: #fffdf9;
  --ink: #2b1d16;        /* espresso */
  --ink-2: #4a362b;
  --muted: #85705f;
  --concrete: #f1e4d6;   /* latte */
  --concrete-2: #e3cfbc;
  --blush: #f6dcd5;      /* soft pink from the menu */
  --clay: #c0675b;       /* dusty rose */
  --clay-ink: #ffffff;
  --ok: #4c6b45;
  --warn: #9a6a1c;
  --bad: #a3392e;
  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
  --script: "Caveat", "Segoe Script", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: 1.5rem; text-transform: uppercase; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.mono, .label { font-family: var(--mono); }
.label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.concrete { background-color: var(--concrete); background-image: var(--noise); }

/* Layout */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.topbar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { font-weight: 900; letter-spacing: .28em; font-size: 1.05rem; text-decoration: none; text-transform: uppercase; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; letter-spacing: .2em; font-size: .6rem; color: var(--muted); }
.topnav { margin-left: auto; display: flex; gap: 4px; }
.topnav a { text-decoration: none; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 2px solid transparent; }
.topnav a.active, .topnav a:hover { border-color: var(--ink); }
main { min-height: calc(100vh - 60px); padding-bottom: 96px; }
.bottomnav { display: none; }
@media (max-width: 760px) {
  .topnav { display: none; }
  .bottomnav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--paper); border-top: var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottomnav a { text-decoration: none; text-align: center; padding: 10px 0 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; position: relative; }
  .bottomnav a svg { display: block; margin: 0 auto 3px; width: 22px; height: 22px; }
  .bottomnav a.active { background: var(--ink); color: var(--paper); }
}
.badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 5px; align-items: center; justify-content: center; background: var(--clay); color: var(--clay-ink); font: 700 .7rem/1 var(--mono); border: 2px solid var(--ink); }
.bottomnav .badge { position: absolute; top: 4px; left: 50%; margin-left: 6px; }

/* Hero */
.hero { border-bottom: var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding-top: 36px; padding-bottom: 36px; align-items: end; }
.hero .stamp { border: var(--line); background: var(--paper); padding: 16px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; padding-bottom: 20px; } .hero h1 { font-size: 2.1rem; } .hero p { font-size: .92rem; margin-bottom: 0; } }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border: var(--line); background: var(--ink); color: var(--paper);
  font: 700 .85rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .06s, box-shadow .06s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.clay { background: var(--clay); color: var(--clay-ink); }
.btn.danger { background: var(--paper); color: var(--bad); border-color: var(--bad); box-shadow: 4px 4px 0 var(--bad); }
.btn.sm { min-height: 34px; padding: 6px 10px; font-size: .72rem; box-shadow: 2px 2px 0 var(--ink); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.iconbtn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: var(--line); background: var(--paper); cursor: pointer; font-size: 1.2rem; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font: .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: var(--line); padding: 11px 12px; border-radius: 0; min-height: 46px; appearance: none;
}
textarea { min-height: 80px; resize: vertical; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--ink); appearance: auto; flex: none; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: var(--line); margin-bottom: -2px; cursor: pointer; background: var(--paper); }
.check:has(input:checked) { background: var(--concrete); }
.check .price { margin-left: auto; font-family: var(--mono); font-size: .85rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: var(--line); }
.seg button { border: 0; border-right: var(--line); background: var(--paper); padding: 12px 8px; font: 700 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; min-height: 46px; }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--ink); color: var(--paper); }

/* Cards & panels */
.panel { border: var(--line); background: var(--card); padding: 18px; margin-bottom: 18px; }
.panel.shadow { box-shadow: var(--shadow); }
.panel h2 { font-size: 1.1rem; }
.notice { border: var(--line); padding: 12px 14px; margin-bottom: 16px; background: var(--concrete); background-image: var(--noise); }
.notice.clay { background: var(--clay); color: var(--clay-ink); }
.notice.bad { border-color: var(--bad); color: var(--bad); background: #fff; }

.cats { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; position: sticky; top: 60px; background: var(--paper); z-index: 20; border-bottom: var(--line); }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; border: var(--line); background: var(--paper); padding: 8px 14px; font: 700 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.cats button.on { background: var(--ink); color: var(--paper); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; padding: 20px 0; }
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.product { border: var(--line); background: var(--card); display: flex; flex-direction: column; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; transition: transform .08s, box-shadow .08s; }
.product:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.product .img { aspect-ratio: 1 / 1; border-bottom: var(--line); background-color: var(--concrete); background-image: var(--noise); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font: 900 2.4rem var(--font); color: var(--concrete-2); overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .name { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.product .desc { font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .price { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-weight: 700; }
.product.soldout { opacity: .5; cursor: not-allowed; }
.tag { display: inline-block; border: 2px solid var(--ink); padding: 2px 6px; font: 700 .64rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--paper); }
.tag.dark { background: var(--ink); color: var(--paper); }
.tag.clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.tag.ok { color: var(--ok); border-color: var(--ok); }
.tag.warn { color: var(--warn); border-color: var(--warn); }
.tag.bad { color: var(--bad); border-color: var(--bad); }

/* Sheet / modal */
.overlay { position: fixed; inset: 0; background: rgba(43,29,22,.5); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.sheet { background: var(--card); border: var(--line); box-shadow: 8px 8px 0 var(--ink); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; }
.sheet.wide { max-width: 860px; }
.sheet header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.sheet header h2 { margin: 0; font-size: 1.1rem; }
.sheet .content { padding: 16px; }
.sheet footer { padding: 14px 16px; border-top: var(--line); position: sticky; bottom: 0; background: var(--paper); display: flex; gap: 10px; align-items: center; }
@media (max-width: 560px) {
  .overlay { align-items: flex-end; padding: 0; }
  .sheet { max-height: 92vh; box-shadow: none; border-width: 2px 0 0; animation: up .2s; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }

.qty { display: inline-flex; border: var(--line); }
.qty button { width: 40px; height: 40px; border: 0; background: var(--paper); font-size: 1.2rem; cursor: pointer; }
.qty span { width: 40px; display: flex; align-items: center; justify-content: center; border-left: var(--line); border-right: var(--line); font-family: var(--mono); font-weight: 700; }

/* Lists / tables */
.lines { border-top: var(--line); }
.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--concrete-2); align-items: flex-start; }
.line .grow { flex: 1; min-width: 0; }
.line .amt { font-family: var(--mono); white-space: nowrap; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-family: var(--mono); font-size: .9rem; }
.totals .grand { border-top: var(--line); margin-top: 6px; padding-top: 10px; font-size: 1.15rem; font-weight: 700; }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th { text-align: left; font: .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: var(--line); padding: 8px; white-space: nowrap; }
table.t td { border-bottom: 1px solid var(--concrete-2); padding: 10px 8px; vertical-align: top; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--concrete); }
.tablewrap { overflow-x: auto; border: var(--line); background: var(--paper); }

/* Order timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: var(--line); }
.timeline li { padding: 0 0 14px 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; background: var(--paper); border: var(--line); }
.timeline li:last-child::before { background: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line); margin-bottom: 16px; }
.steps div { padding: 10px 6px; text-align: center; font: 700 .64rem var(--mono); letter-spacing: .06em; text-transform: uppercase; border-right: var(--line); color: var(--muted); }
.steps div:last-child { border-right: 0; }
.steps div.on { background: var(--ink); color: var(--paper); }

/* Toast */
#toasts { position: fixed; top: 72px; right: 16px; left: 16px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: var(--paper); border: var(--line); padding: 12px 16px; font-size: .9rem; max-width: 420px; box-shadow: 4px 4px 0 var(--clay); animation: fade .2s; }
.toast.bad { background: var(--paper); color: var(--bad); border-color: var(--bad); box-shadow: 4px 4px 0 var(--bad); }

.install { position: fixed; left: 16px; right: 16px; bottom: 84px; z-index: 50; max-width: 520px; margin: 0 auto; }
@media (min-width: 761px) { .install { bottom: 24px; } }

.cart-fab { position: fixed; right: 24px; bottom: 24px; z-index: 35; }
@media (max-width: 760px) { .cart-fab { display: none; } }

.auth { max-width: 440px; margin: 32px auto; }
.empty { text-align: center; padding: 48px 16px; border: 2px dashed var(--concrete-2); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--concrete-2); border-top-color: var(--ink); animation: spin .8s linear infinite; margin: 48px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { border-top: var(--line); padding: 24px 0; font-size: .85rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { border: var(--line); padding: 14px; background: var(--card); }
.kpi b { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1.1; }

/* Admin shell */
.shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { border-right: var(--line); background: var(--concrete); background-image: var(--noise); padding: 18px 0; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side .brand { display: block; padding: 0 18px 18px; border-bottom: var(--line); margin-bottom: 8px; }
.side a.nav { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; text-decoration: none; font: 700 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.side a.nav.active, .side a.nav:hover { background: var(--ink); color: var(--paper); }
.shell main { padding: 24px; min-width: 0; }
.adminbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 30% 0 0; z-index: 70; transform: translateX(-105%); transition: transform .2s; height: 100%; box-shadow: 8px 0 0 var(--ink); }
  .side.open { transform: none; }
  .adminbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: var(--line); position: sticky; top: 0; background: var(--paper); z-index: 30; }
  .shell main { padding: 16px; }
}
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar h1 { font-size: 1.8rem; margin: 0 auto 0 0; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; }
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ocard { border: var(--line); background: var(--card); padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.ocard:hover { box-shadow: var(--shadow); }
.ocard.alert { border-color: var(--clay); box-shadow: 4px 4px 0 var(--clay); }
.subrow { display: grid; grid-template-columns: 1fr 120px 70px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.subrow input { min-height: 40px; padding: 8px; }


/* ---------- Warm rebrand additions ---------- */
.marquee { background: var(--blush); border-bottom: var(--line); overflow: hidden; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; padding: 9px 0; }
.marquee span { font: 700 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; }
.marquee span::after { content: "✿"; color: var(--clay); margin-left: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero.warm { background: linear-gradient(120deg, var(--concrete) 0%, var(--blush) 100%); position: relative; overflow: hidden; }
.hero.warm::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); pointer-events: none; }
.hero.warm .wrap { position: relative; }
.rotator { display: inline-block; color: var(--clay); min-width: 6ch; }
.rotator.swap { animation: swapIn .5s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateY(.35em); } }
.steam { position: absolute; right: 6%; top: 18px; width: 120px; height: 150px; opacity: .55; pointer-events: none; }
.steam path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .6s; } .steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(14px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px); } }
@media (max-width: 760px) { .steam { width: 70px; height: 90px; right: 4%; top: 8px; } }

.menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; padding: 20px 0; }
@media (max-width: 560px) { .menu-list { grid-template-columns: 1fr; gap: 10px; } }
.drink { border: var(--line); background: var(--card); padding: 14px 14px 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; display: flex; gap: 12px; align-items: stretch; transition: transform .08s, box-shadow .08s; }
.drink:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.drink .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.drink .name { font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.15; }
.drink .fav { color: var(--clay); margin-right: 4px; }
.drink .desc { font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.drink .prices { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: .82rem; }
.drink .prices b { font-weight: 700; }
.drink .prices small { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; margin-right: 4px; }
.drink .plus { flex: none; align-self: center; width: 40px; height: 40px; border: var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--blush); }
.drink.soldout { opacity: .5; cursor: not-allowed; }
.cat-title { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 0; }
.cat-title h2 { margin: 0; }
.cat-title .label { margin-left: auto; }

.guide { background: var(--blush); border-top: var(--line); border-bottom: var(--line); position: relative; overflow: hidden; }
.guide::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); pointer-events: none; }
.guide .wrap { position: relative; padding-top: 36px; padding-bottom: 40px; }
.guide h2.script { font: 700 clamp(2.2rem, 7vw, 3.4rem)/1 var(--script); text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.guide .note { font: 600 1.25rem var(--script); color: var(--clay); transform: rotate(-3deg); display: inline-block; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { background: var(--card); border: var(--line); padding: 16px; }
.guide-card h3 { font: 700 1.7rem/1 var(--script); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.guide-card p { font-family: var(--mono); font-size: .82rem; margin: 0; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .marquee .track, .steam path, .rotator.swap { animation: none; }
}
@media (max-width: 560px) { .hero.warm p { display: none; } .hero.warm .stamp { padding: 12px; } .hero.warm h1 { font-size: 1.9rem; } }

/* ---------- Borderless, soft look with left-to-right hover sweep ---------- */
:root {
  --line: 0 solid transparent;
  --shadow: 0 6px 22px rgba(43, 29, 22, .08);
  --shadow-lg: 0 14px 40px rgba(43, 29, 22, .14);
  --radius: 14px;
  --radius-sm: 10px;
}
.topbar { box-shadow: 0 1px 0 rgba(43, 29, 22, .06); }
.panel, .kpi, .ocard, .drink, .guide-card, .hero .stamp, .stamp, .tablewrap, .notice, .empty, .product, .sheet { border: 0; border-radius: var(--radius); }
.panel, .kpi, .ocard, .drink, .guide-card, .stamp, .tablewrap { box-shadow: var(--shadow); }
.panel.shadow { box-shadow: var(--shadow-lg); }
.empty { background: var(--concrete); }
.notice { border-radius: var(--radius-sm); }
.sheet { box-shadow: var(--shadow-lg); overflow: hidden auto; }
.sheet header, .sheet footer { border: 0; }
.sheet header { box-shadow: 0 1px 0 rgba(43, 29, 22, .07); }
.sheet footer { box-shadow: 0 -1px 0 rgba(43, 29, 22, .07); }
@media (max-width: 560px) { .sheet { border-radius: 20px 20px 0 0; } }
.marquee, .hero, .guide, .footer, .cats, .bottomnav, .lines, .totals .grand, .steps, .steps div, .seg, .seg button, .timeline, .qty, .qty span, .side, .side .brand, .adminbar, table.t th { border: 0 !important; }
.bottomnav { box-shadow: 0 -4px 18px rgba(43, 29, 22, .08); }
.side { box-shadow: 1px 0 0 rgba(43, 29, 22, .06); }
.totals .grand { box-shadow: 0 -1px 0 rgba(43, 29, 22, .15); }
table.t th { box-shadow: 0 1px 0 rgba(43, 29, 22, .12); }
table.t td { border-bottom-color: rgba(43, 29, 22, .07); }
.line { border-bottom-color: rgba(43, 29, 22, .08); }
.timeline { box-shadow: inset 2px 0 0 var(--concrete-2); }
.timeline li::before { border: 0; background: var(--concrete-2); border-radius: 50%; }
.timeline li:last-child::before { background: var(--clay); }
.steps { background: var(--concrete); border-radius: var(--radius-sm); overflow: hidden; }
.steps div.on { background: var(--ink); }

/* Inputs: soft filled fields instead of outlines */
input, select, textarea { border: 0; background-color: var(--concrete); border-radius: var(--radius-sm); }
input:focus, select:focus, textarea:focus { background-color: #fff; outline: 2px solid var(--clay); outline-offset: 0; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.check { border: 0; margin-bottom: 6px; border-radius: var(--radius-sm); background-color: var(--concrete); }
.check:has(input:checked) { background-color: var(--blush); }
.qty { background: var(--concrete); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { background: transparent; }
.seg { background: var(--concrete); border-radius: var(--radius-sm); padding: 4px; gap: 4px; }
.seg button { background-color: transparent; border-radius: 8px; }
.iconbtn { border: 0; background: var(--concrete); border-radius: 50%; }
.tag { border: 0; border-radius: 999px; padding: 3px 9px; background: var(--concrete); }
.tag.dark { background: var(--ink); }
.tag.clay { background: var(--clay); }
.tag.ok { background: #e3eddf; } .tag.warn { background: #f6e8cf; } .tag.bad { background: #f7dcd8; }
.badge { border: 0; border-radius: 999px; }
.drink .plus { border: 0; border-radius: 50%; background-color: var(--blush); transition: transform .3s ease, background-color .3s; }
.drink:hover .plus { transform: rotate(90deg); background-color: var(--clay); color: #fff; }
.cats button { border: 0; border-radius: 999px; background-color: var(--concrete); }
.topnav a { border: 0 !important; border-radius: 999px; }
.topnav a.active { background-color: var(--ink); color: var(--paper); }
.toast { border: 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.toast.bad { border: 0; }
.install { border-radius: var(--radius); }
.subrow input { border-radius: 8px; }
.side a.nav { border-radius: 0 999px 999px 0; margin-right: 12px; }

/* Buttons: no outline or hard shadow */
.btn { border: 0; border-radius: 999px; box-shadow: none; }
.btn.sm { box-shadow: none; }
.btn.danger { border: 0; box-shadow: none; background-color: #f7dcd8; }
.btn.ghost { background-color: var(--concrete); }
.btn:active { transform: scale(.97); box-shadow: none; }
.product:hover, .drink:hover, .ocard:hover { transform: none; }
.ocard.alert { border: 0; box-shadow: 0 0 0 2px var(--clay), var(--shadow); }

/* Left-to-right hover sweep */
.btn, .drink, .ocard, .cats button, .seg button, .topnav a, .side a.nav, .check, .bottomnav a, table.t tr.click td, .guide-card {
  --sweep: var(--blush);
  background-image: linear-gradient(var(--sweep), var(--sweep));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size .45s cubic-bezier(.22, .61, .36, 1), color .3s ease, box-shadow .3s ease;
}
.btn { --sweep: var(--clay); }
.btn.clay { --sweep: var(--ink); }
.btn.ghost, .btn.danger { --sweep: var(--concrete-2); }
.side a.nav, .topnav a, .bottomnav a { --sweep: var(--blush); }
.btn:hover, .drink:hover, .ocard:hover, .cats button:hover, .seg button:hover, .topnav a:hover, .side a.nav:hover, .check:hover,
.bottomnav a:hover, table.t tr.click:hover td, .guide-card:hover { background-size: 100% 100%; }
.drink:hover, .ocard:hover { box-shadow: var(--shadow-lg); }
.side a.nav:hover, .topnav a:hover { color: var(--ink); }
.side a.nav.active, .topnav a.active, .cats button.on, .seg button.on, .bottomnav a.active { background-color: var(--ink); color: var(--paper); --sweep: var(--ink); }
table.t tr.click:hover td { background-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .btn, .drink, .ocard, .cats button, .seg button, .topnav a, .side a.nav, .check, .bottomnav a, table.t tr.click td, .guide-card { transition: none; }
}
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sizes span { background: var(--blush); border-radius: 999px; padding: 5px 12px; font: .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sizes b { font-weight: 700; }

/* ---------- Bakes carousel (inside the hero) ---------- */
.hero.has-car .wrap { grid-template-columns: minmax(0, 1fr) 300px 270px; grid-template-areas: "text car stamp"; align-items: center; }
.hero.has-car .hero-text { grid-area: text; } .hero.has-car .stamp { grid-area: stamp; align-self: end; } .hero.has-car .bakecar { grid-area: car; }
.hero.has-car .steam { display: none; }
@media (max-width: 1040px) { .hero.has-car .wrap { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "text car" "stamp car"; } }
@media (max-width: 760px) {
  .hero.has-car .wrap { grid-template-columns: 1fr; grid-template-areas: "text" "car" "stamp"; }
  .hero.has-car .steam { display: block; }
}
.bakecar { position: relative; width: 100%; height: 375px; border-radius: 22px; overflow: hidden; background: var(--concrete-2, #e8d6c4); box-shadow: var(--shadow-lg); cursor: pointer; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
@media (max-width: 1040px) { .bakecar { height: 350px; } }
@media (max-width: 760px) { .bakecar { height: 280px; border-radius: 18px; } }
.bakecar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 6s ease-out; pointer-events: none; -webkit-user-drag: none; }
.bakecar img.on { opacity: 1; transform: scale(1); }
.bakecar::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(43, 29, 22, .78), rgba(43, 29, 22, 0)); z-index: 1; pointer-events: none; }
.bakecar .cap { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 2; color: #fff8f0; }
.bakecar .cap .label { color: #f6dcd5; opacity: .9; }
.bakecar .cap b { display: block; font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; transition: opacity .4s ease, transform .4s ease; }
.bakecar .cap b.out { opacity: 0; transform: translateY(8px); }
.bakecar .cap .more { font: 700 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; display: inline-block; background: linear-gradient(#fff8f0, #fff8f0) left bottom / 0% 1px no-repeat; transition: background-size .45s cubic-bezier(.22, .61, .36, 1); }
.bakecar:hover .cap .more { background-size: 100% 1px; }
.bakecar .count { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(43, 29, 22, .55); color: #fff8f0; font: 700 .68rem var(--mono); letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.bakecar .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255, 248, 240, .2); }
.bakecar .bar i { display: block; height: 100%; width: 0; background: var(--clay); }
.bakecar .bar i.run { width: 100%; transition: width linear var(--dur, 4s); }
.bakecar .arrow { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 50%; background: rgba(255, 253, 249, .88); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s ease, transform .3s ease; box-shadow: var(--shadow); }
.bakecar .arrow.prev { left: 10px; transform: translateX(-6px); } .bakecar .arrow.next { right: 10px; transform: translateX(6px); }
.bakecar:hover .arrow, .bakecar:focus-within .arrow { opacity: 1; transform: none; }
@media (hover: none) { .bakecar .arrow { display: none; } }

/* ---------- Bakes gallery page ---------- */
.bakes-hero { background: linear-gradient(120deg, var(--concrete) 0%, var(--blush) 100%); position: relative; overflow: hidden; }
.bakes-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); pointer-events: none; }
.bakes-hero .wrap { position: relative; padding-top: 40px; padding-bottom: 32px; }
.bakes-hero h1 { margin: 6px 0 4px; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; }
.bakes-hero .script { font: 700 1.6rem var(--script); color: var(--clay); display: inline-block; transform: rotate(-2deg); }
.bakes-hero p { max-width: 46ch; color: var(--ink-2); margin: 12px 0 0; }
.bakes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-flow: dense; gap: 14px; padding: 8px 0 32px; }
@media (max-width: 560px) { .bakes-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.bake { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--concrete); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease; }
.bake.in { opacity: 1; transform: none; }
.bake.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.bake img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
.bake::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 29, 22, .72) 0%, rgba(43, 29, 22, 0) 45%); pointer-events: none; }
.bake .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px 14px; text-align: left; color: #fff8f0; }
.bake .cap b { display: inline; font-weight: 800; font-size: .98rem; background: linear-gradient(var(--clay), var(--clay)) left center / 0% 100% no-repeat; padding: 2px 6px; margin-left: -6px; border-radius: 6px; transition: background-size .45s cubic-bezier(.22, .61, .36, 1); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bake .cap small { display: block; font: 700 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.bake.big .cap b { font-size: 1.3rem; }
.bake:hover { box-shadow: var(--shadow-lg); }
.bake:hover img { transform: scale(1.06); }
.bake:hover .cap b { background-size: 100% 100%; }
.bakes-grid.fade { opacity: 0; transition: opacity .25s ease; }
.bakes-cta { text-align: center; padding: 8px 0 40px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 20, 15, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; animation: fade .3s ease; touch-action: pan-y; }
.lightbox .frame { position: relative; width: min(92vw, calc((100vh - 170px) * .8), 560px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #3a2a21; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .5s ease, transform .7s cubic-bezier(.22, .61, .36, 1); -webkit-user-drag: none; user-select: none; }
.lightbox .frame img.on { opacity: 1; transform: none; }
.lightbox .meta { color: #fff8f0; text-align: center; margin-top: 16px; min-height: 52px; }
.lightbox .meta b { display: block; font-size: 1.25rem; font-weight: 800; transition: opacity .3s ease; }
.lightbox .meta span { font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.lightbox button { border: 0; cursor: pointer; color: var(--ink); background: rgba(255, 253, 249, .92); border-radius: 50%; width: 46px; height: 46px; font-size: 1.4rem; line-height: 1; transition: transform .25s ease, background-color .25s ease; }
.lightbox button:hover { transform: scale(1.08); background: #fff; }
.lightbox .close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; margin-top: -23px; }
.lightbox .lb-prev { left: max(14px, calc(50% - 360px)); } .lightbox .lb-next { right: max(14px, calc(50% - 360px)); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0; } .lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; } }

.bottomnav.five { grid-template-columns: repeat(5, 1fr); }
@media (prefers-reduced-motion: reduce) {
  .bakecar img, .bake, .bake img, .lightbox .frame img, .bakecar .bar i.run { transition: opacity .3s ease; transform: none !important; }
  .bake { opacity: 1; }
}
.bakes-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 24px; }
.bakes-stack { position: relative; height: 230px; }
.bakes-stack img { position: absolute; width: 150px; height: 188px; object-fit: cover; border-radius: 14px; border: 6px solid var(--card); box-shadow: var(--shadow-lg); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.bakes-stack img:nth-child(1) { left: 0; top: 30px; transform: rotate(-8deg); }
.bakes-stack img:nth-child(2) { left: 105px; top: 0; transform: rotate(3deg); z-index: 1; }
.bakes-stack img:nth-child(3) { left: 210px; top: 36px; transform: rotate(10deg); }
.bakes-stack:hover img:nth-child(1) { transform: rotate(-12deg) translateX(-10px); }
.bakes-stack:hover img:nth-child(3) { transform: rotate(14deg) translateX(10px); }
@media (max-width: 760px) { .bakes-hero .wrap { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 20px; } .bakes-stack { display: none; } }

/* Rider rates note at checkout */
.rates ul { list-style: none; padding: 0; margin: 8px 0 10px; display: grid; gap: 6px; }
.rates li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: var(--card); border-radius: var(--radius-sm); padding: 8px 12px; }
.rates li span { flex: 1; font-weight: 700; }
.rates li small { flex-basis: 100%; color: var(--ink-2); }
.pinbox { margin: -4px 0 14px; }
.offer { box-shadow: 0 0 0 2px var(--clay), var(--shadow-lg); }

/* ---------- Support chat bubble ---------- */
.chatfab { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.22, .61, .36, 1), background-color .3s; }
.chatfab svg { width: 26px; height: 26px; }
.chatfab:hover { transform: scale(1.06); background: var(--clay); }
.chatw.open .chatfab { transform: scale(.92); background: var(--clay); }
.chatfab .badge { position: absolute; top: -2px; right: -2px; }
.cart-fab { right: 96px; }
@media (max-width: 760px) { .chatfab { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 52px; height: 52px; } }
body:not(:has(.bottomnav)) .chatfab { bottom: calc(20px + env(safe-area-inset-bottom)); }
.chatpanel { position: fixed; right: 24px; bottom: 96px; z-index: 46; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); background: var(--card); border-radius: 20px; box-shadow: 0 24px 60px rgba(43, 29, 22, .25); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .25s ease, transform .3s cubic-bezier(.22, .61, .36, 1); }
.chatpanel.on { opacity: 1; transform: none; }
@media (max-width: 760px) { .chatpanel { left: 0; right: 0; bottom: 0; width: 100%; height: min(78vh, 640px); border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); z-index: 60; } }
.chatpanel header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--concrete), var(--blush)); }
.chatpanel header > div { flex: 1; }
.chatpanel header b { display: block; font-size: 1.05rem; }
.chatpanel header small { font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.chatlog { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); overscroll-behavior: contain; }
.chatempty { margin: auto 0; text-align: center; color: var(--ink-2); font-size: .92rem; padding: 0 12px; }
.msg { display: flex; flex-direction: column; max-width: 82%; animation: fade .25s ease; }
.msg .bubble { padding: 9px 13px; border-radius: 16px; line-height: 1.4; font-size: .93rem; word-wrap: break-word; overflow-wrap: anywhere; }
.msg small { font: .64rem var(--mono); color: var(--ink-2); opacity: .75; margin-top: 3px; letter-spacing: .04em; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .bubble { background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; }
.msg.me .bubble a { color: inherit; }
.msg.them { align-self: flex-start; }
.msg.them .bubble { background: var(--blush); border-bottom-left-radius: 5px; }
.chatfoot { padding: 12px; background: var(--card); box-shadow: 0 -1px 0 rgba(43, 29, 22, .06); }
.chatform { display: flex; gap: 8px; align-items: flex-end; }
.chatform textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 22px; font: inherit; }
.chatform .btn { min-height: 44px; }
.fblink { display: block; text-align: center; font-size: .8rem; margin-top: 10px; color: var(--ink-2); }

/* ---------- Admin inbox ---------- */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; height: calc(100vh - 170px); min-height: 420px; }
.inbox .threads { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.thread { display: block; text-decoration: none; background: var(--card); border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow); color: inherit; }
.thread.on { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.thread.unread b { color: var(--clay); }
.thread .ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 3px 0 6px; }
.inbox .convo { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.inbox .convo > .empty { margin: auto; background: none; }
.convo-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 16px; box-shadow: 0 1px 0 rgba(43, 29, 22, .07); }
.convo-head .back { display: none; text-decoration: none; }
.inbox .chatform { padding: 12px; box-shadow: 0 -1px 0 rgba(43, 29, 22, .06); }
@media (max-width: 900px) {
  .inbox { grid-template-columns: 1fr; height: auto; }
  .inbox.has-sel .threads { display: none; }
  .inbox:not(.has-sel) .convo { display: none; }
  .inbox .convo { height: calc(100vh - 150px); }
  .convo-head .back { display: grid; place-items: center; }
}
.chatpanel[hidden] { display: none; }
.chatpanel:not(.on) { pointer-events: none; }
@media (max-width: 760px) { .install { bottom: calc(148px + env(safe-area-inset-bottom)); } }
