.eq-subscription-button .icon-wrapper {
    background: linear-gradient(145deg, #fff5cc, #f2b632);
    border: 1px solid rgba(162, 114, 21, 0.35);
    box-shadow: 0 8px 22px rgba(242, 182, 50, 0.26);
    color: #5b3a00;
    position: relative;
}

.eq-subscription-button .icon-wrapper-bg {
    background: transparent !important;
}

.eq-subscription-button i {
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.eq-subscription-button:hover .icon-wrapper {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(242, 182, 50, 0.36);
}

.eq-plan-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #83bc4f;
    border: 2px solid #fff;
    z-index: 3;
}

.eq-plan-modal .modal-content,
.eq-checkout-modal .modal-content {
    background: #111827;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(17, 24, 39, 0.42);
}

.eq-plan-modal .modal-header,
.eq-checkout-modal .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.eq-plan-kicker {
    display: block;
    color: #f2b632;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eq-current-plan {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 0.86rem;
}

.eq-current-plan span {
    border: 1px solid rgba(242, 182, 50, 0.38);
    border-radius: 999px;
    color: #ffe8a3;
    padding: 3px 10px;
}

.eq-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.eq-plan-card {
    background: #182233;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 22px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eq-plan-card-featured {
    border-color: rgba(131, 188, 79, 0.65);
    box-shadow: inset 0 0 0 1px rgba(131, 188, 79, 0.14), 0 18px 52px rgba(80, 152, 54, 0.16);
}

.eq-plan-current {
    outline: 2px solid rgba(242, 182, 50, 0.62);
    outline-offset: 3px;
}

.eq-plan-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 34px;
}

.eq-plan-card-head i {
    color: #f2b632;
    font-size: 1.3rem;
}

.eq-plan-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #dbeafe;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 10px;
}

.eq-plan-card h3 {
    color: #fff;
    font-size: 1.45rem;
    margin: 18px 0 8px;
}

.eq-plan-price {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.eq-plan-price span,
.eq-checkout-price {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.eq-plan-desc {
    color: #cbd5e1;
    min-height: 64px;
}

.eq-plan-card ul {
    color: #e2e8f0;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.eq-plan-card li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
}

.eq-plan-card li::before {
    color: #83bc4f;
    content: "✓";
    font-weight: 800;
    margin-right: 8px;
}

.eq-plan-action {
    background: #f2b632;
    border: 0;
    color: #1f2937;
    font-weight: 800;
    margin-top: auto;
}

.eq-plan-loading {
    align-items: center;
    background: #182233;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #cbd5e1;
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 190px;
    padding: 24px;
    text-align: center;
}

.eq-plan-action:hover {
    background: #ffd36b;
    color: #1f2937;
}

.eq-plan-action-featured {
    background: #83bc4f;
    color: #10200a;
}

.eq-plan-action-featured:hover {
    background: #93d65a;
    color: #10200a;
}

.eq-plan-card-corporate {
    border-color: rgba(242, 182, 50, 0.65);
    box-shadow: inset 0 0 0 1px rgba(242, 182, 50, 0.14), 0 18px 52px rgba(242, 182, 50, 0.12);
}

.eq-plan-action-corporate {
    background: #111827;
    border: 1px solid #f2b632;
    color: #ffe8a3;
}

.eq-plan-action-corporate:hover {
    background: #f2b632;
    color: #1f2937;
}

.eq-payment-error {
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.38);
    border-radius: 8px;
    color: #fecaca;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.eq-payment-success {
    align-items: center;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    text-align: center;
}

.eq-payment-success i {
    color: #22c55e;
    font-size: 3.5rem;
}

.eq-payment-success h3 {
    color: #fff;
    margin: 0;
}

.eq-payment-success dl {
    display: grid;
    gap: 6px 14px;
    grid-template-columns: auto 1fr;
    margin: 0;
    text-align: left;
}

.eq-payment-success dt {
    color: #cbd5e1;
    font-weight: 600;
}

.eq-payment-success dd {
    color: #fff;
    margin: 0;
}

@media (max-width: 991.98px) {
    .eq-plan-grid {
        grid-template-columns: 1fr;
    }

    .eq-plan-desc {
        min-height: auto;
    }
}

/* Ajuste visual: usar mejor el ancho disponible y mejorar contraste del encabezado. */
.eq-plan-modal .modal-dialog {
    max-width: none;
    width: min(1320px, calc(100vw - 56px));
}

.eq-checkout-modal .modal-dialog {
    max-width: none;
    width: min(860px, calc(100vw - 56px));
}

.eq-plan-modal .modal-content {
    max-height: 88vh;
    overflow: hidden;
}

.eq-plan-modal .modal-header,
.eq-checkout-modal .modal-header {
    align-items: flex-start;
    background: #0b1220;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    padding: 22px 28px 18px;
}

.eq-plan-modal .modal-title,
.eq-checkout-modal .modal-title {
    color: #ffffff !important;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 4px;
}

.eq-plan-modal .modal-body,
.eq-checkout-modal .modal-body {
    background: #111827;
    padding: 24px 28px 28px;
}

.eq-current-plan {
    margin-top: 12px;
}

.eq-plan-grid {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    gap: 20px;
}

.eq-plan-card {
    padding: 26px;
}

.eq-plan-card h3 {
    font-size: 1.6rem;
    margin: 20px 0 8px;
}

.eq-plan-price {
    font-size: 2.35rem;
    line-height: 1.05;
    margin: 0 0 14px;
}

.eq-plan-price span {
    display: block;
    margin-top: 7px;
}

.eq-plan-desc {
    line-height: 1.55;
    min-height: 78px;
}

.eq-plan-card li {
    line-height: 1.45;
    padding: 11px 0;
}

.eq-plan-card li::before {
    content: "\2713";
}

.eq-plan-action {
    min-height: 46px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .eq-plan-modal .modal-dialog,
    .eq-checkout-modal .modal-dialog {
        width: calc(100vw - 24px);
    }

    .eq-plan-modal .modal-header,
    .eq-checkout-modal .modal-header {
        padding: 18px 18px 14px;
    }

    .eq-plan-modal .modal-body,
    .eq-checkout-modal .modal-body {
        padding: 18px;
    }

    .eq-plan-grid {
        grid-template-columns: 1fr;
    }

    .eq-plan-desc {
        min-height: auto;
    }
}

.eq-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.eq-package-card {
    background: #182233;
    border: 1px solid rgba(242, 182, 50, 0.15);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.eq-package-card:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 182, 50, 0.45);
    box-shadow: 0 10px 20px rgba(242, 182, 50, 0.1);
}

.eq-package-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 34px;
    margin-bottom: 12px;
}

.eq-package-card-head i {
    color: #f2b632;
    font-size: 1.4rem;
}

.eq-package-pill {
    background: rgba(242, 182, 50, 0.08);
    border: 1px solid rgba(242, 182, 50, 0.2);
    border-radius: 999px;
    color: #ffd875;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
}

.eq-package-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.eq-package-price {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.eq-package-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
    min-height: 54px;
    margin-bottom: 18px;
}

.eq-package-action {
    background: linear-gradient(135deg, #f2b632 0%, #d99a1a 100%);
    border: 0;
    color: #1f2937;
    font-weight: 800;
    min-height: 44px;
    width: 100%;
    margin-top: auto;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.eq-package-action:hover {
    background: linear-gradient(135deg, #ffd36b 0%, #f2b632 100%);
    color: #1f2937;
    box-shadow: 0 4px 10px rgba(242, 182, 50, 0.25);
}

.eq-section-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

@media (max-width: 767.98px) {
    .eq-package-grid {
        grid-template-columns: 1fr;
    }
    
    .eq-package-desc {
        min-height: auto;
    }
}

/* Accordion Transition styles for Equilex subscription plans */
.eq-plan-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.eq-plan-card-expanded .eq-plan-card-body {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
}

.eq-plan-expand-arrow {
    transition: transform 0.4s ease;
}

.eq-plan-card-expanded .eq-plan-expand-arrow {
    transform: rotate(180deg);
}

.eq-plan-expand-hint {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f2b632;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    transition: color 0.3s;
    cursor: pointer;
}

.eq-plan-card:hover .eq-plan-expand-hint {
    color: #ffd36b;
}

.eq-plan-card-expanded .eq-plan-expand-hint {
    display: none !important;
}

.eq-plan-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #ffd36b;
}

.eq-plan-card.eq-plan-card-expanded {
    border-color: #f2b632;
    background: rgba(24, 34, 51, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
