/* Factory pre-order UX · storefront strip, sheet block, high-end checkout modal.
   Uses the storefront design tokens (css/30-storefront.css, body.storefront-v2):
   navy surfaces, gold/silver accents, Fraunces display + Hanken Grotesk UI.
   Logical properties throughout so the modal mirrors correctly in RTL. */

/* ── Card strip ───────────────────────────────────────────────────────────── */
.sf-preorder-strip {
  display:block; width:100%; margin-block-start:8px; padding:9px 12px;
  border:1px solid var(--sf-line, rgba(212,179,99,.18)); border-radius:10px;
  background:linear-gradient(180deg, rgba(216,179,95,.10), rgba(216,179,95,.04));
  color:var(--sf-gold-1, #f6e3a8); font-family:var(--ui, sans-serif); font-size:13px;
  font-weight:600; letter-spacing:.01em; cursor:pointer; text-align:center;
  transition:background .18s ease, border-color .18s ease, transform .12s ease;
}
.sf-preorder-strip:hover { border-color:var(--sf-gold-2, #d8b35f);
  background:linear-gradient(180deg, rgba(216,179,95,.18), rgba(216,179,95,.06)); }
.sf-preorder-strip:active { transform:translateY(1px); }
.sf-preorder-strip.is-guest { opacity:.85; }

/* ── Description-sheet block ──────────────────────────────────────────────── */
.sheet-preorder-block { margin-block-start:12px; padding:14px;
  border:1px solid var(--sf-line, rgba(212,179,99,.18)); border-radius:14px;
  background:rgba(255,255,255,.02); }
.sheet-preorder-block .spo-title { font-family:var(--display, serif); font-weight:600;
  color:var(--sf-gold-1, #f6e3a8); margin-block-end:4px; }
.sheet-preorder-block .spo-price { font-family:var(--display, serif); font-size:22px; color:var(--sf-txt, #eaf0fb); }
.sheet-preorder-block .spo-teaser { color:var(--sf-muted, #9aa7c2); font-size:13px; }
.sheet-preorder-block .spo-reserve { margin-block-start:10px; padding:9px 18px;
  background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f));
  color:var(--sf-ink, #070b16); border:none; border-radius:999px; font-weight:700; cursor:pointer; }

/* Pre-order context · the sheet is a distinct mode (separate basket, no bulk discount).
   Hide the regular-cart controls so only details + the pre-order Reserve block remain. */
.storefront-v2 #product-sheet.sheet-preorder-ctx .sheet-disc-btn,
.storefront-v2 #product-sheet.sheet-preorder-ctx .sheet-bulk-cta,
.storefront-v2 #product-sheet.sheet-preorder-ctx .sheet-stepper-row,
.storefront-v2 #product-sheet.sheet-preorder-ctx .sheet-subtotal-row,
.storefront-v2 #product-sheet.sheet-preorder-ctx .sheet-cta-btn { display:none !important; }

/* ── Checkout overlay ─────────────────────────────────────────────────────── */
.po-overlay { position:fixed; inset:0; background:rgba(4,7,14,.7);
  backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px);
  display:flex; align-items:center; justify-content:center; z-index:1000; padding:18px;
  min-height:100dvh; animation:po-fade .25s ease; }
.po-overlay[hidden] { display:none; }
@keyframes po-fade { from { opacity:0; } to { opacity:1; } }

/* Double-bezel modal · the shell ring is faked with an outer box-shadow + the gold
   hairline, the core is the navy surface with an inner top highlight. */
.po-modal {
  position:relative; width:100%; max-width:440px; max-height:90dvh; overflow:auto;
  background:linear-gradient(180deg, var(--sf-navy-2, #111c33), var(--sf-navy, #0c1426));
  color:var(--sf-txt, #eaf0fb); font-family:var(--ui, sans-serif);
  border:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); border-radius:26px;
  padding:26px 24px 22px;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.85),
             0 0 0 6px rgba(255,255,255,.03),
             inset 0 1px 1px rgba(255,255,255,.10);
  animation:po-pop .3s cubic-bezier(.32,.72,0,1);
  /* Themed scrollbar - matches .storefront-v2 #product-sheet .sheet-scroll (css/30-storefront.css) */
  scrollbar-width:thin; scrollbar-color:rgba(216,179,95,.35) transparent;
}
.po-modal::-webkit-scrollbar { width:8px; }
.po-modal::-webkit-scrollbar-track { background:transparent; }
.po-modal::-webkit-scrollbar-thumb { background:rgba(216,179,95,.30); border-radius:8px; }
@keyframes po-pop { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
/* subtle gold glow at the top of the core */
.po-modal::before { content:''; position:absolute; inset:0 0 auto; height:150px; pointer-events:none;
  border-radius:26px 26px 0 0;
  background:radial-gradient(80% 100% at 80% 0%, rgba(216,179,95,.10), transparent 70%); }

.po-modal > * { position:relative; }

.po-close { position:absolute; inset-block-start:16px; inset-inline-end:16px; z-index:2;
  width:32px; height:32px; line-height:30px; text-align:center;
  background:rgba(255,255,255,.04); border:1px solid var(--sf-line-soft, rgba(255,255,255,.07));
  border-radius:50%; color:var(--sf-muted, #9aa7c2); font-size:18px; cursor:pointer;
  transition:color .25s cubic-bezier(.32,.72,0,1), border-color .25s cubic-bezier(.32,.72,0,1); }
.po-close:hover { color:var(--sf-txt, #eaf0fb); border-color:var(--sf-gold-2, #d8b35f); }

/* Header · eyebrow tag + serif title */
.po-head { margin-block-end:20px; padding-inline-end:34px; }
.po-eyebrow { display:inline-block; padding:5px 11px; border-radius:999px;
  font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:var(--sf-gold-1, #f6e3a8); background:rgba(216,179,95,.10);
  border:1px solid var(--sf-line, rgba(212,179,99,.18)); }
.po-title { font-family:var(--display, serif); font-weight:600; font-size:26px; line-height:1.1;
  margin:13px 0 0; color:var(--sf-txt, #eaf0fb); }

/* Intro · one-line explanation of what factory pre-order is */
.po-intro { font-size:12.5px; line-height:1.55; color:var(--sf-muted, #9aa7c2); margin:0 0 18px; }

/* Batch progress island · gold fill on navy track, turns green when met */
.po-batch { padding:14px 16px; border-radius:16px; margin-block-end:6px;
  border:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); background:rgba(255,255,255,.025);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
.po-batch-top { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-block-end:9px; }
.po-batch-label { font-size:10px; text-transform:uppercase; letter-spacing:.16em; color:var(--sf-muted-2, #7e8cab); }
.po-batch-fig { font-variant-numeric:tabular-nums; font-size:13px; color:var(--sf-txt, #eaf0fb); font-weight:600; }
.po-batch-fig b { font-family:var(--display, serif); font-weight:600; font-size:16px; color:var(--sf-gold-1, #f6e3a8); }
.po-track { height:7px; border-radius:999px; background:rgba(255,255,255,.06); overflow:hidden;
  box-shadow:inset 0 1px 1px rgba(0,0,0,.4); }
.po-fill { height:100%; border-radius:999px; width:0;
  background:linear-gradient(90deg, var(--sf-gold-2, #d8b35f), var(--sf-gold-1, #f6e3a8));
  box-shadow:0 0 12px -2px rgba(216,179,95,.6);
  transition:width .6s cubic-bezier(.32,.72,0,1), background .3s ease; }
.po-batch-help { margin:10px 0 0; font-size:12px; line-height:1.4; color:var(--sf-muted, #9aa7c2); }
.po-batch-help b { color:var(--sf-gold-1, #f6e3a8); font-weight:600; }
.po-batch.is-met { border-color:rgba(57,217,138,.26);
  background:linear-gradient(180deg, rgba(57,217,138,.08), rgba(57,217,138,.03)); }
.po-batch.is-met .po-fill { width:100%; background:linear-gradient(90deg, var(--sf-green, #39d98a), #7ff0bb);
  box-shadow:0 0 12px -2px rgba(57,217,138,.6); }
.po-batch.is-met .po-batch-help { color:var(--sf-green, #39d98a); }
.po-batch.is-met .po-batch-fig b { color:var(--sf-green, #39d98a); }

/* Receipt lines · thumbnail + clickable name + stepper + amount */
.po-lines { margin-block-start:14px; }
.po-lines > p { color:var(--sf-muted, #9aa7c2); font-size:14px; padding:10px 0; margin:0; }
.po-line { display:flex; align-items:center; gap:11px; padding:12px 0;
  border-block-end:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); font-size:14px; }
.po-thumb { flex:none; width:42px; height:42px; border-radius:12px; padding:3px; overflow:hidden;
  background:rgba(255,255,255,.04); border:1px solid var(--sf-line-soft, rgba(255,255,255,.07));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.08); }
.po-thumb-core { width:100%; height:100%; border-radius:9px; object-fit:cover; display:block; }
.tone-silver .po-thumb-core:not(img) { background:radial-gradient(60% 60% at 38% 30%, #f4f7fb, #aab4c4 55%, #6c7689); }
.tone-gold .po-thumb-core:not(img) { background:radial-gradient(60% 60% at 38% 30%, #fbe6b4, #d8b35f 55%, #9c7424); }
.po-line-nm { flex:1; min-width:0; }
.po-line-nm button { background:none; border:none; padding:0; margin:0; cursor:pointer; text-align:start;
  color:var(--sf-txt, #eaf0fb); font-family:var(--ui, sans-serif); font-size:14px; line-height:1.3;
  border-block-end:1px solid transparent; transition:color .2s, border-color .2s; }
.po-line-nm button:hover { color:var(--sf-gold-1, #f6e3a8); border-block-end-color:var(--sf-gold-2, #d8b35f); }
.po-line-unit { display:block; font-size:11px; color:var(--sf-muted, #9aa7c2); margin-block-start:2px; font-variant-numeric:tabular-nums; }
.po-line-unit s { color:var(--sf-muted-2, #7e8cab); }
.po-line-amt { display:flex; flex-direction:column; align-items:flex-end; color:var(--sf-txt, #eaf0fb); font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:600; }
.po-line-was { color:var(--sf-muted-2, #7e8cab); font-weight:400; font-size:12px; text-decoration:line-through; }
.po-line-now { line-height:1.3; }

/* Per-line island stepper */
.po-step { display:inline-flex; align-items:center; gap:2px; padding:3px; border-radius:999px;
  background:rgba(255,255,255,.04); border:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); }
.po-step button { width:26px; height:26px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(255,255,255,.05); color:var(--sf-gold-1, #f6e3a8); font-size:16px; line-height:1;
  font-family:var(--ui, sans-serif); display:grid; place-items:center;
  transition:background .2s, color .2s, transform .12s; }
.po-step button:hover { background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f)); color:var(--sf-ink, #070b16); }
.po-step button:active { transform:scale(.9); }
.po-step button:disabled { opacity:.3; cursor:not-allowed; background:rgba(255,255,255,.05); color:var(--sf-muted-2, #7e8cab); }
/* input[type="number"] in css/02-layout.css sets width:100%/white bg/border with equal-or-higher
   specificity (element+attribute beats a lone class) - match its specificity with the type selector
   so this rule (loaded after bundle.css) actually wins instead of falling back to the checkout style. */
input.po-step-n[type="number"] { width:36px; min-width:36px; text-align:center; font-variant-numeric:tabular-nums; font-weight:600; color:var(--sf-txt, #eaf0fb); font-size:14px;
  background:none; border:none; padding:0; box-shadow:none; border-radius:0; font-family:var(--ui, sans-serif); -moz-appearance:textfield; }
input.po-step-n[type="number"]::-webkit-outer-spin-button, input.po-step-n[type="number"]::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }

/* Add-product control + in-modal picker */
.po-add { width:100%; margin-block-start:12px; padding:11px; border-radius:14px; cursor:pointer;
  background:none; border:1px dashed var(--sf-line, rgba(212,179,99,.18)); color:var(--sf-gold-1, #f6e3a8);
  font-family:var(--ui, sans-serif); font-weight:600; font-size:13px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:background .25s, border-color .25s; }
.po-add:hover { background:rgba(216,179,95,.06); border-color:var(--sf-gold-2, #d8b35f); }
.po-add[hidden] { display:none; }
.po-add-ic { width:22px; height:22px; border-radius:50%; display:grid; place-items:center;
  background:rgba(216,179,95,.12); font-size:15px; }
.po-picker { margin-block-start:10px; display:none; flex-direction:column; gap:8px;
  animation:po-reveal .35s cubic-bezier(.32,.72,0,1); }
.po-picker.open { display:flex; }
@keyframes po-reveal { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.po-pick-row { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:12px;
  background:rgba(255,255,255,.025); border:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); }
.po-pick-row .po-thumb { width:34px; height:34px; border-radius:10px; }
.po-pick-info { min-width:0; flex:1; }
.po-pick-nm { display:inline; padding:0; margin:0; background:none; border:none; cursor:pointer;
  font-family:var(--ui, sans-serif); font-size:13px; color:var(--sf-txt, #eaf0fb); text-align:start;
  border-block-end:1px solid transparent; transition:color .2s, border-color .2s; }
.po-pick-nm:hover { color:var(--sf-gold-1, #f6e3a8); border-block-end-color:var(--sf-gold-2, #d8b35f); }
.po-pick-pr { font-size:11px; color:var(--sf-muted, #9aa7c2); font-variant-numeric:tabular-nums; }
.po-pick-add { flex:none; padding:6px 14px; border-radius:999px; border:none; cursor:pointer;
  background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f));
  color:var(--sf-ink, #070b16); font-family:var(--ui, sans-serif); font-weight:700; font-size:12px;
  transition:transform .12s; }
.po-pick-add:active { transform:scale(.94); }
.po-pick-empty { font-size:12px; color:var(--sf-muted-2, #7e8cab); text-align:center; padding:8px; }

/* Summary · subtotal muted, deposit as a green "island" */
.po-summary { margin-block:14px 0; display:flex; flex-direction:column; gap:10px; }
.po-sub-row { display:flex; justify-content:space-between; gap:12px; font-size:14px;
  color:var(--sf-muted, #9aa7c2); font-variant-numeric:tabular-nums; }
.po-sub-row span:last-child { color:var(--sf-txt, #eaf0fb); }
.po-deposit-row { display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:13px 16px; border-radius:16px;
  background:linear-gradient(180deg, rgba(57,217,138,.10), rgba(57,217,138,.04));
  border:1px solid rgba(57,217,138,.26); box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  color:var(--sf-txt, #eaf0fb); font-weight:600; font-variant-numeric:tabular-nums; }
.po-deposit-row .po-dep-val { font-family:var(--display, serif); font-size:21px; color:var(--sf-green, #39d98a); }

/* Payment · segmented pills (selected = gold) */
.po-pay { border:none; margin:22px 0 0; padding:0; }
.po-pay legend { padding:0; margin-block-end:9px; font-size:10px; text-transform:uppercase;
  letter-spacing:.16em; color:var(--sf-muted-2, #7e8cab); }
.po-pay-opts { display:flex; gap:8px; }
.po-pill { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  text-align:center; padding:11px 8px; border-radius:14px; cursor:pointer; font-size:12.5px; font-weight:600;
  line-height:1.15; min-height:48px;
  background:rgba(255,255,255,.03); border:1px solid var(--sf-line-soft, rgba(255,255,255,.07));
  color:var(--sf-muted, #9aa7c2);
  transition:border-color .25s cubic-bezier(.32,.72,0,1), background .25s cubic-bezier(.32,.72,0,1), color .25s cubic-bezier(.32,.72,0,1); }
.po-pill input { position:absolute; opacity:0; width:0; height:0; }
.po-pill-sub { font-size:10px; font-weight:400; color:var(--sf-muted-2, #7e8cab); }
.po-pill:hover { border-color:var(--sf-line, rgba(212,179,99,.18)); color:var(--sf-txt, #eaf0fb); }
.po-pill:has(input:checked) { color:var(--sf-ink, #070b16); border-color:transparent;
  background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f));
  box-shadow:0 6px 18px -8px rgba(216,179,95,.6); }
.po-pill:has(input:checked) .po-pill-sub { color:rgba(7,11,22,.7); }

/* $DREMT explainer card · shown under the pills only when $DREMT is the chosen method.
   Teal (--p33-dremt-*) is an accent only; the gold/navy modal palette stays dominant. */
.po-dremt[hidden] { display:none; }
.po-dremt { margin-block-start:12px; border-radius:16px; padding:13px 14px; position:relative; overflow:hidden;
  background:radial-gradient(120% 90% at 0% 0%, rgba(46,200,180,.12), transparent 60%),
             linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border:1px solid rgba(94,227,208,.22); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); }
.po-dremt-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-block-end:7px; }
.po-dremt-name { display:inline-flex; align-items:center; gap:7px;
  font-family:var(--display, serif); font-size:15px; color:var(--sf-txt, #eaf0fb); }
.po-dremt-dot { width:8px; height:8px; border-radius:50%; flex:none;
  background:radial-gradient(circle at 35% 30%, #a8f5e9, var(--p33-dremt-2, #2bb6a6));
  box-shadow:0 0 8px -1px rgba(94,227,208,.7); }
/* $DREMT is a wordmark: always left-to-right, the $ never flips in RTL */
.po-dremt-logo { direction:ltr; unicode-bidi:isolate; font-weight:700; }
.po-dremt-chip { flex:none; font-size:10.5px; font-weight:700; color:var(--p33-dremt-1, #5ee3d0);
  border:1px solid rgba(94,227,208,.35); border-radius:999px; padding:2px 9px; background:rgba(46,200,180,.08); }
.po-dremt-line { margin:0 0 12px; font-size:12.5px; line-height:1.55; color:var(--sf-muted, #9aa7c2); }
.po-dremt-acts { display:flex; gap:10px; }
.po-dremt-what, .po-dremt-buy { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:10px 12px; border-radius:999px; font-size:12.5px; font-weight:700; text-decoration:none;
  font-family:var(--ui, sans-serif); cursor:pointer; transition:filter .2s, border-color .2s, background .2s; }
.po-dremt-what { background:rgba(255,255,255,.04); border:1px solid rgba(94,227,208,.38); color:var(--sf-txt, #eaf0fb); }
.po-dremt-what:hover { border-color:var(--p33-dremt-1, #5ee3d0); background:rgba(46,200,180,.08); }
.po-dremt-buy { border:none; color:var(--sf-ink, #070b16);
  background:linear-gradient(180deg, #7ff0dd, var(--p33-dremt-2, #2bb6a6)); box-shadow:0 8px 20px -10px rgba(46,200,180,.7); }
.po-dremt-buy:hover { filter:brightness(1.04); }
[dir="rtl"] .po-dremt-arrow { display:inline-block; transform:scaleX(-1); }

/* Legal footnote */
.po-note { display:flex; gap:8px; align-items:flex-start; margin:16px 0 0;
  font-size:11.5px; line-height:1.5; color:var(--sf-muted-2, #7e8cab); }
.po-note-ico { flex:none; color:var(--sf-gold-3, #b8862f); font-size:13px; }

/* Magnetic CTA with button-in-button arrow */
.po-reserve { width:100%; margin-block-start:18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:6px 6px 6px 22px; border:none; cursor:pointer; border-radius:999px;
  background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f));
  color:var(--sf-ink, #070b16); font-family:var(--ui, sans-serif); font-weight:700; font-size:15px; letter-spacing:.01em;
  box-shadow:0 12px 28px -12px rgba(216,179,95,.7);
  transition:transform .25s cubic-bezier(.32,.72,0,1), filter .25s cubic-bezier(.32,.72,0,1); }
.po-reserve:hover { filter:brightness(1.04); }
.po-reserve:active { transform:scale(.985); }
.po-reserve:disabled { opacity:.45; cursor:not-allowed; filter:none; box-shadow:none; }
.po-ic { flex:none; width:42px; height:42px; border-radius:50%; background:rgba(7,11,22,.12);
  display:grid; place-items:center; font-size:18px;
  transition:transform .3s cubic-bezier(.32,.72,0,1), background .3s cubic-bezier(.32,.72,0,1); }
.po-reserve:hover .po-ic, .po-confirm-yes:hover .po-ic { transform:translate(3px,-2px); background:rgba(7,11,22,.2); }
[dir="rtl"] .po-ic { transform:scaleX(-1); }
[dir="rtl"] .po-reserve:hover .po-ic, [dir="rtl"] .po-confirm-yes:hover .po-ic { transform:scaleX(-1) translate(3px,-2px); }

/* Confirm step */
.po-view-confirm { padding:8px 0 2px; text-align:center; }
.po-confirm-body { font-size:15px; line-height:1.55; color:var(--sf-txt, #eaf0fb); margin:8px 0 18px; }
.po-error { color:#ff8a73; font-size:13px; margin:0 0 12px; }
.po-confirm-fields-note { font-size:12.5px; color:var(--sf-gold-1, #f6e3a8); text-align:start; margin:0 0 12px; line-height:1.5; }
.po-confirm-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 16px; text-align:start; }
.po-confirm-field--full { grid-column:1 / -1; }
.po-confirm-field label { display:block; font-size:12px; color:var(--sf-muted, #9aa7c2); margin:0 0 5px; }
.po-confirm-field input {
  width:100%; box-sizing:border-box; background:rgba(255,255,255,.04); border:1px solid var(--sf-line, rgba(212,179,99,.18));
  border-radius:10px; padding:10px 12px; color:var(--sf-txt, #eaf0fb); font-family:inherit; font-size:14px; }
.po-confirm-actions { display:flex; flex-direction:column; gap:10px; }
.po-confirm-yes { display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:6px 6px 6px 22px; border:none; cursor:pointer; border-radius:999px;
  background:linear-gradient(180deg, var(--sf-gold-1, #f6e3a8), var(--sf-gold-2, #d8b35f));
  color:var(--sf-ink, #070b16); font-weight:700; font-size:15px;
  box-shadow:0 12px 28px -12px rgba(216,179,95,.7);
  transition:transform .25s cubic-bezier(.32,.72,0,1), filter .25s cubic-bezier(.32,.72,0,1); }
.po-confirm-yes:hover { filter:brightness(1.04); } .po-confirm-yes:active { transform:scale(.985); }
.po-confirm-back { padding:12px; background:none; color:var(--sf-muted, #9aa7c2);
  border:1px solid var(--sf-line-soft, rgba(255,255,255,.07)); border-radius:999px; font-size:14px; cursor:pointer;
  transition:color .25s, border-color .25s; }
.po-confirm-back:hover { color:var(--sf-txt, #eaf0fb); border-color:var(--sf-line, rgba(212,179,99,.18)); }

/* Success step */
.po-view-done { text-align:center; padding:26px 8px; }
.po-done-check { width:58px; height:58px; margin:0 auto 14px; border-radius:50%;
  background:rgba(57,217,138,.12); border:1px solid rgba(57,217,138,.4);
  color:var(--sf-green, #39d98a); font-size:28px; line-height:56px; }
.po-done-msg { font-family:var(--display, serif); font-size:17px; line-height:1.5; color:var(--sf-txt, #eaf0fb); margin:0; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
  .po-overlay { padding:0; align-items:flex-end; }            /* bottom-sheet feel */
  .po-modal { max-width:none; max-height:92dvh; border-radius:24px 24px 0 0;
    padding:22px 18px calc(18px + env(safe-area-inset-bottom)); animation:po-up .3s cubic-bezier(.32,.72,0,1); }
  .po-title { font-size:23px; }
  .po-pay-opts { flex-direction:column; }                      /* pills stack, full-width */
  .po-pill { align-items:flex-start; padding-inline:16px; min-height:0; }
}
@keyframes po-up { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
