  /* CSS for the dropdown animation */
  #products-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    position: absolute;
    left: 0;
    margin-top: 0.5rem;
    display: flex;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    flex-direction: row;
    flex-wrap: wrap;
    white-space: nowrap;
    min-width: max-content;
    max-width: 200px;
    right: auto;
}

#products-menu-container:hover #products-dropdown,
#products-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    #mobile-menu {
        display: none;
        background-color: white;
        border-radius: 0.375rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb;
        overflow: hidden;
        margin-top: 0.5rem;
    }

    #mobile-menu.show {
        display: block;
    }
}

#products-dropdown li {
    margin-right: 1rem;
    margin-bottom: 0;
}

#products-dropdown li:last-child {
    margin-right: 0;
}
 @media (max-width: 768px) {
#products-dropdown {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
}
#products-dropdown li{
    margin-right: 0;
    margin-bottom: 0.5rem;
}
}