.title{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-top: 1px solid #dbdbdb;
    padding: 30px 0 10px 0;
    text-align: center;
}
.title-text{
    margin-left: 40px;
}
.title h1{
    margin: 0;
    padding: 0;
    font-size: 40px;
}
.title h2{
    margin-top: 0;
    padding: 0;
    margin-bottom: 10px;
}
.title a{
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: bold;
}
.title a:hover{
    background-color: #0557af;
    color: #dadada;
}

.product-info{
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}
/* Textual Info */
.textual-info{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.text{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 50%;
    margin: 0 40px;
}
#p1, #p2{
    display: none;
    padding: 0 20px 20px 20px;
}
.primeraFlecha, .segundaFlecha{
    width: 100%;
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    color: #0557af;
}
.primeraFlecha.abierta, .segundaFlecha.abierta{
    border: none;
}
.primeraFlecha span, .segundaFlecha span{
    margin: 0px 10px 0 20px;
}
.primeraFlecha a, .segundaFlecha a{
    cursor: pointer;
}
.text p{
    padding: 0;
    margin: 0;
    text-align: justify;
}
.flecha, .flecha2 {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease;
}
.flecha.abierta, .flecha2.abierta {
    transform: rotate(90deg); /* Rotación de la flecha al abrir */
}
.parrafo1, .parrafo2{
    transition: none;
    width: 100%;
}
.parrafo2{
    margin-top: 20px;
}
.parrafo1.abierta, .parrafo2.abierta {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    background-color: #f0f0f0;
    transition: background-color 0.5s ease-in-out;
}

/* Visual Info */

.visual-info{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}
/* Video */
.video-controler{
    width: 45%;
    margin-right: 40px;
    margin-left: 20px;
    display: flex;
    align-items: start;
}
.video h2{
    border-bottom: 1px solid #ddd;
    color: #0557af;
    padding: 14.5px 0;
    margin: 0 0 20px 0;
}
.video{
    width: 100%;
}
.video iframe{
    width: 100%;
    height: 340px;
}

/* Table */
.tecnic-table{
    width: 45%;;
    margin-right: 20px;
    margin-left: 40px;
}
.tecnic-table table{
    border-collapse: collapse;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #000;
    height: 400px;;
    width: 100%;
}
.tecnic-table th, td{
    font-size: 15px;
    border: 1px solid #000;
    padding: 0 15px;
}
.tecnic-table th{
    background-color: #005b8a;
    color: white;
    text-align: start;
}
.tecnic-table tr:nth-child(even) {
    background-color: #c3e4f6;
}

/* Carousel */
.carousel {
    width: 45%;
    height: 400px;
    margin-right: 40px;
    position: relative;
    overflow: hidden;
}
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}
.carousel-item.active {
    opacity: 1;
    position: relative;
}
.carousel-item img {
    width: 100%;
    display: block;
}
.prev, .next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: white;
}


@media screen and (max-width: 1000px){
.textual-info{
    flex-direction: column;
    align-items: center;
}
.text{
    width: 80%;
    margin: 0;
}
.video-controler{
    width: 60%;
    margin: 0;
}
.video{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video iframe{
    width: 500px;
    height: 400px;
}
.visual-info{
    margin-top: 0;
    flex-direction: column;
}
.carousel{
    margin: 0;
    width: 400px;
    height: 300px;
}
.tecnic-table{
    width: 60%;
    margin: 0 0 30px 0;
}
.tecnic-table table{
    width: 100%;
}
}
@media screen and (max-width:650px) {
    .video iframe{
        width: 350px;
        height: 250px;
    }
    .tecnic-table{
        width: 80%;
        margin: 0 0 30px 0;
    }
    .carousel{
        margin: 0;
        width: 350px;
        height: 250px;
    }
    
}
@media screen and (max-width:450px) {
    .text p{
        font-size: 12px;
    }
}