.elementor-kit-9{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#070B14;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ============================================
   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 renders inputs inside an iframe, so its text color
   (#32325d) CANNOT be changed via CSS on this page.
   EasyCart hardcodes it in the plugin's JS.
   Solution: give the Stripe container a WHITE background so the
   dark text reads properly. */

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: #FFFFFF !important;
    background-image: none !important;
    background: #FFFFFF !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: #FFFFFF !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: #FFFFFF !important;
    border-color: #FF6B6B !important;
}

/* The Stripe iframe inside takes 100% width — ensure it reads on white */
#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;
}

/* ========== ACCOUNT DASHBOARD POLISH ========== */

/* Overall page spacing */
#ec_account_dashboard {
    padding: 20px 0 !important;
}

/* Main content (left column) */
#ec_account_dashboard .ec_account_left {
    padding: 0 32px 0 0 !important;
}

/* Right sidebar nav — card panel */
: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 */
#ec_account_dashboard .ec_account_left {
    padding-right: 40px !important;
}

/* Any stray hr / white horizontal divider — darken to match theme */
#ec_account_dashboard hr,
.ec_account_page hr,
.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. */
#ec_account_dashboard .ec_account_left {
    border-right-color: #1E2A47 !important;
}

#ec_account_dashboard *[style*="border-color:#FFF"],
#ec_account_dashboard *[style*="border-color: #FFF"],
#ec_account_dashboard *[style*="border-bottom: 1px solid #"],
.ec_account_page *[style*="border-color:#FFF"] {
    border-color: #1E2A47 !important;
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_header,
: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;
}

: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);
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_input_row:last-child {
    border-bottom: none;
}

: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;
}

: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 */
#ec_account_dashboard .ec_account_mobile {
    display: none;
}

@media (max-width: 989px) {
    #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;
    }
    :is(.ec_account_page, [id^="ec_account_"]) .ec_account_right {
        display: none;
    }
    #ec_account_dashboard .ec_account_left {
        padding: 0 !important;
    }
}

/* Section headers in the main content */
#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;
}

#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%);
}

#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 */
#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) */
#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 */
#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 */
#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;
}

#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 */
#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 */
#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) */
.ec_account_dashboard_link,
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;
}

.ec_account_dashboard_link:hover,
a.ec_account_dashboard_link:hover {
    color: #B07CFF !important;
    transform: translateX(2px);
}

/* "edit" inline links (smaller, subtler) */
.ec_cart_input_row a.ec_account_dashboard_link {
    font-size: 13px !important;
    padding: 2px 0;
    margin-right: 8px;
}

/* Header variants */
.ec_cart_header_no_border,
.ec_cart_header.ec_cart_header_no_border {
    border-bottom: none !important;
    padding-bottom: 6px !important;
}

/* Account page structure */
.ec_account_page,
.ec_account_left,
.ec_account_right,
.ec_account_mobile,
#ec_account_dashboard {
    background-color: transparent !important;
    color: #E8EDF7 !important;
}

/* Subheader (e.g., "Sign in below to access your existing account.") */
.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) */
.ec_account_left .ec_cart_input_row,
.ec_account_right .ec_cart_input_row,
.ec_account_mobile .ec_cart_input_row {
    color: #E8EDF7;
    padding: 6px 0;
    line-height: 1.5;
}

/* "CREATE ACCOUNT" link-button on account page */
.ec_account_login_create_account_button,
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;
}

.ec_account_login_create_account_button:hover,
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 */
#ec_account_billing_information_address2,
#ec_account_shipping_information_address2 {
    margin-top: 0 !important;
}

#ec_account_billing_information_address2::placeholder,
#ec_account_shipping_information_address2::placeholder {
    color: #8A96B2 !important;
}

/* Ensure right sidebar card renders consistently on every account page */
: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) */
: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 */
.ec_account_billing_information_link,
.ec_account_shipping_information_link,
.ec_account_personal_information_link,
.ec_account_password_link,
a.ec_account_billing_information_link,
a.ec_account_shipping_information_link {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_billing_information_button,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_shipping_information_button,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_personal_information_button,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_password_button,
: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;
}

:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_billing_information_button:hover,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_shipping_information_button:hover,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_personal_information_button:hover,
:is(.ec_account_page, [id^="ec_account_"]) .ec_cart_button_row input.ec_account_password_button:hover,
: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 */
.ec_account_button,
input.ec_account_button,
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;
}

.ec_account_button:hover,
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 ========== */

#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 */
#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;
}

#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 */
#ec_account_orders .ec_account_order_line_0,
#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 */
#ec_account_orders .ec_account_order_line_1 {
    background-color: rgba(90, 176, 255, 0.02) !important;
}

/* Last row — no bottom border */
#ec_account_orders .ec_account_orders_row > *:last-child {
    border-bottom: none !important;
}

/* Hover */
#ec_account_orders .ec_account_order_line_0:hover,
#ec_account_orders .ec_account_order_line_1:hover {
    background-color: rgba(90, 176, 255, 0.06) !important;
}

/* Column 1 — Order ID */
#ec_account_orders .ec_account_order_line_column1 {
    color: #8A96B2 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums;
}

#ec_account_orders .ec_account_order_line_column1::before {
    content: '#';
    color: #8A96B2;
    margin-right: 1px;
}

/* Column 2 — Date */
#ec_account_orders .ec_account_order_line_column2 {
    color: #E8EDF7 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Column 3 — Total */
#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) */
#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;
}

#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 */
#ec_account_orders .ec_account_order_line_column5 {
    justify-self: end;
}

#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;
}

#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) {
    #ec_account_orders .ec_account_order_line_header {
        display: none !important;
    }
    #ec_account_orders .ec_account_order_line_0,
    #ec_account_orders .ec_account_order_line_1 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 16px !important;
    }
    #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;
    }
    #ec_account_orders .ec_account_order_line_column5 {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* ========== SUBSCRIPTIONS LIST PAGE ========== */

#ec_account_subscriptions .ec_account_subscriptions_holder {
    margin-bottom: 24px;
}

/* Each subscription card (row) */
#ec_account_subscriptions .ec_account_subscription_line_0,
#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] */
#ec_account_subscriptions .ec_account_subscription_line_column1 { grid-column: 1; }
#ec_account_subscriptions .ec_account_subscription_line_column2 { grid-column: 2; }
#ec_account_subscriptions .ec_account_subscription_line_column3 { grid-column: 3; }
#ec_account_subscriptions .ec_account_subscription_line_column4 { grid-column: 4; }
#ec_account_subscriptions .ec_account_subscription_line_column5 { grid-column: 5; }

@media (max-width: 900px) {
    #ec_account_subscriptions .ec_account_subscription_line_0 {
        grid-template-columns: 1fr 1fr !important;
    }
    #ec_account_subscriptions .ec_account_subscription_line_column5 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    #ec_account_subscriptions .ec_account_subscription_line_0 {
        grid-template-columns: 1fr !important;
    }
}

/* Columns 1-4: label + value stack */
#ec_account_subscriptions .ec_account_subscription_line_column1,
#ec_account_subscriptions .ec_account_subscription_line_column2,
#ec_account_subscriptions .ec_account_subscription_line_column3,
#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 */
#ec_account_subscriptions .ec_account_subscription_line_column1 > strong,
#ec_account_subscriptions .ec_account_subscription_line_column2 > strong,
#ec_account_subscriptions .ec_account_subscription_line_column3 > strong,
#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 */
#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 */
#ec_account_subscriptions .ec_account_subscription_line_column4 {
    color: #5AB0FF !important;
    font-weight: 700 !important;
}

/* Column 5 — VIEW DETAILS button */
#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;
}

#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;
}

#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." */
#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 */
.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 */
.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 */
.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;
}

.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;
}

.ec_account_subscription_details_card_change:hover {
    border-color: #5AB0FF !important;
    color: #B07CFF !important;
}

/* Subscription title (product name) */
.ec_account_subscription_title,
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 */
.ec_account_subscription_details_title,
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 */
.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 */
.ec_account_subscription_details .ec_account_subscription_row_price {
    color: #5AB0FF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Next bill date */
.ec_account_subscription_details .ec_account_subscription_row_next_bill {
    color: #8A96B2 !important;
    font-size: 13px !important;
}

.ec_account_subscription_details .ec_account_subscription_row_next_bill::before {
    content: 'Next billing: ';
    color: #8A96B2;
    font-weight: 500;
}

/* "Last Payment Date" row */
.ec_account_subscription_details .ec_account_subscription_row > b {
    color: #8A96B2 !important;
    font-weight: 600 !important;
    margin-right: 6px;
}

/* ========== SUBSCRIPTION — UPDATE PAYMENT FORM ========== */

.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 */
.ec_account_subscription_details_form_container > form,
#ec_submit_update_form {
    display: flow-root !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

#ec_submit_update_form::after {
    content: '';
    display: block;
    clear: both;
}

/* Also clear floats inside the payment form wrapper */
.ec_account_subscription_details_payment_form {
    display: flow-root !important;
    overflow: hidden !important;
    width: 100% !important;
}

.ec_account_subscription_details_payment_form::after {
    content: '';
    display: block;
    clear: both;
}

/* Specifically clear the Stripe form-row float */
#ec_submit_update_form .form-row::after,
.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 */
.ec_account_subscription_details_payment_form,
.ec_account_subscription_details_form_container .ec_account_subscription_details_payment_form,
#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) */
#ec_submit_update_form .form-row {
    background: transparent !important;
    background-color: transparent !important;
    margin-top: 12px !important;
}

/* Terms checkbox row + label */
#ec_submit_update_form .ec_agreement_section,
#ec_submit_update_form .ec_agreement_section label,
.ec_account_subscription_details_payment_form .ec_agreement_section {
    color: #E8EDF7 !important;
    font-size: 14px !important;
    background: transparent !important;
    padding: 10px 0 !important;
}

.ec_account_subscription_details_payment_form .ec_agreement_section a {
    color: #5AB0FF !important;
    text-decoration: none !important;
}

.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;
}

.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%);
}

.ec_account_subscription_details_address {
    color: #8A96B2;
    font-size: 13px;
}

/* The "Update" submit button */
.ec_account_subscription_save_payment_button {
    margin-top: 16px;
    text-align: right;
}

.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;
}

.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 ========== */

.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;
}

.ec_account_subscription_details_cancel::before {
    content: 'Need to end this subscription?';
    display: block;
    color: #8A96B2;
    font-size: 13px;
    margin-bottom: 10px;
}

.ec_account_subscription_details_cancel_button > form {
    display: inline-block;
    margin: 0;
}

.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;
}

.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 ========== */

#ec_account_order_details {
    padding: 20px 0 !important;
    position: relative;
}

/* Print icon (top-right) */
#ec_account_order_details > .right {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 2;
}

#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;
}

#ec_account_order_details > .right > a:hover {
    border-color: #5AB0FF;
}

#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 */
.ec_account_order_details_main_holder {
    display: flex !important;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Left: Order info column */
#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 */
#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 */
#ec_account_order_details .ec_cart_header,
#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;
}

#ec_account_order_details .ec_cart_header::before,
#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 */
#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 */
#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 */
#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 */
#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;
}

#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 */
#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;
}

#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 ---- */

#ec_account_order_details .ec_account_order_details_table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    background: transparent !important;
}

#ec_account_order_details .ec_account_order_details_table thead tr,
#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;
}

#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;
}

#ec_account_order_details .ec_account_order_details_table thead th:first-child {
    border-top-left-radius: 8px;
}
#ec_account_order_details .ec_account_order_details_table thead th:last-child {
    border-top-right-radius: 8px;
    text-align: right;
}
#ec_account_order_details .ec_account_orderitem_head_price,
#ec_account_order_details .ec_account_orderitem_head_quantity,
#ec_account_order_details .ec_account_orderitem_head_total {
    text-align: right !important;
}

#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;
}

#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) */
#ec_account_order_details .ec_account_orderitem_row,
#ec_account_order_details tr.ec_account_orderitem_row {
    background: transparent !important;
    background-color: transparent !important;
}

/* Product image cell */
#ec_account_order_details .ec_account_orderitem_image {
    width: 72px;
    padding: 16px 8px !important;
}

#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 */
#ec_account_order_details .ec_account_orderitem_details {
    color: #E8EDF7 !important;
}

#ec_account_order_details .ec_account_order_details_item_display_title {
    margin-bottom: 4px;
}

#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;
}

#ec_account_order_details .ec_account_order_details_item_display_title > a:hover {
    color: #5AB0FF !important;
}

#ec_account_order_details .ec_account_order_details_item_display_option {
    color: #8A96B2 !important;
    font-size: 12px !important;
}

/* Right-aligned price/qty/total cells */
#ec_account_order_details .ec_account_orderitem_price,
#ec_account_order_details .ec_account_orderitem_quantity,
#ec_account_order_details .ec_account_orderitem_total {
    text-align: right !important;
    font-size: 14px !important;
}

#ec_account_order_details .ec_account_order_details_item_display_unit_price {
    color: #E8EDF7 !important;
}

#ec_account_order_details .ec_account_order_details_item_display_quantity {
    color: #8A96B2 !important;
    font-weight: 600;
}

#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) {
    .ec_account_order_details_main_holder {
        flex-direction: column;
    }
    #ec_account_order_details .ec_account_order_details_left,
    #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 */
.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 */
.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;
}

.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;
}

.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 */
: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;
}

: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 */
:is(.ec_account_page, [id^="ec_account_"]) .ec_account_subheader,
:is(.ec_account_page, [id^="ec_account_"]) .ec_account_left .ec_cart_input_row,
:is(.ec_account_page, [id^="ec_account_"]) .ec_account_right .ec_cart_input_row,
: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;
}

: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 */
:is(.ec_account_page, [id^="ec_account_"]) a:hover,
:is(.ec_account_page, [id^="ec_account_"]) input[type="submit"]:hover,
: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 */
#ec_account_dashboard .ec_account_order_item_buttons,
#ec_account_dashboard .ec_account_order_item_buy_button {
    display: none !important;
}

/* ========== ACCOUNT ORDERS LIST ========== */

/* Order header row (Card Approved / TOTAL / SHIP TO / ORDER #) */
.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) {
    .ec_account_order_header_row {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 420px) {
    .ec_account_order_header_row {
        grid-template-columns: 1fr !important;
    }
}

/* Each column stacks its label + value vertically */
.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 */
.ec_account_order_header_row,
.ec_account_order_header_row span,
.ec_account_order_header_row div,
.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 */
.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) */
.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 #) */
.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) */
.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 */
.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 */
.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 */
.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) */
.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 */
.ec_account_order_header_row a,
.ec_account_order_header_row .ec_account_order_header_column_left > div > a {
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.ec_account_order_header_row a:hover,
.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) */
.ec_account_dashboard_order_info_link {
    color: #5AB0FF !important;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.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);
}

.ec_account_dashboard_order_info_link:hover > span {
    display: block;
}

/* Product item row (attached visually to the header above it) */
.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.ec_account_order_item_details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ec_account_order_item_details > span.ec_account_order_item_title {
    color: #E8EDF7 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.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 */
.ec_account_order_item_buy_button,
.ec_account_order_item_buy_button > a,
.ec_account_order_item_download_button,
.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 */
.ec_account_order_item_buy_button,
.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 */
.ec_account_order_item_buy_button > a,
.ec_account_order_item_download_button > a {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    display: inline-block;
}

.ec_account_order_item_buy_button:hover,
.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 */
.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;
}

#ec_account_dashboard .ec_account_dashboard_row_divider > a.ec_account_dashboard_link,
#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;
}

#ec_account_dashboard .ec_account_dashboard_row_divider > a.ec_account_dashboard_link:hover,
#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;
}

/* ========== 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;
}

/* ========== ASTROPM LICENSES SECTION (dashboard) ========== */

.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 */
#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;
}

.ec_account_license_product {
    color: #E8EDF7;
}

.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;
}

.ec_license_badge_active {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.ec_license_badge_expired {
    background: rgba(255, 99, 99, 0.12);
    color: #FF8A8A;
    border: 1px solid rgba(255, 99, 99, 0.3);
}

.ec_license_badge_inactive {
    background: rgba(138, 150, 178, 0.12);
    color: #8A96B2;
    border: 1px solid rgba(138, 150, 178, 0.3);
}

.ec_account_license_body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.ec_account_license_field_key {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ec_account_license_field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ec_account_license_field_key {
    flex-direction: row;
}

.ec_account_license_label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8A96B2;
}

.ec_account_license_field_key .ec_account_license_label {
    margin-right: 4px;
    align-self: center;
}

.ec_account_license_value {
    font-size: 14px;
    color: #E8EDF7;
    font-weight: 500;
}

.ec_account_license_value a {
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 600;
}

.ec_account_license_value a:hover {
    color: #B07CFF !important;
}

.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;
}

.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;
}

.ec_account_license_copy:hover {
    box-shadow: 0 6px 20px rgba(176, 124, 255, 0.3) !important;
    transform: none !important;
}

.ec_account_license_copy_done {
    background: #1E2A47 !important;
    color: #5AB0FF !important;
    box-shadow: none !important;
}

.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;
}

.ec_account_license_notice_expired {
    background: rgba(255, 99, 99, 0.08);
    border: 1px solid rgba(255, 99, 99, 0.35);
    color: #FF8A8A;
}

.ec_account_license_notice_expired a {
    color: #FF8A8A !important;
    text-decoration: underline !important;
    font-weight: 700;
}

.ec_account_license_notice_expired a:hover {
    color: #FFB0B0 !important;
}

.ec_account_license_notice_expired::before {
    content: '⚠';
    font-size: 16px;
    color: #FF8A8A;
}

.ec_account_license_notice_active {
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34D399;
}

.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); }
}

.ec_account_license_machines {
    margin-top: 14px;
    border-top: 1px solid #1E2A47;
    padding-top: 12px;
}

.ec_account_license_machines summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #5AB0FF;
    list-style: none;
    padding: 4px 0;
    user-select: none;
}

.ec_account_license_machines summary::-webkit-details-marker {
    display: none;
}

.ec_account_license_machines summary::before {
    content: '▸';
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.ec_account_license_machines[open] summary::before {
    transform: rotate(90deg);
}

.ec_account_license_machines_list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.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;
}

.ec_account_license_machine_inactive {
    opacity: 0.55;
}

.ec_account_license_machine_name {
    color: #E8EDF7;
    font-weight: 600;
}

.ec_account_license_machine_meta {
    color: #8A96B2;
    font-size: 12px;
}

.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;
}

.ec_account_license_empty a {
    color: #5AB0FF !important;
    text-decoration: none !important;
    font-weight: 700;
}

.ec_account_license_empty a:hover {
    color: #B07CFF !important;
}

@media (max-width: 600px) {
    .ec_account_license_body {
        grid-template-columns: 1fr;
    }
    .ec_account_license_field_key {
        flex-direction: column;
        align-items: flex-start;
    }
    .ec_account_license_field_key .ec_account_license_label {
        margin-right: 0;
    }
    .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. */
.ec_account_page .ec_account_login_create_account_button,
.ec_account_page a.ec_account_login_create_account_button,
.ec_account_page .ec_account_login_create_account_button:hover,
.ec_account_page a.ec_account_login_create_account_button:hover,
.ec_account_page .ec_account_login_create_account_button:focus,
.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;
}

/* ============================================
   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;
    }
}/* End custom CSS */