       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .top-bar {
            background-color: #0a0a0a;
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }

        .top-bar .nav-link {
            color: #bdc3c7;
            text-decoration: none;
            margin-right: 20px;
            font-size: 13px;
        }

        .top-bar .nav-link:hover {
            color: white;
        }

        .main-header {
            background-color: white;
            border-bottom: 1px solid #e9ecef;
            padding: 15px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #2c3e50;
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 8px;
            color: #3498db;
        }

        .search-container {
            position: relative;
            max-width: 4000px;
            margin: 0 auto;
        }

        .search-input {
            border: 1px solid #ddd;
            border-radius: 25px;
            padding: 10px 45px 10px 20px;
            width: 100%;
            font-size: 14px;
            background-color: #f8f9fa;
        }

        .search-input:focus {
            outline: none;
            border-color: #3498db;
            background-color: white;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .search-btn {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
        }

        .search-btn:hover {
            color: #3498db;
        }

        .suggestions-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: white;
        border: 1px solid #ddd;
        border-top: none; /* ✅ REMOVE this line below the input */
        border-radius: 0 0 25px 25px;
        margin-top: -1px; /* ✅ Slight overlap to hide gap */
        overflow: hidden;
        list-style: none;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
        }
        

        .suggestions-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: white;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 25px 25px; /* match the input border radius */
        overflow: hidden;
        list-style: none;
        margin: 0;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        width: 100%; /* ensure it matches input */
        }

        #searchSuggestions {
        display: none; /* Hidden by default until JS shows it */
        }

        .suggestions-list li {
        padding: 10px 20px;
        cursor: pointer;
        font-size: 14px;
        border-top: 1px solid #f0f0f0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }

        .suggestions-list li:hover {
        background-color: #f8f9fa;
        }

        .suggestions-list .no-result {
        color: #888;
        cursor: default;
        }


        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .auth-links {
            font-size: 14px;
            color: #666;
        }

        .auth-links a {
            color: #666;
            text-decoration: none;
            margin: 0 5px;
        }

        .auth-links a:hover {
            color: #3498db;
        }

        .icon-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: #666;
            cursor: pointer;
            position: relative;
            padding: 8px;
        }

        .icon-btn:hover {
            color: #3498db;
        }

        .cart-badge {
            position: absolute;
            top: 0;
            right: 0;
            background-color: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        

        
        a{
            text-decoration: none;
            color: inherit;
        }

        .dropdown-menu {
        min-width: 150px;
        }
        .dropdown-toggle {
        color: #666;
        text-decoration: none;
        }
        .dropdown-toggle:hover {
        color: #3498db;
        }

        
        


        @media (max-width: 768px) {
            .top-bar {
                text-align: center;
            }
            
            .search-container {
                margin: 15px 0;
            }
            
            .header-actions {
                justify-content: center;
                gap: 15px;
            }
            
            .auth-links {
                font-size: 12px;
            }
        }