        :root {
            --primary-color: #ff0000;
            --secondary-color: #333;
            --accent-color: #0099ff;
            --light-bg: #f8f9fa;
            --dark-bg: #343a40;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-bg);
            color: #333;
        }

        .navbar {
            background-color: var(--secondary-color);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 80px 0;
            margin-bottom: 40px;
        }
        
        .product-card {
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            height: 100%;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        
        .product-image {
            height: 200px;
            object-fit: contain;
            padding: 15px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .product-image:hover {
            transform: scale(1.05);
        }
        
        .price-tag {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .sale-price {
            color: var(--primary-color);
            font-weight: bold;
        }
        
        .regular-price {
            text-decoration: line-through;
            color: #777;
            font-size: 0.9rem;
        }
        
        .stock-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1;
        }
        
        .feature-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .feature-list li {
            padding: 5px 0;
        }
        
        .feature-list li i {
            color: var(--primary-color);
            margin-right: 10px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: #cc0000;
            border-color: #cc0000;
        }
        
        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .cart-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cart-item {
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }
        
        .cart-total {
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        /* Customer info form styling */
        .customer-form {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .customer-form h5 {
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
        }
        
        .page-title {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        .footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 40px 0;
            margin-top: 60px;
        }
        
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            display: none;
        }
        
        /* Preloader overlay */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        /* Loader container */
        .loader {
            display: flex;
            gap: 15px;
        }

        /* Ball styling */
        .ball {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            animation: bounce 0.6s infinite alternate;
        }

        /* Color for each ball */
        .red { background-color: #ff6b6b; }
        .yellow { background-color: #ffca3a; }
        .blue { background-color: #4db6e1; }
        .green { background-color: #a3d977; }

        /* Bounce animation */
        @keyframes bounce {
            from { transform: translateY(0); }
            to { transform: translateY(-30px); }
        }

        /* Staggered animation delays */
        .red { animation-delay: 0s; }
        .yellow { animation-delay: 0.1s; }
        .blue { animation-delay: 0.2s; }
        .green { animation-delay: 0.3s; }

        /* Loading text styling */
        .loading-text {
            margin-top: 20px;
            font-size: 28px;
            color: #333;
            text-align: center;
            font-weight: bold;
            font-family: sans-serif;
        }

        /* Animation for dots */
        .dot {
            opacity: 0;
            animation: dots 1s infinite steps(1, end);
        }

        .dot:nth-child(1) { animation-delay: 0s; }
        .dot:nth-child(2) { animation-delay: 0.3s; }
        .dot:nth-child(3) { animation-delay: 0.6s; }

        @keyframes dots {
            0%, 20% { opacity: 0; }
            40%, 100% { opacity: 1; }
        }

        /* Payment Gateway Styles - SIDE BY SIDE */
        .payment-gateways {
            margin: 20px 0;
        }

        .payment-options-container {
            display: flex;
            gap: 15px;
            justify-content: space-between;
        }

        .payment-option {
            position: relative;
            flex: 1;
            min-width: 0;
        }

        .payment-option input[type="radio"] {
            display: none;
        }

        .payment-option label {
            display: block;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .payment-option label:hover {
            border-color: var(--primary-color);
            background-color: #f8f9fa;
        }

        .payment-option input[type="radio"]:checked + label {
            border-color: var(--primary-color);
            background-color: rgba(255, 0, 0, 0.1);
            box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
        }

        .payment-logo {
            height: 35px;
            object-fit: contain;
            margin-bottom: 8px;
        }

        .payment-name {
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .payment-description {
            font-size: 11px;
            color: #666;
            text-align: center;
            line-height: 1.3;
        }

        /* Login Modal Styles */
        .login-modal .modal-content {
            border-radius: 10px;
            overflow: hidden;
        }
        
        .login-modal .modal-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
        }
        
        .login-modal .modal-body {
            padding: 30px;
        }
        
        .login-modal .form-control {
            padding: 12px;
            margin-bottom: 15px;
        }
        
        .login-modal .btn-login {
            background-color: var(--primary-color);
            color: white;
            padding: 12px;
            width: 100%;
            border: none;
            margin-top: 10px;
        }
        
        .login-modal .btn-login:hover {
            background-color: #cc0000;
        }
        
        .login-modal .register-link {
            text-align: center;
            margin-top: 15px;
        }

        /* Alert styles */
        .alert {
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 15px;
        }

        /* Responsive design for smaller screens */
        @media (max-width: 576px) {
            .payment-options-container {
                flex-direction: column;
                gap: 10px;
            }
            
            .payment-option label {
                padding: 12px;
            }
            
            .payment-logo {
                height: 30px;
            }
            
            .payment-name {
                font-size: 13px;
            }
            
            .payment-description {
                font-size: 10px;
            }
        }
        
        /* Filter sidebar */
        .filter-sidebar {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        .filter-title {
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        .filter-group {
            margin-bottom: 20px;
        }
        
        .filter-group h6 {
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .filter-option {
            margin-bottom: 8px;
        }
        
        .user-dropdown .dropdown-toggle::after {
            display: none;
        }

        /* Image Gallery Modal Styles */
        .image-gallery-modal .modal-dialog {
            max-width: 90%;
            max-height: 90vh;
        }
        
        .image-gallery-modal .modal-content {
            background-color: rgba(0, 0, 0, 0.9);
            border: none;
            border-radius: 0;
        }
        
        .image-gallery-modal .modal-header {
            border-bottom: 1px solid #444;
            padding: 15px;
        }
        
        .image-gallery-modal .modal-title {
            color: white;
            font-size: 1.2rem;
        }
        
        .image-gallery-modal .btn-close {
            filter: invert(1);
            opacity: 0.8;
        }
        
        .image-gallery-modal .modal-body {
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
        }
        
        .gallery-main-image {
            max-width: 100%;
            max-height: 70vh;
            object-fit: contain;
        }
        
        .gallery-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            font-size: 2rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .gallery-nav-btn:hover {
            background-color: rgba(255, 0, 0, 0.8);
            color: white;
        }
        
        .gallery-prev {
            left: 20px;
        }
        
        .gallery-next {
            right: 20px;
        }
        
        .gallery-thumbnails {
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 15px;
            background-color: rgba(255, 255, 255, 0.1);
            overflow-x: auto;
        }
        
        .gallery-thumbnail {
            width: 80px;
            height: 60px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: all 0.3s ease;
            opacity: 0.7;
        }
        
        .gallery-thumbnail:hover,
        .gallery-thumbnail.active {
            border-color: var(--primary-color);
            opacity: 1;
            transform: scale(1.05);
        }
        
        .image-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .gallery-nav-btn {
                width: 45px;
                height: 45px;
                font-size: 1.5rem;
            }
            
            .gallery-prev {
                left: 10px;
            }
            
            .gallery-next {
                right: 10px;
            }
            
            .gallery-thumbnail {
                width: 60px;
                height: 45px;
            }
        }
/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Adjust based on your header height */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 100;
}

/* Custom scrollbar for sticky sidebar */
.sticky-sidebar::-webkit-scrollbar {
    width: 6px;
}

.sticky-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.sticky-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Filter sidebar styles */
.filter-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.filter-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h6 {
    color: #34495e;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.filter-option {
    margin-bottom: 8px;
    padding: 0px 0;
}

.filter-option .form-check-input {
    margin-right: 10px;
}

.filter-option .form-check-label {
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-option .form-check-label:hover {
    color: #3498db;
}

.filter-option .form-check-input:checked + .form-check-label {
    color: #3498db;
    font-weight: 500;
}
/* Responsive behavior for sticky sidebar */
@media (max-width: 991.98px) {
    .sticky-sidebar {
        position: static;
        max-height: none;
    }
    
    .filter-sidebar {
        margin-bottom: 30px;
    }
}






/* Product Details Page Styles */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Tabs */
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 12px 24px;
}

.nav-tabs .nav-link.active {
    color: #3498db;
    border-bottom: 3px solid #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .product-gallery {
        position: static;
        margin-bottom: 30px;
    }
    
    .action-buttons .btn {
        flex: 1;
        min-width: 150px;
    }
}