﻿/* Order form + pay-now page. Uses the shared ladder and tokens. */
.ord{padding-top:128px;padding-bottom:var(--pad);max-width:860px}
.ord-head h1{font-size:var(--t-poster);max-width:none}
.ord-head .lead{margin-top:24px}
.ord-form{margin-top:64px;display:grid;gap:40px}
.ord fieldset{border:0;border-top:1px solid var(--ink);padding:24px 0 0;display:grid;gap:16px;min-width:0}
.ord legend{font:400 var(--t-sub)/1.2 var(--head);text-transform:uppercase;letter-spacing:.02em;padding:0 16px 0 0;float:left;width:100%;margin-bottom:16px}
.ord legend+*{clear:both}
.ord label{display:grid;gap:8px;font-size:var(--t-small);color:#4a4740}
.ord input[type=text],.ord input[type=email],.ord input:not([type]),.ord select,.ord textarea{width:100%;font:400 var(--t-body)/1.4 var(--sans);color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:2px;padding:12px 16px;min-height:48px}
.ord textarea{resize:vertical}
/* Li 10-28: no outer ring on focus; the field's own border turns ink instead */
.ord input:focus,.ord input:focus-visible,.ord select:focus,.ord textarea:focus,.ord textarea:focus-visible{outline:0;border-color:var(--ink)}
.ord .opt:has(input:focus-visible){border-color:var(--ink)}
/* dropdown (order.js swaps each <select> for this; the select stays hidden and holds the value) */
.dd{position:relative}
.dd select{position:absolute;inset:0;opacity:0;pointer-events:none}
.dd-btn{all:unset;box-sizing:border-box;width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:2px;font:400 var(--t-body)/1.4 var(--sans);color:var(--ink);cursor:pointer;transition:border-color .15s}
.dd-btn:hover,.dd-btn:focus-visible,.dd.open .dd-btn{border-color:var(--ink)}
.dd-btn svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .2s}
.dd.open .dd-btn svg{transform:rotate(180deg)}
.dd-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;list-style:none;margin:0;padding:6px;background:#fff;border:1px solid var(--line);border-radius:2px;box-shadow:0 14px 36px rgba(26,25,22,.12);max-height:min(340px,50vh);overflow:auto;
  opacity:0;transform:translateY(-4px);visibility:hidden;transition:opacity .15s,transform .15s,visibility 0s .15s}
.dd.open .dd-list{opacity:1;transform:none;visibility:visible;transition:opacity .15s,transform .15s}
.dd-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border-radius:2px;font-size:var(--t-body);color:var(--ink);cursor:pointer}
.dd-list li.act{background:var(--paper)}
.dd-list li[aria-selected=true]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--ac);flex:none}
.dd-list li.dim{color:var(--mut)}
/* photo upload (Li 10-28): what to send, how many, for this product / person only; a drop area and thumbnails */
.up{display:grid;gap:12px}
.up-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.up-h b{font-size:var(--t-body);font-weight:600;color:var(--ink)}
.up-h small{font-size:var(--t-small);color:var(--mut)}
.up-tips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.up-tips li{font-size:var(--t-small);color:#4a4740;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:5px 12px}
.ord .drop{position:relative;display:grid;justify-items:center;gap:6px;padding:28px 16px;background:#fff;border:1px dashed #c9c2b4;border-radius:2px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.ord .drop:hover,.ord .drop.over,.ord .drop:has(input:focus-visible){border-color:var(--ink);background:var(--paper)}
.ord .drop.has{padding:16px}
.ord .drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.drop-t{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-body);font-weight:600;color:var(--ink)}
.drop-t svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ord .drop small{font-size:var(--t-small);color:var(--mut);max-width:44ch}
.ord .drop.has small{display:none}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.thumbs:empty{display:none}
.th{position:relative;aspect-ratio:1;background:var(--paper);border:1px solid var(--line);overflow:hidden;display:grid;place-items:center}
.th img{width:100%;height:100%;object-fit:cover}
.th span{font-size:12px;color:var(--mut);padding:6px;word-break:break-all;text-align:center}
.th-x{all:unset;cursor:pointer;position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;background:rgba(26,25,22,.75);color:#fff;display:grid;place-items:center;font-size:16px;line-height:1}
.th-x:hover{background:var(--ink)}
.ord .grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:640px){.ord .grid2{grid-template-columns:1fr}}
.ord .opt{grid-template-columns:auto 1fr;align-items:start;gap:16px;border:1px solid var(--line);border-radius:2px;padding:16px;font-size:var(--t-body);color:var(--ink);cursor:pointer;background:#fff}
.ord .opt:has(input:checked){border-color:var(--ink)}
.ord .opt input{margin-top:6px;accent-color:var(--ink)}
.ord .opt small{display:block;color:var(--mut);margin-top:4px;font-size:var(--t-small)}
.ord .opt [data-price]{font:400 var(--t-sub)/1 var(--head);color:var(--ac);margin-left:8px}
.ord .hint,.ord .note{font-size:var(--t-small);color:var(--mut);max-width:60ch}
.ord .char{display:grid;gap:16px;border:1px solid var(--line);border-radius:2px;padding:24px;background:#fff8;margin-bottom:16px}
.ord .char h3{font-size:var(--t-sub)}
.ord .fcount{font-size:var(--t-small);color:var(--mut)}
.ord .fcount.bad{color:#a02a12}
.ord .agree{grid-template-columns:auto 1fr;gap:16px;align-items:start;font-size:var(--t-small);color:#4a4740}
.ord .agree input{margin-top:4px;accent-color:var(--ink)}
.ord .err{color:#a02a12;font-size:var(--t-body)}
.ord .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ord .btn[disabled]{opacity:.6;cursor:wait}
.paybox{margin-top:40px;border-top:1px solid var(--ink);padding-top:24px;font-size:var(--t-lead)}
.paybox b{font:400 var(--t-block)/1 var(--head);color:var(--ac);margin-left:8px;font-variant-numeric:tabular-nums}
.next{margin:24px 0 40px 1.4em;display:grid;gap:16px;font-size:var(--t-body);max-width:60ch}
#ordno{font:400 var(--t-sub)/1 var(--head);letter-spacing:.04em}
.ord [hidden]{display:none!important}
.hadd:not([hidden]),.vlen:not([hidden]){display:contents}
.hadd .inc{display:none}.hadd.all .ap{display:none}.hadd.all .inc{display:inline;font-size:var(--t-small);opacity:.8}
.hadd.all .opt{cursor:default}
/* Li 11-12: video length (15 / 30 s) and the best-value mark */
.ord .opt .vl-p{font:400 var(--t-sub)/1 var(--head);color:var(--ac);margin-left:8px}
.ord .opt em.best{font-style:normal;font-size:var(--t-small);font-weight:400;border:1px solid var(--ink);border-radius:2px;padding:1px 6px;margin-left:8px;vertical-align:2px}
.ord .fam .flabel{margin:8px 0 -4px}
.ord .opt .ap [data-price]{margin-left:0}.ord .opt .ap{margin-left:8px;font:400 var(--t-sub)/1 var(--head);color:var(--ac)}

/* Li 11-07: the model is picked from pictures */
.ord .flabel{font-size:var(--t-small);margin:8px 0 10px}
.ord .mpick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ord .mp{position:relative;display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);padding:10px;background:#fff;cursor:pointer;font-size:15px}
.ord .mp:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.ord .mp:has(input:focus-visible){outline:2px solid var(--ac);outline-offset:2px}
.ord .mp input{position:absolute;opacity:0;pointer-events:none}
.ord .mp-pic{display:grid;aspect-ratio:1/1;overflow:hidden;margin-bottom:8px}
.ord .mp-pic img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:50% 25%;display:block}
.ord .mp-any{grid-template-columns:1fr 1fr;gap:2px}
.ord .mp-new{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--bg,#f6f3ec);border:1px dashed var(--line);text-align:center;padding:12px}
.ord .mp-new svg{width:34px;height:34px;fill:none;stroke:var(--ink);stroke-width:1.4;stroke-linecap:round}
.ord .mp-new em{font-style:normal;font-size:var(--t-small);color:var(--mut);max-width:14ch;line-height:1.35}
/* Li 11-08: the custom card spans the whole row, aligned with the three columns above */
/* Li 11-08: the five faces side by side across the card, a see-through black over them, the words set on top */
.ord .mp.mp-wide{grid-column:1/-1;display:block}
.ord .mp-faces{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;position:relative}
/* faces cropped so all five eye lines sit on one line, a third down; the words live in the lower band under the chins */
.ord .mp-faces span{position:relative;aspect-ratio:1/2;overflow:hidden}
.ord .mp-faces img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}
.ord .mp-faces i{display:none}
.ord .mp-faces::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(14,13,12,.08) 0%,rgba(14,13,12,.1) 50%,rgba(14,13,12,.62) 70%,rgba(14,13,12,.86) 100%);pointer-events:none}
.ord .mp-txt{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;display:grid;grid-template-columns:1fr auto;grid-template-areas:"t e" "s e";align-items:end;column-gap:24px;row-gap:8px;padding:0 24px 22px;color:#fff;pointer-events:none}
.ord .mp-wide .mp-txt b{grid-area:t;font:400 34px/.95 var(--head);text-transform:uppercase;letter-spacing:.01em;color:#fff}
.ord .mp-wide .mp-txt small{grid-area:s;font-size:15px;line-height:1.45;color:rgba(255,255,255,.86)}
.ord .mp-txt em{grid-area:e;align-self:end;white-space:nowrap;font:500 11px/1 var(--sans);font-style:normal;letter-spacing:.12em;text-transform:uppercase;border:1px solid rgba(255,255,255,.65);padding:7px 10px}
@media (max-width:560px){.ord .mp-faces span{aspect-ratio:1/3}.ord .mp-txt{left:6px;right:6px;bottom:6px;grid-template-columns:1fr;grid-template-areas:"t" "s";padding:0 14px 14px;row-gap:6px}.ord .mp-txt em{display:none}.ord .mp-wide .mp-txt b{font-size:24px}.ord .mp-wide .mp-txt small{font-size:13px}}
.ord .mpown{border-left:2px solid var(--ink);padding:4px 0 4px 16px;margin:4px 0 8px}
.ord .mpown p{margin:0;font-size:15px;line-height:1.55}
.ord .mp b{font-weight:500}
.ord .mp small{color:var(--mut);font-size:var(--t-small)}
@media (max-width:560px){.ord .mpick{gap:8px}.ord .mp{padding:6px;font-size:14px}}

/* Li 11-13: simpler ordering. Products are picture cards, extras are small toggles, and an order summary
   sits beside the form on a computer (sticky) or as a bar at the bottom on a phone. */
.ord{max-width:1120px}
.ord-head{max-width:860px}
.ord-form{grid-template-columns:minmax(0,1fr) 300px;column-gap:56px;align-items:start}
.ord-form>*{grid-column:1}
.ord .osum{grid-column:2;grid-row:1 / span 30;align-self:start;position:sticky;top:96px;border:1px solid var(--line);background:#fff;padding:24px;display:grid;gap:0}
.ord .osum-h{font:600 var(--t-small)/1 var(--sans);text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px}
.ord .osum ul{list-style:none;padding:0;margin:0 0 16px;font-size:15px}
.ord .osum li{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.ord .osum-tot{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:14px;margin:0;font-weight:600}
.ord .osum-tot b{font:400 32px/1 var(--head);font-variant-numeric:tabular-nums}
.ord .osum .btn{margin-top:20px;width:100%;justify-content:center}
.ord .osum .note{margin:12px 0 0}
.ord .picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ord .opt.pick{display:flex;flex-direction:column;padding:0;gap:0;position:relative}
.ord .opt.pick input{position:absolute;opacity:0;pointer-events:none}
.ord .opt.pick img{display:block;flex:none;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.ord .opt.pick>span{padding:14px 16px 16px}
.ord .opt.pick [data-price]{display:block;margin:6px 0 0}
.ord .opt.pick:has(input:checked){box-shadow:inset 0 0 0 1px var(--ink)}
.ord .opt.pick:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.ord .opt.pick .best{display:block;width:max-content;margin-top:4px}
.ord .hadd:not([hidden]),.ord .vlen:not([hidden]){display:flex;flex-wrap:wrap;gap:8px}
.ord .hadd .flabel,.ord .vlen .flabel{flex-basis:100%;margin:8px 0 0}
.ord .hadd .opt,.ord .vlen .opt{display:inline-flex;align-items:center;gap:10px;padding:12px 16px}
.ord .hadd .opt input,.ord .vlen .opt input{margin:0}
.ord .hadd .opt small,.ord .vlen .opt small{display:none}
.ord .hadd .opt [data-price],.ord .hadd .opt .ap,.ord .vlen .vl-p{font:400 var(--t-small)/1 var(--sans);color:var(--mut);margin-left:4px}
.ord .opt:has(input:checked){box-shadow:inset 0 0 0 1px var(--ink)}
@media (max-width:900px){
  .ord-form{grid-template-columns:minmax(0,1fr)}
  .ord .osum{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:40;grid-row:auto;grid-column:auto;border-width:1px 0 0;padding:12px 16px;display:flex;align-items:center;gap:16px}
  .ord .osum-h,.ord .osum ul,.ord .osum .note{display:none}
  .ord .osum-tot{flex:1;min-width:0;flex-direction:column;align-items:flex-start;border:0;padding:0;gap:4px}
  .ord .osum-tot span{font:400 13px/1.3 var(--sans);color:var(--mut)}
  .ord .osum-tot b{font-size:28px}
  .ord .osum .btn{margin:0;width:auto;flex:none}
  body:has(.osum){padding-bottom:84px}
  .ord .picks{grid-template-columns:minmax(0,1fr);gap:12px}
  .ord .opt.pick{flex-direction:row;align-items:center}
  .ord .opt.pick img{width:96px;height:96px;aspect-ratio:auto}
}
.ord .hadd .ap [data-price]{margin-left:0;font:inherit;color:inherit}
/* 11-13: an obvious selected state (stronger border + check mark), the same on cards, extras and video length */
.ord .opt.pick:has(input:checked),.ord .hadd .opt:has(input:checked),.ord .vlen .opt:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.ord .opt.pick::after{content:'';position:absolute;top:12px;left:12px;width:28px;height:28px;border-radius:50%;background:var(--paper);border:2px solid var(--ink);box-sizing:border-box}
.ord .opt.pick:has(input:checked)::after{background:var(--ink)}
.ord .opt.pick:has(input:checked)::before{content:'';position:absolute;z-index:1;top:19px;left:22px;width:6px;height:11px;border:solid var(--paper);border-width:0 2px 2px 0;transform:rotate(45deg)}
.ord .hadd .opt,.ord .vlen .opt{position:relative;padding-left:44px}
.ord .hadd .opt input,.ord .vlen .opt input{position:absolute;opacity:0;pointer-events:none}
.ord .hadd .opt::after,.ord .vlen .opt::after{content:'';position:absolute;left:16px;top:50%;width:18px;height:18px;margin-top:-9px;border:1.5px solid var(--ink);box-sizing:border-box;background:#fff}
.ord .vlen .opt::after{border-radius:50%}
.ord .hadd .opt:has(input:checked)::after,.ord .vlen .opt:has(input:checked)::after{background:var(--ink)}
.ord .hadd .opt:has(input:checked)::before,.ord .vlen .opt:has(input:checked)::before{content:'';position:absolute;z-index:1;left:22px;top:50%;margin-top:-6px;width:4px;height:8px;border:solid var(--paper);border-width:0 2px 2px 0;transform:rotate(45deg)}
.ord .hadd .opt:has(input:focus-visible),.ord .vlen .opt:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.ord .hadd.all .opt::after{opacity:.5}
.ord .uphint{flex-basis:100%;margin:4px 0 0;padding:12px 16px;border:1px solid var(--ac);background:#fff;color:var(--ink);max-width:none}
.ord .uphint button.tlink{margin-left:4px;font-weight:600}
@media (max-width:640px){.ord .hadd .opt,.ord .vlen .opt{flex:1 1 100%}}
@media (max-width:900px){.ord .osum-tot span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:100%}}
@media (min-width:901px){.ord .picks:has(>:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}   /* 11-13: Shops has 4 cards (Trial, 1, 5, 15) */
.ord .opt.pick .pp{display:block;margin:6px 0 0}.ord .opt.pick .pp [data-price]{display:inline;margin:0}
.ord .opt.pick .pp .was[data-price]{margin-left:.35em;font-size:16px;font-weight:400;color:var(--mut);text-decoration:line-through;text-decoration-thickness:1px}

/* 11-13 card payment: the order number never breaks at its hyphens; space above "What happens next" with or without the pay box */
.ord-head .lead b{white-space:nowrap}
.ord h2.blk:has(+ #nextsteps){margin-top:clamp(48px,7vw,72px)}
/* 11-13 Li: Stripe's payment form sits on this page (embedded), so no jump to another site */
.paybox .checkout{margin-top:24px;min-height:360px}
/* 11-14 Li 「界面能做的好看一些」: once Stripe's form is on the page it shows the items and the total itself, so ours goes;
   a narrower box keeps Stripe in its one-column layout (summary on top, payment under it) instead of a half-empty left side */
.paybox.embedded > p:first-child{display:none}
.paybox.embedded{border-top:0;padding-top:0}
.paybox .checkout{max-width:600px;margin-top:8px}
/* 11-14 Li: one checkout card. Fixed light colours inside: it sits on white whatever the page theme. */
.ord .paybox .pcard{margin-top:0;background:#fff;color:#1A1916;border:1px solid #E2DDD2;border-radius:12px;padding:28px;display:grid;gap:24px;font-size:16px;
  box-shadow:0 1px 2px rgba(26,25,22,.04),0 16px 40px rgba(26,25,22,.07)}
.pcard .pc-h{font:600 12px/1.2 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:#6B665C;margin:0 0 14px}
.pcard .pc-lines{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pcard .pc-lines:empty{display:none}
.pcard .pc-lines li{display:flex;justify-content:space-between;gap:16px;font-size:15px;line-height:1.4;color:#4A4740}
.pcard .pc-lines li span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.pcard .pc-total{display:flex;justify-content:space-between;align-items:baseline;margin:16px 0 0;padding-top:16px;border-top:1px solid #E2DDD2;font-size:16px;font-weight:500}
.paybox .pcard .pc-total b{font:600 26px/1 var(--sans);color:#1A1916;margin:0;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.pcard .pc-pay{border-top:1px solid #E2DDD2;padding-top:24px}
.pcard .pc-skels{display:grid;gap:12px}
.pcard .pc-skels i{display:block;height:60px;border-radius:8px;background:linear-gradient(90deg,#F3F0EA 0,#FAF8F4 50%,#F3F0EA 100%);background-size:200% 100%;animation:pcsk 1.2s linear infinite}
.pcard.ready .pc-skels{display:none}
@keyframes pcsk{to{background-position:-200% 0}}
.pcard .pc-err{margin:-8px 0 0;padding:12px 14px;border-radius:8px;background:#FBEFEC;color:#A02A12;font-size:14px;line-height:1.45}
.pcard .pc-err[hidden]{display:none}
.pcard .pc-btn{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:56px;border-radius:8px;background:#1A1916;color:#fff;font:600 17px/1 var(--sans);cursor:pointer;transition:background .15s}
.pcard .pc-btn:hover{background:#000}
.pcard .pc-btn:focus-visible{outline:2px solid #1A1916;outline-offset:3px}
.pcard .pc-btn[disabled]{opacity:.45;cursor:default}
.pcard svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.pcard .pc-trust svg{display:inline-block;vertical-align:-3px;margin-right:6px;width:14px;height:14px}
.pcard .pc-trust{display:block;margin:-10px 0 0;font-size:13px;line-height:1.4;color:#6B665C;text-align:center}
.pcard .pc-away[hidden]{display:none}
.pcard .pc-or{display:flex;align-items:center;gap:14px;margin:0 0 14px;font-size:13px;color:#6B665C}
.pcard .pc-or::before,.pcard .pc-or::after{content:"";flex:1;height:1px;background:#E2DDD2}
.pcard .pc-aways{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pcard .pc-aw{display:flex;align-items:center;justify-content:center;gap:8px;height:56px;padding:0 12px;border:1px solid #E2DDD2;border-radius:8px;background:#fff;color:#1A1916;font-size:15px;font-weight:500;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.pcard .pc-aw:hover{border-color:#1A1916}
.pcard .pc-aw:focus-visible{outline:2px solid #1A1916;outline-offset:2px}
.pcard .pc-aw img{display:block;width:auto;height:30px;flex:none}
.pcard .pc-aw:last-child:nth-child(odd){grid-column:1 / -1}
.pcard .pc-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 6px;margin:-12px 0 0;font-size:13px;line-height:1.4;color:#6B665C;text-align:center}
.pcard .pc-logos img{display:block;width:38px;height:24px}
.pcard .pc-logos span{margin-left:4px}
.paybox.embedded .note{margin-top:16px;text-align:center;max-width:none}
@media (max-width:640px){.ord .paybox .pcard{padding:20px;border-radius:10px;gap:20px}}
/* 11-14 (first try, kept for the fallback form) */
.ord .paybox form.checkout{margin-top:24px;min-height:0;display:grid;gap:16px}
.paybox .pm-h{font-size:var(--t-small);color:var(--mut);text-transform:uppercase;letter-spacing:.06em}
.paybox form.checkout .btn{width:100%;justify-content:center}
.paybox form.checkout .btn[disabled]{opacity:.35;cursor:not-allowed}
.paybox form.checkout .err{font-size:var(--t-small)}
/* 11-14 Li 「两个付款页面 设置稍微好看一些」
   Paying: order details on the left, Stripe's form on the right (stays in view while scrolling); one column on a phone.
   Paid: smaller headline, a receipt line (order number, amount, next update), the steps as three columns. */
.ord.st-pay .ord-head h1,.ord.st-paid .ord-head h1{font-size:var(--t-block)}
.ord.st-pay h2.blk,.ord.st-paid h2.blk{font-size:var(--t-sub)}
.ord.st-pay h2.blk:has(+ #nextsteps),.ord.st-paid h2.blk:has(+ #nextsteps){margin-top:48px}
.ord.st-pay .next{font-size:var(--t-small);gap:12px;margin-bottom:24px}
@media (min-width:900px){
  .ord.st-pay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,540px);column-gap:clamp(40px,5vw,80px);align-items:start}
  .ord.st-pay > *{grid-column:1}
  .ord.st-pay > .paybox{grid-column:2;grid-row:1 / span 6;margin-top:0;position:sticky;top:88px}
  .ord.st-pay .paybox .checkout{max-width:none;margin-top:0}}
@media (max-width:899px){.ord.st-pay .paybox{margin-top:32px}}
.receipt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;margin-top:40px;border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}
.receipt div{padding:16px 0 20px}
.receipt dt{font-size:var(--t-small);color:var(--mut)}
.receipt dd{margin:6px 0 0;font:400 var(--t-sub)/1.2 var(--head);color:var(--ink);text-transform:uppercase}
.ord.st-paid .next{list-style:none;margin:24px 0 40px;counter-reset:n;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:none}
.ord.st-paid .next li{counter-increment:n;border-top:1px solid var(--ink);padding-top:16px;line-height:1.55}
.ord.st-paid .next li::before{content:'Step ' counter(n);display:block;font:500 14px/1 var(--sans);color:var(--mut);margin-bottom:12px}
@media (max-width:760px){.receipt{grid-template-columns:1fr}.receipt div+div{border-top:1px solid var(--line)}.ord.st-paid .next{grid-template-columns:1fr}}
.ord.st-paid .ord-head{max-width:none}
.ord.st-paid .ord-head .lead{max-width:60ch}
.ord.st-pay h2.blk,.ord.st-paid h2.blk{margin-bottom:0}
.ord.st-pay .next{margin-top:20px}
/* 11-14 Li: the receipt page, calm and careful. One centred column; the receipt is a white card like the pay card;
   the next steps are a short numbered timeline. Overrides the 11-14 three-column version above. */
.ord.st-paid{max-width:600px;margin-inline:auto}
.ord.st-paid .ord-head{max-width:none;text-align:center}
.ord.st-paid .ok-mark{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 24px;border-radius:50%;background:var(--ink)}
.ord.st-paid .ok-mark svg{width:26px;height:26px;fill:none;stroke:var(--paper);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ord.st-paid .ord-head h1{font-size:var(--t-block);line-height:1.05}
.ord.st-paid .ord-head .lead{max-width:40ch;margin:16px auto 0;font-size:18px;line-height:1.55;color:#4A4740}
.ord.st-paid .receipt{display:block;margin:40px 0 0;padding:4px 24px;background:#fff;border:1px solid #E2DDD2;border-radius:12px;box-shadow:0 1px 2px rgba(26,25,22,.04),0 16px 40px rgba(26,25,22,.06)}
.ord.st-paid .receipt div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.ord.st-paid .receipt div+div{border-top:1px solid #EFEBE3}
.ord.st-paid .receipt dt{font-size:15px;color:#6B665C}
.ord.st-paid .receipt dd{display:flex;align-items:center;gap:10px;margin:0;font:500 16px/1.3 var(--sans);color:#1A1916;text-transform:none;text-align:right;font-variant-numeric:tabular-nums}
.ord.st-paid .rc-copy{all:unset;cursor:pointer;font-size:13px;color:#6B665C;padding:3px 9px;border:1px solid #E2DDD2;border-radius:6px;transition:border-color .15s,color .15s}
.ord.st-paid .rc-copy:hover{border-color:#1A1916;color:#1A1916}
.ord.st-paid .rc-copy:focus-visible{outline:2px solid #1A1916;outline-offset:2px}
.ord.st-paid .rc-ok svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;margin-right:-4px}
.ord.st-paid h2.blk{font-size:var(--t-sub);margin:56px 0 0}
.ord.st-paid .next{list-style:none;margin:24px 0 0;padding:0;counter-reset:n;display:block;max-width:none}
.ord.st-paid .next li{counter-increment:n;position:relative;border-top:0;padding:3px 0 28px 48px;font-size:16px;line-height:1.6;color:#4A4740}
.ord.st-paid .next li:last-child{padding-bottom:0}
.ord.st-paid .next li::before{content:counter(n);position:absolute;left:0;top:0;width:30px;height:30px;margin:0;box-sizing:border-box;border-radius:50%;border:1px solid #D8D2C6;background:#fff;display:grid;place-items:center;font:600 14px/1 var(--sans);color:#1A1916}
.ord.st-paid .next li::after{content:"";position:absolute;left:15px;top:34px;bottom:2px;width:1px;background:#E2DDD2}
.ord.st-paid .next li:last-child::after{display:none}
.ord.st-paid .next li.done{color:#1A1916;font-weight:500}
.ord.st-paid .next li.done::before{content:"\2713";background:var(--ink);border-color:var(--ink);color:var(--paper)}
.ord.st-paid .next b{font-weight:600;color:#1A1916}
.ord.st-paid > .note{margin-top:56px;text-align:center;max-width:none}
@media (max-width:640px){.ord.st-paid .receipt{padding:4px 18px}.ord.st-paid .ord-head .lead{font-size:17px}}

/* 11-15: the cancel email link in step 2 of the receipt reads as a link */
#nextsteps a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pcard .pc-ship{margin:10px 0 0;font-size:13px;line-height:1.4;color:#6B665C}   /* 11-15: digital delivery line under the total */
