body {
    margin: 0;
    background: #fdeccc;
    font-family: 'Poppins', sans-serif;
}

/* BARRA MORADA */
.barra-morada {
    background: #53258f;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

/* BOTÓN MODO OSCURO */
.toggle-dark {
    position: fixed;
    top: 15px;
    right: 15px;
    background: #ffffffaa;
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: 0.3s;
    z-index: 9999;
}

.toggle-dark img {
    width: 30px;
    height: 30px;
}

/* ======== MODO OSCURO ======== */
body.dark {
    background: #0e0e0e !important;
    color: #fff !important;
}

.dark .barra-morada {
    background: #2e1959;
}

.dark .titulo {
    color: #ffdd75;
}

.dark .btn,
.dark .btn-activo {
    background: #292929 !important;
    color: #fff !important;
    border: none !important;
}

.dark #buscador {
    background: #202020;
    color: #fff;
}

.dark .buscador-container button {
    background: #ffb300 !important;
}

.dark .card {
    background: #1c1c1c !important;
    color: #fff !important;
    box-shadow: 0 0 10px #000;
}

.dark .tag-cat {
    background: #4a3000 !important;
    color: #ffdd75;
}

.dark .tag-reg {
    background: #003b1f !important;
    color: #95ffb0;
}



/* TÍTULO */
.titulo {
    text-align: center;
    color: #53258f;
    margin-top: 25px;
    font-size: 28px;
    font-weight: 800;
}

/* ============================
   BOTONES FILTRO – ESTILO LORENZO
=============================== */

.filtros {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filtros .btn {
    background: #ffffff;
    padding: 12px 22px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #444;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.12);
    transition: 0.2s ease;
}

.filtros .btn:hover {
    background: #f6e8ff;
    transform: translateY(-2px);
}

/* BOTÓN ACTIVO (EL SELECCIONADO) */
.btn-activo {
    background: #ff7a00 !important;
    color: white !important;
    box-shadow: 0px 5px 14px rgba(255, 122, 0, 0.45) !important;
    transform: translateY(-2px);
}


/* BUSCADOR */
.buscador-container {
    margin: 25px auto;
    text-align: center;
}

#buscador {
    width: 60%;
    padding: 12px;
    border-radius: 18px;
    border: none;
}

.buscador-container button {
    padding: 12px 16px;
    border-radius: 18px;
    border: none;
    margin-left: 8px;
    background: #ff7a00;
    color: white;
    cursor: pointer;
}

.btn-limpiar {
    background: #ddd !important;
    color: black !important;
}

/* TOTAL */
.total {
    text-align: center;
    margin-bottom: 20px;
}

/* TARJETAS */
.lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px 25px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.region {
    margin-top: 5px;
    color: #555;
}

.tags {
    margin-top: 10px;
}

.tag-cat {
    background: #ffe8d0;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.tag-reg {
    background: #d2f5d6;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-left: 6px;
}


/* ===== ICONOS DEL MENÚ (CORRECCIÓN) ===== */
.menu-iconos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #FFECCF;
    padding: 15px 0;
}

.menu-iconos a {
    text-align: center;
    color: #ff7a00;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.menu-iconos img {
    width: 40px;     /* 👈 TAMAÑO CORRECTO */
    height: 40px;
    display: block;
    margin: 0 auto 5px;
}

@media (max-width: 600px) {
    .menu-iconos img {
        width: 28px; /* 👈 MÁS PEQUEÑO EN CELULAR */
        height: 28px;
    }
}
