/* ม่อนฟ้าหลวง: "ลาเต้" look (milk cream, espresso, caramel). Used by the customer page and the shop page. */
:root {
  --bg: #fbf5ec; --card: #fffdf9; --ink: #2a1810; --mut: #7a6455; --line: #ecdfcc; --line2: #f4ebdf;
  --acc: #b4632a; --acc2: #d88a3e; --acc-soft: #f6e4cf; --acc-ink: #7c3c12;
  --esp: #24150d; --esp2: #3a2417;
  --go: #4f7a37; --go-soft: #e7f0dd; --bad: #b3261e; --bad-soft: #fbe3df; --warn: #9a6200; --warn-soft: #fdf0d2;
  --sky-soft: #dfeef6; --sky-ink: #24607e; --hot-soft: #fbe1d3; --hot-ink: #a2401b;
  --r-lg: 24px; --r-md: 16px; --r-sm: 12px;
  --shadow: 0 1px 0 var(--line), 0 14px 28px -22px rgba(80, 45, 20, .55);
  --f-head: Anuphan, 'IBM Plex Sans Thai', sans-serif;
  --f-body: 'IBM Plex Sans Thai', Anuphan, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 400 16px/1.6 var(--f-body); color: var(--ink);
  background: radial-gradient(120% 50% at 100% 0%, #f7e2c8 0%, transparent 60%), radial-gradient(90% 40% at 0% 8%, #fdf0e2 0%, transparent 70%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.25; }
[hidden] { display: none !important; }
.pw { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--mut); }
.small { font-size: 14px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.good-t { color: var(--go); }
.danger-t { color: var(--bad) !important; }

/* ---------- header ---------- */
/* the page header only: "top" is also used on rows to mean "align to the top" */
header.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 10px; height: 60px; }
.logo { width: 38px; height: 38px; flex: none; border-radius: 12px; background: linear-gradient(145deg, var(--acc2), var(--acc)); display: grid; place-items: center; box-shadow: 0 6px 14px -6px var(--acc); }
/* the shop's own round logo (colour, see-through background) on a white disc */
.logo.shop-mark { background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(80, 45, 20, .5); overflow: hidden; }
.logo.shop-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand { font: 700 19px/1 var(--f-head); letter-spacing: -.01em; }
.opentag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--go); background: var(--go-soft); padding: 5px 11px; border-radius: 99px; }
.opentag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.opentag.closed { color: var(--bad); background: var(--bad-soft); }

/* ---------- hero + live queue card ---------- */
.hero { padding: 18px 0 4px; display: grid; gap: 14px; }
.hero-text { display: grid; gap: 12px; }
.hero h1 { margin: 0; font-size: clamp(30px, 9vw, 62px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.hero h1 span { display: block; color: var(--acc); }
.hero p { margin: 0; color: var(--mut); font-size: 16px; max-width: 30em; }
@media (max-width: 480px) { .hero p { display: none; } .live { padding: 12px 14px; border-radius: 22px; } .queue { margin: 8px 0; } .q { padding: 6px 4px; } .q b { font-size: 24px; } }
.tier-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier { display: inline-flex; width: max-content; font-size: 13px; font-weight: 600; color: var(--acc); background: var(--acc-soft); border-radius: 99px; padding: 4px 12px; }
@media (min-width: 760px) { .hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding-top: 44px; } }
.live { background: linear-gradient(160deg, var(--esp2), var(--esp)); color: #f6ead9; border-radius: 26px; padding: 18px; box-shadow: 0 30px 60px -28px rgba(60, 30, 10, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.live-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #cdb8a2; }
.live-top b { color: #fff; font: 600 14px var(--f-head); }
.queue { display: flex; gap: 8px; margin: 14px 0 12px; }
.q { flex: 1; min-width: 0; border-radius: 16px; padding: 10px 4px 8px; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); color: inherit; }
.q b { display: block; font: 700 30px/1.1 var(--f-head); color: #fff; }
.q .ql { display: block; font-size: 11px; color: #c7b29b; line-height: 1; }
.q.now .ql { color: #fff3e4; }
button.live { display: block; width: 100%; text-align: left; border: 0; font: inherit; cursor: pointer; }
.pr .was { margin-left: 6px; font: 500 13px var(--f-body); color: var(--mut); }
.q small { font-size: 12px; color: #c7b29b; }
.q.now { background: linear-gradient(160deg, var(--acc2), var(--acc)); border-color: transparent; box-shadow: 0 10px 22px -10px var(--acc2); }
.q.now small { color: #fff3e4; }
.q.wide b { font-size: 24px; }
button.q { cursor: pointer; }
.q.mine { outline: 2px solid rgba(255, 255, 255, .25); }
.wait { font-size: 14px; color: #e8d6c1; display: flex; align-items: center; gap: 8px; }
.wait::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #8fd37a; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.deals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.deal { font: 600 14px var(--f-head); color: var(--acc-ink); background: var(--acc-soft); border: 1px dashed var(--acc2); border-radius: 12px; padding: 6px 12px; }
.deal small { font: 500 13px var(--f-body); }
.deal.later { background: transparent; color: var(--mut); }

/* ---------- menu ---------- */
.section-title { font-size: 22px; margin: 26px 0 10px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 16px 14px; margin: 0 -16px; }
.rail::-webkit-scrollbar { display: none; }
.tools { position: sticky; top: 60px; z-index: 20; background: var(--bg); padding: 8px 0 2px; margin: 6px -16px 0; padding-left: 16px; padding-right: 16px; box-shadow: 0 8px 12px -12px rgba(80, 45, 20, .4); }
header.top { background: var(--bg); }
.in { width: 100%; min-height: 48px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; padding: 0 14px; color: var(--ink); }
.in.err { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
textarea.in { padding: 12px 14px; min-height: 80px; resize: vertical; }
select.in { appearance: auto; }
.search { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%237a6455' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 14px center; padding-left: 42px; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 6px; }
.cats::-webkit-scrollbar { display: none; }
.chip { flex: none; white-space: nowrap; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font: 600 15px var(--f-head); }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec { margin-top: 22px; scroll-margin-top: 170px; }
.sec.best { margin-top: 14px; }
.sec.best .rail { padding-bottom: 6px; }
.sec h2 { display: flex; align-items: baseline; gap: 10px; font-size: 22px; margin: 0 0 12px; }
.sec h2 small { font: 500 13px var(--f-body); color: var(--mut); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); transition: transform .15s; }
.card-main { display: flex; flex-direction: column; flex: 1; text-align: left; border: 0; background: none; color: inherit; font: inherit; padding: 8px 8px 14px; border-radius: 22px; cursor: pointer; }
.card:has(.card-main:active) { transform: scale(.97); }
.pill.gone { opacity: .45; text-decoration: line-through; }
.pills { white-space: nowrap; }
.card .pic { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 70%, #f3dfc6, #faf0e3 72%); }
.card .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.none, .line-ph.none, .sheet-photo.none { display: grid; place-items: center; font-size: 46px; }
.card .info { display: flex; flex-direction: column; gap: 2px; padding: 8px 6px 0; min-width: 0; padding-right: 44px; }
.nm { font: 600 16px/1.3 var(--f-head); overflow-wrap: break-word; word-break: normal; }
.pr { font: 700 18px var(--f-head); color: var(--acc); }
.badge { position: absolute; top: 14px; left: 14px; font: 600 12px var(--f-head); color: #fff; background: var(--acc); padding: 3px 9px; border-radius: 99px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.badge.deal-b { left: auto; right: 14px; background: var(--go); }
.card .plus { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 4px var(--card); }
.card .plus:active { transform: scale(.9); }
.card.off { opacity: .55; }
.card.off .plus { width: auto; padding: 0 10px; border-radius: 99px; font-size: 13px; background: var(--mut); }
.rail-card { flex: none; width: 152px; scroll-snap-align: start; }
.pill { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 600 11px/1.6 var(--f-body); border-radius: 99px; padding: 0 7px; }
.pill.hot { background: var(--hot-soft); color: var(--hot-ink); }
.pill.cold { background: var(--sky-soft); color: var(--sky-ink); }
.skel { border-radius: 22px; background: linear-gradient(90deg, #f3e9dc 25%, #fbf5ec 50%, #f3e9dc 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.foot { text-align: center; color: var(--mut); font-size: 13px; padding: 40px 0 30px; }
.has-cart { padding-bottom: 96px; }

.cartbar-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.cartbar { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; height: 62px; border: 0; border-radius: 22px; padding: 0 18px 0 10px; background: linear-gradient(160deg, var(--esp2), var(--esp)); color: #fff; box-shadow: 0 18px 36px -14px rgba(36, 21, 13, .7); font: 600 17px var(--f-head); }
.cartbar .n { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(145deg, var(--acc2), var(--acc)); display: grid; place-items: center; font-weight: 700; }
.cartbar .t { font-size: 19px; font-weight: 700; }
.cartbar.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.04); } }

/* ---------- buttons, fields ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 600 16px var(--f-head); color: var(--ink); text-decoration: none; }
.btn.big { width: 100%; min-height: 54px; font-size: 18px; border-radius: 18px; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 12px; }
.btn.primary { border: 0; background: linear-gradient(160deg, var(--acc2), var(--acc)); color: #fff; box-shadow: 0 14px 26px -14px var(--acc); }
.btn.dark { border: 0; background: linear-gradient(160deg, var(--esp2), var(--esp)); color: #fff; }
.btn.go { border: 0; background: var(--go); color: #fff; }
.btn.danger { border: 0; background: var(--bad); color: #fff; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .55; box-shadow: none; }
.linkbtn { border: 0; background: none; padding: 4px 0; margin-right: 14px; color: var(--acc); font-weight: 600; }
.iconbtn { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: #f3ebe0; color: var(--mut); font-size: 26px; line-height: 1; display: grid; place-items: center; }
.f { display: block; margin: 14px 0 6px; font: 600 15px var(--f-head); }
.errtxt { color: var(--bad); font-size: 14px; margin-top: 4px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 0; min-height: 46px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 600 15px var(--f-head); }
.seg button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; }
.stepper output { min-width: 22px; text-align: center; font: 700 18px var(--f-head); }
.paynote { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: #5c3b00; font-size: 15px; white-space: pre-line; }
.banner { padding: 12px 14px; border-radius: var(--r-md); background: var(--warn-soft); color: #5c3b00; font-weight: 600; margin: 12px 0; }
.banner.bad { background: var(--bad-soft); color: var(--bad); }
.banner.good { background: var(--go-soft); color: var(--go); }

/* ---------- dialogs: bottom sheet on phones, card on wide screens ---------- */
dialog { border: 0; padding: 0; width: 100%; max-width: 560px; max-height: 92vh; margin: auto auto 0; border-radius: 28px 28px 0 0; background: var(--card); color: var(--ink); overflow: hidden; display: none; flex-direction: column; }
dialog[open] { display: flex; animation: rise .18s ease-out; }
dialog::backdrop { background: rgba(36, 21, 13, .5); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 700px) { dialog { margin: auto; border-radius: 28px; } }
dialog.wide { max-width: 860px; }
.dlg-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px 18px 8px; }
.dlg-head h2 { margin: 0; font-size: 22px; }
.dlg-head.over { padding-top: 12px; }
.dlg-body { padding: 4px 18px 16px; overflow: auto; overscroll-behavior: contain; flex: 1; }
.foot-col { flex: 1; display: grid; gap: 6px; }
.dlg-foot { display: flex; gap: 10px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2); background: var(--card); }
.sheet-hero { height: min(190px, 24vh); background: radial-gradient(circle at 50% 70%, #f3dfc6, #faf0e3 72%); flex: none; }
.sheet-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
fieldset { border: 0; margin: 0 0 14px; padding: 0; }
legend { padding: 0; margin-bottom: 8px; font: 600 16px var(--f-head); }
legend small { margin-left: 8px; font: 400 13px var(--f-body); color: var(--mut); }
legend small.need { color: var(--bad); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { border-radius: 14px; font: 500 15px var(--f-body); background: #fff; }
.chips .chip[aria-pressed='true'] { border-color: var(--acc); background: var(--acc-soft); color: var(--acc-ink); box-shadow: inset 0 0 0 1px var(--acc); }
.chip .add { margin-left: 6px; font-size: 13px; color: var(--acc); }
.chip:disabled { opacity: .45; }
.ts-box { display: flex; justify-content: center; padding: 0 16px; }
.ts-box:empty { display: none; }

.lines { display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line2); }
.line.gone { opacity: .6; }
.line-ph { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: cover; background: #f7ecdd; font-size: 26px; }
.line .op { color: var(--mut); font-size: 14px; }
.line-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.line-sum { font-weight: 700; }
.sum-box { margin-top: 18px; padding: 14px; border-radius: var(--r-md); background: #faf3e9; display: grid; gap: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font: 600 17px var(--f-head); }
.total .v { font-size: 26px; font-weight: 700; color: var(--ink); }

/* ---------- order status ---------- */
.track { max-width: 560px; margin: 0 auto; padding: 18px 0 48px; }
.ticket { margin-top: 14px; border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.ticket .hd { background: linear-gradient(160deg, var(--esp2), var(--esp)); color: #e8d6c1; text-align: center; padding: 20px 16px 22px; }
.ticket .hd.ready { background: linear-gradient(160deg, #5f8f45, #3d6629); }
.ticket .qno { font: 700 92px/1 var(--f-head); color: #fff; margin: 4px 0 6px; }
.ticket .bd { padding: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--mut); }
.steps .dot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line2); font-weight: 700; font-size: 14px; }
.steps .t { display: flex; flex-direction: column; font-weight: 600; padding-top: 3px; }
.steps .t small { font-weight: 400; color: var(--mut); }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--go); color: #fff; }
.steps li.now { color: var(--ink); }
.steps li.now .dot { background: var(--acc); color: #fff; box-shadow: 0 0 0 5px var(--acc-soft); }
.receipt { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 6px; }

/* ---------- toasts ---------- */
.dlg-toasts { position: fixed; left: 0; right: 0; bottom: 96px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
#toasts { position: fixed; left: 0; right: 0; bottom: 112px; transition: bottom .15s; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 16px; line-height: 1.45; max-width: 520px; text-align: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); animation: rise .25s ease-out; }
.toast.good { background: #3d6329; }
.toast.bad { background: var(--bad); }
.toast.warn { background: var(--warn); }
.toast.has-act { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.toast-act { border: 0; background: rgba(255, 255, 255, .18); color: #fff; font: 700 15px var(--f-head); padding: 8px 14px; border-radius: 10px; min-height: 40px; cursor: pointer; }
.toast-act:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.toast-sub { font-weight: 400; font-size: 14px; opacity: .92; margin-top: 2px; }
.line-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.payqr { display: grid; justify-items: center; gap: 6px; text-align: center; margin-bottom: 8px; }
.payqr img { width: 220px; height: 220px; image-rendering: pixelated; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
/* cart: photo | name and choices | amount; the two buttons on a row of their own underneath */
.cart-lines .line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: start; }
.cart-lines .line > .grow { display: contents; }
.cart-lines .line > .line-ph { grid-column: 1; grid-row: 1 / span 3; }
.cart-lines .line .nm, .cart-lines .line .op, .cart-lines .line .errtxt { grid-column: 2; }
.cart-lines .line > .line-r { grid-column: 3; grid-row: 1 / span 2; }
.cart-lines .line .line-acts { grid-column: 2 / -1; margin-top: 4px; }
.cart-lines .line .line-acts .btn { flex: 1; }
/* toasts sit above the cart bar */
body.has-cart #toasts { bottom: 150px; }
/* narrow cards: the hot/iced pills go under the name, so Thai names never break inside a word */
@media (max-width: 400px) {
  .card .info { padding-right: 6px; }
  .card .nm { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
  .card .pr { padding-right: 46px; } /* only the price line has to keep clear of the round + */
}
/* phones: a shorter top, so the search box and the first drinks show on the first screen */
@media (max-width: 480px) {
  .hero { padding-top: 8px; gap: 10px; }
  .hero-text { gap: 6px; }
  .hero h1 { font-size: 25px; }
  .hero p { display: none; }
  .live { padding: 12px 14px; border-radius: 20px; }
  .queue { margin: 8px 0 6px; }
  .q { padding: 6px 4px 5px; border-radius: 12px; }
  .q b { font-size: 22px; }
}
.line-acts .btn { min-height: 44px; padding: 8px 14px; }
.search-wrap { position: relative; }
.search-wrap .search::-webkit-search-cancel-button { display: none; }
.q-clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--mut); font-size: 24px; line-height: 1; cursor: pointer; }
.q-clear:focus-visible { outline: 2px solid var(--acc); }
@media (max-width: 360px) {
  .card .nm { font-size: 14px; }
  .card .plus { right: 6px; bottom: 6px; }
  .tools { padding-top: 4px; }
  .tools .chips, .cats { margin-top: 4px; }
  .hero h1 { font-size: 26px; }
}
.line-sum .was, .sheet-price .was, .was { color: var(--mut); font-weight: 400; font-size: .85em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sheet-foot { align-items: center; }
.sheet-foot .btn { flex: 1; min-width: 0; }
