/* Lizzy's Coffee & More — ordering. Brand: blush pink, charcoal, white. */
:root {
  --pink: #f8cec4;
  --pink-soft: #fdeee9;
  --pink-deep: #e9a99b;
  --ink: #231f20;
  --ink-2: #4a4446;
  --muted: #8a8283;
  --line: #efe4e1;
  --bg: #fffaf8;
  --card: #ffffff;
  --ok: #2f7d55;
  --ok-bg: #e7f4ec;
  --warn: #9a6500;
  --warn-bg: #fff4dc;
  --err: #b3261e;
  --err-bg: #fdecea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(35, 31, 32, .07);
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.45; color: var(--ink); background: var(--bg); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--pink-deep); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.7rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.danger { color: var(--err); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 12px; padding-bottom: 120px; min-height: 60vh; }
.main.narrow { max-width: 620px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
[hidden] { display: none !important; }

/* demo bar */
.demo-bar { background: var(--ink); color: #fff; text-align: center; font-size: .78rem; padding: 6px 12px; letter-spacing: .02em; }
.demo-box { background: var(--warn-bg); color: var(--warn); border: 1px dashed #e4c27a; border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0; font-size: .9rem; text-align: left; }
.demo-box a { color: var(--warn); font-weight: 700; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { display: block; width: 132px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; background: var(--pink-soft); border-radius: 999px; padding: 3px; }
.lang-switch a { text-decoration: none; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--ink-2); }
.lang-switch a.on { background: var(--ink); color: #fff; }
.lang-switch.small a { padding: 3px 8px; font-size: .72rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* hero */
.hero { text-align: center; padding: 18px 0 6px; position: relative; }
.hero h1 { font-size: 1.9rem; margin: 6px 0 8px; }
.hero-flower { width: 56px; opacity: .9; }
.shop-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: var(--ok-bg); color: var(--ok); }
.shop-status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.shop-status.status-later { background: var(--warn-bg); color: var(--warn); }
.shop-status.status-off { background: var(--err-bg); color: var(--err); }

/* section tabs & chips */
/* sticky menu bar: sections (drinks / food / sweets) + the categories of the chosen section */
.menu-nav { position: sticky; top: 0; z-index: 15; background: var(--bg); margin: 8px -16px 0; transition: box-shadow .2s; }
.menu-nav.stuck { box-shadow: 0 6px 14px -10px rgba(35,31,32,.35); }
.section-tabs { display: flex; gap: 8px; padding: 12px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.section-tabs::-webkit-scrollbar, .cat-chips::-webkit-scrollbar { display: none; }
.section-tab { flex: 0 0 auto; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .95rem; white-space: nowrap; }
.section-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 10px; scroll-behavior: smooth; }
.cat-chips[hidden] { display: none; }
.chip { flex: 0 0 auto; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--pink-soft); color: var(--ink-2); white-space: nowrap; border: 1.5px solid transparent; transition: background .15s, color .15s; }
.chip.on { background: var(--pink); color: var(--ink); border-color: var(--pink-deep); }
.menu-section + .menu-section { margin-top: 28px; }

/* categories & items */
.menu-section { padding-top: 6px; }
.category { margin: 22px 0 8px; }
.cat-head h2 { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.cat-head h2 img { width: 20px; }
.cat-sub { margin: 2px 0 0 14px; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.cat-note { margin: 8px 0 0; color: var(--ink-2); font-size: .9rem; }
.items { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .items { grid-template-columns: 1fr 1fr; } }
.item-btn { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; font: inherit; color: inherit; cursor: pointer; transition: transform .08s, box-shadow .15s; min-height: 64px; }
.item-btn:hover { box-shadow: var(--shadow); }
.item-btn:active { transform: scale(.99); }
.item-btn:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 2px; }
.item-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.item-name { font-weight: 700; }
.item-name small { font-weight: 500; color: var(--muted); }
.item-desc { color: var(--ink-2); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.item-price { font-weight: 800; white-space: nowrap; }
.add-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; line-height: 1; }
.item.sold-out .item-btn { opacity: .55; cursor: not-allowed; }
.item.sold-out .item-price { font-size: .8rem; font-weight: 700; color: var(--err); text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border-radius: 999px; padding: 11px 20px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; min-height: 44px; transition: background .15s, transform .08s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3b3537; }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn.small { padding: 6px 12px; min-height: 34px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn.big { min-height: 56px; font-size: 1.05rem; }
.btn.grow { flex: 1; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink-deep); text-underline-offset: 3px; cursor: pointer; }
.link-btn.danger { color: var(--err); }
.back-link { text-decoration: none; color: var(--ink-2); font-weight: 600; }

/* cart bar */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + var(--safe-b)); background: linear-gradient(rgba(255,250,248,0), var(--bg) 35%); }
.cart-bar-btn { width: 100%; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 30px rgba(35,31,32,.25); }
.cart-count { background: var(--pink); color: var(--ink); min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: .85rem; padding: 0 8px; }

/* bottom sheets */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(35,31,32,.45); opacity: 0; transition: opacity .2s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .22s ease-out; outline: none; }
@media (min-width: 700px) { .sheet-panel { left: 50%; right: auto; width: 560px; bottom: auto; top: 50%; border-radius: 24px; transform: translate(-50%, -45%); opacity: 0; max-height: 86vh; } }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: translateY(0); }
@media (min-width: 700px) { .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; } }
.sheet-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--pink-soft); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; }
.sheet-body { overflow-y: auto; padding: 22px 20px 12px; -webkit-overflow-scrolling: touch; }
.sheet-kicker { margin: 0 0 4px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sheet-title { font-size: 1.45rem; padding-right: 40px; }
.sheet-title small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.sheet-desc { color: var(--ink-2); margin: 0 0 6px; }
.sheet-base { font-weight: 800; margin: 0 0 12px; }
.sheet-footer { display: flex; gap: 12px; align-items: center; padding: 12px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }
.sheet-footer.column { flex-direction: column; align-items: stretch; }
.opt-group { border: 0; padding: 0; margin: 0 0 16px; }
.opt-group legend { font-weight: 800; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; width: 100%; }
.opt-group .req { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--pink); padding: 2px 8px; border-radius: 999px; }
.opt-group .hint { font-size: .78rem; color: var(--muted); font-weight: 500; }
.opt-group.missing legend { color: var(--err); }
.opt-group.missing .req { background: var(--err); color: #fff; }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 6px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--pink-soft); }
.opt.disabled { opacity: .5; cursor: not-allowed; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.opt-name { flex: 1; }
.opt-price { font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.note-label { display: block; font-weight: 700; }
.note-label textarea { margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.qty-btn { width: 42px; height: 42px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty.small .qty-btn { width: 32px; height: 32px; font-size: 1.1rem; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cl-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-name { font-weight: 700; text-align: left; text-decoration: none; }
.cl-opts, .cl-note { font-size: .82rem; color: var(--ink-2); }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cl-price { font-weight: 800; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.empty { color: var(--muted); padding: 24px 0; text-align: center; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; opacity: 0; transition: .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* cards & forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 16px; box-shadow: var(--shadow); }
.auth-card { max-width: 460px; margin: 16px auto; }
.auth-card .center-img { display: block; margin: 0 auto 10px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label, label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
label.field { margin-top: 14px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; width: 100%; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--pink); }
input:disabled { background: var(--bg); color: var(--muted); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row2.r-3-1 { grid-template-columns: 3fr 1fr; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.hint { font-size: .8rem; color: var(--muted); font-weight: 500; }
.field-error { color: var(--err); font-size: .82rem; font-weight: 600; }
label.check { flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
label.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: 0 0 auto; margin: 1px 0 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hp { position: absolute !important; left: -9999px; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 14px; font-weight: 500; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert a { color: inherit; font-weight: 700; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: 12px; }
.danger-zone { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.danger-zone summary { color: var(--err); font-size: .88rem; font-weight: 600; }

/* checkout */
.checkout h3 { margin-top: 18px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented label { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; display: block; }
.segmented label:has(input:checked) { border-color: var(--ink); background: var(--pink-soft); }
.segmented label.disabled { opacity: .5; cursor: not-allowed; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; flex-direction: column; gap: 3px; }
.segmented small { color: var(--ink-2); font-size: .78rem; }
.pickup-info { margin-top: 14px; color: var(--ink-2); }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-row { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-weight: 500 !important; }
.radio-row:has(input:checked) { border-color: var(--ink); background: var(--pink-soft); }
.radio-row.disabled { opacity: .55; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--ink); flex: 0 0 auto; }
.radio-row > span:nth-of-type(1) { flex: 1; }
.pay-icons { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.pi { font-size: .62rem; font-weight: 800; border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px; background: #fff; white-space: nowrap; }
.card-box { margin-top: 14px; }
.add-address { margin: 12px 0 14px; }
[data-only="delivery"] > label.check { margin-top: 14px; }
.addr-form { margin-top: 10px; }
.summary { list-style: none; margin: 0; padding: 0; }
.summary li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.summary .q { font-weight: 800; min-width: 28px; }
.summary .n { flex: 1; display: flex; flex-direction: column; }
.summary .n small { color: var(--ink-2); }
.summary .p { font-weight: 700; white-space: nowrap; }
.totals { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.totals .total { font-size: 1.15rem; padding-top: 6px; }

/* order page */
.order-card { text-align: center; }
.thanks { background: var(--pink-soft); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; }
.thanks p { margin: 6px 0 0; font-weight: 700; }
.order-code { font-size: 2.6rem; letter-spacing: .06em; margin: 0; }
.order-status-big { display: inline-block; font-weight: 800; font-size: 1.05rem; background: var(--pink); padding: 6px 16px; border-radius: 999px; margin: 8px 0 14px; }
.order-status-big.status-rejected, .order-status-big.status-cancelled, .order-status-big.status-payment_failed { background: var(--err-bg); color: var(--err); }
.order-status-big.status-completed { background: var(--ok-bg); color: var(--ok); }
.steps { list-style: none; padding: 0; margin: 10px auto 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 480px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; position: relative; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.steps li.done span { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.steps li.now span { background: var(--pink-deep); box-shadow: 0 0 0 2px var(--pink-deep); animation: pulse 1.6s infinite; }
.steps li.done, .steps li.now { color: var(--ink); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(233,169,155,.35); } }
.eta { font-weight: 800; font-size: 1.1rem; margin: 12px 0 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 10px; font-size: .92rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.order-list { list-style: none; padding: 0; margin: 0; }
.order-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ol-main { display: flex; flex-direction: column; gap: 2px; text-decoration: none; min-width: 0; }
.ol-items { font-size: .85rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.addr-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.addr-actions { display: flex; gap: 14px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--pink-soft); color: var(--ink); white-space: nowrap; }
.badge-completed { background: var(--ok-bg); color: var(--ok); }
.badge-rejected, .badge-cancelled, .badge-payment_failed { background: var(--err-bg); color: var(--err); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-new { background: var(--ink); color: #fff; }
.prose h2 { margin-top: 1.2em; }

/* footer */
.site-footer { text-align: center; padding: 30px 0 calc(110px + var(--safe-b)); color: var(--ink-2); border-top: 1px solid var(--line); background: #fff; }
.site-footer p { margin: 6px 0; }
.footer-flower { width: 36px; }
.tagline { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: var(--ink); }

@media (max-width: 420px) {
  h1 { font-size: 1.5rem; }
  .row2 { grid-template-columns: 1fr; }
  .row2.r-3-1 { grid-template-columns: 2fr 1fr; }
  .card { padding: 16px; }
}

/* loyalty stamp card */
.loyalty-section { background: linear-gradient(180deg, #fff 0%, #fdf3f0 100%); }
.loyalty-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.loyalty-head h2 { margin: 0; }
.loyalty-head > div { flex: 1; }
.loyalty-status { margin: 2px 0 0; font-size: .95rem; }
.loyalty-count { font-size: 1.4rem; white-space: nowrap; }
.stamp-card { background: #fff; border: 2px dashed #f0c4b8; border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #e8c9c1; display: grid; place-items: center; color: #d8b2a8; font-weight: 700; }
.stamp i { font-style: normal; font-size: .95rem; }
.stamp.on { border: 0; }
.stamp.on img { width: 100%; height: 100%; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); animation: stampIn .35s ease-out both; }
.stamp.gift { border: 2px solid #231f20; color: #231f20; background: #fff; text-align: center; line-height: 1.05; }
.stamp.gift b { font-size: 1.35rem; }
.stamp.gift small { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; max-width: 90%; overflow: hidden; }
.stamp.gift.ready { background: #231f20; color: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes stampIn { from { transform: scale(1.6) rotate(var(--r, 0deg)); opacity: 0; } to { transform: scale(1) rotate(var(--r, 0deg)); opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(35,31,32,.35); } 50% { box-shadow: 0 0 0 8px rgba(35,31,32,0); } }
@media (min-width: 560px) { .stamps { grid-template-columns: repeat(var(--n, 9), 1fr); } }
.stamp-card.compact { padding: 8px; border-width: 1px; }
.stamp-card.compact .stamps { grid-template-columns: repeat(var(--n, 9), 1fr); gap: 4px; }
.stamp-card.compact .stamp i, .stamp-card.compact .stamp.gift small { display: none; }
.stamp-card.compact .stamp.gift b { font-size: .9rem; }
.loyalty-earned { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; text-align: left; }
.loyalty-earned p { margin: 0 0 8px; }
.loyalty-box { margin: 10px 0; }
.loyalty-use { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fdf0ec; border: 2px solid #f0c4b8; cursor: pointer; }
.loyalty-use input { width: 22px; height: 22px; accent-color: #231f20; }
.loyalty-hint { padding: 10px 12px; border-radius: 12px; background: #fdf0ec; margin: 0 0 8px; }
.loyalty-note { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #6b6264; margin: 6px 0 0; }
.totals .discount { color: #2f855a; font-weight: 600; }

/* address map pin */
.addr-locate { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.addr-map { position: relative; margin-bottom: 10px; }
.addr-map .map-canvas { height: 280px; border-radius: 14px; overflow: hidden; background: #f3eeea; }
.addr-map .map-pin { position: absolute; left: 50%; top: 140px; width: 36px; height: 47px; transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.addr-map .map-found { margin: 6px 2px 0; color: #6b6264; }
.addr-confirm { border: 2px solid #231f20; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
.addr-confirm .ask { margin: 0 0 4px; font-size: 1.05rem; }
.addr-confirm .btn { margin-top: 6px; }
.addr-confirm .btn:disabled { opacity: .45; }
.or-type { margin-top: 4px; }
.pin-badge { font-size: .75rem; background: #fdf0ec; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }

.radio-row.disabled { opacity: .45; cursor: not-allowed; }
.radio-row.disabled input { cursor: not-allowed; }
.radio-row .cash-note { font-weight: 600; }

/* my card (QR) */
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; }
.qr-box { width: 100%; max-width: 260px; aspect-ratio: 1; margin: 0 auto; background: #fff; border-radius: 14px; }
.qr-box svg { display: block; width: 100%; height: 100%; border-radius: 14px; }
.my-card { display: flex; gap: 18px; align-items: center; margin: 16px 0 8px; padding: 16px; background: #fff; border-radius: 18px; border: 2px solid var(--pink); }
.my-card-qr { flex: 0 0 170px; text-align: center; }
.my-card-qr .qr-box { max-width: 170px; }
.my-code { margin: 6px 0 0; font-weight: 800; font-size: 1.05rem; }
.my-card-text h3 { margin: 0 0 6px; }
.my-card-text p { margin: 0 0 10px; color: var(--ink-2); font-size: .92rem; }
.wallet-help { border-top: 1px solid var(--line); padding: 10px 0 0; margin-top: 10px; }
.wallet-help summary { font-weight: 700; font-size: .92rem; }
.wallet-help summary::before { content: "▸ "; }
.wallet-help[open] summary::before { content: "▾ "; }
.wallet-help ol { margin: 0 0 8px; padding-left: 20px; font-size: .92rem; }
.wallet-help li { margin-bottom: 6px; }
@media (max-width: 480px) {
  .my-card { flex-direction: column; text-align: center; }
  .my-card-qr { flex-basis: auto; width: 100%; }
  .my-card-qr .qr-box { max-width: 240px; }
}
.gwallet-btn { display: inline-flex; align-items: center; justify-content: center; margin: 0 8px 10px 0; text-decoration: none; }
.gwallet-btn.badge img { height: 48px; width: auto; display: block; }
.gwallet-btn:not(.badge) { min-height: 48px; padding: 0 20px; border-radius: 999px; background: #1f1f1f; color: #fff; font-weight: 600; font-size: .95rem; }

.viva-note { margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); background: var(--pink-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
