.checkout-page { min-height: 100vh; background: #f5f2ea; }
.checkout-banner { padding: 8px 20px; color: #e7fff6; background: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.checkout-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 clamp(20px,5vw,72px); border-bottom: 1px solid var(--line); background: var(--paper); }
.secure-label { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 700; }
.checkout-layout { display: grid; grid-template-columns: minmax(570px,1.3fr) minmax(330px,.7fr); max-width: 1380px; min-height: calc(100vh - 101px); margin: auto; }
.checkout-main { padding: 58px clamp(30px,6vw,90px) 100px; }
.checkout-back { color: var(--green); font-size: 11px; font-weight: 700; }
.checkout-heading { max-width: 650px; margin: 38px 0 44px; }
.checkout-heading h1 { margin-bottom: 16px; font-size: clamp(43px,5vw,64px); }
.checkout-heading > p:last-child { color: var(--muted); line-height: 1.7; }
#checkout-form { display: grid; gap: 18px; }
.checkout-panel { padding: 29px; border: 1px solid #dbddd5; border-radius: 15px; background: var(--paper); }
.panel-heading { display: flex; gap: 13px; margin-bottom: 25px; }
.panel-heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 10px; font-weight: 800; }
.panel-heading h2 { margin: 0 0 3px; font-size: 17px; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.checkout-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; }
.checkout-fields label > span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.checkout-fields input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #cfd4ca; border-radius: 8px; font: 13px "DM Sans",sans-serif; outline: 0; }
.checkout-fields input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,112,95,.1); }
.local-note { margin: 12px 0 0; color: #8a7365; font-size: 9px; }
.addon-choices, .checkout-consents { display: grid; gap: 9px; }
.addon-choices label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid #d9ddd4; border-radius: 9px; cursor: pointer; }
.addon-choices input, .checkout-consents input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.addon-choices b, .addon-choices small { display: block; }
.addon-choices b { margin-bottom: 2px; font-size: 11px; }
.addon-choices small { color: var(--muted); font-size: 9px; }
.addon-choices strong { color: var(--green); font-size: 12px; }
.checkout-consents label { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid #d9ddd4; border-radius: 9px; color: #50605e; cursor: pointer; font-size: 10px; line-height: 1.55; }
.checkout-consents input { flex: 0 0 auto; margin-top: 1px; }
.checkout-consents a { color: var(--green); font-weight: 700; text-decoration: underline; }
.checkout-error { margin-top: 12px; padding: 11px 13px; border-radius: 8px; color: #8a382a; background: #ffebe5; font-size: 10px; font-weight: 700; }
.checkout-error[hidden] { display: none; }
.payment-placeholder { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 25px; border-radius: 14px; color: white; background: var(--ink); }
.payment-copy { display: flex; align-items: center; gap: 12px; }
.payment-icon { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); }
.payment-copy b { display: block; margin-bottom: 4px; font-size: 11px; }
.payment-copy p { max-width: 440px; margin: 0; color: #aebfba; font-size: 9px; line-height: 1.5; }

.order-summary { padding: 58px clamp(28px,4vw,60px); color: white; background: var(--green-dark); }
.summary-sticky { position: sticky; top: 35px; }
.summary-label { margin: 0 0 29px; color: #9ec2b7; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.summary-package { display: flex; justify-content: space-between; gap: 18px; }
.summary-package small { color: #9ec2b7; font-size: 8px; letter-spacing: .1em; }
.summary-package h2 { margin: 7px 0 0; font-size: 20px; }
.summary-package > strong { color: var(--mint); font: 800 24px Manrope,sans-serif; }
.summary-description { margin: 15px 0 26px; color: #b8d4cb; font-size: 11px; line-height: 1.55; }
.summary-addons { display: grid; gap: 7px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.summary-addons p { margin: 0; color: #94afa7; font-size: 10px; }
.summary-addons div { display: flex; justify-content: space-between; gap: 14px; color: #c5d8d2; font-size: 10px; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; font-size: 11px; }
.summary-line.muted { color: #91aea5; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 9px; }
.summary-total { align-items: baseline; padding: 22px 0; }
.summary-total b { color: var(--mint); font-size: 26px; }
.summary-points { display: grid; gap: 8px; padding: 17px; border-radius: 9px; background: rgba(255,255,255,.07); color: #c8dcd6; font-size: 10px; }
.summary-fine { margin-top: 19px; color: #8faaa2; font-size: 8px; line-height: 1.55; }

.payment-dialog { width: min(520px,calc(100% - 36px)); }
.gateway-placeholder { display: flex; align-items: center; flex-direction: column; margin: 22px 0; padding: 27px; border: 1px dashed #9eb5ad; border-radius: 11px; background: #f3f5ef; text-align: center; }
.gateway-placeholder > span { display: grid; width: 42px; height: 42px; margin-bottom: 9px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 20px; }
.gateway-placeholder b { margin-bottom: 4px; font-size: 12px; }
.gateway-placeholder small { color: var(--muted); font-size: 9px; }
.payment-total { display: flex; justify-content: space-between; margin-bottom: 16px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.payment-total b { color: var(--green); font-size: 18px; }
.payment-dialog > .button { width: 100%; }
.simulation-warning { display: block; margin-top: 12px; color: #8a7365; font-size: 8px; text-align: center; }

@media (max-width: 920px) { .checkout-layout { grid-template-columns: 1fr; } .order-summary { order: -1; } .summary-sticky { position: static; } }
@media (max-width: 620px) {
  .checkout-banner { font-size: 7px; }
  .checkout-header { min-height: 64px; padding: 0 17px; }
  .secure-label { font-size: 8px; }
  .order-summary { padding: 40px 20px; }
  .checkout-main { padding: 45px 18px 75px; }
  .checkout-heading h1 { font-size: 43px; }
  .checkout-panel { padding: 23px 18px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .payment-placeholder { align-items: stretch; flex-direction: column; }
}
