.mlm-support-offer,
.mlm-support-offer input,
.mlm-support-offer button,
.mlm-support-offer select,
.mlm-support-offer textarea {
    font-family: "Lora", Georgia, "Times New Roman", serif;
}

.mlm-support-offer {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(127, 127, 127, .24);
    border-radius: 14px;
    background: rgba(127, 127, 127, .055);
    color: inherit;
}

.mlm-support-offer__included,
.mlm-support-offer__upgrade {
    display: flex;
    align-items: center;
    gap: 11px;
}

.mlm-support-offer__included strong,
.mlm-support-offer__included small,
.mlm-support-offer__upgrade-copy strong,
.mlm-support-offer__upgrade-copy small {
    display: block;
}

.mlm-support-offer__included small,
.mlm-support-offer__upgrade-copy small {
    margin-top: 2px;
    opacity: .72;
    font-size: .88em;
    line-height: 1.35;
}

.mlm-support-offer__check {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.mlm-support-offer__upgrade {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(127, 127, 127, .18);
    cursor: pointer;
}

.mlm-support-offer__upgrade input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.mlm-support-offer__upgrade-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.mlm-support-offer__price {
    margin-left: auto;
    white-space: nowrap;
    font-weight: 700;
}

@media (max-width: 560px) {
    .mlm-support-offer__upgrade {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .mlm-support-offer__price {
        width: 100%;
        padding-left: 29px;
    }
}

/* v3.0.3 - billing selector + monthly plans: theme background, hover animation, subscription plan cards */
.woocommerce div.product form.cart .mlm-billing-choice,
.mlm-billing-choice,
.woocommerce div.product form.cart .mlm-monthly-plan-selector,
.mlm-monthly-plan-selector {
    --mlm-accent: var(--mlm-theme-accent, var(--wp--preset--color--primary, var(--e-global-color-primary, var(--ast-global-color-0, #635bff))));
    --mlm-accent-soft: color-mix(in srgb, var(--mlm-accent) 16%, rgba(255,255,255,.08));
    --mlm-accent-softer: color-mix(in srgb, var(--mlm-accent) 10%, rgba(255,255,255,.04));
    --mlm-accent-border: color-mix(in srgb, var(--mlm-accent) 40%, rgba(148,163,184,.28));
    --mlm-accent-shadow: color-mix(in srgb, var(--mlm-accent) 30%, rgba(15, 23, 42, 0.24));
    --mlm-surface: linear-gradient(135deg, color-mix(in srgb, var(--mlm-accent) 9%, #081225), #08101d 62%, #0b1527 100%);
    --mlm-border: rgba(148,163,184,.22);
    --mlm-text: #eef4ff;
    --mlm-muted: rgba(226, 232, 240, .78);
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
}

.woocommerce div.product form.cart .mlm-billing-choice,
.mlm-billing-choice {
    grid-column: 1 / -1 !important;
    flex: 1 0 100% !important;
    clear: both;
    margin: 0 0 14px !important;
    padding: 18px !important;
    border: 1px solid var(--mlm-border) !important;
    border-radius: 18px !important;
    background: var(--mlm-surface) !important;
    color: var(--mlm-text) !important;
    box-shadow: 0 18px 40px rgba(2, 8, 23, .22), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(12px);
    line-height: 1.45;
    text-align: left !important;
}

.mlm-billing-choice *,
.mlm-billing-choice *::before,
.mlm-billing-choice *::after,
.mlm-monthly-plan-selector *,
.mlm-monthly-plan-selector *::before,
.mlm-monthly-plan-selector *::after {
    box-sizing: border-box;
}

.mlm-billing-choice__header,
.mlm-monthly-plan-selector__header {
    display: block;
    margin: 0 0 14px;
    color: var(--mlm-text) !important;
}

.mlm-billing-choice__title,
.mlm-monthly-plan-selector__header > strong {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.mlm-billing-choice__header > small,
.mlm-monthly-plan-selector__header > small,
.mlm-monthly-plan-selector__foot {
    display: block;
    max-width: 760px;
    margin-top: 4px;
    color: var(--mlm-muted) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.mlm-billing-choice__options,
.mlm-monthly-plan-selector__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.mlm-billing-choice__option {
    position: relative;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--mlm-text) !important;
    cursor: pointer;
}

.mlm-billing-choice__option > input[type="radio"] {
    position: absolute !important;
    z-index: 3;
    top: 50%;
    left: 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    transform: translateY(-50%);
    accent-color: var(--mlm-accent);
    cursor: pointer;
}

.mlm-billing-choice__card,
.mlm-monthly-plan {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    color: var(--mlm-text) !important;
    transition: border-color .24s ease, box-shadow .24s ease, background .24s ease, transform .24s ease;
    will-change: transform, box-shadow;
}

.mlm-billing-choice__card {
    display: flex !important;
    align-items: center;
    min-height: 96px;
    padding: 16px 16px 16px 50px;
}

.mlm-monthly-plan {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    min-height: 118px;
    padding: 16px 18px;
    text-align: left;
    cursor: pointer;
}

.mlm-billing-choice__card::before,
.mlm-monthly-plan::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, color-mix(in srgb, var(--mlm-accent) 22%, transparent), transparent 65%);
    opacity: 0;
    transform: scale(0.985);
    transition: opacity .24s ease, transform .24s ease;
    pointer-events: none;
}

.mlm-billing-choice__option:hover .mlm-billing-choice__card,
.mlm-billing-choice__option:focus-within .mlm-billing-choice__card,
.mlm-monthly-plan:hover,
.mlm-monthly-plan:focus-visible,
.mlm-monthly-plan.is-active {
    border-color: var(--mlm-accent-border);
    box-shadow: 0 16px 36px -18px var(--mlm-accent-shadow), 0 10px 24px rgba(2, 8, 23, .22);
    transform: translateY(-3px) scale(1.01);
    background: linear-gradient(180deg, color-mix(in srgb, var(--mlm-accent) 10%, rgba(255,255,255,.10)), rgba(255,255,255,.05));
}

.mlm-billing-choice__option:hover .mlm-billing-choice__card::before,
.mlm-billing-choice__option:focus-within .mlm-billing-choice__card::before,
.mlm-billing-choice__option > input[type="radio"]:checked + .mlm-billing-choice__card::before,
.mlm-monthly-plan:hover::before,
.mlm-monthly-plan:focus-visible::before,
.mlm-monthly-plan.is-active::before {
    opacity: 1;
    transform: scale(1);
}

.mlm-billing-choice__option > input[type="radio"]:checked + .mlm-billing-choice__card {
    border-color: var(--mlm-accent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--mlm-accent) 16%, rgba(255,255,255,.10)), rgba(255,255,255,.06));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--mlm-accent) 18%, transparent), 0 14px 30px -16px var(--mlm-accent-shadow);
}

.mlm-billing-choice__copy,
.mlm-monthly-plan__top,
.mlm-monthly-plan__meta {
    position: relative;
    z-index: 1;
}

.mlm-billing-choice__copy {
    display: block !important;
    min-width: 0;
    color: var(--mlm-text) !important;
}

.mlm-billing-choice__copy strong,
.mlm-billing-choice__selected strong,
.mlm-monthly-plan__name {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.mlm-billing-choice__copy small,
.mlm-billing-choice__selected small {
    display: block !important;
    margin-top: 4px !important;
    color: var(--mlm-muted) !important;
    opacity: 1 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.mlm-billing-choice__selected {
    display: block;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--mlm-accent-border);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
    color: var(--mlm-text) !important;
}

.mlm-monthly-plan-selector {
    display: none !important;
    margin: 0 0 12px !important;
    padding: 18px !important;
    border: 1px solid var(--mlm-border) !important;
    border-radius: 18px !important;
    background: var(--mlm-surface) !important;
    color: var(--mlm-text) !important;
    box-shadow: 0 18px 40px rgba(2, 8, 23, .18), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(12px);
}

.mlm-monthly-plan-selector.is-visible {
    display: block !important;
    animation: mlmFadeSlideIn .28s ease both;
}

.mlm-monthly-plan__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.mlm-monthly-plan__price {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.mlm-monthly-plan__price .amount {
    color: inherit;
    font-weight: inherit;
}

.mlm-monthly-plan__suffix {
    color: var(--mlm-muted);
    font-size: 12px;
    font-weight: 500;
}

.mlm-monthly-plan__meta {
    margin-top: 10px;
    color: var(--mlm-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.mlm-monthly-plan-selector__foot {
    margin-top: 12px;
}

@keyframes mlmFadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlm-billing-choice__card,
    .mlm-billing-choice__card::before,
    .mlm-monthly-plan,
    .mlm-monthly-plan::before,
    .mlm-monthly-plan-selector {
        transition: none !important;
        animation: none !important;
    }

    .mlm-billing-choice__option:hover .mlm-billing-choice__card,
    .mlm-billing-choice__option:focus-within .mlm-billing-choice__card,
    .mlm-monthly-plan:hover,
    .mlm-monthly-plan:focus-visible,
    .mlm-monthly-plan.is-active {
        transform: none;
    }
}

@media (max-width: 680px) {
    .woocommerce div.product form.cart .mlm-billing-choice,
    .mlm-billing-choice,
    .woocommerce div.product form.cart .mlm-monthly-plan-selector,
    .mlm-monthly-plan-selector {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .mlm-billing-choice__options,
    .mlm-monthly-plan-selector__grid {
        grid-template-columns: 1fr;
    }

    .mlm-billing-choice__card,
    .mlm-monthly-plan {
        min-height: 86px;
    }

    .mlm-monthly-plan__top {
        flex-direction: column;
        gap: 6px;
    }

    .mlm-billing-choice__option:hover .mlm-billing-choice__card,
    .mlm-billing-choice__option:focus-within .mlm-billing-choice__card,
    .mlm-monthly-plan:hover,
    .mlm-monthly-plan:focus-visible,
    .mlm-monthly-plan.is-active {
        transform: translateY(-1px);
    }
}

/* v3.0.4 - package descriptions + WooCommerce Abonamente tab */
.mlm-monthly-plan__description {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: rgba(226, 232, 240, .86);
    font-size: 12px;
    line-height: 1.5;
}

.mlm-subscription-tab {
    --mlm-accent: var(--mlm-theme-accent, var(--wp--preset--color--primary, var(--e-global-color-primary, var(--ast-global-color-0, #635bff))));
    --mlm-tab-border: color-mix(in srgb, var(--mlm-accent) 28%, rgba(148,163,184,.26));
    --mlm-tab-surface: linear-gradient(135deg, color-mix(in srgb, var(--mlm-accent) 7%, #081225), #08101d 58%, #0b1527 100%);
    margin: 4px 0 10px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid var(--mlm-tab-border);
    border-radius: 20px;
    background: var(--mlm-tab-surface);
    color: #eef4ff;
    box-shadow: 0 18px 42px rgba(2, 8, 23, .22), inset 0 1px 0 rgba(255,255,255,.04);
    font-family: "Lora", Georgia, "Times New Roman", serif;
}

.mlm-subscription-tab__intro {
    max-width: 760px;
    margin: 0 0 20px;
}

.mlm-subscription-tab__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: color-mix(in srgb, var(--mlm-accent) 74%, #ffffff);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.mlm-subscription-tab__intro h2 {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: clamp(22px, 3vw, 30px) !important;
    line-height: 1.2 !important;
}

.mlm-subscription-tab__intro p {
    margin: 0 !important;
    color: rgba(226, 232, 240, .82) !important;
    font-size: 14px;
    line-height: 1.65;
}

.mlm-subscription-tab__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mlm-subscription-package {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(148,163,184,.24);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.mlm-subscription-package::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--mlm-accent) 18%, transparent), transparent 66%);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: none;
}

.mlm-subscription-package:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--mlm-accent) 55%, rgba(148,163,184,.25));
    background: linear-gradient(180deg, color-mix(in srgb, var(--mlm-accent) 9%, rgba(255,255,255,.10)), rgba(255,255,255,.04));
    box-shadow: 0 18px 38px -22px color-mix(in srgb, var(--mlm-accent) 42%, #000000), 0 12px 28px rgba(2, 8, 23, .24);
}

.mlm-subscription-package:hover::before {
    opacity: 1;
}

.mlm-subscription-package__head,
.mlm-subscription-package__activation,
.mlm-subscription-package__description,
.mlm-subscription-package__choose {
    position: relative;
    z-index: 1;
}

.mlm-subscription-package__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mlm-subscription-package__name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.mlm-subscription-package__price {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.mlm-subscription-package__price .amount {
    color: inherit;
    font-weight: inherit;
}

.mlm-subscription-package__activation {
    margin-top: 12px;
    color: color-mix(in srgb, var(--mlm-accent) 72%, #ffffff);
    font-size: 12px;
    font-weight: 700;
}

.mlm-subscription-package__description {
    flex: 1;
    margin: 12px 0 18px !important;
    color: rgba(226, 232, 240, .84) !important;
    font-size: 13px;
    line-height: 1.65;
}

.mlm-subscription-package__choose {
    width: 100%;
    margin-top: auto;
    padding: 11px 14px;
    border: 1px solid color-mix(in srgb, var(--mlm-accent) 62%, rgba(255,255,255,.18));
    border-radius: 11px;
    background: color-mix(in srgb, var(--mlm-accent) 17%, rgba(255,255,255,.04));
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mlm-subscription-package__choose:hover,
.mlm-subscription-package__choose:focus-visible {
    transform: translateY(-1px);
    border-color: var(--mlm-accent);
    background: color-mix(in srgb, var(--mlm-accent) 32%, rgba(255,255,255,.06));
    box-shadow: 0 10px 22px -16px var(--mlm-accent);
    outline: none;
}

@media (max-width: 900px) {
    .mlm-subscription-tab__grid {
        grid-template-columns: 1fr;
    }

    .mlm-subscription-package__head {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlm-subscription-package,
    .mlm-subscription-package::before,
    .mlm-subscription-package__choose {
        transition: none !important;
    }

    .mlm-subscription-package:hover,
    .mlm-subscription-package__choose:hover,
    .mlm-subscription-package__choose:focus-visible {
        transform: none;
    }
}

/* v3.0.5 - compact monthly prices in purchase area; details stay in Abonamente tab */
.woocommerce div.product form.cart .mlm-monthly-plan-selector--compact,
.mlm-monthly-plan-selector--compact {
    grid-column: 1 / -1 !important;
    flex: 1 0 100% !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.mlm-monthly-plan-selector--compact .mlm-monthly-plan-selector__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.mlm-monthly-plan--compact {
    min-height: 74px !important;
    padding: 13px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 1px solid rgba(148, 163, 184, .26) !important;
    border-radius: 13px !important;
    background: color-mix(in srgb, var(--mlm-accent) 4%, rgba(255,255,255,.035)) !important;
    text-align: left !important;
}

.mlm-monthly-plan--compact .mlm-monthly-plan__name {
    position: relative;
    z-index: 1;
    display: block !important;
    margin: 0 !important;
    color: rgba(226, 232, 240, .80) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.mlm-monthly-plan--compact .mlm-monthly-plan__price {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    color: #ffffff !important;
    font-size: clamp(16px, 1.8vw, 20px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

.mlm-monthly-plan--compact .mlm-monthly-plan__suffix {
    color: rgba(226, 232, 240, .70) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.mlm-monthly-plan--compact:hover,
.mlm-monthly-plan--compact:focus-visible,
.mlm-monthly-plan--compact.is-active {
    border-color: var(--mlm-accent) !important;
    background: color-mix(in srgb, var(--mlm-accent) 14%, rgba(255,255,255,.055)) !important;
    box-shadow: 0 10px 24px -18px var(--mlm-accent-shadow) !important;
    transform: translateY(-2px) !important;
}

.mlm-monthly-plan--compact.is-active {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--mlm-accent) 16%, transparent), 0 10px 24px -18px var(--mlm-accent-shadow) !important;
}

@media (max-width: 760px) {
    .mlm-monthly-plan-selector--compact .mlm-monthly-plan-selector__grid {
        grid-template-columns: 1fr !important;
    }

    .mlm-monthly-plan--compact {
        min-height: 64px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .mlm-monthly-plan--compact .mlm-monthly-plan__price {
        text-align: right !important;
    }
}


/* v3.0.6 - Abonamente uses the same visual language as the Licente comparison cards */
.mlm-subscription-tab.mlm-subscription-compare {
    --mlm-sub-orange: #ff9b45;
    --mlm-sub-border: rgba(148, 163, 184, .18);
    --mlm-sub-text: #f5eee8;
    --mlm-sub-muted: rgba(226, 232, 240, .76);
    margin: 0 !important;
    padding: clamp(24px, 3.2vw, 38px) 14px clamp(28px, 4vw, 48px) !important;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #070d17 0%, #09111d 100%) !important;
    color: var(--mlm-sub-text) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015) !important;
}

.mlm-subscription-compare .mlm-subscription-tab__intro {
    max-width: none !important;
    margin: 0 0 20px !important;
}

.mlm-subscription-compare .mlm-subscription-tab__intro h2 {
    margin: 0 0 7px !important;
    color: #fff7f0 !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 3.2vw, 40px) !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
    line-height: 1.16 !important;
}

.mlm-subscription-compare .mlm-subscription-tab__intro p {
    margin: 0 !important;
    color: rgba(226, 232, 240, .73) !important;
    font-size: clamp(14px, 1.4vw, 17px) !important;
    line-height: 1.55 !important;
}

.mlm-subscription-compare .mlm-subscription-tab__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

.mlm-subscription-compare .mlm-subscription-package {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 560px !important;
    padding: 21px 22px 22px !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 0 0, rgba(20, 71, 151, .20), transparent 38%),
        linear-gradient(135deg, #09162b 0%, #111829 55%, #1a1821 100%) !important;
    color: var(--mlm-sub-text) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
    transform: none !important;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

.mlm-subscription-compare .mlm-subscription-package::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 0 auto !important;
    height: 2px !important;
    background: linear-gradient(90deg, rgba(52, 114, 222, .35), var(--mlm-sub-orange), rgba(255, 155, 69, .08)) !important;
    opacity: .86 !important;
    pointer-events: none !important;
}

.mlm-subscription-compare .mlm-subscription-package.is-featured {
    border-color: rgba(255, 155, 69, .58) !important;
    box-shadow: 0 18px 44px rgba(2, 8, 23, .22), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

.mlm-subscription-compare .mlm-subscription-package:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(255, 155, 69, .48) !important;
    box-shadow: 0 20px 48px rgba(2, 8, 23, .28), 0 0 0 1px rgba(255, 155, 69, .06) !important;
}

.mlm-subscription-compare .mlm-subscription-package__icon {
    position: relative !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 0 20px !important;
    border: 1px solid rgba(255, 155, 69, .28) !important;
    border-radius: 17px !important;
    background: linear-gradient(135deg, rgba(41, 75, 128, .28), rgba(255, 155, 69, .08)) !important;
    color: #f4eee9 !important;
}

.mlm-subscription-compare .mlm-subscription-package__icon svg {
    width: 23px !important;
    height: 23px !important;
    fill: currentColor !important;
}

.mlm-subscription-compare .mlm-subscription-package__head {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    margin: 0 !important;
}

.mlm-subscription-compare .mlm-subscription-package__name {
    display: block !important;
    margin: 0 0 3px !important;
    color: #fff8f2 !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-size: clamp(25px, 2.35vw, 34px) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
    line-height: 1.18 !important;
}

.mlm-subscription-compare .mlm-subscription-package__subtitle {
    margin: 0 !important;
    color: rgba(226, 232, 240, .76) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.mlm-subscription-compare .mlm-subscription-package__scenario {
    position: relative !important;
    z-index: 1 !important;
    margin: 20px 0 15px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(148, 163, 184, .16) !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .035) !important;
    color: rgba(238, 242, 248, .86) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.mlm-subscription-compare .mlm-subscription-package__price {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 0 0 17px !important;
    color: var(--mlm-sub-orange) !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-size: clamp(34px, 3.6vw, 48px) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
    line-height: 1.08 !important;
    white-space: normal !important;
}

.mlm-subscription-compare .mlm-subscription-package__price .amount,
.mlm-subscription-compare .mlm-subscription-package__price .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font: inherit !important;
}

.mlm-subscription-compare .mlm-subscription-package__price .mlm-monthly-plan__suffix {
    color: rgba(255, 214, 180, .72) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

.mlm-subscription-compare .mlm-subscription-package__includes {
    position: relative !important;
    z-index: 1 !important;
    flex: 1 1 auto !important;
    margin-top: 0 !important;
    padding: 16px 17px 14px !important;
    border: 1px solid rgba(148, 163, 184, .14) !important;
    border-radius: 18px !important;
    background: rgba(7, 13, 24, .22) !important;
}

.mlm-subscription-compare .mlm-subscription-package__includes-title {
    display: block !important;
    margin: 0 0 12px !important;
    color: #fff8f1 !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
}

.mlm-subscription-compare .mlm-subscription-package__features {
    display: grid !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mlm-subscription-compare .mlm-subscription-package__features li {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(232, 237, 245, .82) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.mlm-subscription-compare .mlm-subscription-package__features li::before {
    content: "" !important;
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    margin-top: 1px !important;
    border: 7px solid rgba(255, 255, 255, .07) !important;
    border-radius: 50% !important;
    background: var(--mlm-sub-orange) !important;
    box-sizing: border-box !important;
}

.mlm-subscription-compare .mlm-subscription-package__features li > span {
    display: block !important;
}

.mlm-subscription-compare .mlm-subscription-package__choose {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 12px 15px !important;
    border: 1px solid rgba(255, 155, 69, .52) !important;
    border-radius: 12px !important;
    background: rgba(255, 155, 69, .10) !important;
    color: #fff7ef !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.mlm-subscription-compare .mlm-subscription-package__choose:hover,
.mlm-subscription-compare .mlm-subscription-package__choose:focus-visible {
    transform: translateY(-1px) !important;
    border-color: var(--mlm-sub-orange) !important;
    background: rgba(255, 155, 69, .20) !important;
    box-shadow: 0 12px 24px rgba(255, 155, 69, .10) !important;
    outline: none !important;
}

@media (max-width: 980px) {
    .mlm-subscription-compare .mlm-subscription-tab__grid {
        grid-template-columns: 1fr !important;
    }

    .mlm-subscription-compare .mlm-subscription-package {
        min-height: 0 !important;
    }
}

@media (max-width: 560px) {
    .mlm-subscription-tab.mlm-subscription-compare {
        padding: 22px 12px 30px !important;
        border-radius: 14px !important;
    }

    .mlm-subscription-compare .mlm-subscription-package {
        padding: 18px !important;
        border-radius: 17px !important;
    }

    .mlm-subscription-compare .mlm-subscription-package__icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 16px !important;
        border-radius: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlm-subscription-compare .mlm-subscription-package,
    .mlm-subscription-compare .mlm-subscription-package__choose {
        transition: none !important;
    }

    .mlm-subscription-compare .mlm-subscription-package:hover,
    .mlm-subscription-compare .mlm-subscription-package__choose:hover,
    .mlm-subscription-compare .mlm-subscription-package__choose:focus-visible {
        transform: none !important;
    }
}

/* v3.0.7 - compact license selector: same arrangement as the monthly price cards */
.woocommerce div.product form.cart .mlm-license-plan-selector--compact,
.mlm-license-plan-selector--compact {
    --mlm-accent: var(--mlm-theme-accent, var(--wp--preset--color--primary, var(--e-global-color-primary, var(--ast-global-color-0, #635bff))));
    --mlm-accent-shadow: color-mix(in srgb, var(--mlm-accent) 30%, rgba(15, 23, 42, 0.24));
    grid-column: 1 / -1 !important;
    flex: 1 0 100% !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
}

.mlm-license-plan-selector--compact *,
.mlm-license-plan-selector--compact *::before,
.mlm-license-plan-selector--compact *::after {
    box-sizing: border-box;
}

.mlm-license-plan-selector__header {
    display: none !important;
    margin: 0 !important;
}

.mlm-license-plan-selector__header > strong {
    display: none !important;
}

.mlm-license-plan-selector--compact .mlm-license-plan-selector__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.mlm-license-plan--compact {
    position: relative !important;
    overflow: hidden !important;
    min-width: 0 !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 13px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 1px solid rgba(148, 163, 184, .26) !important;
    border-radius: 13px !important;
    background: color-mix(in srgb, var(--mlm-accent) 4%, rgba(255,255,255,.035)) !important;
    color: #eef4ff !important;
    text-align: left !important;
    cursor: pointer !important;
    font: inherit !important;
    transition: border-color .24s ease, box-shadow .24s ease, background .24s ease, transform .24s ease !important;
}

.mlm-license-plan--compact::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, color-mix(in srgb, var(--mlm-accent) 22%, transparent), transparent 65%);
    opacity: 0;
    transform: scale(.985);
    transition: opacity .24s ease, transform .24s ease;
    pointer-events: none;
}

.mlm-license-plan--compact .mlm-license-plan__name {
    position: relative;
    z-index: 1;
    display: block !important;
    margin: 0 !important;
    color: rgba(226, 232, 240, .80) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.mlm-license-plan--compact .mlm-license-plan__price {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    color: #ffffff !important;
    font-size: clamp(16px, 1.8vw, 20px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

.mlm-license-plan--compact .mlm-license-plan__price .amount,
.mlm-license-plan--compact .mlm-license-plan__price .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font: inherit !important;
}

.mlm-license-plan--compact:hover,
.mlm-license-plan--compact:focus-visible,
.mlm-license-plan--compact.is-active {
    border-color: var(--mlm-accent) !important;
    background: color-mix(in srgb, var(--mlm-accent) 14%, rgba(255,255,255,.055)) !important;
    box-shadow: 0 10px 24px -18px var(--mlm-accent-shadow) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

.mlm-license-plan--compact:hover::before,
.mlm-license-plan--compact:focus-visible::before,
.mlm-license-plan--compact.is-active::before {
    opacity: 1;
    transform: scale(1);
}

.mlm-license-plan--compact.is-active {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--mlm-accent) 16%, transparent), 0 10px 24px -18px var(--mlm-accent-shadow) !important;
}

/* Hide the original WooCommerce/theme variation selector only when our compact selector is available. */
.woocommerce div.product form.variations_form.mlm-has-compact-license-selector table.variations {
    display: none !important;
}

@supports selector(form:has(.mlm-license-plan-selector--compact)) {
    .woocommerce div.product form.variations_form:has(.mlm-license-plan-selector--compact) table.variations {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .mlm-license-plan-selector--compact .mlm-license-plan-selector__grid {
        grid-template-columns: 1fr !important;
    }

    .mlm-license-plan--compact {
        min-height: 64px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .mlm-license-plan--compact .mlm-license-plan__price {
        text-align: right !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlm-license-plan--compact,
    .mlm-license-plan--compact::before {
        transition: none !important;
    }

    .mlm-license-plan--compact:hover,
    .mlm-license-plan--compact:focus-visible,
    .mlm-license-plan--compact.is-active {
        transform: none !important;
    }
}


/* v3.0.10 - keep only the compact license selector; duplicate large card rows are hidden even when rendered inside the cart form */
.mlm-license-catalog-hidden,
[data-mlm-duplicate-license-catalog="1"] {
    display: none !important;
    visibility: hidden !important;
}

.woocommerce div.product form.cart .mlm-license-plan-selector--compact,
.mlm-license-plan-selector--compact {
    --mlm-license-accent: var(--mlm-sub-orange, #ff9b45);
    --mlm-license-text: #fff8f2;
}

.mlm-license-plan--compact {
    border: 1px solid rgba(255, 155, 69, .32) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 0 0, rgba(20, 71, 151, .20), transparent 38%),
        linear-gradient(135deg, #09162b 0%, #111829 55%, #1a1821 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}

.mlm-license-plan--compact::before {
    opacity: .9;
    transform: scale(1);
    background: linear-gradient(90deg, rgba(52, 114, 222, .22), rgba(255, 155, 69, .14), rgba(255, 155, 69, 0)) !important;
}

.mlm-license-plan--compact .mlm-license-plan__name {
    color: rgba(226, 232, 240, .82) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.mlm-license-plan--compact .mlm-license-plan__price,
.mlm-license-plan--compact .mlm-license-plan__price .amount,
.mlm-license-plan--compact .mlm-license-plan__price .woocommerce-Price-currencySymbol {
    color: var(--mlm-license-accent) !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
}

.mlm-license-plan--compact:hover,
.mlm-license-plan--compact:focus-visible,
.mlm-license-plan--compact.is-active {
    border-color: rgba(255, 155, 69, .70) !important;
    background:
        radial-gradient(circle at 0 0, rgba(24, 84, 176, .26), transparent 42%),
        linear-gradient(135deg, #0a182d 0%, #121c2f 58%, #201a21 100%) !important;
    box-shadow: 0 18px 44px rgba(2, 8, 23, .22), 0 0 0 1px rgba(255, 155, 69, .08), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

.mlm-license-plan--compact.is-active {
    box-shadow: 0 18px 44px rgba(2, 8, 23, .22), 0 0 0 1px rgba(255, 155, 69, .12), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}


/* v3.0.15 - collapse the empty band left after removing the legacy comparison heading.
   JS only enables this when the rendered gap above the compact selector is oversized. */
.woocommerce div.product form.cart .mlm-license-plan-selector--compact.mlm-license-plan-selector--compare-gap-fixed,
.mlm-license-plan-selector--compact.mlm-license-plan-selector--compare-gap-fixed {
    margin-top: var(--mlm-compare-gap-shift, 0px) !important;
}

@media (max-width: 760px) {
    .woocommerce div.product form.cart .mlm-license-plan-selector--compact.mlm-license-plan-selector--compare-gap-fixed,
    .mlm-license-plan-selector--compact.mlm-license-plan-selector--compare-gap-fixed {
        /* Keep a little more breathing room on narrow screens. */
        margin-top: max(var(--mlm-compare-gap-shift, 0px), -36px) !important;
    }
}


/* v3.0.17 - smaller, more premium compare action and tighter compact selector spacing */
.mlm-compare-action-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 10px 20px !important;
    border: 1px solid rgba(255, 155, 69, .28) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(53, 31, 24, .88), rgba(34, 23, 27, .92)) !important;
    color: #f4bf83 !important;
    font-family: "Lora", Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 26px rgba(2, 8, 23, .16) !important;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease !important;
}

.mlm-compare-action-button:hover,
.mlm-compare-action-button:focus-visible {
    border-color: rgba(255, 155, 69, .44) !important;
    background: linear-gradient(135deg, rgba(62, 36, 27, .94), rgba(39, 25, 29, .96)) !important;
    color: #ffd2a0 !important;
    transform: translateY(-1px) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 32px rgba(2, 8, 23, .20) !important;
    outline: none !important;
}

@media (max-width: 760px) {
    .mlm-compare-action-button {
        padding: 9px 16px !important;
        font-size: 14px !important;
    }
}


/* v3.0.20 - theme-agnostic fallback panel/tab bridge */
.mlm-universal-subscription-panel {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.mlm-universal-subscriptions-tab-button {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    cursor: pointer !important;
}


/* v3.0.21 - keep Licențe / Abonamente visual active state synchronized in custom themes */
.mlm-universal-subscriptions-tab > a.active,
.mlm-universal-subscriptions-tab > button.active,
.mlm-universal-subscriptions-tab.active > a,
.mlm-universal-subscriptions-tab.current > a,
.mlm-universal-subscriptions-tab.is-active > a,
.mlm-universal-subscriptions-tab.selected > a {
    color: inherit;
}

/* Do not let a cloned active class from Licențe survive on Abonamente. */
.mlm-universal-subscriptions-tab:not(.active):not(.current):not(.is-active):not(.selected) > a,
.mlm-universal-subscriptions-tab:not(.active):not(.current):not(.is-active):not(.selected) > button {
    box-shadow: none;
}
