@charset "UTF-8";

/* ── iOS iframe touch-coordinate fix ──────────────────────────────────────
   Any CSS transform, will-change:transform, or smooth-scroll on elements
   in the iframe's ancestor chain causes iOS Safari to cache the iframe's
   touch hitbox at render time and not update it as the page scrolls.
   Result: tapping the lower half of the iframe selects inputs above the tap.
   Solution: neutralise all transform/GPU/smooth-scroll on the checkout page.
   ───────────────────────────────────────────────────────────────────────── */
/* html scroll-behavior: modern browsers support :has() */
html:has(body.hdc-checkout) {
    scroll-behavior: auto !important;
}

body.hdc-checkout {
    scroll-behavior: auto !important;
}

/* Sticky site header is an ancestor of the iframe — iOS caches the iframe
   touch hitbox relative to the initial (non-scrolled) header position.
   Make it relative on checkout so no sticky offset exists. */
body.hdc-checkout .hv-dct-header {
    position: relative !important;
    top: auto !important;
}

body.hdc-checkout .hv-checkout-wrap,
body.hdc-checkout .hv-grid,
body.hdc-checkout .hv-form-col,
body.hdc-checkout .hv-card,
body.hdc-checkout #hvc-iframe-wrap,
body.hdc-checkout .hvc-payment-iframe {
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    perspective: none !important;
}

/* On mobile, all sticky-positioned elements above the iframe cause iOS to
   cache a wrong touch hitbox offset. Remove sticky on small screens. */
@media (max-width: 768px) {

    body.hdc-checkout .hv-dct-header,
    body.hdc-checkout .hv-progress-wrap,
    body.hdc-checkout .hv-sidebar-sticky {
        position: relative !important;
        top: auto !important;
    }
}

/* =========================================================
   HV Direct Checkout — checkout.css
   Loaded on any page with ?plan=PLAN_CODE.
   When hvc-checkout-cro.css is also loaded, this file only
   adds the new plugin's specific overrides.
   When standalone (no CRO plugin), this file is fully self-
   contained and defines all needed styles.
   ========================================================= */

/* ── CSS Variables (only set if not already defined by CRO CSS) ── */
:root {
    --hv-brand: #fc6100;
    --hv-brand-hover: #e05500;
    --hv-brand-light: #fff4ee;
    --hv-brand-border: rgba(252, 97, 0, .3);
    --hv-text-primary: #1c1c1e;
    --hv-text-secondary: #6b7280;
    --hv-text-tertiary: #62666d;
    --hv-border: #e5e7eb;
    --hv-bg-page: #f6f6f7;
    --hv-bg-card: #ffffff;
    --hv-bg-subtle: #f9fafb;
    --hv-success: #059669;
    --hv-success-light: #ecfdf5;
    --hv-success-border: rgba(5, 150, 105, .25);
    --hv-r-sm: 6px;
    --hv-r-md: 8px;
    --hv-r-lg: 12px;
    --hv-shadow-sm: 0 1px 3px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
    --hv-shadow-md: 0 4px 16px rgba(0, 0, 0, .09);
}

/* ── Body ── */
body.hdc-checkout {
    background: var(--hv-bg-page) !important;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--hv-text-primary);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Sticky footer: push footer to bottom of viewport when content is short */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Checkout content fills remaining space between header and footer */
body.hdc-checkout .hv-checkout-wrap {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

body.hdc-checkout .navbar,
body.hdc-checkout #header,
body.hdc-checkout .site-header,
body.hdc-checkout footer.site-footer,
body.hdc-checkout .entry-header,
body.hdc-checkout .breadcrumb {
    display: none !important;
}

/* ── Override theme container constraint ── */
body.hdc-checkout .hv-dct-page-inner {
    max-width: none;
    padding: 0;
}

/* ── Page wrapper ── */
.hv-checkout-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

/* ── Header ── */
.hv-header {
    background: #fff;
    border-bottom: 1px solid var(--hv-border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 -20px 24px;
}

.hv-header-logo img,
.hv-header-logo .custom-logo {
    height: 38px;
    width: auto;
}

.hv-header-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--hv-text-secondary);
}

/* ── Progress stepper ── */
.hv-progress {
    max-width: 600px;
    display: flex;
    align-items: flex-start;
    margin: 0 auto 20px;
    padding: 4px 40px 10px;
    gap: 0;
}

.hv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    gap: 10px;
    cursor: default;
    transition: opacity .2s;
}

.hv-step:not(.active):not(.done) {
    opacity: .8;
}

.hv-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--hv-border);
    background: var(--hv-bg-subtle);
    color: var(--hv-text-tertiary);
    transition: all .25s;
    position: relative;
    z-index: 2;
}

.hv-step.active .hv-step-num {
    background: var(--hv-brand);
    color: #fff;
    border-color: var(--hv-brand);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hv-brand), 0 4px 14px rgba(252, 97, 0, .22);
}

.hv-step.done .hv-step-num {
    background: var(--hv-success);
    color: #fff;
    border-color: var(--hv-success);
}

.hv-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-text-primary);
    white-space: nowrap;
    line-height: 1.2;
}

.hv-step-sublabel {
    font-size: 11px;
    color: var(--hv-text-tertiary);
    white-space: nowrap;
    margin-top: 2px;
}

.hv-step.active .hv-step-label {
    color: var(--hv-brand);
}

.hv-step.done .hv-step-label {
    color: var(--hv-success);
}

.hv-step-connector {
    flex: 1;
    height: 2px;
    background: var(--hv-border);
    margin-top: 17px;
    border-radius: 2px;
    transition: background .3s;
    position: relative;
    z-index: 1;
}

.hv-step-connector.done {
    background: var(--hv-success);
}

.hv-step-connector.active {
    background: linear-gradient(to right, var(--hv-success) 0, var(--hv-brand) 100%);
}

/* ── Hero banner ── */
.hv-hero {
    background: linear-gradient(135deg, #0f2167 0, #1a3aad 55%, #16a34a 100%);
    border-radius: var(--hv-r-lg);
    padding: 22px 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hv-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 5%;
    width: 320px;
    height: 220px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, .14) 0, transparent 70%);
    pointer-events: none;
}

.hv-hero-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.hv-hero-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    margin: 0;
}

.hv-hero-badge {
    text-align: center;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--hv-r-md);
    padding: 10px 22px;
    flex-shrink: 0;
}

.hv-hero-badge .amount {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -.5px;
}

.hv-hero-badge .badge-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .82);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ── Success banner (shown on questionnaire step after payment) ── */
.hv-success-banner {
    background: linear-gradient(135deg, #065f46 0, #059669 100%);
    border-radius: var(--hv-r-lg);
    padding: 20px 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hv-success-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.hv-success-banner-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.hv-success-banner-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

.hv-success-banner-text strong {
    color: #fff;
}

/* ── Trust pills ── */
.hv-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hv-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--hv-border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--hv-text-secondary);
    font-weight: 500;
}

.hv-trust-pill.highlight {
    border-color: var(--hv-brand-border);
    color: var(--hv-brand);
    background: var(--hv-brand-light);
}

/* ── 2-col layout ── */
.hv-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 0px;
    align-items: start;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;

}

.hv-grid--no-sidebar {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}

/* ── Card ── */
.hv-card {
    padding: 25px;
}

/* ── Section header inside card ── */
.hv-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    background: #fff;
}

.hv-section-icon {
    width: 36px;
    height: 36px;
    background: var(--hv-brand-light);
    border-radius: var(--hv-r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hv-brand);
    flex-shrink: 0;
}

.hv-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hv-text-primary);
    line-height: 1.3;
}

.hv-section-sub {
    font-size: 12px;
    color: var(--hv-text-secondary);
    margin-top: 2px;
}

/* back link in section header */
.hvc-back-link {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--hv-brand);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.hvc-back-link:hover {
    color: var(--hv-brand-hover);
}

/* ── Step panels ── */
.hv-step-panel {
    display: none;
}

.hv-step-panel.active {
    display: block;
}

/* ── Billing form ── */
.hdc-billing-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hdc-form-row {
    margin-bottom: 16px;
}

.hdc-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hdc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hdc-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-text-primary);
}

.hdc-field abbr {
    text-decoration: none;
    color: #dc2626;
    margin-left: 2px;
}

.hdc-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--hv-border);
    border-radius: var(--hv-r-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--hv-text-primary);
    background: var(--hv-bg-card);
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.hdc-input:focus {
    border-color: var(--hv-brand);
    box-shadow: 0 0 0 3px var(--hv-brand-light);
}

.hdc-input.hdc-input--error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.hdc-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ── OTP box ── */
.hdc-otp-box {
    background: var(--hv-bg-subtle);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-r-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.hdc-otp-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.hdc-otp-row .hdc-input {
    max-width: 140px;
    letter-spacing: .2em;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.hdc-link-btn {
    background: none;
    border: none;
    color: var(--hv-brand);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.hdc-link-btn:hover {
    color: var(--hv-brand-hover);
}

/* ── Coupon ── */
.hvc-coupon-wrap {
    margin-top: 4px;
}

.hvc-coupon-inputs {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    align-items: center;
}

.hvc-coupon-inputs .hdc-input {
    max-width: 220px;
}

.hvc-field-msg {
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
}

/* ── Navigation / CTA ── */
.hv-nav {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.hv-cta-microcopy {
    font-size: 12px;
    color: var(--hv-text-secondary);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Buttons ── */
.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 600;
    border-radius: var(--hv-r-sm);
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
    text-decoration: none;
    border: 2px solid transparent;
    padding: 11px 24px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.hv-btn-primary {
    background: var(--hv-brand);
    color: #fff;
    border-color: var(--hv-brand);
}

.hv-btn-primary:hover {
    background: var(--hv-brand-hover);
    border-color: var(--hv-brand-hover);
}

.hv-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.hv-btn-secondary {
    background: #fff;
    color: var(--hv-text-primary);
    border-color: var(--hv-border);
}

.hv-btn-secondary:hover {
    border-color: var(--hv-brand);
    color: var(--hv-brand);
}

.hv-btn-ghost {
    background: transparent;
    color: var(--hv-text-secondary);
    border-color: transparent;
    padding-left: 8px;
    padding-right: 8px;
}

.hv-btn-ghost:hover {
    color: var(--hv-text-primary);
}



/* ── Payment iframe card (Zoho Form Mode) ── */
.hv-card--iframe {
    padding: 0;
    overflow: hidden;
    /* clips iframe to card border-radius */
}

/* Section header inside iframe card — needs its own padding since card has padding:0 */
.hvc-iframe-card-head {
    padding: 25px 25px 0;
    text-align: left;
}

.hvc-iframe-card-head .hv-section-head {
    justify-content: flex-start;
}

/* Keep spinner centred with its own padding */
.hv-card--iframe .hvc-spinner-wrap {
    padding: 40px 20px;
}

/* ── Payment iframe area ── */
#hvc-iframe-wrap {}

#hvc-iframe-wrap iframe,
.hvc-payment-iframe {
    display: block;
    width: 100%;
    height: 1020px;
    min-height: 1020px;
    border: none;
    /* No transforms — any CSS transform on the iframe itself breaks iOS touch
       coordinate mapping inside cross-origin iframes. */
    transform: none !important;
    will-change: auto !important;
    margin-top: -50px;
}

/* ── Spinner ── */
/* Full-page loader — shown while Zoho hosted form initialises */
#hdc-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdc-pl-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hdc-pl-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--hv-brand);
    border-radius: 50%;
    animation: hvc-spin .7s linear infinite;
}

.hdc-pl-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.hvc-spinner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--hv-text-secondary);
    font-size: 14px;
}

.hvc-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--hv-border);
    border-top-color: var(--hv-brand);
    border-radius: 50%;
    animation: hvc-spin .7s linear infinite;
}

@keyframes hvc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Payment error ── */
#hvc-payment-error {
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--hv-r-sm);
    color: #991b1b;
    font-size: 14px;
}

/* ── Customer review chip (step 2 header) ── */
.hvc-customer-review {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--hv-bg-subtle);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-r-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ── Questionnaire ── */
#hvc-q-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Success ── */
.hvc-success-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--hv-success-light);
    border: 1px solid var(--hv-success-border);
    border-radius: var(--hv-r-lg);
    padding: 24px 28px;
    margin-bottom: 16px;
}

.hvc-success-ring {
    width: 56px;
    height: 56px;
    background: var(--hv-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(5, 150, 105, .15);
}

.hvc-success-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--hv-success);
    margin: 0 0 4px;
}

.hvc-success-subtitle {
    font-size: 14px;
    color: var(--hv-text-secondary);
    margin: 0;
}

.hvc-next-steps-card {
    margin-bottom: 0;
}

.hvc-next-steps-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hv-text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hvc-next-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.hvc-next-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hvc-next-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--hv-bg-subtle);
    border: 1.5px solid var(--hv-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--hv-text-secondary);
    flex-shrink: 0;
}

.hvc-next-step-num--brand {
    background: var(--hv-brand-light);
    border-color: var(--hv-brand-border);
    color: var(--hv-brand);
}

.hvc-next-step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--hv-text-primary);
}

.hvc-next-step-sub {
    font-size: 12px;
    color: var(--hv-text-secondary);
    margin-top: 2px;
}

.hvc-success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hdc-redirect-notice {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--hv-text-secondary);
    text-align: center;
}

/* ── Sidebar ── */
.hv-sidebar-col {
    /* sticky via inner div */
    margin-top: 14px;
}

.hv-sidebar-sticky {
    position: sticky;
    top: 88px;
    /* theme header 64px + 24px breathing room */
}

.hv-order-summary-card {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
}

.hv-order-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--hv-text-tertiary);
    text-transform: uppercase;
    letter-spacing: .09em;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hv-border);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hv-order-confirmed .hv-order-header {
    color: var(--hv-success);
    border-bottom-color: #bbf7d0;
}

.hvc-payment-confirmed-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: none;
    white-space: nowrap;
}

.hv-order-confirmed .hv-si-product {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

/* ── Plan hero block ── */
.hv-summary-inner {
    padding: 22px 22px 20px;
}

.hv-si-product {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--hv-r-md);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.hv-si-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.hv-si-product-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--hv-text-primary);
    line-height: 1.35;
}

.hv-si-product-type {
    font-size: 11px;
    color: var(--hv-text-tertiary);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hv-si-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 2px;
}

.hv-si-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--hv-text-primary);
    line-height: 1;
    letter-spacing: -.5px;
}

.hv-si-price-period {
    font-size: 11px;
    color: var(--hv-text-tertiary);
}

/* ── Line item rows ── */
.hv-si-lines {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hv-border);
    padding-top: 4px;
}

.hv-si-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--hv-text-secondary);
    border-bottom: 1px solid #f1f5f9;
}

.hv-si-row:last-child {
    border-bottom: none;
}

.hv-si-row span:first-child {
    flex: 1;
}

.hv-si-row span:last-child {
    flex-shrink: 0;
    font-weight: 500;
    color: var(--hv-text-primary);
}

.hv-si-row small {
    display: block;
    font-size: 11px;
    color: var(--hv-text-tertiary);
    margin-top: 2px;
    font-weight: 400;
}

.hv-si-row--trial,
.hv-si-row--trial span:last-child {
    color: var(--hv-success);
}

.hv-si-row--muted {
    opacity: .65;
    font-size: 12px;
}

/* ── Total ── */
.hv-si-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding: 14px 0 2px;
    border-top: 2px solid var(--hv-text-primary);
    font-size: 16px;
    font-weight: 800;
    color: var(--hv-text-primary);
    letter-spacing: -.2px;
}

/* ── Zero-charge trial badge ── */
.hv-zero-badge {
    margin-top: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1.5px solid var(--hv-success-border);
    border-radius: var(--hv-r-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hv-zero-badge-icon {
    color: var(--hv-success);
    flex-shrink: 0;
    display: flex;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(5, 150, 105, .15);
}

.hv-zero-badge-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hv-zero-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--hv-success);
    line-height: 1;
    letter-spacing: -1px;
}

.hv-zero-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hv-success);
    margin-top: 4px;
}

.hv-zero-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* ── Testimonial ── */
.hv-testimonial {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--hv-bg-subtle);
    border-radius: var(--hv-r-md);
    border: 1px solid var(--hv-border);
    border-left: 3px solid #f59e0b;
}

.hv-testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hv-stars {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 1px;
}

.hv-testimonial-verified {
    font-size: 10px;
    font-weight: 600;
    color: var(--hv-success);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hv-testimonial-text {
    font-size: 12px;
    color: var(--hv-text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 12px;
}

.hv-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hv-testimonial-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .5px;
}

.hv-testimonial-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--hv-text-primary);
}

.hv-testimonial-role {
    font-size: 11px;
    color: var(--hv-text-tertiary);
    margin-top: 1px;
}

/* ── Guarantees ── */
.hv-guarantees {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hv-border);
}

.hv-guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--hv-text-secondary);
}

.hv-guarantee-item svg {
    color: var(--hv-success);
    flex-shrink: 0;
}

/* ── SSL note ── */
.hv-ssl-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hv-border);
    font-size: 11px;
    color: var(--hv-text-tertiary);
}

.hv-ssl-note svg {
    flex-shrink: 0;
    color: var(--hv-text-tertiary);
}

/* Sidebar guarantee (legacy) */
.hv-sidebar-guarantee {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hv-border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--hv-text-secondary);
}

.hv-sidebar-guarantee svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--hv-success);
}

/* ── Exit intent modal ── */
.hv-exit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hv-exit-modal-box {
    background: #fff;
    border-radius: var(--hv-r-lg);
    padding: 36px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--hv-shadow-md);
    position: relative;
    text-align: center;
}

.hv-exit-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--hv-text-secondary);
    line-height: 1;
    padding: 0;
}

.hv-exit-modal-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.hv-exit-modal-box p {
    font-size: 14px;
    color: var(--hv-text-secondary);
    margin: 0 0 20px;
}

.hv-exit-modal-box .hv-btn {
    width: 100%;
    margin-bottom: 10px;
}


/* ── Sidebar: Subscription confirmed (shown on success) ── */
.hvc-sub-confirmed {
    border: 1px solid var(--hv-success-border);
    border-radius: var(--hv-r-md);
    overflow: hidden;
    margin-bottom: 0;
}

.hvc-sub-confirmed-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--hv-success-light);
    border-bottom: 1px solid var(--hv-success-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--hv-success);
}

.hvc-sub-meta {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hvc-sub-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}

.hvc-sub-meta-row span:first-child {
    color: var(--hv-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.hvc-sub-meta-row span:last-child {
    font-weight: 600;
    color: var(--hv-text-primary);
    text-align: right;
    word-break: break-word;
    min-width: 0;
}

/* ══════════════════════════════════════════════════════════
   QUESTIONNAIRE (.hvq-*)
   Option-card UI — radio, checkbox, grid, select, textarea
══════════════════════════════════════════════════════════ */

#hv-questionnaire-dynamic {
    counter-reset: hv-question;
}

.hvq-question {
    margin-bottom: 28px;
    counter-increment: hv-question;
}

.hvq-question:last-of-type {
    margin-bottom: 0;
}

.hvq-question-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hv-text-primary);
    margin-bottom: 12px;
}

.hvq-question-title::before {
    content: counter(hv-question) ". ";
    color: var(--hv-text-tertiary);
    font-weight: 400;
    margin-right: 1px;
}

.hvq-question-desc {
    font-size: 13px;
    color: var(--hv-text-secondary);
    margin-bottom: 14px;
    margin-top: -6px;
}

.hvq-question-note {
    font-size: 12px;
    color: var(--hv-text-muted, #6b7280);
    margin: 10px 0 0;
    padding: 8px 12px;
    background: var(--hv-bg, #f9fafb);
    border-left: 3px solid var(--hv-border, #e5e7eb);
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.hvq-option-card input[type=checkbox],
.hvq-option-card input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hvq-freetext-wrap {
    margin: 6px 0 4px 0;
    animation: hvq-fadein .18s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hvq-repeater-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    background: var(--hv-bg, #fafafa);
    border: 1px solid var(--hv-border, #e5e7eb);
    border-radius: var(--hv-r-sm, 6px);
    padding: 10px 12px;
}

.hvq-repeater-row+.hvq-repeater-row {
    animation: hvq-fadein .2s ease;
}

.hvq-repeater-remove {
    background: none;
    border: 1.5px solid #ef4444;
    color: #ef4444;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 1px;
    transition: background .15s, color .15s;
    padding: 0;
}

.hvq-repeater-remove:hover {
    background: #ef4444;
    color: #fff;
}

.hvq-repeater-add {
    background: none;
    border: 1.5px dashed var(--hv-brand, #f97316);
    color: var(--hv-brand, #f97316);
    border-radius: var(--hv-r-sm, 6px);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    align-self: flex-start;
}

.hvq-repeater-add:hover {
    background: var(--hv-brand, #f97316);
    color: #fff;
}

.hvq-freetext-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 180px;
    min-width: 0;
}

.hvq-freetext-label {
    display: none;
}

.hvq-freetext-input {
    width: 100%;
    border: 1.5px solid var(--hv-brand);
    border-radius: var(--hv-r-sm);
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}

.hvq-freetext-input:focus {
    border-color: var(--hv-brand);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

@keyframes hvq-fadein {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hvq-option-card {
    border: 1.5px solid var(--hv-border);
    border-radius: var(--hv-r-md);
    padding: 12px 14px;
    cursor: pointer;
    transition: all .18s;
    background: #fff;
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hvq-option-card:hover {
    border-color: rgba(22, 163, 74, .3);
    background: #f0fdf4;
}

.hvq-option-card.selected {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.hvq-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.hvq-option-card--grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px 14px;
    margin-bottom: 0;
    gap: 8px;
}

.hvq-opt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.hvq-opt-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.hvq-option-card--grid .hvq-opt-icon {
    margin-bottom: 2px;
}

.hvq-opt-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.hvq-option-card--grid .hvq-opt-body {
    align-items: center;
}

.hvq-option-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-text-primary);
    line-height: 1.3;
}

.hvq-option-subdesc {
    font-size: 11px;
    color: var(--hv-text-secondary);
    line-height: 1.3;
}

.hvq-option-card.selected .hvq-option-label {
    color: #16a34a;
}

/* List-style pseudo radio/checkbox indicator */
.hvq-option-card:not(.hvq-option-card--grid)::before {
    content: "";
    flex-shrink: 0;
    align-self: center;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    background: #fff;
    transition: border-color .15s, background .15s;
}

.hvq-option-card:not(.hvq-option-card--grid):has(input[type=radio])::before {
    border-radius: 50%;
}

.hvq-option-card:not(.hvq-option-card--grid):has(input[type=checkbox])::before {
    border-radius: 4px;
}

.hvq-option-card:not(.hvq-option-card--grid):hover::before {
    border-color: rgba(22, 163, 74, .45);
}

.hvq-option-card:not(.hvq-option-card--grid):has(input[type=radio]).selected::before {
    border-color: #16a34a;
    background: radial-gradient(circle, #fff 33%, #16a34a 35%);
}

.hvq-option-card:not(.hvq-option-card--grid):has(input[type=checkbox]).selected::before {
    border-color: #16a34a;
    background: #16a34a url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Grid-style check mark (top-right) */
.hvq-option-card:not(.hvq-option-card--grid) .hvq-opt-check {
    display: none;
}

.hvq-opt-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    flex-shrink: 0;
}

.hvq-opt-check svg {
    color: #fff;
}

.hvq-option-card.selected .hvq-opt-check {
    opacity: 1;
}

/* Base .hv-input — text inputs, selects, textareas inside questions */
.hvq-question .hv-input {
    width: 100%;
    display: block;
    border: 1.5px solid var(--hv-border, #e5e7eb);
    border-radius: var(--hv-r-sm, 6px);
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--hv-text, #111827);
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.hvq-question .hv-input:focus {
    border-color: var(--hv-brand, #f97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

.hvq-question select.hv-input {
    height: 44px;
}

.hvq-question textarea.hv-input {
    height: auto;
    min-height: 80px;
    padding: 12px 14px;
    resize: vertical;
}

/* Validation state */
.hvq-question.hvq-unanswered .hvq-option-card,
.hvq-question.hvq-question--error .hvq-option-card,
.hvq-question.hvq-question--error .hv-input {
    border-color: #ef4444;
}

.hvq-question.hvq-unanswered .hvq-question-title::after,
.hvq-question.hvq-question--error .hvq-question-title::after {
    content: " \2190 required";
    font-size: 11px;
    color: #ef4444;
    font-weight: 400;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hv-grid {
        grid-template-columns: 1fr;
    }

    .hv-sidebar-col {
        order: -1;
    }

    .hv-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 600px) {
    .hv-checkout-wrap {
        padding: 0 16px 24px;
    }

    .hv-card {
        padding: 20px 16px;
    }

    .hdc-form-row--half {
        grid-template-columns: 1fr;
    }

    /* Prevent iOS auto-zoom on input focus (triggered when font-size < 16px).
       Auto-zoom shifts the viewport mid-interaction, making tap targets appear offset. */
    .hdc-input,
    .hdc-input:focus {
        font-size: 16px;
    }

    .hv-hero {
        display: none;
    }

    .hv-progress {
        padding: 4px 10px 10px;
    }

    .hv-step-label,
    .hv-step-sublabel {
        display: none;
    }

    .hv-trust-row,
    .hv-testimonial,
    .hv-sidebar-guarantee,
    .hv-guarantees {
        display: none;
    }

    #hvc-iframe-wrap {
        /* Match card's 16px side padding and 20px bottom padding for full-bleed.
           No negative top margin — see desktop comment above re iOS touch offset. */
        margin: 0 -16px -20px;
    }

    .hvc-payment-iframe {
        width: 100% !important;
        height: 1600px !important;
        min-height: 1600px !important;
        border: none !important;
    }
}

/* Landscape phones */
@media (max-width: 900px) and (orientation: landscape) {
    .hvc-payment-iframe {
        height: 1400px !important;
        min-height: 1400px !important;
    }
}