.product-nav-container {
    width: 100%;
    background-color: #fff;
    margin-top: calc(64px + var(--product-nav-header-clearance, 0px));
}
.product-nav-container .product-nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}
.product-nav-container ul,
.product-nav-container li,
.product-nav-container a {
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #000;
}
.product-nav-container .nav-item.active a {
    text-decoration: underline!important;
    color: #4660FF!important;
}
.product-nav-container p {
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
    margin: 0;
}
.product-nav-container .product-nav-list {
    display: flex;
    align-items: center;
}
.product-nav-container .nav-item a {
    font-size: 14px;
    padding: 12px 24px;
}
.product-nav-container .product-nav-list > .buy-item > a {
    color: #fff;
    background-color: #000;
    border-radius: 40px;
}
.product-nav-container.sticky {
    position: fixed;
    top: var(--product-nav-top, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px 0px rgba(0, 0, 0, .1);
    margin-top: 0;
}
.product-nav-container .product-nav-dropdown, .product-nav-container p .fas {
    display: none;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .product-nav-container .product-nav-wrapper {
        height: 40px;
    }
    .product-nav-container p {
        font-size: 18px;
        line-height: 28px;
    }
    .product-nav-container .nav-item a {
        font-size: 10px;
        padding: 4.5px 8.5px;
    }
}
@media (max-width: 767px) {
    .product-nav-container .product-nav-wrapper {
        height: 50px;
        position: relative;
        padding: 0 1rem;
        z-index: 1002;
    }
    .product-nav-container p {
        flex: 1;
        cursor: pointer;
        position: relative;
        padding-right: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
    }
    .product-nav-container p .fas {
        display: inline-block;
        transition: transform 0.1s linear;
    }
    .product-nav-container .product-nav-toggle[aria-expanded="true"] .fas {
        transform: rotate(180deg);
    }
    .product-nav-container .product-nav-list {
        position: relative;
    }
    .product-nav-container .nav-item {
        background-color: #fff;
        display: none;
    }
    .product-nav-container .nav-item.buy-item {
        display: block;
    }
    .product-nav-container .nav-item a {
        font-size: 14px;
        padding: 8px 16.5px;
    }
    /* 下拉菜单样式 */
    .product-nav-container .product-nav-dropdown {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: var(--product-nav-dropdown-height, 100vh);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    .product-nav-container .product-nav-dropdown.show {
        opacity: 1;
        visibility: visible;
    }
    .product-nav-container .product-nav-dropdown .nav-item {
        display: block !important;
        border-bottom: 1px solid rgba(238, 238, 238, 0.8);
        max-width: 1200px;
        margin: 0 auto;
    }
    .product-nav-container .product-nav-dropdown .nav-item a {
        display: block;
        padding: 16px 24px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }
    .product-nav-container .product-nav-dropdown .nav-item a:hover {
        background-color: #f5f5f5;
    }
    .product-nav-container .product-nav-dropdown .nav-item:last-child a{
        color: #000;
        background-color: #fff;
    }
}

/* Keep the authored appearance; use a real disclosure button only on mobile. */
.product-nav-container [hidden] { display: none !important; }
.product-nav-container .product-nav-toggle {
    width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0;
    background: transparent; color: inherit; box-shadow: none;
    font: inherit; text-align: inherit; text-transform: none; letter-spacing: inherit;
    align-items: center; justify-content: space-between;
}
.product-nav-container .product-nav-toggle:hover,
.product-nav-container .product-nav-toggle:focus {
    background: transparent; color: inherit; box-shadow: none;
}
.product-nav-container a:focus-visible,
.product-nav-container .product-nav-toggle:focus-visible {
    outline: 2px solid currentColor !important; outline-offset: -3px;
}
.product-nav-container .buy-item a { position: relative; white-space: nowrap; }
.product-nav-container .buy-item a[aria-disabled="true"] { cursor: not-allowed; }
.product-nav-container .buy-item a:focus-visible {
    outline: none !important;
    box-shadow: none;
}
.product-nav-container .buy-item a:focus-visible::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 2px solid #fff;
    border-radius: inherit;
    box-shadow: 0 0 0 1px #222;
    pointer-events: none;
}
@media (max-width: 767px) {
    .product-nav-container[data-product-nav-ready][data-product-nav-has-dropdown] .product-nav-heading-text { display: none; }
    .product-nav-container[data-product-nav-ready] .product-nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .product-nav-container .product-nav-dropdown,
    .product-nav-container p .fas { transition: none; }
}
