/* ── Flat price display — replaces WC original price on WL PDPs ── */
.wlcf-flat-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: none;
    margin: 0 0 4px;
    line-height: 1.1;
}
.wlcf-flat-price-suffix {
    font-size: 1rem;
    font-weight: 400;
    display: none;
    color: #555;
    margin-left: 4px;
}

/* Hide WC price, sale price badge, and coupon line on WL PDP when plugin active */
.wlcf-active .price,
.wlcf-active .woocommerce-Price-amount,
.wlcf-active del:not(.wlcf-renewal-price),
.wlcf-active .wcsatt-options-wrapper .wcsatt-option-price,
.wlcf-active .cart-discount,
.wlcf-active .coupon-summary {
    display: none !important;
}

/* Hide coupon discount row on cart/checkout for wlcf items */
.wlcf-cart-price {
    font-weight: 600;
    color: #1a1a1a;
}

/* ── Start Now button ── */
.wlcf-start-now-wrap {
    margin-top: 12px;
}
.wlcf-start-now-btn {
    display: inline-block;
    display: block !important;
    padding: 14px 77px !important;
    max-width: 314px !important;
    font-size: 26px !important;
}


/* ── Pre-checkout popup overlay ── */
.wlcf-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
}
.wlcf-popup-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px 36px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.wlcf-popup-message {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.5;
}
.wlcf-popup-countdown {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}
.wlcf-popup-countdown strong {
    color: #008884;
    font-size: 1.3rem;
}

/* ── Thank-you page banner ── */
.wlcf-thankyou-banner {
    background: #f0faf9;
    border: 1px solid #008884;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 28px 0;
    text-align: center;
}
.wlcf-thankyou-banner h3 {
    color: #006e6b;
    margin: 0 0 10px;
    font-size: 1.2rem;
     text-align: center !important;
}
.wlcf-thankyou-banner p {
    margin: 0 0 16px;
    color: #333;
}
.wlcf-thankyou-banner a.button,
.wlcf-thankyou-banner a.button:visited,
.wlcf-thankyou-banner a.button:focus {
    background: #008884 !important;
    color: #fff !important;
    border-color: #008884 !important;
    text-decoration: none !important;
}
.wlcf-thankyou-banner a.button:hover {
    background: #006e6b !important;
    color: #fff !important;
    border-color: #006e6b !important;
}

/* ── Post-purchase GF Form 41: hide product-selection / brand / eligibility pages ── */
/* Hides pages tagged wlcf-skip-page immediately; JS auto-clicks Next to advance past them. */
body.wlcf-post-purchase .gform_page.wlcf-skip-page {
    display: none !important;
}
/* Suppress product_selection_ AJAX loader on post-purchase path */
body.wlcf-post-purchase .product_selection_,
body.wlcf-post-purchase .brand_of_product,
body.wlcf-post-purchase .eligibility-group {
    display: none !important;
}
/* Ensure hidden fields don't take up space */
body.wlcf-post-purchase .gform_hidden {
    display: none !important;
}

/* ── Checkout order-review table: strikethrough renewal + highlighted offer price ── */

/* Wrapper keeps both lines right-aligned in the product-total td */
.wlcf-subtotal-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
}

/* Renewal price — muted, crossed-out */
del.wlcf-renewal-price {
    display: block !important;
    text-decoration: line-through !important;
    color: #aaa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    background: none !important;
    font-style: normal !important;
    text-decoration-thickness: 1.5px !important;
    text-decoration-color: #aaa !important;
}
del.wlcf-renewal-price * {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: inherit !important;
}

/* Offer (first-month) price — brand teal, prominent */
ins.wlcf-offer-price {
    display: block !important;
    color: #008884 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    background: none !important;
    text-decoration: none !important;
}
ins.wlcf-offer-price * {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

/* "First month" badge above the offer price */
ins.wlcf-offer-price::before {
    content: "First month";
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #008884;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 1px;
}

/* ── Inline error (e.g. active subscription block) ── */
.wlcf-inline-error {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff3f3;
    border: 1px solid #e00;
    border-radius: 4px;
    color: #c00;
    font-size: 0.9rem;
    line-height: 1.5;
}
.wlcf-inline-error a {
    color: #c00;
    text-decoration: underline;
}
