:root {
    --anchor-nav-height: 46px;
}

.anchor-nav {
    display: block;
    position: sticky;
    top: var(--global-header-height);
    z-index: 29; /* NOTE: guarantee anchor-nav to be higher than every fucking thing, except site's own header, see section-header.css */
    background-color: #f7f7f7;
    transition: top 0.1s;
}

anchor-nav {
    display: block;
}

.anchor-nav__container-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    padding: 13px 0;
    color: #02060b;
}

.anchor-nav__title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    color: #040921;
}

.anchor-nav__btn-list {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 50px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(153 153 153/1);
}

.anchor-nav__btn-item__btn {
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.anchor-nav__btn-item__btn.active {
    color: #000000;
}

.anchor-nav__btn-item-buy {
    background-color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border-radius: 61px;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    height: 42px;
    color: #040921;
    flex-shrink: 0;
}

.anchor-nav__btn-item-buy svg {
    width: 20px;
    height: 20px;
}

.anchor-nav__container-mobile {
    display: none;
}

@media screen and (max-width: 679px) {
    :root {
        --anchor-nav-height: 94px;
    }
    anchor-nav.page-width {
        padding: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .anchor-nav__container-pc {
        display: none;
    }
    .anchor-nav__container-mobile {
        display: block;
        padding: 16px;
        height: 94px;
    }

    .anchor-nav__title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* height: 43px; */
        color: #02060b;
        border-bottom: 1px solid #d9d9d9;
        padding-bottom: 10px;
    }

    .anchor-nav__title {
        font-size: 18px;
        font-weight: 600;
        line-height: 1;
    }

    .anchor-nav__btn-item-buy {
        padding: 5px 16px;
        font-size: 12px;
        font-weight: 600;
        height: 24px;
    }

    .anchor-nav__btn-item-buy svg {
        width: 12px;
        height: 12px;
    }

    .anchor-nav__btn-list {
        display: flex;
        gap: 15px;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1;
        height: 16px;
        align-items: center;
    }
}
@media screen and (min-width: 680px) and (max-width: 959px) {
    :root {
        --anchor-nav-height: 176px;
    }
    anchor-nav.page-width {
        padding: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .anchor-nav__container-pc {
        display: none;
    }
    .anchor-nav__container-mobile {
        display: block;
        padding: 24px;
        height: 176px;
    }

    .anchor-nav__title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 78px;
        color: #02060b;
        border-bottom: 1px solid #d9d9d9;
        padding-bottom: 18px;
    }

    .anchor-nav__title {
        font-size: 32px;
        font-weight: 600;
    }

    .anchor-nav__btn-item-buy {
        padding: 17px 30px;
        font-size: 22px;
        font-weight: 600;
        height: 60px;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

    .anchor-nav__btn-item-buy svg {
        min-width: 24px;
        height: 24px;
    }

    .anchor-nav__btn-item__btn {
        line-height: 1;
    }

    .anchor-nav__btn-list {
        display: flex;
        gap: 27px;
        margin-top: 18px;
        font-size: 22px;
        line-height: 1;
    }
}

@media screen and (min-width: 960px) {
    .anchor-nav__btn-item__btn:hover {
        color: #000000;
    }
}

@media screen and (min-width: 960px) and (max-width: 1439px) {
    :root {
        --anchor-nav-height: 34px;
    }
    .anchor-nav__container {
        height: 34px;
        padding: 8px 0;
    }

    .anchor-nav__title {
        font-size: 14px;
    }

    .anchor-nav__btn-item__btn {
        font-size: 10px;
    }

    .anchor-nav__btn-item-buy {
        padding: 4px 10px;
        font-size: 10px;
        font-weight: bold;
        height: 18px;
    }

    .anchor-nav__btn-item-buy svg {
        width: 10px;
        height: 10px;
    }

    .anchor-nav__btn-list {
        gap: 30px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    anchor-nav.page-width {
        --page-width: 900px;
    }
    :root {
        --anchor-nav-height: 30px;
    }
    .anchor-nav__container {
        height: 30px;
        padding: 10px 0;
    }
    .anchor-nav__btn-item-buy {
        font-size: 10px;
        height: 22.5px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 75px;
        white-space: nowrap;
        gap: 3px;
    }

    .anchor-nav__btn-item-buy svg {
        min-width: 9px;
        height: 9px;
    }

    .anchor-nav__title {
        font-size: 16px;
    }

    .anchor-nav__btn-item__btn {
        font-size: 12px;
    }

    .anchor-nav__btn-list {
        gap: 30px;
    }
}

@media screen and (min-width: 1920px) {
    :root {
        --anchor-nav-height: 40px;
    }
    anchor-nav.page-width {
        --page-width: 1200px;
    }
    .anchor-nav__container {
        height: 40px;
        padding: 0px 0;
    }
    .anchor-nav__btn-item-buy {
        font-size: 12px;
        height: 30px;
        width: 100px;
        white-space: nowrap;
        padding: 0;
        margin-left: -24px;
        gap: 4px;
    }

    .anchor-nav__btn-item-buy svg {
        width: 12px;
        height: 12px;
    }

    .anchor-nav__title {
        font-size: 20px;
    }

    .anchor-nav__btn-item__btn {
        font-size: 14px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .anchor-nav__btn-list {
        gap: 60px;
        height: 100%;
    }
}
