
/* 按钮和可点击元素的特殊处理 */
button, .btn, [role="button"], .clickable,a,div,p,span,h1,h2,h3,h4,h5,h6,* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 移动端按钮点击样式优化 */
button, .btn, [role="button"], .clickable {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    border: none;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button:focus, .btn:focus, [role="button"]:focus, .clickable:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button:active, .btn:active, [role="button"]:active, .clickable:active {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
/* 头部/导航样式 */

/* 防止导航栏产生横向滚动 */
/* .navigation-section {
    overflow-x: hidden;
} */

.navigation-section * {
    max-width: 100%;
}

/* 导航 */
.navigation-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255,1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 16px 0;
}

.navigation-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 46px;
}
.navigation-brand{
    -webkit-box-flex: 0.6;
    -webkit-flex: 0.6;
        -ms-flex: 0.6;
            flex: 0.6;
}
.navigation-brand .navigation-logo {
    cursor: pointer;
    height: 40px;
    width: auto;
}

.navigation-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 32px;
    /* margin-right:100px; */
    margin-right: 30px;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-flex:2;
    -webkit-flex:2;
        -ms-flex:2;
            flex:2;
}

.navigation-dropdown {
    position: relative;
    display: inline-block;
}

.navigation-dropdown-toggle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.navigation-dropdown-arrow {
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.navigation-dropdown:hover .navigation-dropdown-arrow {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

/* 用户下拉菜单打开时箭头旋转 */
.navigation-user-dropdown .navigation-user-dropdown-menu.show ~ .navigation-user-toggle .navigation-dropdown-arrow {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

/* 箭头旋转状态 */
.navigation-dropdown-arrow.rotated {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

.navigation-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    /* border-radius: 8px; */
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 27px;
}

.navigation-dropdown:hover .navigation-dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

/* 产品下拉菜单特定悬停行为 */
.navigation-dropdown:hover .products-dropdown {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.navigation-dropdown-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.navigation-dropdown-item::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 60px;
    height: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    opacity: 0.8;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navigation-dropdown-item[href*="kilipos"]::after {
    background-image: url('../images/pos-banner.054dfef4.jpg');
}

.navigation-dropdown-item[href*="kilibooks"]::after {
    background-image: url('../images/kilibooks-banner.484a845b.jpg');
}

.navigation-dropdown-item:last-child {
    border-bottom: none;
}

.navigation-dropdown-item:hover {
    background-color: #f0fdf4;
    color: #007A33;
    padding-left: 20px;
}

.navigation-dropdown-item:hover::after {
    opacity: 1;
    -webkit-transform: translateY(-50%) scale(1.05);
        -ms-transform: translateY(-50%) scale(1.05);
            transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navigation-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.navigation-link:hover {
    color: #197829;
}

.navigation-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    height: 78px; /* 与navigation-section高度一致 */
    position: relative; /* 为绝对定位的子元素提供参考 */
}

/* 语言下拉菜单样式 */
.navigation-language-dropdown {
    position: relative;
}

.navigation-language-toggle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    /* 边框: 1px solid #e5e7eb;
    边框圆角: 6px; */
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.navigation-language-toggle:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.navigation-language-toggle .navigation-globe-icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.navigation-language-current {
    font-weight: 500;
    font-size: 14px;
}

.navigation-language-menu {
    min-width: 80px;
    right: 0;
    left: auto;
}

.navigation-language-option {
    text-align: center;
    font-weight: 500;
}

.navigation-btn-secondary {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 116px;
    height: 42px;
}

.navigation-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.navigation-btn-primary {
    background: #007A33;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 116px;
    height: 42px;
}

.navigation-btn-primary:hover {
    -webkit-transform: translateY(-1px);
        -ms-transform: translateY(-1px);
            transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 120, 41, 0.3);
}

/* 移动端菜单切换按钮（默认隐藏） */
.navigation-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}


.navigation-mobile-toggle svg {
    width: 24px;
    height: 24px;
    fill: #374151;
}

/* 移动端菜单图标控制 */
.navigation-mobile-toggle .hamburger-icon {
    display: block;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.navigation-mobile-toggle .close-icon {
    display: none;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

/* 当菜单激活时切换图标 */
.navigation-mobile-toggle.active .hamburger-icon {
    display: none;
}

.navigation-mobile-toggle.active .close-icon {
    display: block;
}

/* 移动端菜单遮罩 */
.navigation-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100lvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.navigation-mobile-overlay.active {
    opacity: 1;
    display: block;
}

/* 移动端菜单 */
.navigation-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
            transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.navigation-mobile-menu.active {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.navigation-mobile-menu-content {
    padding: 80px 20px 20px 20px;
}

.navigation-mobile-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    /* gap: 16px; */
}

.navigation-mobile-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #ECEEF4;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.navigation-mobile-link:hover {
    color: #007A33;
}

/* 移动端下拉菜单样式 */
.navigation-mobile-dropdown {
    position: relative;
}

.navigation-mobile-dropdown-toggle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    cursor: pointer;
}

.navigation-mobile-dropdown-arrow {
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    margin-left: 8px;
}

.navigation-mobile-dropdown.active .navigation-mobile-dropdown-arrow {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

.navigation-mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
    /* background: #f9fafb; */
    border-radius: 8px;
    /* margin-top: 8px; */
    /* margin-left: 16px; */
}

.navigation-mobile-dropdown-menu.active {
    max-height: 200px;
}

.navigation-mobile-dropdown-item {
    display: block;
    padding: 12px 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #f3f4f6;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.navigation-mobile-dropdown-item:hover {
    background-color: #f3f4f6;
    color: #007A33;
    padding-left: 20px;
}

.navigation-mobile-actions {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
}

.navigation-mobile-actions .navigation-language-dropdown {
    -webkit-align-self: center;
        -ms-flex-item-align: center;
                -ms-grid-row-align: center;
            align-self: center;
    margin-bottom: 16px;
}

.navigation-mobile-actions .navigation-language-toggle {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-width: 120px;
}

.navigation-mobile-actions .navigation-btn-secondary,
.navigation-mobile-actions .navigation-btn-primary {
    width: 100%;
    text-align: center;
}

/* 平板媒体查询 (768px - 1220px) */
@media (min-width: 768px) and (max-width: 1220px) {
    .navigation-container {
        padding: 0 32px;
    }


    .navigation-menu {
        display: none;
    }

    .navigation-actions {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        gap: 12px;
    }
    .navigation-language-dropdown{
        display: none;
    }
    .navigation-mobile-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 40px;
        height: 40px;
        padding: 0;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        position: relative;
        z-index: 99;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navigation-mobile-toggle svg {
        width: 30px;
        height: 22.5px;
        fill: #343330;
    }

    /* 平板端图标切换样式 */
    .navigation-mobile-toggle .hamburger-icon {
        display: block;
    }

    .navigation-mobile-toggle .close-icon {
        display: none;
    }

    .navigation-mobile-toggle.active .hamburger-icon {
        display: none;
    }

    .navigation-mobile-toggle.active .close-icon {
        display: block;
    }

    .navigation-mobile-menu {
        display: block;
        -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);
    }

    .navigation-mobile-menu.active {
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
    }

    .navigation-mobile-overlay {
        display: none;
    }
    .whatsapp-chat-button{
        gap: 30px !important;
        opacity: 0.7;
    }
}
/* 移动端媒体查询 (最大宽度: 767px) */
@media (max-width: 767px) {
    .navigation-container {
        padding: 0 16px;
    }


    .navigation-menu {
        display: none;
    }

    .navigation-actions {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
            -ms-flex-pack: end;
                justify-content: flex-end;
        height: auto; /* 移动端恢复默认高度 */
    }
    .navigation-actions-lang{
        display: none;
        height: auto; /* 移动端恢复默认高度 */
    }
    .navigation-actions-lang .navigation-btn-secondary,
    .navigation-actions-lang .navigation-btn-primary {
        display: none;
    }

    .navigation-mobile-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 36px;
        height: 36px;
        padding: 0;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        position: relative;
        z-index: 1000;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navigation-mobile-toggle svg {
        width: 24px;
        height: 18px;
        fill: #343330;
    }

    /* 移动端图标切换样式 */
    .navigation-mobile-toggle .hamburger-icon {
        display: block;
    }

    .navigation-mobile-toggle .close-icon {
        display: none;
    }

    .navigation-mobile-toggle.active .hamburger-icon {
        display: none;
    }

    .navigation-mobile-toggle.active .close-icon {
        display: block;
    }

    .navigation-mobile-menu {
        display: block;
        width: 100%;
        -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);
    }

    .navigation-mobile-menu.active {
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
    }

    .navigation-mobile-overlay {
        display: none;
    }

    .navigation-mobile-menu-content {
        padding: 80px 16px 16px 16px;
    }

    .navigation-mobile-links {
        /* margin-bottom: 24px; */
    }

    .navigation-mobile-actions {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 12px;
        width: 120px;
    }

    .navigation-mobile-actions .navigation-language-selector {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        margin-bottom: 16px;
    }

    .navigation-mobile-actions .navigation-language-dropdown {
        display: none;
        -webkit-align-self: center;
            -ms-flex-item-align: center;
                    -ms-grid-row-align: center;
                align-self: center;
        margin-bottom: 16px;
    }

    .navigation-mobile-actions .navigation-language-toggle {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        min-width: 120px;
    }

    .navigation-mobile-actions .navigation-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
        border-radius: 8px;
    }

    .navigation-mobile-actions .navigation-btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
        border-radius: 8px;
    }
    .navigation-btn-primary{
        width: 122px !important;
        height: 42px !important;
    }
    .navigation-btn-secondary{
        width: 122px !important;
        height: 42px !important;
        margin-bottom: 12px;
    }
}

/* WhatsApp聊天按钮样式 */
.whatsapp-chat-button {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background: #4A4A4A;
    color: white;
    padding: 0px 12px;
    border-radius: 12px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 999;
    font-family: 'Aeonik TRIAL', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    width: 200px;
    height: 50px;
    gap: 10px;
    border: 2px solid #fff;

}

.whatsapp-chat-button:hover {
    background: #5A5A5A;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 24px;
    height: 24px;
    img{
        width: 24px;
        height: 24px;
    }
}

.chat-text {
    white-space: nowrap;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.chat-arrow {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 12px;
    height: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .whatsapp-chat-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 13px;
        gap: 15px !important;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
        img{
            width: 24px;
            height: 24px;
        }
    }

    .chat-arrow {
        width: 10px;
        height: 10px;
    }
}

/* 用户信息样式 */
.navigation-user-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 0;
    height: 78px; /* 与整个navigation-section高度一致 (16px*2 + 46px) */
    padding: 0 8px; /* 增加左右内边距扩大可点击区域 */
    margin: 0 -8px; /* 负边距抵消内边距对布局的影响 */
    margin-top: -16px; /* 向上偏移以覆盖navigation-section的padding */
    margin-bottom: -16px; /* 向下偏移以覆盖navigation-section的padding */
}

.navigation-user-dropdown {
    position: relative;
    width: 85px;
}

.navigation-user-toggle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: none;
    /* 边框: 1px solid #e5e7eb;
    边框圆角: 8px; */
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    height: 100%; /* 让toggle占满整个userInfo的高度 */
    min-height: 78px; /* 确保最小高度与navigation-section一致 */
    border-radius: 6px; /* 添加圆角 */
}

/* 添加悬停效果 */
.navigation-user-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05); /* 轻微的背景色变化 */
}

/* .navigation-user-toggle:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
} */

.navigation-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
}

.navigation-user-name {
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
    min-width: 0;
}

.navigation-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 16px 0;
}

.navigation-user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

/* 移除CSS悬停样式，改为使用JavaScript控制 */

/* 用户下拉菜单头部 */
.user-dropdown-header {
    padding: 0 20px 12px 20px;
    max-width: 100%;
    overflow: hidden;
}

.user-dropdown-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 4px;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* My Account 链接 */
.user-dropdown-link {
    display: block;
    padding: 8px 20px;
    color: #007A33;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.user-dropdown-link:hover {
    background-color: #f0fdf4;
    color: #007A33;
}

/* Sign Out 按钮 */
.user-dropdown-signout-btn {
    display: block;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 12px 16px;
    background-color: #007A33;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.user-dropdown-signout-btn:hover {
    background-color: #007A33;
}

/* 移动端用户信息样式 */
.navigation-mobile-user-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 0;
    min-height: 60px; /* 确保移动端有足够的点击区域 */
}

.navigation-mobile-user-name {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: center;
    padding: 12px 0; /* 增加上下内边距扩大点击区域 */
    /* border-bottom: 1px solid #e5e7eb; */
    max-width: 180px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 48px; /* 确保有足够的点击高度 */
}

.navigation-mobile-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
}

.navigation-mobile-user-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* 认证按钮容器 */
.navigation-auth-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.navigation-actions-lang {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    height: 78px; /* 与navigation-section高度一致 */
    position: relative; /* 为绝对定位的子元素提供参考 */
}

.navigation-mobile-auth-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
    width: 100%;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 0;
    margin-top: 12px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .navigation-user-toggle {
        max-width: 140px;
    }

    .navigation-user-name {
        max-width: 60px;
    }

    .navigation-menu {
        gap: 16px;
    }

    .navigation-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .whatsapp-chat-button{
        width: 162px;
        opacity: 0.7;
    }
    .navigation-user-info {
        width: 100%;
        display: none !important;
        height: auto; /* 移动端恢复默认高度 */
        margin: 0; /* 移动端恢复默认边距 */
    }

    .navigation-user-toggle {
        width: 100%;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        max-width: 120px;
        height: auto; /* 移动端恢复默认高度 */
        min-height: auto; /* 移动端恢复默认最小高度 */
    }

    .navigation-user-dropdown-menu {
        width: 100%;
        right: auto;
        left: 0;
        min-width: 200px;
    }

    .navigation-mobile-user-info{
        padding: 0;
    }

    .user-dropdown-header {
        padding: 0 16px 12px 16px;
        max-width: 100%;
        overflow: hidden;
    }

    .user-dropdown-link {
        padding: 8px 16px;
    }

    /* 移动端用户下拉菜单文本溢出处理 */
    .user-dropdown-name,
    .user-dropdown-email {
        max-width: 100%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-dropdown-signout-btn {
        width: -webkit-calc(100% - 32px);
        width: calc(100% - 32px);
        margin: 0 16px;
    }

    .navigation-user-name {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .navigation-user-toggle {
        padding: 4px 8px;
        gap: 4px;
        font-size: 12px;
    }

    /* 小屏幕用户下拉菜单文本溢出处理 */
    .user-dropdown-name,
    .user-dropdown-email {
        max-width: 100%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
    }

    .navigation-user-avatar {
        width: 18px;
        height: 18px;
    }

    .navigation-user-name {
        font-size: 12px;
        max-width: 50px;
    }

    .navigation-mobile-user-avatar {
        width: 28px;
        height: 28px;
    }

    .navigation-mobile-user-name-text {
        font-size: 14px;
        max-width: 100px;
    }

    .navigation-actions-lang {
        gap: 6px;
    }

    .navigation-auth-buttons {
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .navigation-user-toggle {
        padding: 3px 6px;
        gap: 3px;
        font-size: 11px;
    }

    /* 超小屏幕用户下拉菜单文本溢出处理 */
    .user-dropdown-name,
    .user-dropdown-email {
        max-width: 100%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    .navigation-user-avatar {
        width: 16px;
        height: 16px;
    }

    .navigation-user-name {
        font-size: 11px;
        max-width: 40px;
    }

    .navigation-actions-lang {
        gap: 4px;
    }

    .navigation-auth-buttons {
        gap: 4px;
    }

    .navigation-btn-secondary,
    .navigation-btn-primary {
        padding: 6px 0;
        font-size: 12px;
    }
}


.products-dropdown {
    min-width: 700px !important;
    padding: 32px !important;
    box-shadow: 0px 8px 25px 0px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
}

.products-dropdown-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 59px;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.products-dropdown-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 13px;
    width: 292px;
}

.products-dropdown-right {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

.products-preview-container {
    width: 249px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.products-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    -webkit-transition: opacity 0.15s ease-in-out;
    transition: opacity 0.15s ease-in-out;
}

/* 产品下拉菜单项样式 */
.products-dropdown .navigation-dropdown-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #353535;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border: none;
    border-radius: 10px;
    background: rgba(236, 243, 245, 0);
    width: 292px;
    position: relative;
}

.products-dropdown .navigation-dropdown-item::after {
    display: none;
}

.products-dropdown .dropdown-item-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
    width: 100%;
}

.products-dropdown .dropdown-item-icon {
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    width: 37px;
    height: 37px;
}

.products-dropdown .dropdown-item-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1px;
    width: 200px;
}

.products-dropdown .dropdown-item-title {
    font-family: 'Aeonik TRIAL', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5em;
    color: #353535;
}

.products-dropdown .dropdown-item-desc {
    font-family: 'Aeonik TRIAL', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    color: #353535;
}

.products-dropdown .navigation-dropdown-item:hover {
    background-color: rgba(236, 243, 245, 0.5);
    color: #007A33;
    padding-left: 20px;
}

.products-dropdown .navigation-dropdown-item:hover .dropdown-item-title,
.products-dropdown .navigation-dropdown-item:hover .dropdown-item-desc {
    color: #007A33;
}

/* 产品下拉菜单响应式调整 */
@media (max-width: 768px) {
    .products-dropdown {
        min-width: 100vw !important;
        padding: 20px !important;
    }

    .products-dropdown-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 20px;
    }

    .products-dropdown-left {
        width: 100%;
    }

    .products-dropdown .navigation-dropdown-item {
        width: 100%;
    }

    .products-dropdown-right {
        display: none;
    }
}



/* el-message 容器 */
.el-message-container {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* el-message 单条消息 */
.el-message {
  min-width: 280px;
  max-width: 420px;
  margin: 0 auto 12px auto;
  background: #f4f4f5;
  color: #333;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 20px;
  font-size: 15px;
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
  pointer-events: auto;
  position: relative;
}

.el-message__icon {
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}

.el-message__content {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.el-message__close {
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  margin-left: 10px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.el-message__close:hover {
  color: #f56c6c;
}

.el-message--success {
  background: #f0f9eb;
  color: #67c23a;
}
.el-message--warning {
  background: #fdf6ec;
  color: #e6a23c;
}
.el-message--error {
  background: #fef0f0;
  color: #f56c6c;
}
.el-message--info {
  background: #f4f4f5;
  color: #909399;
}

.el-message--plain {
  background: #fff;
  border: 1px solid #ebeef5;
}


/* 按钮 Loading 状态样式 */
.btn-loading-dots {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
}

.btn-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    -webkit-animation: dot-wave 1.4s ease-in-out infinite;
            animation: dot-wave 1.4s ease-in-out infinite;
}

/* 为白色按钮文本设置蓝色圆点 */
.btn-loading-dot:nth-child(1) {
    background-color: #FFFFFF;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.btn-loading-dot:nth-child(2) {
    background-color: #FFFFFF;
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

.btn-loading-dot:nth-child(3) {
    background-color: #FFFFFF;
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}

/* 为outline按钮设置绿色圆点 */
.btn-loading-dot {
    background-color: currentColor;
    opacity: 0.6;
}

.btn-loading-dot:nth-child(1) {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.btn-loading-dot:nth-child(2) {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

.btn-loading-dot:nth-child(3) {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}

@-webkit-keyframes dot-wave {
    0%, 60%, 100% {
        opacity: 0.4;
        -webkit-transform: scale(0.8);
                transform: scale(0.8);
    }
    30% {
        opacity: 1;
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}

@keyframes dot-wave {
    0%, 60%, 100% {
        opacity: 0.4;
        -webkit-transform: scale(0.8);
                transform: scale(0.8);
    }
    30% {
        opacity: 1;
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
}