/* 桌面端语言切换器 - 确保语言选项可见 */
.header-language-switcher-inner .language-row {
    display: flex !important;
    padding: 10px 0;
    cursor: pointer;
    text-decoration: none;
}

.header-language-switcher-inner .language-row:hover {
    background-color: rgba(242, 103, 42, 0.05);
}

/* 移动端语言切换器样式 */
.mobile-language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.mobile-lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-lang-btn svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.mobile-lang-btn span {
    font-weight: 600;
}

.mobile-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
}

.mobile-lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-lang-option {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-lang-option:last-child {
    border-bottom: none;
}

.mobile-lang-option:hover {
    background: #f5f5f5;
    color: #F2672A;
}

.mobile-lang-option:active {
    background: #ebebeb;
}

/* 在桌面端隐藏移动端语言切换器 */
@media (min-width: 1025px) {
    .mobile-language-switcher {
        display: none !important;
    }
}

/* 移动端样式调整 */
@media (max-width: 1024px) {
    .mobile-language-switcher {
        display: block;
    }
    
    .mobile-lang-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .mobile-lang-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .mobile-language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .mobile-lang-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .mobile-language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .mobile-lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        gap: 6px;
    }
    
    .mobile-lang-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .mobile-lang-dropdown {
        min-width: 120px;
    }
    
    .mobile-lang-option {
        padding: 10px 14px;
        font-size: 13px;
    }
}

