        /* =========================================
   Base & Variables
   ========================================= */
:root {
    --primary-color: #d32f2f;
    --secondary-color: #111111;
    --bg-light: #f4f4f4;
    --text-dark: #222222;
    --text-light: #777777;
    --white: #ffffff;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


         /* =========================================
           NAVBAR STYLES
           ========================================= */
        .navbar {
            position: fixed; top: 0; left: 0; width: 100%; padding: 20px 5%;
            display: flex; justify-content: space-between; align-items: center;
            z-index: 100; background: rgba(15, 15, 15, 0.85);
            backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .logo { display: flex; align-items: center; z-index: 101; text-decoration: none; }
        .nav-logo {height: 50px; width: auto; object-fit: contain; transition: all 0.3s ease;}
        .nav-links { display: flex; gap: 30px; list-style: none; }
        .nav-item { position: relative; }
        .nav-link { color: #e0e0e0; text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; padding: 10px 0; display: flex; align-items: center; cursor: pointer; transition: color 0.3s; }
        .nav-link:hover { color: #fff; }
        .has-dropdown .nav-link::after { content: '▾'; margin-left: 6px; font-size: 0.8rem; }
        .dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 20px; min-width: 220px; opacity: 0; visibility: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        
        /* THIS IS THE FIX: Creates an invisible bridge to cover the hover gap */
        .dropdown::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }

        .dropdown.wide { min-width: 450px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
        .dropdown a { color: #fff; text-decoration: none; font-size: 0.85rem; padding: 8px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; }
        .dropdown a:last-child { border-bottom: none; }
        .dropdown a:hover { color: #f39c12; padding-left: 5px; }
        .menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 101; }
        .menu-toggle span { width: 30px; height: 2px; background: #fff; transition: 0.3s; }

        @media (max-width: 1024px) {
            .menu-toggle { display: flex; }
            .nav-links { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #0f0f0f; flex-direction: column; justify-content: center; align-items: center; gap: 20px; opacity: 0; visibility: hidden; pointer-events: none; }
            .nav-links.mobile-active { opacity: 1; visibility: visible; pointer-events: all; }
            .nav-item { text-align: center; }
            .nav-link { font-size: 1.5rem; }
            .dropdown, .dropdown.wide { position: relative; top: 0; left: 0; transform: none; background: transparent; box-shadow: none; border: none; min-width: 100%; display: none; grid-template-columns: 1fr; padding: 10px 0; }
            .dropdown a { font-size: 1rem; justify-content: center; display: flex;}
            
            /* Remove the bridge on mobile so it doesn't overlap text */
            .dropdown::before { display: none; }
        }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 35vh;
    min-height: 250px;
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?q=80&w=1200&auto=format&fit=crop') center/cover;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
}

/* =========================================
   Main Layout & Sidebar
   ========================================= */
.main-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
}

.sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-list {
    max-height: 500px;
    overflow-y: auto;
}

.category-list > li {
    font-weight: 600;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid #eeeeee;
    transition: var(--transition);
    color: var(--text-light);
    font-size: 0.9rem;
}

.category-list > li:last-child {
    border-bottom: none;
}

.category-list > li:hover, 
.category-list > li.active {
    color: var(--primary-color);
    padding-left: 10px;
}

/* =========================================
   Product Grid
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #eaeaea; 
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.category-tag {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

.btn-view {
    margin-top: auto;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-view:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* =========================================
            FOOTER SECTION STYLES
            ========================================= */
        .site-footer { background: #050505; position: relative; padding-top: 80px; overflow: hidden; }
        .footer-accent-line { position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, #f39c12, transparent); transform: scaleX(0); transform-origin: center; }
        .footer-container { max-width: 1300px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 50px; padding-bottom: 60px; }
        .footer-col { opacity: 0; transform: translateY(30px); }
        .footer-logo { width: 150px; border-radius: 8px; margin-bottom: 25px; display: block; filter: grayscale(20%); transition: filter 0.3s ease; }
        .footer-logo:hover { filter: grayscale(0%); }
        .footer-address { color: #aaa; font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
        .footer-contact-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
        .footer-contact-links a { color: #e0e0e0; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
        .footer-contact-links a:hover { color: #f39c12; }
        .wa-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
        .wa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(37, 211, 102, 0.1); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.3); border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
        .wa-btn:hover { background: #25D366; color: #000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }
        .footer-heading { color: #fff; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 25px; }
        .mt-4 { margin-top: 30px; }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; display: inline-block; }
        .footer-links a:hover { color: #f39c12; transform: translateX(8px); }
        .newsletter-desc { color: #aaa; font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; }
        .newsletter-form { display: flex; flex-direction: column; gap: 15px; }
        .newsletter-input { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; transition: border-color 0.3s ease; }
        .newsletter-input:focus { outline: none; border-bottom-color: #f39c12; }
        .newsletter-input::placeholder { color: #666; }
        .subscribe-btn { align-self: flex-start; padding: 12px 30px; background: #fff; color: #000; border: none; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease; }
        .subscribe-btn:hover { background: #f39c12; color: #fff; }
        .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #666; opacity: 0; }
        @media (max-width: 900px) { .footer-container { grid-template-columns: 1fr 1fr; } .footer-col:nth-child(1) { grid-column: span 2; } }
        @media (max-width: 600px) { .footer-container { grid-template-columns: 1fr; gap: 40px; } .footer-col:nth-child(1) { grid-column: span 1; } .footer-bottom { flex-direction: column; text-align: center; gap: 10px; } }
    

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-height: none;
    }
    .category-list > li {
        border: 1px solid #ddd;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
    }
    .category-list > li:hover, .category-list > li.active {
        padding-left: 15px;
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 75px;
        left: 0;
        background: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        height: auto;
        padding: 15px 20px;
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
           LIGHT THEME OVERRIDES (NEW CODE)
           ========================================= */
        .theme-toggle-btn {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #fff;
            color: #000;
            border: none;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }
        body.light-theme .theme-toggle-btn {
            background: #000;
            color: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        body.light-theme { background: #fff; color: #000; }
        body.light-theme .navbar { background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(0,0,0,0.1); }
        body.light-theme .nav-logo {filter: none; mix-blend-mode: multiply;}
        body.light-theme .nav-link { color: #333; }
        body.light-theme .nav-link:hover { color: #000; }
        body.light-theme .menu-toggle span { background: #000; }
        body.light-theme .dropdown { background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        body.light-theme .dropdown a { color: #555; border-bottom: 1px solid rgba(0,0,0,0.05); }
        body.light-theme .dropdown a:hover { color: #f39c12; }
        
        @media (max-width: 1024px) {
            body.light-theme .nav-links { background: #fff; }
        }

        body.light-theme .categories-section, 
        body.light-theme .shop-content-section, 
        body.light-theme .site-footer { background: #f5f5f5; }
        body.light-theme .recommended-section, 
        body.light-theme .dealers-section { background: #fff; }
        
        body.light-theme .product-card { background: #fff; border: 1px solid rgba(0,0,0,0.1); color: #000;}
        body.light-theme .product-title { color: #222; }
        body.light-theme .product-card:hover { background: #f9f9f9; border-color: rgba(0,0,0,0.2); }
        body.light-theme .product-card:hover .product-title { color: #000; }
        
        body.light-theme .dealer-card { background: #fff; border: 1px solid rgba(0,0,0,0.1); }
        body.light-theme .dealer-card:hover { background: #fafafa; border-color: #f39c12; }
        body.light-theme .dealer-logo { filter: grayscale(100%) invert(1) opacity(0.8); }
        body.light-theme .dealer-card:hover .dealer-logo { filter: grayscale(0%) invert(0) opacity(1); transform: scale(1.05); }
        
        body.light-theme .champions-section::after { background: radial-gradient(circle at center, transparent 0%, #fff 90%); }
        
        /* New Glassmorphism Trust Section Light Theme Overrides */
        body.light-theme .trust-section { background: #fdfbfb; }
        body.light-theme .trust-card { background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 10px 40px rgba(31, 38, 135, 0.05); }
        body.light-theme .trust-card:hover { background: rgba(255, 255, 255, 0.65); box-shadow: 0 20px 50px rgba(31, 38, 135, 0.1); }
        body.light-theme .trust-title { color: #2d3436; }
        body.light-theme .trust-desc { color: #636e72; }

        body.light-theme .footer-heading { color: #000; }
        body.light-theme .footer-address, body.light-theme .newsletter-desc, body.light-theme .footer-links a, body.light-theme .footer-bottom { color: #555; }
        body.light-theme .footer-contact-links a { color: #333; }
        body.light-theme .footer-logo { filter: grayscale(20%) invert(1); }
        body.light-theme .newsletter-input { color: #000; border-bottom: 1px solid rgba(0,0,0,0.2); }
        body.light-theme .newsletter-input::placeholder { color: #888; }
        body.light-theme .subscribe-btn { background: #000; color: #fff; }
        body.light-theme .subscribe-btn:hover { background: #f39c12; }
        
        body.light-theme .nav-btn, body.light-theme .ctrl-btn { background: rgba(255,255,255,0.9); color: #000; border-color: rgba(0,0,0,0.2); }
        body.light-theme .nav-btn:hover, body.light-theme .ctrl-btn:hover { background: #000; color: #fff; }
        body.light-theme .view-all-content { color: #000; border-color: #000; }
        body.light-theme .view-all-content:hover { background: #000; color: #fff; }

        /* =========================================
           FULL PAGE DARK/LIGHT MODE FIX
           ========================================= */

        /* 1. Set Default (Dark Mode) for Main Body, Sidebar, and Products */
        body { 
            background-color: #121212; 
            color: #e0e0e0; 
        }
        
        .sidebar { 
            background: #1a1a1a; 
            border: 1px solid #2a2a2a;
            box-shadow: 0 2px 20px rgba(0,0,0,0.5);
        }
        .sidebar h3 { color: #ffffff; }
        .category-list > li { color: #aaaaaa; border-bottom: 1px solid #2a2a2a; }
        .category-list > li:hover, .category-list > li.active { color: #f39c12; }
        
        .product-card { 
            background: #1a1a1a; 
            border: 1px solid #2a2a2a; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
        }
        .img-container { background-color: #222; }
        .product-name { color: #ffffff; }
        .category-tag { color: #aaaaaa; }
        .btn-view { color: #e0e0e0; border-color: #e0e0e0; }
        .btn-view:hover { background: #f39c12; color: #111; border-color: #f39c12; }

        @media (max-width: 850px) {
            .category-list > li { border: 1px solid #333; }
        }

        /* 2. Light Theme Overrides for Main Body, Sidebar, and Products */
        body.light-theme { 
            background-color: #f4f4f4; 
            color: #222222; 
        }
        
        body.light-theme .sidebar { 
            background: #ffffff; 
            border: 1px solid #eeeeee; 
            box-shadow: 0 2px 20px rgba(0,0,0,0.04); 
        }
        body.light-theme .sidebar h3 { color: #111111; }
        body.light-theme .category-list > li { color: #777777; border-bottom: 1px solid #eeeeee; }
        body.light-theme .category-list > li:hover, body.light-theme .category-list > li.active { color: #d32f2f; background: transparent; padding-left: 10px; }
        
        body.light-theme .product-card { 
            background: #ffffff; 
            border: 1px solid #f0f0f0; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
        }
        body.light-theme .img-container { background-color: #eaeaea; }
        body.light-theme .product-name { color: #111111; }
        body.light-theme .category-tag { color: #777777; }
        body.light-theme .btn-view { color: #111111; border-color: #111111; }
        body.light-theme .btn-view:hover { background: #d32f2f; color: #ffffff; border-color: #d32f2f; }
        body:not(.light-theme) .nav-logo {filter: invert(1); mix-blend-mode: screen; }
        
        @media (max-width: 850px) {
            body.light-theme .category-list > li { border: 1px solid #ddd; }
            body.light-theme .category-list > li:hover, body.light-theme .category-list > li.active { background: #d32f2f; color: #ffffff; padding-left: 15px; }
        }

#scroll-nav {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99; /* Ensures it stays on top of other elements */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#scroll-nav button {
    width: 45px;
    height: 45px;
    border: none;
    outline: none;
    background-color: #333; /* Dark grey */
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%; /* Makes it a circle */
    font-size: 18px;
    transition: background-color 0.3s, opacity 0.3s;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

#scroll-nav button:hover {
    background-color: #555; /* Lighter grey on hover */
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.floating-wa-btn {
    position: fixed;
    bottom: 130px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-wa-btn svg {
    width: 32px;
    height: 32px;
}

.floating-wa-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20b858;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Make it slightly smaller on mobile and shift up to avoid overlap */
@media (max-width: 768px) {
    .floating-wa-btn {
        /* Shifted up to 130px so it sits above the scroll buttons */
        bottom: 130px; 
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    #scroll-nav {
        bottom: 20px;
        right: 20px;
        gap: 8px; /* Slightly tighter gap for mobile */
    }

    .floating-wa-btn svg {
        width: 28px;
        height: 28px;
    }
}

    @media (max-width: 1024px) {
    .nav-links.mobile-active {
        z-index: 999; /* Higher than sidebar */
        display: flex !important; /* Force visibility */
    }
    
    .sidebar {
        z-index: 10; /* Lower than nav */
    }
}