/* EGX COMMERCE FRONTEND */
.egx-store,.egx-product-view,.egx-membership-page,.egx-account{--egx-blue:#082a57;--egx-blue-2:#0d447f;--egx-yellow:#ffc400;--egx-text:#1c3552;--egx-soft:#f3f6f9;--egx-line:#dbe4ed;max-width:1180px;margin:30px auto;color:var(--egx-text);font-family:Arial,Helvetica,sans-serif}.egx-store *,.egx-product-view *,.egx-membership-page *,.egx-account *{box-sizing:border-box}.egx-eyebrow{display:inline-block;color:var(--egx-yellow);font-size:12px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase}.egx-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border:0;border-radius:9px;text-decoration:none!important;font-weight:900;cursor:pointer}.egx-button-primary{background:var(--egx-yellow);color:var(--egx-blue)!important}.egx-button-dark{background:var(--egx-blue);color:#fff!important}.egx-button-light{background:#fff;color:var(--egx-blue)!important}.egx-submit{width:100%;font-size:15px}.egx-store-head,.egx-membership-hero{padding:34px;border-radius:18px;background:linear-gradient(135deg,var(--egx-blue),var(--egx-blue-2));color:#fff}.egx-store-head h2,.egx-membership-hero h2,.egx-account-head h2{margin:8px 0;font-size:clamp(30px,4vw,48px);line-height:1}.egx-store-head p,.egx-membership-hero p{max-width:760px;margin:0;font-size:17px;line-height:1.5}.egx-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.egx-product-card{overflow:hidden;border:1px solid var(--egx-line);border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(5,35,70,.07)}.egx-product-image-wrap{display:block;aspect-ratio:1/1;overflow:hidden;background:#eaf0f5}.egx-product-card-image{width:100%;height:100%;object-fit:cover}.egx-product-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0a2a56,#0d477f);color:#ffc400;font-size:48px;font-weight:900}.egx-product-card-body{padding:20px}.egx-product-type{display:inline-block;margin-bottom:7px;color:#8a5b00;font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.egx-product-card h3{margin:0 0 10px;font-size:21px;line-height:1.18}.egx-product-card h3 a{color:var(--egx-blue);text-decoration:none}.egx-product-card p{line-height:1.5;color:#607086}.egx-product-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.egx-product-card-foot strong{font-size:20px;color:var(--egx-blue)}
.egx-product-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:34px;align-items:center;padding:26px;border:1px solid var(--egx-line);border-radius:18px;background:#fff}.egx-product-gallery{overflow:hidden;min-height:390px;border-radius:14px;background:#eef3f7}.egx-product-main-image{display:block;width:100%;height:auto}.egx-product-placeholder-large{min-height:520px}.egx-product-summary h2{color:var(--egx-blue)}.egx-product-price{margin:10px 0 18px;color:var(--egx-blue);font-size:36px;font-weight:900}.egx-product-short{font-size:17px;line-height:1.55;color:#52657c}.egx-product-description{margin-top:24px;padding:26px;border:1px solid var(--egx-line);border-radius:14px;background:#fff;line-height:1.65}.egx-product-description h2,.egx-product-description h3{color:var(--egx-blue)}.egx-checkout{margin-top:24px;padding:28px;border-radius:18px;background:var(--egx-soft);border:1px solid var(--egx-line);scroll-margin-top:30px}.egx-checkout-heading{max-width:720px;margin-bottom:20px}.egx-checkout-heading .egx-eyebrow{color:#8b6000}.egx-checkout-heading h2{margin:5px 0;color:var(--egx-blue)}.egx-checkout-heading p{margin:0;line-height:1.5}.egx-checkout-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:820px}.egx-checkout-form label{display:block}.egx-checkout-form label span,.egx-profile-card label span{display:block;margin-bottom:6px;color:var(--egx-blue);font-size:13px;font-weight:900}.egx-checkout-form input,.egx-profile-card input{width:100%;padding:12px 13px;border:1px solid #cbd6e1;border-radius:8px;background:#fff;font:inherit}.egx-checkout-form .egx-submit,.egx-form-privacy{grid-column:1/-1}.egx-form-privacy{margin:0;color:#68798b;font-size:12px}.egx-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.egx-notice{margin:16px 0;padding:13px 16px;border:1px solid #cfd8e2;border-radius:9px;background:#f5f7fa}.egx-notice-error{border-color:#e7b8b4;background:#fff0ef;color:#8c211b}.egx-notice-success{border-color:#b9dfc4;background:#eaf7ef;color:#176a37}
.egx-membership-product{max-width:520px;margin:25px auto}.egx-membership-product .egx-product-grid{grid-template-columns:1fr}.egx-membership-login{margin-top:24px;padding:25px;text-align:center;border:1px solid var(--egx-line);border-radius:14px;background:#fff}.egx-membership-login h3{margin-top:0;color:var(--egx-blue)}
.egx-login-card{max-width:520px;margin:30px auto;padding:30px;border:1px solid var(--egx-line);border-radius:16px;background:#fff;box-shadow:0 15px 40px rgba(0,0,0,.08)}.egx-login-card h2{color:var(--egx-blue)}.egx-login-card label{display:block;font-weight:800;color:var(--egx-blue)}.egx-login-card input[type=text],.egx-login-card input[type=password]{width:100%;padding:12px;border:1px solid #ccd6e0;border-radius:8px}.egx-login-card input[type=submit]{padding:11px 18px;border:0;border-radius:8px;background:var(--egx-yellow);color:var(--egx-blue);font-weight:900;cursor:pointer}.egx-account-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 30px;border-radius:18px 18px 0 0;background:linear-gradient(135deg,var(--egx-blue),var(--egx-blue-2));color:#fff}.egx-account-head p{margin:0}.egx-account-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:20px;padding:24px;background:var(--egx-soft)}.egx-status-card,.egx-profile-card{padding:24px;border:1px solid var(--egx-line);border-radius:14px;background:#fff}.egx-status-card h3,.egx-profile-card h3{color:var(--egx-blue)}.egx-status-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#147540;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase}.egx-member-expired .egx-status-badge{background:#a61b2b}.egx-member-suspended .egx-status-badge{background:#555}.egx-member-pending .egx-status-badge{background:#a65b00}.egx-profile-card label{display:block;margin-bottom:14px}.egx-profile-card small{display:block;margin-top:5px;color:#6e7d8d}.egx-accessible-content{padding:24px;border-radius:0 0 18px 18px;background:var(--egx-soft)}.egx-accessible-content h3{color:var(--egx-blue)}.egx-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.egx-access-item{padding:17px;border:1px solid var(--egx-line);border-radius:10px;background:#fff;text-decoration:none!important}.egx-access-item strong{display:block;color:var(--egx-blue)}.egx-access-item span{display:block;margin-top:6px;color:#1b7b49;font-size:12px;font-weight:800}
.egx-locked{max-width:720px;margin:24px auto;padding:36px 28px;text-align:center;border:1px solid #dfe7ef;border-radius:15px;background:#f4f7fa;color:#0b2a55}.egx-lock{font-size:38px;margin-bottom:8px}
@media(max-width:900px){.egx-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.egx-product-top,.egx-account-grid{grid-template-columns:1fr}.egx-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.egx-store,.egx-product-view,.egx-membership-page,.egx-account{margin:14px auto}.egx-store-head,.egx-membership-hero{padding:25px 20px;border-radius:12px}.egx-product-grid,.egx-access-grid,.egx-checkout-form{grid-template-columns:1fr}.egx-checkout-form .egx-submit,.egx-form-privacy{grid-column:auto}.egx-product-top{padding:15px;gap:20px}.egx-product-gallery{min-height:0}.egx-product-placeholder-large{min-height:360px}.egx-product-description,.egx-checkout{padding:20px}.egx-product-card-foot{align-items:flex-start;flex-direction:column}.egx-account-head{align-items:flex-start;flex-direction:column;border-radius:12px 12px 0 0}.egx-account-grid{padding:15px}}


/* EGX Commerce 1.1 — portal de clientes separado de wp-admin */
.egx-front-login-form label{display:block;margin-bottom:14px}
.egx-front-login-form label>span{display:block;margin-bottom:6px;color:var(--egx-blue);font-size:13px;font-weight:900}
.egx-front-login-form input[type=text],
.egx-front-login-form input[type=password]{width:100%;padding:12px 13px;border:1px solid #cbd6e1;border-radius:8px;background:#fff;font:inherit}
.egx-front-login-form .egx-inline-check{display:flex;align-items:center;gap:8px;font-weight:700;color:#53677d}
.egx-front-login-form .egx-inline-check span{display:inline;margin:0;font-weight:700;color:#53677d}
.egx-login-links{text-align:center;margin:18px 0 0}
.egx-account-actions{display:flex;gap:9px;flex-wrap:wrap}
.egx-account-dashboard{padding:24px;background:var(--egx-soft)}
.egx-account-dashboard .egx-status-card{max-width:560px}
.egx-profile-shell{padding:24px;background:var(--egx-soft);border-radius:0 0 18px 18px}
.egx-profile-shell .egx-profile-card{max-width:720px;margin:0 auto}
.egx-profile-card hr{margin:24px 0;border:0;border-top:1px solid var(--egx-line)}
@media(max-width:640px){.egx-account-actions{width:100%}.egx-account-actions .egx-button{width:100%}.egx-profile-shell{padding:15px}}


/* Phone country-code controls — v1.2 */
.egx-phone-field{
    display:grid;
    grid-template-columns:minmax(170px, .9fr) minmax(180px, 1.4fr);
    gap:9px;
    align-items:stretch;
}
.egx-phone-field .egx-country-code{
    width:100%;
    min-width:0;
    padding:12px 10px;
    border:1px solid #cbd6e1;
    border-radius:8px;
    background:#fff;
    color:#1c3552;
    font:inherit;
}
.egx-phone-field input[type="tel"]{width:100%}
@media(max-width:640px){
    .egx-phone-field{grid-template-columns:1fr}
}


/* =========================================================
   EGX COMMERCE 1.4 - TEMARIO Y PROGRESO
   ========================================================= */
.egx-accessible-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}
.egx-accessible-heading h3{margin:5px 0 0;color:var(--egx-blue)}
.egx-progress-legend{
    display:flex;
    align-items:center;
    gap:7px;
    color:#667789;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}
.egx-progress-legend i{
    width:10px;
    height:10px;
    display:inline-block;
    border-radius:50%;
}
.egx-progress-legend i.is-pending{background:#d79a00}
.egx-progress-legend i.is-seen{background:#17824a}
.egx-curriculum-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-bottom:18px;
}
.egx-curriculum-summary>div:not(.egx-progress-meter){
    padding:14px 16px;
    border:1px solid var(--egx-line);
    border-radius:10px;
    background:#fff;
}
.egx-curriculum-summary strong{
    display:block;
    color:var(--egx-blue);
    font-size:25px;
    line-height:1;
}
.egx-curriculum-summary span{display:block;margin-top:5px;color:#708093;font-size:12px;font-weight:800}
.egx-progress-meter{
    grid-column:1/-1;
    height:9px;
    overflow:hidden;
    border-radius:999px;
    background:#dce4ec;
}
.egx-progress-meter span{
    display:block;
    height:100%;
    margin:0;
    border-radius:inherit;
    background:#17824a;
}
.egx-curriculum-tree{display:flex;flex-direction:column;gap:12px}
.egx-topic-group{
    overflow:hidden;
    border:1px solid var(--egx-line);
    border-radius:12px;
    background:#fff;
}
.egx-topic-group>.egx-topic-group-body>.egx-topic-group{
    margin:10px 0 0 18px;
    border-radius:9px;
    box-shadow:none;
}
.egx-topic-group summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:15px 17px;
    cursor:pointer;
    list-style:none;
    background:#eaf0f6;
    color:var(--egx-blue);
    font-weight:900;
}
.egx-topic-group summary::-webkit-details-marker{display:none}
.egx-topic-group summary:before{
    content:'›';
    flex:0 0 auto;
    font-size:22px;
    transform:rotate(0deg);
    transition:transform .15s ease;
}
.egx-topic-group[open]>summary:before{transform:rotate(90deg)}
.egx-topic-group.is-complete>summary{background:#e7f5ec;color:#156b3c}
.egx-topic-group-title{flex:1}
.egx-topic-count{
    flex:0 0 auto;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(255,255,255,.75);
    color:#647489;
    font-size:11px;
    font-weight:900;
}
.egx-topic-group-body{padding:10px}
.egx-topic-level-1>summary{background:#f1f5f8}
.egx-topic-level-2>summary,.egx-topic-level-3>summary,.egx-topic-level-4>summary,.egx-topic-level-5>summary{background:#f7f9fb}
.egx-topic-item{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    margin:7px 0;
    padding:12px;
    border:1px solid #e2e8ee;
    border-left:5px solid #d79a00;
    border-radius:9px;
    background:#fffaf0;
}
.egx-topic-item.is-seen{
    border-left-color:#17824a;
    background:#eef8f2;
}
.egx-topic-status-dot{
    width:11px;
    height:11px;
    border-radius:50%;
    background:#d79a00;
    box-shadow:0 0 0 4px rgba(215,154,0,.12);
}
.egx-topic-item.is-seen .egx-topic-status-dot,
.egx-topic-progress-box.is-seen .egx-topic-status-dot{
    background:#17824a;
    box-shadow:0 0 0 4px rgba(23,130,74,.12);
}
.egx-topic-item-link{text-decoration:none!important;min-width:0}
.egx-topic-item-link strong{display:block;color:var(--egx-blue);line-height:1.3}
.egx-topic-item.is-seen .egx-topic-item-link strong{color:#156b3c}
.egx-topic-item-link small{display:block;margin-top:4px;color:#718094;font-weight:700}
.egx-progress-form{margin:0}
.egx-progress-button{
    appearance:none;
    border:1px solid #d5dee7;
    border-radius:8px;
    padding:8px 10px;
    background:#fff;
    color:#765500;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    white-space:nowrap;
}
.egx-progress-button.is-seen{color:#156b3c;border-color:#b8dec7;background:#fff}
.egx-progress-button:hover{transform:translateY(-1px)}
.egx-topic-progress-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:30px 0 10px;
    padding:16px 18px;
    border:1px solid #ead7a5;
    border-left:5px solid #d79a00;
    border-radius:11px;
    background:#fffaf0;
    font-family:Arial,Helvetica,sans-serif;
}
.egx-topic-progress-box.is-seen{
    border-color:#c5e2d0;
    border-left-color:#17824a;
    background:#eef8f2;
}
.egx-topic-progress-text{display:flex;align-items:center;gap:12px;min-width:0}
.egx-topic-progress-text strong{display:block;color:#173552}
.egx-topic-progress-text small{display:block;margin-top:4px;color:#6b7a8b;line-height:1.3}
@media(max-width:700px){
    .egx-accessible-heading{align-items:flex-start;flex-direction:column}
    .egx-curriculum-summary{grid-template-columns:repeat(3,1fr)}
    .egx-topic-item{grid-template-columns:auto minmax(0,1fr)}
    .egx-topic-item .egx-progress-form{grid-column:2}
    .egx-progress-button{white-space:normal;text-align:left}
    .egx-topic-group>.egx-topic-group-body>.egx-topic-group{margin-left:7px}
    .egx-topic-progress-box{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   EGX COMMERCE 1.4.1 - NAVEGACIÓN ENTRE TEMAS
   ========================================================= */
.egx-topic-progress-actions{
    display:flex;
    align-items:stretch;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:9px;
}
.egx-topic-progress-actions .egx-progress-form{
    display:flex;
}
.egx-progress-nav-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:40px;
    padding:9px 13px;
    border:1px solid #c8d4df;
    border-radius:9px;
    background:#fff;
    color:#173552!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:900;
    line-height:1.15;
    transition:transform .15s ease, border-color .15s ease, background .15s ease;
}
.egx-progress-nav-button:hover,
.egx-progress-nav-button:focus{
    transform:translateY(-1px);
    border-color:#7890a8;
    background:#f7fafc;
}
.egx-progress-nav-next{
    border-color:#0b2a55;
    background:#0b2a55;
    color:#fff!important;
}
.egx-progress-nav-next:hover,
.egx-progress-nav-next:focus{
    border-color:#123e72;
    background:#123e72;
}
.egx-progress-nav-button.is-disabled{
    opacity:.55;
    cursor:default;
    pointer-events:none;
}
#egx-temario{
    scroll-margin-top:25px;
}
@media(max-width:760px){
    .egx-topic-progress-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }
    .egx-topic-progress-actions .egx-progress-form,
    .egx-topic-progress-actions .egx-progress-button,
    .egx-progress-nav-button{
        width:100%;
    }
}


/* =========================================================
   EGX COMMERCE 1.4.2 - BOTONES DE PROGRESO UNIFICADOS
   ========================================================= */
.egx-topic-progress-actions{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:8px;
}

.egx-topic-progress-actions .egx-progress-form{
    display:inline-flex;
    margin:0;
}

.egx-topic-progress-actions .egx-progress-button,
.egx-topic-progress-actions .egx-progress-nav-button{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:34px;
    padding:6px 13px !important;
    border:1px solid #1595f6 !important;
    border-radius:999px !important;
    background:#1595f6 !important;
    color:#fff !important;
    box-shadow:none !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1.1 !important;
    cursor:pointer;
    transition:background .15s ease, border-color .15s ease, transform .15s ease;
}

.egx-topic-progress-actions .egx-progress-button:hover,
.egx-topic-progress-actions .egx-progress-button:focus,
.egx-topic-progress-actions .egx-progress-nav-button:hover,
.egx-topic-progress-actions .egx-progress-nav-button:focus{
    background:#0c84df !important;
    border-color:#0c84df !important;
    color:#fff !important;
    transform:translateY(-1px);
    outline:none;
}

.egx-topic-progress-actions .egx-progress-nav-next,
.egx-topic-progress-actions .egx-progress-nav-all{
    background:#1595f6 !important;
    border-color:#1595f6 !important;
    color:#fff !important;
}

.egx-topic-progress-actions .egx-progress-nav-button.is-disabled{
    background:#91c9f5 !important;
    border-color:#91c9f5 !important;
    color:#fff !important;
    opacity:.72;
    cursor:default;
    pointer-events:none;
    transform:none;
}

@media(max-width:760px){
    .egx-topic-progress-actions{
        display:flex;
        flex-direction:column;
        align-items:stretch;
    }

    .egx-topic-progress-actions .egx-progress-form,
    .egx-topic-progress-actions .egx-progress-button,
    .egx-topic-progress-actions .egx-progress-nav-button{
        width:100%;
    }
}


/* =========================================================
   EGX COMMERCE 1.5.0 - SOLICITUD DE SUSCRIPCIÓN
   ========================================================= */
.egx-subscription-checkout{
    --egx-sub-navy:#071a35;--egx-sub-blue:#1595f6;--egx-sub-yellow:#ffc400;--egx-sub-text:#102a43;--egx-sub-muted:#61758a;
    display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:42px;padding:34px;border-radius:24px;
    background:radial-gradient(circle at 0 0,rgba(255,196,0,.13),transparent 34%),linear-gradient(135deg,#f8fbfe 0%,#fff 72%);
    border:1px solid #dfe7ef;box-shadow:0 22px 70px rgba(7,26,53,.09)
}
.egx-subscription-intro{padding:20px 8px 20px 4px}
.egx-subscription-eyebrow{display:inline-flex;margin-bottom:12px;padding:7px 10px;border-radius:999px;background:var(--egx-sub-yellow);color:var(--egx-sub-navy);font-size:11px;font-weight:900;letter-spacing:.13em}
.egx-subscription-intro h2{margin:0 0 12px;color:var(--egx-sub-navy);font-size:clamp(30px,4vw,48px);line-height:1.02;letter-spacing:-.04em}
.egx-subscription-intro>p{margin:0;max-width:440px;color:var(--egx-sub-muted);font-size:16px;line-height:1.65}
.egx-subscription-benefits{display:grid;gap:14px;margin-top:30px}
.egx-subscription-benefits>div{display:flex;gap:12px;align-items:flex-start}
.egx-subscription-benefits p{margin:0;color:var(--egx-sub-text);line-height:1.35}
.egx-subscription-benefits small{color:var(--egx-sub-muted);font-size:12px}
.egx-subscription-icon{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--egx-sub-navy);color:#fff;font-weight:900}
.egx-subscription-card{padding:24px;border-radius:18px;background:#fff;border:1px solid #dfe7ef;box-shadow:0 16px 45px rgba(16,42,67,.08)}
.egx-subscription-form{display:grid;grid-template-columns:1fr;gap:16px;max-width:none}
.egx-subscription-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.egx-subscription-form label{display:block}
.egx-subscription-form label>span:first-child:not(.egx-plan-card-inner):not(.egx-plan-badge){display:block;margin-bottom:7px;color:var(--egx-sub-text);font-size:13px;font-weight:900}
.egx-subscription-form input[type="text"],.egx-subscription-form input[type="email"],.egx-subscription-form input[type="tel"],.egx-subscription-form select{
    width:100%;min-height:46px;padding:11px 13px;border:1px solid #cdd9e5;border-radius:10px;background:#fff;color:var(--egx-sub-text);font:inherit;box-shadow:none;outline:none
}
.egx-subscription-form input:focus,.egx-subscription-form select:focus{border-color:var(--egx-sub-blue);box-shadow:0 0 0 3px rgba(21,149,246,.12)}
.egx-subscription-form .egx-phone-field{display:grid;grid-template-columns:minmax(175px,.7fr) minmax(0,1fr);gap:9px}
.egx-plan-selector{min-width:0;margin:2px 0 0;padding:0;border:0}
.egx-plan-selector legend{margin-bottom:9px;color:var(--egx-sub-text);font-size:13px;font-weight:900}
.egx-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.egx-plan-card{position:relative;display:block!important;min-width:0;cursor:pointer}
.egx-plan-card input{position:absolute;opacity:0;pointer-events:none}
.egx-plan-card-inner{min-height:112px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px;border:2px solid #d8e2ec;border-radius:14px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}
.egx-plan-card:hover .egx-plan-card-inner{border-color:#9acdf3;transform:translateY(-1px)}
.egx-plan-card input:checked + .egx-plan-card-inner,.egx-plan-card-featured input:checked ~ .egx-plan-card-inner{border-color:var(--egx-sub-blue);background:#f2f9ff;box-shadow:0 0 0 3px rgba(21,149,246,.10)}
.egx-plan-radio{width:19px;height:19px;border:2px solid #aebdcb;border-radius:50%;position:relative}
.egx-plan-card input:checked + .egx-plan-card-inner .egx-plan-radio,.egx-plan-card-featured input:checked ~ .egx-plan-card-inner .egx-plan-radio{border-color:var(--egx-sub-blue)}
.egx-plan-card input:checked + .egx-plan-card-inner .egx-plan-radio:after,.egx-plan-card-featured input:checked ~ .egx-plan-card-inner .egx-plan-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--egx-sub-blue)}
.egx-plan-copy strong,.egx-plan-copy small,.egx-plan-price b,.egx-plan-price small,.egx-plan-price del{display:block}
.egx-plan-copy strong{color:var(--egx-sub-navy);font-size:17px}
.egx-plan-copy small{margin-top:3px;color:var(--egx-sub-muted);font-size:11px}
.egx-plan-price{text-align:right}
.egx-plan-price b{color:var(--egx-sub-navy);font-size:20px}
.egx-plan-price small{color:#7b8da0;font-size:10px;font-weight:800}
.egx-plan-price del{margin-bottom:1px;color:#8e9baa;font-size:12px}
.egx-plan-card-featured{padding-top:14px}
.egx-plan-card-featured .egx-plan-card-inner{min-height:126px;border-color:#f0c23b}
.egx-plan-badge{position:absolute;z-index:2;top:0;right:12px;display:inline-flex!important;width:auto!important;margin:0!important;padding:5px 8px;border-radius:999px;background:var(--egx-sub-yellow);color:var(--egx-sub-navy)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.04em;line-height:1}
.egx-subscription-submit{width:100%;min-height:49px;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border:0;border-radius:999px;background:var(--egx-sub-blue);color:#fff;font-size:14px;font-weight:900;cursor:pointer;transition:background .15s ease,transform .15s ease}
.egx-subscription-submit:hover,.egx-subscription-submit:focus{background:#0d83db;transform:translateY(-1px)}
.egx-subscription-form .egx-form-privacy{grid-column:auto;margin:0;text-align:center}
@media(max-width:900px){.egx-subscription-checkout{grid-template-columns:1fr;gap:18px;padding:24px}.egx-subscription-intro{padding:2px}}
@media(max-width:640px){.egx-subscription-checkout{padding:14px;border-radius:16px}.egx-subscription-card{padding:15px}.egx-subscription-fields-grid,.egx-plan-grid,.egx-subscription-form .egx-phone-field{grid-template-columns:1fr}}


/* =========================================================
   EGX COMMERCE 1.5.1 - SOLICITUD GRATUITA
   ========================================================= */
.egx-free-checkout{
    --egx-free-navy:#071a35;
    --egx-free-blue:#1595f6;
    --egx-free-yellow:#ffc400;
    --egx-free-text:#102a43;
    --egx-free-muted:#61758a;
    display:grid;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
    gap:42px;
    padding:34px;
    border-radius:24px;
    background:
        radial-gradient(circle at 0 0,rgba(255,196,0,.13),transparent 34%),
        linear-gradient(135deg,#f8fbfe 0%,#fff 72%);
    border:1px solid #dfe7ef;
    box-shadow:0 22px 70px rgba(7,26,53,.09);
}
.egx-free-intro{
    padding:20px 8px 20px 4px;
}
.egx-free-eyebrow{
    display:inline-flex;
    margin-bottom:12px;
    padding:7px 10px;
    border-radius:999px;
    background:var(--egx-free-yellow);
    color:var(--egx-free-navy);
    font-size:11px;
    font-weight:900;
    letter-spacing:.10em;
}
.egx-free-intro h2{
    margin:0 0 12px;
    color:var(--egx-free-navy);
    font-size:clamp(30px,4vw,48px);
    line-height:1.02;
    letter-spacing:-.04em;
}
.egx-free-intro>p{
    margin:0;
    max-width:440px;
    color:var(--egx-free-muted);
    font-size:16px;
    line-height:1.65;
}
.egx-free-benefits{
    display:grid;
    gap:14px;
    margin-top:30px;
}
.egx-free-benefits>div{
    display:flex;
    gap:12px;
    align-items:flex-start;
}
.egx-free-benefits p{
    margin:0;
    color:var(--egx-free-text);
    line-height:1.35;
}
.egx-free-benefits small{
    color:var(--egx-free-muted);
    font-size:12px;
}
.egx-free-icon{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--egx-free-navy);
    color:#fff;
    font-weight:900;
}
.egx-free-card{
    padding:24px;
    border-radius:18px;
    background:#fff;
    border:1px solid #dfe7ef;
    box-shadow:0 16px 45px rgba(16,42,67,.08);
}
.egx-free-form{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    max-width:none;
}
.egx-free-fields-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.egx-free-form label{
    display:block;
}
.egx-free-form label>span{
    display:block;
    margin-bottom:7px;
    color:var(--egx-free-text);
    font-size:13px;
    font-weight:900;
}
.egx-free-form input[type="text"],
.egx-free-form input[type="email"]{
    width:100%;
    min-height:46px;
    padding:11px 13px;
    border:1px solid #cdd9e5;
    border-radius:10px;
    background:#fff;
    color:var(--egx-free-text);
    font:inherit;
    box-shadow:none;
    outline:none;
}
.egx-free-form input:focus{
    border-color:var(--egx-free-blue);
    box-shadow:0 0 0 3px rgba(21,149,246,.12);
}
.egx-free-highlight{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 15px;
    border:1px solid #d7e8f7;
    border-radius:12px;
    background:#f5fbff;
}
.egx-free-highlight-icon{
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#fff0b3;
    font-size:20px;
}
.egx-free-highlight strong,
.egx-free-highlight small{
    display:block;
}
.egx-free-highlight strong{
    color:var(--egx-free-navy);
    font-size:13px;
}
.egx-free-highlight small{
    margin-top:2px;
    color:var(--egx-free-muted);
    font-size:11px;
}
.egx-free-submit{
    width:100%;
    min-height:49px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:12px 18px;
    border:0;
    border-radius:999px;
    background:var(--egx-free-blue);
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
    transition:background .15s ease,transform .15s ease;
}
.egx-free-submit:hover,
.egx-free-submit:focus{
    background:#0d83db;
    transform:translateY(-1px);
}
.egx-free-form .egx-form-privacy{
    grid-column:auto;
    margin:0;
    text-align:center;
}
@media(max-width:900px){
    .egx-free-checkout{
        grid-template-columns:1fr;
        gap:18px;
        padding:24px;
    }
    .egx-free-intro{
        padding:2px;
    }
}
@media(max-width:640px){
    .egx-free-checkout{
        padding:14px;
        border-radius:16px;
    }
    .egx-free-card{
        padding:15px;
    }
    .egx-free-fields-grid{
        grid-template-columns:1fr;
    }
}


.egx-registration-pending-note{
    display:inline-flex;
    margin-top:8px;
    max-width:620px;
    padding:10px 13px;
    border-radius:9px;
    background:#fff6cf;
    color:#6d5400;
    font-size:12px;
    font-weight:800;
    line-height:1.45;
}
