/* Sticky Navigation Menu */
.subnav-menus-anchors {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #f9f9f9;
    transition: all 150ms ease-in-out;
    z-index: 1000;
}

.subnav-menus-anchors.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.subnav-menus-inner {
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 1200px;
}

.subnav-menus-title {
    display: none;
}

.subnav-menus-arrow-before,
.subnav-menus-arrow-after {
    position: absolute;
    bottom: 0;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    z-index: 1;
    width: 40px;
    height: 48px;
    cursor: pointer;
    justify-content: center;
}

.subnav-menus-arrow-before {
    left: 0;
}

.subnav-menus-arrow-after {
    right: 0;
}

.subnav-menus-arrow-before::after {
    content: ' ';
    position: absolute;
    top: 0;
    right: -16px;
    width: 16px;
    height: 100%;
    background: linear-gradient(-90deg, rgba(249,249,249,0) 0, #f9f9f9 100%);
}

.subnav-menus-arrow-after::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: -16px;
    width: 16px;
    height: 100%;
    background: linear-gradient(90deg, rgba(249,249,249,0) 0, #f9f9f9 100%);
}

.subnav-menus-items {
    flex-shrink: 1;
    overflow-y: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subnav-menus-items::-webkit-scrollbar {
    display: none;
}

.subnav-menus-items ul {
    display: flex;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.subnav-menus-point {
    padding: 4px 16px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.subnav-menus-point a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #111;
    line-height: 20px;
    min-height: 48px;
    height: 100%;
    user-select: none;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color 150ms ease-in-out;
}

.subnav-menus-point a:hover {
    color: #e64c3d;
}

.subnav-menus-point:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 0;
    height: 4px;
    background: #e64c3d;
    transform: translateX(-50%);
    transition: all 150ms ease-in-out;
}

.subnav-menus-point.active a {
    color: #e64c3d;
}

.subnav-menus-point.active:after {
    width: 24px;
}

/* Arrow icons */
.arrow-icon {
    font-size: 40px;
    color: #222;
}

.arrow-icon:hover {
    color: #e64c3d;
}

/* Responsive */
@media (max-width: 768px) {
    .subnav-menus-inner {
        flex-direction: column;
    }

    .subnav-menus-title {
        margin-right: 0;
        min-height: 40px;
        max-width: 100%;
        position: relative;
    }

    .subnav-menus-title::after {
        content: ' ';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: #eee;
    }

    .subnav-menus-point {
        max-width: 183px;
    }

    .subnav-menus-point a {
        min-height: 40px;
    }
}
