:root { color-scheme: light; font-family: Inter, Arial, sans-serif; color: #172033; background: #f4f7f9; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.checkout-page { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.checkout-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dbe3e8; }
.checkout-header div { display: grid; gap: 3px; }
.checkout-header strong { font-size: 20px; }
.checkout-header span, footer { color: #64748b; font-size: 13px; }
.secure-label { padding: 7px 10px; color: #11665e !important; background: #e1f5f1; border: 1px solid #b5e5dc; border-radius: 6px; font-weight: 700; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: clamp(36px, 7vw, 90px); padding: clamp(52px, 8vw, 100px) 0; align-items: start; }
.item-details { padding-top: 18px; }
.eyebrow { margin: 0 0 18px; color: #0f766e; font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: 0; }
.description { max-width: 680px; color: #526174; font-size: 17px; line-height: 1.7; white-space: pre-line; }
.order-meta { display: grid; gap: 14px; margin-top: 36px; }
.order-meta div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid #dbe3e8; }
.order-meta dt { color: #64748b; }
.order-meta dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.payment-summary { padding: 28px; background: #fff; border: 1px solid #d7e0e6; border-radius: 8px; box-shadow: 0 14px 36px rgba(22,34,50,.08); }
.payment-summary h2 { margin: 0 0 24px; font-size: 20px; }
.price-lines { display: grid; gap: 16px; }
.price-lines div { display: flex; justify-content: space-between; gap: 18px; color: #526174; }
.price-lines strong { color: #172033; }
.price-lines .discount { color: #15803d; }
.price-lines .total { margin-top: 8px; padding-top: 20px; border-top: 1px solid #dbe3e8; color: #172033; font-size: 18px; }
#orderNow { width: 100%; min-height: 50px; margin-top: 28px; color: #fff; background: #0f766e; border: 0; border-radius: 6px; font-weight: 800; cursor: pointer; }
#orderNow:hover { background: #0b5f59; }
#orderNow:disabled { opacity: .65; cursor: wait; }
.payment-note { margin: 16px 0 0; color: #64748b; font-size: 12px; line-height: 1.55; text-align: center; }
.error { color: #b42318; font-size: 13px; line-height: 1.5; }
.paid-state, .expired-state { padding: 22px 0; text-align: center; }
.paid-check { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 20px; color: #fff; background: #16a36a; border-radius: 50%; font-size: 40px; }
.paid-state p, .expired-state p { color: #64748b; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 24px 0 40px; border-top: 1px solid #dbe3e8; }
footer a { color: #0f766e; }
.empty { width: min(560px, calc(100% - 32px)); margin: 18vh auto; text-align: center; }
@media (max-width: 760px) { .checkout-layout { grid-template-columns: 1fr; padding: 38px 0; } .item-details { padding-top: 0; } .order-meta div { grid-template-columns: 1fr; gap: 5px; } .checkout-header { min-height: 68px; } }
