:root { --brand: #e8590c; --ink: #1d1a17; --muted: #6f6a64; --line: #ece7e1; --bg: #faf7f3; --card: #fff; --ok: #1f9d55; --radius: 16px; }
* { box-sizing: border-box; }
/* Elements with the hidden attribute must never show or catch clicks, whatever display rule applies. */
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Demo bar */
.demo-bar { background: #111; color: #e9e9e9; font-size: 13.5px; padding: 9px 20px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center; }
.demo-bar a { color: #fff; }
.demo-back { font-weight: 700; text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid #444; }
.demo-back:hover { border-color: #fff; }
.demo-link { background: linear-gradient(110deg, #7c5cff, #22d3ee); color: #fff !important; padding: 4px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; }

/* Hero */
.shop-hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); color: #fff; padding: 34px 0 30px; position: relative; overflow: hidden; }
.shop-hero::after { content: "🍟🍔🌭🥤"; position: absolute; right: -10px; bottom: -30px; font-size: 120px; opacity: .12; letter-spacing: -20px; transform: rotate(-8deg); pointer-events: none; }
.shop-id { display: flex; align-items: center; gap: 16px; }
.shop-logo { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.4); flex: none; }
.shop-hero h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; line-height: 1.1; }
.shop-hero p { margin: 4px 0 0; opacity: .9; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip { background: rgba(255,255,255,.16); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #7CFC9A; box-shadow: 0 0 0 3px rgba(124,252,154,.25); }
.chip.closed i { background: #ff8a8a; box-shadow: 0 0 0 3px rgba(255,138,138,.25); }
.table-bar { background: #111; color: #fff; padding: 12px 0; }
.table-bar .wrap { display: flex; align-items: center; gap: 12px; }
.table-bar b { display: block; font-size: 17px; }
.table-bar small { color: #cfcfcf; }
.tb-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; font-size: 20px; flex: none; }
.notice { margin-top: 18px; background: #fff3e6; border: 1px solid #ffd8b0; color: #8a4300; padding: 14px 16px; border-radius: 12px; font-weight: 600; }

/* Category nav */
.cat-nav { position: sticky; top: 0; z-index: 20; background: rgba(250,247,243,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a.on { background: var(--ink); color: #fff; }

/* Layout */
.shop-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; padding-top: 10px; padding-bottom: 120px; }
.cat { padding-top: 26px; scroll-margin-top: 70px; }
.cat h2 { font-size: 24px; letter-spacing: -.01em; margin: 0 0 14px; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 14px; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.product:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(0,0,0,.35); border-color: #e0d8cf; }
.product:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.product[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.p-info { display: flex; flex-direction: column; min-width: 0; }
.p-name { font-weight: 700; font-size: 16.5px; }
.p-desc { color: var(--muted); font-size: 14px; margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-price { margin-top: auto; font-weight: 700; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.p-img { position: relative; width: 96px; height: 96px; flex: none; border-radius: 14px; background: linear-gradient(135deg, #fff4ea, #ffe6d2); display: grid; place-items: center; }
.p-img span { font-size: 46px; }
.p-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.p-add { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 20px; color: var(--brand); box-shadow: 0 4px 10px -4px rgba(0,0,0,.3); }
.shop-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.shop-foot span { font-size: 13px; }

/* Cart */
.cart { position: sticky; top: 76px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; max-height: calc(100vh - 100px); margin-top: 26px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px; }
.cart-head h3 { margin: 0; font-size: 20px; }
.cart .cart-close { display: none; }
.cart-body { padding: 4px 20px; overflow-y: auto; flex: 1; }
.cart-foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.cart-foot:empty { display: none; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.empty div { font-size: 42px; }
.line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.l-q { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 2px; }
.l-q button { all: unset; cursor: pointer; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }
.l-q button:hover { background: #fff; }
.l-q b { min-width: 14px; text-align: center; font-size: 14px; }
.l-main { all: unset; cursor: pointer; min-width: 0; }
.l-main b { display: block; font-size: 15px; }
.l-main small { display: block; color: var(--muted); font-size: 13px; }
.l-note { font-style: italic; }
.l-price { font-weight: 650; font-size: 15px; white-space: nowrap; }
.sum { display: flex; justify-content: space-between; padding: 4px 0; }
.sum.total { font-size: 18px; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); }
.hint { background: #eefaf2; color: #17643a; font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; }
.hint.warn { background: #fff3e6; color: #8a4300; margin-top: 8px; }
.cart-foot .btn-primary { margin-top: 12px; }

/* Buttons */
.btn-primary { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 700; padding: 14px 22px; border-radius: 14px; transition: filter .15s, transform .15s; text-align: center; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: scale(.98); }
.btn-primary[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary.block { display: flex; width: 100%; }
.btn-primary.loading { opacity: .7; pointer-events: none; }
.btn-primary.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { all: unset; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 15px; }
.icon-btn:hover { background: var(--line); }
.ideal { background: #fff; color: #cc0066; font-weight: 800; font-size: 12px; padding: 2px 6px; border-radius: 5px; letter-spacing: .02em; }

/* Mobile cart bar */
.cart-bar { all: unset; box-sizing: border-box; cursor: pointer; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; gap: 12px; background: var(--brand); color: #fff; padding: 14px 18px; border-radius: 16px; font-weight: 700; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 70%, #000); }
.cart-bar b { margin-left: auto; }
.cb-count { background: rgba(255,255,255,.25); border-radius: 8px; padding: 1px 8px; }
.cart-bar.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.04); } }

/* Modals */
.scrim { position: fixed; inset: 0; background: rgba(20,14,8,.45); z-index: 40; opacity: 0; transition: opacity .2s; }
.scrim.in { opacity: 1; }
.scrim:not(.in) { pointer-events: none; } /* fading out: never catches taps */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: none; padding: 20px; }
.sheet { pointer-events: auto; position: relative; background: var(--card); border-radius: 22px; width: min(520px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.98); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .2s; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.modal.in .sheet { transform: none; opacity: 1; }
.modal:not(.in) .sheet { pointer-events: none; } /* a closing sheet never blocks clicks */
.m-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.m-hero { height: 160px; flex: none; background: linear-gradient(135deg, #fff4ea, #ffdcc2); display: grid; place-items: center; }
.m-hero span { font-size: 84px; }
.m-hero img { width: 100%; height: 100%; object-fit: cover; }
.m-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.m-body h3 { margin: 0; font-size: 22px; }
.m-desc { color: var(--muted); margin: 4px 0 6px; }
.group { border: 0; padding: 0; margin: 18px 0 0; }
.group legend { font-weight: 700; display: flex; justify-content: space-between; width: 100%; padding: 0 0 6px; }
.group legend small { font-weight: 600; font-size: 12px; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 999px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.opt input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.opt-box { width: 22px; height: 22px; flex: none; border: 2px solid #cfc7be; border-radius: 6px; display: grid; place-items: center; transition: all .15s; }
.opt input[type=radio] + .opt-box { border-radius: 50%; }
.opt input:checked + .opt-box { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.opt-name { flex: 1; }
.opt-price { color: var(--muted); font-size: 14px; }
.note-l { display: block; margin-top: 18px; font-weight: 700; }
.note-l small { font-weight: 500; color: var(--muted); }
.m-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.m-foot .add-btn { flex: 1; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 14px; padding: 4px; }
.stepper button { all: unset; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; font-size: 20px; font-weight: 700; border-radius: 10px; }
.stepper button:hover { background: #fff; }
.stepper b { min-width: 22px; text-align: center; }

/* Checkout */
.checkout label { display: block; font-weight: 650; font-size: 14px; margin-top: 14px; }
.checkout label small { font-weight: 500; color: var(--muted); }
.checkout input, .checkout select, .checkout textarea, .note-l input { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus, .note-l input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); padding: 5px; border-radius: 14px; margin-top: 16px; }
.seg button { all: unset; cursor: pointer; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(0,0,0,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.totals { margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 14px; }
.err { margin-top: 14px; background: #fdecec; color: #8f1d1d; padding: 12px 14px; border-radius: 12px; font-weight: 600; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; transition: all .25s; z-index: 60; pointer-events: none; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }

/* Status / pay pages */
.center-page { max-width: 560px; margin: 0 auto; padding: 40px 20px 80px; }
.status-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.status-top { text-align: center; }
.status-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 36px; background: color-mix(in srgb, var(--brand) 14%, #fff); }
.status-top h1 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.status-top p { color: var(--muted); margin: 6px 0 0; }
.order-no { display: inline-block; margin-top: 12px; background: var(--ink); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 10px; letter-spacing: .03em; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0 8px; position: relative; }
.track::before { content: ""; position: absolute; top: 15px; left: 12%; right: 12%; height: 3px; background: var(--line); }
.track .fill { position: absolute; top: 15px; left: 12%; height: 3px; background: var(--brand); transition: width .6s; }
.step { text-align: center; position: relative; font-size: 13px; color: var(--muted); font-weight: 600; }
.step i { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 3px solid var(--line); font-style: normal; font-size: 14px; transition: all .3s; }
.step.done i { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.now i { border-color: var(--brand); animation: pulse 1.6s infinite; }
.step.done, .step.now { color: var(--ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.items { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 12px; }
.items .it { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.items small { display: block; color: var(--muted); }
.meta { margin-top: 16px; padding: 14px 16px; background: var(--bg); border-radius: 14px; font-size: 14.5px; }
.meta div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.meta span:first-child { color: var(--muted); }
.back { display: inline-block; margin-top: 22px; color: var(--muted); }
.bank { max-width: 440px; margin: 0 auto; padding: 40px 20px; }
.bank-card { background: #fff; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.bank-top { background: #cc0066; color: #fff; padding: 22px 24px; }
.bank-top b { font-size: 24px; letter-spacing: .02em; }
.bank-top p { margin: 4px 0 0; opacity: .9; }
.bank-body { padding: 22px 24px; }
.bank-amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.banks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.banks label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.banks input { accent-color: #cc0066; }
.bank-actions { display: grid; gap: 10px; }
.bank-actions .btn-primary { background: #cc0066; }
.btn-link { all: unset; cursor: pointer; text-align: center; color: var(--muted); padding: 8px; }
.demo-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

@media (max-width: 960px) {
  .shop-grid { grid-template-columns: 1fr; }
  .cart { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 45; margin: 0; border-radius: 22px 22px 0 0; max-height: 85vh; max-height: 85dvh; transform: translateY(105%); transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4); padding-bottom: env(safe-area-inset-bottom); }
  .cart:not(.open) { pointer-events: none; visibility: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s linear .25s; }
  .cart.open { transform: none; visibility: visible; }
  .cart .cart-close { display: grid; }
  .cart-bar:not([hidden]) { display: flex; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .products { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .sheet { border-radius: 22px 22px 0 0; max-height: 92vh; max-height: 92dvh; width: 100%; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom); }
  .p-img { width: 84px; height: 84px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .shop-hero::after { font-size: 80px; }
  .status-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* QR table demo page */
.qr-demo { max-width: 1040px; margin: 0 auto; padding: 56px 20px 80px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.qd-kicker { display: inline-block; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.qr-demo h1 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -.02em; line-height: 1.08; margin: 16px 0 14px; }
.qr-demo p { color: var(--muted); font-size: 17px; }
.qr-demo ol { padding-left: 20px; margin: 22px 0; display: grid; gap: 10px; font-size: 16px; }
.qd-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }
.qd-link { color: var(--muted); font-size: 14.5px; }
.qd-card { background: #fff; border-radius: 26px; padding: 30px; text-align: center; box-shadow: 0 30px 70px -30px rgba(0,0,0,.35); border: 1px solid var(--line); max-width: 380px; justify-self: center; width: 100%; }
.qd-shop { font-weight: 800; font-size: 18px; }
.qd-qr { width: 240px; height: 240px; margin: 18px auto; display: grid; place-items: center; }
.qd-qr svg { width: 100%; height: 100%; display: block; }
.qd-table { display: inline-block; background: var(--brand); color: #fff; font-weight: 800; font-size: 22px; padding: 6px 20px; border-radius: 999px; }
.qd-how { color: var(--muted); font-size: 14px; margin-top: 12px; }
@media (max-width: 800px) { .qr-demo { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; } .qd-card { order: -1; } }

/* Menu board remote (demo) */
.remote { max-width: 560px; margin: 0 auto; padding: 24px 16px 60px; }
.rm-kicker { display: inline-block; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); }
.remote h1 { font-size: 28px; letter-spacing: -.02em; margin: 12px 0 8px; }
.remote .rm-head p { color: var(--muted); margin: 0; }
.remote .rm-head a { color: var(--brand); font-weight: 600; }
.rm-status { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; transition: all .25s; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; z-index: 50; pointer-events: none; }
.rm-status.show { opacity: 1; transform: translate(-50%, 0); }
.rm-status.ok { background: #1f9d55; } .rm-status.err { background: #c92a2a; }
.rm-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 18px; }
.rm-card h2 { font-size: 18px; margin: 0 0 12px; }
.rm-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 6px; }
.rm-promos { display: grid; gap: 8px; }
.rm-promo { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.rm-promo.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); }
.rm-emoji { font-size: 28px; }
.rm-txt { flex: 1; } .rm-txt b { display: block; } .rm-txt small { color: var(--muted); }
.rm-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.rm-promo.on .rm-pill { background: var(--brand); border-color: var(--brand); color: #fff; }
.rm-list { display: grid; }
.rm-row { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.rm-row.fixed { opacity: .5; cursor: default; }
.rm-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rm-switch { width: 46px; height: 28px; border-radius: 999px; background: #ddd5cc; position: relative; transition: background .2s; flex: none; }
.rm-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.rm-row input:checked + .rm-switch { background: #c92a2a; }
.rm-row input:checked + .rm-switch::after { transform: translateX(18px); }
.rm-row input:focus-visible + .rm-switch { outline: 2px solid var(--brand); outline-offset: 2px; }
.rm-reset { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; margin-top: 18px; padding: 13px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; }
.rm-note { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 14px; }
