body{
    font-family: 'Sensation', sans-serif;
}
.producto-section {
    display: flex;
    justify-content: center;
    padding: 100px 0px;
    background: white;
    padding-bottom: 200px;
}

.producto-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

.producto-imagenes {
    flex: 1.8;
    text-align: center;
    height: 500px;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out}

.producto-imagenes.visible{
    opacity: 1;
    transform: translateX(0);
}

.imagen-principal {
    background: #ffffff;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.imagen-principal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.flecha {
    position: absolute;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.izquierda { left: 10px; }
.derecha { right: 10px; }

.galeria {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.miniatura {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.producto-info {
    flex: 1;
    padding: 20px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.producto-titulo {
    font-size: clamp(18px, 3vw, 30px);
    margin-bottom: 10px;
    color: #BCA500;
    font-weight: bold;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.producto-titulo::after{
    content: "";
    display: block;
    width: 400px; 
    height: 4px;
    background-color: #BCA500; 
    margin-top: 5px; 
    border-radius: 5px; 
    margin-bottom: 20px;
}

.producto-titulo.visible{
    opacity: 1;
    transform: translateY(0);
}

.producto-descripcion {
    font-size: clamp(18px, 3vw, 20px);
    line-height: 1.5;
    text-align: justify;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
    color: #002C59;
}

.btn-solicitar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #002b5c, #005eca);
    color: white;
    padding: 8px 50px;
    border: none;
    cursor: pointer;
    margin-top: 60px;
    border-radius: 10px;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: bold;
    animation: bounce 1.5s infinite;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.btn-solicitar:hover{
    background: linear-gradient(90deg, #005eca, #002b5c);
    transform: scale(1.05);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-solicitar.visible{
    opacity: 1;
    transform: translateY(0);
}

.icono-whatsapp {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(1);
}

@media (max-width: 768px) {
  .producto-section {
    flex-direction: column;
    padding: 50px 20px 100px;
  }

  .producto-container {
    flex-direction: column;
    gap: 30px;
  }

  .producto-imagenes {
    height: auto;
  }

  .imagen-principal {
    height: auto;
  }

  .imagen-principal img {
    max-width: 100%;
    height: auto;
  }

  .galeria {
    flex-wrap: wrap;
    gap: 5px;
  }

  .miniatura {
    width: 80px;
    height: 60px;
  }

  .producto-info {
    padding: 10px;
    max-height: none;
  }

  .producto-titulo {
    font-size: 1.5rem;
  }

  .producto-descripcion {
    font-size: 1rem;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    text-align: left;
  }

  .btn-solicitar {
    width: 100%;
    padding: 10px 20px;
    margin-top: 30px;
    font-size: 1rem;
  }
}