/* IPTV12 — checkout */
.checkout{padding-top:1.5rem;padding-bottom:clamp(3rem,2rem + 4vw,6rem)}
.checkout-head{max-width:720px;margin-bottom:2rem}
.checkout-head h1{font-size:clamp(2rem,1.4rem + 2.6vw,3rem);margin:.9rem 0 .6rem}
.checkout-grid{display:grid;gap:1.5rem;align-items:start}
.panel{border-radius:var(--radius-xl);background:linear-gradient(180deg,rgba(23,39,66,.6),rgba(12,21,39,.85));border:1px solid var(--border);padding:clamp(1.25rem,1rem + 1.5vw,2.25rem);box-shadow:var(--shadow-card)}
.panel+.panel{margin-top:1.25rem}
fieldset{border:0;margin:0 0 1.75rem;padding:0;min-width:0}
legend{display:flex;align-items:center;gap:.65rem;padding:0;margin-bottom:1rem;font:800 1.15rem var(--font-display);color:#fff}
legend .n{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:.85rem;background:var(--gradient-primary)}
.choice-grid{display:grid;gap:.75rem}
.choice{position:relative;display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:rgba(8,15,30,.55);cursor:pointer;min-height:64px}
.choice input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.radio-dot{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--text-muted);display:grid;place-items:center}
.radio-dot::after{content:"";width:10px;height:10px;border-radius:50%;background:#fff;transform:scale(0)}
.choice:hover{border-color:rgba(96,165,250,.55);background:rgba(23,39,66,.7)}
.choice:has(input:checked){border-color:var(--primary-light);background:linear-gradient(135deg,rgba(37,99,235,.22),rgba(14,165,233,.08));box-shadow:0 0 0 1px var(--primary-light) inset}
.choice:has(input:checked) .radio-dot{border-color:var(--primary-light);background:var(--primary)}
.choice:has(input:checked) .radio-dot::after{transform:scale(1)}
.choice:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}
.choice:has(input:disabled){opacity:.5;cursor:not-allowed;background:rgba(8,15,30,.4)}
.choice:has(input:disabled):hover{border-color:var(--border-strong)}
.choice-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}
.choice-title{font:700 1rem var(--font-display);color:#fff}
.choice-desc{font-size:.85rem;color:var(--text-muted);line-height:1.4}
.choice-price{font:800 1.25rem var(--font-display);color:#fff;white-space:nowrap}
.choice-badge{position:absolute;top:-.6rem;right:1rem;padding:.2rem .55rem;border-radius:999px;font:700 .7rem var(--font-display);background:var(--gradient-primary);color:#fff;letter-spacing:.02em}
.pay-ico{flex:none;width:40px;height:28px;border-radius:7px;display:grid;place-items:center;background:rgba(148,163,184,.12);border:1px solid var(--border);color:#fff}
.pay-ico svg{width:20px;height:20px}
.unavailable{display:none;font-size:.8rem;color:var(--warning)}
.choice:has(input:disabled) .unavailable{display:block}

.dyn-fields{display:grid;gap:1rem;margin-bottom:1.75rem}
.dyn-fields[hidden]{display:none}
.field{display:grid;gap:.4rem}
.field label{font:600 .92rem var(--font-display);color:#fff}
.field label .req{color:var(--accent)}
.field input{width:100%;min-height:50px;padding:.8rem 1rem;border-radius:12px;border:1px solid var(--border-strong);background:rgba(8,15,30,.75);color:#fff;font:400 1rem var(--font-body);transition:border-color var(--dur-fast),box-shadow var(--dur-fast)}
.field input::placeholder{color:#7C8AA0}
.field input:focus{outline:none;border-color:var(--primary-light);box-shadow:0 0 0 3px rgba(96,165,250,.3)}
.field input[aria-invalid="true"]{border-color:var(--danger);box-shadow:0 0 0 3px rgba(248,113,113,.18)}
.field-error{font-size:.84rem;color:#FCA5A5;min-height:0}
.field-error:empty{display:none}
.notice{font-size:.88rem;color:var(--text-secondary);padding:.9rem 1rem;border-radius:12px;background:rgba(56,189,248,.07);border:1px solid rgba(56,189,248,.25)}
.notice p{margin:0 0 .4rem}.notice p:last-child{margin:0}
.form-status{font-size:.9rem;margin-top:.9rem;color:var(--text-muted);min-height:1.2em}
.form-status.error{color:#FCA5A5}

.summary{position:sticky;top:calc(var(--header-h) + 1.25rem)}
.summary-product{display:flex;gap:1rem;align-items:center;padding-bottom:1.25rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border)}
.summary-product img{width:84px;height:56px;object-fit:contain;flex:none}
.summary-product strong{display:block;font:800 1.08rem var(--font-display)}
.summary-product span{font-size:.88rem;color:var(--text-muted)}
.summary dl{margin:0;display:grid;gap:.7rem}
.summary dl>div{display:flex;justify-content:space-between;gap:1rem;font-size:.95rem}
.summary dt{color:var(--text-muted)}
.summary dd{margin:0;color:#fff;font-weight:600;text-align:right}
.summary .total{margin-top:.5rem;padding-top:1rem;border-top:1px solid var(--border);align-items:baseline}
.summary .total dt{color:#fff;font:700 1.05rem var(--font-display)}
.summary .total dd{font:800 1.9rem var(--font-display);letter-spacing:-.03em}
.summary-value{display:inline-block}
.summary-links{margin-top:1.25rem;font-size:.85rem;color:var(--text-muted)}
.summary-links a{color:var(--text-secondary)}
.checkout-logo{display:inline-flex;margin-bottom:1rem}
.checkout-logo img{width:118px;height:32px}
.secure-list{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.5rem;font-size:.86rem}
.secure-list li{display:flex;gap:.55rem;margin:0}
.secure-list svg{width:16px;height:16px;color:var(--success);flex:none;margin-top:.25rem}

@media (min-width:960px){
  .checkout-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:2rem}
  .choice-grid.cols-2{grid-template-columns:1fr 1fr}
}
@media (max-width:959.98px){
  .summary{position:static}
}
