/* Header styles for e-commerce */
    .header {
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        padding: 12px 0;
        transition: all 0.3s ease;
    }

    .header.scrolled {
        padding: 8px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .logo img {
        max-height: 36px;
        transition: all 0.3s ease;
    }

    .header.scrolled .logo img {
        max-height: 32px;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
    }

    .navmenu ul li {
        position: relative;
        margin: 0 15px;
    }

    .navmenu ul li a {
        display: flex;
        align-items: center;
        padding: 8px 0;
        font-size: 15px;
        font-weight: 500;
        color: #433f39;
        white-space: nowrap;
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
    }

    .navmenu ul li a:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #5c9ead;
        transition: width 0.3s ease;
    }

    .navmenu ul li a:hover,
    .navmenu ul li .active {
        color: #5c9ead;
    }

    .navmenu ul li a:hover:after,
    .navmenu ul li .active:after {
        width: 100%;
    }

    .search-container {
        width: 220px;
        transition: all 0.3s ease;
    }

    .search-container:hover {
        width: 250px;
    }

    .search-form .input-group {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .search-form .input-group:focus-within {
        box-shadow: 0 2px 8px rgba(92, 158, 173, 0.3);
    }

    .search-input {
        border: none;
        padding: 8px 15px;
        font-size: 14px;
    }

    .search-input:focus {
        box-shadow: none;
    }

    .search-button {
        background-color: #5c9ead;
        border: none;
        color: white;
        padding: 0 12px;
    }

    .search-button:hover {
        background-color: #4a8399;
    }

    .cart-icon {
        color: #433f39;
        font-size: 20px;
        position: relative;
        transition: all 0.3s ease;
    }

    .cart-icon:hover {
        color: #5c9ead;
        transform: scale(1.1);
    }

    .cart-badge {
        font-size: 10px;
        padding: 3px 6px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    .user-icon-btn {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        color: #5c9ead;
        transition: all 0.3s ease;
    }

    .user-icon-btn:hover {
        background-color: #5c9ead;
        color: white;
        border-color: #5c9ead;
    }

    .user-dropdown {
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        padding: 10px;
        margin-top: 10px;
    }

    .user-dropdown .dropdown-item {
        border-radius: 0.3rem;
        margin: 2px 0;
        transition: all 0.2s ease;
    }

    .user-dropdown .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #5c9ead;
    }

    .auth-buttons .btn {
        font-size: 14px;
        font-weight: 500;
        padding: 6px 15px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .auth-buttons .btn-outline-primary {
        border-color: #5c9ead;
        color: #5c9ead;
    }

    .auth-buttons .btn-outline-primary:hover {
        background-color: #5c9ead;
        border-color: #5c9ead;
    }

    /* Mobile Auth Button */
    .mobile-auth-btn {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        color: #5c9ead;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: all 0.3s ease;
    }

    .mobile-auth-btn:hover {
        background-color: #5c9ead;
        color: white;
        border-color: #5c9ead;
    }

    .mobile-auth-dropdown {
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        padding: 10px;
        margin-top: 10px;
        min-width: 160px;
    }

    .mobile-auth-dropdown .dropdown-item {
        border-radius: 0.3rem;
        margin: 2px 0;
        transition: all 0.2s ease;
    }

    .mobile-auth-dropdown .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #5c9ead;
    }

    .mobile-search-bar {
        display: none;
        padding: 10px 15px;
        border-top: 1px solid #eee;
        background-color: #fff;
    }

    .mobile-search-form .input-group {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    }

    .mobile-search-input {
        border: none;
        padding: 8px 15px;
        font-size: 14px;
    }

    .mobile-search-input:focus {
        box-shadow: none;
    }

    .mobile-search-button {
        background-color: #5c9ead;
        border: none;
        color: white;
        padding: 0 12px;
    }

    .mobile-nav-toggle {
        font-size: 24px;
        cursor: pointer;
        color: #433f39;
        transition: all 0.3s ease;
    }

    .mobile-nav-toggle:hover {
        color: #5c9ead;
    }

    @media (max-width: 991.98px) {
        .mobile-search-bar {
            display: block;
        }

        .search-container {
            display: none;
        }

        .navmenu {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100vh;
            background-color: #fff;
            transition: all 0.4s ease;
            padding: 20px;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 9999;
            overflow-y: auto;
        }

        .navmenu.active {
            right: 0;
        }

        .navmenu ul {
            flex-direction: column;
            align-items: flex-start;
            margin-top: 30px;
        }

        .navmenu ul li {
            margin: 0 0 15px;
            width: 100%;
        }

        .navmenu ul li a {
            padding: 10px 15px;
            width: 100%;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .navmenu ul li a:hover {
            background-color: rgba(92, 158, 173, 0.1);
        }

        .navmenu ul li a:after {
            display: none;
        }

        .mobile-nav-toggle {
            position: absolute;
            top: 15px;
            right: 15px;
        }

        .header-right-elements {
            margin-left: auto;
        }

        .cart-icon {
            margin-right: 15px !important;
        }

        .auth-buttons {
            display: none !important;
        }
    }

    @media (max-width: 575.98px) {
        .header-right-elements {
            gap: 8px;
        }

        .mobile-auth-btn {
            width: 32px;
            height: 32px;
        }

        .mobile-auth-btn i {
            font-size: 16px;
        }
    }