/* Sección Informativa del Producto */
.product-info-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f9f7f5 0%, #f0edf5 100%);
    position: relative;
    overflow: hidden;
}

/* Efecto de título con opacidad al pasar el cursor */
.title-hover-effect {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #2d0363, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 10px 0;
}

.title-hover-effect::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #9c27b0, #673ab7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.title-hover-effect:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Contenedor principal */
.product-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    align-items: center;
}

/* Contenedor 3D del producto */
.product-3d-container {
    perspective: 1500px;
    position: relative;
}

.product-3d-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

/* Cubo 3D */
.product-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-10deg) rotateY(-15deg);
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Caras del cubo */
.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backface-visibility: visible;
}

.cube-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cube-front {
    transform: translateZ(200px);
    border: 5px solid white;
}

.cube-back {
    transform: rotateY(180deg) translateZ(200px);
    border: 5px solid white;
}

.cube-right {
    transform: rotateY(90deg) translateZ(200px);
    border: 5px solid white;
}

.cube-left {
    transform: rotateY(-90deg) translateZ(200px);
    border: 5px solid white;
}

.cube-top {
    transform: rotateX(90deg) translateZ(200px);
    border: 5px solid white;
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(200px);
    border: 5px solid white;
}

/* Controles del cubo */
.cube-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.cube-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.cube-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.4);
}

.cube-btn:active {
    transform: translateY(1px);
}

/* Beneficios del producto */
.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-left: 4px solid #9c27b0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.15);
    border-left-width: 8px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 24px;
}

.benefit-content {
    flex-grow: 1;
}

.benefit-title {
    font-size: 20px;
    color: #2d0363;
    margin-bottom: 10px;
}

.benefit-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.benefit-learn-more {
    background: none;
    border: 2px solid #9c27b0;
    color: #9c27b0;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefit-learn-more:hover {
    background: #9c27b0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.sound-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #9c27b0;
    opacity: 0.5;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .sound-indicator {
    opacity: 1;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Controles de sonido */
.sound-controls {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sound-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control i {
    color: #9c27b0;
}

#volumeSlider {
    width: 150px;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #9c27b0, #673ab7);
    border-radius: 4px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #9c27b0;
    cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #9c27b0;
    cursor: pointer;
}

/* Información adicional */
.product-details-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto 0;
}

.detail-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
    border-top: 5px solid #9c27b0;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-card h3 {
    color: #2d0363;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card h3 i {
    color: #9c27b0;
}

.detail-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsividad */
@media (max-width: 1024px) {
    .product-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-3d-wrapper {
        height: 350px;
    }
    
    .cube-front, .cube-back, .cube-right, .cube-left, .cube-top, .cube-bottom {
        transform: translateZ(150px);
    }
    
    .product-details-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-info-section {
        padding: 80px 20px;
    }
    
    .product-3d-wrapper {
        height: 300px;
    }
    
    .cube-front, .cube-back, .cube-right, .cube-left, .cube-top, .cube-bottom {
        transform: translateZ(120px);
    }
    
    .benefit-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .benefit-icon {
        margin-bottom: 15px;
    }
    
    .sound-controls {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .product-details-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-3d-wrapper {
        height: 250px;
    }
    
    .cube-front, .cube-back, .cube-right, .cube-left, .cube-top, .cube-bottom {
        transform: translateZ(100px);
    }
    
    .cube-controls {
        flex-wrap: wrap;
    }
    
    .cube-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}