/* ===== site-nav ===== */

body.is-nav-open {
    overflow: hidden;
}

.btn-menu-bars {
    position: relative;
    display: block;
    width: calc(30 * var(--rpx));
    height: calc(18 * var(--rpx));
    transition:
        opacity 0.28s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-menu {
    position: relative;
}

.btn-menu .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(2 * var(--rpx));
    border-radius: calc(2 * var(--rpx));
    background: #fff;
    transform-origin: center center;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        top 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-menu .bar-top {
    top: 0;
}

.btn-menu .bar-mid {
    top: calc(8 * var(--rpx));
}

.btn-menu .bar-bot {
    top: calc(16 * var(--rpx));
    width: 50%;
}

.btn-menu.is-open .btn-menu-bars {
    opacity: 0;
    transform: scale(0.72);
}

.btn-menu-check {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(30 * var(--rpx));
    aspect-ratio: 33.3359 / 22.7266;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.btn-menu-check svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.btn-menu-check-path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-menu.is-open .btn-menu-check-path {
    stroke-dashoffset: 0;
    transition-delay: 0.06s;
}

.btn-menu:not(.is-open) .btn-menu-check-path {
    transition-delay: 0s;
    transition-duration: 0.32s;
}

.site-nav {
    position: fixed;
    top: calc((var(--header-height) + calc(60 * var(--rpx))) / 2 + calc(10 * var(--rpx)));
    right: calc(var(--header-wrapper-margin) + calc(160 * var(--rpx)));
    --site-nav-col: calc(168 * var(--rpx));
    --site-nav-detail-bonus: calc(184 * var(--rpx));
    --site-nav-col-l2: calc(260 * var(--rpx));
    --site-nav-col-l3: calc(260 * var(--rpx));
    --site-nav-gap: calc(28 * var(--rpx));
    --site-nav-pad: calc(36 * var(--rpx));
    width: calc(var(--site-nav-pad) * 2 + var(--site-nav-col) + var(--site-nav-col-l2) + var(--site-nav-col-l3) + var(--site-nav-gap) * 2);
    height: calc(400 * var(--rpx));
    z-index: 550;
    pointer-events: none;
    visibility: hidden;
}

.site-nav-overlay,
.site-nav-drawer {
    display: none;
}

.site-nav.is-open {
    pointer-events: auto;
    visibility: visible;
}

.site-nav-panel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: var(--site-nav-gap);
    padding: var(--site-nav-pad);
    background: #fff;
    border-radius: calc(10 * var(--rpx));
    overflow: hidden;
    opacity: 0;
    transform: translateY(calc(-10 * var(--rpx))) scale(0.985);
    transform-origin: top right;
}

.site-nav.is-open .site-nav-panel {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-l1 {
    flex: 0 0 var(--site-nav-col);
    min-width: 0;
}

.site-nav-detail {
    flex: 1 1 0;
    display: flex;
    align-items: stretch;
    gap: var(--site-nav-gap);
    min-width: 0;
}

.site-nav-l1-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-l1-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: calc(44 * var(--rpx));
    padding: 0 calc(10 * var(--rpx)) 0 calc(16 * var(--rpx));
    border: none;
    background: transparent;
    text-decoration: none;
    color: #000;
    font-family: inherit;
    font-size: calc(18 * var(--fpx));
    font-weight: 400;
    line-height: calc(44 * var(--rpx));
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateX(calc(-8 * var(--rpx)));
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.site-nav.is-open .site-nav-l1-item {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.25s ease,
        color 0.25s ease;
}

.site-nav.is-open .site-nav-l1-list li:nth-child(1) .site-nav-l1-item { transition-delay: 0.04s; }
.site-nav.is-open .site-nav-l1-list li:nth-child(2) .site-nav-l1-item { transition-delay: 0.07s; }
.site-nav.is-open .site-nav-l1-list li:nth-child(3) .site-nav-l1-item { transition-delay: 0.10s; }
.site-nav.is-open .site-nav-l1-list li:nth-child(4) .site-nav-l1-item { transition-delay: 0.13s; }
.site-nav.is-open .site-nav-l1-list li:nth-child(5) .site-nav-l1-item { transition-delay: 0.16s; }
.site-nav.is-open .site-nav-l1-list li:nth-child(6) .site-nav-l1-item { transition-delay: 0.19s; }

.site-nav-l1-item .arr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: calc(30 * var(--rpx));
    height: calc(30 * var(--rpx));
    border-radius: calc(2 * var(--rpx));
    background: var(--brand-red);
    opacity: 0;
    transform: scale(0.6);
    transition:
        opacity 0.25s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-l1-item .arr img {
    display: block;
    width: calc(9 * var(--rpx));
    height: calc(6 * var(--rpx));
    object-fit: contain;
}

.site-nav-l1-item.is-active,
.site-nav-l1-item:hover {
    background: #F7F7F7;
    border-radius: calc(5 * var(--rpx));
    color: #000;
}

.site-nav-l1-item.is-active .arr {
    opacity: 1;
    transform: scale(1);
}

.site-nav-l2 {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.site-nav-l2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.site-nav-l2-group {
    position: absolute;
    inset: 0;
    padding-left: calc(20 * var(--rpx));
}

.site-nav-l2-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-l2-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(8 * var(--rpx));
    padding: calc(8 * var(--rpx)) 0;
    font-size: calc(15 * var(--fpx));
    font-weight: 400;
    line-height: calc(28 * var(--rpx));
    color: #000;
    text-decoration: none;
    opacity: 0;
    transform: translateY(calc(6 * var(--rpx)));
    transition: color 0.2s ease;
}

.site-nav-l2-item .text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav-l2-item .arr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: calc(24 * var(--rpx));
    height: calc(24 * var(--rpx));
    border-radius: calc(2 * var(--rpx));
    background: var(--brand-red);
    opacity: 0;
    transform: scale(0.6);
    transition:
        opacity 0.25s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-l2-item .arr img {
    display: block;
    width: calc(8 * var(--rpx));
    height: calc(5 * var(--rpx));
    object-fit: contain;
}

.site-nav-l2-item.is-active .arr,
.site-nav-l2-item.has-children:hover .arr {
    opacity: 1;
    transform: scale(1);
}

.site-nav-l2-item.is-active::before,
.site-nav-l2-item:hover::before {
    content: '';
    position: absolute;
    left: calc(-20 * var(--rpx));
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--brand-red);
    z-index: 1;
}

.site-nav-l2-list:hover .site-nav-l2-item.is-active:not(:hover)::before {
    opacity: 0;
}

.site-nav-l2-item.is-active,
.site-nav-l2-item:hover {
    color: #000;
}

.site-nav-l3 {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.site-nav-l3.is-empty {
    flex: 0 0 0;
    width: 0;
    overflow: hidden;
}

.site-nav-detail:has(.site-nav-l3.is-empty) .site-nav-l2 {
    flex: 1 1 auto;
}

.site-nav-l3.is-empty .site-nav-l3-group {
    visibility: hidden;
}

.site-nav-l3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.site-nav-l3-group {
    position: absolute;
    inset: 0;
    padding-left: calc(20 * var(--rpx));
}

.site-nav-l3-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-l3-item {
    position: relative;
    display: block;
    padding: calc(8 * var(--rpx)) 0;
    font-size: calc(14 * var(--fpx));
    font-weight: 400;
    line-height: calc(28 * var(--rpx));
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(calc(6 * var(--rpx)));
    transition: color 0.2s ease;
}

.site-nav-l3-item.is-active::before,
.site-nav-l3-item:hover::before {
    content: '';
    position: absolute;
    left: calc(-20 * var(--rpx));
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--brand-red);
    z-index: 1;
}

.site-nav-l3-list:hover .site-nav-l3-item.is-active:not(:hover)::before {
    opacity: 0;
}

.site-nav-l3-item.is-active,
.site-nav-l3-item:hover {
    color: #000;
}

@media (max-width: 828px) {
    .site-nav-overlay,
    .site-nav-drawer {
        display: block;
    }

    .site-nav-panel--desktop {
        display: none !important;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        z-index: 680;
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.28s ease, visibility 0.28s;
    }

    .site-nav.is-open {
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
    }

    .site-nav-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 12, 36, 0.45);
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .site-nav.is-open .site-nav-overlay {
        opacity: 1;
    }

    .site-nav-drawer {
        position: absolute;
        top: 0;
        right: 0;
        width: calc(640 * var(--rpx));
        max-width: 85vw;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
        box-shadow: calc(-8 * var(--rpx)) 0 calc(32 * var(--rpx)) rgba(0, 12, 36, 0.12);
        transform: translateX(100%);
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
        overflow: hidden;
    }

    .site-nav.is-open .site-nav-drawer {
        transform: translateX(0);
    }

    .site-nav-drawer-head {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: var(--header-height);
        padding: 0 calc(16 * var(--rpx));
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .site-nav-drawer-close {
        width: calc(60 * var(--rpx));
        height: calc(60 * var(--rpx));
        border: none;
        padding: 0;
        background: transparent;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav-drawer-close-icon {
        position: relative;
        width: calc(24 * var(--rpx));
        height: calc(24 * var(--rpx));
    }

    .site-nav-drawer-close-icon::before,
    .site-nav-drawer-close-icon::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: calc(22 * var(--rpx));
        height: calc(2 * var(--rpx));
        background: var(--text-primary);
        transform-origin: center;
    }

    .site-nav-drawer-close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .site-nav-drawer-close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .site-nav-drawer-menu {
        flex: 1;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(32 * var(--rpx));
    }

    .site-nav-mobile-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .site-nav-mobile-row {
        display: flex;
        align-items: stretch;
        min-height: calc(88 * var(--rpx));
    }

    .site-nav-mobile-link {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        padding: calc(24 * var(--rpx)) calc(40 * var(--rpx));
        color: var(--text-primary);
        font-size: calc(32 * var(--rpx));
        font-weight: 400;
        line-height: 1.25;
        text-decoration: none;
    }

    .site-nav-mobile-link:active {
        background: #f7f7f7;
    }

    .site-nav-mobile-expand {
        flex-shrink: 0;
        width: calc(88 * var(--rpx));
        border: none;
        padding: 0;
        background: transparent;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav-mobile-expand span {
        width: calc(16 * var(--rpx));
        height: calc(16 * var(--rpx));
        border-right: calc(2 * var(--rpx)) solid var(--text-muted);
        border-bottom: calc(2 * var(--rpx)) solid var(--text-muted);
        transform: rotate(45deg);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav-mobile-item.is-expanded .site-nav-mobile-expand span {
        transform: rotate(-135deg);
    }

    .site-nav-mobile-sub {
        max-height: 0;
        overflow: hidden;
        background: #f5f6f7;
        transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav-mobile-item.is-expanded .site-nav-mobile-sub {
        max-height: calc(800 * var(--rpx));
    }

    .site-nav-mobile-sub-link {
        display: block;
        padding: calc(18 * var(--rpx)) calc(40 * var(--rpx));
        color: var(--text-muted);
        font-size: calc(28 * var(--rpx));
        line-height: 1.35;
        text-decoration: none;
    }

    .site-nav-mobile-sub-link.is-depth-1 {
        color: var(--text-primary);
        font-weight: 500;
        padding-top: calc(22 * var(--rpx));
    }

    .site-nav-mobile-sub-link.is-depth-2 {
        padding-left: calc(64 * var(--rpx));
        font-size: calc(26 * var(--rpx));
    }

    .site-nav-mobile-sub-link:first-child {
        padding-top: calc(20 * var(--rpx));
    }

    .site-nav-mobile-sub-link:last-child {
        padding-bottom: calc(24 * var(--rpx));
    }

    .site-nav-mobile-sub-link:active {
        color: var(--brand-red);
        background: rgba(223, 7, 22, 0.04);
    }
}

@media (min-width: 829px) {
    .site-nav-overlay,
    .site-nav-drawer {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #smooth-content,
    .site-nav-panel,
    .site-nav-l1-item,
    .site-nav-l2-item,
    .site-nav-l3-item,
    .btn-menu .bar,
    .btn-menu-check-path {
        transition: none !important;
        stroke-dashoffset: 0 !important;
    }
}
