/* ==================== Página de produtos - Visual Elegante & Moderno (OTIMIZADO) ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background: #0a0e27;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 20%),
                radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
            min-height: 100vh;
            position: relative;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        
        /* ✅ REMOVIDO body::before (gridMove) para melhor performance */
        
        .container {
            position: relative;
            z-index: 1;
        }
        
        /* Navbar futurista */
        .navbar-custom {
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(102, 126, 234, 0.2);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
            padding: 0.5rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar-brand {
            font-weight: 700;
            letter-spacing: 0.02em;
            font-size: 1.25rem;
            text-shadow: none;
        }

        .navbar-brand i {
            margin-right: 8px;
        }

        .nav-link {
            border-radius: 10px;
            padding: 8px 12px !important;
        }
        
        /* Container do produto */
        .produto-container {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(30px);
            border-radius: 30px;
            padding: 60px;
            box-shadow: 
                0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(102, 126, 234, 0.2) inset,
                0 0 100px rgba(102, 126, 234, 0.1);
            margin-top: 30px;
            margin-bottom: 50px;
            border: 1px solid rgba(102, 126, 234, 0.2);
            position: relative;
            overflow: hidden;
            animation: fadeInUp 0.5s ease-out;
        }
        
        /* ✅ REMOVIDO produto-container::before (rotate) para melhor performance */
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Galeria de imagens futurista */
        .image-gallery {
            position: relative;
            z-index: 1;
        }
        
        .imagem-principal {
            width: 100%;
            height: 600px;
            object-fit: cover;
            border-radius: 25px;
            box-shadow: 
                0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(102, 126, 234, 0.3) inset,
                0 0 50px rgba(102, 126, 234, 0.2);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(102, 126, 234, 0.3);
            position: relative;
        }
        
        .imagem-principal::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
            border-radius: 25px;
            pointer-events: none;
        }
        
        .imagem-principal:hover {
            transform: scale(1.03) translateY(-5px);
            box-shadow: 
                0 40px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(102, 126, 234, 0.5) inset,
                0 0 80px rgba(102, 126, 234, 0.3);
        }
        
        /* Thumbnails */
        .thumbnail-galeria {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 18px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 3px solid rgba(102, 126, 234, 0.2);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .thumbnail-galeria::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
            transition: left 0.5s;
        }
        
        .thumbnail-galeria:hover::before {
            left: 100%;
        }
        
        .thumbnail-galeria:hover {
            border-color: #667eea;
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
        }
        
        .thumbnail-galeria.active {
            border-color: #667eea;
            box-shadow: 
                0 15px 35px rgba(102, 126, 234, 0.6),
                0 0 30px rgba(102, 126, 234, 0.4);
            transform: scale(1.08);
        }
        
        /* Badge de promoção - design futurista */
        .badge-promocao {
            background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 25px;
            box-shadow: 
                0 10px 30px rgba(255, 8, 68, 0.4),
                0 0 40px rgba(255, 8, 68, 0.3);
            animation: pulseGlow 2s infinite;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.95rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .badge-promocao::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% { left: -100%; }
            50%, 100% { left: 100%; }
        }
        
        @keyframes pulseGlow {
            0%, 100% { 
                transform: scale(1);
                box-shadow: 
                    0 10px 30px rgba(255, 8, 68, 0.4),
                    0 0 40px rgba(255, 8, 68, 0.3);
            }
            50% { 
                transform: scale(1.05);
                box-shadow: 
                    0 15px 40px rgba(255, 8, 68, 0.6),
                    0 0 60px rgba(255, 8, 68, 0.5);
            }
        }
        
        /* Informações do produto */
        .product-info-section {
            position: relative;
            z-index: 1;
        }
        
        /* Metadados do produto (marca, categoria) */
        .product-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 25px 0;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50px;
            border: 2px solid rgba(102, 126, 234, 0.2);
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            font-size: 1rem;
        }
        
        .meta-item i {
            color: #667eea;
            font-size: 1.1rem;
        }
        
        .meta-item span {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        /* Divisor elegante */
        .divider {
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
            margin: 30px 0;
        }
        
        /* Seção de preços */
        .price-section {
            margin: 30px 0;
            padding: 35px;
            background: rgba(102, 126, 234, 0.08);
            border-radius: 25px;
            border: 2px solid rgba(102, 126, 234, 0.25);
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }
        
        .preco-antigo {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.5) !important;
            text-decoration: line-through;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        h1 {
            font-size: 3rem;
            font-weight: 900;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 25px;
            text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
            line-height: 1.2;
        }
        
        .preco-container {
            margin: 30px 0;
            padding: 35px;
            background: rgba(102, 126, 234, 0.08);
            border-radius: 25px;
            border: 2px solid rgba(102, 126, 234, 0.25);
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }
        
        .preco-original {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: line-through;
            margin-bottom: 10px;
        }
        
        .preco-atual {
            font-size: 3.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
            line-height: 1;
            margin-bottom: 15px;
        }
        
        .desconto-percentual {
            display: inline-block;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.1rem;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            letter-spacing: 1px;
        }
        
        .info-parcelamento {
            margin-top: 20px;
            padding: 20px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 15px;
            border: 1px solid rgba(16, 185, 129, 0.2);
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .info-parcelamento i {
            color: #10b981;
            font-size: 1.4rem;
        }
        
        /* Classe parcelas-info (texto de parcelamento) */
        .parcelas-info {
            margin-top: 25px;
            padding: 25px;
            background: rgba(102, 126, 234, 0.08);
            border-radius: 20px;
            border: 2px solid rgba(102, 126, 234, 0.2);
            color: rgba(255, 255, 255, 0.95) !important;
            font-size: 1.15rem;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .parcelas-info i {
            color: #667eea;
            font-size: 1.3rem;
            margin-right: 10px;
        }
        
        .parcelas-info strong {
            color: rgba(255, 255, 255, 0.95) !important;
            font-weight: 800;
        }
        
        .parcelas-info .badge {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.9rem;
            display: inline-block;
            margin-left: 10px;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }
        
        .parcelas-info .text-muted {
            color: rgba(255, 255, 255, 0.7) !important;
            font-size: 0.95rem !important;
            margin-top: 8px;
        }
        
        /* Garantir que todos os textos sejam visíveis */
        .price-section {
            color: rgba(255, 255, 255, 0.95) !important;
        }
        
        .price-section strong,
        .price-section span,
        .price-section div {
            color: inherit !important;
        }
        
        /* Grupos de seleção - CORRIGIDO PARA MODAL */
        .selection-group {
            margin: 35px 0;
            padding: 30px;
            background: rgba(102, 126, 234, 0.05);
            border-radius: 25px;
            border: 2px solid rgba(102, 126, 234, 0.2);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }
        
        .selection-group::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, #667eea, transparent);
        }
        
        /* LABELS - Cor padrão BRANCA para página principal (fundo escuro) */
        .selection-group label {
            font-size: 1.3rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.95) !important; /* BRANCO para fundo escuro */
            margin-bottom: 20px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .selection-group label i {
            color: #667eea;
            margin-right: 12px;
            font-size: 1.4rem;
        }
        
        /* Labels ESCUROS apenas dentro do MODAL (fundo branco) */
        .selection-modal .selection-group label {
            color: #1a1f3a !important; /* ESCURO para fundo claro do modal */
        }
        
        .opcao-badge {
            display: inline-block;
            background: rgba(15, 23, 42, 0.8);
            color: rgba(255, 255, 255, 0.9);
            padding: 15px 30px;
            border-radius: 50px;
            margin: 8px;
            font-weight: 700;
            font-size: 1rem;
            border: 2px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            cursor: default;
            position: relative;
        }
        
        /* Botão adicionar ao carrinho */
        .btn-adicionar {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border: none;
            border-radius: 50px;
            padding: 25px 60px;
            font-weight: 900;
            font-size: 1.5rem;
            color: white;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
            box-shadow: 
                0 15px 40px rgba(16, 185, 129, 0.4),
                0 0 60px rgba(16, 185, 129, 0.2);
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }
        
        .btn-adicionar::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-adicionar:hover:not(:disabled)::before {
            left: 100%;
        }
        
        .btn-adicionar:hover:not(:disabled) {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 
                0 25px 60px rgba(16, 185, 129, 0.6),
                0 0 100px rgba(16, 185, 129, 0.4);
        }
        
        .btn-adicionar:active:not(:disabled) {
            transform: translateY(-3px) scale(0.98);
        }
        
        .btn-adicionar:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Alertas de estoque */
        .alert {
            background: rgba(255, 193, 7, 0.1);
            border-left: 4px solid #ffc107;
            padding: 20px;
            border-radius: 15px;
            margin-top: 25px;
            border: 1px solid rgba(255, 193, 7, 0.3);
            backdrop-filter: blur(10px);
            color: rgba(255, 255, 255, 0.9);
        }
        
        .alert-danger {
            background: rgba(239, 68, 68, 0.1);
            border-left-color: #ef4444;
            border-color: rgba(239, 68, 68, 0.3);
        }
        
        /* Descrição do produto */
        .info-section {
            background: rgba(102, 126, 234, 0.05);
            padding: 40px;
            border-radius: 25px;
            margin: 40px 0;
            border: 1px solid rgba(102, 126, 234, 0.2);
            backdrop-filter: blur(10px);
        }
        
        .info-section h3 {
            font-size: 2rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .info-section h3 i {
            color: #667eea;
            font-size: 2.2rem;
        }
        
        .ql-editor {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        .ql-editor p {
            margin-bottom: 1.2em;
        }
        
        .ql-editor strong {
            color: rgba(255, 255, 255, 0.95);
            font-weight: 700;
        }
        
        .ql-editor a {
            color: #667eea;
            text-decoration: none;
            border-bottom: 2px solid rgba(102, 126, 234, 0.3);
            transition: all 0.3s;
        }
        
        .ql-editor a:hover {
            color: #764ba2;
            border-bottom-color: #764ba2;
        }
        
        /* ==================== CARRINHO FLUTUANTE - DESIGN PREMIUM ==================== */
        .carrinho-flutuante {
            position: fixed;
            bottom: 40px;
            right: 40px;
            z-index: 1000;
        }
        
        .btn-carrinho {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 50%;
            width: 90px;
            height: 90px;
            border: none;
            box-shadow: 
                0 20px 50px rgba(102, 126, 234, 0.6),
                0 0 80px rgba(102, 126, 234, 0.4);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            animation: float 3s ease-in-out infinite;
            border: 4px solid rgba(255, 255, 255, 0.2);
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        .btn-carrinho:hover {
            transform: scale(1.2) translateY(-10px);
            box-shadow: 
                0 30px 70px rgba(102, 126, 234, 0.8),
                0 0 120px rgba(102, 126, 234, 0.6);
        }
        
        .badge-contador {
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 900;
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
            animation: bounce 1s infinite;
            border: 3px solid rgba(10, 14, 39, 0.95);
        }
        
        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }
        
        
        /* Modal de Seleção - Otimizado */
        .selection-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            animation: fadeIn 0.2s ease-out;
        }
        
        .selection-modal.show {
            display: flex;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .selection-modal-content {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideUp 0.25s ease-out;
            /* Scroll suave */
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .selection-modal-header {
            margin-bottom: 1.5rem;
        }
        
        .selection-modal-header h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }
        
        .selection-modal-header .product-price {
            font-size: 1.5rem;
            font-weight: 800;
            color: #10b981;
        }
        
        .selection-group {
            margin-bottom: 1.5rem;
        }
        
        .selection-group label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 0.75rem;
            display: block;
        }
        
        /* Opções de seleção dentro do modal */
        .selection-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .selection-option {
            padding: 0.5rem 1rem;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease-out;
            font-weight: 600;
            background: white;
        }
        
        .selection-option:hover {
            border-color: #667eea;
            transform: translateY(-1px);
        }
        
        .selection-option.selected {
            border-color: #667eea;
            background: #667eea;
            color: white;
        }
        
        /* Botões de ação do modal */
        .selection-modal-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .btn-modal-cancel {
            flex: 1;
            padding: 0.875rem;
            border: 2px solid #e5e7eb;
            background: white;
            color: #6b7280;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease-out;
        }
        
        .btn-modal-cancel:hover {
            border-color: #9ca3af;
            color: #374151;
            transform: translateY(-1px);
        }
        
        .btn-modal-confirm {
            flex: 1;
            padding: 0.875rem;
            border: none;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease-out;
        }
        
        .btn-modal-confirm:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
        }
        .btn-outline-secondary {
            background: rgba(102, 126, 234, 0.1);
            border: 2px solid rgba(102, 126, 234, 0.3);
            color: rgba(255, 255, 255, 0.9);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 700;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }
        
        .btn-outline-secondary:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: #667eea;
            color: white;
            transform: translateX(-5px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .produto-container {
                padding: 30px 20px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .preco-atual {
                font-size: 2.5rem;
            }
            
            .btn-carrinho {
                width: 70px;
                height: 70px;
                bottom: 20px;
                right: 20px;
            }
            
            .badge-contador {
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }
            
            .selection-modal-content {
                padding: 30px 20px;
                width: 95%;
            }
            
            .selection-modal-actions {
                flex-direction: column;
            }
        }

        /* ==================== REFRESH VISUAL - PRODUTO.PHP ==================== */
        .produto-container {
            padding: clamp(24px, 3.6vw, 52px);
        }

        .product-layout {
            row-gap: 2.2rem;
        }

        .product-title-main {
            font-size: clamp(1.9rem, 3.3vw, 2.8rem);
            line-height: 1.15;
            margin-bottom: 0.9rem;
            letter-spacing: -0.01em;
        }

        .purchase-card {
            background: linear-gradient(155deg, rgba(17, 28, 55, 0.86) 0%, rgba(13, 20, 44, 0.94) 100%);
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 22px;
            padding: clamp(18px, 2.3vw, 30px);
            box-shadow:
                0 20px 45px rgba(2, 6, 23, 0.5),
                0 0 0 1px rgba(102, 126, 234, 0.12) inset;
        }

        @media (min-width: 992px) {
            .product-info-section {
                position: sticky;
                top: 96px;
                align-self: flex-start;
            }
        }

        .product-meta {
            gap: 10px;
            margin: 0.7rem 0 1rem;
        }

        .meta-item {
            background: rgba(30, 41, 74, 0.78);
            border: 1px solid rgba(129, 140, 248, 0.28);
            padding: 10px 16px;
            font-size: 0.93rem;
        }

        .meta-item i {
            color: #93c5fd;
        }

        .price-section {
            margin: 0;
            padding: 22px;
            border-radius: 18px;
            border: 1px solid rgba(148, 163, 184, 0.25);
            background: linear-gradient(150deg, rgba(30, 44, 90, 0.55) 0%, rgba(18, 27, 56, 0.7) 100%);
        }

        .preco-antigo {
            font-size: 1.05rem;
            margin-bottom: 0.3rem;
        }

        .preco-atual {
            font-size: clamp(2.1rem, 4.4vw, 3rem);
            line-height: 1.05;
            margin-bottom: 0.8rem;
        }

        .parcelas-info {
            margin-top: 0.95rem;
            padding: 15px 16px;
            border-radius: 14px;
            border: 1px solid rgba(129, 140, 248, 0.34);
            background: rgba(16, 26, 52, 0.65);
            gap: 8px;
        }

        .parcelas-topo {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .parcelas-titulo {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.92);
        }

        .parcelas-destaque {
            font-size: clamp(1rem, 2.2vw, 1.22rem);
            font-weight: 800;
            color: #c7d2fe;
        }

        .parcelas-taxa {
            font-size: 0.9rem;
            color: rgba(226, 232, 240, 0.86);
        }

        .parcelas-info .text-muted {
            color: rgba(226, 232, 240, 0.72) !important;
            font-size: 0.88rem !important;
            margin: 0;
        }

        .product-option-group {
            margin: 1rem 0 0;
            padding: 16px 16px 14px;
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(17, 28, 55, 0.6);
        }

        .product-option-group::before {
            display: none;
        }

        .product-option-group label {
            font-size: 0.88rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
            color: rgba(226, 232, 240, 0.88) !important;
        }

        #tamanhos,
        #cores {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
        }

        .opcao-badge {
            margin: 0;
            padding: 9px 14px;
            border-radius: 999px;
            font-size: 0.88rem;
            border: 1px solid rgba(129, 140, 248, 0.32);
            background: rgba(30, 41, 74, 0.92);
            box-shadow: none;
        }

        .purchase-benefits {
            margin-top: 1rem;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .purchase-benefit-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(12, 19, 39, 0.65);
            color: rgba(226, 232, 240, 0.85);
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .purchase-benefit-item i {
            color: #93c5fd;
            font-size: 0.95rem;
        }

        .btn-adicionar {
            padding: 15px 22px;
            border-radius: 14px;
            font-size: 1.02rem;
            letter-spacing: 0.05em;
            box-shadow: 0 14px 26px rgba(16, 185, 129, 0.34);
        }

        .btn-adicionar:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 16px 32px rgba(16, 185, 129, 0.45);
        }

        .info-section {
            margin-top: 2.2rem !important;
            border-radius: 20px;
            padding: clamp(18px, 2.8vw, 34px);
            background: rgba(13, 21, 45, 0.88);
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        .info-section h3 {
            font-size: clamp(1.2rem, 2.2vw, 1.7rem);
            margin-bottom: 1rem;
        }

        .ql-editor {
            font-size: 1rem;
            line-height: 1.75;
            color: rgba(226, 232, 240, 0.88);
        }

        .info-section .ql-editor {
            line-height: 1.6;
        }

        .info-section .ql-editor p {
            margin: 0;
        }

        .info-section .ql-editor p + p {
            margin-top: 0.7em;
        }

        .info-section .ql-editor p > br:only-child {
            display: none;
        }

        .info-section .ql-editor p:empty {
            margin-top: 0;
        }

        #selectionModal .selection-modal-content {
            max-width: 640px;
            border-radius: 22px;
            border: 1px solid #dbe3ff;
            background: #f8fafc;
            box-shadow: 0 22px 70px rgba(15, 23, 42, 0.35);
            padding: 1.35rem;
        }

        #selectionModal .selection-modal-header {
            margin-bottom: 1rem;
        }

        #selectionModal .selection-group {
            margin-bottom: 0.85rem;
            padding: 0.9rem;
            border-radius: 14px;
            border: 1px solid #dbe3ff;
            background: #ffffff;
        }

        #selectionModal .selection-group::before {
            display: none;
        }

        #selectionModal .selection-group label {
            color: #1e293b !important;
            font-size: 0.86rem;
            font-weight: 800;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            margin-bottom: 0.55rem;
        }

        #selectionModal .selection-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
            gap: 0.55rem;
        }

        #selectionModal .selection-option {
            min-height: 46px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            border: 1px solid #cfd8ee;
            border-radius: 11px;
            color: #1f2937 !important;
            background: #ffffff !important;
            font-size: 0.9rem !important;
            font-weight: 700 !important;
            padding: 0.55rem 0.7rem;
            opacity: 1 !important;
        }

        #selectionModal .selection-option:hover {
            border-color: #4f46e5;
            background: #f6f8ff !important;
            transform: translateY(-1px);
        }

        #selectionModal .selection-option.selected {
            border-color: #4f46e5;
            background: linear-gradient(135deg, #5b6ee5 0%, #4f46e5 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
        }

        #selectionModal .selection-option span {
            color: inherit !important;
        }

        #selectionModal #modalInstallmentOptions .selection-option {
            font-size: 0.84rem !important;
        }

        #selectionModal .selection-modal-actions {
            margin-top: 1rem;
            padding-top: 0.85rem;
            position: sticky;
            bottom: -1px;
            background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, #f8fafc 28%);
        }

        @media (max-width: 991px) {
            .purchase-card {
                border-radius: 18px;
            }

            .purchase-benefits {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .carrinho-flutuante {
                bottom: 20px;
                right: 18px;
            }
        }

        @media (max-width: 768px) {
            .produto-container {
                border-radius: 18px;
                padding: 16px;
            }

            .image-gallery .imagem-principal {
                height: 360px;
            }

            .purchase-benefits {
                grid-template-columns: 1fr;
            }

            #selectionModal .selection-modal-content {
                width: calc(100% - 16px);
                padding: 1rem;
                border-radius: 16px;
            }

            #selectionModal .selection-options {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
