/* staff-chrome.css — frozen pre-restyle sheet for /oseibo/admin and /orders/admin only.
   Customer pages use oseibo.css. Do not restyle this file. */
/* oseibo.css — お歳暮ページ共通スタイル（通常ショップの配色・書体に合わせる） */
:root {
  --navy: #1c3252; --navy-deep: #142440;
  --ink: #22201d; --grey: #6f6a63; --line: #e6e2dc; --bg: #f7f5f1;
  --paper: #fbf8f1; --paper-line: #e3d7bf;
  --beni: #8e1b1f; --amber: #b45309; --green: #1a7a43;
  --mincho: 'Hiragino Mincho ProN','Noto Serif JP',serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Hiragino Kaku Gothic ProN','Noto Sans JP',system-ui,sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 640px; margin: 0 auto; }
[hidden] { display: none !important; }

header { background: var(--navy); color: #fff; }
header .wrap { padding: 18px 16px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
header .brand { color: #fff; text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
header .brand b { font-size: 22px; letter-spacing: 0.18em; }
header .brand span { font-size: 12px; color: #b8c6da; letter-spacing: 0.1em; }
header .back { color: #dbe4ef; font-size: 12px; white-space: nowrap; }

.o-hero { position: relative; }
.o-hero img { width: 100%; height: 220px; object-fit: cover; display: block; }
.o-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,36,64,0.85), rgba(20,36,64,0.1)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff; }
.o-hero h1 { font-family: var(--mincho); font-size: 28px; letter-spacing: 0.16em; font-weight: 700; }
.o-hero p { font-family: var(--mincho); font-size: 15px; margin-top: 2px; }

.o-points { margin: 16px 16px 0; background: var(--paper); border: 1px solid var(--paper-line); border-top: 5px solid var(--beni); border-radius: 12px; padding: 16px; text-align: center; }
.o-points .discount { font-size: 20px; font-weight: 700; color: var(--beni); }
.o-points .cond { font-size: 12px; color: var(--grey); }
.o-points .noshi { font-size: 16px; font-weight: 700; margin-top: 8px; }
.o-points .ship { font-size: 14px; margin-top: 8px; }
.o-points .seasonal { font-size: 12px; color: var(--grey); }

.o-cta { margin: 14px 16px 0; text-align: center; }
.o-cta a.btn { display: block; background: var(--beni); color: #fff; text-decoration: none; border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.o-cta .deadlines { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.7; }
.o-cta .deadlines:empty { display: none; }
.o-cta .bulk { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13px; text-align: left; }
.o-cta .bulk b { display: block; font-size: 13px; color: var(--grey); }
.o-cta .bulk a { display: inline-block; margin: 2px 0; padding: 4px 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.o-cta .bulk span { display: block; color: var(--grey); }
.o-cta .bulk .tiers { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); color: var(--ink); }
.o-cta .soon { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; text-align: left; }
.o-cta .tel { display: block; margin-top: 10px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 10px; padding: 12px; font-size: 18px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.o-cta .tel small { display: block; font-size: 12px; font-weight: 400; color: #cfd9e6; }

.o-section { margin: 28px 16px 0; }
.o-section > h2 { font-size: 17px; letter-spacing: 0.1em; color: var(--navy); border-left: 4px solid var(--beni); padding-left: 10px; margin-bottom: 12px; }
.o-section p, .o-section li { font-size: 14px; }
.o-section ul { padding-left: 1.2em; }
.o-section .lead { color: var(--grey); font-size: 13px; margin-bottom: 10px; }

/* スマホは1列（写真を横幅いっぱいに）、520px以上は3列 */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #ece7df; }
.card .ph-placeholder { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg,#e9e2d6,#ddd3c2); display: flex; align-items: center; justify-content: center; color: #9a8f7d; font-size: 24px; letter-spacing: 0.2em; }
.card .body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.card .detail { font-size: 11px; color: var(--grey); }
.card .price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card .price small { font-size: 10px; font-weight: 400; color: var(--grey); }
.card .ph-link, .card .name-link { display: block; color: inherit; text-decoration: none; }
.sizes { display: flex; gap: 6px; margin: 2px 0; }
.sizes .size { flex: 1; border: 1.5px solid #cfc9c0; border-radius: 8px; background: #fff; padding: 6px 4px; font-family: inherit; font-size: 13px; font-weight: 700; color: #4a463f; cursor: pointer; }
.sizes .size[aria-pressed="true"] { border-color: var(--navy); background: #eef3f9; color: var(--navy); }
.card .ship { font-size: 11px; color: var(--grey); line-height: 1.4; }
.card .ng { font-size: 11px; color: var(--amber); line-height: 1.4; }
.temp { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 7px; }
.temp.chilled { background: #e6f0f8; color: #1f5a8a; }
.temp.frozen { background: #e9ecf6; color: #36457d; }


.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
/* 熨斗の見本写真（商品カードの写真と同じ枠・角丸。幅はセクションの本文の幅まで） */
.o-figure { margin: 0 0 10px; }
.o-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #ece7df; }
.o-figure figcaption { margin-top: 6px; }
.box + .box { margin-top: 10px; }
.box h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.omote { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.omote span { font-family: var(--mincho); font-size: 15px; border: 1px solid var(--paper-line); background: var(--paper); border-radius: 6px; padding: 4px 10px; }
.warn { font-size: 13px; font-weight: 700; color: #7a3a00; background: #fff4e0; border: 1px solid #f0cf94; border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.muted { font-size: 12px; color: var(--grey); }

/* ---------- 注文フロー ---------- */
.progress { list-style: none; display: flex; margin: 16px 16px 0; gap: 4px; }
.progress li { flex: 1; text-align: center; font-size: 11px; color: #a39d93; border-top: 4px solid var(--line); padding-top: 6px; }
.progress li.done { border-top-color: var(--navy); color: var(--navy); }
.progress li.current { border-top-color: var(--beni); color: var(--ink); font-weight: 700; }
.progress .num { display: block; font-size: 13px; font-weight: 700; }
.progress button { all: unset; cursor: pointer; display: block; width: 100%; }
.progress button:focus-visible { outline: 2px solid var(--navy); }
.step-title { font-size: 18px; color: var(--navy); margin: 18px 16px 0; letter-spacing: 0.06em; }
body.order .grid { margin: 12px 16px 0; }

/* 3列（520px以上）の細いカードでは、＋−が隠れないよう2段に折り返す（カードは overflow: hidden） */
.vrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 0; border-top: 1px solid #f1ede7; }
.vrow .stepper { flex-shrink: 0; margin-left: auto; }
.vrow .vlabel { font-size: 14px; font-weight: 700; min-width: 3em; }
.vrow .vlabel:empty { display: none; }
.vrow .vprice { flex: 1; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vrow .vprice small { font-size: 10px; font-weight: 400; color: var(--grey); }
.stepper { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; font-family: inherit; }
.stepper .minus { background: #fff; border: 1px solid #cfc9c0; color: #4a463f; }
.stepper .minus.zero { border-color: var(--line); color: #d8d3cb; }
.stepper .plus { background: var(--navy); border: 0; color: #fff; }
.stepper .qty { min-width: 1.4em; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: #d8d3cb; }
.stepper .qty.set { color: var(--ink); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 12px 16px 0; padding: 14px; }
.panel h3 { font-size: 15px; color: var(--navy); margin-bottom: 10px; letter-spacing: 0.06em; }
.req, .opt { font-size: 10px; margin-left: 6px; font-weight: 700; }
.req { color: #b91c1c; } .opt { color: var(--grey); font-weight: 400; }
.field { margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--grey); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfc9c0; border-radius: 10px; background: #fff; padding: 10px 12px; font-size: 16px; font-family: inherit; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); border-color: transparent; }
.field .muted { margin-top: 4px; }
.field-err { font-size: 12px; color: #b91c1c; margin-top: 4px; }
.field-err:empty { display: none; }
.zip-row { display: flex; gap: 8px; }
.zip-row input { flex: 1; }
.zip-row .choice { flex: 0 0 auto; padding: 10px 14px; }
.counter { display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); margin-top: 3px; }

.choice { border: 2px solid #cfc9c0; border-radius: 12px; background: #fff; padding: 12px 8px; text-align: center; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; color: #4a463f; }
.choice small { display: block; font-size: 11px; font-weight: 400; color: var(--grey); margin-top: 3px; }
.choice.selected { border-color: var(--navy); background: #eef3f9; color: var(--navy); }
.omote-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.omote-choices .choice { font-family: var(--mincho); font-size: 17px; }
.mochu { font-size: 12px; color: var(--grey); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 8px; padding: 8px 10px; margin-top: 10px; }
.mochu.on { color: var(--ink); border-color: var(--navy); }
.noshi-preview { margin-top: 12px; text-align: center; }
.noshi-preview svg { display: block; margin: 0 auto 4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.08)); }
.msg-choices { display: flex; flex-direction: column; gap: 6px; }
.radio-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy); }
.radio-row:has(input:checked) { border-color: var(--navy); background: #eef3f9; }
#freeMsg { margin-top: 8px; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 12px 16px 0; overflow: hidden; }
.summary-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f4f1ec; font-size: 14px; }
.summary-head .link { background: none; border: 0; color: var(--navy); text-decoration: underline; font-size: 13px; cursor: pointer; font-family: inherit; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #f4f1ec; font-size: 14px; }
.summary-row .k { color: var(--grey); flex-shrink: 0; max-width: 55%; }
.summary-row .k small { display: block; font-size: 11px; line-height: 1.5; margin-top: 2px; }
.summary-row .v { text-align: right; font-variant-numeric: tabular-nums; word-break: break-all; white-space: pre-wrap; }
.summary-row.long { flex-direction: column; gap: 4px; }
.summary-row.long .v { text-align: left; }
.summary-row .v.discount { color: var(--beni); font-weight: 700; }
.summary-items { padding: 10px 14px; }
.summary-items .line { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; gap: 8px; }
.summary-items .line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 17px; font-weight: 700; background: #f4f1ec; font-variant-numeric: tabular-nums; }
.pay-card { text-align: left; padding: 12px 14px; cursor: default; }

.choice-row { display: flex; gap: 8px; }
.choice-row .choice { flex: 1; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 700; cursor: pointer; }
.check-row input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--navy); }
.biz { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.link { background: none; border: 0; color: var(--navy); text-decoration: underline; font-size: 13px; cursor: pointer; font-family: inherit; padding: 0; margin-left: 6px; }
.inline-radios { display: flex; gap: 8px; }
.inline-radios .radio-row { flex: 1; }
.pay-choices { display: flex; flex-direction: column; gap: 8px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #cfc9c0; border-radius: 12px; padding: 12px; cursor: pointer; }
.pay-option input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy); }
.pay-option.on { border-color: var(--navy); background: #eef3f9; }
.pay-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pay-body b { font-size: 15px; }
.pay-body small { font-size: 12px; color: var(--grey); line-height: 1.6; }
.pay-body .warn { display: block; margin-top: 6px; }
.pay-body .muted-block { display: block; margin-top: 6px; color: var(--grey); }
.pay-body .terms { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pay-body .terms .radio-row { background: #fff; color: var(--ink); font-size: 14px; }

/* ---------- 一括配送：お届け先カード ---------- */
.step-note { margin: 6px 16px 0; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 12px 16px 0; overflow: hidden; }
.rcard.open { border-color: #cfd8e6; }
.rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 14px; background: #f4f1ec; }
.rhead .rnum { flex: 1; }
.rhead .rsum { order: 3; flex-basis: 100%; white-space: normal; }
.rhead[data-toggle] { cursor: pointer; }
.rhead[data-toggle]:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.rnum { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.rsum { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsum b { font-variant-numeric: tabular-nums; }
.rdot { color: #b8b0a3; margin: 0 4px; }
.rdel { border: 1px solid #f2c4c4; background: #fff; color: #b91c1c; border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; font-family: inherit; }
.rchev { font-size: 11px; color: var(--grey); }
.rbody { padding: 14px; }
.rbody .note { margin: 0 0 12px; }
.rsection { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.rsub { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; color: var(--navy); }
.ritem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #f4f1ec; }
.ritem:first-of-type { border-top: 0; }
.rname { font-size: 14px; line-height: 1.4; min-width: 0; }
.rname small { display: block; font-size: 11px; color: var(--grey); }
.omote-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.omote-mini .choice { font-family: var(--mincho); font-size: 14px; padding: 8px 4px; }
.rship { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; }
.legal-returns p { font-size: 13px; font-weight: 700; line-height: 1.6; }
.rchill { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; }
.rchill .check-row { font-size: 14px; }
.rchill .note { margin-top: 8px; }
.rchill .consent { margin-top: 8px; font-weight: 400; font-size: 13px; }
.rchill .muted { margin-top: 4px; }
.rship .field-err { margin: 0 0 6px; }
.add-block { margin: 12px 16px 0; text-align: center; }
.add-recipient { width: 100%; border: 2px dashed #9fb0c8; background: #fff; color: var(--navy); border-radius: 12px; padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.add-recipient:hover { background: #eef3f9; }
.add-block .muted { margin-top: 4px; }
.add-block .soon { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; text-align: left; }
.add-block .tel { display: block; margin-top: 10px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 10px; padding: 12px; font-size: 18px; font-weight: 700; text-align: center; }
.add-block .tel small { display: block; font-size: 12px; font-weight: 400; color: #cfd9e6; }
#orderTotals { margin-top: 12px; }
/* エクセルでまとめて入力 */
.upload-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn-link { display: inline-block; border: 1px solid #cfc9c0; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; background: #fff; }
.upload-btn { display: inline-block; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: #fff; background: var(--navy); cursor: pointer; }
.upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-btn:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.import-report { border-color: #cfd8e6; }
.import-report .choice-row .choice { font-size: 14px; }
.import-list { list-style: none; margin-top: 8px; font-size: 13px; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.import-list li { padding: 6px 10px; border-top: 1px solid #f4f1ec; }
.import-list li:first-child { border-top: 0; }
.import-list li.err { color: #8f1f1f; background: #fdf4f4; }
.import-list li.note-w { color: #6b5500; }
.err-text { color: #b91c1c; }
.nudge { margin: 10px 16px 0; background: #fff7e6; border: 1px solid #f0d49a; border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #6b4a00; }
.ref-ok { color: var(--green); font-size: 13px; font-weight: 700; margin-top: 4px; }

/* ---------- 完了ページ：銀行振込の振込先 ---------- */
.order-total { margin: 4px 0 8px; font-size: 15px; }
.order-total b { font-size: 20px; margin-left: 8px; font-variant-numeric: tabular-nums; }
.bank-box { border: 2px solid var(--navy); }
.bank-rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 8px; }
.bank-row { display: flex; gap: 12px; padding: 9px 12px; border-top: 1px solid #f1ede7; font-size: 15px; }
.bank-row:first-child { border-top: 0; }
.bank-row .k { color: var(--grey); width: 5.5em; flex-shrink: 0; font-size: 13px; padding-top: 2px; }
.bank-row .v { font-weight: 700; word-break: break-all; font-variant-numeric: tabular-nums; }
.bank-row.amount { background: var(--paper); }
.bank-row.amount .v { color: var(--beni); font-size: 18px; }
.warn-box { margin-top: 12px; background: #fff7e6; border: 1px solid #f0d49a; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #6b4a00; }

/* ---------- 一括注文（?mode=bulk）：お届け先の確認の一覧 ---------- */
.bulk-row { padding: 10px 14px; border-top: 1px solid #f4f1ec; font-size: 14px; }
.bulk-row.bad { background: #fdf4f4; border-left: 4px solid #b91c1c; padding-left: 10px; }
.bulk-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.bulk-name small { font-weight: 400; font-size: 11px; color: var(--grey); margin-left: 6px; }
.bulk-amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bulk-sets { margin-top: 2px; font-size: 13px; }
.bulk-sets small, .bulk-meta { color: var(--grey); }
.bulk-meta { font-size: 12px; margin-top: 2px; }
.bulk-errs { margin: 6px 0 4px 18px; color: #8f1f1f; font-size: 13px; }
.bulk-row .link { margin-left: 0; }
.bulk-cards-title { margin: 18px 16px 0; font-size: 15px; }
.bulk-cards-title small { display: block; font-size: 12px; font-weight: 400; color: var(--grey); }
.import-report .soon { margin-top: 10px; background: #fff8e8; border: 1px solid #f0dfae; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.import-report .tel { display: block; margin-top: 8px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 10px; padding: 10px; font-size: 17px; font-weight: 700; text-align: center; }
.import-report .tel small { display: block; font-size: 12px; font-weight: 400; color: #cfd9e6; }
.rrow { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--grey); }
.choice:disabled { opacity: .5; cursor: not-allowed; }

.msg-error { margin: 12px 16px 0; background: #fdeeee; border: 1px solid #f2c4c4; color: #8f1f1f; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.btn-row { display: flex; gap: 10px; margin: 16px 16px 0; }
.btn-row:empty { display: none; }
.btn-row button { flex: 1; border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-outline { background: #fff; color: #4a463f; border: 1px solid #cfc9c0; }
.totalbar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-deep); color: #fff; padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.totalbar .inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.totalbar .meta { flex: 1; min-width: 0; }
.totalbar .count { font-size: 12px; color: #9db0c7; }
.totalbar .sum { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.totalbar button { border: 0; border-radius: 10px; padding: 13px 18px; font-size: 15px; font-weight: 700; background: #c9a227; color: #1c1a14; cursor: pointer; font-family: inherit; white-space: nowrap; }
.totalbar button:disabled { background: #3c4f6b; color: #8b9bb1; }
.totalbar .back-btn { background: transparent; color: #dbe4ef; border: 1px solid #5b6f8c; padding: 12px 14px; }
.totalbar .meta .sum { white-space: nowrap; }
body.order footer .wrap { padding-bottom: 100px; }

.panel.done { text-align: center; margin-top: 24px; }
.panel.done .tick { width: 52px; height: 52px; border-radius: 50%; background: #e2f4e9; color: var(--green); font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.panel.done h2 { font-size: 18px; margin-top: 12px; }
.panel.done p { font-size: 13px; color: var(--grey); margin-top: 6px; }
.order-no b { display: block; font-size: 22px; color: var(--ink); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.next { padding-left: 1.3em; font-size: 14px; }
.next li + li { margin-top: 4px; }

.hint { font-size: 12px; color: #a39d93; text-align: center; margin: 18px 16px 0; line-height: 1.6; }
footer { margin: 36px 0 0; background: var(--navy-deep); color: #b8c6da; font-size: 12px; }
footer .wrap { padding: 18px 16px 40px; line-height: 2; }
footer a { color: #dbe4ef; }
