        :root {
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --white: #ffffff;
            --dark-bg: #121212;
            --dark-card: #1e1e1e;
            --dark-text: #e2e2e2;
            --dark-border: #2d2d2d;
            --whatsapp: #25D366;
            --destaque: #fff3cd;
            --destaque-dark: #332d00;
        }
        
        [data-bs-theme="dark"] {
            --bs-body-bg: var(--dark-bg);
            --bs-body-color: var(--dark-text);
            --bs-light: var(--dark-card);
            --bs-border-color: var(--dark-border);
            --destaque: var(--destaque-dark);
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bs-body-bg);
            color: var(--bs-body-color);
            transition: background-color 0.3s ease, color 0.3s ease;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        .main-content {
            flex: 1;
        }
        
        .header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            border-radius: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
        }
        
        .header h1 {
            font-weight: 700;
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .header p {
            position: relative;
            opacity: 0.9;
        }
        
        .category-title {
            position: relative;
            padding-left: 15px;
            margin: 2rem 0 1rem;
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .category-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 70%;
            width: 4px;
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            border-radius: 2px;
        }
        
        .product-card {
            transition: all 0.3s ease;
            height: 100%;
            background-color: var(--bs-card-bg, var(--white));
            border: 1px solid var(--bs-border-color, var(--light-gray));
            display: flex;
            flex-direction: column;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            position: relative;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .product-card.destaque {
            border: 2px solid var(--accent);
            background-color: var(--destaque);
        }
        
        .product-card.destaque::after {
            content: 'Destaque';
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--accent);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        .product-img {
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid var(--bs-border-color, var(--light-gray));
        }
        
        .product-price {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.1rem;
        }
        
        .product-price-promo {
            text-decoration: line-through;
            font-size: 0.9rem;
            color: var(--gray);
            margin-right: 0.5rem;
        }
        
        .product-sku {
            font-size: 0.8rem;
            color: var(--gray);
            background-color: rgba(0,0,0,0.05);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            display: inline-block;
        }
        
        .product-extra {
            font-size: 0.85rem;
            background-color: rgba(74, 107, 255, 0.1);
            color: var(--primary-dark);
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            border: 1px solid rgba(74, 107, 255, 0.2);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border: none;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .btn-whatsapp {
            background-color: var(--whatsapp);
            color: white;
            transition: all 0.3s ease;
        }
        
        .btn-whatsapp:hover {
            background-color: #128C7E;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .btn-theme {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .btn-theme:hover {
            transform: scale(1.1);
        }
        
        .btn-config {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .btn-config:hover {
            transform: scale(1.1);
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 0.3rem 0.3rem 0 0 !important;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }
        
        footer {
            background-color: var(--bs-tertiary-bg);
            padding: 1.5rem 0;
            margin-top: 3rem;
            border-top: 1px solid var(--bs-border-color);
        }
        
        .image-preview {
            max-width: 100%;
            max-height: 200px;
            display: none;
            margin-top: 10px;
            border-radius: 5px;
            border: 1px solid var(--bs-border-color);
        }
        
        .nav-tabs .nav-link {
            color: var(--bs-body-color);
            border: none;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .nav-tabs .nav-link:hover {
            color: var(--primary);
            background-color: rgba(74, 107, 255, 0.1);
        }
        
        .nav-tabs .nav-link.active {
            background-color: var(--primary);
            color: white;
            border-radius: 0.25rem 0.25rem 0 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .tab-content {
            padding: 20px;
            border-left: 1px solid var(--bs-border-color);
            border-right: 1px solid var(--bs-border-color);
            border-bottom: 1px solid var(--bs-border-color);
            border-radius: 0 0 5px 5px;
            background-color: var(--bs-body-bg);
        }
        
        .config-icon {
            font-size: 1.2rem;
            margin-right: 8px;
            width: 24px;
            text-align: center;
        }
        
        .badge-admin {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 50px;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        .admin-panel {
            background-color: rgba(74, 107, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid rgba(74, 107, 255, 0.2);
        }
        
        .table-responsive {
            border-radius: 8px;
            overflow: hidden;
        }
        
        .table {
            margin-bottom: 0;
        }
        
        .table th {
            background-color: rgba(74, 107, 255, 0.1);
            color: var(--primary);
        }
        
        .table-hover tbody tr:hover {
            background-color: rgba(74, 107, 255, 0.05);
        }
        
        .action-buttons .btn {
            padding: 0.25rem 0.5rem;
            font-size: 0.875rem;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Dark mode specific styles */
        [data-bs-theme="dark"] .product-card {
            background-color: var(--dark-card);
            color: var(--dark-text);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        }
        
        [data-bs-theme="dark"] .card {
            background-color: var(--dark-card);
            color: var(--dark-text);
            border-color: var(--dark-border);
        }
        
        [data-bs-theme="dark"] .text-muted {
            color: #a0a0a0 !important;
        }
        
        [data-bs-theme="dark"] .product-extra {
            background-color: rgba(74, 107, 255, 0.2);
            color: #a8b5ff;
            border-color: rgba(74, 107, 255, 0.3);
        }
        
        [data-bs-theme="dark"] footer {
            background-color: var(--dark-card);
        }
        
        [data-bs-theme="dark"] .nav-tabs {
            border-bottom-color: var(--dark-border);
        }
        
        [data-bs-theme="dark"] .nav-tabs .nav-link {
            color: var(--dark-text);
        }
        
        [data-bs-theme="dark"] .nav-tabs .nav-link:hover {
            background-color: rgba(74, 107, 255, 0.2);
        }
        
        [data-bs-theme="dark"] .nav-tabs .nav-link.active {
            background-color: var(--primary);
            color: white;
        }
        
        [data-bs-theme="dark"] .tab-content {
            background-color: var(--dark-card);
            border-color: var(--dark-border);
        }
        
        [data-bs-theme="dark"] .admin-panel {
            background-color: rgba(74, 107, 255, 0.2);
            border-color: rgba(74, 107, 255, 0.3);
        }
        
        [data-bs-theme="dark"] .table th {
            background-color: rgba(74, 107, 255, 0.2);
            color: #a8b5ff;
        }
        
        [data-bs-theme="dark"] .table-hover tbody tr:hover {
            background-color: rgba(74, 107, 255, 0.1);
        }

        /* Melhorias na aba de adicionar produto */
        .form-section {
            background-color: rgba(74, 107, 255, 0.05);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            border-left: 3px solid var(--primary);
        }
        
        .form-section h6 {
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .form-section .form-label {
            font-weight: 500;
        }

        /* Responsividade */
        @media (max-width: 767.98px) {
            .header h1 {
                font-size: 1.8rem;
            }
            
            .header p.lead {
                font-size: 1rem;
            }
            
            .product-card {
                margin-bottom: 1rem;
            }
            
            .btn-theme, .btn-config {
                width: 40px;
                height: 40px;
                bottom: 15px;
                right: 15px;
            }
            
            .btn-theme {
                bottom: 65px;
            }
            
            .admin-panel .d-flex {
                flex-direction: column;
            }
            
            .admin-panel .d-flex > * {
                width: 100%;
            }
            
            .modal-dialog {
                margin: 0.5rem;
            }
            
            .category-title {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 575.98px) {
            .header {
                padding: 1.5rem 1rem !important;
            }
            
            .header h1 {
                font-size: 1.5rem;
            }
            
            .product-img {
                height: 150px;
            }
            
            .btn-whatsapp {
                font-size: 0.9rem;
                padding: 0.375rem 0.75rem;
            }
            
            .product-extra {
                font-size: 0.75rem;
            }
        }

        /* Estilo para o menu hamburguer em mobile */
        .navbar-toggler {
            border: none;
            background: transparent;
            padding: 0.25rem;
            color: var(--white);
            font-size: 1.25rem;
        }

        .navbar-toggler:focus {
            box-shadow: none;
            outline: none;
        }

        /* Ajuste para as abas em mobile */
        .nav-tabs .nav-link {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }

        /* Ajuste para os botões de ação em mobile */
        .action-buttons .btn {
            padding: 0.2rem 0.4rem;
            font-size: 0.8rem;
        }
        
        /* Destaque section */
        .destaque-section {
            margin-bottom: 3rem;
        }
        
        .destaque-title {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }
        
        .destaque-title i {
            font-size: 1.5rem;
        }
        /* Flechas personalizadas com Font Awesome */
.custom-arrow {
    background: none;
    border: none;
    color: var(--primary);
    opacity: 0.7;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-arrow:hover {
    color: black;
}

.carousel-control-prev.custom-arrow {
    left: -30px;
}

.carousel-control-next.custom-arrow {
    right: -30px;
}