.filtros-container {
    padding: 20px 0;
    background-color: #f2f8ff;
    margin-bottom: 30px;
}

.filtros-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filtro-grupo {
    margin-bottom: 20px;
}

.filtro-grupo h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filtro-opciones {
    padding-left: 15px;
}

.filtro-opcion {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.filtro-opcion input[type="checkbox"] {
    margin-right: 8px;
}

.filtro-opcion label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.ordenar-por {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ordenar-por select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.producto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.producto-imagen {
    position: relative;
    padding-top: 125%;
    overflow: hidden;
}

.producto-imagen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-info {
    padding: 15px;
}

.producto-marca {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.producto-nombre {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.producto-precio {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.producto-precio-oferta {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #999;
    margin-left: 8px;
    font-weight: normal;
}

.btn-agregar {
    width: 100%;
    padding: 8px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-agregar:hover {
    background-color: #333;
}

.etiqueta {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.etiqueta-nuevo {
    background-color: #fff;
    color: #000;
}

.etiqueta-oferta {
    background-color: #ff0000;
    color: #fff;
}

.paginacion {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.paginacion a,
.paginacion span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.paginacion a:hover,
.paginacion .pagina-activa {
    background-color: #000;
    color: white;
    border-color: #000;
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .filtros-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .productos-header {
        flex-direction: column;
        align-items: flex-start;
    }
}