/* ==========================================================================
   Astro PM Site Kit: all custom CSS for astro-pm.com lives here.
   Loaded last on every front-end page (after Elementor and WP EasyCart).
   Nothing else on the site holds custom CSS: Elementor Site Settings > Custom CSS,
   Appearance > Customize > Additional CSS and WP EasyCart > Design > Custom CSS are empty.

   Body classes added by the kit:
     .astropm-site      every page
     .astropm-acct-v2   the account page while an EasyCart customer is signed in (every page there
                        runs the stock WP EasyCart 6.0.7 design + Astro PM licenses)

   Sections:
     1. Site-wide (moved from Elementor Site Settings > Custom CSS, 2026-11-10)
     2. Account pages, signed out (login, register, forgot password; moved from Elementor).
        Every selector is scoped to body:not(.astropm-acct-v2), so none of it reaches the
        signed-in 6.0.7 pages. Rules here that only matched the pre-6.0.7 signed-in markup are
        dead and can be pruned over time.
     3. WP EasyCart 6.0.7 (loading cover, account menu)
     4. Account licenses (markup from includes/account-licenses.php)
     5. Docs / BetterDocs (moved from Customizer > Additional CSS, 2026-11-10)
   ========================================================================== */

/* 1. Site-wide ------------------------------------------------------------ */

/* ========== SITE-WIDE LINK COLORS ==========
   Hello Elementor's reset.css paints bare links #c36 (red) with a dark
   hover — never set anywhere in Elementor. Override globally. */
   
a { color: #5AB0FF; }
   
a:hover,
a:focus {
    color: #B07CFF;
}




/*  mailerlite stuff */

#mailerlite-form_1 .mailerlite-form form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

#mailerlite-form_1 .mailerlite-form-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    #mailerlite-form_1 .mailerlite-form form {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 6px;
        padding: 8px 0;
        position: relative;
    }

    #mailerlite-form_1 .mailerlite-form form > * {
        width: auto;
        text-align: center;
    }

    #mailerlite-form_1 .mailerlite-form form .ml-bar-close {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    #mailerlite-form_1 .mailerlite-form-inputs {
        justify-content: center;
    }
}



/* ============================================
   AstroPM — Unified Input & Button Styling
   Paste into: Elementor > Site Settings > Custom CSS
                (or Appearance > Customize > Additional CSS)
   NOT in WP EasyCart's CSS panel — it loads too late.
   ============================================ */

/* ========== FONT: Inter site-wide ========== */
/* Inter should be loaded by Elementor Theme Style.
   If WP EasyCart content still renders a different font,
   this rule forces it. */

.ec_cart_page,
.ec_cart_page *,
.ec_cart_left,
.ec_cart_left *,
.ec_cart_right,
.ec_cart_right *,
.ec_account_section,
.ec_account_section *,
.ec_login_box,
.ec_login_box *,
.ec_signup_box,
.ec_signup_box *,
.ec_cart_subscription,
.ec_cart_subscription *,
.ec_store_section,
.ec_store_section *,
.ec_account_panel,
.ec_account_panel *,
.ec_account_login_form,
.ec_account_login_form *,
.ec_account_signup_form,
.ec_account_signup_form *,
[id^="ec_"],
[class^="ec_"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ========== INPUTS ========== */

/* Generic inputs site-wide */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea,
select,
/* WP EasyCart specific input classes */
.ec_cart_contact_information_input_text,
.ec_cart_billing_input_text,
.ec_cart_shipping_input_text,
.ec_account_login_input_field,
.ec_account_signup_input_field,
.ec_account_billing_information_input_field,
.ec_account_shipping_information_input_field,
.ec_account_personal_information_input_field,
.ec_account_password_input_field,
.ec_billing_state_dropdown,
.ec_shipping_state_dropdown,
.ec_account_input,
.ec_signup_input,
.ec_signin_input,
.ec_login_input,
.ec_checkout_input,
.ec_setting input,
.ec_setting select,
.ec_setting textarea,
#ec_account_form input,
#ec_account_form select,
#ec_account_form textarea,
#ec_cart_form input,
#ec_cart_form select,
#ec_account_div input,
#ec_account_div select,
#ec_account_div textarea,
.ec_account_login_form input,
.ec_account_signup_form input,
.ec_cart_input_row input[type="text"],
.ec_cart_input_row input[type="email"],
.ec_cart_input_row input[type="password"],
.ec_cart_input_row select {
    background-color: #0D1426 !important;
    background-image: none !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Focus ring */
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: #5AB0FF !important;
    box-shadow: 0 0 0 3px rgba(90, 176, 255, 0.15) !important;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: #8A96B2 !important;
    opacity: 1;
}

/* Autofill override (Chrome hint state + active autofill) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill,
input:-internal-autofill-selected,
input:-internal-autofill-previewed {
    -webkit-box-shadow: 0 0 0 1000px #0D1426 inset !important;
    box-shadow: 0 0 0 1000px #0D1426 inset !important;
    -webkit-text-fill-color: #E8EDF7 !important;
    background-color: #0D1426 !important;
    background-image: none !important;
    caret-color: #E8EDF7 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Modern standard autofill pseudo-class (Chrome 100+) */
input:autofill,
textarea:autofill,
select:autofill {
    box-shadow: 0 0 0 1000px #0D1426 inset !important;
    -webkit-text-fill-color: #E8EDF7 !important;
    background-color: #0D1426 !important;
}

/* Force default appearance off so browser doesn't paint its own bg */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
.ec_cart_contact_information_input_text,
.ec_cart_billing_input_text,
.ec_cart_shipping_input_text {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* ---- Password autofill hint defeat ----
   Chrome shows a pale purple hint on password fields it plans to autofill.
   This uses an internal pseudo-class we can't target directly.
   Fix: paint an inset box-shadow on top of whatever Chrome is drawing,
   at all times (not just on :-webkit-autofill). */
input[type="password"],
input[type="email"],
input[type="text"],
textarea {
    -webkit-box-shadow: inset 0 0 0 1000px #0D1426 !important;
    box-shadow: inset 0 0 0 1000px #0D1426 !important;
    -webkit-text-fill-color: #E8EDF7 !important;
}

/* Focus state — combine inset paint with the blue outer ring */
input[type="password"]:focus,
input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    -webkit-box-shadow:
        inset 0 0 0 1000px #0D1426,
        0 0 0 3px rgba(90, 176, 255, 0.15) !important;
    box-shadow:
        inset 0 0 0 1000px #0D1426,
        0 0 0 3px rgba(90, 176, 255, 0.15) !important;
    border-color: #5AB0FF !important;
}

/* ---- Stripe card input ----
   Stripe draws its fields inside an iframe, so page CSS can't style them. Their look comes
   from Stripe's theme: EasyCart > Settings > Payment > Stripe > Payment form style = night
   (ec_option_stripe_payment_theme, since 2026-11-10). Night has light labels and dark
   fields, so the container around the iframe is dark navy (it was white for the old light
   theme, which hid Night's labels). */

div.StripeElement,
div#ec_stripe_card_row,
#ec_stripe_card_row,
.StripeElement,
#ec_stripe_card_row.StripeElement,
#ec_stripe_card_row.StripeElement--invalid,
#ec_stripe_card_row.StripeElement--focus {
    background-color: #0D1426 !important;
    background-image: none !important;
    background: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    padding: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

div.StripeElement--focus,
#ec_stripe_card_row.StripeElement--focus {
    background: #0D1426 !important;
    border-color: #5AB0FF !important;
    box-shadow: 0 0 0 3px rgba(90, 176, 255, 0.15) !important;
}

div.StripeElement--invalid,
#ec_stripe_card_row.StripeElement--invalid {
    background: #0D1426 !important;
    border-color: #FF6B6B !important;
}

/* The Stripe iframe inside takes 100% width — transparent over the navy container */
#ec_stripe_card_row iframe,
.StripeElement iframe {
    background: transparent !important;
}

/* The inline error under Stripe ("Your card number is incomplete.")
   has hardcoded inline styles — override them. */
#ec_card_errors[role="alert"],
#ec_card_errors {
    background: transparent !important;
    color: #FF6B6B !important;
    text-align: left !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    padding: 6px 0 !important;
}

/* ========== LABELS ========== */

label,
.ec_account_form label,
.ec_signin_form label,
.ec_signup_form label,
.ec_account_login_form label,
.ec_account_signup_form label,
.ec_cart_input_row label {
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: block;
    margin-bottom: 6px;
}

/* ========== PRIMARY BUTTONS (inc. EasyCart DIV-buttons) ========== */

input[type="submit"],
button[type="submit"],
.ec_btn,
.ec_btn_default,
.ec_cart_button,
div.ec_cart_button,
#ec_address_save,
#ec_apply_coupon,
#ec_apply_coupon_mobile,
#ec_cart_submit_order,
a#ec_user_login_link,
a#ec_user_login_cancel_link,
.ec_cart_login_header_link a,
.ec_account_login_btn,
.ec_account_save_button,
.ec_account_create_btn,
.ec_cart_checkout_button,
.ec_signin_button,
.ec_signup_button,
.ec_login_button,
.ec_create_account_btn,
a.ec_btn,
a.ec_btn_default,
input.ec_cart_button {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-block;
    width: auto !important;
    max-width: fit-content;
    text-align: center;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    text-decoration: none !important;
}

/* Button row — stack buttons vertically, right-aligned */
.ec_cart_button_row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px;
    margin: 16px 0 !important;
    text-align: right;
}

.ec_cart_button_row .ec_cart_button,
.ec_cart_button_row input[type="submit"],
.ec_cart_button_row input.ec_cart_button,
.ec_cart_button_row input.ec_cart_button_working {
    width: auto !important;
    max-width: fit-content !important;
}

/* Hide the "Please Wait" loader button by default.
   No !important — so jQuery.show() (which sets inline style) can reveal it. */
.ec_cart_button_working,
input.ec_cart_button_working,
input[type="submit"].ec_cart_button_working {
    display: none;
    background: #1E2A47 !important;
    background-image: none !important;
    color: #8A96B2 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.ec_btn:hover,
.ec_btn_default:hover,
.ec_cart_button:hover,
div.ec_cart_button:hover,
a#ec_user_login_link:hover,
a#ec_user_login_cancel_link:hover,
.ec_cart_login_header_link a:hover,
.ec_account_login_btn:hover,
.ec_account_save_button:hover,
.ec_account_create_btn:hover,
.ec_cart_checkout_button:hover,
.ec_signin_button:hover,
.ec_signup_button:hover,
.ec_login_button:hover,
.ec_create_account_btn:hover,
a.ec_btn:hover,
a.ec_btn_default:hover,
input.ec_cart_button:hover {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none;
}

/* Inline "Log in" link (sits mid-sentence) — smaller button padding */
a#ec_user_login_link,
a#ec_user_login_cancel_link,
.ec_cart_login_header_link a {
    padding: 6px 14px !important;
    font-size: 13px !important;
    margin-left: 8px;
    box-shadow: 0 4px 14px rgba(90, 176, 255, 0.2) !important;
}

/* Loading state button */
.ec_cart_button_working {
    background-color: #1E2A47 !important;
    color: #8A96B2 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    cursor: not-allowed;
}

/* ========== ELEMENTOR BLUE BUTTONS (gradient upgrade) ========== */

.elementor-button-link[style*="#5AB0FF"],
.elementor-button-link[style*="#5ab0ff"],
.elementor-button[style*="#5AB0FF"],
.elementor-button[style*="#5ab0ff"],
a.elementor-button[style*="#5AB0FF"],
a.elementor-button[style*="#5ab0ff"] {
    background-image: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    transition: background-image 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease !important;
}

.elementor-button-link[style*="#5AB0FF"]:hover,
.elementor-button-link[style*="#5ab0ff"]:hover,
.elementor-button[style*="#5AB0FF"]:hover,
.elementor-button[style*="#5ab0ff"]:hover,
a.elementor-button[style*="#5AB0FF"]:hover,
a.elementor-button[style*="#5ab0ff"]:hover {
    background-image: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none;
}

/* ========== SECONDARY / GHOST BUTTONS ========== */

.ec_btn_secondary,
.ec_btn_cancel,
a.ec_btn_secondary {
    background-color: transparent !important;
    background-image: none !important;
    color: #E8EDF7 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ec_btn_secondary:hover,
.ec_btn_cancel:hover,
a.ec_btn_secondary:hover {
    border-color: #5AB0FF !important;
    color: #5AB0FF !important;
}

/* ========== WP EASYCART PAGE STRUCTURE ========== */

/* Top-level cart containers — inherit dark text, transparent bg */
.ec_cart_page,
.ec_cart_left,
.ec_cart_right,
.ec_cart_subscription,
.ec_account_section,
.ec_account_panel,
.ec_login_box,
.ec_signup_box,
.ec_account_login_form,
.ec_account_signup_form {
    background-color: transparent !important;
    color: #E8EDF7 !important;
}

/* Section headers ("Customer Information", "Cart Totals", "Payment Method") */
.ec_cart_header,
.ec_cart_header.ec_top {
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    padding: 16px 0 12px !important;
    margin: 24px 0 16px !important;
    border-bottom: 1px solid #1E2A47 !important;
    text-transform: none !important;
}

.ec_cart_header.ec_top {
    margin-top: 0 !important;
}

/* Override any inline color on cart header */
.ec_cart_header[style*="color:#999"] {
    color: #E8EDF7 !important;
}

/* Section headings (h2, h3 inside cart/account sections) */
.ec_account_section h2,
.ec_account_section h3,
.ec_login_box h2,
.ec_login_box h3,
.ec_signup_box h2,
.ec_signup_box h3 {
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}

/* Helper/description paragraphs */
.ec_account_section p,
.ec_login_box p,
.ec_signup_box p,
.ec_cart_input_row {
    color: #E8EDF7;
}

/* Input row spacing — tight vertical rhythm for account forms */
.ec_cart_input_row {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_account_left .ec_cart_input_row,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_input_row {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* Tighter label-to-input gap */
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_input_row label {
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* No bottom margin on inputs themselves — row margin handles vertical rhythm */
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_input_row input,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_input_row select,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_input_row textarea {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Hide/collapse empty error rows so they don't add height */
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_error_row {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_error_row:not([style*="block"]):not(.ec_active) {
    display: none !important;
}

.ec_cart_input_left_half,
.ec_cart_input_right_half {
    color: #E8EDF7;
}

/* ========== PRICE ROWS ========== */

.ec_cart_price_row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    border-bottom: 1px solid #1E2A47;
}

.ec_cart_price_row_label {
    color: #8A96B2 !important;
    font-weight: 500;
}

.ec_cart_price_row_total {
    color: #E8EDF7 !important;
    font-weight: 600;
}

/* Grand total — emphasize */
.ec_cart_price_row_grand_total {
    padding: 16px 0 !important;
    border-top: 1px solid #1E2A47;
    border-bottom: none !important;
    margin-top: 8px;
}

.ec_cart_price_row_grand_total .ec_cart_price_row_label {
    color: #E8EDF7 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.ec_cart_price_row_grand_total .ec_cart_price_row_total {
    color: #5AB0FF !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

/* Zero-discount row — dim */
.ec_cart_price_row.ec_no_discount .ec_cart_price_row_total {
    color: #8A96B2 !important;
}

/* ========== ERRORS & MESSAGES ========== */

.ec_cart_error,
.ec_cart_error_row,
.ec_cart_error_message {
    color: #FF6B6B !important;
    background-color: rgba(255, 107, 107, 0.08) !important;
    border: 1px solid rgba(255, 107, 107, 0.25) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    margin: 8px 0 !important;
}

/* Override inner-div color (plugin wraps error text in a <div> with its own color) */
.ec_cart_error > div {
    color: #ff9999 !important;
}

.ec_cart_success_message {
    color: #4ADE80 !important;
    background-color: rgba(74, 222, 128, 0.08) !important;
    border: 1px solid rgba(74, 222, 128, 0.25) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    margin: 8px 0 !important;
}

/* ========== INLINE LINKS ========== */

.ec_account_forgot,
.ec_login_forgot,
.ec_account_login_link,
.ec_cart_login_header_link a,
.ec_cart_address_change a,
a.ec_forgot_password {
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ec_account_forgot:hover,
.ec_login_forgot:hover,
.ec_account_login_link:hover,
.ec_cart_login_header_link a:hover,
.ec_cart_address_change a:hover,
a.ec_forgot_password:hover {
    color: #B07CFF !important;
    text-decoration: none !important;
}

/* ========== MISC WP EASYCART OVERRIDES ========== */

/* Empty cart message */
.ec_cart_empty {
    color: #ffffff !important;
}

/* Terms/agreement checkbox row */
.ec_agreement_section,
.ec_agreement_section label {
    color: #E8EDF7 !important;
    font-size: 14px !important;
}

.ec_agreement_section a {
    color: #5AB0FF !important;
    text-decoration: none !important;
}

.ec_agreement_section a:hover {
    color: #B07CFF !important;
}

/* Address display (locked state) — plugin defaults to a pale grey box,
   override to match dark theme. */
#ec_cart_billing_locked,
#ec_cart_shipping_locked,
.ec_cart_address_display,
.ec_cart_address_display_billing,
.ec_cart_address_display_shipping {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    padding: 18px !important;
    margin: 12px 0 !important;
    color: #E8EDF7 !important;
}

.ec_cart_address_display_header,
.ec_cart_address_display_line {
    color: #E8EDF7 !important;
    background: transparent !important;
}

.ec_cart_address_display_header {
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.ec_cart_address_display_line {
    font-size: 14px !important;
    line-height: 1.5;
    margin-bottom: 10px !important;
}

.ec_cart_address_change a {
    color: #5AB0FF !important;
    font-weight: 600;
    text-decoration: none !important;
}

.ec_cart_address_change a:hover {
    color: #B07CFF !important;
}

/* ========== LOGIN PAGE REFINEMENTS ========== */

/* Hide the vertical separator between the two login columns */
.ec_account_page .ec_account_left.ec_account_login,
.ec_account_page .ec_account_right.ec_account_login {
    border-left: none !important;
    border-right: none !important;
}

/* Make the "NEW USER" header on the right column match "Returning Customer" on the left */
.ec_account_page .ec_account_right.ec_account_login .ec_cart_header,
.ec_account_page .ec_account_right.ec_account_login .ec_cart_header.ec_top {
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    padding: 16px 0 12px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid #1E2A47 !important;
}

/* ============================================
   STICKY HEADER — MOBILE LAYOUT (≤767px)
   Elementor IDs from the header JSON:
     h100001 = section
     h100002 = logo column   (desktop 18%)
     h100004 = nav column    (desktop 50%)  — becomes hamburger on mobile
     h100006 = button column (desktop 32%)
   Goal: Logo (left) + Hamburger (right) on row 1, Buy License + Download on row 2.
   ============================================ */

@media (max-width: 767px) {

    /* Allow the section's container to lay out as a wrapping row.
       Default Elementor stacks columns vertically below the breakpoint;
       overriding to keep them horizontal so the hamburger can sit beside the logo. */
    .elementor-element.elementor-element-h100001 > .elementor-container,
    .elementor-element.elementor-element-h100001 > .e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }

    /* Allow the section to grow tall enough for two rows of content */
    .elementor-element.elementor-element-h100001 {
        min-height: 0 !important;
        height: auto !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* Row 1, left column — logo */
    .elementor-element.elementor-element-h100002 {
        width: 60% !important;
        max-width: 60% !important;
        flex: 0 0 60% !important;
    }
    .elementor-element.elementor-element-h100002 .elementor-widget-image {
        text-align: left !important;
    }
    .elementor-element.elementor-element-h100002 .elementor-widget-image img {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Row 1, right column — nav menu (hamburger) */
    .elementor-element.elementor-element-h100004 {
        width: 40% !important;
        max-width: 40% !important;
        flex: 0 0 40% !important;
    }
    /* Push the hamburger toggle to the right edge of its column.
       NOTE: do NOT force display on .elementor-nav-menu__container or <nav> —
       Elementor sets display:none on the dropdown menu until the toggle is tapped.
       Override that and the menu stays permanently expanded. We only right-align
       the widget container itself. */
    .elementor-element.elementor-element-h100004 .elementor-widget-container {
        text-align: right !important;
    }
    .elementor-element.elementor-element-h100004 .elementor-menu-toggle {
        margin-left: auto !important;
        margin-right: 0 !important;
        display: inline-flex !important;
    }

    /* Row 2 — full-width button strip (Buy License + Download) */
    .elementor-element.elementor-element-h100006 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-top: 8px !important;
    }
    /* Inner 2-col button row stays side-by-side, with a small gap */
    .elementor-element.elementor-element-h100010 > .elementor-container,
    .elementor-element.elementor-element-h100010 > .e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px;
    }
    .elementor-element.elementor-element-h100011,
    .elementor-element.elementor-element-h100012 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 1 1 50% !important;
        padding: 0 !important;
    }
    /* Stretch each button to fill its half — feels native in a sticky bar */
    .elementor-element.elementor-element-h100011 .elementor-button,
    .elementor-element.elementor-element-h100012 .elementor-button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* ── Hamburger dropdown panel ─────────────────────────────────────────
       When the toggle is tapped, Elementor reveals .elementor-nav-menu--dropdown.
       Default mobile styling makes it inherit the column's narrow width (40%)
       and falls back to a white bg. Override to make it a proper right-anchored
       glassy dark panel that matches the desktop sub-menu styling. */
    /* Make sure no ancestor with overflow:hidden clips the wider dropdown */
    .elementor-element.elementor-element-h100001,
    .elementor-element.elementor-element-h100001 > .elementor-container,
    .elementor-element.elementor-element-h100001 > .e-con-inner,
    .elementor-element.elementor-element-h100004,
    .elementor-element.elementor-element-h100004 > .elementor-widget-wrap,
    .elementor-element.elementor-element-h100004 > .e-con-inner,
    .elementor-element.elementor-element-h100004 .elementor-widget-container,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--main {
        overflow: visible !important;
    }

    /* Outer dropdown — only handles positioning. NO visual styling here:
       Elementor's JS height-clips this element, so any background/border on it
       gets cut off when sub-menus expand beyond. The visual treatment is moved
       to the inner UL below, which grows naturally with content. */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown {
        position: absolute !important;
        right: 12px !important;
        left: auto !important;
        top: 100% !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        margin-top: 10px !important;
        padding: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 10000;
    }

    /* Inner UL takes over the visual panel role — bg, border, glow, blur.
       Because it's not height-clipped by Elementor, it always wraps every
       expanded item including all sub-menu children. */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown > ul,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown > nav > ul,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown ul.elementor-nav-menu {
        background-color: rgba(13, 20, 38, 0.96) !important;
        border: 1px solid rgba(90, 176, 255, 0.35) !important;
        border-radius: 10px !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(90, 176, 255, 0.2) !important;
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        padding: 8px 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    /* Nested sub-menus — force INLINE flow (not absolute flyouts).
       Elementor inherits desktop behavior where sub-menus are position:absolute
       and overlay on top of subsequent items. On mobile we want them in normal
       flow so the parent UL grows to wrap them and the dark bg extends naturally. */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown ul.sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        list-style: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Parent <li>s of a sub-menu — let them grow vertically to contain children */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown li,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown li.menu-item-has-children {
        position: relative !important;
        display: block !important;
        width: 100% !important;
    }

    /* Nuclear: kill ALL height and overflow constraints on the dropdown and every
       nested UL/sub-menu, regardless of state. Elementor's JS keeps writing inline
       max-height values during animation that beat narrower CSS rules — the only
       reliable fix is to explicitly nuke max-height/overflow on every level.
       Trade-off: no slide animation; menu appears instantly when toggled. */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown.elementor-active,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown[aria-hidden="false"],
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown[style],
    .elementor-element.elementor-element-h100004 .elementor-menu-toggle[aria-expanded="true"] + .elementor-nav-menu--dropdown,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown ul,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .elementor-nav-menu,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .sub-menu,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .sub-menu[style],
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown li {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        transition: none !important;
    }

    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown ul,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown li {
        background-color: transparent !important;
        background: transparent !important;
        border: none !important;
        width: auto !important;
        max-width: none !important;
    }

    /* Sub-menu list (Astro PM Features ▾, Resources ▾ children) — let it
       expand to whatever its longest item needs. The parent dropdown has
       width: max-content which allows this naturally. */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .sub-menu {
        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }

    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown a {
        color: #E8EDF7 !important;
        background-color: transparent !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        padding: 12px 22px !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
        border-left: 2px solid transparent;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
    }

    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown a:hover,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown a:focus,
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .current-menu-item > a {
        background: linear-gradient(90deg, rgba(90, 176, 255, 0.22), rgba(176, 124, 255, 0.10)) !important;
        color: #FFFFFF !important;
        border-left-color: #5AB0FF;
        padding-left: 24px !important;
    }

    /* Sub-menu items (Astro PM Features ▾, Resources ▾) — slight indent */
    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .sub-menu a {
        padding-left: 38px !important;
        font-size: 13px !important;
        color: #8A96B2 !important;
    }

    .elementor-element.elementor-element-h100004 .elementor-nav-menu--dropdown .sub-menu a:hover {
        color: #FFFFFF !important;
        padding-left: 40px !important;
    }
}

/* ========== DOWNLOAD ASTRO PM CTA BUTTON (site-wide) ========== */

a.elementor-button[href*="AstroPM-Setup.exe"],
a.elementor-button[href$=".exe"][href*="/downloads/astropm/"] {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: box-shadow 0.3s ease !important;
}

a.elementor-button[href*="AstroPM-Setup.exe"]:hover,
a.elementor-button[href$=".exe"][href*="/downloads/astropm/"]:hover,
a.elementor-button[href*="AstroPM-Setup.exe"]:focus,
a.elementor-button[href$=".exe"][href*="/downloads/astropm/"]:focus {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none !important;
}

a.elementor-button[href*="AstroPM-Setup.exe"] .elementor-button-text,
a.elementor-button[href$=".exe"][href*="/downloads/astropm/"] .elementor-button-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* ============================================
   ORDER SUCCESS / THANK YOU PAGE
   Targets WP EasyCart's post-checkout success block:
     .ec_cart_success_print_button_v2  (top-right print receipt)
     .ec_order_success_row             (main card)
       .ec_order_success_loader_v2     (green checkmark)
       .ec_order_success_column2       (text + buttons)
   ============================================ */

/* Print Receipt — small ghost button above the card, right-aligned */
.ec_cart_success_print_button_v2 {
    text-align: right !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: transparent !important;
}

.ec_cart_success_print_button_v2 > a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
    background-color: rgba(90, 176, 255, 0.08) !important;
    border: 1px solid rgba(90, 176, 255, 0.25) !important;
    color: #5AB0FF !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ec_cart_success_print_button_v2 > a:hover {
    background-color: rgba(176, 124, 255, 0.12) !important;
    border-color: #B07CFF !important;
    color: #B07CFF !important;
}

.ec_cart_success_print_button_v2 .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* Main success card */
.ec_order_success_row {
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 14px !important;
    padding: 40px 36px !important;
    margin: 0 0 24px !important;
    color: #E8EDF7 !important;
    display: flex !important;
    align-items: center;
    gap: 32px;
    box-sizing: border-box;
}

/* Checkmark loader — circular green badge on the left */
.ec_order_success_row .ec_order_success_loader,
.ec_order_success_row .ec_order_success_loader_v2 {
    flex: 0 0 96px !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(74, 222, 128, 0.10);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ec_order_success_row .ec_order_success_loader_loaded {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec_order_success_row .ec_order_success_loader_loaded > svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Override the plugin's hardcoded WordPress-blue stroke (#1e73be) → brand green */
.ec_order_success_row .ec_order_success_loader_loaded_path {
    stroke: #4ADE80 !important;
}

/* Text + buttons column */
.ec_order_success_column2 {
    flex: 1 1 auto;
    min-width: 0;
}

/* Eyebrow — "THANK YOU FOR SUBSCRIBING!" */
.ec_cart_success_order_number,
.ec_cart_success_order_number_v2 {
    color: #5AB0FF !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

/* Subtitle h2 — full message in white */
.ec_cart_success_title,
.ec_cart_success_title_v2 {
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

/* Buttons row */
.ec_cart_success_continue_shopping_button,
.ec_cart_success_continue_shopping_button_v2 {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Primary button (first <a>): blue→purple gradient */
.ec_cart_success_continue_shopping_button > a:first-of-type,
.ec_cart_success_continue_shopping_button_v2 > a:first-of-type {
    display: inline-block !important;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: box-shadow 0.3s ease;
}

.ec_cart_success_continue_shopping_button > a:first-of-type:hover,
.ec_cart_success_continue_shopping_button_v2 > a:first-of-type:hover {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none !important;
}

/* Secondary button (second <a>): ghost outline */
.ec_cart_success_continue_shopping_button > a:nth-of-type(2),
.ec_cart_success_continue_shopping_button_v2 > a:nth-of-type(2) {
    display: inline-block !important;
    background: transparent !important;
    color: #E8EDF7 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ec_cart_success_continue_shopping_button > a:nth-of-type(2):hover,
.ec_cart_success_continue_shopping_button_v2 > a:nth-of-type(2):hover {
    border-color: #5AB0FF !important;
    color: #5AB0FF !important;
    background-color: rgba(90, 176, 255, 0.06) !important;
    transform: none !important;
}

/* Mobile — stack the checkmark above the text, center everything */
@media (max-width: 720px) {
    .ec_order_success_row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px !important;
        gap: 20px;
    }
    .ec_order_success_row .ec_order_success_loader,
    .ec_order_success_row .ec_order_success_loader_v2 {
        margin: 0 auto !important;
    }
    .ec_cart_success_continue_shopping_button,
    .ec_cart_success_continue_shopping_button_v2 {
        justify-content: center;
        width: 100%;
    }
    .ec_cart_success_continue_shopping_button > a,
    .ec_cart_success_continue_shopping_button_v2 > a {
        flex: 1 1 auto;
        min-width: 160px;
        text-align: center;
    }
}

/* ============================================
   MAILERLITE — Dismissible blue gradient notice bar
   Single-line: pitch text + email input + Subscribe + close (×).
   Targets the [mailerlite_form] WordPress plugin markup
   (.mailerlite-form-*). Bar is hidden for the session
   when body has class .ml-bar-dismissed (set by JS snippet).
   ============================================ */

/* Outer Elementor container — full-width brand gradient strip.
   Hidden by default (no flash). Slides in only when JS adds
   .ml-bar-show to <html> after window.load completes. */
.elementor-element.elementor-element-e515d7e {
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 2px 12px rgba(90, 176, 255, 0.25);
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

html.ml-bar-show .elementor-element.elementor-element-e515d7e {
    max-height: 120px !important;
    opacity: 1 !important;
}

.elementor-element.elementor-element-e515d7e > .e-con-inner,
.elementor-element.elementor-element-e515d7e .elementor-widget-shortcode,
.elementor-element.elementor-element-e515d7e .elementor-shortcode {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    background: transparent !important;
    border: none !important;
}

/* Dismissed = collapse with same transition (smooth slide-out).
   Once collapsed it stays collapsed for the rest of the session. */
html.ml-bar-dismissed .elementor-element.elementor-element-e515d7e,
body.ml-bar-dismissed .elementor-element.elementor-element-e515d7e {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Form wrappers — strip default plugin styling */
#mailerlite-form_1,
.mailerlite-form,
.mailerlite-form-inputs {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* The <form> itself is the single-line flex container */
.mailerlite-form > form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
}

/* Replace "Newsletter signup" title with custom pitch text */
.mailerlite-form-title {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
}

/* Hide the original h3 text (font-size:0) and inject pitch via ::before */
.mailerlite-form-title h3 {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: transparent !important;
}

.mailerlite-form-title h3::before {
    content: "Join the newsletter for release notes & tips";
    display: inline-block;
    font-size: 14px;
    line-height: 1.3;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Hide subtitle and email label */
.mailerlite-form-description,
.mailerlite-form-field label {
    display: none !important;
}

/* Inputs row — inline beside title */
.mailerlite-form-inputs {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.mailerlite-form-field {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    background: transparent !important;
}

/* Email input — translucent dark on the gradient bar */
.mailerlite-form-field input[type="email"],
input#mailerlite-1-field-email {
    background-color: rgba(7, 11, 20, 0.45) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    height: 34px !important;
    width: 240px !important;
    box-shadow: none !important;
    -webkit-box-shadow: inset 0 0 0 1000px rgba(7, 11, 20, 0.45) !important;
    -webkit-text-fill-color: #FFFFFF !important;
    caret-color: #FFFFFF !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mailerlite-form-field input[type="email"]:focus,
input#mailerlite-1-field-email:focus {
    outline: none !important;
    border-color: #FFFFFF !important;
    background-color: rgba(7, 11, 20, 0.65) !important;
    -webkit-box-shadow: inset 0 0 0 1000px rgba(7, 11, 20, 0.65) !important;
}

.mailerlite-form-field input[type="email"]::placeholder,
input#mailerlite-1-field-email::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
    opacity: 1;
}

/* Subscribe button — solid white pill on the gradient */
.mailerlite-subscribe-button-container {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    background: transparent !important;
}

button.mailerlite-subscribe-submit,
.mailerlite-subscribe-submit {
    background: #FFFFFF !important;
    background-image: none !important;
    color: #5AB0FF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 18px !important;
    height: 34px !important;
    line-height: 34px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap !important;
}

button.mailerlite-subscribe-submit:hover {
    background: #F0F4FB !important;
    color: #4A9AE0 !important;
    transform: none !important;
}

button.mailerlite-subscribe-submit:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

/* In-flight loader text */
.mailerlite-form-loader {
    color: #FFFFFF !important;
    background: transparent !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

/* Field validation error chip */
.mailerlite-form-error {
    display: inline-block;
    color: #FFFFFF !important;
    background: rgba(0, 0, 0, 0.30) !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    margin-left: 6px;
}

/* Success response */
.mailerlite-form-response,
.mailerlite-form-response h4,
.mailerlite-form-response p,
.mailerlite-form-response span {
    color: #FFFFFF !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
}

/* Close (×) button — injected by JS into the form row */
.ml-bar-close {
    flex: 0 0 auto !important;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    margin-left: 4px !important;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.ml-bar-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.ml-bar-close:focus {
    outline: 1px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Mobile — stack everything vertically: title → email → button.
   Close (×) button is pinned absolutely to the top-right so it's always tappable
   and never gets clipped by the input/button row. */
@media (max-width: 720px) {
    /* Form becomes the positioning context for the absolute close button.
       Right-side padding leaves room for the × so child content doesn't underlap it. */
    .mailerlite-form > form {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 14px 44px 14px 16px !important;
        position: relative !important;
    }

    /* Pitch text — full width, centered, wraps naturally */
    .mailerlite-form-title {
        flex: 1 1 100% !important;
        text-align: center !important;
    }
    .mailerlite-form-title h3::before {
        white-space: normal;
    }

    /* Inputs container — switch to column so email and Subscribe stack.
       flex: 1 1 100% forces it to fill the form's full width (the desktop
       rule sets flex: 0 0 auto which would otherwise shrink to content). */
    .mailerlite-form-inputs {
        flex: 1 1 100% !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: none !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .mailerlite-form-field {
        width: 100% !important;
    }

    /* Email input — full width */
    .mailerlite-form-field input[type="email"],
    input#mailerlite-1-field-email {
        width: 100% !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 10px 14px !important;
        box-sizing: border-box !important;
    }

    /* Subscribe button — full width directly below the input */
    .mailerlite-subscribe-button-container {
        width: 100% !important;
    }

    button.mailerlite-subscribe-submit,
    .mailerlite-subscribe-submit {
        width: 100% !important;
        height: 40px !important;
        line-height: 40px !important;
        padding: 0 !important;
        font-size: 14px !important;
    }

    /* Close (×) — absolute top-right; tight against the edge */
    .ml-bar-close {
        position: absolute !important;
        top: 6px !important;
        right: 4px !important;
        font-size: 22px !important;
        padding: 6px 8px !important;
        margin: 0 !important;
        line-height: 1 !important;
        z-index: 2;
    }

    /* The bar's outer container has max-height:120px sized for the desktop one-row
       layout. Mobile stacks 3 rows (title + input + button + padding) which exceeds
       that and gets clipped by overflow:hidden. Raise the cap when shown on mobile. */
    html.ml-bar-show .elementor-element.elementor-element-e515d7e {
        max-height: 320px !important;
    }

    /* Tighten ALL outer container padding on mobile so the email/button can fill.
       Desktop uses 30px/side for breathing room; phones don't have it to spare. */
    .elementor-element.elementor-element-e515d7e > .e-con-inner,
    .elementor-element.elementor-element-e515d7e .elementor-widget-shortcode,
    .elementor-element.elementor-element-e515d7e .elementor-shortcode {
        padding: 0 8px !important;
        max-width: 100% !important;
    }

    /* Trim the form's own side padding to the bare minimum.
       Right side keeps a 32px gutter so content doesn't underlap the close × button. */
    .mailerlite-form > form {
        padding: 14px 32px 14px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 2. Account pages, signed out (scoped body:not(.astropm-acct-v2)) ----------- */

/* ========== ACCOUNT DASHBOARD POLISH ========== */

/* Overall page spacing */
body:not(.astropm-acct-v2) #ec_account_dashboard{
    padding: 20px 0 !important;
}

/* Main content (left column) */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left{
    padding: 0 32px 0 0 !important;
}

/* Right sidebar nav — card panel */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right{
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
    position: sticky;
    top: 100px;
}

/* Add breathing room between left content and right sidebar via left column padding */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left{
    padding-right: 40px !important;
}

/* Any stray hr / white horizontal divider — darken to match theme */
body:not(.astropm-acct-v2) #ec_account_dashboard hr,
body:not(.astropm-acct-v2) .ec_account_page hr,
body:not(.astropm-acct-v2) .ec_cart_page hr{
    border: none !important;
    border-top: 1px solid #1E2A47 !important;
    background: transparent !important;
    height: 1px !important;
    margin: 16px 0 !important;
}

/* WP EasyCart draws a vertical separator between left/right via border-right on left column.
   Also catch any border-colors that default to light. */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left{
    border-right-color: #1E2A47 !important;
}

body:not(.astropm-acct-v2) #ec_account_dashboard *[style*="border-color:#FFF"],
body:not(.astropm-acct-v2) #ec_account_dashboard *[style*="border-color: #FFF"],
body:not(.astropm-acct-v2) #ec_account_dashboard *[style*="border-bottom: 1px solid #"],
body:not(.astropm-acct-v2) .ec_account_page *[style*="border-color:#FFF"]{
    border-color: #1E2A47 !important;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_header,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_header.ec_top{
    border-bottom: 1px solid #1E2A47 !important;
    padding: 0 0 12px !important;
    margin: 0 0 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #8A96B2 !important;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_input_row{
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(30, 42, 71, 0.5);
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_input_row:last-child{
    border-bottom: none;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_account_dashboard_link{
    display: block !important;
    padding: 12px 0 !important;
    font-size: 14px !important;
    color: #E8EDF7 !important;
    text-transform: capitalize;
    position: relative;
    padding-left: 0 !important;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_account_dashboard_link:hover{
    color: #5AB0FF !important;
    padding-left: 8px !important;
    transform: none !important;
}

/* Mobile nav — hidden on desktop */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_mobile{
    display: none;
}

@media (max-width: 989px) {
    body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_mobile{
        display: block;
        background-color: #0D1426 !important;
        border: 1px solid #1E2A47 !important;
        border-radius: 12px !important;
        padding: 24px !important;
        margin-bottom: 24px;
    }
    body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right{
        display: none;
    }
    body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left{
        padding: 0 !important;
    }
}

/* Section headers in the main content */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_header{
    color: #E8EDF7 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    padding: 0 0 10px !important;
    margin: 32px 0 16px !important;
    border-bottom: 1px solid #1E2A47 !important;
    text-transform: none !important;
    position: relative;
}

body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_header::before{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%);
}

body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_header.ec_top{
    margin-top: 0 !important;
}

/* "No Orders Have Been Placed" type text — looks like naked text, make it a styled empty state */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left > .ec_cart_header.ec_top.ec_cart_header_no_border + *:not(.ec_cart_header):not(.ec_cart_input_row){
    display: block;
    padding: 16px 18px;
    background-color: rgba(13, 20, 38, 0.5);
    border: 1px dashed #1E2A47;
    border-radius: 8px;
    color: #8A96B2;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Info rows (email, address lines) */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_input_row{
    padding: 4px 0 !important;
    color: #E8EDF7 !important;
    font-size: 15px !important;
    line-height: 1.6;
    margin: 0 !important;
}

/* Email value emphasis */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_header + .ec_cart_input_row{
    font-size: 17px !important;
    color: #E8EDF7 !important;
    font-weight: 500;
    padding-top: 8px !important;
}

/* Inline edit links */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_account_dashboard_link{
    padding: 4px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #1E2A47;
    border-radius: 6px;
    background-color: transparent;
    color: #5AB0FF !important;
    display: inline-block;
    margin-right: 10px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_account_dashboard_link:hover{
    border-color: #5AB0FF;
    color: #B07CFF !important;
    transform: none !important;
}

/* Billing address block — group the address lines into a card */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_header + .ec_cart_input_row + .ec_cart_input_row{
    color: #8A96B2;
}

/* Reduce gap between address lines so they read as one block */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_cart_input_row + .ec_cart_input_row:not(:has(a)){
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* ========== ACCOUNT DASHBOARD ========== */

/* Dashboard nav sidebar links (billing, password, subscriptions, sign out) */
body:not(.astropm-acct-v2) .ec_account_dashboard_link,
body:not(.astropm-acct-v2) a.ec_account_dashboard_link{
    display: inline-block;
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.2s ease, transform 0.15s ease;
    text-transform: capitalize;
}

body:not(.astropm-acct-v2) .ec_account_dashboard_link:hover,
body:not(.astropm-acct-v2) a.ec_account_dashboard_link:hover{
    color: #B07CFF !important;
    transform: translateX(2px);
}

/* "edit" inline links (smaller, subtler) */
body:not(.astropm-acct-v2) .ec_cart_input_row a.ec_account_dashboard_link{
    font-size: 13px !important;
    padding: 2px 0;
    margin-right: 8px;
}

/* Header variants */
body:not(.astropm-acct-v2) .ec_cart_header_no_border,
body:not(.astropm-acct-v2) .ec_cart_header.ec_cart_header_no_border{
    border-bottom: none !important;
    padding-bottom: 6px !important;
}

/* Account page structure */
body:not(.astropm-acct-v2) .ec_account_page,
body:not(.astropm-acct-v2) .ec_account_left,
body:not(.astropm-acct-v2) .ec_account_right,
body:not(.astropm-acct-v2) .ec_account_mobile,
body:not(.astropm-acct-v2) #ec_account_dashboard{
    background-color: transparent !important;
    color: #E8EDF7 !important;
}

/* Subheader (e.g., "Sign in below to access your existing account.") */
body:not(.astropm-acct-v2) .ec_account_subheader{
    color: #8A96B2 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    margin: 4px 0 20px !important;
}

/* Account page input rows — plain info display (not a form field) */
body:not(.astropm-acct-v2) .ec_account_left .ec_cart_input_row,
body:not(.astropm-acct-v2) .ec_account_right .ec_cart_input_row,
body:not(.astropm-acct-v2) .ec_account_mobile .ec_cart_input_row{
    color: #E8EDF7;
    padding: 6px 0;
    line-height: 1.5;
}

/* "CREATE ACCOUNT" link-button on account page */
body:not(.astropm-acct-v2) .ec_account_login_create_account_button,
body:not(.astropm-acct-v2) a.ec_account_login_create_account_button{
    display: inline-block;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

body:not(.astropm-acct-v2) .ec_account_login_create_account_button:hover,
body:not(.astropm-acct-v2) a.ec_account_login_create_account_button:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none;
}

/* Billing Info "Address 2" input has no label — add placeholder-style guidance */
body:not(.astropm-acct-v2) #ec_account_billing_information_address2,
body:not(.astropm-acct-v2) #ec_account_shipping_information_address2{
    margin-top: 0 !important;
}

body:not(.astropm-acct-v2) #ec_account_billing_information_address2::placeholder,
body:not(.astropm-acct-v2) #ec_account_shipping_information_address2::placeholder{
    color: #8A96B2 !important;
}

/* Ensure right sidebar card renders consistently on every account page */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Account form page — button row (UPDATE / CANCEL pair) */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap;
    margin: 24px 0 !important;
    text-align: left !important;
}

/* Cancel/secondary button on billing info, shipping info, etc. — outlined */
body:not(.astropm-acct-v2) .ec_account_billing_information_link,
body:not(.astropm-acct-v2) .ec_account_shipping_information_link,
body:not(.astropm-acct-v2) .ec_account_personal_information_link,
body:not(.astropm-acct-v2) .ec_account_password_link,
body:not(.astropm-acct-v2) a.ec_account_billing_information_link,
body:not(.astropm-acct-v2) a.ec_account_shipping_information_link{
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_billing_information_button,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_shipping_information_button,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_personal_information_button,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_password_button,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input[type="button"]{
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #E8EDF7 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 8px !important;
    padding: 13px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_billing_information_button:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_shipping_information_button:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_personal_information_button:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_password_button:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input[type="button"]:hover{
    border-color: #5AB0FF !important;
    color: #5AB0FF !important;
    background-color: rgba(90, 176, 255, 0.06) !important;
    transform: none !important;
}

/* SIGN IN button on /account/ login page */
body:not(.astropm-acct-v2) .ec_account_button,
body:not(.astropm-acct-v2) input.ec_account_button,
body:not(.astropm-acct-v2) input[type="submit"].ec_account_button{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

body:not(.astropm-acct-v2) .ec_account_button:hover,
body:not(.astropm-acct-v2) input.ec_account_button:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none;
}

/* ========== ORDERS HISTORY PAGE ========== */

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_orders_holder{
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 24px;
}

/* Header row — column labels */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_header{
    display: grid !important;
    grid-template-columns: 70px minmax(150px, 1.3fr) 80px minmax(110px, 0.9fr) 130px;
    gap: 14px;
    align-items: center;
    padding: 14px 20px !important;
    background-color: rgba(90, 176, 255, 0.06) !important;
    border-bottom: 1px solid #1E2A47 !important;
}

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_header > div{
    color: #8A96B2 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.1px !important;
}

/* Each order row */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_0,
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_1{
    display: grid !important;
    grid-template-columns: 70px minmax(150px, 1.3fr) 80px minmax(110px, 0.9fr) 130px;
    gap: 14px;
    align-items: center;
    padding: 16px 20px !important;
    border-bottom: 1px solid #1E2A47 !important;
    color: #E8EDF7 !important;
    background-color: transparent !important;
    transition: background-color 0.2s ease;
}

/* Zebra striping */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_1{
    background-color: rgba(90, 176, 255, 0.02) !important;
}

/* Last row — no bottom border */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_orders_row > *:last-child{
    border-bottom: none !important;
}

/* Hover */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_0:hover,
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_1:hover{
    background-color: rgba(90, 176, 255, 0.06) !important;
}

/* Column 1 — Order ID */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column1{
    color: #8A96B2 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums;
}

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column1::before{
    content: '#';
    color: #8A96B2;
    margin-right: 1px;
}

/* Column 2 — Date */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column2{
    color: #E8EDF7 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Column 3 — Total */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column3{
    color: #5AB0FF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums;
}

/* Column 4 — Status (chip style) */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column4{
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #4ADE80 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 10px;
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 99px;
    white-space: nowrap;
    width: fit-content;
    max-width: fit-content;
    justify-self: start;
}

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column4::before{
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ADE80;
    display: inline-block;
}

/* Column 5 — View Order button */
body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column5{
    justify-self: end;
}

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column5 > a{
    display: inline-block;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column5 > a:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: none;
}

/* Responsive — stack columns on narrow widths */
@media (max-width: 900px) {
    body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_header{
        display: none !important;
    }
    body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_0,
    body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_1{
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 16px !important;
    }
    body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column1::before{
        content: 'Order #';
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 1px;
        display: block;
        color: #8A96B2;
        margin-bottom: 2px;
        font-weight: 700;
    }
    body:not(.astropm-acct-v2) #ec_account_orders .ec_account_order_line_column5{
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* ========== SUBSCRIPTIONS LIST PAGE ========== */

body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscriptions_holder{
    margin-bottom: 24px;
}

/* Each subscription card (row) */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_0,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscriptions_row .ec_account_subscription_line_0{
    display: grid !important;
    grid-template-columns: minmax(160px, 1.8fr) minmax(95px, 1fr) minmax(95px, 1fr) minmax(80px, 0.9fr) minmax(130px, auto);
    gap: 18px 18px;
    align-items: center !important;
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 22px 24px !important;
    margin-bottom: 12px;
    color: #E8EDF7 !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* Explicit column placement — HTML puts column5 first, but we want:
   [Name | Next Bill | Last Charged | Price | View Details] */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column1{ grid-column: 1; }
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column2{ grid-column: 2; }
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column3{ grid-column: 3; }
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column4{ grid-column: 4; }
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column5{ grid-column: 5; }

@media (max-width: 900px) {
    body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_0{
        grid-template-columns: 1fr 1fr !important;
    }
    body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column5{
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_0{
        grid-template-columns: 1fr !important;
    }
}

/* Columns 1-4: label + value stack */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column1,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column2,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column3,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column4{
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: #E8EDF7 !important;
    font-size: 14px !important;
}

/* Strong label inside each column — muted uppercase */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column1 > strong,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column2 > strong,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column3 > strong,
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column4 > strong{
    color: #8A96B2 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin: 0 !important;
}

/* Subscription name gets larger, bolder treatment */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column1{
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #E8EDF7 !important;
}

/* Price column — emphasized in brand blue */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column4{
    color: #5AB0FF !important;
    font-weight: 700 !important;
}

/* Column 5 — VIEW DETAILS button */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column5{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    min-width: 0;
}

body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column5 > a{
    display: inline-block !important;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    padding: 11px 24px !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: fit-content !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_account_subscription_line_column5 > a:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: none;
}

/* Empty state: "There are no subscriptions associated with your account." */
body:not(.astropm-acct-v2) #ec_account_subscriptions .ec_subscription_none_found{
    color: #8A96B2 !important;
    font-size: 14px !important;
    padding: 20px 24px !important;
    background-color: rgba(13, 20, 38, 0.5) !important;
    border: 1px dashed #1E2A47 !important;
    border-radius: 10px !important;
    text-align: center;
    margin-top: 8px;
}

/* Section header accent already handled via the broader id-prefix rule earlier */

/* ========== SUBSCRIPTION DETAILS PAGE ========== */

/* Main container */
body:not(.astropm-acct-v2) .ec_account_subscription_details{
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    color: #E8EDF7 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}

/* Horizontal dividers inside the card */
body:not(.astropm-acct-v2) .ec_account_subscription_details hr{
    border: none !important;
    border-top: 1px solid #1E2A47 !important;
    background: transparent !important;
    height: 1px !important;
    margin: 20px 0 !important;
}

/* Payment method line at top — VISA **** 6186 */
body:not(.astropm-acct-v2) .ec_account_subscription_details_card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px !important;
    background-color: rgba(90, 176, 255, 0.06) !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 10px !important;
    color: #E8EDF7 !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_card_change{
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 12px;
    border: 1px solid #1E2A47;
    border-radius: 6px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_card_change:hover{
    border-color: #5AB0FF !important;
    color: #B07CFF !important;
}

/* Subscription title (product name) */
body:not(.astropm-acct-v2) .ec_account_subscription_title,
body:not(.astropm-acct-v2) h3.ec_account_subscription_title{
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

/* "Upcoming Payment Info" h5 heading */
body:not(.astropm-acct-v2) .ec_account_subscription_details_title,
body:not(.astropm-acct-v2) h5.ec_account_subscription_details_title{
    color: #8A96B2 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.3px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

/* Subscription info rows */
body:not(.astropm-acct-v2) .ec_account_subscription_details .ec_account_subscription_row{
    color: #E8EDF7 !important;
    font-size: 15px !important;
    padding: 6px 0 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Price row — emphasize */
body:not(.astropm-acct-v2) .ec_account_subscription_details .ec_account_subscription_row_price{
    color: #5AB0FF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Next bill date */
body:not(.astropm-acct-v2) .ec_account_subscription_details .ec_account_subscription_row_next_bill{
    color: #8A96B2 !important;
    font-size: 13px !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details .ec_account_subscription_row_next_bill::before{
    content: 'Next billing: ';
    color: #8A96B2;
    font-weight: 500;
}

/* "Last Payment Date" row */
body:not(.astropm-acct-v2) .ec_account_subscription_details .ec_account_subscription_row > b{
    color: #8A96B2 !important;
    font-weight: 600 !important;
    margin-right: 6px;
}

/* ========== SUBSCRIPTION — UPDATE PAYMENT FORM ========== */

body:not(.astropm-acct-v2) .ec_account_subscription_details_form_container{
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin: 0 0 24px 0 !important;
    color: #E8EDF7 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    display: flow-root !important;
    float: none !important;
    overflow: hidden !important;
}

/* The <form> element inside also needs to contain its own floats */
body:not(.astropm-acct-v2) .ec_account_subscription_details_form_container > form,
body:not(.astropm-acct-v2) #ec_submit_update_form{
    display: flow-root !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

body:not(.astropm-acct-v2) #ec_submit_update_form::after{
    content: '';
    display: block;
    clear: both;
}

/* Also clear floats inside the payment form wrapper */
body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form{
    display: flow-root !important;
    overflow: hidden !important;
    width: 100% !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form::after{
    content: '';
    display: block;
    clear: both;
}

/* Specifically clear the Stripe form-row float */
body:not(.astropm-acct-v2) #ec_submit_update_form .form-row::after,
body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form .form-row::after{
    content: '';
    display: block;
    clear: both;
}

/* Inner payment form wrapper — plugin puts a light bg on this */
body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form,
body:not(.astropm-acct-v2) .ec_account_subscription_details_form_container .ec_account_subscription_details_payment_form,
body:not(.astropm-acct-v2) #ec_submit_update_form .ec_account_subscription_details_payment_form{
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #E8EDF7 !important;
}

/* Form row wrapper (Stripe) */
body:not(.astropm-acct-v2) #ec_submit_update_form .form-row{
    background: transparent !important;
    background-color: transparent !important;
    margin-top: 12px !important;
}

/* Terms checkbox row + label */
body:not(.astropm-acct-v2) #ec_submit_update_form .ec_agreement_section,
body:not(.astropm-acct-v2) #ec_submit_update_form .ec_agreement_section label,
body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form .ec_agreement_section{
    color: #E8EDF7 !important;
    font-size: 14px !important;
    background: transparent !important;
    padding: 10px 0 !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form .ec_agreement_section a{
    color: #5AB0FF !important;
    text-decoration: none !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form > .ec_account_subscription_details_title{
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #E8EDF7 !important;
    text-transform: none !important;
    letter-spacing: -0.2px !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #1E2A47;
    position: relative;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_payment_form > .ec_account_subscription_details_title::before{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%);
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_address{
    color: #8A96B2;
    font-size: 13px;
}

/* The "Update" submit button */
body:not(.astropm-acct-v2) .ec_account_subscription_save_payment_button{
    margin-top: 16px;
    text-align: right;
}

body:not(.astropm-acct-v2) .ec_account_subscription_save_payment_button > input[type="submit"]{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

body:not(.astropm-acct-v2) .ec_account_subscription_save_payment_button > input[type="submit"]:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    box-shadow: 0 8px 32px rgba(176, 124, 255, 0.35) !important;
    transform: none;
}

/* ========== SUBSCRIPTION — CANCEL BUTTON ========== */

body:not(.astropm-acct-v2) .ec_account_subscription_details_cancel{
    margin: 20px 0 0 0 !important;
    padding: 20px !important;
    background-color: rgba(255, 107, 107, 0.04) !important;
    border: 1px solid rgba(255, 107, 107, 0.2) !important;
    border-radius: 12px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_cancel::before{
    content: 'Need to end this subscription?';
    display: block;
    color: #8A96B2;
    font-size: 13px;
    margin-bottom: 10px;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_cancel_button > form{
    display: inline-block;
    margin: 0;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_cancel_button > form > input[type="submit"]{
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #FF6B6B !important;
    border: 1px solid rgba(255, 107, 107, 0.4) !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

body:not(.astropm-acct-v2) .ec_account_subscription_details_cancel_button > form > input[type="submit"]:hover{
    background-color: rgba(255, 107, 107, 0.08) !important;
    border-color: #FF6B6B !important;
    transform: none !important;
}

/* ========== ACCOUNT ORDER DETAILS PAGE ========== */

body:not(.astropm-acct-v2) #ec_account_order_details{
    padding: 20px 0 !important;
    position: relative;
}

/* Print icon (top-right) */
body:not(.astropm-acct-v2) #ec_account_order_details > .right{
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 2;
}

body:not(.astropm-acct-v2) #ec_account_order_details > .right > a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0D1426;
    border: 1px solid #1E2A47;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body:not(.astropm-acct-v2) #ec_account_order_details > .right > a:hover{
    border-color: #5AB0FF;
}

body:not(.astropm-acct-v2) #ec_account_order_details > .right > a > img{
    width: 20px;
    height: 20px;
    filter: invert(75%) sepia(10%) saturate(1000%) hue-rotate(180deg) brightness(100%);
}

/* Main two-column layout */
body:not(.astropm-acct-v2) .ec_account_order_details_main_holder{
    display: flex !important;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Left: Order info column */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left{
    flex: 1 1 320px;
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    color: #E8EDF7 !important;
}

/* Right: Items table column */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_right{
    flex: 2 1 480px;
    background-color: #0D1426 !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    color: #E8EDF7 !important;
}

/* Headers inside the order-details cards */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_cart_header,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_cart_header.ec_top{
    color: #E8EDF7 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    padding: 0 0 12px !important;
    margin: 0 0 18px !important;
    border-bottom: 1px solid #1E2A47 !important;
    text-transform: none !important;
    position: relative;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_cart_header::before,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_cart_header.ec_top::before{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%);
}

/* Info rows with strong labels */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row{
    padding: 6px 0 !important;
    margin: 0 !important;
    color: #E8EDF7 !important;
    font-size: 14px !important;
    line-height: 1.55;
}

/* Labels — muted gray instead of blue */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row > strong{
    color: #8A96B2 !important;
    font-weight: 600 !important;
    margin-right: 6px;
}

/* Standalone "Billing Address" section heading */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row > strong:only-child{
    color: #8A96B2 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 700 !important;
}

/* "View Subscription Details" styled as inline button */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row > strong > a{
    color: #5AB0FF !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(90, 176, 255, 0.08);
    border: 1px solid rgba(90, 176, 255, 0.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row > strong > a:hover{
    background-color: rgba(176, 124, 255, 0.12);
    border-color: #B07CFF;
    color: #B07CFF !important;
}

/* Sub Total / Order Total — emphasize the final total */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row:last-child{
    font-weight: 700;
    padding-top: 14px !important;
    border-top: 1px solid #1E2A47;
    margin-top: 8px !important;
    font-size: 17px !important;
    color: #5AB0FF !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left .ec_cart_input_row:last-child > strong{
    color: #E8EDF7 !important;
    font-size: 15px !important;
}

/* ---- Order items TABLE ---- */

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table{
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    background: transparent !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table thead tr,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table thead th{
    background-color: rgba(90, 176, 255, 0.06) !important;
    background: rgba(90, 176, 255, 0.06) !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table thead th{
    color: #8A96B2 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 12px !important;
    text-align: left;
    border-bottom: 1px solid #1E2A47 !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table thead th:first-child{
    border-top-left-radius: 8px;
}
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table thead th:last-child{
    border-top-right-radius: 8px;
    text-align: right;
}
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_head_price,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_head_quantity,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_head_total{
    text-align: right !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table tbody td{
    padding: 16px 12px !important;
    border-bottom: 1px solid #1E2A47 !important;
    color: #E8EDF7 !important;
    vertical-align: middle;
    background: transparent !important;
    background-color: transparent !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_table tbody tr:last-child td{
    border-bottom: none !important;
}

/* Force the whole table row to have transparent bg (fighting plugin CSS) */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_row,
body:not(.astropm-acct-v2) #ec_account_order_details tr.ec_account_orderitem_row{
    background: transparent !important;
    background-color: transparent !important;
}

/* Product image cell */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_image{
    width: 72px;
    padding: 16px 8px !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_image img{
    width: 56px !important;
    height: 56px !important;
    border-radius: 8px;
    border: 1px solid #1E2A47;
    object-fit: cover;
    display: block;
}

/* Product title + option text */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_details{
    color: #E8EDF7 !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_title{
    margin-bottom: 4px;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_title > a{
    color: #E8EDF7 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_title > a:hover{
    color: #5AB0FF !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_option{
    color: #8A96B2 !important;
    font-size: 12px !important;
}

/* Right-aligned price/qty/total cells */
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_price,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_quantity,
body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_orderitem_total{
    text-align: right !important;
    font-size: 14px !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_unit_price{
    color: #E8EDF7 !important;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_quantity{
    color: #8A96B2 !important;
    font-weight: 600;
}

body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_item_display_total_price{
    color: #5AB0FF !important;
    font-weight: 700 !important;
}

/* Responsive — stack columns on narrow widths */
@media (max-width: 900px) {
    body:not(.astropm-acct-v2) .ec_account_order_details_main_holder{
        flex-direction: column;
    }
    body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_left,
    body:not(.astropm-acct-v2) #ec_account_order_details .ec_account_order_details_right{
        flex: 1 1 auto;
    }
}

/* Login page — override right sidebar card styling so it matches the naked left */
body:not(.astropm-acct-v2) .ec_account_page .ec_account_right.ec_account_login{
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    position: static !important;
    box-shadow: none !important;
}

/* Both login panels: trim the subheader gap and style "Forgot Password?" as inline */
body:not(.astropm-acct-v2) .ec_account_page .ec_account_login .ec_cart_button_row{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px !important;
}

body:not(.astropm-acct-v2) .ec_account_page .ec_account_login .ec_account_login_link{
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 0;
    transition: color 0.2s ease;
}

body:not(.astropm-acct-v2) .ec_account_page .ec_account_login .ec_account_login_link:hover{
    color: #B07CFF !important;
}

/* Force dark color on the vertical separator between left/right account columns */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_left{
    border-right-color: #1E2A47 !important;
    border-top-color: #1E2A47 !important;
    border-bottom-color: #1E2A47 !important;
    border-left-color: #1E2A47 !important;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right{
    border-left-color: #1E2A47 !important;
}

/* Force dark color on any stray horizontal separators in account panels */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_subheader,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_left .ec_cart_input_row,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_input_row,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) hr{
    border-top-color: #1E2A47 !important;
    border-bottom-color: #1E2A47 !important;
    border-left-color: #1E2A47 !important;
    border-right-color: #1E2A47 !important;
}

body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) .ec_account_subheader{
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 14px !important;
}

/* Remove transform lift on hover so buttons don't appear to resize/shift */
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) a:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) input[type="submit"]:hover,
body:not(.astropm-acct-v2) :is(.ec_account_page, [id^="ec_account_"]) input[type="button"]:hover{
    transform: none !important;
}

/* Hide "Buy Item Again" buttons on the dashboard's Recent Orders section */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_order_item_buttons,
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_order_item_buy_button{
    display: none !important;
}

/* ========== ACCOUNT ORDERS LIST ========== */

/* Order header row (Card Approved / TOTAL / SHIP TO / ORDER #) */
body:not(.astropm-acct-v2) .ec_account_order_header_row{
    background-color: rgba(90, 176, 255, 0.06) !important;
    background: rgba(90, 176, 255, 0.06) !important;
    background-image: none !important;
    border: 1px solid #1E2A47 !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none !important;
    padding: 16px 20px !important;
    margin-top: 16px !important;
    color: #E8EDF7 !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 1.6fr) minmax(60px, 0.5fr) minmax(100px, 0.9fr) minmax(165px, 1.2fr);
    gap: 14px 14px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 720px) {
    body:not(.astropm-acct-v2) .ec_account_order_header_row{
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 420px) {
    body:not(.astropm-acct-v2) .ec_account_order_header_row{
        grid-template-columns: 1fr !important;
    }
}

/* Each column stacks its label + value vertically */
body:not(.astropm-acct-v2) .ec_account_order_header_row > .ec_account_order_header_column_left{
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    gap: 3px;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Reset any inherited aggressive word-break */
body:not(.astropm-acct-v2) .ec_account_order_header_row,
body:not(.astropm-acct-v2) .ec_account_order_header_row span,
body:not(.astropm-acct-v2) .ec_account_order_header_row div,
body:not(.astropm-acct-v2) .ec_account_order_header_row a{
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Prevent word-by-word wrapping — labels can wrap as a unit but values stay on one line where possible */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > span:first-child{
    white-space: nowrap;
}

/* All header columns (the plugin uses _left for every column despite the name) */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left{
    color: #E8EDF7 !important;
    min-width: 0;
}

/* First span in each column = LABEL (Card Approved, TOTAL, SHIP TO, ORDER #) */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > span:first-child{
    color: #8A96B2 !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

/* Second span = VALUE (date, amount, order number) */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > span:nth-child(2){
    color: #E8EDF7 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    word-spacing: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    line-height: 1.4;
}

/* First-column (date) — allow it to span wider content, targeted */
body:not(.astropm-acct-v2) .ec_account_order_header_row > .ec_account_order_header_column_left_div1 > span:nth-child(2){
    font-size: 13px !important;
}

/* Give the date column room for "April 20, 2026 6:32 pm" on 1-2 lines */
body:not(.astropm-acct-v2) .ec_account_order_header_row > .ec_account_order_header_column_left_div1{
    min-width: 180px !important;
}

/* Value div (links like "View Details | Print Receipt") — keep links on one line */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > div{
    white-space: nowrap;
    overflow: visible;
}

/* Value div (Ship-to customer, View Details links) */
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > div{
    color: #E8EDF7 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

/* View Details / Print Receipt links — force brand blue */
body:not(.astropm-acct-v2) .ec_account_order_header_row a,
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > div > a{
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body:not(.astropm-acct-v2) .ec_account_order_header_row a:hover,
body:not(.astropm-acct-v2) .ec_account_order_header_row .ec_account_order_header_column_left > div > a:hover{
    color: #B07CFF !important;
}

/* Ship-to customer link (with hover address popover) */
body:not(.astropm-acct-v2) .ec_account_dashboard_order_info_link{
    color: #5AB0FF !important;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

body:not(.astropm-acct-v2) .ec_account_dashboard_order_info_link > span{
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    background: #0D1426;
    border: 1px solid #1E2A47;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #E8EDF7;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body:not(.astropm-acct-v2) .ec_account_dashboard_order_info_link:hover > span{
    display: block;
}

/* Product item row (attached visually to the header above it) */
body:not(.astropm-acct-v2) .ec_account_order_item_row{
    background-color: #0D1426 !important;
    background: #0D1426 !important;
    background-image: none !important;
    border: 1px solid #1E2A47 !important;
    border-top: none !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 0 !important;
    color: #E8EDF7 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px;
}

body:not(.astropm-acct-v2) .ec_account_order_item_content{
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;
}

body:not(.astropm-acct-v2) .ec_account_order_item_details{
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
}

body:not(.astropm-acct-v2) .ec_account_order_item_image{
    flex: 0 0 64px !important;
    width: 64px !important;
    max-width: 64px !important;
    min-width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

body:not(.astropm-acct-v2) .ec_account_order_item_image img{
    width: 64px !important;
    height: 64px !important;
    border-radius: 8px;
    border: 1px solid #1E2A47;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

body:not(.astropm-acct-v2) .ec_account_order_item_details{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body:not(.astropm-acct-v2) .ec_account_order_item_details > span.ec_account_order_item_title{
    color: #E8EDF7 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

body:not(.astropm-acct-v2) .ec_account_order_item_details > span.ec_account_order_item_price{
    color: #5AB0FF !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Buy Item Again — the span wraps an <a>, target both */
body:not(.astropm-acct-v2) .ec_account_order_item_buy_button,
body:not(.astropm-acct-v2) .ec_account_order_item_buy_button > a,
body:not(.astropm-acct-v2) .ec_account_order_item_download_button,
body:not(.astropm-acct-v2) .ec_account_order_item_download_button > a{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: none !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

/* Outer span = the button pill */
body:not(.astropm-acct-v2) .ec_account_order_item_buy_button,
body:not(.astropm-acct-v2) .ec_account_order_item_download_button{
    display: inline-block;
    padding: 10px 20px !important;
    box-shadow: 0 4px 14px rgba(90, 176, 255, 0.25) !important;
}

/* Inner anchor — strip its own padding so it fits inside the span pill */
body:not(.astropm-acct-v2) .ec_account_order_item_buy_button > a,
body:not(.astropm-acct-v2) .ec_account_order_item_download_button > a{
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    display: inline-block;
}

body:not(.astropm-acct-v2) .ec_account_order_item_buy_button:hover,
body:not(.astropm-acct-v2) .ec_account_order_item_download_button:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: none;
}

/* "VIEW ALL ORDERS" divider row */
body:not(.astropm-acct-v2) .ec_account_dashboard_row_divider{
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 24px 0 !important;
    text-align: center !important;
    margin-top: 16px;
}

body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_dashboard_row_divider > a.ec_account_dashboard_link,
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_account_dashboard_row_divider > a.ec_account_dashboard_link{
    display: inline-block !important;
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(90, 176, 255, 0.25) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    transform: none !important;
}

body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_dashboard_row_divider > a.ec_account_dashboard_link:hover,
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_account_left .ec_account_dashboard_row_divider > a.ec_account_dashboard_link:hover{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: translateY(-1px) !important;
    padding-left: 32px !important;
}

/* ========== ASTROPM LICENSES SECTION (dashboard) ========== */

body:not(.astropm-acct-v2) .ec_account_license_row{
    background-color: rgba(90, 176, 255, 0.06) !important;
    background: rgba(90, 176, 255, 0.06) !important;
    border: 1px solid #1E2A47 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    margin: 0 0 14px !important;
    color: #E8EDF7 !important;
    box-sizing: border-box !important;
    float: left !important;
    clear: both !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

/* Naked title row above each license card — mirrors the "Recent Orders" section header */
body:not(.astropm-acct-v2) #ec_account_dashboard .ec_cart_header.ec_account_license_title{
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    float: left !important;
    clear: both !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 20px 0 10px !important;
    color: #E8EDF7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    box-sizing: border-box !important;
}

body:not(.astropm-acct-v2) .ec_account_license_product{
    color: #E8EDF7;
}

body:not(.astropm-acct-v2) .ec_account_license_status{
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

body:not(.astropm-acct-v2) .ec_license_badge_active{
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

body:not(.astropm-acct-v2) .ec_license_badge_expired{
    background: rgba(255, 99, 99, 0.12);
    color: #FF8A8A;
    border: 1px solid rgba(255, 99, 99, 0.3);
}

body:not(.astropm-acct-v2) .ec_license_badge_inactive{
    background: rgba(138, 150, 178, 0.12);
    color: #8A96B2;
    border: 1px solid rgba(138, 150, 178, 0.3);
}

body:not(.astropm-acct-v2) .ec_account_license_body{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

body:not(.astropm-acct-v2) .ec_account_license_field_key{
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body:not(.astropm-acct-v2) .ec_account_license_field{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body:not(.astropm-acct-v2) .ec_account_license_field_key{
    flex-direction: row;
}

body:not(.astropm-acct-v2) .ec_account_license_label{
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8A96B2;
}

body:not(.astropm-acct-v2) .ec_account_license_field_key .ec_account_license_label{
    margin-right: 4px;
    align-self: center;
}

body:not(.astropm-acct-v2) .ec_account_license_value{
    font-size: 14px;
    color: #E8EDF7;
    font-weight: 500;
}

body:not(.astropm-acct-v2) .ec_account_license_value a{
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 600;
}

body:not(.astropm-acct-v2) .ec_account_license_value a:hover{
    color: #B07CFF !important;
}

body:not(.astropm-acct-v2) .ec_account_license_key{
    font-family: 'Consolas', 'Menlo', 'Monaco', monospace;
    font-size: 14px;
    color: #E8EDF7;
    background: rgba(7, 11, 20, 0.5);
    border: 1px solid #1E2A47;
    padding: 8px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    word-break: break-all;
    flex: 1 1 auto;
    min-width: 200px;
}

body:not(.astropm-acct-v2) .ec_account_license_copy{
    background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(90, 176, 255, 0.25) !important;
    transition: box-shadow 0.2s ease !important;
}

body:not(.astropm-acct-v2) .ec_account_license_copy:hover{
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: none !important;
}

body:not(.astropm-acct-v2) .ec_account_license_copy_done{
    background: #1E2A47 !important;
    color: #5AB0FF !important;
    box-shadow: none !important;
}

body:not(.astropm-acct-v2) .ec_account_license_notice{
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_expired{
    background: rgba(255, 99, 99, 0.08);
    border: 1px solid rgba(255, 99, 99, 0.35);
    color: #FF8A8A;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_expired a{
    color: #FF8A8A !important;
    text-decoration: underline !important;
    font-weight: 700;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_expired a:hover{
    color: #FFB0B0 !important;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_expired::before{
    content: '⚠';
    font-size: 16px;
    color: #FF8A8A;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_active{
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34D399;
}

body:not(.astropm-acct-v2) .ec_account_license_notice_dot{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    animation: ec_license_pulse 2s ease-in-out infinite;
}

@keyframes ec_license_pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

body:not(.astropm-acct-v2) .ec_account_license_machines{
    margin-top: 14px;
    border-top: 1px solid #1E2A47;
    padding-top: 12px;
}

body:not(.astropm-acct-v2) .ec_account_license_machines summary{
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #5AB0FF;
    list-style: none;
    padding: 4px 0;
    user-select: none;
}

body:not(.astropm-acct-v2) .ec_account_license_machines summary::-webkit-details-marker{
    display: none;
}

body:not(.astropm-acct-v2) .ec_account_license_machines summary::before{
    content: '▸';
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

body:not(.astropm-acct-v2) .ec_account_license_machines[open] summary::before{
    transform: rotate(90deg);
}

body:not(.astropm-acct-v2) .ec_account_license_machines_list{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body:not(.astropm-acct-v2) .ec_account_license_machine_row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(7, 11, 20, 0.4);
    border: 1px solid #1E2A47;
    border-radius: 6px;
    font-size: 13px;
}

body:not(.astropm-acct-v2) .ec_account_license_machine_inactive{
    opacity: 0.55;
}

body:not(.astropm-acct-v2) .ec_account_license_machine_name{
    color: #E8EDF7;
    font-weight: 600;
}

body:not(.astropm-acct-v2) .ec_account_license_machine_meta{
    color: #8A96B2;
    font-size: 12px;
}

body:not(.astropm-acct-v2) .ec_account_license_empty{
    background-color: rgba(90, 176, 255, 0.04);
    border: 1px dashed #1E2A47;
    border-radius: 12px;
    padding: 20px;
    color: #8A96B2;
    font-size: 14px;
    text-align: center;
    margin: 0 0 14px;
}

body:not(.astropm-acct-v2) .ec_account_license_empty a{
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 700;
}

body:not(.astropm-acct-v2) .ec_account_license_empty a:hover{
    color: #B07CFF !important;
}

@media (max-width: 600px) {
    body:not(.astropm-acct-v2) .ec_account_license_body{
        grid-template-columns: 1fr;
    }
    body:not(.astropm-acct-v2) .ec_account_license_field_key{
        flex-direction: column;
        align-items: flex-start;
    }
    body:not(.astropm-acct-v2) .ec_account_license_field_key .ec_account_license_label{
        margin-right: 0;
    }
    body:not(.astropm-acct-v2) .ec_account_license_key{
        min-width: 0;
        width: 100%;
    }
}

/* Lock CREATE ACCOUNT button dimensions so it doesn't appear to resize on hover.
   Shadow growth was the visual culprit — keep the shadow identical between states. */
body:not(.astropm-acct-v2) .ec_account_page .ec_account_login_create_account_button,
body:not(.astropm-acct-v2) .ec_account_page a.ec_account_login_create_account_button,
body:not(.astropm-acct-v2) .ec_account_page .ec_account_login_create_account_button:hover,
body:not(.astropm-acct-v2) .ec_account_page a.ec_account_login_create_account_button:hover,
body:not(.astropm-acct-v2) .ec_account_page .ec_account_login_create_account_button:focus,
body:not(.astropm-acct-v2) .ec_account_page a.ec_account_login_create_account_button:focus{
    padding: 14px 28px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(90, 176, 255, 0.25) !important;
    transform: none !important;
    transition: background 0.3s ease, color 0.2s ease !important;
}

/* 3. WP EasyCart 6.0.7 ---------------------------------------------------- */

/* Page-change loading cover: EasyCart draws a white tint + white card; dark site, so dark glass. */
.wpec-goto-loader { background: rgba(7, 11, 20, 0.62) !important; }
.wpec-goto-loader .wpec-goto-card { background: #141B2D !important; border-color: #1E2A47 !important; color: #E8EDF7 !important; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important; }
.wpec-goto-loader .wpec-goto-text { color: #E8EDF7 !important; }
.wpec-goto-loader .wpec-goto-slow { color: #8A96B2 !important; }
.wpec-goto-loader .wpec-goto-spinner { border-color: rgba(138, 150, 178, 0.3) !important; border-top-color: #5AB0FF !important; }
.wpec-busy { background: rgba(7, 11, 20, 0.62) !important; }

/* Checkout "Returning Customer" signed-in card (initials, name, email, "Not you? Sign out").
   It is also an .ec_cart_input_row, and section 1 zeroes that row's padding with !important,
   so the card's contents sat against its border. Restore EasyCart's spacing, site colours. */
.ec_cart_input_row.ec_cart_signed_in_v2,
#ec_cart_logged_in_section.ec_cart_signed_in_v2 {
	padding: 14px 18px !important;
	margin: 12px 0 24px !important;
	gap: 10px 14px !important;
	border: 1px solid #1E2A47 !important;
	border-radius: 10px !important;
	background: rgba(90, 176, 255, 0.05) !important;
}
.ec_cart_signed_in_v2 .ec_cart_signed_in_avatar {
	background: rgba(90, 176, 255, 0.14) !important;
	color: #5AB0FF !important;
}
.ec_cart_signed_in_v2 .ec_cart_signed_in_name { color: #E8EDF7 !important; line-height: 1.3 !important; }
.ec_cart_signed_in_v2 .ec_cart_signed_in_email { color: #8A96B2 !important; line-height: 1.4 !important; }
.ec_cart_signed_in_v2 .ec_cart_signed_in_switch { color: #8A96B2 !important; }
.ec_cart_signed_in_v2 .ec_cart_signed_in_switch > a.ec_cart_login_header_link { color: #5AB0FF !important; }
.ec_cart_signed_in_v2 .ec_cart_signed_in_switch > a.ec_cart_login_header_link:hover { color: #B07CFF !important; }

/* Account forms (billing, shipping, basic information, password): section 1 stacks every
   .ec_cart_button_row in a right-aligned column (meant for cart / checkout). Give the signed-in
   6.0.7 account forms EasyCart's own row back: Update and Cancel side by side, left-aligned. */
body.astropm-acct-v2 :is(.ec_account_forms_v2, .ec_account_entry_v2) .ec_cart_button_row {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px 14px !important;
	margin: 18px 0 0 !important;
	text-align: left !important;
}
body.astropm-acct-v2 :is(.ec_account_forms_v2, .ec_account_entry_v2) .ec_cart_button_row :is(input[type="submit"], input[type="button"]) {
	min-height: 44px !important;
	margin: 0 !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
}

/* Checkbox rows (e.g. "Would you like to subscribe to our newsletter?"): section 1 forces every
   account label to display:block and paints every input dark with background-image:none, which
   stacked the label under a full-size dark box and wiped EasyCart's checkmark. Restore
   EasyCart's own agree-box: 20px box beside its text, accent fill + check when ticked. */
body.astropm-acct-v2 .ec_cart_input_row label.ec_cart_check_label {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	min-height: 0 !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	box-shadow: none !important; /* EasyCart rings a ticked agree-box in its default blue */
	cursor: pointer;
}
body.astropm-acct-v2 .ec_cart_input_row label.ec_cart_check_label > input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	min-width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #3A4A6E !important;
	border-radius: 5px !important;
	background: #0D1426 !important;
	box-shadow: none !important;
	cursor: pointer;
}
body.astropm-acct-v2 .ec_cart_input_row label.ec_cart_check_label > input[type="checkbox"]:checked {
	border-color: #5AB0FF !important;
	background: #5AB0FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
}
body.astropm-acct-v2 .ec_cart_input_row label.ec_cart_check_label > input[type="checkbox"]:focus-visible {
	outline: 2px solid #5AB0FF !important;
	outline-offset: 2px !important;
}

/* Stock 6.0.7 account menu: the Elementor kit's old account CSS forces padding: 12px 0 !important on
   .ec_account_right .ec_account_dashboard_link, which pulls the text under EasyCart's menu icons.
   Put EasyCart's own spacing back (same values as ec-store.css). Remove once the kit's old
   account CSS is cleaned out. */
.ec_account_v2 .ec_account_nav_v2 .ec_account_nav_items > .ec_cart_input_row > a.ec_account_dashboard_link {
	padding: 9px 12px !important;
	padding-inline-start: 40px !important;
}
@container ( max-width:680px ) {
	.ec_account_v2 .ec_account_nav_v2 .ec_account_nav_items > .ec_cart_input_row > a.ec_account_dashboard_link {
		padding: 8px 14px !important;
		padding-inline-start: 35px !important;
	}
}
/* Phones: EasyCart turns the menu into one sideways-scrolling row of pills below 560px (with a
   white system scrollbar). Keep the pills wrapping onto as many lines as they need instead. */
@container ( max-width:560px ) {
	.ec_account_v2 .ec_account_nav_v2 .ec_account_nav_items {
		flex-wrap: wrap !important;
		overflow: visible !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 8px !important;
	}
	.ec_account_v2 .ec_account_nav_v2 .ec_account_nav_items > .ec_cart_input_row > a.ec_account_dashboard_link {
		padding: 7px 12px !important;
		padding-inline-start: 33px !important;
		font-size: 13px !important;
	}
	.ec_account_v2 .ec_account_nav_v2 .ec_account_nav_items > .ec_cart_input_row > a::before {
		inset-inline-start: 11px;
	}
}

/* 4. Account licenses ---------------------------------------------------- */

.astropm-licenses {
	--apm-text: #E8EDF7;
	--apm-muted: #8A96B2;
	--apm-line: #1E2A47;
	--apm-blue: #5AB0FF;
	--apm-violet: #B07CFF;
	--apm-green: #34D399;
	--apm-red: #FF8A8A;
	margin: 0 0 32px;
	color: var(--apm-text);
	clear: both;
}
.astropm-licenses *,
.astropm-licenses *::before,
.astropm-licenses *::after { box-sizing: border-box; }

.astropm-licenses .astropm-licenses__heading {
	margin: 0 0 6px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--apm-line);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--apm-text);
}

.astropm-licenses .astropm-license { margin: 0 0 18px; }

.astropm-licenses .ec_account_license_title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 10px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.2px;
	color: var(--apm-text);
}

.astropm-licenses .ec_account_license_status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.4;
}
.astropm-licenses .ec_license_badge_active   { background: rgba(52, 211, 153, 0.15); color: var(--apm-green); border: 1px solid rgba(52, 211, 153, 0.4); }
.astropm-licenses .ec_license_badge_expired  { background: rgba(255, 99, 99, 0.12);  color: var(--apm-red);   border: 1px solid rgba(255, 99, 99, 0.3); }
.astropm-licenses .ec_license_badge_inactive { background: rgba(138, 150, 178, 0.12); color: var(--apm-muted); border: 1px solid rgba(138, 150, 178, 0.3); }

.astropm-licenses { display: flow-root; }
.astropm-licenses .ec_account_license_row {
	float: none !important; /* the Elementor kit floats .ec_account_license_row left with !important, which squeezed the stock orders/profile columns beside it */
	display: block;
	width: 100%;
	padding: 18px 20px;
	border: 1px solid var(--apm-line);
	border-radius: 12px;
	background: rgba(90, 176, 255, 0.06);
	color: var(--apm-text);
}

.astropm-licenses .ec_account_license_body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
}
.astropm-licenses .ec_account_license_field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.astropm-licenses .ec_account_license_field_key {
	grid-column: 1 / -1;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.astropm-licenses .ec_account_license_label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--apm-muted);
}
.astropm-licenses .ec_account_license_field_key .ec_account_license_label { margin-right: 4px; }
.astropm-licenses .ec_account_license_value { font-size: 14px; font-weight: 500; color: var(--apm-text); }
.astropm-licenses .ec_account_license_value a { color: var(--apm-blue); text-decoration: none; font-weight: 600; }
.astropm-licenses .ec_account_license_value a:hover { color: var(--apm-violet); }

.astropm-licenses .ec_account_license_key {
	flex: 1 1 auto;
	min-width: 200px;
	padding: 8px 12px;
	border: 1px solid var(--apm-line);
	border-radius: 6px;
	background: rgba(7, 11, 20, 0.5);
	font-family: Consolas, Menlo, Monaco, monospace;
	font-size: 14px;
	letter-spacing: 0.5px;
	color: var(--apm-text);
	word-break: break-all;
}

.astropm-licenses button.ec_account_license_copy {
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: none !important;
	border-radius: 6px !important;
	background: linear-gradient(90deg, #5AB0FF 0%, #B07CFF 100%) !important;
	color: #FFFFFF !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	box-shadow: 0 4px 16px rgba(90, 176, 255, 0.25) !important;
	transform: none !important;
}
.astropm-licenses button.ec_account_license_copy:hover { box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important; }
.astropm-licenses button.ec_account_license_copy.ec_account_license_copy_done {
	background: var(--apm-line) !important;
	color: var(--apm-blue) !important;
	box-shadow: none !important;
}

.astropm-licenses .ec_account_license_notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.astropm-licenses .ec_account_license_notice_active { background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--apm-green); }
.astropm-licenses .ec_account_license_notice_expired { background: rgba(255, 99, 99, 0.08); border: 1px solid rgba(255, 99, 99, 0.35); color: var(--apm-red); }
.astropm-licenses .ec_account_license_notice_expired::before { content: '\26A0'; font-size: 16px; }
.astropm-licenses .ec_account_license_notice_expired a { color: var(--apm-red); text-decoration: underline; font-weight: 700; }
.astropm-licenses .ec_account_seat_notice { margin: 12px 0 4px; }
.astropm-licenses .ec_account_seat_notice_err { background: rgba(248, 113, 113, 0.10); border: 1px solid rgba(248, 113, 113, 0.35); color: #FCA5A5; }
.astropm-licenses .ec_account_license_notice_dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--apm-green);
	animation: astropm_license_pulse 2s ease-in-out infinite;
}
@keyframes astropm_license_pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
	50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
}

.astropm-licenses .ec_account_license_machines {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--apm-line);
}
.astropm-licenses .ec_account_license_machines summary {
	padding: 4px 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--apm-blue);
	cursor: pointer;
	user-select: none;
}
.astropm-licenses .ec_account_license_machines summary::-webkit-details-marker { display: none; }
.astropm-licenses .ec_account_license_machines summary::before {
	content: '\25B8';
	display: inline-block;
	margin-right: 8px;
	transition: transform 0.2s ease;
}
.astropm-licenses .ec_account_license_machines[open] summary::before { transform: rotate(90deg); }
.astropm-licenses .ec_account_license_machines_list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}
.astropm-licenses .ec_account_license_machine_row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid var(--apm-line);
	border-radius: 6px;
	background: rgba(7, 11, 20, 0.4);
	font-size: 13px;
}
.astropm-licenses .ec_account_license_machine_inactive { opacity: 0.55; }
.astropm-licenses .ec_account_license_machine_name { font-weight: 600; color: var(--apm-text); }
.astropm-licenses .ec_account_license_machine_meta { margin-left: auto; font-size: 12px; color: var(--apm-muted); }
.astropm-licenses .ec_account_license_revoke_form { display: inline-flex; flex: 0 0 auto; margin: 0; padding: 0; }

.astropm-licenses button.ec_account_license_revoke {
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 5px 10px !important;
	border: 1px solid rgba(239, 68, 68, 0.55) !important;
	border-radius: 6px !important;
	background: rgba(239, 68, 68, 0.14) !important;
	color: #FCA5A5 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transform: none !important;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease !important;
}
.astropm-licenses button.ec_account_license_revoke:hover {
	border-color: #EF4444 !important;
	background: #EF4444 !important;
	color: #FFFFFF !important;
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}
.astropm-licenses button.ec_account_license_revoke:disabled { opacity: 0.6 !important; cursor: default !important; }

.astropm-licenses .ec_account_license_empty {
	margin: 12px 0 0;
	padding: 20px;
	border: 1px dashed var(--apm-line);
	border-radius: 12px;
	background: rgba(90, 176, 255, 0.04);
	font-size: 14px;
	text-align: center;
	color: var(--apm-muted);
}
.astropm-licenses .ec_account_license_empty a { color: var(--apm-blue); text-decoration: none; font-weight: 700; }

#astropm-licenses { scroll-margin-top: 90px; }

@media (max-width: 600px) {
	.astropm-licenses .ec_account_license_body { grid-template-columns: 1fr; }
	.astropm-licenses .ec_account_license_field_key { flex-direction: column; align-items: flex-start; }
	.astropm-licenses .ec_account_license_key { width: 100%; min-width: 0; }
	.astropm-licenses .ec_account_license_machine_row { flex-wrap: wrap; }
	.astropm-licenses .ec_account_license_machine_meta { flex-basis: 100%; margin-left: 0; }
}

/* 5. Docs / BetterDocs ---------------------------------------------------- */

/* ═══════════════════════════════════════════════════════════════
   Astro PM — BetterDocs dark theme: COMPLETE Additional CSS.
   This is the full, current stylesheet — replace the entire
   Appearance → Customize → Additional CSS contents with this file.
   (Customizer import handles ~280 color controls; this covers the
   whites BetterDocs hardcodes in its static CSS, plus sidebar and
   TOC behavior polish.)
   ═══════════════════════════════════════════════════════════════ */

/* ── Theme page body behind all docs pages ── */
body.single-docs,
body.post-type-archive-docs,
body.tax-doc_category,
body.tax-docs-category,
body.tax-docs-tag {
  background-color: #0d1426 !important;
}

/* ── THE white article column (hardcoded in plugin single.css) ── */
.betterdocs-wrapper,
.betterdocs-wrapper.betterdocs-single-layout-8,
.betterdocs-wrapper.betterdocs-taxonomy-wrapper.betterdocs-archive-layout-7 {
  background: #0d1426 !important;
}
.betterdocs-content-area .betterdocs-content-inner-area {
  background-color: #0d1426 !important;
}

/* ── Sidebar panels (hardcoded #fff in single.css) ── */
.betterdocs-sidebar .betterdocs-sidebar-content,
.betterdocs-sidebar.betterdocs-sidebar-layout-7 .betterdocs-sidebar-content {
  background: #16223c !important;
}
/* mobile slide-in sidebar + mobile TOC drawer */
.betterdocs-mobile-sidebar-wrapper .betterdocs-sidebar,
.betterdocs-mobile-toc-wrapper .betterdocs-full-sidebar-right {
  background-color: #16223c !important;
}

/* ── Entry footer strips (print row, share row, prev/next) ── */
body.single-docs .betterdocs-entry-footer,
body.single-docs .betterdocs-social-share,
body.single-docs .docs-navigation {
  background-color: transparent !important;
}

/* Share icon circles — light gray by default */
.betterdocs-social-share-links a,
.betterdocs-social-share-links li > a {
  background-color: #2a3a5c !important;
}
.betterdocs-social-share-links a svg path {
  fill: #d6e1f3;
}

/* Reaction hover tooltip (white card) + AI article summary box */
.betterdocs-article-reactions .betterdocs-tooltip {
  background: #2a3a5c !important;
  color: #d6e1f3 !important;
}
.betterdocs-article-summary {
  background-color: #16223c !important;
  border-color: #3a4d75 !important;
}

/* ── Category icons are IMAGE files (default art is dark) — render
      as white silhouettes. Remove if you upload light custom icons. ── */
.betterdocs-category-icon img,
img.betterdocs-category-icon-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ── Search input fallbacks (statically styled variants) ── */
.betterdocs-search-modal-layout-1 input[type="text"],
.betterdocs-search-modal-layout-1 input[type="search"],
.betterdocs-search-form input[type="text"],
.betterdocs-search-form input[type="search"] {
  background-color: #16223c !important;
  color: #d6e1f3 !important;
  border: 1px solid #3a4d75 !important;
}
.betterdocs-search-modal-layout-1 input::placeholder,
.betterdocs-search-form input::placeholder {
  color: #8fa3c2 !important;
}
.betterdocs-search-modal-layout-1 svg path {
  fill: #8fa3c2;
}

/* ═══ Search — hardcoded whites in plugin search-modal.css ═══ */

/* Landing hero search bar: the INPUT WRAPPER is hardcoded #fff (the input
   itself is transparent — this was the white strip inside the dark pill) */
.betterdocs-search-layout-1 .search-bar,
.betterdocs-search-layout-1 .search-bar .search-input-wrapper {
  background-color: #16223c !important;
  border-color: #3a4d75 !important;
}
.betterdocs-search-layout-1 .search-bar .search-input-wrapper .search-input {
  color: #d6e1f3 !important;
}
.betterdocs-search-layout-1 .search-bar .search-input-wrapper .search-input::placeholder {
  color: #8fa3c2 !important;
}

/* Search modal: keep it above the site header (the theme header's z-index
   beats the plugin's 9999999) and give it more top clearance */
.betterdocs-search-wrapper {
  z-index: 2147483000 !important;
}
.betterdocs-search-wrapper .betterdocs-search-details {
  background: #16223c !important;
  border-color: #3a4d75 !important;
  top: 140px !important;
}
.betterdocs-search-wrapper .betterdocs-search-details .betterdocs-search-header {
  background: #0d1426 !important;
}
.betterdocs-search-wrapper .betterdocs-search-details .betterdocs-search-field {
  color: #d6e1f3 !important;
}
.betterdocs-search-wrapper .betterdocs-search-details .betterdocs-search-field::placeholder {
  color: #8fa3c2 !important;
}
/* ESC pill + close (✕) circle in the modal */
.betterdocs-search-wrapper .betterdocs-search-details .esc-button {
  background-color: #2a3a5c !important;
  color: #d6e1f3 !important;
}
.betterdocs-search-wrapper .betterdocs-search-details .xmark {
  background-color: #2a3a5c !important;
}
/* Sidebar search trigger (fake input with ⌘K) */
.betterdocs-search-popup .betterdocs-searchform .betterdocs-search-command {
  color: #8fa3c2 !important;
}

/* ═══ Print buttons — hardcoded light gray in single.css ═══ */
.betterdocs-print-btn,
.betterdocs-print-btn-2 {
  background: #2a3a5c !important;
}
.betterdocs-print-btn svg path,
.betterdocs-print-btn-2 svg path {
  fill: #d6e1f3;
}

/* Sidebar category icon — it's an image file, so on a dark sidebar it can only
   render as a light blob. Hide it for a clean text-only sidebar. (If you'd
   rather keep icons, delete this rule and upload light-colored custom icons
   per category instead.) */
.betterdocs-sidebar .betterdocs-category-icon,
.betterdocs-sidebar img.betterdocs-category-icon-img {
  display: none !important;
}

/* ── Comments area on doc pages ── */
body.single-docs #comments,
body.single-docs .comment-respond,
body.single-docs .comment-reply-title,
body.single-docs .comments-title {
  color: #d6e1f3;
}
body.single-docs #comments input,
body.single-docs #comments textarea {
  background: #16223c !important;
  color: #d6e1f3 !important;
  border: 1px solid #3a4d75 !important;
}

/* ═══ Sticky right TOC — pin below the site header ═══ */
.betterdocs-full-sidebar-right .layout2-toc-container,
.betterdocs-full-sidebar-right .layout3-toc-container,
.betterdocs-full-sidebar-right .right-sidebar-toc-container {
  top: 200px !important;
  max-height: calc(100vh - 140px) !important;
}

/* Clicking a TOC link: keep the target heading from landing under the header */
body.single-docs .betterdocs-entry-content h1,
body.single-docs .betterdocs-entry-content h2,
body.single-docs .betterdocs-entry-content h3,
body.single-docs .betterdocs-entry-content h4,
body.single-docs .betterdocs-entry-content h5,
body.single-docs .betterdocs-entry-content h6,
body.single-docs .elementor-widget-heading .elementor-heading-title {
  scroll-margin-top: 200px;
}

/* ═══════════════════════════════════════════════════════════════
   Nested sidebar polish (replaces the old pill-style rollover)
   ═══════════════════════════════════════════════════════════════ */

/* Toggle icon: kill the white square, draw a clean chevron instead.
   Right-pointing when collapsed, down when expanded. */
.betterdocs-sidebar .betterdocs-folder-icon.toggle-arrow {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  position: relative !important;
  display: inline-block !important;
}
.betterdocs-sidebar .betterdocs-folder-icon.toggle-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #5ab0ff;
  border-bottom: 2px solid #5ab0ff;
  transform: translate(-60%, -50%) rotate(-45deg); /* points right */
  transition: transform 0.15s ease;
}
.betterdocs-sidebar .betterdocs-folder-icon.toggle-arrow.arrow-down::before {
  transform: translate(-50%, -70%) rotate(45deg); /* points down */
}
/* hide anything the plugin renders inside the toggle */
.betterdocs-sidebar .betterdocs-folder-icon.toggle-arrow svg,
.betterdocs-sidebar .betterdocs-folder-icon.toggle-arrow img {
  display: none !important;
}

/* Subcategory titles (Equipment Setup, Framing, ...): full-contrast, bold */
.betterdocs-sidebar .betterdocs-nested-category-title,
.betterdocs-sidebar .betterdocs-nested-category-title a,
.betterdocs-sidebar .betterdocs-nested-category-title span:not(.betterdocs-folder-icon) {
  color: #e8edf7 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  cursor: pointer;
}
.betterdocs-sidebar .betterdocs-nested-category-title:hover,
.betterdocs-sidebar .betterdocs-nested-category-title:hover a,
.betterdocs-sidebar .betterdocs-nested-category-title:hover span:not(.betterdocs-folder-icon) {
  color: #5ab0ff !important;
  background: transparent !important;
}

/* Docs inside a subcategory: readable (the plugin draws its own tree line —
   recolored below — so no extra border here) */
.betterdocs-sidebar .betterdocs-nested-category-list {
  border-left: none !important;
}
.betterdocs-sidebar .betterdocs-nested-category-list li a {
  color: #c7d2e6 !important;
}

/* Calm hover EVERYWHERE in the sidebar: text turns light blue, no pill */
.betterdocs-sidebar .betterdocs-articles-list li a:hover,
.betterdocs-sidebar .betterdocs-articles-list li a:hover span,
.betterdocs-sidebar .betterdocs-category-title:hover,
.betterdocs-sidebar .betterdocs-category-title a:hover,
.betterdocs-sidebar .betterdocs-sidebar-content a:hover,
.betterdocs-sidebar .betterdocs-nested-category-list li a:hover {
  color: #5ab0ff !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   Sidebar refinements round 2: no active pills, subtle lines
   ═══════════════════════════════════════════════════════════════ */

/* Expanded/active CATEGORY title: no background pill in any state */
.betterdocs-sidebar .betterdocs-nested-category-wrapper .betterdocs-nested-category-title,
.betterdocs-sidebar .betterdocs-nested-category-wrapper.active .betterdocs-nested-category-title,
.betterdocs-sidebar .betterdocs-nested-category-title.active,
.betterdocs-sidebar .betterdocs-nested-category-title a.active {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

/* ACTIVE document: no background pill — blue text + slim accent bar instead */
.betterdocs-sidebar .betterdocs-articles-list li a.active,
.betterdocs-sidebar .betterdocs-articles-list li.active > a,
.betterdocs-sidebar .betterdocs-nested-category-list li a.active,
.betterdocs-sidebar .betterdocs-sidebar-content a.active {
  background: transparent !important;
  background-color: transparent !important;
  color: #5ab0ff !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
}
/* the plugin's accent bar beside the active doc: mint green -> brand blue */
.betterdocs-sidebar .betterdocs-articles-list li a.active:before {
  background: #5ab0ff !important;
}
/* matching fix for the right TOC's active indicator (also mint by default) */
.betterdocs-toc ul li a.active:after,
.betterdocs-toc ul li ul li a.active:after,
.right-sidebar-toc-container .betterdocs-toc ul li a.active:after {
  background: #5ab0ff !important;
}

/* Tree guide lines: plugin draws them light gray (#d0d5dd) — soften to navy */
.betterdocs-sidebar .betterdocs-nested-category-list.active:before,
.betterdocs-sidebar .betterdocs-nested-category-list:before,
.betterdocs-sidebar .betterdocs-single-category-wrapper.active.default.show:before,
.betterdocs-sidebar .betterdocs-single-category-wrapper.active:before {
  background: rgba(58, 77, 117, 0.5) !important;
}

/* Sidebar's right edge divider: light gray -> dark navy */
.betterdocs-full-sidebar-left.betterdocs-sidebar-layout-7,
.betterdocs-full-sidebar-left.betterdocs-sidebar-layout-8,
.betterdocs-sidebar.betterdocs-sidebar-layout-8,
.betterdocs-wrapper.betterdocs-single-layout-8 .betterdocs-content-wrapper .betterdocs-sidebar-layout-7 {
  border-right-color: #2a3a5c !important;
}

/* Sidebar labels are navigation, not copy — block accidental text selection
   (the pale "pill" that appears when click-dragging while scrolling) */
.betterdocs-sidebar .betterdocs-nested-category-title,
.betterdocs-sidebar .betterdocs-category-title,
.betterdocs-sidebar .betterdocs-category-header,
.betterdocs-sidebar .betterdocs-articles-list a,
.betterdocs-sidebar .betterdocs-category-items-counts {
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Brand-colored text selection in doc content (so intentional selection
   looks designed, not default pale) */
body.single-docs ::selection,
body.post-type-archive-docs ::selection,
body.tax-doc_category ::selection {
  background: rgba(90, 176, 255, 0.35);
  color: #ffffff;
}

/* Kill the focus "glow" left on a category after clicking to expand it
   (hover masks it; it appears on roll-off and vanishes when focus moves) */
.betterdocs-sidebar a:focus,
.betterdocs-sidebar a:focus-visible,
.betterdocs-sidebar [tabindex]:focus,
.betterdocs-sidebar [tabindex]:focus-visible,
.betterdocs-sidebar .betterdocs-nested-category-title:focus,
.betterdocs-sidebar .betterdocs-nested-category-title:focus-visible,
.betterdocs-sidebar .betterdocs-nested-category-title:focus-within,
.betterdocs-sidebar .betterdocs-nested-category-title a:focus,
.betterdocs-sidebar .betterdocs-nested-category-title a:focus-visible,
.betterdocs-sidebar .betterdocs-category-header:focus,
.betterdocs-sidebar .betterdocs-category-header:focus-visible,
.betterdocs-sidebar .betterdocs-folder-icon:focus,
.betterdocs-sidebar .betterdocs-folder-icon:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}


/* ═══ Right "Page Content" TOC restyle: compact card with real padding ═══ */

/* Narrower TOC column — the layout is flex, so the article absorbs the space */
.betterdocs-wrapper.betterdocs-single-layout-8 .betterdocs-content-wrapper .betterdocs-full-sidebar-right {
  max-width: 250px !important;
}

/* The panel itself: padding, soft border, rounded */
.betterdocs-wrapper.betterdocs-single-layout-8 .betterdocs-content-wrapper .betterdocs-full-sidebar-right .right-sidebar-toc-container {
  padding: 16px 16px 20px 18px !important;
  background: #16223c !important;
  border: 1px solid #2a3a5c !important;
  border-radius: 10px !important;
}

/* "Page Content" title: quiet uppercase eyebrow */
.betterdocs-full-sidebar-right .betterdocs-toc .toc-title {
  color: #8fa3c2 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.3px !important;
  line-height: 1.4 !important;
  margin: 0 0 4px 0 !important;
}

/* The list: tighter rhythm, modest indent */
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul {
  gap: 2px !important;
  padding-left: 14px !important;
}
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul.betterdocs-hierarchial-toc {
  padding-top: 8px !important;
}

/* Entries: smaller, calmer, comfortable hit area */
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul li a {
  color: #8fa3c2 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  padding: 5px 6px !important;
}
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul li a:hover {
  color: #5ab0ff !important;
}
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul li a.active {
  color: #5ab0ff !important;
  font-weight: 600 !important;
}

/* The vertical guide line: light gray -> subtle navy */
.betterdocs-full-sidebar-right .right-sidebar-toc-container .betterdocs-toc ul.betterdocs-hierarchial-toc:before {
  background: rgba(58, 77, 117, 0.55) !important;
}
