body{
    text-align: 1rem;
}

.repuestosOriginales{
    align-content: center;
    align-items: center;
    background-image: url("../img/banner/repuestos-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    flex-direction: column;
    height: 70vh;
    justify-content: center;
    margin: auto;
    width: 100%;
}

.repuestosOriginales h1{
    background-color: rgba(206, 206, 206, 0.749);
    border-radius: 5px;
    color: var(--colorPrimario);
    font-size: 4rem;
    margin-top: 0;
    padding: 1.5em;
    text-align: center;
    text-shadow: 2px 1px 2px #f9f9f9fc;
    
}

.productos{
    width: 80%;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 1em;
 
   

    & .productos-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
        
        & ul {
           width: 100%;
            display: flex;
            padding: 5px;
            align-items: center;
            justify-content: center;
            gap: .7em;
            flex-direction: column;
            background-color: #d8d8d836;
          

            & li {
                background-color: #fff;
                width: 80%;
                display: flex;
                align-items: center;
                justify-content: flex-start;
            }

           & a {
            text-decoration: none;
            display: flex;
            padding: 1em;
            gap: 10px;
            width: 100%;
            color: inherit;
            align-items: center;
            justify-content: center;
          
         
             & .img-container{
                padding: 5px;
                width: 15%;

                & img{
                    width: 100%;
                    object-fit: scale-down;
                }
            }

            & .info-container{
                width: 70%;
                padding-left: 1em;
                display: flex;
                flex-direction: column;

                & h2{
                    font-size: 1.2rem;

                }
                & h3{
                    margin: 10px;
                    color: inherit;
                    font-size: 1.3rem;
                }
                & small{
                    color:#06b359;
                    margin: 10px;
                }
                & span{
                    display: block;
                    border: 1px solid #bdbbbb;
                    color: #eee;
                    padding: 5px;
                    margin-top: 5px;
                    font-size: .6rem;
                    width: min-content;
                    border-radius: 3px;
                    background-color: rgb(50, 53, 243);
                    box-shadow: 0px 1px 4px #949eac98;
                }
            }


           }
        }
    }

}

.formulario-contenedor  h2, h3{
    color: var(--colorPrimario);
    font-size: 2rem;
    margin-bottom: 0;
}

.formulario-contenedor h3{
    margin-bottom: 2em;
}

   
.formulario-contenedor{
    align-items: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2em;
    width: 100%;
    
}

.forms-repuestos{
    align-content: center;
    align-items: center;
    background-color: var(--colorPrimario);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap:1em;
    justify-content: center;
    padding: 1em;
    width:50%;
}
.forms-repuestos p{
    font-size: 1em;
}
.form-repuestos-elements{
    align-content: flex-start;
    align-items: flex-start;
    display: flex;
    justify-content: start;
    margin-left: 10%;
    margin-right: 10%;
    width: 90%
}
.form-repuestos-elements span{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.form-repuestos-elements label{
    display: flex;
    margin-bottom: 10px;
}

.form-repuestos-elements label::after{
    content: "*";
    margin-left: 2px;
}
.form-repuestos-elements input{
    border: none;
    margin-bottom: 1em;
    margin-right: 1em;
    max-width: 100%;
    outline: none;
    padding: 10px;
}

.form-repuestos-elements select{
    display: flex;
    max-width: 100%;
    padding: 10px;
}


.form-repuestos-elements textarea{
    border: none;
    display: flex;
    outline: none;
    padding: 10px;
    resize: vertical;
    width: 100%;
}

.form-repuestos-elements .errorForms{
    border: 1px solid rgb(255, 255, 255)  ;
    outline: 1px double rgb(255, 255, 255) ;
    background-color: #dadada;
    color: rgb(0, 0, 0);
   
}

.form-repuestos-elements .validForms{
    border: 1px solid rgb(111, 255, 111) ;
    outline: 1px solid rgb(111, 255, 111);
  }


.forms-repuestos button{
    border: 1px solid #fff;
    font-weight: 400;
    
}

.forms-repuestos button:hover{
    background-color: #fff;
    color: var(--colorPrimario);

}

#error{
    color: #fff;
}



@media only screen and (max-width: 750px) {
    .repuestosOriginales{
        background-image: url(../img/mobile/banner/repuestos-banner.webp);
        background-size: contain;
        max-height: 320px;
        width: 100%;
    }
    .repuestosOriginales h1{
        font-size: 2rem;
        padding:1rem;
    }


    .forms-repuestos{
        width: 100%;
    }
    .form-repuestos-elements{
        flex-direction: column;
    }
    
    .form-repuestos-elements label{
        margin-bottom: 2px;
    }
    .form-repuestos-elements textarea{
        border-radius: 5px;
        margin-top: 5px;
    }
}
