@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

.eventos-container {
    font-family: 'Bai Jamjuree', sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* === FILTROS === */
/* Por defecto (móvil): uno debajo del otro */
.eventos-filtros {
    display: flex;
    flex-direction: column;    /* ← vertical en móvil */
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}

.filtro-select {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: white;
}

/* En PC (pantallas ≥ 768px): horizontal uno al lado del otro */
@media (min-width: 768px) {
    .eventos-filtros {
        flex-direction: row;        /* ← horizontal en PC */
        justify-content: center;
        gap: 30px;
    }
    
    .filtro-select {
        width: auto;
        min-width: 220px;
    }
}

/* === GRID === */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 1200px) { .eventos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .eventos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .eventos-grid { grid-template-columns: 1fr; } }

/* === TARJETAS === */
.evento-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.evento-item:hover {
    border-color: #FF411D;
}

.evento-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 18px 12px;
}

.evento-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.evento-item h3 { font-size: 1.05rem; margin: 10px 0 6px; color: #222; }
.evento-item .descripcion { font-size: 0.82rem; color: #555; line-height: 1.4; margin: 8px 0; }
.evento-item .fecha { font-size: 0.82rem; color: #000; font-weight: 600; margin: 10px 0; }

.btn-comprar {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-comprar:hover { background: #333; }

.no-eventos {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #999;
}


















/* 4 EVENTOS DESTACADOS */
.eventos-destacados-container {
    font-family: 'Bai Jamjuree', sans-serif;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.eventos-destacados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.evento-destacado-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.evento-destacado-item:hover {
    border-color: #FF411D;
}

.evento-destacado-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 18px 12px;
}

.evento-destacado-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.evento-destacado-item h3 {
    font-size: 1.1rem;
    margin: 12px 0 6px;
    color: #222;
    font-weight: 600;
    min-height: 2.6em;
    line-height: 1.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evento-destacado-item .descripcion {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin: 8px 0;
}

.evento-destacado-item .fecha {
    font-size: 0.85rem;
    color: #000;
    font-weight: 600;
    margin: 10px 0;
}

.evento-destacado-item .btn-comprar {
    background: #000;
    color: white;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .eventos-destacados-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .eventos-destacados-grid { grid-template-columns: 1fr; }
}








/* ==================== SLIDER DE EVENTOS (VERSIÓN DEFINITIVA) ==================== */
.eventos-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    overflow: hidden;
    font-family: 'Bai Jamjuree', sans-serif;
}

.eventos-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide-link {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: border 0.4s ease;
    text-decoration: none;
    color: inherit;
    border: 3px solid transparent;
    height: 370px;
}

/* Aseguramos que la imagen ocupe bien el espacio */
.slide-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;   /* ← evita cortes raros */
}

/* Hover: solo borde naranja */
.slide-link:hover {
    border-color: #FF411D;
}

.slide-imagen {
    flex: 1;
    overflow: hidden;
}

.slide-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slide-link:hover .slide-imagen img {
    transform: scale(1.05);
}

.slide-contenido {
    flex: 1;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TÍTULO MÁS PEQUEÑO */
.slide-contenido h3 {
    font-size: 1.75rem;     /* ← más pequeño y elegante */
    margin: 0 0 12px;
    color: #222;
    font-weight: 700;
    line-height: 1.25;
}

/* FECHA EN NEGRO */
.slide-fecha {
    font-size: 1.05rem;
    color: #000;            /* ← negro */
    font-weight: 600;
    margin-bottom: 16px;
}

.slide-desc {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 24px;
}

.slide-btn {
    align-self: flex-start;
    background: #000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.slide-btn:hover {
    background: #FF411D;
}

/* Puntos (más discretos) */
.slider-dots {
    text-align: center;
    padding: 20px 0 10px;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 7px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .active {
    background: #FF411D;
    transform: scale(1.4);
}

/* Responsive */
@media (max-width: 900px) {
    .slide-link { 
        flex-direction: column; 
        height: auto;           /* en móvil se adapta solo */
    }
    .slide-imagen img { 
        height: 220px;          /* altura cómoda en móvil */
    }

    .slide-contenido { 
        padding: 30px; 
        text-align: center; 
    }
    .slide-contenido h3 { font-size: 1.5rem; }
    .slide-btn { align-self: center; }
}

@media (max-width: 600px) {
    .slide-contenido h3 { font-size: 1.4rem; }
    .slide-fecha { font-size: 1rem; }
}







/* PRODUCTO DEL MES – Versión FINAL 100% como quieres */
.producto-mes-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 1170px;                /* ancho exacto que pediste */
    width: 100%;
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    font-family: 'Bai Jamjuree', sans-serif;
    
    height: 390px;                    /* altura exacta: 390px */
    border: 2px solid transparent;
    transition: border-color 0.4s ease, transform 0.3s ease;
}

.producto-mes-container:hover {
    border-color: #FF411D;
    transform: translateY(-6px);
}

/* IMAGEN – centrada verticalmente (arriba-abajo) */
.producto-mes-imagen {
    flex: 1;
    min-width: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;              /* ← centra verticalmente la imagen */
    justify-content: center;
    background: #000;
}

.producto-mes-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;          /* asegura que se centre bien */
    transition: transform 0.5s ease;
}

.producto-mes-container:hover img {
    transform: scale(1.06);
}

/* INFO DERECHA */
.producto-mes-info {
    flex: 1;
    min-width: 380px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* TÍTULO MÁS PEQUEÑO */
.producto-mes-titulo {
    font-size: 1.55rem;               /* más pequeño que antes */
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.25;
}

/* Descripción 250 caracteres */
.producto-mes-descripcion {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Botón */
.producto-mes-boton {
    align-self: flex-start;
    background: #000;
    color: #fff !important;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 1.0rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
}

.producto-mes-boton:hover {
    background: #FF411D !important;
    color: #fff !important;
}

/* MÓVIL */
@media (max-width: 768px) {
    .producto-mes-container {
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin: 40px auto;
    }
    .producto-mes-imagen {
        height: 300px;
        min-width: auto;
    }
    .producto-mes-info {
        padding: 35px 30px;
        text-align: center;
    }
    .producto-mes-titulo { font-size: 1.65rem; }
    .producto-mes-boton { align-self: center; }
}







