@media (min-width: 960px) {
    .uk-navbar-left,
    .uk-navbar-right,
    [class*="uk-navbar-center"] {
        gap: 0.6rem;
    }
}

@media (min-width: 960px) {
    .uk-navbar-nav {
        gap: 34px;
    }
}

.uk-navbar-item {
    column-gap: 0.5714em;
}

.site-header {
    background-color: var(--bg-light-1);

    .uk-navbar-nav > li > a {
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        font-family: "Inter", sans-serif;
        text-decoration: none;
        color: var(--secondary-color);
        text-transform: capitalize;
        column-gap: 0.5rem;

        &:hover {
            color: var(--primary-color);
        }
    }

    .mobile-menu-btn {
        width: 40px;
        height: 36px;
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--color-link);
        padding: 0;
        border: 1px solid #f7f2ed;
        border-radius: 6px;
        min-height: inherit;
    }
}

.site-header.uk-active {
    z-index: 981 !important;
}

.categories-nav {
    position: relative;
    

    .scroll-arrow {
        position: absolute;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(to right, transparent, var(--bg-light-7) 40%);
        width: 40px;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .scroll-arrow.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-arrow-icon {
        width: 8px;
        height: 8px;
        border-right: 1px solid var(--secondary-color);
        border-bottom: 1px solid var(--secondary-color);
        transform: rotate(-45deg);
    }
}

.categories-nav-inner {
    overflow-x: auto; /* Enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    border-top: 1px solid #f9f5f1;

    .categories-flex {
        display: flex;
        justify-content: space-between;
        min-width: max-content;
        width: 100%;
        gap: 1.4rem;

        .category-link {
            color: var(--color-text-3);
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
            transition: color 0.3s;
            text-align: center;
            padding-top: 12px;
            padding-bottom: 13px;

            &:hover {
                color: var(--primary-color);
                text-decoration: none;
            }
        }
    }
}

.categories-nav-inner::-webkit-scrollbar {
    width: 12px; /* Change this value to adjust scrollbar thickness */
    height: 12px; /* For horizontal scrollbars */
}

.categories-nav-inner::-webkit-scrollbar-track {
    background: #fefcf7;
}

.categories-nav-inner::-webkit-scrollbar-thumb {
    background: #b1884f;
}

.categories-nav-inner::-webkit-scrollbar-thumb:hover {
    background: #b1884f;
}

.categories-nav-inner {
    scrollbar-width: thin;
    scrollbar-color: #b1884f #fefcf7;
}

/* Sub Header Normal */
.sub-header {
    margin-top: -46px;
    margin-bottom: 46px;

    .sub-header-inner {
        padding-top: 38px;
        padding-bottom: 38px;
        @include svg("sub-header");
        background-size: cover;
        background-position: top center;

        @include s {
            background-position: top left;
            padding-top: 38px;
            padding-bottom: 38px;
        }
    }

    .sub-header-title {
        font-size: 1.6rem;
        font-style: normal;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 12px;

        @include s {
            font-size: 1.4rem;
        }
    }

    .sub-header-desc {
        font-size: 1rem;
        margin-top: 0;
    }

    .uk-breadcrumb {
        margin-bottom: 0;
    }
}

.uk-breadcrumb > * > * {
    color: var(--color-text-2);
}

.uk-breadcrumb > :last-child > a:not([href]),
.uk-breadcrumb > :last-child > span {
    color: var(--secondary-color);
    font-weight: 600;
}

/* For Trainers */
.sub-header-trainer {
    .trainer-header-content {
        @include s {
            display: grid;
            justify-content: center;
            text-align: center;
            gap: 20px;
        }
    }

    .sub-header-title {
        margin-bottom: 6px;
    }
    .trainer-description {
        font-size: 1rem;
        margin-top: 0;
        margin-bottom: 0;
    }
    .trainer-specialty {
        background-color: #fff;
        margin-top: 10px;
        margin-bottom: 16px;
        padding: 4px 12px;
        border-radius: var(--br-8);
        color: var(--primary-color);
    }
    .breadcrumb-container {
        margin-top: 10px;
    }
    .trainer-avatar {
        @include s {
            width: 120px;
            height: 120px;
            margin: 0 auto;
        }
    }

    .profile-status,
    .trainer-rating {
        @include s {
            justify-content: center;
            display: inline-flex;
        }
    }
}

/* Single Sub Header */
.trainer-actions {
    @include s {
        flex-direction: row-reverse;
        justify-content: center !important;
    }
}

.trainer-header-actions {
    justify-content: end;
    display: none;
    opacity: 0;

    .action-button {
        background-color: transparent;
        border: 1px solid #fff;
        color: #fff;
        border-radius: var(--br-8);
        width: 36px;
        height: 36px;
        cursor: pointer;
        transition: all 0.1s ease-in-out;

        &:hover {
            background-color: var(--secondary-color);
            color: #fff;
            border-color: var(--secondary-color);
        }
    }
}

.active.favorited {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.page-trainer-single {
    .trainer-header-actions {
        display: flex;
        opacity: 1;
    }

    .user-wallet {
        display: none;
    }

    .trainer-actions {
        @include s {
            gap: 32px;
        }
    }

    .sub-header-inner {
        @include svg("sub-header-trainer");
        @include s {
            background-position: top right -600px;
        }

        .sub-header-title {
            color: #fff;
        }

        .trainer-description {
            color: #efe7dc;
        }

        .trainer-specialty {
            background-color: rgba(255, 255, 255, 0.09);
            color: #fff;
        }

        .trainer-rate {
            color: #fff !important;
        }
        .uk-text-muted {
            color: #efe7dc !important;
        }
    }
}

.user-statics {
    .static-num {
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 600;
        color: var(--primary-color);
    }
}

.uk-dropdown {
    box-shadow: none;
    border: 2px solid var(--border-color);
    border-radius: var(--br-8);
}

.uk-dropdown-nav > li > a {
    color: var(--secondary-color);
    &:hover {
        color: var(--primary-color);
    }
}


.header-submenu {
    .uk-dropdown {
        padding: 0.5rem 1rem;
    }
    .uk-nav li > a {
        column-gap: 0.2rem;
        padding: 0.5rem 0;

        .uk-icon {
            width: 24px;
        }
    }

    .uk-nav li {
        border-bottom: 1px solid var(--border-color);

        &:last-child {
            border-bottom: 0;
        }
    }
}

.btn-login {
    background-color: var(--secondary-color);
    color: #fff;
    width: 38px;
    height: 38px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: var(--br-8);
    border: none;
    cursor: pointer;
    &:hover {
        background-color: var(--secondary-color-hover);
        color: #fff;
    }
}
