/* ===========================================================================
 * Estilos de la pestaña Eventos y Celebraciones — Taste of America
 * FUENTE ÚNICA: la usa tanto el módulo PrestaShop como el preview local.
 * Clases con prefijo .toae- para no interferir con el theme.
 * ======================================================================== */

.toae-wrap {
    --toae-primary: #BF0A30;
    --toae-secondary: #002868;
    --toae-gradient: linear-gradient(135deg, #002868 0%, #BF0A30 100%);
    font-family: 'Outfit', sans-serif;
    color: #333;
}

.toae-preview-banner {
    background: #ffc107; color: #1a1a1a; text-align: center;
    padding: 10px; font-weight: 700; border-radius: 8px; margin-bottom: 1.5rem;
}

.toae-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1498931299472-f7a63a5a1cfa?auto=format&fit=crop&w=1200&q=80');
    background-size: cover; background-position: center;
    padding: 4rem 1rem; border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #fff; margin-bottom: 2.5rem;
}
.toae-hero h1 { font-size: 3rem; font-weight: 800; margin: 0 0 1rem; color: #fff; }
.toae-hero .toae-grad {
    background: linear-gradient(90deg, #85B1E3 0%, #fff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.toae-hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; opacity: 0.92; }

.toae-filters { display: flex; justify-content: center; gap: 1rem; margin: 0 0 2.5rem; flex-wrap: wrap; }
.toae-filter-btn {
    padding: 10px 25px; background: #fff; border: 1px solid #ddd; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px; font-family: inherit; color: #333;
}
.toae-filter-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.toae-filter-btn.active { background: var(--toae-gradient); color: #fff; border-color: transparent; }
.toae-filter-btn img { width: 20px; height: auto; }

.toae-table-container {
    overflow-x: auto; background: #fff; border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); padding: 1rem;
}
.toae-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.toae-table th {
    text-align: left; padding: 0.85rem 0.7rem; font-weight: 800; color: var(--toae-secondary);
    background-color: rgba(0,0,0,0.02); border-bottom: 2px solid rgba(0,0,0,0.05);
}
.toae-table td {
    padding: 0.85rem 0.7rem; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #555; font-size: 0.9rem;
}
.toae-store-cell strong { color: var(--toae-primary); }
.toae-table tr:last-child td { border-bottom: none; }
.toae-table tr:hover { background-color: rgba(0,0,0,0.01); }
.toae-img-cell img {
    width: 85px; height: 60px; object-fit: cover; border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.toae-img-fallback {
    width: 85px; height: 60px; border-radius: 6px;
    align-items: center; justify-content: center;
    color: #fff; font-size: 1.45rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.toae-date-cell { font-weight: 700; color: var(--toae-primary); white-space: nowrap; }
.toae-name-cell { font-weight: 800; font-size: 1.05rem; color: var(--toae-secondary); }
.toae-badge {
    display: inline-block; padding: 4px 10px; border-radius: 4px; color: #fff;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
}
.toae-empty { text-align: center; padding: 2rem; color: #888; }
@media (max-width: 768px) { .toae-hero h1 { font-size: 2.1rem; } }
