/* Estilos para el botón de galería - Tema Navideño */
.btn-galeria {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #d4af37;
    color: #0a3a2a;
    border: 1px solid #0a3a2a;
}

.btn-galeria:hover {
    background: #c49b2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Modal de Galería */
.modal-galeria {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-galeria-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80%;
    margin: 5% auto;
    background: #0a3a2a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
    border: 2px solid #d4af37;
}

.galeria-container {
    position: relative;
    width: 100%;
    height: calc(100% - 80px);
    overflow: hidden;
    background: #064428;
}

.galeria-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-item.active {
    opacity: 1;
}

.galeria-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.galeria-item video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-galeria {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #d4af37;
    z-index: 10002;
    background: rgba(10, 58, 42, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.close-galeria:hover {
    background: #c41e3a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 58, 42, 0.9);
    border: 2px solid #d4af37;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #d4af37;
    transition: all 0.3s ease;
    z-index: 10002;
}

.nav-btn:hover {
    background: #165a43;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.galeria-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10002;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.7);
}

.indicator.active {
    background: #d4af37;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Responsive para modal de galería */
@media (max-width: 768px) {
    .modal-galeria-content {
        width: 95%;
        height: 70%;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* Ajustar el grid de acciones para 3 botones */
.producto-acciones {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .producto-acciones {
        flex-direction: column;
        gap: 0.5rem;
    }
}