.hp-opc-shell {
    max-width: 1180px;
    margin: 0 auto 60px;
    padding: 24px 16px 40px;
    color: #102033;
}

.hp-opc-alert {
    background: #fff1f1;
    border: 1px solid #f4b5b5;
    color: #9d1b1b;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.hp-opc-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #f7fffb 0%, #eef7ff 100%);
    border: 1px solid #e6eef5;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 28px;
}

.hp-opc-kicker {
    color: #11945a;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.hp-opc-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
}

.hp-opc-description {
    margin-top: 14px;
    color: #617083;
    max-width: 760px;
}

.hp-opc-hero-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0bb36b;
    color: white;
    font-size: 44px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(11, 179, 107, .25);
    flex: 0 0 auto;
}

.hp-opc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

.hp-opc-section {
    background: #fff;
    border: 1px solid #edf1f5;
    border-radius: 22px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(15, 35, 65, .06);
}

.hp-opc-section-title {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.hp-opc-section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.hp-opc-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #eef8f3;
    display: grid;
    place-items: center;
}

.hp-domain-card {
    border: 1px solid #e5edf5;
    border-radius: 18px;
    padding: 18px;
    background: #fbfdff;
}

.hp-domain-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid #dfe8f1;
    border-radius: 999px;
    margin: 0 8px 12px 0;
    cursor: pointer;
    font-weight: 700;
}

.hp-domain-option.is-active {
    border-color: #0bb36b;
    color: #07824d;
    background: #effaf5;
}

.hp-domain-input-row {
    display: grid;
    grid-template-columns: 1fr 58px;
    gap: 10px;
}

.hp-domain-input-row input,
.hp-promo-box input {
    border: 1px solid #dce5ef;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 15px;
    min-height: 54px;
    width: 100%;
}

.hp-domain-input-row button {
    border: 0;
    border-radius: 14px;
    background: #0a2a43;
    color: white;
    font-size: 20px;
}

.hp-opc-help {
    color: #728093;
    font-size: 13px;
    margin: 12px 0 0;
}

.hp-cycle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hp-cycle-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #16283a;
    text-decoration: none;
    border: 2px solid #e6edf4;
    border-radius: 18px;
    padding: 20px 14px 0;
    min-height: 190px;
    overflow: hidden;
    transition: .18s ease;
    background: #fff;
}

.hp-cycle-card:hover {
    transform: translateY(-2px);
    border-color: #b8decf;
    text-decoration: none;
}

.hp-cycle-card.is-selected {
    border-color: #0bb36b;
    box-shadow: 0 16px 30px rgba(11, 179, 107, .16);
}

.hp-radio-dot {
    width: 18px;
    height: 18px;
    border: 2px solid #cfd8e3;
    border-radius: 50%;
}

.hp-cycle-card.is-selected .hp-radio-dot {
    border-color: #0bb36b;
    background: radial-gradient(circle, #0bb36b 45%, transparent 49%);
}

.hp-save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0bb36b;
    color: white;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 900;
}

.hp-cycle-price {
    font-size: 24px;
    font-weight: 900;
}

.hp-cycle-unit,
.hp-cycle-card small {
    color: #66768a;
    font-size: 12px;
}

.hp-cycle-card em {
    margin: auto -14px 0;
    padding: 10px 12px;
    background: #edf8f3;
    color: #07824d;
    font-style: normal;
    font-weight: 800;
    text-align: center;
    font-size: 12px;
}

.hp-payment-card {
    position: sticky;
    top: 18px;
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 55px rgba(10, 31, 56, .12);
}

.hp-payment-head,
.hp-summary-row,
.hp-total-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.hp-payment-head {
    align-items: center;
    margin-bottom: 18px;
}

.hp-payment-head h3 {
    margin: 0;
    font-weight: 900;
}

.hp-payment-head span {
    background: #0bb36b;
    color: white;
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 900;
}

.hp-summary-row,
.hp-total-row {
    border-top: 1px solid #eef2f6;
    padding: 16px 0;
}

.hp-summary-row small,
.hp-total-row small {
    display: block;
    color: #738196;
    font-weight: 500;
    margin-top: 4px;
}

.hp-promo-box {
    border-top: 1px solid #eef2f6;
    padding: 16px 0;
}

.hp-promo-box label,
.hp-gateways > label {
    display: block;
    font-weight: 900;
    margin-bottom: 9px;
}

.hp-promo-box button {
    width: 100%;
    border: 1px solid #0bb36b;
    color: #07824d;
    background: #effaf5;
    border-radius: 12px;
    padding: 11px;
    font-weight: 900;
    margin-top: 10px;
    text-transform: lowercase;
}

.hp-promo-box button.hp-remove {
    border-color: #f0a0a0;
    color: #bf2b2b;
    background: #fff5f5;
}

.hp-gateways {
    border-top: 1px solid #eef2f6;
    padding: 16px 0;
}

.hp-gateway-option {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #e1e9f1;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 9px;
    cursor: pointer;
}

.hp-gateway-option.is-selected {
    border-color: #0bb36b;
    background: #f1fbf6;
}

.hp-total-row {
    align-items: center;
    font-size: 18px;
}

.hp-total-row strong {
    font-size: 22px;
}

.hp-pay-now {
    display: block;
    background: #0bb36b;
    color: #fff !important;
    border-radius: 16px;
    text-align: center;
    padding: 16px;
    font-size: 18px;
    font-weight: 900;
    text-transform: lowercase;
    text-decoration: none !important;
    box-shadow: 0 15px 30px rgba(11, 179, 107, .24);
}

.hp-terms {
    color: #718093;
    font-size: 12px;
    line-height: 1.6;
    margin: 14px 0 0;
}

@media (max-width: 991px) {
    .hp-opc-grid {
        grid-template-columns: 1fr;
    }
    .hp-payment-card {
        position: static;
    }
    .hp-cycle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hp-opc-hero {
        padding: 24px;
    }
    .hp-opc-hero-icon {
        display: none;
    }
    .hp-cycle-grid {
        grid-template-columns: 1fr;
    }
    .hp-domain-input-row {
        grid-template-columns: 1fr;
    }
    .hp-domain-input-row button {
        min-height: 52px;
    }
}

.hp-domain-message {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}

.hp-domain-message.is-error {
    color: #b42318;
}

.hp-domain-message.is-success {
    color: #07824d;
}

.hp-pay-now {
    border: 0;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.hp-domain-result {
    margin-top: 14px;
    border: 1px solid #d8e6df;
    border-radius: 14px;
    padding: 14px;
    background: #f8fbfa;
    font-size: 14px;
    line-height: 1.45;
}

.hp-domain-result strong {
    display: block;
    color: #173b2f;
    margin-bottom: 5px;
}

.hp-domain-result p {
    margin: 4px 0 8px;
}

.hp-domain-result.is-success {
    border-color: #98d8b8;
    background: #f0fff7;
}

.hp-domain-result.is-warning {
    border-color: #ffd08a;
    background: #fff8e8;
}

.hp-domain-price {
    display: block;
    color: #46685a;
    font-weight: 700;
    margin-top: 4px;
}

.hp-domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.hp-domain-action {
    border: 1px solid #cbd8d1;
    background: #ffffff;
    color: #173b2f;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 800;
    cursor: pointer;
}

.hp-domain-action.is-primary {
    border-color: #0b7a44;
    background: #0b7a44;
    color: #ffffff;
}

/* OPC UX refinements: keep selections fluid and make domain decision actions clearer. */
.hp-domain-input-row {
    grid-template-columns: minmax(0, 1fr) 150px;
}

.hp-domain-input-row button {
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .01em;
    padding: 0 16px;
    white-space: nowrap;
}

.hp-cycle-card {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.hp-domain-result {
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 35, 65, .06);
}

.hp-domain-result-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hp-domain-result-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #0bb36b;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(11, 179, 107, .25);
}

.hp-domain-result-icon.is-warning {
    background: #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, .22);
}

.hp-domain-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(11, 122, 68, .16);
}

.hp-domain-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.hp-domain-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    border: 1px solid #d9e6df;
    background: #ffffff;
    color: #173b2f;
    border-radius: 16px;
    padding: 13px 14px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
    box-shadow: 0 8px 20px rgba(15, 35, 65, .05);
}

.hp-domain-action:hover {
    transform: translateY(-1px);
    border-color: #93c9af;
    box-shadow: 0 14px 26px rgba(15, 35, 65, .08);
}

.hp-domain-action span {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.hp-domain-action small {
    display: block;
    color: #60756b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.hp-domain-action.is-primary {
    border-color: #0b7a44;
    background: linear-gradient(135deg, #0b7a44 0%, #0bb36b 100%);
    color: #ffffff;
}

.hp-domain-action.is-primary small {
    color: rgba(255,255,255,.84);
}

@media (max-width: 640px) {
    .hp-domain-actions {
        grid-template-columns: 1fr;
    }
}

/* Core domain-result correction: availability only offers registration and result heading aligns with icon. */
.hp-domain-result-top {
    align-items: center;
}

.hp-domain-result-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.hp-domain-result-top .hp-domain-result-copy strong {
    display: inline;
    margin: 0;
    line-height: 1.25;
}

.hp-domain-result-top .hp-domain-result-copy p {
    margin-top: 5px;
}

.hp-domain-actions.is-single {
    grid-template-columns: minmax(220px, 420px);
}

.hp-domain-actions.is-single .hp-domain-action {
    justify-content: center;
}

/* Result header uses one explicit row so the icon and domain sentence stay together. */
.hp-domain-result-head {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.25;
}

.hp-domain-result-head .hp-domain-result-icon {
    flex: 0 0 30px;
}

.hp-domain-result-head strong {
    display: inline !important;
    margin: 0 !important;
    line-height: 1.25;
}

.hp-domain-result-copy > p {
    margin: 8px 0 8px 40px;
}

.hp-domain-result-copy > .hp-domain-price {
    margin-left: 40px;
}

@media (max-width: 480px) {
    .hp-domain-result-copy > p,
    .hp-domain-result-copy > .hp-domain-price {
        margin-left: 0;
    }
}

/* Same-page customer details and order creation */
.hp-client-section {
    border-top: 4px solid #13a538;
}

.hp-client-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hp-client-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #15243a;
    font-weight: 700;
}

.hp-client-grid label span small {
    color: #7c8798;
    font-weight: 500;
}

.hp-client-grid input,
.hp-client-grid select {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 12px;
    padding: 13px 14px;
    background: #fff;
    color: #102033;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.hp-client-grid input:focus,
.hp-client-grid select:focus {
    border-color: #13a538;
    box-shadow: 0 0 0 4px rgba(19, 165, 56, .12);
}

.hp-client-wide {
    grid-column: 1 / -1;
}

.hp-terms-check {
    flex-direction: row !important;
    align-items: center;
    background: #f6f9ff;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600 !important;
}

.hp-terms-check input {
    width: auto;
    min-width: 18px;
    height: 18px;
}

.hp-order-result {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid #dbe6f5;
    background: #f7fbff;
    padding: 14px;
    color: #1c2d42;
    line-height: 1.45;
}

.hp-order-result strong {
    display: block;
    margin-bottom: 5px;
}

.hp-order-result p {
    margin: 6px 0;
}

.hp-order-result ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.hp-order-result.is-error {
    border-color: #f3b8b8;
    background: #fff5f5;
    color: #8a1f1f;
}

.hp-order-result.is-success {
    border-color: #b9e8c3;
    background: #f1fff4;
    color: #145b25;
}

.hp-order-result.is-info {
    border-color: #bdd7ff;
    background: #f3f8ff;
    color: #1a4f8a;
}

.hp-payment-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    border-radius: 12px;
    background: #13a538;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    padding: 12px 14px;
}

.hp-pay-now:disabled {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 700px) {
    .hp-client-grid {
        grid-template-columns: 1fr;
    }
}

/* HostAfrica-style auth popup for Pay Now */
body.hp-auth-open {
    overflow: hidden;
}

.hp-auth-modal[hidden] {
    display: none !important;
}

.hp-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hp-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 32, .72);
    backdrop-filter: blur(6px);
}

.hp-auth-dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 32px 90px rgba(5, 15, 32, .35);
    padding: 28px;
    border: 1px solid rgba(255,255,255,.6);
}

.hp-auth-dialog:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 8px;
    background: linear-gradient(90deg, #13a538, #80cc28, #13a538);
    border-radius: 26px 26px 0 0;
}

.hp-auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #233247;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.hp-auth-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 38px;
}

.hp-auth-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #13a538, #80cc28);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(19,165,56,.25);
}

.hp-auth-brand p {
    margin: 0 0 3px;
    color: #13a538;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 900;
}

.hp-auth-brand h2 {
    margin: 0;
    color: #11223a;
    font-size: 28px;
    font-weight: 900;
}

.hp-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f3f7fb;
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 18px;
}

.hp-auth-tabs button {
    border: 0;
    border-radius: 12px;
    padding: 12px;
    background: transparent;
    color: #5f6f83;
    font-weight: 900;
    cursor: pointer;
}

.hp-auth-tabs button.is-active {
    background: #fff;
    color: #13a538;
    box-shadow: 0 8px 22px rgba(17,34,58,.08);
}

.hp-auth-panel {
    display: none;
}

.hp-auth-panel.is-active {
    display: block;
}

.hp-auth-panel > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #15243a;
    font-weight: 800;
    margin-bottom: 14px;
}

.hp-auth-panel input,
.hp-auth-panel select {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 14px;
    padding: 14px 15px;
    background: #fff;
    color: #102033;
    outline: none;
}

.hp-auth-panel input:focus,
.hp-auth-panel select:focus {
    border-color: #13a538;
    box-shadow: 0 0 0 4px rgba(19,165,56,.12);
}

.hp-auth-submit {
    width: 100%;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #13a538, #80cc28);
    color: #fff;
    padding: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(19,165,56,.25);
}

.hp-auth-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.hp-auth-register-prompt {
    width: 100%;
    margin-top: 14px;
    border: 2px dashed #13a538;
    border-radius: 16px;
    background: #f2fff5;
    color: #11321b;
    padding: 15px;
    cursor: pointer;
    text-align: left;
}

.hp-auth-register-prompt strong {
    display: block;
    font-size: 17px;
    font-weight: 950;
    color: #0f7f2a;
}

.hp-auth-register-prompt small {
    display: block;
    margin-top: 4px;
    color: #526272;
    font-weight: 700;
}

.hp-auth-login-link {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    margin-top: 12px;
    color: #13a538;
    font-weight: 900;
    cursor: pointer;
}

.hp-auth-message {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #bdd7ff;
    background: #f3f8ff;
    color: #1a4f8a;
    font-weight: 700;
}

.hp-auth-message.is-error {
    border-color: #f3b8b8;
    background: #fff5f5;
    color: #8a1f1f;
}

.hp-auth-message.is-success {
    border-color: #b9e8c3;
    background: #f1fff4;
    color: #145b25;
}

.hp-client-grid.compact {
    gap: 11px;
    margin-bottom: 16px;
}

.hp-client-grid.compact label {
    margin: 0;
}

.hp-client-grid.compact input,
.hp-client-grid.compact select {
    padding: 12px 13px;
}

@media (max-width: 640px) {
    .hp-auth-modal {
        padding: 12px;
        align-items: flex-end;
    }
    .hp-auth-dialog {
        border-radius: 22px 22px 0 0;
        max-height: 92vh;
        padding: 22px;
    }
    .hp-auth-dialog:before {
        border-radius: 22px 22px 0 0;
    }
    .hp-auth-brand h2 {
        font-size: 23px;
    }
}

/* Modal must stay hidden until Pay Now explicitly opens it. Keep this last to beat earlier display rules. */
#hpAuthModal.hp-auth-modal[hidden] {
    display: none !important;
}

/* Cleaner order summary card */
.hp-summary-note {
    margin: -6px 0 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f4fbf6;
    color: #42624d;
    font-size: 13px;
    font-weight: 700;
}

.hp-summary-domain-row {
    background: #fbfdff;
    border: 1px solid #e6edf6;
    border-radius: 16px;
    padding: 14px;
    margin-left: -4px;
    margin-right: -4px;
}

#hpSummaryDomain {
    word-break: break-word;
}

#hpSummaryDomainType {
    color: #13a538;
    font-size: 13px;
    text-align: right;
}

.hp-pay-now[hidden] {
    display: none !important;
}

/* Hostpido website-aligned OPC theme: navy + coral + royal blue, with green reserved for success states. */
:root {
    --hp-brand-navy: #07184a;
    --hp-brand-navy-2: #0b1b4f;
    --hp-brand-coral: #ff6f4f;
    --hp-brand-coral-dark: #f15737;
    --hp-brand-blue: #4f43c9;
    --hp-brand-blue-2: #315bff;
    --hp-brand-bg: #f3f7fd;
    --hp-brand-soft: #f7f9ff;
    --hp-brand-border: #e6ecf7;
    --hp-brand-text: #59677d;
    --hp-brand-success: #13a538;
}

body {
    background: var(--hp-brand-bg);
}

.hp-opc-shell {
    color: var(--hp-brand-navy);
    font-family: "Open Sans", Inter, Arial, sans-serif;
}

.hp-opc-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 12%, rgba(255,111,79,.22), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(79,67,201,.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f6f9ff 48%, #eef4ff 100%);
    border: 1px solid rgba(79,67,201,.12);
    box-shadow: 0 24px 70px rgba(7,24,74,.10);
}

.hp-opc-hero:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: linear-gradient(180deg, var(--hp-brand-coral), var(--hp-brand-blue));
}

.hp-opc-kicker {
    color: var(--hp-brand-coral);
    letter-spacing: .08em;
}

.hp-opc-hero h1,
.hp-opc-section-title h2,
.hp-payment-head h3 {
    color: var(--hp-brand-navy);
    letter-spacing: -.03em;
}

.hp-opc-hero h1 strong {
    color: var(--hp-brand-coral);
}

.hp-opc-description,
.hp-opc-help,
.hp-summary-row small,
.hp-total-row small,
.hp-terms {
    color: var(--hp-brand-text);
}

.hp-opc-hero-icon {
    background: linear-gradient(135deg, var(--hp-brand-coral), var(--hp-brand-blue));
    box-shadow: 0 22px 45px rgba(79,67,201,.22);
}

.hp-opc-section,
.hp-payment-card,
.hp-auth-dialog {
    border-color: rgba(79,67,201,.10) !important;
    box-shadow: 0 22px 60px rgba(7,24,74,.09) !important;
}

.hp-opc-icon {
    background: linear-gradient(135deg, rgba(79,67,201,.12), rgba(255,111,79,.14));
    color: var(--hp-brand-blue);
}

.hp-domain-card,
.hp-summary-domain-row {
    background: linear-gradient(180deg, #ffffff 0%, var(--hp-brand-soft) 100%);
    border-color: var(--hp-brand-border);
}

.hp-domain-option {
    border-color: #dce4f6;
    color: var(--hp-brand-navy);
    background: #fff;
}

.hp-domain-option.is-active {
    border-color: var(--hp-brand-blue);
    color: var(--hp-brand-blue);
    background: rgba(79,67,201,.07);
    box-shadow: 0 8px 20px rgba(79,67,201,.10);
}

.hp-domain-input-row input,
.hp-promo-box input,
.hp-auth-field input,
.hp-auth-field select {
    border-color: #dce4f6 !important;
    background: #fff;
    color: var(--hp-brand-navy);
}

.hp-domain-input-row input:focus,
.hp-promo-box input:focus,
.hp-auth-field input:focus,
.hp-auth-field select:focus {
    outline: none;
    border-color: var(--hp-brand-blue) !important;
    box-shadow: 0 0 0 4px rgba(79,67,201,.10);
}

.hp-domain-input-row button,
.hp-auth-submit,
.hp-promo-box button {
    background: linear-gradient(135deg, var(--hp-brand-blue), var(--hp-brand-blue-2)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(79,67,201,.20);
}

.hp-cycle-card {
    border-color: #e5eafa;
    box-shadow: 0 12px 28px rgba(7,24,74,.04);
}

.hp-cycle-card:hover {
    border-color: rgba(255,111,79,.42);
    box-shadow: 0 18px 38px rgba(7,24,74,.08);
}

.hp-cycle-card.is-selected {
    border-color: var(--hp-brand-coral);
    box-shadow: 0 18px 38px rgba(255,111,79,.18);
}

.hp-cycle-card.is-selected .hp-radio-dot {
    border-color: var(--hp-brand-coral);
    background: radial-gradient(circle, var(--hp-brand-coral) 45%, transparent 49%);
}

.hp-save-badge,
.hp-cycle-card em {
    background: var(--hp-brand-coral);
    color: #fff;
}

.hp-cycle-price,
.hp-total-row strong,
#hpSummaryProductTotal,
#hpSummaryGrandTotal {
    color: var(--hp-brand-coral);
}

.hp-payment-card {
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, rgba(255,111,79,.45), rgba(79,67,201,.38)) border-box;
    border: 1px solid transparent;
}

.hp-payment-head span {
    background: var(--hp-brand-navy);
    color: #fff;
}

.hp-summary-note {
    background: linear-gradient(135deg, rgba(79,67,201,.08), rgba(255,111,79,.09));
    color: var(--hp-brand-navy);
}

#hpSummaryDomainType {
    color: var(--hp-brand-blue);
}

.hp-gateway-option.is-selected {
    border-color: var(--hp-brand-blue);
    background: rgba(79,67,201,.07);
}

.hp-pay-now,
.hp-payment-link {
    background: linear-gradient(135deg, var(--hp-brand-coral), var(--hp-brand-coral-dark)) !important;
    box-shadow: 0 18px 36px rgba(255,111,79,.27) !important;
    border: 0 !important;
    text-transform: none !important;
    letter-spacing: .01em;
}

.hp-pay-now:hover,
.hp-payment-link:hover {
    transform: translateY(-1px);
    filter: brightness(.99);
}

.hp-domain-result.is-success,
.hp-order-result.is-success {
    border-color: rgba(19,165,56,.22);
    background: linear-gradient(180deg, #f7fff9, #ffffff);
}

.hp-domain-result-icon,
.hp-domain-message.is-success {
    color: var(--hp-brand-success);
}

.hp-domain-result-icon.is-warning {
    color: var(--hp-brand-coral);
}

.hp-domain-action.is-primary {
    border-color: var(--hp-brand-coral) !important;
    background: var(--hp-brand-coral) !important;
    color: #fff !important;
}

.hp-auth-backdrop {
    background: rgba(7,24,74,.78) !important;
}

.hp-auth-dialog:before {
    background: linear-gradient(90deg, var(--hp-brand-coral), var(--hp-brand-blue), var(--hp-brand-coral)) !important;
}

.hp-auth-tabs button.is-active {
    background: var(--hp-brand-navy) !important;
    color: #fff !important;
}

.hp-auth-register-prompt {
    background: linear-gradient(135deg, rgba(255,111,79,.10), rgba(79,67,201,.08)) !important;
    border-color: rgba(255,111,79,.25) !important;
    color: var(--hp-brand-navy) !important;
}

.hp-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
}

.hp-trust-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-brand-navy);
    font-size: 12px;
    font-weight: 800;
}

.hp-trust-strip span:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(79,67,201,.10);
    color: var(--hp-brand-blue);
    font-size: 11px;
}

@media (max-width: 640px) {
    .hp-opc-hero:before { width: 5px; }
    .hp-opc-hero { border-radius: 20px; }
}
