.registration-page {
    display: grid;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    min-height: calc(100vh - 104px);
    background: #f4f2ed;
    color: #20221d;
}

.registration-summary {
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 104px);
    padding: 42px 54px 58px;
    background:
        linear-gradient(180deg, rgba(18, 21, 31, .3), rgba(18, 21, 31, .92)),
        var(--registration-hero) center / cover no-repeat;
    color: #fff;
}

.registration-summary__back {
    align-self: start;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.registration-summary__content { max-width: 560px; }
.registration-kicker { margin: 0 0 12px; color: #b9df26; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.registration-summary h1 { margin: 0; font-size: clamp(38px, 4.4vw, 68px); line-height: .98; letter-spacing: -.045em; }
.registration-summary__category { margin: 18px 0 32px; color: #d9dbe0; font-size: 20px; }
.registration-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 34px; }
.registration-summary dl div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .28); }
.registration-summary dt { color: #aeb1ba; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.registration-summary dd { margin: 5px 0 0; font-weight: 700; }
.registration-summary__price { display: block; font-size: 38px; letter-spacing: -.035em; }
.registration-summary__quota { display: inline-flex; margin: 18px 0 0; padding: 9px 12px; border-radius: 999px; background: #c8f135; color: #20232d; font-size: 12px; font-weight: 800; }

.registration-main { min-width: 0; padding: 56px 48px 88px; }
.registration-main__inner { width: min(760px, 100%); margin: 0 auto; }
.registration-heading h2 { max-width: 660px; margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.03; letter-spacing: -.045em; }
.registration-heading > p:last-child { max-width: 620px; margin: 18px 0 0; color: #74766d; line-height: 1.6; }

.registration-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 42px 0 28px;
    padding: 0;
    border: 1px solid #d5d2c9;
    border-radius: 14px;
    overflow: hidden;
    list-style: none;
}

.registration-progress li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 14px; border-right: 1px solid #d5d2c9; color: #777970; font-size: 12px; font-weight: 800; }
.registration-progress li:last-child { border-right: 0; }
.registration-progress li span { color: #999b93; font-size: 10px; }
.registration-progress li.is-active { background: #ecf6c8; color: #20221d; }
.registration-progress li.is-complete { background: #f7f9ee; color: #526500; }

.registration-alert,
.registration-validation-summary:not(:empty) { margin: 24px 0; padding: 14px 16px; border: 1px solid #dda1a1; border-radius: 10px; background: #fff0f0; color: #8b2020; }
.registration-validation-summary:empty { display: none; }
.registration-validation-summary ul { margin: 0; padding-left: 20px; }

.registration-step {
    min-width: 0;
    margin: 0;
    padding: 34px;
    border: 1px solid #dedbd2;
    border-radius: 20px;
    background: #fff;
}
.registration-step[hidden] { display: none; }
.registration-step legend { display: flex; align-items: center; gap: 12px; padding: 0; color: #24261f; font-size: 25px; letter-spacing: -.025em; }
.registration-step legend span { color: #86a900; font-size: 12px; letter-spacing: .1em; }
.registration-step > p { margin: 8px 0 28px; color: #7a7c74; line-height: 1.55; }

.registration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.registration-grid > label,
.registration-choice-group { display: grid; align-content: start; gap: 8px; min-width: 0; color: #34362f; font-size: 13px; font-weight: 800; }
.registration-grid label > span:first-child small { color: #8b8d85; font-weight: 500; }
.registration-grid__wide { grid-column: 1 / -1; }
.registration-grid input:not([type="radio"]):not([type="checkbox"]),
.registration-grid select,
.registration-grid textarea {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #c9c7be;
    border-radius: 10px;
    background: #fbfaf7;
    color: #20221d;
    font: inherit;
    font-weight: 500;
}
.registration-grid textarea { resize: vertical; }
.registration-grid input:focus,
.registration-grid select:focus,
.registration-grid textarea:focus { outline: 3px solid rgba(159, 201, 0, .2); border-color: #789900; }
.registration-choice-row { display: flex; gap: 10px; }
.registration-choice { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 11px; border: 1px solid #c9c7be; border-radius: 10px; background: #fbfaf7; }
.registration-choice:has(input:checked) { border-color: #8aad00; background: #f0f8d5; }
.registration-choice:has(input:disabled) { opacity: .6; }
.registration-field-error { color: #a52b2b; font-size: 11px; font-weight: 700; }
.registration-field-error:empty { display: none; }

.registration-selection-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 18px; border-radius: 13px; background: #20232d; color: #fff; }
.registration-selection-card div { display: grid; gap: 4px; }
.registration-selection-card span { color: #b9bbc3; font-size: 11px; text-transform: uppercase; }
.registration-selection-card > strong { white-space: nowrap; color: #c8f135; font-size: 21px; }
.registration-agreements { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #dedbd2; }
.registration-agreement { display: flex; align-items: start; gap: 12px; padding: 14px; border: 1px solid #dedbd2; border-radius: 10px; background: #fbfaf7; color: #5c5e56; font-size: 13px; line-height: 1.5; }
.registration-agreement input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: #789900; }
.registration-agreement a { color: #415900; font-weight: 800; }
.registration-submit-note { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 15px 0; border-top: 1px solid #dedbd2; color: #74766d; font-size: 12px; }
.registration-submit-note strong { color: #2d2f29; }
.registration-step__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.registration-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid #20232d; border-radius: 999px; background: #20232d; color: #fff; font: inherit; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.registration-button:hover { background: #343844; }
.registration-button:disabled,
.registration-button.is-disabled { opacity: .48; cursor: not-allowed; }
.registration-button--ghost { border-color: #c9c7be; background: transparent; color: #363831; }

.payment-handoff { min-height: calc(100vh - 104px); padding: 72px 32px 100px; background: #f4f2ed; color: #20221d; }
.payment-handoff__inner { width: min(850px, 100%); margin: 0 auto; padding: 48px; border: 1px solid #dedbd2; border-radius: 24px; background: #fff; }
.payment-handoff h1 { max-width: 720px; margin: 0; font-size: clamp(40px, 6vw, 66px); line-height: 1; letter-spacing: -.05em; }
.payment-handoff__inner > p:not(.registration-kicker) { max-width: 680px; color: #74766d; line-height: 1.6; }
.payment-handoff__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 34px 0; border: 1px solid #dedbd2; border-radius: 15px; overflow: hidden; }
.payment-handoff__summary div { padding: 18px; border-right: 1px solid #dedbd2; border-bottom: 1px solid #dedbd2; }
.payment-handoff__summary div:nth-child(2n) { border-right: 0; }
.payment-handoff__summary div:nth-last-child(-n+2) { border-bottom: 0; }
.payment-handoff__summary dt { color: #81837b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.payment-handoff__summary dd { margin: 5px 0 0; font-size: 18px; font-weight: 800; }
.payment-handoff__notice { display: grid; gap: 5px; padding: 18px; border-left: 4px solid #a4cb13; background: #f2f7df; }
.payment-handoff__notice span { color: #697052; font-size: 12px; }
.payment-handoff__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.checkout-page { display: grid; grid-template-columns: minmax(360px, 40%) minmax(0, 1fr); min-height: calc(100vh - 104px); background: #f4f2ed; color: #20221d; }
.checkout-summary { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - 104px); padding: 46px 54px 58px; background: #20232d; color: #fff; }
.checkout-summary__back { display: inline-block; margin-bottom: 72px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.checkout-summary h1 { max-width: 620px; margin: 0; font-size: clamp(42px, 4.6vw, 70px); line-height: .96; letter-spacing: -.05em; }
.checkout-summary__category { color: #b9bbc3; font-size: 20px; }
.checkout-summary__details { display: grid; gap: 0; margin-top: 50px; border-top: 1px solid #454853; }
.checkout-summary__details > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid #454853; }
.checkout-summary__details span, .checkout-summary__details small { color: #aeb1ba; font-size: 11px; }
.checkout-summary__details small { grid-column: 1 / -1; }
.checkout-summary__details .is-discount strong { color: #c8f135; }
.checkout-summary__details .checkout-summary__total { margin-top: 20px; border: 0; }
.checkout-summary__total strong { color: #c8f135; font-size: 32px; }
.checkout-summary__details > [hidden], .checkout-fields[hidden] { display: none; }
.checkout-summary__details > .checkout-summary__payment-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.checkout-promo { flex: 1 1 180px; max-width: 280px; min-width: 0; }
.checkout-promo__controls { display: flex; align-items: center; gap: 8px; }
.checkout-promo input { box-sizing: border-box; min-width: 0; width: 100%; padding: 9px 10px; border: 1px solid #555862; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 12px; }
.checkout-promo input::placeholder { color: #aeb1ba; opacity: 1; }
.checkout-promo button { padding: 9px 0; border: 0; background: transparent; color: #c3c5cd; font: inherit; font-size: 12px; cursor: pointer; }
.checkout-promo button:hover { color: #fff; text-decoration: underline; }
.checkout-promo p { margin: 6px 0 0; color: #c3c5cd; font-size: 12px; }
.checkout-promo p:empty { display: none; }
.checkout-summary__amount { display: grid; gap: 6px; margin-left: auto; text-align: right; }
.checkout-summary__amount strong { white-space: nowrap; }
.checkout-main { min-width: 0; padding: 48px 48px 90px; }
.checkout-main__inner { width: min(760px, 100%); margin: 0 auto; }
.checkout-form { display: grid; gap: 22px; }
.checkout-card { margin: 0; padding: 30px; border: 1px solid #dedbd2; border-radius: 20px; background: #fff; }
.checkout-card legend { padding: 0; font-size: 25px; font-weight: 800; letter-spacing: -.025em; }
.checkout-card > p { margin: 6px 0 24px; color: #777970; font-size: 13px; }
.checkout-extras { display: grid; gap: 10px; }
.checkout-extra { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px; border: 1px solid #d7d4ca; border-radius: 12px; background: #fbfaf7; cursor: pointer; }
.checkout-extra:has(input:checked) { border-color: #8aad00; background: #f0f8d5; }
.checkout-extra input { width: 18px; height: 18px; accent-color: #789900; }
.checkout-extra span { display: grid; gap: 3px; }
.checkout-extra small { color: #777970; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checkout-field { display: grid; gap: 7px; color: #34362f; font-size: 13px; font-weight: 800; }
.checkout-field--wide { grid-column: 1 / -1; }
.checkout-field span small { color: #8b8d85; font-weight: 500; }
.checkout-field input, .checkout-field select { width: 100%; min-width: 0; min-height: 50px; box-sizing: border-box; padding: 12px 14px; border: 1px solid #c9c7be; border-radius: 10px; background: #fbfaf7; color: #20221d; font: inherit; font-weight: 500; }
.checkout-field input:focus, .checkout-field select:focus { outline: 3px solid rgba(159, 201, 0, .2); border-color: #789900; }
.checkout-assurance { display: grid; gap: 4px; padding: 16px 18px; border-left: 4px solid #a4cb13; background: #f2f7df; }
.checkout-assurance span, .checkout-expiry { color: #697052; font-size: 12px; }
.checkout-actions { display: flex; justify-content: flex-end; gap: 12px; }
.checkout-expiry { margin: -8px 0 0; text-align: right; }
.payment-result { min-height: calc(100vh - 104px); padding: 80px 24px 110px; background: #f4f2ed; color: #20221d; }
.payment-result__card { width: min(760px, 100%); box-sizing: border-box; margin: 0 auto; padding: 52px; border: 1px solid #dedbd2; border-radius: 24px; background: #fff; text-align: center; }
.payment-result__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 24px; border-radius: 50%; background: #c8f135; color: #20232d; font-size: 38px; font-weight: 900; }
.payment-result.is-processing .payment-result__icon { background: #f0c95b; }
.payment-result.is-error .payment-result__icon { background: #e87d69; }
.payment-result h1 { margin: 0 auto; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.045em; }
.payment-result__card > p:not(.registration-kicker) { color: #74766d; }
.payment-result dl { display: inline-grid; gap: 4px; margin: 25px 0 0; padding: 15px 22px; border-radius: 12px; background: #f2f7df; }
.payment-result dt { color: #697052; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.payment-result dd { margin: 0; font-weight: 900; }
.payment-result__inventory { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; width: min(420px, 100%); margin: 22px auto 0; padding: 18px 22px; box-sizing: border-box; border-radius: 12px; background: #f4f2ed; text-align: left; }
.payment-result__inventory span { color: #74766d; }
.payment-result__inventory strong { text-align: right; }
.checkout-cancel-form { margin-top: 14px; text-align: center; }
.checkout-cancel-button { border: 0; background: transparent; color: #7a342b; text-decoration: underline; cursor: pointer; }
.poster-page { min-height: calc(100vh - 104px); padding: 70px max(24px, 6vw) 100px; background: #f4f2ed; color: #20221d; }
.poster-page__heading { max-width: 760px; margin-bottom: 34px; }
.poster-page__heading h1 { margin: 0; font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.05em; }
.poster-page__heading > p:last-child { max-width: 620px; color: #696b64; }
.poster-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 30px; align-items: start; }
.poster-canvas-wrap { display: grid; place-items: center; min-height: 480px; padding: 24px; border-radius: 22px; background: #20232d; }
.poster-canvas-wrap canvas { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.poster-error { color: #fff; }
.poster-panel { display: grid; gap: 14px; padding: 25px; border: 1px solid #dedbd2; border-radius: 18px; background: #fff; }
.poster-panel > div { display: grid; gap: 5px; padding-bottom: 16px; border-bottom: 1px solid #ece9e1; }
.poster-panel > div > span { color: #777970; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.poster-panel__inventory ul { display: grid; gap: 8px; margin: 7px 0 0; padding: 0; list-style: none; }
.poster-panel__inventory li { display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 800px) { .poster-workspace { grid-template-columns: 1fr; } .poster-canvas-wrap { min-height: 0; padding: 14px; } }
.payment-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

@media (max-width: 980px) {
    .registration-page { grid-template-columns: 1fr; }
    .registration-summary { position: relative; min-height: 510px; padding: 34px 38px 44px; }
    .registration-summary__content { margin-top: 100px; }
    .registration-main { padding: 50px 32px 76px; }
    .checkout-page { grid-template-columns: 1fr; }
    .checkout-summary { position: relative; min-height: auto; padding: 38px; }
    .checkout-summary__back { margin-bottom: 56px; }
    .checkout-main { padding: 46px 32px 76px; }
}

@media (max-width: 620px) {
    .registration-summary { min-height: 500px; padding: 28px 18px 34px; }
    .registration-summary__content { margin-top: 70px; }
    .registration-summary h1 { font-size: 42px; }
    .registration-summary dl { gap: 14px; }
    .registration-main { padding: 36px 16px 60px; }
    .registration-heading h2 { font-size: 36px; }
    .registration-progress li { justify-content: center; padding: 13px 6px; font-size: 10px; }
    .registration-progress li span { display: none; }
    .registration-step { padding: 25px 17px; border-radius: 15px; }
    .registration-step legend { font-size: 21px; }
    .registration-grid { grid-template-columns: 1fr; }
    .registration-grid__wide { grid-column: auto; }
    .registration-choice-row { display: grid; grid-template-columns: 1fr 1fr; }
    .registration-step__actions { display: grid; }
    .registration-button { width: 100%; }
    .registration-selection-card,
    .registration-submit-note { align-items: start; flex-direction: column; }
    .payment-handoff { padding: 36px 16px 70px; }
    .payment-handoff__inner { padding: 30px 18px; border-radius: 17px; }
    .payment-handoff__summary { grid-template-columns: 1fr; }
    .payment-handoff__summary div,
    .payment-handoff__summary div:nth-child(2n) { border-right: 0; border-bottom: 1px solid #dedbd2; }
    .payment-handoff__summary div:last-child { border-bottom: 0; }
    .checkout-summary { padding: 28px 18px 34px; }
    .checkout-summary__back { margin-bottom: 44px; }
    .checkout-summary h1 { font-size: 42px; }
    .checkout-main { padding: 34px 16px 60px; }
    .checkout-card { padding: 24px 17px; border-radius: 15px; }
    .checkout-fields { grid-template-columns: 1fr; }
    .checkout-field--wide { grid-column: auto; }
    .checkout-extra { grid-template-columns: auto 1fr; }
    .checkout-extra b { grid-column: 2; }
    .checkout-actions { display: grid; }
    .checkout-expiry { text-align: left; }
    .payment-result { padding: 42px 16px 72px; }
    .payment-result__card { padding: 34px 18px; border-radius: 17px; }
    .payment-result__actions { display: grid; }
}
