/* ============================================================
   桌面端导航栏（pcNav）
   ============================================================ */
.nav-scope {
    .layout[data-v-d1ff918a] {
        position: relative;
        z-index: 1000
    }

    .navbar[data-v-d1ff918a] {
        height: 80px;
        background: #fffffff2;
        display: flex;
        justify-content: center
    }

    .nav-container[data-v-d1ff918a] {
        display: flex;
        align-items: center;
        gap: 70px;
        padding: 0 20px;
        width: 100%
    }

    .logo[data-v-d1ff918a] {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        min-width: 120px;
        cursor: pointer
    }

    .logo img[data-v-d1ff918a] {
        width: 180px;
        height: auto;
        max-height: 50px;
        object-fit: contain;
        display: block
    }

    .shoplogo[data-v-d1ff918a] {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        min-width: 120px;
        cursor: pointer;
        width: 180px;
        justify-content: flex-end
    }

    .shoplogo img[data-v-d1ff918a] {
        width: 100px;
        height: auto;
        max-height: 35px;
        object-fit: contain;
        display: block
    }

    .nav-links[data-v-d1ff918a] {
        display: flex;
        list-style: none;
        gap: 45px;
        margin: 0;
        padding: 0;
        flex: 1;
        justify-content: center
    }

    .nav-item[data-v-d1ff918a] {
        position: relative;
        height: 60px;
        display: flex;
        align-items: center
    }

    .nav-link[data-v-d1ff918a] {
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0 4px;
        display: flex;
        align-items: center;
        position: relative;
        transition: color .3s ease;
        height: 100%;
        white-space: nowrap
    }

    .nav-underline[data-v-d1ff918a] {
        position: absolute;
        bottom: 15px;
        left: 0;
        width: 100%;
        height: 2px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .3s cubic-bezier(.4, 0, .2, 1);
        border-radius: 1px
    }

    .nav-link:hover .nav-underline[data-v-d1ff918a],
    .nav-link.active .nav-underline[data-v-d1ff918a] {
        transform: scaleX(1);
        background: #4ecdee !important
    }

    .dropdown-wrapper {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        z-index: 1000;
        opacity: 1;
    }

    .mega-dropdown {
        background: #fff;
        box-shadow: 0 25px 50px #0003;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .mega-dropdown-content {
        display: flex;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        height: 100%;
        box-sizing: border-box;
    }

    .sidebar-nav {
        width: 250px;
        flex-shrink: 0;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 100%;
        box-sizing: border-box
    }

    .sidebar-title {
        margin-bottom: 8px;
        padding: 0;
        color: rgba(0, 0, 0, 0.45);
        font-size: 12px;
        font-family: 'Open Sans';
        line-height: 1.5;
    }



    .sidebar-item[data-v-d1ff918a] {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 8px;
        border-radius: 10px;
        cursor: pointer;
        transition: all .3s ease;
        color: #262626;
        height: auto;
        /* box-sizing: border-box; */
        flex-shrink: 0;
        -webkit-user-select: none;
        user-select: none
    }

    .sidebar-item[data-v-d1ff918a]:hover,
    .sidebar-item.active[data-v-d1ff918a] {
        background: #f3f6f8;
    }

    .sidebar-text[data-v-d1ff918a] {
        /* font-weight: 500; */
        /* font-family: Krona One; */
        font-family: ali5;
        font-size: 14px;
        flex: 1
    }

    .sidebar-icon {
        width: 40px;
        height: 40px;
        object-fit: contain;
        flex-shrink: 0;
        display: block;
    }

    .preview-area[data-v-d1ff918a] {
        flex: 1;
        padding: 20px 24px;
        background: #fff;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        overflow: hidden
    }

    .preview-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .preview-current-title {
        color: #252F34;
        font-size: 16px;
        line-height: 2;
        font-family: 'Krona One';
    }

    .preview-products {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    /* 卡片 */
    .product-card[data-v-d1ff918a] {
        width: 165px;
        min-width: 0;
        min-height: 200px;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 16px;
        border: 1.5px solid #F7F7F8;
        border-radius: 12px;
        background: #FFF;
        transition: box-shadow 0.3s, transform 0.2s, border-color 0.3s;
        text-decoration: none;
        box-sizing: border-box;
        cursor: pointer;
    }

    .product-card[data-v-d1ff918a]:hover:not(.placeholder) {
        border-color: rgba(0, 178, 255, 0.75);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transform: none;
    }

    .product-tag {
        flex-shrink: 0;
        height: 15px;
        margin-bottom: 10px;
        color: #00E4D1;
        font-family: 'Krona One';
        font-size: 14.4px;
        font-weight: 500;
        line-height: 1.1;
        text-align: left;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        word-break: break-word;
        padding: 0;
        box-sizing: border-box;
    }

    /* 商品名 */
    .product-name[data-v-d1ff918a] {
        flex-shrink: 0;
        min-height: 32px;
        margin-bottom: 10px;
        color: #252F34;
        font-size: 14.4px;
        font-weight: 600;
        line-height: 1.1;
        text-align: left;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        word-break: break-word;
        padding: 0;
        box-sizing: border-box;
    }

    /* 图片外层 */
    .product-image-wrapper[data-v-d1ff918a] {
        width: 100%;
        /* flex: 1; */
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 图片 */
    .product-image[data-v-d1ff918a] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform .3s ease;
    }

    .product-card[data-v-d1ff918a]:hover .product-image[data-v-d1ff918a] {
        transform: scale(1.05);
    }


    .search-box-wrapper[data-v-d1ff918a] {
        min-width: 180px
    }

    .search-box-placeholder[data-v-d1ff918a] {
        min-width: 180px;
        height: 40px
    }

    .search-box[data-v-d1ff918a] {
        position: relative;
        display: flex;
        align-items: center;
        min-width: 180px
    }

    .search-input[data-v-d1ff918a] {
        width: 180px;
        height: 40px;
        padding: 0 36px 0 14px;
        border: 2px solid #e2e8f0;
        border-radius: 20px;
        background: #f7fafc;
        font-size: .9rem;
        transition: all .3s ease
    }

    .search-input[data-v-d1ff918a]:focus {
        outline: none;
        border-color: #4ecdee;
        background: #fff
    }

    .search-btn[data-v-d1ff918a] {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border: none;
        background: #4ecdee;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform .2s ease
    }

    .search-btn[data-v-d1ff918a]:hover {
        transform: translateY(-50%) scale(1.05)
    }

    .placeholder[data-v-d1ff918a] {
        width: 100%
    }

    /* Store 按钮 */
    .store-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 18px;
        background: #61d6ee;
        color: #fff;
        border-radius: 24px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        transition: all .3s;
        line-height: 1
    }

    .store-btn:hover {
        background: #4dc8e0;
        transform: translateY(-1px)
    }

    .store-btn.scrolled-dark {
        background: #252f34;
        color: #fff
    }

    .store-btn.nav-top {
        background: transparent;
        color: #fff;
        border: 2px solid #fff;
        padding: 6px 16px
    }

    .store-btn.nav-top:hover {
        background: rgba(255, 255, 255, .15)
    }

    /* ============================================================
   移动端导航栏（mbNav）
   ============================================================ */

    .layout[data-v-195e076f] {
        position: relative;
        z-index: 1000
    }

    .mobile-nav[data-v-195e076f] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        width: 100%;
        height: 50px;
        transition: background-color .3s ease
    }

    .nav-bar[data-v-195e076f] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        height: 50px;
        box-shadow: none;
        transition: box-shadow .3s ease, background-color .3s ease;
        z-index: 100;
        box-sizing: border-box
    }

    .menu-btn[data-v-195e076f] {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        -webkit-tap-highlight-color: transparent
    }

    .hamburger[data-v-195e076f] {
        width: 22px;
        height: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .hamburger span[data-v-195e076f] {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #50e6fe;
        border-radius: 2px;
        transition: all .3s ease;
        transform-origin: center
    }

    .hamburger.is-active span[data-v-195e076f]:nth-child(1) {
        transform: translateY(9px) rotate(45deg)
    }

    .hamburger.is-active span[data-v-195e076f]:nth-child(2) {
        opacity: 0;
        transform: scaleX(0)
    }

    .hamburger.is-active span[data-v-195e076f]:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg)
    }

    .logo-container[data-v-195e076f] {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 157px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .logo[data-v-195e076f] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain
    }

    .logo-placeholder[data-v-195e076f] {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f0f0f0;
        color: #666;
        font-size: 14px;
        font-weight: 700;
        border-radius: 4px
    }

    .store-logo[data-v-195e076f] {
        width: 20px
    }

    .fullscreen-menu[data-v-195e076f] {
        position: fixed;
        inset: 50px 0 0;
        background-color: #fff;
        z-index: 999;
        overflow-y: hidden
    }

    .text[data-v-195e076f],
    .category-text[data-v-195e076f] {
        height: 30px;
        text-align: center
    }

    .search-container[data-v-195e076f] {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 16px 0;
        box-sizing: border-box
    }

    .search-box[data-v-195e076f] {
        width: 90%;
        height: 30px;
        background-color: #f5f5f5;
        border-radius: 15px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        cursor: pointer;
        transition: background-color .2s ease;
        box-sizing: border-box
    }

    .search-box[data-v-195e076f]:active {
        background-color: #e8e8e8
    }

    .search-icon[data-v-195e076f] {
        width: 16px;
        height: 16px;
        color: #999;
        flex-shrink: 0
    }

    .search-text[data-v-195e076f] {
        margin-left: 8px;
        color: #999;
        font-size: 14px;
        flex: 1;
        -webkit-user-select: none;
        user-select: none
    }

    .menu-content[data-v-195e076f] {
        display: flex;
        height: calc(100%);
        position: relative
    }



    /* 移动端手风琴导航样式 */
    .mobile-accordion-nav {
        width: 100%;
        background: #fff;
        overflow-y: auto;
        height: 100%;
        padding: 8px 0;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    .accordion-item {
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        background: #fff;
    }

    .accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        background: #fff;
        border: none;
        font-size: 16px;
        font-weight: 500;
        color: #252F34;
        cursor: pointer;
        transition: background 0.2s ease;
        text-align: left;
        box-sizing: border-box;
    }

    .accordion-header:hover,
    .accordion-header:active {
        background: #f9f9f9;
    }

    .accordion-header.static {
        cursor: default;
        background: #fff;
        pointer-events: none;
    }

    .accordion-title {
        flex: 1;
        font-family: ali5, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .accordion-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        color: #999;
        width: 20px;
        height: 20px;
    }

    .accordion-icon svg {
        width: 16px;
        height: 16px;
    }

    /* 激活状态：旋转箭头 */
    .accordion-item.active .accordion-icon {
        transform: rotate(180deg);
    }

    /* 面板：默认隐藏，展开显示 */
    .accordion-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        background: #fafafa;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .accordion-item.active .accordion-panel {
        max-height: 300px;
        /* 足够展示内容 */
        padding: 8px 20px 16px 20px;
    }

    /* 链接样式 */
    .accordion-link {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        color: #555;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        transition: color 0.2s ease, padding-left 0.2s ease;
        font-weight: 400;
        line-height: 1.4;
    }

    .accordion-link:last-child {
        border-bottom: none;
    }

    .accordion-link:hover,
    .accordion-link:active {
        color: #4ecdee;
        padding-left: 6px;
    }

    /* 语言面板特殊处理 */
    .accordion-language .accordion-header.static {
        color: #252F34;
        padding: 16px 20px;
        border-bottom: none;
    }

    .accordion-language .accordion-panel.language-panel {
        background: #fafafa;
        padding: 8px 20px 16px 20px;
    }

    .accordion-language .accordion-panel.language-panel .accordion-link {
        display: flex;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .accordion-language .accordion-panel.language-panel .accordion-link:last-child {
        border-bottom: none;
    }

    .accordion-language .accordion-panel.language-panel .accordion-link img {
        display: inline-block;
        vertical-align: middle;
    }

    /* 确保全屏菜单内容可滚动 */
    .fullscreen-menu .menu-content {
        overflow-y: auto;
        height: 100%;
        -webkit-overflow-scrolling: touch;
    }


    /* 无展开项：箭头朝右，且不随 active 旋转 */
    .accordion-item.no-panel .accordion-icon {
        transform: none !important;
        color: #999;
    }

    /* 朝右箭头（默认就是朝右，这里明确一下） */
    .accordion-item.no-panel .accordion-icon.icon-right svg {
        transform: rotate(0deg);
    }

    /* 无展开项的 header 作为链接时，去掉 button 默认样式 */
    .accordion-header.static-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        background: #fff;
        border: none;
        font-size: 16px;
        font-weight: 500;
        color: #252F34;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
        transition: background 0.2s ease;
    }

    .accordion-header.static-link:hover,
    .accordion-header.static-link:active {
        background: #f9f9f9;
    }

    /* 无展开项不显示 panel 的 padding 过渡（因为根本没有 panel） */
    .accordion-item.no-panel .accordion-panel {
        display: none;
    }



    /* ============================================================
   移动端导航栏（mbNav）-动画
   ============================================================ */
    .slide-enter-active[data-v-195e076f],
    .slide-leave-active[data-v-195e076f] {
        transition: transform .5s ease
    }

    .slide-enter-from[data-v-195e076f],
    .slide-leave-to[data-v-195e076f] {
        transform: translateY(-100%)
    }

    @supports (padding-top: env(safe-area-inset-top)) {
        .nav-bar[data-v-195e076f] {
            padding-top: env(safe-area-inset-top);
            height: calc(50px + env(safe-area-inset-top))
        }

        .fullscreen-menu[data-v-195e076f],
        .overlay[data-v-195e076f] {
            top: calc(50px + env(safe-area-inset-top))
        }
    }

    /* ============================================================
   语言切换（yuyan）
   ============================================================ */

    .yuyan {
        position: relative;
        float: right;
        /* padding-top:38px; */
    }

    .yuyan .yuyanon {
        color: #000;
    }

    .yuyan:hover .language {
        display: block;
    }

    .language {
        position: absolute;
        top: 0px;
        left: -15px;
        display: none;
        z-index: 99;
        padding-top: 70px;
    }

    .language dl {
        padding: 5px !important;
        width: max-content;
        margin-left: -px;
        padding: 0;
        background: #fff;
        overflow: hidden;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        -ms-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        -webkit-border-radius: 4px;
        -ms-border-radius: 4px;
        border-radius: 4px;
    }

    .language dd {
        height: 30px;
        line-height: 30px;
        margin: 0;
        overflow: hidden;
    }

    .language dd a {
        font-size: 12px;
        color: #222;
        padding: 0 10px !important;
        background-color: #fff !important;
        font-weight: unset !important;
        display: flex !important;
        align-items: center;
        text-decoration: none;
        -webkit-transition: all 0.3s;
        -ms-transition: all 0.3s;
        transition: all 0.3s;
    }

    .language dd a:hover {
        color: #0db083;
    }

    /* 语言移动端 css */
    @media (max-width:900px) {
        .yuyan {
            position: relative;
            float: none;
            padding-top: 10px;
            display: flex;
            justify-content: center;
        }

        .yuyan .yuyanon {
            color: #fff;
        }

        .language {
            position: absolute;
            top: 0px;
            left: auto;
            display: none;
            z-index: 99;
            padding-top: 45px;
        }
    }

    /* ============================================================
   响应式：移动端隐藏桌面导航 / 显示移动导航
   ============================================================ */

    @media screen and (max-width:768px) {
        .navbar[data-v-d1ff918a] {
            display: none !important;
        }
    }

    @media (min-width: 769px) {
        .mobile-nav[data-v-195e076f] {
            display: none
        }
    }

    /* ============================================================
   全局重置与显示工具类（补充）
   ============================================================ */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box
    }

    body,
    html {
        margin: 0;
        padding: 0
    }

    button,
    input,
    textarea {
        color: inherit;
        appearance: none;
        resize: none;
        margin: 0;
        font: inherit;
        outline: none;
        border-width: 0px;
        border-style: initial;
        border-color: initial;
        border-image: initial;
        background: none
    }

    .is-mobile {
        display: none
    }

    .is-web {
        display: block
    }

    @media screen and (max-width:768px) {
        .is-web {
            display: none !important;
        }

        .is-mobile {
            display: block !important;
        }

        .navbar[data-v-d1ff918a] {
            display: none !important;
        }
    }

}