/* Header and Navigation Styles - Completely Redesigned */
.head-nav-container {
    width: 100%;
    background-color: #006eb7;
    position: relative;
    z-index: 1000;
}

.head-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5px;
}

/* Logo styles */
.head-nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.head-nav-logo img {
    height: 60px;
    width: auto;
}

/* Main navigation styles */
.head-nav-categories {
    flex: 1;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
}

.head-nav-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
    padding: 10px 0;
}

.head-nav-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome, Safari, Opera */
}

.head-nav-categories-list {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.head-nav-category-item {
    margin: 0 12px;
}

.head-nav-category-item:first-child {
    margin-left: 0;
}

.head-nav-category-item:last-child {
    margin-right: 0;
}

.head-nav-category-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.head-nav-category-link:hover {
    opacity: 0.9;
}

.head-nav-category-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.head-nav-category-link:hover:after {
    width: 100%;
}

/* Scroll buttons */
.head-nav-scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-30%);
    background-color: rgba(0, 110, 183, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.head-nav-categories:hover .head-nav-scroll-button {
    opacity: 1;
}

.head-nav-scroll-button:focus {
    outline: none;
}

.head-nav-scroll-left {
    left: 0;
}

.head-nav-scroll-right {
    right: 0;
}

/* Search icon compatibility with original styles */
.head-nav-wrapper .Search-icon {
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.head-nav-wrapper .Search-icon:hover {
    opacity: 0.8;
}

/* Responsive styles */
@media (max-width: 768px) {
    .head-nav-categories {
        margin: 0 10px;
    }

    .head-nav-category-item {
        margin: 0 8px;
    }

    .head-nav-category-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .head-nav-wrapper {
        height: 60px;
    }

    .head-nav-logo img {
        height: 40px;
    }

    .head-nav-categories {
        margin: 0 5px;
    }

    .head-nav-category-link {
        font-size: 13px;
    }
}