/* Checkout = the plan page (modules/store.php page_service): back header with "secure payment", the plan as a card in
   its brand's colour, roomy fields, the coupon row, payment choices as rounded cards and a big pay button. On phones the
   buy box comes first and the description follows. */
.ck-safe { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.checkout-page .svc-layout { gap: 20px; }
.checkout-page .buy-box { display: grid; gap: 16px; padding: 0; border: 0; background: none; box-shadow: none; }
.checkout-page .buy-box > .form { gap: 14px; }

.ck-hero { position: relative; isolation: isolate; display: grid; gap: 6px; min-height: 150px; align-content: end; padding: 56px 18px 18px; overflow: hidden; border-radius: 26px;
  background: var(--brand, var(--panel-2)); color: var(--brand-ink, var(--text)); box-shadow: 0 22px 50px -30px var(--brand, transparent); }
.ck-hero > .ba { position: absolute; z-index: -1; opacity: .2; }
.ck-hero > .ba-mark { top: -30px; inset-inline-start: -30px; width: 170px; height: 170px; }
.ck-hero > .ba-tile { top: 16px; inset-inline-end: 16px; width: 56px; height: 56px; opacity: 1; }
.ck-hero > .ba-mono { top: 0; inset-inline-start: 10px; }
.ck-flag { top: 16px; inset-inline-end: 16px; inset-inline-start: auto; }
.ck-hero strong { font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.8rem)/1.2 var(--font); letter-spacing: -.02em; overflow-wrap: anywhere; }
html[dir="rtl"] .ck-hero strong { text-align: right; }
.ck-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.ck-meta > span:first-child { opacity: .75; }
.ck-hero .price-lg { display: grid; justify-items: end; line-height: 1.1; }
.ck-hero .price-lg .mn b { font: 700 26px var(--font); }
.ck-hero .price-lg .mn small, .ck-hero .price-lg s { color: inherit; opacity: .7; }

.checkout-page .buy-box .field > span:first-child { font-size: 14px; font-weight: 800; }
.checkout-page .buy-box input[type="text"], .checkout-page .buy-box input[type="email"] { min-height: 56px; border-radius: 18px; background: var(--panel); border-color: transparent; }
.checkout-page .buy-box input:focus { border-color: rgb(var(--accent-rgb) / .55); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.checkout-page .input-row .btn-ghost { min-height: 56px; padding: 0 18px; border-radius: 16px; border-color: transparent; background: var(--panel-3); }
.checkout-page .summary { padding: 14px 16px; border: 0; border-radius: 20px; background: var(--panel); }
.checkout-page .summary dd { font-family: var(--font); font-size: 1.05rem; }
.checkout-page .summary [data-total] { font-size: 1.3rem; }
.checkout-page .buy-terms { border: 0; border-radius: 18px; background: var(--panel); padding: 12px 14px; }
.checkout-page .pay-direct { display: grid; gap: 10px; padding: 16px; border-radius: 22px; background: var(--panel); }
.checkout-page .pay-direct h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; }
.checkout-page .pm-card { min-height: 64px; border-radius: 18px; border: 2px solid transparent; background: var(--panel-2); }
.checkout-page .pm-option input:checked + .pm-card { border-color: var(--text); box-shadow: none; }
.checkout-page .buy-box .btn-primary.btn-block, .checkout-page .buy-box .btn-ghost.btn-block { min-height: 58px; border-radius: 20px; font-size: 16px; font-weight: 800; }
.checkout-page .svc-detail { border: 0; border-radius: 26px; background: var(--panel); }
@media (max-width: 900px) {
  .checkout-page .svc-layout > .buy-box { order: -1; }
}
