.productos{
    display: flex;
    padding: 0;
}
aside {
    width: 41.5vh;
    min-height: 100vh;
    background-color: #ddd;
    margin: 0;
    top: 100px; /* Se vuelve fijo cuando el margen superior alcanza 90px */
}
  
aside *{
    margin: 0;
}
.banner__container{
    width: 100%;
    height: auto;
    padding-top: 100px;
    z-index: 10000;
    position: relative;
}
.banner__container img{
    width: 100%;
}
.productos h2{
    font-size: 24px;
    margin: auto;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
    text-align: center;
}
.productos h3{
    font-size: 20px;
    font-weight: bold;
}
.productos__container{
    height: auto;
    width: calc(100% - 41.5vh);
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.productos__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 500px;
    position: relative;
}
.filtro__marcas,
.filtro__modelo,
.filtro__km,
.ordenar__precio{
    display: flex;
    flex-direction: column;
    padding-left: 25px;
    padding-top: 2vh;   
}
.filtro__marcas label{
    font-size: 18px;
}
.filtro__marcas input{
    width: 20px;
	height: 20px;
    background-color: #fff;
}
.filtro__marcas input:hover{
    cursor: pointer;
}
.filtro__marcas input:hover{
    cursor: pointer;
}
.filtro__modelo select,
.filtro__km select,
.ordenar__precio select{
    width: 50%;
    height: 4vh;
    font-size: 2vh;
}
button {
    background-color: #0c23b7 !important;
    border: none;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 25px;
    margin-top: 2vh;
}

button:hover {
    background-color: #0a1b8b !important;
}
/*Tarjetas de productos*/
.productos__element{
    width: 370px;
    height: 420px;
    background-color: #FFF;
    margin: auto;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 5px #999;
    text-align: center;
    transition: scale .3s;
}
.productos__element hr{
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
.productos__element:hover{
    scale: 1.03;
    cursor: pointer;
}
.productos__element ul{
    list-style: none;
    padding: 0;
    text-align: left;
    padding-left: 20%;
    color: #000;
}
.productos__element ul li{
    color: #333;
}
.productos__element-imgcontainer{
    width: 100%;
    height: 220px;
    margin: auto;
    border-radius: 5px;
    margin-bottom: 1vh;
    user-select: none;
}
.productos__element-imgcontainer img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.productos__element h4{
    font-weight: bold;
}
.productos__element span{
    color: #0a1b8b;
}
aside i{
    display: none !important;
}
@media(max-width: 1600px){
    .productos__grid{
    grid-template-columns: 1fr 1fr;
    }  
}
@media(max-width: 1250px) AND (min-width: 1050px){
    .productos__element{
        width: 80%;
        height: auto;
        
    }
}
@media(max-width: 1200px){
    .productos__container{
    grid-template-columns: 1fr;
    }  
}
@media(max-width:1100px){
    .banner__container{
        padding-top: 100px;
    }
    aside {
        top: 100px; /* Se vuelve fijo cuando el margen superior alcanza 90px */
    }
}
@media (max-width: 1050px){
    aside{
        width: 100%;
        height: 12vh;
        display: block;
        top: 0;
    }
    .productos__grid{
        grid-template-columns: 1fr 1fr;
    }
    .productos__container{
        width: 100%;
        padding-top: 5vh;
    }
    .productos{
        flex-direction: column;
    }
    .header__aside i{
        display: inline-block !important;
        font-size: 30px;

    }
    .header__aside{
        height: 12vh;
        position: relative;
        z-index: 10000;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 4vh;
        z-index: 100;
        background-color: inherit;
    }
    .body__aside{
        background-color: #fff;
        transform: translateY(-200%);
        transition: transform .5s;
        justify-content: center;
        padding-bottom: 5vh;
        box-shadow: 0 2px 4px #ddd;
        z-index: -10;
        width: 100%;
    }
    aside{
        min-height: auto;
        position: relative;
        z-index: 1000;
    }
    .responsive .body__aside{
        transform: translateY(0);
        backdrop-filter: blur(15px);
    }
}
@media (max-width: 800px){
    .productos__grid{
        grid-template-columns: 1fr;
    }
}
@media(max-width: 450px){
    .productos__grid{
        grid-auto-row: auto;
    }
    .productos__element{
        width: 90%;
        height: auto;
    }
}
