.screen-checkout-page { background: #eef4f7; }
.checkout-main { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.back-link { display: block; width: fit-content; margin: 0 0 1.2rem auto; color: var(--blue); font-size: .75rem; font-weight: 800; text-decoration: none; }
.checkout-title { margin-bottom: 1.4rem; }
.checkout-title h1 { margin: .2rem 0 .4rem; font-size: clamp(1.9rem,3.4vw,2.75rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.checkout-title p:last-child { max-width: 42rem; margin: 0; color: var(--text); }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(19rem,.8fr); gap: 1rem; align-items: start; }
.checkout-stack { display: grid; gap: 1rem; }
.checkout-card { padding: 1.25rem; background: white; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: 0 15px 40px rgba(28,42,56,.09); }
.checkout-card h2 { margin: 0 0 .3rem; font-size: 1.05rem; }
.card-intro { margin: 0 0 1rem; color: var(--text); font-size: .7rem; }
.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.fulfillment-option { min-height: 5.6rem; padding: .8rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; text-align: left; }
.fulfillment-option.selected { background: #edf5fa; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fulfillment-option strong,.fulfillment-option span { display: block; }
.fulfillment-option strong { font-size: .78rem; }
.fulfillment-option span { margin-top: .18rem; color: var(--text); font-size: .62rem; }
.fulfillment-option b { display: block; margin-top: .35rem; color: var(--blue); font-size: .67rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field-grid .wide { grid-column: 1/-1; }
.field-grid label { display: grid; gap: .28rem; color: #405667; font-size: .62rem; font-weight: 800; }
.field-grid label em { color: #9b3326; font-size: .5rem; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field-grid input { width: 100%; height: 2.9rem; padding: 0 .7rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .65rem; outline: 0; }
.field-grid input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,76,129,.1); }
.field-grid input[readonly] { color: #5d6b75; background: #f4f7f9; }
.order-help-fields { margin-top: 1rem; display: grid; gap: .75rem; }
.order-help-fields > label:first-child { display: grid; gap: .3rem; color: #405667; font-size: .62rem; font-weight: 800; }
.order-help-fields label > span { color: var(--text); font-size: .55rem; font-weight: 600; }
.order-help-fields textarea { min-height: 6rem; padding: .7rem; resize: vertical; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .65rem; font: inherit; font-size: .68rem; }
.installation-interest { padding: .7rem; display: grid; grid-template-columns: 1rem 1fr; gap: .55rem; align-items: start; background: #eef5fa; border-radius: .65rem; }
.installation-interest input { margin-top: .12rem; accent-color: var(--blue); }
.installation-interest strong { display: block; color: var(--navy); font-size: .64rem; }
.installation-interest small,.installation-interest em { display: block; margin-top: .22rem; color: var(--text); font-size: .56rem; font-style: normal; line-height: 1.45; }
.installation-interest em { color: var(--blue); font-weight: 850; }
.delivery-status { margin: .8rem 0 0; padding: .65rem .75rem; color: #54646f; background: #f4f7f9; border-radius: .65rem; font-size: .64rem; }
.delivery-status.good { color: #096d60; background: #e5f5f1; }
.delivery-status.bad,.form-error { color: #9b3326; background: #fff0ed; }
.delivery-note { margin: .6rem 0 0; color: var(--text); font-size: .58rem; line-height: 1.5; }
.order-summary-card { position: sticky; top: 1rem; }
.summary-line { padding: .75rem 0; display: grid; grid-template-columns: 1fr auto; gap: .7rem; border-bottom: 1px solid var(--line); }
.summary-line strong,.summary-line span,.summary-line small { display: block; }
.summary-line strong { font-size: .7rem; }
.summary-line span,.summary-line small { margin-top: .13rem; color: var(--text); font-size: .57rem; line-height: 1.45; }
.summary-totals { margin-top: .75rem; }
.summary-totals p { margin: 0; padding: .38rem 0; display: flex; justify-content: space-between; color: var(--text); font-size: .66rem; }
.summary-totals .grand-total { margin-top: .4rem; padding-top: .75rem; color: var(--navy); border-top: 1px solid var(--line); font-size: .9rem; font-weight: 850; }
.terms-check { margin-top: 1rem; display: grid; grid-template-columns: 1rem 1fr; gap: .55rem; align-items: start; color: var(--text); font-size: .59rem; line-height: 1.45; }
.terms-check input { margin-top: .15rem; accent-color: var(--blue); }
.terms-check a { color: var(--blue); }
.terms-check strong { color: var(--navy); }
.order-terms-summary { margin-top: 1rem; padding: .75rem; color: var(--text); background: #f6f9fb; border: 1px solid var(--line); border-radius: .7rem; font-size: .59rem; }
.order-terms-summary summary { color: var(--navy); cursor: pointer; font-size: .66rem; font-weight: 850; }
.order-terms-summary p { margin: .65rem 0 .35rem; }
.order-terms-summary ul { margin: .35rem 0 .7rem; padding-left: 1.1rem; }
.order-terms-summary li + li { margin-top: .3rem; }
.order-terms-summary a { color: var(--blue); font-weight: 800; }
.payment-button { width: 100%; min-height: 3.2rem; margin-top: .8rem; color: white; background: var(--teal); border: 0; border-radius: .72rem; cursor: pointer; font-size: .72rem; font-weight: 850; }
.payment-button:hover { background: #087969; }
.form-error { margin: .7rem 0 0; padding: .65rem .75rem; border-radius: .6rem; font-size: .62rem; }
.payment-note { margin: .55rem 0 0; color: var(--text); font-size: .56rem; line-height: 1.45; text-align: center; }
.empty-checkout { max-width: 34rem; margin: 4rem auto; padding: 2rem; background: white; border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: var(--shadow); text-align: center; }
.empty-checkout h1 { margin: 0; font-size: 1.8rem; }
.empty-checkout p { color: var(--text); }
.empty-checkout a { display: inline-block; padding: .75rem 1rem; color: white; background: var(--blue); border-radius: .65rem; font-size: .72rem; font-weight: 800; text-decoration: none; }
.order-confirmation { max-width: 42rem; margin: 3rem auto; padding: clamp(1.5rem,5vw,3rem); background: white; border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: var(--shadow); text-align: center; }
.confirmation-check { width: 4rem; height: 4rem; margin: 0 auto 1rem; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-size: 1.6rem; font-weight: 900; }
.order-confirmation .eyebrow { margin-bottom: .4rem; }
.order-confirmation h1 { margin: 0; font-size: clamp(2rem,6vw,3.5rem); line-height: 1; letter-spacing: -.055em; }
.confirmation-lead { margin: 1rem auto 0; color: var(--text); font-size: 1rem; }
.confirmation-contact { margin-top: 1.4rem; padding: 1rem; color: #315067; background: #eaf3f8; border-radius: .85rem; }
.confirmation-contact small,.confirmation-contact > strong { display: block; }
.confirmation-contact small { font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.confirmation-contact > strong { margin-top: .15rem; color: var(--navy); font-size: .9rem; }
.confirmation-contact p { margin: .6rem 0 0; font-size: .72rem; }
.confirmation-installation { margin-top: .8rem; padding: .85rem 1rem; color: #315067; background: #f3f8fb; border-radius: .8rem; text-align: left; }
.confirmation-installation p { margin: 0; font-size: .65rem; line-height: 1.5; }
.confirmation-installation p + p { margin-top: .35rem; }
.confirmation-reminder { margin: .9rem auto 0; max-width: 32rem; color: var(--text); font-size: .65rem; line-height: 1.55; }
.confirmation-actions { margin-top: 1.2rem; display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.confirmation-actions a { padding: .7rem .9rem; color: white; background: var(--blue); border-radius: .65rem; font-size: .67rem; font-weight: 800; text-decoration: none; }
.confirmation-actions a:last-child { color: var(--blue); background: #edf5fa; }
@media (max-width: 800px) { .checkout-title h1 { white-space: normal; } .checkout-layout { grid-template-columns: 1fr; } .order-summary-card { position: static; } }
@media (max-width: 560px) { .checkout-main { width: min(100% - 1rem,1040px); padding-top: 1rem; } .fulfillment-options,.field-grid { grid-template-columns: 1fr; } .field-grid .wide { grid-column: auto; } }
