﻿.hnav {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

    .hnav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

.hnav__track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    min-width: max-content;
}

.hnav__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}

    .hnav__item:hover {
        background: #f3f4f6;
        color: #111827;
    }

    .hnav__item.active {
        background: #eff6ff;
        color: #2563eb;
        font-weight: 600;
    }

.hnav-dropdown {
    position: fixed;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 4px 0;
    min-width: 180px;
    animation: dropdownIn 0.12s ease;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hnav-dropdown a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
}

    .hnav-dropdown a:hover {
        background: #f3f4f6;
    }

    .hnav-dropdown a.active {
        background: #eff6ff;
        color: #2563eb;
        font-weight: 600;
    }
