.distribucuio_cerca{
    width: 80%;
    border-radius: 1.5625rem;
    height: auto;
    background-color: #F3F6F6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opcions_cerca{
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.opcions_cerca div{
    display: flex;
    flex-direction: row;
}

.mostra_cerca{
    width: 100%;
    height: auto;
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Estils simplificats per filtres */
.filtros-simples {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Estats productes */
.estat {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    display: inline-block;
    font-weight: bold;
}
.estat.stock {
    background-color: #d4edda;
    color: #155724;
}
.estat.agotat {
    background-color: #f8d7da;
    color: #721c24;
}
.estat.oferta { 
    background-color: #fff3cd; 
    color: #856404;
}

/* Contador resultats */
.contador-resultats {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* INFO VERTICAL - CANVI IMPORTANT */
.info-vertical {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    width: 100%;
    text-align: left;
}

.info-fila {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
    margin: 0px;
}

.info-fila i {
    width: 16px;
    text-align: center;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .filtros-simples {
        flex-direction: column;
    }
    
    .filtro-group {
        min-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .distribucuio_cerca {
        width: 90%;
    }
}
@media screen and (max-width: 800px) {
    .mostra_cerca {
        justify-content: space-evenly;
    }
}
@media screen and (max-width: 500px) {
    .opcions_cerca {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 1.25rem;
        margin-bottom: 0px;
    }
    .opcions_cerca h1 {
        margin-left: 0px;
    }   
    #categoria, #orden {
        width: 130px;
    }
}
/* @media screen and (max-width: px) {} */
