/* Order and pay, design v2 (order_v2.py, 24 Nov 2026). Loaded after preview_v8.css, whose tokens, header and buttons
   it reuses. Our own CSS only. No inline style in the templates. */
.ov2{display:flex;flex-direction:column}
.ov2-main{width:100%;margin:0 auto;padding:48px clamp(16px,4vw,56px) 72px;display:grid;gap:24px;align-content:start}
.ov2-main--wide{max-width:1120px}
.ov2-main--mid{max-width:880px}
.ov2-main--narrow{max-width:640px}
.ov2-centre{flex:1;align-content:center;min-height:calc(100vh - 65px);gap:20px}
.ov2-title{display:grid;gap:10px}
.ov2-h1{font-family:var(--serif);font-weight:700;font-size:clamp(34px,4.2vw,52px);line-height:1.08;letter-spacing:-.01em}
.ov2-h2{font-family:var(--serif);font-weight:600;font-size:clamp(24px,2.6vw,32px);line-height:1.3}
.ov2-lede{font-size:17px;line-height:1.5;color:var(--body)}
.ov2-lede a{font-weight:600;text-underline-offset:3px}
.ov2-fine{font-size:14px;line-height:1.5;color:var(--muted)}

/* header: the long call words at desktop, the short at phone */
@media (max-width:640px){.ov2-call-lead{display:none}}

.ov2-card{background:var(--card);border:1px solid var(--line);border-radius:18px;min-width:0}
/* the cards. Phone: price, what it covers, then the terms and the button. Wide: covers on the left, price over the
   form on the right (the two read as one card). */
.ov2-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.ov2-pricecard{order:1}.ov2-covers{order:2}.ov2-formcard{order:3}
@media (min-width:900px){
  .ov2-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0;grid-template-areas:"covers price" "covers form"}
  .ov2-pricecard{grid-area:price;border-radius:18px 18px 0 0;border-bottom:1px solid var(--line2);box-shadow:0 30px 60px -40px rgba(13,14,20,.35)}
  .ov2-covers{grid-area:covers}
  .ov2-formcard{grid-area:form;border-radius:0 0 18px 18px;border-top:0;box-shadow:0 30px 60px -40px rgba(13,14,20,.35)}
}
.ov2-covers{padding:22px;display:grid;gap:16px}
.ov2-k{font-size:14px;font-weight:700;line-height:1.3}
.ov2-ticks{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ov2-ticks li{position:relative;padding-left:24px;font-size:16px;line-height:1.45}
.ov2-ticks li::before,.ov2-refund::before{content:"";position:absolute;left:2px;top:5px;width:9px;height:5px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg)}
.ov2-delivery{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:12px 14px;border-radius:12px;background:var(--rail)}
.ov2-delivery-k{font-size:13.5px;color:var(--muted)}
.ov2-delivery-v{font-family:var(--serif);font-weight:700;font-size:20px;line-height:1.2}
.ov2-delivery-w{flex-basis:100%;font-size:13.5px;line-height:1.45;color:rgba(13,14,20,.72)}
.ov2-note{font-size:14.5px;line-height:1.5;color:rgba(13,14,20,.78)}

.ov2-pricecard{padding:22px;display:grid;gap:8px}
.ov2-formcard{overflow:hidden}
.ov2-balance{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:6px;padding:10px 14px;border-radius:12px;background:var(--rail);font-size:14px;line-height:1.4;color:rgba(13,14,20,.78)}
.ov2-balance b{font-family:var(--serif);font-weight:700;font-size:20px;color:var(--ink)}
.ov2-mono{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:12px;letter-spacing:.12em;font-weight:600;color:var(--muted)}
.ov2-mono::before{content:"";width:6px;height:6px;background:currentColor;transform:rotate(45deg)}
.ov2-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
.ov2-price b{font-family:var(--serif);font-weight:700;font-size:40px;line-height:1}
.ov2-sub{font-size:14px;line-height:1.45;color:var(--muted)}
.ov2-tiers{display:grid;gap:8px;margin-top:4px}
.ov2-tier{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border-radius:12px;border:1.5px solid rgba(13,14,20,.2);background:var(--card);color:var(--ink);text-decoration:none}
.ov2-tier:hover{border-color:var(--ink);color:var(--ink)}
.ov2-tier.on{border-color:var(--ink);background:var(--bg)}
.ov2-dot{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid rgba(13,14,20,.35);display:grid;place-items:center}
.ov2-tier.on .ov2-dot{border-color:var(--ink)}
.ov2-tier.on .ov2-dot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--ink)}
.ov2-tier-t{display:grid;gap:2px;min-width:0}
.ov2-tier-t b{font-family:var(--serif);font-weight:700;font-size:24px;line-height:1.1}
.ov2-tier-t b small{font-family:var(--sans);font-size:14px;font-weight:500;color:var(--muted)}
.ov2-tier-t span{font-size:13.5px;color:var(--muted)}

.ov2-buy-form{margin:0;padding:22px;background:linear-gradient(180deg,var(--bg),var(--card));display:grid;gap:16px}
.ov2-refund{position:relative;padding-left:24px;font-size:14.5px;line-height:1.45;color:rgba(13,14,20,.82)}
.ov2-norefund{font-size:14.5px;line-height:1.45;color:rgba(13,14,20,.78)}
.ov2-err{padding:12px 14px;border-radius:12px;background:var(--red-bg);border:1px solid rgba(168,52,42,.25);color:#8E2A21;font-size:14.5px;font-weight:600}
.ov2-tickrow{display:grid;gap:4px;padding-top:12px;border-top:1px solid var(--line2)}
.ov2-tick{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.55;cursor:pointer}
.ov2-tick input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--ink);cursor:pointer}
.ov2-tick a{text-underline-offset:3px}
.ov2-links{display:flex;flex-wrap:wrap;gap:0 20px;padding-left:34px}
.ov2-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;font-weight:600;text-underline-offset:3px}
.ov2-data{font-size:13.5px;line-height:1.55;color:rgba(13,14,20,.68)}
.ov2-data a{display:inline-block;padding:13px 0;margin:-13px 0;text-underline-offset:3px}
.ov2-lede a,.ov2-fine a{display:inline-block;padding:12px 0;margin:-12px 0;font-weight:600;color:var(--ink);text-underline-offset:3px}
.ov2-go{border:0;cursor:pointer;font-family:inherit}
.ov2-hint{display:none;margin-top:-8px;font-size:13px;color:var(--muted);text-align:center}
/* Before the tick: the button reads as waiting and the hint shows. It still submits, so the browser's own
   required-field message and the server's error both work without a script. */
.ov2-buy-form:has(input[name="accept_terms"]:not(:checked)) .ov2-go{background:#E4E7EC;color:var(--muted);box-shadow:none}
.ov2-buy-form:has(input[name="accept_terms"]:not(:checked)) .ov2-hint{display:block}
.ov2-alt{justify-self:center;display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;font-weight:600;line-height:1.4;text-align:center;text-underline-offset:3px}

/* hand-off, paid and retry */
.ov2-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;padding:14px 16px;border-radius:12px;background:var(--card);border:1px solid var(--line)}
.ov2-line b{font-size:15px;font-weight:600}
.ov2-line-price{font-family:var(--serif);font-weight:700;font-size:22px}
.ov2-chip{justify-self:start;display:inline-flex;align-items:center;gap:7px;padding:3px 10px 3px 8px;border-radius:999px;border:1px solid rgba(13,14,20,.14);background:var(--card);font-size:13.5px;font-weight:600;line-height:1.4}
.ov2-chip i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--muted)}
.ov2-chip--ok{border-color:rgba(46,107,71,.3);background:var(--green-bg);color:var(--green)}
.ov2-chip--ok i{background:var(--green)}
.ov2-next{display:grid;gap:12px}
.ov2-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:hidden}
.ov2-steps li{padding:16px 18px;display:grid;gap:6px;align-content:start;border-right:1px solid var(--line2);border-bottom:1px solid var(--line2)}
.ov2-steps b{font-family:var(--serif);font-weight:700;font-size:22px;line-height:1}
.ov2-steps span{font-size:16px;line-height:1.45}
.ov2-after{display:grid;gap:12px;justify-items:start}
.ov2-btn{min-height:52px;padding:0 26px}
.ov2-btn--wide{justify-self:start;padding:0 30px}

@media (max-width:640px){
  .ov2-main{padding:24px 16px 48px}
  .ov2-centre{min-height:calc(100vh - 65px)}
  .ov2-btn--wide{justify-self:stretch}
}
