/* Hero -------------------------- */
.hero-sider.hero-div{
    background-image: url('../images/banner-productos.webp');
}
.txt-mask-hero{
    flex-direction: column;
    color: white;
}

/* Slider -------------------------- */
#carouselExampleCaptions{
    position: relative;
    margin-top: 4rem;
}
.marca-article{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    overflow: hidden;
    padding: 2rem 0 7rem;
}
.img-marca-c{
    width: 40%;
    margin-left: -20%;
}
.txt-marca{
    width: 55%;
    height: 100%;
}
.carousel-inner{
    box-shadow: 1px -8px 25px -1px rgba(210,210,210,0.65);
    -webkit-box-shadow: 1px -8px 25px -1px rgba(210,210,210,0.65);
    -moz-box-shadow: 1px -8px 25px -1px rgba(210,210,210,0.65);
}
.carousel-indicators{
    position: initial;
    margin-bottom: 3rem;
    z-index: 5;
    margin-left: 0;
    margin-right: 0;
}
.carousel-indicators [data-bs-target]{
    width: 130px;
    height: 50px;
    background-color: transparent;
}


.grid-columnas-fila-1{
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
}
.centrar{
    text-align: center;
}
.centrar-cont-botones{
    display: flex;
    justify-content: center;
    align-items: center;
}
.marca-slider{
    display: block;
    width: 140px;
    height: auto;
    margin-right: auto;
    object-fit: contain;
}
.txt-marca h2{
    color: var(--azulO);
}
.txt-marca a {
    font-size: 24px;
    font-family: LemonMilkMedium;
}
.txt-marca p {
    color: black;
}
.txt-marca h2::after{
    content: "";
    background-color: var(--morado);
    display: block;
    height: 3px;
    width: 100%;
    margin: 20px 0 15px;
    transition: 300ms;
}
.txt-marca p, .txt-marca li{
    font-size: 20px;
}
.btn-container-marca{
    display: flex;
    justify-content: end;
    align-items: center;
    padding-top: 2rem;
    font-size: 18px;
}
.btn-ver-prod{
    height: fit-content;
    background-color: var(--azulO);
}
.btn-cotizar{
    height: fit-content;
    background-color: var(--azulC);
}
.btn-p{
    border: none;
    min-width: 220px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 250ms;
    color: white;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    border-radius: 5px;
}
.btn-p:hover{
    transform: scale(1.05);
}

/* Modales -------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px 40px;
    border: 1px solid #888;
    width: clamp(340px, 95%, 1800px);
    position: absolute;
    inset: 0;
    height: fit-content;
    max-height: 95%;
    overflow-y: scroll;
}
.close {
    color: var(--azulC);
    text-align: right;
    float: right;
    font-size: 38px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.imagenes--mdl{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    row-gap: 2rem;
}
.imagenes--mdl img{
    width: clamp(320px, calc((100% - 2rem)/3), 450px);
    border: solid 1px var(--azulO);
    object-fit: contain;
}


main{
    position: relative;
}
.lineas-marca-prod{
    filter: invert(39%) sepia(36%) saturate(300%) hue-rotate(236deg) brightness(100%) contrast(98%);
    width: clamp(250px,95%,900px);
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(50%);
    opacity: 0.4;
}
.txt-seleccion-marca{
    padding: 2rem 1rem 1rem;
    margin: 0;
    font-size: 22px;
    text-align: center;
    color: var(--azulO);
}


/* BG Marcas -------------------------- */
.Siemens, .Pepperl, .Finder, .Schmersal{
    background-color: rgb(19, 154, 154, 0.05);
}
.Eaton, .Wago, .Schneider, .ABB{
    background-color: rgba(9, 134, 237, 0.05);
}
.marca-select{
    transition: 400ms;
    max-height: 40px;
    max-width: 100px;
}
.marca-select:hover{
    transform: scale(1.5);
}
@media(max-width: 1400px){
    .grid-columnas-fila-1{
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 1060px){
    .carousel-indicators{
        margin: 0 10% 3rem;
        flex-wrap: wrap;
    }
    .carousel-indicators [data-bs-target]{
        min-width: 130px;
    }
    .marca-article{
        padding: 2rem 1rem 7rem;
        flex-direction: column;
        gap: 3.5rem;
        text-align: center;
    }
    ul{
        list-style: none;
    }
    .img-marca-c{
        width: min(85%, 500px);
        margin: auto;
    }
    .txt-marca{
        width: 100%;
    }

    .grid-columnas-fila-1{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 620px){
    .carousel-indicators{
        margin: 0 1rem 4rem;
        justify-content: space-evenly;
    }
    .carousel-indicators [data-bs-target]{
        width: 49%;

        max-width: 140px;
        margin: 0;
    }
    .btn-container-marca{
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }
    .marca-slider{
        margin: initial;
    }
    .grid-columnas-fila-2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .grid-columnas-fila-1{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}