
.acordeon-btn {
width: 100%;
background: #d50000;
color: white;
border: none;
padding: 10px;
border: none;
text-align: left;
cursor: pointer;
font-size: 16px;
margin-bottom: 5px;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}

.acordeon-btn .icon {
    font-size: 14px;
    transition: transform 0.3s;
}

/* Animación de despliegue */
.acordeon-btn.active .icon {
    transform: rotate(180deg);
}

.acordeon-btn:hover {
    background: #d50000;
}

.acordeon-content {
display: none;
padding: 10px;
background: #f9f9f9;
border-radius: 5px;
border-left: 3px solid #ccc;
margin-top: 5px;
}

.acordeon-content label {
display: block;
padding: 5px;
cursor: pointer;
font-size: 14px;
color: #333;
transition: background 0.2s ease-in-out;
border-radius: 4px;
}

.acordeon-content label:hover {
    background: #e9ecef;
}

/* Estilos para los input radio */
.acordeon-content input {
    margin-right: 8px;
}


/* Contenedor principal */
.contenedor {
display: grid;
grid-template-columns: 20% 80%;
gap: 20px;
padding: 20px;
}



/* Productos a la derecha */
#productos {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}


.productos {
text-align: center;
padding: 20px;
}

.grid {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}

.producto {
background-color: white;
padding: 15px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 250px;
text-align: center;
}

.producto img {
width: 100%;
height: auto;
}

button {
background-color: #f55f5f;
color: white;
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 16px;
}

button:hover {
background-color: #a40000;
}




.colores-disponibles {
display: flex;
gap: 10px;
margin: 10px 0;
}

.color {
width: 20px;
height: 20px;
border-radius: 50%;
display: inline-block;
cursor: pointer;
}




.producto {
position: relative;
width: 250px;
border: 1px solid #ddd;
padding: 10px;
text-align: center;
}

.producto img {
width: 100%;
height: auto;
}

/* Estilos para el overlay */
.detalles {
position: absolute;
top: 150px;
left: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 3px 8px;  /* Reducimos padding arriba y abajo */
padding: 0px;
font-size: 13px;
border-radius: 5px;
text-align: left;
line-height: 0.2; /* Reduce el espaciado entre líneas */
}

/* Estilos para el overlay */
.detalles1 {
position: absolute;
top: 120px;
left: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 3px 8px;  /* Reducimos padding arriba y abajo */
padding: 0px;
font-size: 13px;
border-radius: 5px;
text-align: left;
line-height: 0.2; /* Reduce el espaciado entre líneas */

}
/* Estilos para el overlay */
.detalles2 {
position: absolute;
top: 90px;
left: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 3px 8px;  /* Reducimos padding arriba y abajo */
padding: 0px;
font-size: 13px;
border-radius: 5px;
text-align: left;
line-height: 0.2; /* Reduce el espaciado entre líneas */
}

.colores-disponibles {
margin: 10px 0;
}

.color {
display: inline-block;
width: 20px;
height: 20px;
border-radius: 50%;
margin: 0 3px;
cursor: pointer;
}

#filtros-aplicados {
background-color: #f0f0f0; /* Color de fondo */
padding: 10px; /* Espaciado interno */
border-radius: 5px; /* Bordes redondeados */
font-weight: bold; /* Texto en negrita */
}

@media (max-width: 1024px) {
.grid {
grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
}
}

@media (max-width: 768px) {

    #filtro {
        width: 100%;
    }
    
.contenedor {
display: flex;
flex-direction: column;
align-items: center;
}
#filtro {
    width: 250px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}
#filtro h2 {
    font-size: 18px;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

/* Estilos del acordeón */
.acordeon-item {
    margin-bottom: 10px;
}

.productos .grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.producto {
width: 90%;
margin-bottom: 10px;
}

.grid {
grid-template-columns: 1fr; /* 1 columna en móviles */
}
}

@media (max-width: 600px) {
.grid {
grid-template-columns: 1fr; /* 1 columna en móviles */
}
}