.checkout-page { --checkout-accent: #a43869; --checkout-border: #e7e2e8; padding: 24px 0 48px; background: #faf8fa; color: #292332; }
.checkout-page [hidden] { display: none !important; }
.checkout-page .container { max-width: 760px; }
.checkout-header { margin-bottom: 24px; }
.checkout-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #655e70; font-size: 14px; }
.checkout-header-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.checkout-eyebrow { display: flex; align-items: center; gap: 6px; color: #75667a; font-size: 12px; font-weight: 600; }
.checkout-header h1 { margin: 6px 0 0; font-size: 30px; line-height: 1.2; letter-spacing: -.6px; }
.checkout-header-total { flex-shrink: 0; text-align: right; }
.checkout-header-total span, .checkout-submit-total span { display: block; color: #75667a; font-size: 12px; }
.checkout-header-total strong { display: block; font-size: 22px; line-height: 1.4; }
.checkout-layout { display: grid; gap: 20px; align-items: start; }
.checkout-layout > * { min-width: 0; }
.checkout-progress { margin: 0 0 22px; scroll-margin-top: 100px; }
.checkout-progress-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0; margin: 0 0 16px; list-style: none; }
.checkout-progress-steps li { min-width: 0; margin: 0; }
.checkout-progress-steps button { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; min-height: 66px; padding: 6px 2px; border: 0; border-radius: 10px; background: transparent; color: #75667a; font-size: 12px; font-weight: 600; line-height: 1.4; }
.checkout-progress-steps button:disabled { color: #8a8190; cursor: default; }
.checkout-progress-number { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d9d1dc; border-radius: 50%; background: #fff; font-size: 14px; }
.checkout-progress-number i { display: none; }
.checkout-progress-steps button[aria-current="step"] { background: #f6eaf0; color: var(--checkout-accent); }
.checkout-progress-steps button[aria-current="step"] .checkout-progress-number { border-color: var(--checkout-accent); background: var(--checkout-accent); color: #fff; }
.checkout-progress-steps button.is-complete .checkout-progress-number { border-color: #c5e5d3; background: #e8f5ee; color: #237249; }
.checkout-progress-steps button.is-complete .checkout-progress-number > span { display: none; }
.checkout-progress-steps button.is-complete .checkout-progress-number i { display: block; }
.checkout-progress-bar { height: 5px; border-radius: 6px; background: #e7e2e8; overflow: hidden; }
.checkout-progress-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--checkout-accent); }
.checkout-progress-status { margin: 10px 0 0; color: #75667a; font-size: 12px; line-height: 1.5; text-align: center; }
.checkout-panel-heading { padding: 0 2px; }
.checkout-page [data-checkout-heading]:focus { outline: none; }
.checkout-navigation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 12px; margin-top: 20px; }
.checkout-navigation > :only-child { grid-column: 1 / -1; }
.checkout-prev { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 10px 4px; border: 0; border-radius: 10px; background: transparent; color: #655e70; font-size: 14px; font-weight: 600; line-height: 1.5; }
.checkout-prev:hover { background: #f0ebf1; color: var(--checkout-accent); }
.checkout-card, .checkout-page .checkout-cart-total, .checkout-page .checkout-payment-method { padding: 20px; border: 1px solid var(--checkout-border); border-radius: 18px; background: #fff; box-shadow: 0 4px 18px rgba(49, 24, 50, .025); }
.checkout-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.checkout-section-heading h2, .checkout-page .checkout-title { margin: 0; color: #292332; font-size: 19px; line-height: 1.4; font-weight: 700; text-transform: none; }
.checkout-step { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #f6eaf0; color: var(--checkout-accent); font-size: 14px; font-weight: 700; }
.checkout-muted { margin: 0 0 20px; color: #75667a; font-size: 14px; line-height: 1.6; }
.checkout-sso { display: grid; gap: 10px; }
.checkout-provider { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--checkout-border); border-radius: 12px; background: #fff; color: #292332; font-size: 14px; font-weight: 600; line-height: 1.4; }
.checkout-provider:hover { border-color: var(--checkout-accent); color: var(--checkout-accent); background: #fdf9fb; }
.checkout-provider > span:nth-child(2) { flex: 1; }
.checkout-provider-logo { display: block; flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.checkout-provider-logo--google { padding: 2px; }
.checkout-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #75667a; font-size: 12px; }
.checkout-divider::before, .checkout-divider::after { content: ''; flex: 1; height: 1px; background: var(--checkout-border); }
.checkout-account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: #f5f1f5; }
.checkout-account-tabs button { min-height: 44px; padding: 10px 6px; border: 0; border-radius: 9px; background: transparent; color: #75667a; font-size: 14px; font-weight: 600; line-height: 1.4; }
.checkout-account-tabs button[aria-selected="true"] { background: #fff; color: var(--checkout-accent); box-shadow: 0 2px 6px rgba(49, 24, 50, .06); }
.checkout-fields { display: grid; gap: 0 14px; }
.checkout-field { min-width: 0; margin-bottom: 16px; }
.checkout-field label { display: block; margin-bottom: 7px; color: #413748; font-size: 14px; font-weight: 600; }
.checkout-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .checkout-page .checkout-field select { width: 100%; height: 50px; margin: 0; padding: 10px 13px; border: 1px solid #d6cfdb; border-radius: 10px; background: #fff; color: #292332; font-size: 16px; line-height: 1.5; }
.checkout-page .checkout-field select { appearance: auto; }
.checkout-page input:focus, .checkout-page select:focus { border-color: var(--checkout-accent); outline: 3px solid #f6eaf0; outline-offset: 1px; }
.checkout-page input[aria-invalid="true"], .checkout-page select[aria-invalid="true"] { border-color: #b42318; }
.checkout-page input:disabled { background: #f5f1f5 !important; }
.checkout-page .invalid-feedback { display: block; margin: 5px 0 0; color: #b42318; font-size: 13px; line-height: 1.5; }
.checkout-page .invalid-feedback:empty { display: none !important; }
.checkout-page small { display: block; margin-top: 5px; color: #75667a; font-size: 13px; line-height: 1.5; }
.checkout-login-help { margin: -3px 0 16px; text-align: right; font-size: 13px; }
.checkout-login-help a, .checkout-page details > summary { color: var(--checkout-accent); }
.checkout-page .checkout-primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; height: auto; padding: 14px 18px; border-radius: 12px; font-size: 16px; line-height: 1.4; white-space: normal; }
.checkout-primary:disabled { opacity: .65; cursor: wait; }
.checkout-page .checkout-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 20px; color: #655e70; font-size: 13px; line-height: 1.55; cursor: pointer; }
.checkout-page .checkout-checkbox input { position: static; width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; padding: 0; opacity: 1; visibility: visible; appearance: auto; accent-color: var(--checkout-accent); }
.checkout-page .registration-terms { position: relative; min-width: 0; }
.checkout-page .registration-terms > input[type="checkbox"] { position: absolute; top: 13px; left: 0; width: 20px; height: 20px; margin: 0; padding: 0; opacity: 1; appearance: auto; accent-color: var(--checkout-accent); }
.checkout-page .registration-terms > label { display: block; min-height: 44px; padding: 10px 0 10px 30px; margin-bottom: 0; font-size: 14px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.checkout-page .registration-terms > label::before, .checkout-page .registration-terms > label::after { display: none; }
.checkout-page details > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.checkout-page details > summary::-webkit-details-marker { display: none; }
.checkout-page details > summary .feather-chevron-down { margin-left: auto; transition: transform .15s; }
.checkout-page details[open] > summary .feather-chevron-down { transform: rotate(180deg); }
.checkout-optional { margin: -4px 0 12px; }
.checkout-optional[open] .checkout-field { margin-top: 10px; }
.checkout-company-info { margin: 12px 0; padding: 0 12px; border: 1px solid var(--checkout-border); border-radius: 12px; background: #f8f6fa; }
.checkout-page .checkout-company-info > summary { color: #655e70; font-size: 13px; }
.checkout-company-info p { margin: 0 0 12px; color: #655e70; font-size: 13px; line-height: 1.6; }
.checkout-auth-error:not(:empty) { margin-bottom: 14px; }
.checkout-signed-in { display: flex; align-items: center; gap: 12px; }
.checkout-status-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #e8f5ee; color: #237249; }
.checkout-signed-in strong, .checkout-signed-in span:not(.checkout-status-icon) { display: block; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.checkout-signed-in div > span { color: #75667a; }
.checkout-free-notice { display: flex; align-items: flex-start; gap: 12px; }
.checkout-free-notice p { margin: 0; font-size: 14px; line-height: 1.6; }
.checkout-order-sections { --bs-gutter-x: 0; gap: 20px; }
.checkout-page .checkout-order-sections > .col-12 { margin: 0 !important; }
.checkout-page .checkout-title { margin-bottom: 14px; }
.checkout-page .checkout-cart-total ul { border: 0; }
.checkout-page .checkout-cart-total li { align-items: start; gap: 16px; margin-bottom: 14px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.checkout-page .checkout-cart-total li > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.checkout-page .checkout-cart-total li > span:last-child { flex-shrink: 0; float: none; font-weight: 600; white-space: nowrap; }
.checkout-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--checkout-border); font-size: 15px; font-weight: 600; }
.checkout-total strong { font-size: 22px; white-space: nowrap; }
.checkout-recommendations { min-width: 0; }
.checkout-page .checkout-recommendations .bump, .checkout-page .checkout-recommendations .course-pass-promo { margin-top: 10px !important; }
.checkout-page .checkout-recommendations .bump { padding: 16px; box-shadow: none; }
.checkout-page .discount-coupon { padding: 16px; border-radius: 14px; margin-top: 16px !important; }
.checkout-page .discount-coupon .checkout-title { font-size: 16px; margin-bottom: 14px !important; }
.checkout-page .discount-coupon .row { row-gap: 10px; }
.checkout-page .discount-coupon[open] > summary { margin-bottom: 12px; }
.checkout-page .discount-coupon .mb--25 { margin-bottom: 0 !important; }
.checkout-page #applay-code, .checkout-page #remove-coupon { width: 100%; min-height: 48px; height: auto; padding: 12px 16px; border-radius: 10px; text-align: center; line-height: 1.5; }
.checkout-page .checkout-payment-method .single-method { position: relative; margin-bottom: 16px; }
.checkout-page .checkout-payment-method .single-method:last-child { margin-bottom: 0; }
.checkout-page .checkout-payment-method .single-method > input:is([type="radio"], [type="checkbox"]) { position: absolute; top: 13px; left: 0; width: 20px; height: 20px; margin: 0; padding: 0; opacity: 1; appearance: auto; accent-color: var(--checkout-accent); }
.checkout-page .checkout-payment-method .single-method > label { min-height: 44px; padding: 10px 0 10px 30px; margin-bottom: 0; font-size: 14px; line-height: 1.6; }
.checkout-page .checkout-payment-method .single-method > label::before, .checkout-page .checkout-payment-method .single-method > label::after { display: none; }
.checkout-page .checkout-payment-method p[data-method]:not([hidden]) { display: block; margin: 10px 0 0; color: #75667a; font-size: 13px; line-height: 1.6; }
.checkout-page .checkout-form label { text-transform: none; }
.checkout-page .barion-payment-banner { margin-top: 12px; }
.checkout-page .barion-checkout-choice { padding: 12px; }
.checkout-page .barion-consent { padding: 12px; }
.checkout-submit { display: grid; gap: 14px; margin-top: 20px; padding: 18px 20px; border: 1px solid var(--checkout-border); border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(49, 24, 50, .04); }
.checkout-submit-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkout-submit-total strong { font-size: 22px; line-height: 1.4; white-space: nowrap; }
.checkout-page .checkout-form > .col-12 { margin-bottom: 18px; }
.checkout-page :is(button, a, summary):focus-visible { outline: 3px solid #c986a4; outline-offset: 3px; }
#account-section { scroll-margin-top: 100px; }
@media (min-width: 576px) {
    .checkout-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-field--wide { grid-column: 1 / -1; }
    .checkout-card, .checkout-page .checkout-cart-total, .checkout-page .checkout-payment-method { padding: 24px; }
}
@media (min-width: 992px) {
    .checkout-page { padding: 36px 0 64px; }
    .checkout-header { margin-bottom: 30px; }
    .checkout-header h1 { font-size: 36px; }
}
@media (max-width: 575px) {
    .checkout-page { padding-top: 12px; }
    .checkout-page .container { padding-right: 16px; padding-left: 16px; }
    .checkout-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .checkout-back { flex: 0 0 44px; justify-content: center; gap: 0; width: 44px; font-size: 0; border-radius: 10px; background: #f0ebf1; }
    .checkout-back i { font-size: 19px; }
    .checkout-header-main { flex: 1; min-width: 0; margin-top: 0; gap: 12px; }
    .checkout-eyebrow { display: none; }
    .checkout-header h1 { margin: 0; font-size: 24px; }
    .checkout-header-total span { font-size: 11px; }
    .checkout-header-total strong { font-size: 18px; }
    .checkout-progress { margin-bottom: 16px; }
    .checkout-progress-steps { gap: 3px; margin-bottom: 8px; }
    .checkout-progress-steps button { min-height: 50px; padding: 4px 1px; gap: 4px; font-size: 11px; }
    .checkout-progress-number { width: 24px; height: 24px; font-size: 12px; }
    .checkout-progress-bar { height: 3px; }
    .checkout-progress-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .checkout-page .single-method label { line-height: 1.6; }
    .checkout-page .bump { padding: 16px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .checkout-page *, .checkout-page *::before, .checkout-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
