/* SLIDER 2 */
.p-relacionados{
    width: 82vw;
    margin: 0 auto 15px auto;
}

.contenedor2{
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider2-contenedor{
    width: 100%;
    display: flex;
    margin: 20px auto;
}

.contenido2-slider{
    width: 100%;
    height: 200px;
    padding-top: 15px;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 200px;
}

.contenido2-slider img{
    width: 80%;
    height: 190px;
    margin-right: 20px;
}

.relacionados-text{
    width: 80%;
}

.relacionados-text a{
    padding: 10px;
    margin-top: 10px;
    color: #fff;
    background: #2f4e75;
    display: block;
    width: 100px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}


#buscador{
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 30px 0 10px 0;
}

#form-buscador{
    display: flex;
}

#form-buscador input[type="text"]{
    padding: 5px 0 5px 15px;
    border: 1px solid #980498;
    outline: none;
    border-radius: 10px 0 0 10px
}

#form-buscador .div-buscar{
    position: relative;
    border-radius: 0 10px 10px 0;
    border: 1px solid #112679;
    border-left: none;
    background: #112679;
    color: #fff;
}

#form-buscador .div-buscar input[type="submit"]{
    position: absolute;
    opacity: 0;
    padding: 4.5px;
    z-index: 5;
    cursor: pointer;
}

#form-buscador .div-buscar i{
    position: relative;
    top: 4px;
    padding: 0 10px;
}

.a-categoria{
    background: #112679;
    padding: 10px;
    color: #fff;

    background: #fff;
    color: #000;
    border: 1px solid #6d6d6d;

    border-radius: 5px;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 10px auto;
    transition: all 5ms;
}

.a-categoria:hover{
    background: #112679;
    color: #fff;
}

/* DETALLE PRODUCTO */
#detalle-producto{
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 35px;
}

.aside-categorias{
    grid-row: 2;
    margin-bottom: 35px;
}

#detalle-producto-ind{
    text-align: center;
    margin-top: 35px;
    padding: 15px;
    box-shadow: 0 0 6px 0 #969595;
}

#detalle-producto-ind img{
    width: 100%;
    height: 240px;
}

#detalle-producto-ind img.delgadaValvulaNeu{
    width: 70%;
    height: 300px;
}

#detalle-producto-ind h1{
    text-align: start;
    margin-top: 15px;
    font-size: 28px;
    color: #112679;
}

#detalle-producto-ind p{
    text-align: start;
}

.p-mayor{
    border-bottom: 1px solid #112679;
    padding: 20px 0 8px 0;
    margin-bottom: 8px;
    font-size: 25px;
    color: #112679;
}

.p-mayorplus{
    border-bottom: 1px solid #112679;
    padding: 0px 0 8px 0;
    margin-bottom: 8px;
    font-size: 25px;
    color: #112679;
}

@media(min-width: 768px){
    #detalle-producto{
        display: flex;
        width: 90%;
    }

    .aside-categorias{
        padding-right: 45px;
        width: 40%;
    }

    #detalle-producto-ind{
        width: 90%;
        margin: 35px auto 20px auto;
    }

    .contenido2-slider {
        flex-wrap: nowrap;
        margin-bottom: 20px;
    }

    .contenido2-slider img {
        width: 30%;
        height: 170px;
        margin-right: 20px;
    }

    .relacionados-text {
        width: 50%;
    }

}

@media(min-width: 960px){
    #detalle-producto-ind{
        width: 80%;
    }

    #detalle-producto-ind img {
        width: 80%;
    }
}

@media(min-width: 1024px){
    .aside-categorias{
        padding-right: 0;
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .aside-categorias hr{
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    #div-cat{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 10px;
        width: 100%;
    }

    .a-categoria{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    #detalle-producto{
        display: grid;
    }

    #detalle-producto-ind{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        padding-bottom: 50px;
        margin-bottom: 0;
    }

    #detalle-producto-ind img{
        grid-column: 2;
        height: 190px;
        margin: 0 auto;
    }

    #detalle-producto-ind img.delgadaValvulaNeu{
        width: 49%;
        height: 220px;
    }

    .textos:nth-child(2){
        grid-area: 1/1;
        height: 100px;
    }
    
    .textos:nth-child(3){
        grid-column: span 2;
    }


    /* SLIDER 2 */
    .p-relacionados {
        width: 70vw;
    }

    .relacionados-text {
        width: 40%;
    }

    .contenido2-slider {
        margin-bottom: 40px;
    }

    .contenido2-slider img {
        height: 190px;
    }

}

@media(min-width: 1200px){
    .contenido2-slider img {
        height: 230px
    }

    .contenido2-slider {
        margin-bottom: 90px;
    }

    .textos:nth-child(3) {
        margin-top: -40px;
    }

    #detalle-producto {
        width: 80%;
    }

}

@media(min-width: 1400px){
    #detalle-producto {
        width: 1120px;
    }

    .contenedor2{
        width: 1400px;
        margin: 0 auto;
    }

    .p-relacionados {
        width: 1120px;
    }
}