﻿:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #06b6d4;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --success-dark: #059669;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

        .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
    margin: 0 0.5rem;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem !important;
    color: var(--text-primary);
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary-color);
}

        .btn-edufacil {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
    padding: 10px 24px;
    border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
        }

        .btn-edufacil:hover {
            transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
            color: white;
        }

        .btn-mi-panel-nav {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
            color: white;
    padding: 12px 28px;
    border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-mi-panel-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-mi-panel-nav:hover::before {
    left: 100%;
}

        .btn-mi-panel-nav:hover {
            transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
            color: white;
        }

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

.saldo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.saldo-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.saldo-card h4 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mensajes-motivacionales {
    margin-top: 2rem;
}

.mensaje-animado {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    animation: slideInLeft 0.6s ease-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mensaje-animado i {
    color: var(--warning-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.banner-promocional {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem 0;
    border-bottom: 3px solid var(--warning-color);
}

.alert-promocional {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid var(--warning-color) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-lg) !important;
}

.icono-fuego {
    color: var(--danger-color);
    animation: flame 1.5s ease-in-out infinite;
}

@keyframes flame {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.pulse-button {
    animation: pulse-button 2s ease-in-out infinite;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, var(--warning-color), #f97316) !important;
    border: none !important;
    color: white !important;
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5); }
}

.productos-comprados-section {
    background: var(--light-bg);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.producto-comprado-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    height: 100%;
}

.producto-comprado-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.producto-comprado-card.activo {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
}

.producto-comprado-card.expirado {
    border-left-color: var(--danger-color);
    opacity: 0.7;
}

.producto-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.producto-card:hover::before {
    transform: scaleX(1);
}

.producto-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.producto-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.producto-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.categoria-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.categoria-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: -1;
}

.categoria-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.categoria-badge-producto {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.categoria-badge-producto:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.badge-duracion {
    background: linear-gradient(135deg, var(--secondary-color), #0891b2);
    color: white;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.precio {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark)) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-success:hover::before {
    width: 300px;
    height: 300px;
}

.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4) !important;
}

.video-buttons-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-card:hover .video-buttons-overlay {
    opacity: 1;
}

.video-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition) !important;
}

.video-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-lg) !important;
}

.toast-mensaje-motivacional {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-color), #7c3aed);
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    z-index: 9999;
    min-width: 320px;
    max-width: 420px;
    transform: translateX(500px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-mensaje-motivacional.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-mensaje-motivacional i.fa-star {
    color: #fbbf24;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.filtros-sidebar {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
}

.estado-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
            font-weight: 600;
    display: inline-block;
}

.estado-badge.activo {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.estado-badge.expirado {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.estado-badge.permanente {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.dias-restantes {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: inline-block;
}

.dias-restantes.activo {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    color: white;
}

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 85%;
    max-width: 340px;
            height: 100vh;
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
            z-index: 9999;
            transform: translateX(-100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
        }

        .mobile-menu.show {
            transform: translateX(0);
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
            z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
        }

        .mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
        }

        .mobile-menu-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
    padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
}

        .mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .mobile-menu-nav {
    padding: 1.5rem;
        }

.mobile-menu-nav a {
            display: flex;
            align-items: center;
    padding: 1rem;
    color: var(--text-primary);
            text-decoration: none;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.5rem;
            transition: var(--transition);
            font-weight: 500;
        }

.mobile-menu-nav a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
            transform: translateX(4px);
        }

        .navbar-toggler-custom {
            background: var(--primary-color);
            border: none;
            padding: 10px 14px;
    border-radius: var(--border-radius-sm);
            cursor: pointer;
            transition: var(--transition);
        }

        .navbar-toggler-custom:hover {
    background: var(--primary-dark);
            transform: scale(1.05);
        }

        .navbar-toggler-custom i {
            color: white;
            font-size: 1.3rem;
        }

        @media (max-width: 991.98px) {
            .navbar-toggler-custom {
                display: block;
            }
            .navbar-collapse {
                display: none !important;
            }
            .mobile-menu {
                display: block;
            }
    .hero-section h1 {
        font-size: 2rem;
    }
    .producto-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    .saldo-card {
        margin-top: 1.5rem;
    }
    .toast-mensaje-motivacional {
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    .btn-mi-panel-nav {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.categoria-seccion {
    animation: fadeInUp 0.6s ease-out;
    margin-bottom: 3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#indicador-carga {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.video-card {
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    background: transparent !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-mi-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.btn-mi-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: white;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-section-title {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

#modalDetalleProducto .bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0;
}

#modalDetalleProducto .modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

#modalDetalleProducto .carousel-inner img {
    border-radius: 12px;
    max-height: 450px;
    object-fit: contain;
    width: 100%;
    background: #f8f9fa;
}

#modalDetalleProducto .carousel {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

#modalDetalleProducto h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

#modalDetalleProducto h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

#modalDetalleProducto .precio {
    font-size: 2.25rem;
}

#modalDetalleProducto .nav-pills .nav-link {
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-secondary);
    border: 2px solid transparent;
}

#modalDetalleProducto .nav-pills .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

#modalDetalleProducto .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

#modalDetalleProducto .nav-pills .badge {
    font-size: 0.75rem;
    padding: 3px 8px;
}

#modalDetalleProducto .video-item {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-detalle-producto .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.modal-detalle-producto .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-detalle-producto .caracteristica-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
}

.modal-detalle-producto .caracteristica-item i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

#modalDetalleProducto .modal-xl {
    max-width: 1200px;
}

#modalDetalleProducto .carousel-control-prev,
#modalDetalleProducto .carousel-control-next {
    width: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

#modalDetalleProducto .carousel-control-prev:hover,
#modalDetalleProducto .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.video-thumbnail {
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
