
/* ==========================================
   COMBOS EKSEL
   PAGINA PROFESIONAL DE OFERTAS
========================================== */

.ofertas-hero {
    background: linear-gradient(
        125deg,
        #073b83 0%,
        #0d55a2 55%,
        #e52b39 100%
    );

    color: #ffffff;
    padding: 75px 0;
    overflow: hidden;
}

.ofertas-hero-contenido {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 40px;
}

.ofertas-hero-etiqueta {
    display: inline-block;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ofertas-hero-texto h1 {
    max-width: 700px;
    margin: 20px 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 900;
}

.ofertas-hero-texto h1 span {
    color: #ffe08a;
}

.ofertas-hero-texto p {
    max-width: 580px;
    margin: 0 0 28px;
    color: #eaf2ff;
    font-size: 15px;
    line-height: 1.9;
}

.ofertas-hero-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    background: #ffffff;
    color: #073b83;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.2s, background 0.2s;
}

.ofertas-hero-boton:hover {
    background: #ffe08a;
    transform: translateY(-2px);
}

.ofertas-hero-decoracion {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ofertas-hero-circulo {
    width: 240px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.ofertas-hero-circulo span {
    font-size: 65px;
}

.ofertas-hero-circulo strong {
    font-size: 25px;
    letter-spacing: 2px;
}

.ofertas-hero-circulo small {
    font-size: 12px;
    letter-spacing: 1px;
}

/* BENEFICIOS */

.ofertas-beneficios {
    padding: 18px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.ofertas-beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.ofertas-beneficios-grid > div {
    color: #334155;
    font-size: 13px;
}

/* TITULOS */

.ofertas-seccion {
    padding-top: 55px;
    padding-bottom: 70px;
}

.ofertas-titulo-seccion {
    margin-bottom: 28px;
    text-align: center;
}

.ofertas-subtitulo {
    color: #e52b39;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.ofertas-titulo-seccion h2 {
    margin: 12px 0;
    color: #073b83;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 900;
}

.ofertas-titulo-seccion p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

/* BARRA DE ORDENAMIENTO */

.ofertas-barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.ofertas-barra-informacion {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ofertas-contador {
    color: #073b83;
    font-size: 13px;
    font-weight: 900;
}

.ofertas-volver {
    color: #e52b39;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ofertas-volver:hover {
    text-decoration: underline;
}

.ofertas-ordenamiento {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ofertas-ordenamiento label {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.ofertas-ordenamiento select {
    max-width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

/* PRODUCTOS */

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.oferta-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(7, 59, 131, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.oferta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(7, 59, 131, 0.12);
}

.oferta-imagen-enlace {
    display: block;
    text-decoration: none;
}

.oferta-imagen {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.oferta-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oferta-sin-imagen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: #64748b;
}

.oferta-sin-imagen span {
    font-size: 48px;
}

.oferta-descuento {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    background: #e52b39;
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(229, 43, 57, 0.25);
}

.oferta-agotado {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    background: #334155;
    color: #ffffff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}

.oferta-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.oferta-categoria {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.oferta-info h3 {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.5;
}

.oferta-info h3 a {
    color: #073b83;
    text-decoration: none;
}

.oferta-info h3 a:hover {
    color: #e52b39;
}

.oferta-precios {
    margin-bottom: 18px;
}

.oferta-precio-anterior {
    margin: 0 0 6px;
    color: #64748b;
    font-size: 12px;
}

.oferta-precio-actual {
    color: #073b83;
    font-size: 26px;
    font-weight: 900;
}

.oferta-precio-actual span {
    font-size: 12px;
    font-weight: 800;
}

.oferta-ahorro {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 10px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

.oferta-compra {
    margin-top: auto;
}

.oferta-stock {
    margin: 0 0 12px;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
}

.oferta-stock-agotado {
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
}

.oferta-boton-carrito {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    background: #073b83;
    color: #ffffff;
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s;
}

.oferta-boton-carrito:hover:not(:disabled) {
    background: #e52b39;
}

.oferta-boton-carrito:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* SIN OFERTAS */

.ofertas-vacias {
    grid-column: 1 / -1;
    padding: 65px 25px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

.ofertas-vacias-icono {
    margin-bottom: 18px;
    font-size: 55px;
}

.ofertas-vacias h3 {
    color: #073b83;
    font-size: 23px;
}

.ofertas-vacias p {
    max-width: 550px;
    margin: 15px auto 25px;
    color: #64748b;
    line-height: 1.8;
}

.ofertas-vacias-boton {
    display: inline-block;
    padding: 13px 22px;
    background: #e52b39;
    color: #ffffff;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 900;
}

/* PAGINACION */

.ofertas-paginacion {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 40px;
}

.ofertas-pagina-numeros {
    display: flex;
    gap: 7px;
}

.ofertas-pagina-boton,
.ofertas-pagina-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    background: #ffffff;
    color: #073b83;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.ofertas-pagina-boton:hover,
.ofertas-pagina-numero:hover {
    background: #eff6ff;
}

.ofertas-pagina-actual {
    background: #073b83;
    color: #ffffff;
    border-color: #073b83;
}

.ofertas-pagina-actual:hover {
    background: #073b83;
}

.ofertas-deshabilitado {
    color: #94a3b8;
    background: #f1f5f9;
}

.ofertas-paginacion-informacion {
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

/* BANNER FINAL */

.ofertas-banner-final {
    padding: 55px 20px;
    background: #073b83;
    color: #ffffff;
    text-align: center;
}

.ofertas-banner-final h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 28px;
}

.ofertas-banner-final p {
    margin-bottom: 22px;
    color: #dbeafe;
}

.ofertas-banner-final a {
    display: inline-block;
    padding: 12px 22px;
    background: #e52b39;
    color: #ffffff;
    border-radius: 9px;
    font-weight: 900;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

    .ofertas-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {

    .ofertas-hero-contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ofertas-hero-texto p {
        margin-left: auto;
        margin-right: auto;
    }

    .ofertas-hero-circulo {
        width: 170px;
        height: 170px;
    }

    .ofertas-hero-circulo span {
        font-size: 45px;
    }

    .ofertas-hero-circulo strong {
        font-size: 20px;
    }

    .ofertas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ofertas-beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {

    .ofertas-hero {
        padding: 45px 0;
    }

    .ofertas-hero-texto h1 {
        font-size: 32px;
    }

    .ofertas-grid {
        grid-template-columns: 1fr;
    }

    .ofertas-barra {
        align-items: stretch;
    }

    .ofertas-ordenamiento {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ofertas-ordenamiento select {
        width: 100%;
    }

    .oferta-imagen {
        height: 260px;
    }

    .ofertas-banner-final h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .oferta-card,
    .oferta-boton-carrito,
    .ofertas-hero-boton {
        transition: none;
    }
}
