       /* =========================================
           ROOT VARIABLES 
           ========================================= */
        :root {
            --color-primary: #0056b3;
            --color-primary-hover: #004494;
            --color-secondary: #00a8ff;
            --color-text-dark: #1e293b;
            --color-bg-light: #f1f5f9;
            --color-white: #ffffff;
            --color-primary-glow: rgba(0, 86, 179, 0.3);
            --font-body: 'Inter', system-ui, -apple-system, sans-serif;
            --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: var(--font-body);
            background-color: #f8fafc;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

              /* =========================================
           ROOT VARIABLES 
           ========================================= */
        :root {
            --color-primary: #0056b3;
            --color-primary-hover: #004494;
            --color-secondary: #00a8ff;
            --color-text-dark: #1e293b;
            --color-bg-light: #f1f5f9;
            --color-white: #ffffff;
            --color-primary-glow: rgba(0, 86, 179, 0.3);
            --font-body: 'Inter', system-ui, -apple-system, sans-serif;
            --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: var(--font-body);
            background-color: #f8fafc;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* =========================================
           FIXED HEADER
           ========================================= */
        .site-header {
            position: fixed;
            top: 0; left: 0;
            width: 100%;
            z-index: 1200;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            transition: all 0.4s var(--transition-smooth);
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        }

        .site-header.scrolled {
            background: rgba(255,255,255,0.98);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        /* =========================================
           HEADER WRAPPER
           ========================================= */
        .header-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 0;
        }

        .logo a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            height: 48px;
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo:hover img { transform: scale(1.02); }

        /* =========================================
           DESKTOP NAV
           ========================================= */
        .main-nav {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            padding-right: 40px;
        }

        .nav-list {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 4px;
            margin: 0;
            padding: 0;
        }

        .nav-list > li { position: relative; }
        .nav-list > li.has-megamenu { position: static; }

        .nav-link {
            display: block;
            padding: 10px 16px;
            color: var(--color-text-dark);
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            transition: color 0.3s ease;
            position: relative;
            white-space: nowrap;
            cursor: pointer;
        }

        .nav-link:hover, .nav-link.active { color: var(--color-primary); }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0; left: 50%;
            transform: translateX(-50%);
            width: 0; height: 3px;
            background: var(--color-primary);
            transition: width 0.3s ease;
            border-radius: 3px 3px 0 0;
        }

        .nav-link:hover::after, .nav-link.active::after { width: 60%; }

        /* Dropdown Arrow */
        .has-dropdown > .nav-link { padding-right: 28px; }

        .has-dropdown > .nav-link::before {
            content: '';
            position: absolute;
            right: 8px; top: 50%;
            transform: translateY(-50%);
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 5px solid currentColor;
            transition: transform 0.3s ease;
        }

        .has-dropdown:hover > .nav-link::before {
            transform: translateY(-50%) rotate(180deg);
        }

        /* =========================================
           DROPDOWNS (Desktop)
           ========================================= */
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            background: var(--color-white);
            min-width: 260px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.12);
            border-radius: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s var(--transition-smooth);
            list-style: none;
            padding: 10px 0;
            border-top: 4px solid var(--color-primary);
            z-index: 1300;
        }

        .dropdown-right > .dropdown-menu { left: auto; right: 0; }

        .has-dropdown:hover > .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li a {
            display: block;
            padding: 12px 24px;
            color: #475569;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }

        .dropdown-menu li a:hover {
            background: var(--color-bg-light);
            color: var(--color-primary);
            border-left-color: var(--color-primary);
            padding-left: 28px;
        }

        /* =========================================
           MEGAMENU (Desktop)
           ========================================= */
        .megamenu-panel {
            position: absolute;
            top: calc(100% + 5px);
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            width: 96vw;
            max-width: 1200px;
            background: var(--color-white);
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
            border-radius: 0 0 12px 12px;
            border-top: 4px solid var(--color-primary);
            padding: 30px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s var(--transition-smooth);
            z-index: 1300;
            max-height: calc(100vh - 90px);
            overflow-y: auto;
            list-style: none;
        }

        .megamenu-panel::-webkit-scrollbar { width: 6px; }
        .megamenu-panel::-webkit-scrollbar-track { background: var(--color-bg-light); }
        .megamenu-panel::-webkit-scrollbar-thumb { background: rgba(0,86,179,0.4); border-radius: 4px; }

        .has-megamenu:hover > .megamenu-panel {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .megamenu-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        .mega-col h4 {
            color: var(--color-text-dark);
            font-size: 13px;
            font-weight: 700;
            margin: 0 0 12px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--color-bg-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mega-col ul { list-style: none; padding: 0; margin: 0; }

        .mega-col ul li a {
            padding: 7px 0;
            color: #64748b;
            font-size: 13.5px;
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .mega-col ul li a::before {
            content: '→';
            margin-right: 8px;
            opacity: 0;
            transform: translateX(-8px);
            transition: all 0.2s ease;
            color: var(--color-primary);
            font-size: 12px;
        }

        .mega-col ul li a:hover {
            color: var(--color-primary);
            transform: translateX(4px);
        }

        .mega-col ul li a:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* =========================================
           HEADER CTA
           ========================================= */
        .header-cta { flex-shrink: 0; }

        .btn-get-quote {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--color-primary);
            color: var(--color-white);
            padding: 12px 28px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px var(--color-primary-glow);
        }

        .btn-get-quote:hover {
            transform: translateY(-2px);
            background: var(--color-primary-hover);
            box-shadow: 0 8px 25px rgba(0,86,179,0.4);
        }

        /* =========================================
           MOBILE TOGGLE BUTTON
           ========================================= */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 32px;
            height: 26px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1500;
            flex-shrink: 0;
        }

        .mobile-menu-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: var(--color-text-dark);
            border-radius: 10px;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        /* Hamburger → X animation */
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: translateY(11.5px) rotate(45deg);
        }
        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .mobile-menu-toggle.active span:nth-child(3) {
            transform: translateY(-11.5px) rotate(-45deg);
        }

        /* Overlay */
        .nav-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 1199;
        }
        .nav-overlay.active { display: block; }

        /* =========================================
           RESPONSIVE — TABLET & MOBILE
           ========================================= */
        @media (max-width: 1024px) {

            .mobile-menu-toggle { display: flex; }
            .header-cta { display: none; }

            /* Slide-in panel */
            .main-nav {
                position: fixed;
                top: 0; right: -105%;
                width: 320px;
                height: 100vh;
                background: var(--color-white);
                padding: 70px 0 30px;
                box-shadow: -8px 0 30px rgba(0,0,0,0.15);
                transition: right 0.4s var(--transition-smooth);
                overflow-y: auto;
                z-index: 1400;
                flex-direction: column;
                justify-content: flex-start;
                padding-right: 0;
            }

            .main-nav.active { right: 0; }

            .nav-list {
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
                gap: 0;
            }

            .nav-list > li {
                width: 100%;
                border-bottom: 1px solid #e9eef4;
            }

            .nav-link {
                padding: 16px 20px;
                font-size: 15px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .nav-link::after { display: none; }

            /* Arrow stays inside on mobile */
            .has-dropdown > .nav-link::before {
                position: static;
                transform: none;
                margin-left: 6px;
                transition: transform 0.3s ease;
                flex-shrink: 0;
            }

            .has-dropdown.open > .nav-link::before {
                transform: rotate(180deg);
            }

            /* Hide hover-based dropdowns on mobile */
            .has-dropdown:hover > .dropdown-menu { opacity: 0; visibility: hidden; }
            .has-megamenu:hover > .megamenu-panel { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); }

            /* Mobile dropdown — hidden by default, shown via JS */
            .dropdown-menu,
            .megamenu-panel {
                position: static !important;
                opacity: 1 !important;
                visibility: visible !important;
                transform: none !important;
                box-shadow: none !important;
                border: none !important;
                border-radius: 0 !important;
                display: none;
                background: #f8fafc;
                padding: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                max-height: none !important;
                overflow: visible !important;
                min-width: unset !important;
                border-top: none !important;
            }

            .dropdown-menu.open,
            .megamenu-panel.open { display: block; }

            .dropdown-menu li a {
                padding: 13px 20px 13px 38px;
                border-left: 3px solid transparent;
                font-size: 14px;
            }

            .dropdown-menu li a:hover {
                padding-left: 44px;
            }

            /* Megamenu mobile grid reset */
            .megamenu-grid {
                display: block;
            }

            .mega-col {
                width: 100%;
                border-bottom: 1px solid #e9eef4;
            }

            .mega-col h4 {
                padding: 14px 20px 14px 38px;
                margin: 0;
                background: #edf2f7;
                font-size: 12px;
                border-bottom: 1px solid #dde3ea;
                cursor: default;
            }

            .mega-col ul li a {
                padding: 11px 20px 11px 50px;
                font-size: 13.5px;
                transform: none !important;
            }

            .mega-col ul li a::before { display: none; }
        }

        @media (max-width: 480px) {
            .logo img { height: 40px; }
            .main-nav { width: 88%; }
        }

        /* =========================================
   MOBILE MENU ALIGNMENT OVERRIDE
   ========================================= */
@media (max-width: 1024px) {
    /* 1. Ensure the link container spreads across the full width */
    .nav-list > li > .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }

    /* 2. Hide the old arrow that is pushing the text to the right */
    .has-dropdown > .nav-link::before {
        display: none !important;
    }

    /* 3. Recreate the arrow on the right side (after the text) */
    .has-dropdown > .nav-link::after {
        content: '';
        display: inline-block;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 10px;
    }

    /* 4. Rotate the new right-side arrow when the accordion opens */
    .has-dropdown.open > .nav-link::after {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   Product Page Layout Styles
   ========================================================================== */

/* Base Container */
.product-page-layout {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Grid Layout (Desktop Side-by-Side) */
.product-grid-amazon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Image Section (Left Side)
   ========================================================================== */
.product-image-section {
    /* Makes the image sticky so it follows the user as they scroll long specs */
    position: sticky;
    top: 20px; 
    height: fit-content;
}

#mainProductImage {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 20px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.product-thumb-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px; /* For scrollbar breathing room */
}

/* Thumbnail Buttons */
.thumb-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-btn:hover {
    border-color: #b3d4ff;
}

.thumb-btn.is-active {
    border-color: #0056b3; /* Highlight active thumbnail */
}

/* ==========================================================================
   Product Info Section (Right Side)
   ========================================================================== */
.product-info-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-main-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Features List */
.product-features-list {
    margin-bottom: 30px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
}

.product-features-list h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

.product-features-list ul {
    margin: 0;
    padding-left: 20px;
}

.product-features-list li {
    margin-bottom: 8px;
    color: #444;
}

/* Specifications Table */
.product-specifications h3 {
    font-size: 1.4rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
}

.spec-table tr:nth-child(even) {
    background-color: #fdfdfd;
}

.spec-table tr:hover {
    background-color: #f1f5f9;
}

/* Target the first column of the table (Property names) */
.spec-table td:first-child {
    font-weight: 600;
    color: #444;
    width: 40%;
    background-color: #f8fafc;
}

/* First row highlight for Price */
.spec-table tr:first-child td:last-child {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b12704; /* Amazon-style price color */
}

/* ==========================================================================
   Buttons (CTA & Catalogue)
   ========================================================================== */
.product-cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary-large, 
.btn-secondary-large {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary-large {
    background-color: #0056b3;
    color: #ffffff;
    border: 2px solid #0056b3;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-primary-large:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-2px);
}

.btn-secondary-large {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-secondary-large:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Full Description & Bottom Section
   ========================================================================== */
.product-full-description {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-full-description h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #111;
}

.catalogue-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */
@media (max-width: 900px) {
    .product-grid-amazon {
        grid-template-columns: 1fr; /* Stack images on top of info */
        gap: 30px;
        padding: 20px;
    }

    .product-image-section {
        position: static; /* Disable sticky on mobile */
    }

    .product-info-section h1 {
        font-size: 1.8rem;
    }

    .product-cta-buttons {
        flex-direction: column; /* Stack buttons on mobile */
    }

    .btn-primary-large, 
    .btn-secondary-large {
        width: 100%;
    }
    
    .product-full-description {
        padding: 20px;
    }
}

/* =========================================
   FLOATING BUTTONS (WhatsApp & Back to Top)
   ========================================= */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ensures buttons never overlap */
    z-index: 2000;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white, #ffffff);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

/* Hover Animation */
.floating-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* WhatsApp Styling */
.whatsapp-btn {
    background-color: #25D366; 
}
.whatsapp-btn:hover {
    background-color: #1ebe57;
}

/* Back to Top Styling */
.back-to-top {
    background-color: var(--color-primary, #0056b3); 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-hover, #004494);
    transform: translateY(-4px); /* Overrides the transform origin to ensure it floats up */
}

/* RESPONSIVE: Tablet */
@media (max-width: 1024px) {
    .floating-container {
        bottom: 25px;
        right: 25px;
    }
}

/* RESPONSIVE: Phone */
@media (max-width: 480px) {
    .floating-container {
        bottom: 15px;
        right: 15px;
        gap: 12px; /* Rigid spacing to prevent UI overlap on small screens */
    }
    .floating-btn {
        width: 45px;
        height: 45px;
    }
    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}