
.main-content {
    width: 80%;
    margin: auto;
    height: 100%;
    background: white;
    .container{
        font-family: 'MontserratMedium', sans-serif;
        & h3{
            text-align: center;
            font-size: 2.5rem;
            margin: 2rem auto;
            letter-spacing: .2rem;
            font-weight: 800;
        }
        .container-h3-pasa{
            font-family: 'MontserratMedium', sans-serif;
            font-weight: 500;
            font-size: 2rem;
            text-transform: uppercase;
        }
    }
}

.opciones {
    display: flex;
    justify-content: center;
    .option {
        font-size: 1.5rem;
        font-weight: 600;
        color: rgb(0, 0, 0);
        padding: 1rem 2rem;
        position: relative; 
        & a {
            text-decoration: none;
            color: inherit; 
        }
        .pasa-a{
            font-size: 1.2rem;
            font-weight: 400;
            font-family: 'MontserratMedium', sans-serif;
        }
    }
}

.option.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: red; 
}
.content-item {
    display: none;
}

.content-item.active {
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px; 
}

.grid-item {
    display: flex;
    flex-direction: column;
    min-height: 300px; 
    padding: 1rem; 
    border: 2px solid transparent;
    border-radius: 4px; 
    & img{
        width: 100%;
        height: 15rem;
    }
}



/*------------------------------------------------------------------------------------------*/
.infomerch{
    width: 100%;
    height: 25rem;
    .flex-container{
        display: flex;
        gap: 50px;
        .flex-item{
            width: 50%;
            height: 10rem;
            display: flex;
            flex-direction: column;
            align-items: start;
            & img{
                margin-bottom: 2rem;
                width: 100%;
                height: 25rem;
                object-fit: cover;
            }
            .label-info{
                display: flex;
                justify-content: start;
                .info-a{
                    width: 50%;
                    color: rgb(0, 0, 0);
                    text-decoration: none;
                    font-size: 2rem;
                    font-weight: 600;
                    line-height: 2.5rem;
                    border-bottom: 1px solid #000000;
border-image: linear-gradient(to right, #000000 70%, white 10%);
border-image-slice: 1;  
                }
            }
        }
    }
}


.info{
    display: flex;
    flex-direction: column;
    font-family: 'MontserratMedium', sans-serif;
    .text-model{
        margin-bottom: 2rem;
        .caracteristicas{
            display: flex;
                text-align: center;
                flex-direction: row;
                width: 100%;
                align-items: stretch;
            .text-caracteristicas{
                width: 30%;
                margin: 3.3%;
                display: flex;
                flex-direction: column;
                min-height: 100px;
                & p{
                    letter-spacing: .1rem;
                    margin-bottom: 10px;
                }
                & h2{
                    border-bottom: 1px solid #000000;
                    border-image: linear-gradient(to right, #000000 100%, white 10%);
                    border-image-slice: 1;
                    margin-top: auto;
                }
            }
        }
        .detalles{
            display: flex;
            flex-direction: column;
            align-items: center;
            & p {
                margin: .5rem 0;
            }
            .price_car{
                font-weight: 600;
                font-size: 1.3rem;
                letter-spacing: .2rem;
            }
        }
    }
    .cont-button{
        & a{
            justify-content: center;
            display: flex;
            color: white;          
            text-decoration: none;
            background: rgb(194, 45, 45);
            padding: 1rem;
            font-weight: 600;
            font-size: 1.3rem;
            text-transform: uppercase;
            margin-bottom: 20px;
        }
        &   :nth-child(2){
            background: white;
            color: black;
            width: 100%;
            border: 1px solid black;
        }
    }
}

.section-info-comerciales {
    position: relative;
    text-align: center;
    padding: 2rem 0rem;
    font-size: 48px;
    z-index: 50;
    margin-bottom: 35rem;
    margin-top: 10rem;
    & p{
        padding: 2rem;
        font-size: 1.6rem;
    }
    & img {
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -2;
        left: 0;
    }
    .button-catalogo{
        a{
            text-decoration: none;
            color: black;
            font-size: 1.4rem;
            border: solid 1px rgb(98, 98, 98);
            padding: 1.2rem 3rem;
            font-weight: 800;
        }
        a:hover{
            text-decoration: none;
            background: black;
            color: white;
            font-size: 1.4rem;
            border: solid 1px rgb(98, 98, 98);
            padding: 1.2rem 3.3rem;
            font-weight: 800;
        }
    }
}

.section-info-comerciales::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50rem;
    background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.3) 40%, rgb(255, 255, 255));
    background: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.1) 50%, rgb(255, 255, 255) 85%);
    z-index: -1;
}
.mostrar-noticias-comerciales-container-title{
    margin-top: 80px;
    margin-bottom: 84px;
}
.mostrar-noticias-comerciales-container-h3{
    font-family: 'arial';
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 5px;
    letter-spacing: -1.5px;
}

.mostrar-noticias-comerciales-container-p{
    font-family: 'arial';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #000000;
}