*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 3px solid #0000ff; */
}

.main{
    display: flex;
    width: 90%;
    gap: 30px;
}

.main section{
    width: 70%;
}

.details--body-header h1{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.slide-content{
    width: 100%;
    max-width: 790px;
}


/* swiper */

.swiper.mySwiper2{
    border-radius: 10px;
    height: 460px;
    overflow: hidden;
}

.swiper.mySwiper3{
    position: relative;
    margin-top: 20px;
    height: 100px;
}

.mySwiper3 .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.mySwiper3 .swiper-slide-thumb-active {
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 22%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.next{
    right: 0;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-pagination-bullet {
    background: #fff;
    border: 1px solid #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

.slide-container{
    height: 273px;
    margin-bottom: 10px;
    position: relative;
}

/* fim swiper */

.slide-carousel{
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    max-height: 523px;
}

.slide{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide-item{
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

.slide-item.active{
    display: inline-block;
}

.slide-item img{
    width: 100%;
    display: block;
    object-fit: cover;
    /* vertical-align: middle;
    border-style: none; */
}

/* inicio slide mobile */

.main-mobile{
    display: none;
}

.main-mobile .details--body-header{
    padding: 0 20px;
}

.main-mobile .details--body-header h1{
    font-size: 28px;
}

.slide-container{
    overflow: hidden;
    margin-bottom: 10px;
}

.carousel-indicators li {
    width: 12px !important;
    height: 12px;
    border-radius: 50% !important;
    border: 2px solid #fff;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: #FF0A0A;
}

.carousel-item img{
    max-height: 230px;
    object-fit: cover;
    height: auto;
}

/* fim slide mobile */

.thub-content{
    display: flex;
}

.btn-prev, .btn-next{
    background: transparent;
    border: none;
    outline: none !important;
}

.container-thumbnails{
    width: 100%;
    overflow: hidden;
}

.thumbnails-veiculo{
    display: flex;
    transition: 0.6s ease-in-out;
}

.thumbnails-veiculo-item{
    position: relative;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
    min-width: 160px;
}

.thumbnails-veiculo-item input{
    position: absolute;
    opacity: 0;
}

.thumbnails-veiculo-item label{
    margin: 0;
    width: 100%;
}

.thumbnails-veiculo-item label img{
    width: 160px;
    height: 102px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-right: 10px;
    cursor: pointer;
}

    /* width: 100%;
    height: auto;
    object-fit: cover; */
/* } */

.redes__sociais{
    width: 100%;
    margin-top: 100px;
}

.redes__sociais-titulo{
    text-align: center;
}

.items--sociais{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section__detalhes, .opcionais{
    width: 100%;
    padding: 20px 50px;
    margin-top: 50px;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.body-detalhes{
    display: flex;
}

.items-detalhes{
    width: 100%;
}

.opcionais-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.opcionais-header img{
    display: none;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

.opcionais-header img.active{
    transform: rotate(180deg);
}

.opcionais ul{
    transition: -webkit-transform 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
    line-height: 28px;
}

.opcionais ul.active{
    display: block;
}


/* ASIDE LADO DIREITO */
.main aside{
    flex: 1;
}

.container_form{
    position: sticky;
    top: 20px;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.79);
    margin-top: 50px;
}

.container_form .titulo{
    color: #000;
    text-align: center;
    width: 100%;
    padding-top: 20px;
}

.container_form form{
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    align-items: center;
}

.container_form form input, .container_form form textarea{
    border-radius: 10px;
    padding: 10px;
    outline: 0;
    width: 100%;
    border: 1px solid #ccc;
}

.container_form form textarea{
    resize: none;
}

.container_form form input[type="submit"]{
    background: #000;
    border: none;
    color: #F7D73E;
}

.btn-info__whats{
    padding: 10px;
    border-radius: 10px;
    border: none;
    color: #fff;
    background: #767676;
    width: 100%;
}


@media(max-width:900px){
    .main{
        flex-direction: column;
    }

    .main section{
        width: 100%;
    }

    .opcionais ul{
        display: none;
    }

    .container_form form input[type="submit"], .btn-info__whats {
        max-width: 400px;
    }

    .opcionais-header img{
        display: block;
    }
}

@media(max-width:600px){
    .main{
        width: 100%;
        position: relative;
        padding-bottom: 140px;
    }

    .main-mobile{
        display: block;
    }

    .section__detalhes{
        box-shadow: none;
        margin-top: 0;
        padding: 20px;
    }

    .opcionais{
        width: 90%;
        margin: 0 auto;
    }

    .main aside{
        width: 90%;
        margin: 0 auto;
    }

    .details-body{
        display: none;
    }

    .body-detalhes{
        flex-direction: column;
    }

    .redes__sociais{
        position: absolute;
        bottom: 0;
    }
}
