.iej-single-wrapper {
    --c-main: #3e9fb0;
    --c-dark: #2c7a88;
    --c-accent: #a3131c;
    --c-text: #222;
    --c-gray: #666;
    --c-bg: #f8f9fa;
    --c-white: #fff;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    font-family: 'Open Sans', sans-serif;
    color: var(--c-text);
}

.iej-single-wrapper h1,
.iej-single-wrapper h2,
.iej-single-wrapper h3,
.iej-single-wrapper h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.iej-single-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--c-main);
    padding-left: 15px;
}

.iej-single-wrapper p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--c-gray);
}

.iej-single-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.iej-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.iej-content {
    min-width: 0;
    width: 100%;
}

.iej-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid #e9ecef;
}

.iej-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.iej-hero img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.program-is-closed .iej-hero img {
    filter: grayscale(100%) brightness(50%);
}

.program-is-closed .iej-hero::after {
    content: 'PROGRAMA CERRADO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(80, 80, 80, 0.9);
    color: var(--c-white);
    padding: 12px 30px;
    font-weight: 900;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.iej-gallery-swiper {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-bottom: 40px !important;
}

.iej-gallery-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: auto;
}

.iej-gallery-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: unset;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.iej-gallery-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.iej-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 20px;
}

.iej-gallery-swiper .swiper-slide:hover .iej-zoom-icon {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--c-main);
}

.swiper-pagination-bullet-active {
    background: var(--c-main);
}

.iej-learn-box {
    background: #f0f9fa;
    border: 1px solid #b8e0e6;
}

.iej-check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.iej-check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--c-main);
    font-weight: 900;
}

.iej-accordion details {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.iej-accordion summary {
    background: #fdfdfd;
    padding: 15px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.iej-accordion summary::after {
    content: '+';
    color: var(--c-main);
    font-weight: bold;
    font-size: 1.2rem;
}

.iej-accordion details[open] summary::after {
    content: '-';
}

.iej-accordion-content {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #fff;
    font-size: 0.95rem;
}

.syllabus-date {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-main);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 700;
}

.syllabus-teacher {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid var(--c-accent);
    font-size: 0.85rem;
    color: #444;
    margin-top: 10px;
}

/* ESTILOS DOCENTES RESTAURADOS */
.iej-teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.iej-teacher-card {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.iej-teacher-card:hover {
    border-color: var(--c-main);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.teacher-photo-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Lato';
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.iej-teacher-card h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.iej-teacher-card span {
    font-size: 0.8rem;
    color: var(--c-main);
    text-transform: uppercase;
    font-weight: 700;
}

.iej-sidebar {
    position: sticky;
    top: 100px;
}

.iej-cat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-main);
    background: rgba(62, 159, 176, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.iej-year-label {
    float: right;
    font-weight: 700;
    color: #ccc;
    font-size: 1.2rem;
}

.iej-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #111;
}

.iej-price-area {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.iej-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c-accent);
    line-height: 1;
}

.iej-price del {
    display: block;
    font-size: 1rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 5px;
}

.iej-price ins {
    text-decoration: none;
}

.iej-btn-buy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--c-accent);
    color: var(--c-white);
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.iej-btn-buy:hover {
    background: #820e15;
    transform: translateY(-2px);
    color: var(--c-white);
}

.iej-btn-pdf {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--c-main);
    color: var(--c-white);
    border: 2px solid var(--c-main);
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}

.iej-btn-pdf:hover {
    background: transparent;
    color: var(--c-main);
}

.iej-meta-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.iej-meta-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.iej-meta-icon {
    color: var(--c-main);
    font-size: 1.2rem;
    padding-top: 2px;
}

.iej-meta-data strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
}

.iej-meta-data span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: block;
}

.cuotassininteres-producto {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.cuotassininteres-producto .wp-logo {
    width: 75px;
    height: auto;
}

.cuotassininteres-producto p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.3;
}

.cuotassininteres-producto span {
    color: #3e9fb0;
    font-weight: bold;
}

/* ==================================== */
/* 🆕 AJUSTES STICKY FOOTER (Captura) */
/* ==================================== */
.iej-mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
    z-index: 9999;
    display: none;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    gap: 12px;
}

.iej-sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.iej-sticky-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.iej-sticky-grid+.iej-sticky-main-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.iej-sticky-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: 'Lato', sans-serif;
}

.iej-mob-price {
    font-weight: 900;
    font-size: 1.4rem;
    color: #a3131c;
    line-height: 1;
    font-family: 'Lato', sans-serif;
}

.iej-mob-price del {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 400;
    margin-bottom: 2px;
}

.iej-mob-btn {
    background: #a3131c;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(163, 19, 28, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
    gap: 5px;
}

/* ESTILOS BOTONES ESPECIALES */
.iej-btn-special {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 5px;
    border-radius: 10px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
    line-height: 1.1;
    background: #fff;
}

.iej-btn-title {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.iej-btn-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.9;
}

.iej-btn-anmm,
.iej-btn-info {
    color: #3e9fb0;
    border-color: #3e9fb0;
    padding: 15px;
}

.iej-sticky-grid .iej-btn-special {
    margin-top: 0;
}

/* Reset margen en sticky */

.isi-gi-modal-overlay {
    z-index: 100000 !important;
}

@media (max-width: 900px) {
    .iej-grid-layout {
        grid-template-columns: 1fr;
    }

    .iej-sidebar {
        position: static;
    }

    .iej-mobile-sticky {
        display: flex;
        padding: 12px 15px;
        gap: 10px;
    }

    .iej-sidebar .iej-btn-buy,
    .iej-sidebar .iej-btn-special {
        display: none;
    }

    .iej-card {
        padding: 20px;
    }

    .iej-btn-sub {
        display: none;
    }

    .iej-btn-title {
        font-size: 0.72rem;
        letter-spacing: -0.01em;
    }

    .iej-sticky-grid .iej-btn-special {
        padding: 10px 5px !important;
        border-width: 1.5px;
    }

    .iej-mob-price {
        font-size: 1.25rem;
    }

    .iej-mob-price del {
        display: inline-block;
        margin-right: 5px;
        margin-bottom: 0;
        font-size: 0.8rem;
    }

    .iej-mob-btn {
        padding: 12px 18px;
        font-size: 0.8rem;
    }
}

/* ==================================== */
/* ⏱️ COUNTDOWN TIMER STYLES */
/* ==================================== */
.iej-sale-timer {
    background: linear-gradient(135deg, #fdf4f4 0%, #fff 100%);
    border: 1px solid #f8d7da;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(163, 19, 28, 0.05);
}

.timer-promo-info {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #f8d7da;
    line-height: 1.4;
}

.timer-promo-info strong {
    display: block;
    font-size: 0.95rem;
    color: #a3131c;
}

.timer-promo-info span {
    font-size: 0.85rem;
    color: #666;
}

.timer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a3131c;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.timer-header i {
    font-size: 1.1rem;
}

.timer-grid {
    display: flex;
    gap: 8px;
}

.timer-block {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 4px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.timer-block span {
    font-size: 1.2rem;
    font-weight: 900;
    color: #222;
    line-height: 1.1;
}

.timer-block label {
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

.timer-promo-info i {
    font-size: 34px;
}