.wh-cta-block-module {
    --wh-cta-btn-pad-top: 18px;
    --wh-cta-btn-pad-right: 24px;
    --wh-cta-btn-pad-bottom: 18px;
    --wh-cta-btn-pad-left: 24px;
    --wh-cta-btn-gap: 16px;
    --wh-cta-btn-radius: 6px;
    --wh-cta-btn-bg: #000;
    --wh-cta-btn-text: #fff;
    --wh-cta-btn-bg-hover: #2f3136;
    --wh-cta-btn-text-hover: #fff;
    --wh-cta-btn-font-size: clamp(18px, 2vw, 22px);
    --wh-cta-btn-line-height: 1.25;
    --wh-cta-btn-font-weight: 700;
    --wh-cta-btn-text-transform: none;
    --wh-cta-btn-letter-spacing: normal;
}

.wh-cta-block-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--wh-cta-btn-gap);
}

.wh-cta-block-button {
    width: 100%;
    border: none;
    border-radius: var(--wh-cta-btn-radius);
    cursor: pointer;
    padding: var(--wh-cta-btn-pad-top) var(--wh-cta-btn-pad-right) var(--wh-cta-btn-pad-bottom) var(--wh-cta-btn-pad-left);
    background: var(--wh-cta-btn-bg);
    color: var(--wh-cta-btn-text);
    text-align: center;
    font-weight: var(--wh-cta-btn-font-weight);
    font-size: var(--wh-cta-btn-font-size);
    line-height: var(--wh-cta-btn-line-height);
    text-transform: var(--wh-cta-btn-text-transform);
    letter-spacing: var(--wh-cta-btn-letter-spacing);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
    text-decoration: none !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wh-cta-block-button:hover,
.wh-cta-block-button:focus {
    background: var(--wh-cta-btn-bg-hover);
    color: var(--wh-cta-btn-text-hover);
}

.wh-cta-block-button:active {
    transform: translateY(1px);
}

.wh-cta-block-button-pair {
    display: flex;
    flex-direction: row;
    gap: calc(var(--wh-cta-btn-gap) * 0.75);
    width: 100%;
}

.wh-cta-block-button-pair .wh-cta-block-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.wh-cta-block-button--payment-calculator {
    justify-content: space-between;
    gap: 14px;
    text-align: left;
}

.wh-cta-block-calculator-divider {
    flex: 0 0 1px;
    align-self: stretch;
    position: relative;
    width: 1px;
}

.wh-cta-block-calculator-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: calc(40% + (var(--wh-cta-btn-pad-top, 18px) + var(--wh-cta-btn-pad-bottom, 18px)) * 0.4);
    transform: translateY(-50%);
    background: currentColor;
    opacity: 0.35;
}

.wh-cta-block-est-payment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    line-height: 1.15;
}

.wh-cta-block-est-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.78;
}

.wh-cta-block-est-amount {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.wh-cta-block-calculator-label {
    flex: 0 1 auto;
    min-width: 0;
    text-align: right;
}

.wh-cta-hidden-triggers {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
}

.wh-cta-hidden-triggers .wh-ptm-button,
.wh-cta-hidden-triggers .wh-finapp-button {
    display: none !important;
}

.wh-cta-hidden-triggers .wh-ptm-status-message,
.wh-cta-hidden-triggers .wh-ptm-submitted,
.wh-cta-hidden-triggers .wh-ptm-error,
.wh-cta-hidden-triggers .wh-finapp-error {
    display: none !important;
}

.wh-cta-block-message {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    background: #f7f8fa;
    color: #2f3440;
    font-size: 14px;
    line-height: 1.4;
}

.wh-cta-prequal-success {
    margin-top: 10px;
}

.wh-cta-prequal-success-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.wh-cta-prequal-success-range {
    margin: 0 0 12px;
    font-size: 18px;
}

.wh-cta-prequal-success-subtext {
    margin: 0 0 14px;
    color: #5f666d;
}

.wh-cta-prequal-fullapp-link {
    display: block;
    text-decoration: none !important;
}

.wh-cta-prequal-testmode {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #ffe28a;
    background: #fff8e1;
    border-radius: 6px;
}

.wh-cta-prequal-testmode-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #ffc107;
    color: #222;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 4px;
}

.wh-cta-prequal-testmode-select label {
    display: block;
    margin: 0 0 4px;
    font-size: 12px;
    color: #4a4f55;
}

.wh-cta-prequal-testmode-select select {
    min-width: 140px;
}

.wh-cta-prequal-consent-row {
    margin-top: 6px;
}

.wh-cta-prequal-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #3e454d;
    font-weight: 400;
}

.wh-cta-prequal-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
    top: 4px;
}

.wh-cta-price-drop-modal .wh-form-2-col {
    margin-bottom: 14px;
}

.wh-cta-price-drop-modal .form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.wh-cta-price-drop-modal .fl-input {
    width: 100%;
    box-sizing: border-box;
}

.wh-cta-price-drop-modal .preferred-contact-form-group {
    margin-bottom: 14px;
}

.wh-cta-price-drop-modal .wh-form-clear {
    margin-top: 6px;
}

.wh-cta-price-drop-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #3e454d;
    font-weight: 400;
}

.wh-cta-price-drop-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.wh-cta-price-drop-success-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.wh-cta-price-drop-success-subtext {
    margin: 0;
}

.wh-cta-price-drop-already-subscribed-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.wh-cta-price-drop-already-subscribed-subtext {
    margin: 0;
}

.wh-cta-calculator-dialog {
    width: min(590px, calc(100vw - 24px));
    max-width: 590px;
}

.wh-cta-calculator-dialog .wh-ptm-modal-header {
    padding-top: 12px;
    padding-bottom: 12px;
}

.wh-cta-calculator-dialog .wh-ptm-modal-body {
    padding: 14px 16px 16px;
}

.wh-cta-payment-calculator {
    color: #202124;
    font-size: 16px;
}

.wh-cta-calculator-field {
    min-width: 0;
    margin-bottom: 12px;
}

.wh-cta-calculator-field label {
    display: block;
    margin: 0 0 5px;
    color: #5f6b6d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.wh-cta-calculator-down-options {
    display: flex;
    gap: 7px;
    align-items: center;
    width: 100%;
}

.wh-cta-calculator-down-option,
.wh-cta-calculator-credit-option {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 8px;
    border: 1px solid #d5dadd;
    border-radius: 5px;
    background: #f0f1f2;
    color: #202124;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wh-cta-calculator-down-option:hover,
.wh-cta-calculator-down-option:focus,
.wh-cta-calculator-credit-option:hover,
.wh-cta-calculator-credit-option:focus {
    border-color: #202124;
    background: #e4e6e8;
}

.wh-cta-calculator-down-option.is-selected,
.wh-cta-calculator-credit-option.is-selected {
    border-color: #202124;
    background: #202124;
    color: #fff;
}

.wh-cta-calculator-credit-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.wh-cta-calculator-credit-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
    font-size: 12px;
}

.wh-cta-credit-label {
    font-weight: 700;
}

.wh-cta-credit-range {
    font-size: 0.92em;
    font-weight: 500;
}

.wh-cta-calculator-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.wh-cta-calculator-summary-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.wh-cta-calculator-summary-split .wh-cta-calculator-field {
    margin-bottom: 12px;
}

.wh-cta-calculator-split .wh-cta-calculator-field {
    margin-bottom: 12px;
}

.wh-cta-calculator-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 32px 0 14px;
    border: 1px solid #dfe4e5;
    border-radius: 12px;
    background-color: #fff;
    color: #202124;
    font-size: 15px;
    font-weight: 600;
}

.wh-cta-calculator-deposit-control,
.wh-cta-calculator-financed,
.wh-cta-calculator-apr {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f1f2f3;
    box-sizing: border-box;
    color: #202124;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.wh-cta-calculator-deposit-control {
    gap: 2px;
}

.wh-cta-calculator-deposit-control:focus-within {
    border-color: #202124;
}

.wh-cta-calculator-currency {
    flex: 0 0 auto;
}

.wh-cta-calculator-deposit-control input,
.wh-cta-calculator-deposit-control input[type="text"],
.wh-cta-calculator-deposit-control input[type="text"]:hover,
.wh-cta-calculator-deposit-control input[type="text"]:focus,
.wh-cta-calculator-deposit-control input[type="text"]:active {
    appearance: none;
    -webkit-appearance: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.wh-cta-calculator-deposit-control input[readonly] {
    cursor: text;
}

.wh-cta-calculator-payment-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 12px;
    border-bottom: 2px solid #e2e5e6;
    font-size: 16px;
}

.wh-cta-calculator-payment {
    flex-shrink: 0;
    font-size: 30px;
    line-height: 1;
}

.wh-cta-calculator-note {
    margin: 12px 0 4px;
    font-size: 14px;
    line-height: 1.4;
}

.wh-cta-calculator-disclaimer {
    margin: 0;
    color: #687174;
    font-size: 11px;
    line-height: 1.4;
}

.wh-cta-calculator-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 14px;
}

.wh-cta-calculator-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
}

.wh-cta-calculator-action-row.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.wh-cta-calculator-actions .wh-cta-calculator-workflow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .wh-cta-block-button-pair {
        gap: 8px;
    }

    .wh-cta-block-button-pair .wh-cta-block-button {
        padding-right: 10px;
        padding-left: 10px;
        font-size: min(var(--wh-cta-btn-font-size), 16px);
    }

    .wh-cta-calculator-payment-row {
        gap: 10px;
        font-size: 14px;
    }

    .wh-cta-calculator-payment {
        font-size: 27px;
    }

    .wh-cta-calculator-field select {
        padding-left: 10px;
        font-size: 13px;
    }

    .wh-cta-calculator-credit-options {
        gap: 5px;
    }

    .wh-cta-calculator-credit-option {
        padding-right: 4px;
        padding-left: 4px;
        font-size: 10px;
    }
}

