/* 
TABLE OF CONTENTS
==================
1. Global Reset &amp; Typography 
2. Body &amp; Background Overlay
3. Navigation Bar (.navbar-custom)
4. Category Navigation Sidebar
5. Main Content Layout
6. Product Sections &amp; Containers
7. Product Images &amp; Effects
8. Product Details (Title, Description, Attributes)
9. CTA Buttons &amp; Interactions
10. Navigation Dots &amp; Scroll Progress
11. Footer Styles
12. Animations &amp; Keyframes
13. Responsive Design (Media Queries)
14. Mobile Category Menu

Jump comments below each section header.
*/ 
/* =====INTRODUCTION===== */
.product-section[data-section="0.01"] .product-title {
    font-size: 80px;
    position: relative;
    width: 100vw;
    justify-content: center;
    font-weight: 900;
}
.product-section .product-description {
    max-width: 1000px;
    width: 300vw;
    justify-content: center;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.774);
    text-align: justify;
}

@media (max-width: 768px) {
    .product-section[data-section="0.01"] .product-title {
        font-size: 20px;
        
    }
    
    .product-section[data-section="0.01"] .product-description {
        font-size: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-section[data-section="0.01"] .product-title {
        font-size: 20px;
        text-align: left;
    }
    
    .product-section[data-section="0.01"] .product-description {
        font-size: 1rem;
        width: 100%;
    }
}

/* ===== 1. Global Reset & Typography ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    background: #f0f0f0; /* fallback */
}

/* ===== 2. Body & Background Overlay ===== */
/* Fixed full-screen background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/MenuBG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    opacity: 0.3; /* subtle overlay effect */
}

/*******************************************/
/*   03.  Navbar         */
/******************************************/
.navbar-custom {
  background: #ffffff !important; /* SOLID WHITE ONLY */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font: 800 0.9rem/1rem "Open Sans", sans-serif;
  transition: all 0.3s ease;
  border-radius: 0 0 1rem 1rem; /* soft rounded bottom */
  padding-left: 0px;
}

@media (max-width: 992px) {
  .navbar-custom {
    padding-left: 0;
  }
}



.navbar-custom .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important; /* Remove Bootstrap container limits */
    margin: 0 !important;
    margin-left: 2rem !important; /* Small left margin for mobile */
    margin-right: 2rem !important; /* Small right margin for mobile */
}

.navbar-custom .navbar-brand.logo-image img {
  width: 5.5rem;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  position: center;
}

.navbar-custom .navbar-brand.logo-text {
  font: 700 2rem/1.5rem "Open Sans", sans-serif;
  color: #067d06;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-item{
    color:#067d06;
}


.navbar-custom .nav-item .nav-link,
.navbar-custom .dropdown-toggle {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #067d06;
}

.navbar-custom .nav-item .nav-link.active::after {
  width: 80%;
}

.navbar-custom .dropdown-toggle::after {
  display: inline-block;
  content: "";
  margin-left: 0.3rem;
  color: #f3f8f3 !important;
  font-weight: normal;
  font-size: 0.8em;
  border: none;
  vertical-align: middle;
}


.navbar-custom .dropdown-toggle {
  font-weight: 700;
  color: #034B03 !important;
}

.navbar-custom .dropdown-toggle:hover {
  color: #067d06 !important;
}

.navbar-custom .nav-item .nav-link:hover {
  color: #067d06;
  opacity: 1;
}


/* Dropdown Menu */
.navbar-custom .dropdown:hover > .dropdown-menu {
  display: block;
  min-width: auto;
  animation: slideDropdown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  background: transparent !important;
  backdrop-filter: blur(20px);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-custom .dropdown-menu:hover::before {
  box-shadow: 0 16px 40px rgba(40, 167, 69, 0.3);
  background: transparent !important;
}



/* ===== 4. Category Navigation Sidebar ===== */
/* Category Navigation - FULLY TRANSPARENT + HORIZONTALLY SCROLLABLE */
.category-nav {
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(90vh - 90px);
    width: 250px;
    background: transparent; /* Completely transparent */
    backdrop-filter: none;   /* No blur effect */
    border: none;            /* No borders */
    box-shadow: none;        /* No shadow */
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    z-index: 1002;
}

/* Scrollable Categories Container - Transparent */
.categories-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(40, 167, 69, 0.6) transparent;
}

/* Webkit Scrollbar - Transparent track */
.categories-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.categories-scroll-container::-webkit-scrollbar-track {
    background: transparent; /* Transparent track */
    border-radius: 10px;
    margin: 4px 0;
}

.categories-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(32, 201, 151, 0.9));
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.categories-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(32, 201, 151, 1), rgba(40, 167, 69, 1));
    transform: scale(1.1);
}

/* Individual Category Items - Transparent base */
.category-item {
    display: block;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.75rem;
    margin-right: 0.5rem;
    font-weight: 700;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.452);
    cursor: pointer;
    background: transparent; /* Completely transparent */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle white border */
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Text shadow for readability */
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.5s;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover, 
.category-item.active {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.95), 
        rgba(32, 201, 151, 0.9)
    );
    color: white !important;
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

/* Active category indicator - Enhanced */
.category-item.active::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 12px rgba(40, 167, 69, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(-50%) scale(1); 
        box-shadow: 0 0 0 2px rgba(255,255,255,0.8), 0 0 12px rgba(40, 167, 69, 0.6);
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-50%) scale(1.4); 
        box-shadow: 0 0 0 4px rgba(255,255,255,0.6), 0 0 20px rgba(40, 167, 69, 0.8);
    }
}

/* Smooth scroll behavior */
.category-nav,
.categories-scroll-container {
    scroll-behavior: smooth;
}

/* ===== 5. Main Content Layout ===== */
/* Update main content margin (keep same as before) */
.main-content {
    margin-top: 100px;
    margin-left: 280px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 100px);
    padding: 2rem;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .category-nav {
        width: 220px;
    }
    
    .main-content {
        margin-left: 250px;
    }
}

@media (max-width: 992px) {
    .category-nav {
        display: none;
    }
    
    .main-content {
        margin-top: 80px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .category-nav {
        width: 200px;
    }
    
    .main-content {
        margin-left: 230px;
    }
}

/* ===== 6. Product Sections & Containers ===== */
        /* Clean minimalist product sections - NEW BACKGROUND */
        .product-section {
            height: 100vh;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: none; /* subtle overlay over fixed bg */
            backdrop-filter: none; /* No blur, just a clean transparent layer */
            overflow: hidden;
            scroll-snap-align: start;
            z-index: 10;
        
        }

        .product-section:nth-child(even) {
            /* Creative alternating overlay for even sections */
            background: none; /* subtle overlay over fixed bg */
            backdrop-filter: none;
        }

        .product-container {
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            padding: 0 5%;
            display: flex;
            align-items: center;
            gap: 8%;
            height: 100%;
            background: none; /* Let the fixed background shine through */
            backdrop-filter: none; /* No blur, just a clean transparent layer */
        }

/* ===== 7. Product Images & Effects ===== */
        /* Left: Product Image - Enhanced for clean showcase */
        .product-image-container {
            flex: 1;
            height: 80vh;
            max-width: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none; /* Let the fixed background shine through */
            backdrop-filter: none; /* No blur, just a clean transparent layer */
        }

        .product-image {
            width: 90%;
            height: auto;
            max-height: 600px;
            object-fit: contain;
            border-radius: 2rem;
            /* Enhanced parallax-ready shadow */
            box-shadow: none;
            transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
            transform: translateZ(0) translateY(0px);
            will-change: transform;
            /* Crisp image rendering */
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }

        .product-section:hover .product-image {
            transform: scale(1.02) rotateY(2deg) translateY(-10px);
            box-shadow: none;
        }
        

        /* Creative gradient overlay animation */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: radial-gradient(circle at 20% 80%, rgba(40, 167, 69, 0.03) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(32, 201, 151, 0.03) 0%, transparent 50%),
                        linear-gradient(45deg, rgba(163, 224, 135, 0.02) 0%, transparent 100%);
            z-index: 2;
            animation: gradientShift 8s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes gradientShift {
            0%, 100% { transform: translateX(0) scale(1); opacity: 0.5; }
            33% { transform: translateX(-20px) scale(1.05); opacity: 0.7; }
            66% { transform: translateX(20px) scale(0.95); opacity: 0.4; }
        }


        
/* ===== 8. Product Details (Title, Description, Attributes) ===== */
        /* Right: Product Details */
        .product-details {
            flex: 1;
            padding: 2rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 550px;
        }

        .product-badge {
            display: inline-block;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 2rem;
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
            align-self: flex-start;
        }

        .product-title {
            font-size: 50px;
            font-weight: 800;
            color: #1a1a1a;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #1a1a1a 0%, #28a745 50%, #20c997 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            
        }
        .product-section[data-section="5"] .product-title {
            font-size: 40px;
        }
        .product-description {
            font-size: 1.25rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        .product-attributes {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .attribute-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem;
            /* Clean white cards with subtle backdrop */
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 1.5rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            will-change: transform, opacity;
        }

        .attribute-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            border-color: rgba(40, 167, 69, 0.2);
        }

        /* Hover tooltips for attribute icons */
        .attribute-icon {
            position: relative;
        }

        .attribute-icon:hover::after {
            content: attr(title);
            position: absolute;
            bottom: 110%;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #333, #555);
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 0.5rem;
            white-space: nowrap;
            font-size: 0.875rem;
            font-weight: 500;
            z-index: 100;
            margin-bottom: 0.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            opacity: 0;
            pointer-events: none;
            transition: all 0.2s ease;
        }

        .attribute-icon:hover::after {
            opacity: 1;
        }

        .attribute-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #28a745, #20c997);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .attribute-text {
            font-weight: 600;
            color: #1a1a1a;
        }

/* ===== 9. CTA Buttons & Interactions ===== */
        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 3rem;
            background: linear-gradient(135deg, #034B03, #28a745);
            color: white;
            font-size: 1.125rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 3rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 15px 35px rgba(3, 75, 3, 0.3);
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .cta-button:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 50px rgba(3, 75, 3, 0.4);
            color: white;
        }

        .cta-button .icon {
            transition: transform 0.3s ease;
        }

        .cta-button:hover .icon {
            transform: translateX(8px);
        }

/* ===== 10. Navigation Dots & Scroll Progress ===== */
        /* Navigation Dots - Updated for 15 sections */
        .nav-dots {
            position: fixed;
            right: 3rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            z-index: 1003;
        }

        .nav-dot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(26, 26, 26, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-dot.active {
            background: #28a745;
            transform: scale(1.3);
            box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
        }

        /* Animated Creative Scroll Progress */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 250px;
            width: 0%;
            height: 6px;
            background: linear-gradient(90deg, #28a745, #20c997, #28a745);
            background-size: 200% 100%;
            z-index: 1001;
            transition: width 0.1s ease, background-position 0.5s ease;
            box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
            animation: shimmer 3s infinite linear;
        }

@keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        @keyframes progressGlow {
            to { transform: scaleX(1); }
        }

        .scroll-progress::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 20px;
            height: 100%;
            background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
            transform: scaleX(0);
            animation: progressGlow 0.6s ease-out 0.3s both;
        }

        @media (max-width: 992px) {
            .scroll-progress {
                left: 0;
            }
        }

        /* Navbar integration */
        .navbar-custom {
            z-index: 1003 !important;
        }

        /* Smooth scroll snapping */
        html {
            scroll-snap-type: y mandatory;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .product-container {
                flex-direction: column;
                gap: 4rem;
                padding: 0 8%;
                text-align: center;
            }

            .product-image-container {
                height: 50vh;
                max-width: 100%;
            }

            .product-image {
                max-height: 400px;
            }

            .nav-dots {
                right: 0rem;
            }
        }

        @media (max-width: 768px) {
            .product-container {
                padding: 5%;
            }

            .product-details {
                padding: auto;
                max-width: 100%;
            }

            .product-title {
                font-size: 2.25rem;
            }

            .product-description {
                font-size: 1rem;
            }

            .product-attributes {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .nav-dots {
                right: 1.5rem;
                gap: 0.75rem;
            }

            .nav-dot {
                width: 12px;
                height: 12px;
            }
        }

/* ===== 11. Footer Styles ===== */
        /* Footer Styles */
        .footer-frame {
            margin-top: -1px;
            width: 100%;
            height: 2.25rem;
        }

        .footer-ultra {
            padding: 5rem 0 3rem;
            background: linear-gradient(135deg, #034B03 0%, #047857 50%, #065f46 100%);
            color: #ffffff;
        }

        .footer-ultra .container > .row {
            display: flex;
            gap: 2rem;
        }

        .footer-ultra h4 {
            color: #f3f7fd;
            margin-bottom: 1.75rem;
        }

        .footer-col {
            flex: 1;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 0.75rem;
        }

        .footer-col ul li a {
            color: #f3f7fd;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: #34d399;
        }

        .copyright-creative {
            background: #034B03;
            padding: 2rem 0;
            text-align: center;
            color: #f3f7fd;
            font-weight: 600;
        }
        
/* Mobile Menu Toggle Button */
.mobile-category-toggle {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 110px; /* Below navbar */
    left: 20px;
    z-index: 1005;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.mobile-category-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
}

/* TOP NAVBAR - MOBILE FRIENDLY WHITE BACKGROUND */
@media (max-width: 992px) {
    /* DESTROY ALL CONFLICTING DESKTOP STYLES */
    .navbar-custom {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
        padding: 10px !important;
        min-height: 10px !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1003 !important;
        border-radius: 10px !important;
        
        /* CRITICAL: OVERRIDE DESKTOP POSITIONING */
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        
        /* REMOVE ALL ABSOLUTE POSITIONING */
        padding-left: 1rem !important; /* NO 200px padding */
    }
    
    /* LOGO - NO MORE ABSOLUTE */
    .navbar-brand {
        position: relative !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        max-height: 50px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        z-index: auto !important;
    }
    
    .navbar-brand img {
        height: 70px !important;
        width: auto !important;
        filter: brightness(1) !important;
    }
    
    /* KILL DESKTOP RIGHT NAV */
    .navbar-nav-right {
        display: none !important;
    }
    
    /* FORCE NAVBAR LINKS SIDE-BY-SIDE */
    .navbar-nav,
    .navbar-nav.ml-auto {
        /* DESTROY ABSOLUTE POSITIONING */
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        
        /* NEW FLEX LAYOUT */
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        width: auto !important;
    }
    
    .nav-item {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    /* REGULAR LINKS - NOT BUTTONS */
    .nav-link {
        position: relative !important;
        font-size: 0.9rem !important;
        padding: 0.6rem 0.85rem !important;
        white-space: nowrap !important;
        color: #333 !important;
        background: none !important;
        border: none !important;
        border-radius: 0.5rem !important;
        height: auto !important;
        min-width: auto !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: right !important;
        justify-content: center !important;
    }
    
    .nav-link:hover {
        background: rgba(0,0,0,0.08) !important;
        color: #333 !important;
    }
    
    /* HIDE TOGGLER */
    .navbar-toggler {
        display: none !important;
    }
    
    /* FORCE COLLAPSE VISIBLE */
    .navbar-collapse,
    #navbarsExampleDefault {
        display: flex !important;
        position: static !important;
        transform: none !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }

     .navbar-nav,
    .navbar-nav.ml-auto {
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        
        /* NEW FLEX LAYOUT - RIGHT ALIGNED */
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important; /* Already good */
        gap: 0.5rem !important;
        margin-left: auto !important; /* PUSH TO RIGHT */
        margin-right: 0.5rem !important; /* Small right margin */
        padding: 0 !important;
        flex-shrink: 0 !important;
        width: auto !important;
        flex-grow: 0 !important; /* Don't grow */
    }
}

/* MOBILE: Show both navbar + mobile category menu */
@media (max-width: 992px) {
    /* HIDE DESKTOP SIDEBAR, SHOW MOBILE TOGGLE */
    .category-nav {
        display: none !important;
    }
    
    .mobile-category-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        top: 110px; /* Below white navbar */
        left: 20px;
    }
    
    .main-content {
        margin-top: 90px !important; /* Account for white navbar */
        margin-left: 0 !important;
        padding: 1rem;
    }
    
    /* Free scrolling on mobile */
    html {
        scroll-snap-type: none !important;
    }
    
    /* Mobile product layout */
    .product-section {
        height: auto !important;
        min-height: 80vh;
        padding: 4rem 0;
        scroll-snap-align: none !important;
    }
    
    .product-container {
        flex-direction: column !important;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .product-image-container {
        height: 50vh !important;
    }
    
    .product-image {
        max-height: 350px;
        width: 100%;
    }
    
    .product-details {
        text-align: center;
        padding: auto;
    }
    
    .product-title {
        font-size: 2.5rem !important;
    }
    
    .product-attributes {
        grid-template-columns: 1fr;
    }
    
    .nav-dots {
        display: none !important;
    }
    
    .scroll-progress {
        left: 0 !important;
    }
}

/* Mobile Category Menu Overlay */
.mobile-category-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1004;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 170px; /* Space for navbar + toggle */
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-category-menu.active {
    left: 0;
}

.mobile-category-menu .categories-scroll-container {
    height: calc(100vh - 170px);
    padding: 1rem;
}

.mobile-category-menu .category-item {
    margin-bottom: 1rem;
    font-size: 18px;
    padding: 1.5rem 2rem;
}

/* Smaller screens */
@media (max-width: 768px) {
    .mobile-category-toggle {
        top: 105px;
        left: 15px;
        width: 55px;
        height: 55px;
    }
    
    .main-content {
        margin-top: 85px !important;
        padding: 0.5rem;
    }
    
    .product-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .product-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .product-image-container {
        height: 40vh !important;
    }
    
    .product-image {
        max-height: 280px;
    }
    
    .product-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .mobile-category-toggle {
        top: 100px;
        left: 12px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .main-content {
        margin-top: 80px !important;
    }
    
    .product-title {
        font-size: 1.75rem !important;
    }
    
    .mobile-category-menu {
        width: 260px;
        padding-top: 160px;
    }
}

.back-to-home-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 10px;   /* Distance from bottom */
    right: 10px;    /* Distance from right */
    z-index: 1005;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.back-to-home-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
}

.back-to-home-btn span {
    font-size: 0.875rem;
    font-weight: 300;
    margin-left: 0rem;
    white-space: nowrap;
}

