/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header 样式 */
.header {
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 顶部信息栏 */
.header-top {
    background: linear-gradient(135deg, #3c3c3c 0%, #2a2a2a 50%, #1a1a1a 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo 区域 */
.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.logo-img {
    width: 200px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.mce-text {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
    line-height: 1;
}

.company-name {
    font-size: 14px;
    color: #ccc;
    line-height: 1;
}

.tagline {
    font-size: 12px;
    color: #3b82f6;
    font-style: italic;
    margin-left: 50px;
}

/* 搜索区域 */
.top-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #3b82f6;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.search-input::placeholder {
    color: #666;
}

.search-input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #3b82f6;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* 右侧信息区域 */
.top-right {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-info .phone {
    color: #fff;
    font-weight: 500;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-actions a {
    color: #ccc;
    text-decoration: none;
}

.user-actions a:hover {
    color: #3b82f6;
}

.service-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.or-contact {
    color: #ccc;
}

.service-section a {
    color: #ccc;
    text-decoration: none;
}

.service-section a:hover {
    color: #3b82f6;
}

.account-cart {
    display: flex;
    align-items: center;
    gap: 15px;
}

.separator {
    color: #ccc;
}

.my-account {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
}

.my-account:hover {
    color: #3b82f6;
}

.cart {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ccc;
    text-decoration: none;
}

.cart:hover {
    color: #3b82f6;
}

.cart-count {
    color: #3b82f6;
    font-weight: bold;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

.nav-item.active .nav-link,
.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* 下拉菜单样式 */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: #3b82f6;
    color: white;
}

/* 移动端下拉菜单样式 */
.mobile-nav-dropdown .mobile-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
    color: #3b82f6;
}

.mobile-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 8px;
}

.mobile-nav-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
    padding: 8px 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-left-color: #3b82f6;
    color: #3b82f6;
}

/* 大型菜单样式 */
.nav-item.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -200px;
    background: white;
    width: 1000px;
    max-width: 90vw;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 30px 0;
}

.mega-menu-column {
    padding: 0 25px;
    border-right: 1px solid #f0f0f0;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 18px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #3b82f6;
    position: relative;
}

.mega-menu-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3b82f6;
}

.mega-menu-list {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.mega-menu-list li {
    margin: 0;
}

.mega-menu-link {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 12px;
    margin-left: -12px;
}

.mega-menu-link:hover {
    color: #3b82f6;
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    padding-left: 15px;
}

/* 响应式设计 - 大型菜单 */
@media (max-width: 1200px) {
    .mega-menu {
        left: -150px;
        width: 900px;
    }

    .mega-menu-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu-column:nth-child(4) {
        grid-column: 1 / -1;
        border-right: none;
        border-top: 1px solid #f0f0f0;
        margin-top: 20px;
        padding-top: 25px;
    }
}

@media (max-width: 1024px) {
    .mega-menu {
        left: -100px;
        width: 800px;
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-column:nth-child(3),
    .mega-menu-column:nth-child(4) {
        border-top: 1px solid #f0f0f0;
        margin-top: 20px;
        padding-top: 25px;
    }

    .mega-menu-column:nth-child(3) {
        border-right: 1px solid #f0f0f0;
    }

    .mega-menu-column:nth-child(4) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .nav-item.has-mega-menu .mega-menu {
        display: none;
    }
}

/* Footer 样式 */
.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* 上半部分 */
.footer-top {
    padding: 40px 0 30px;
    background: transparent;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer订阅部分 */
.footer-newsletter-section {
    max-width: 300px;
}

.footer-newsletter-form {
    margin-bottom: 30px;
}

.footer-form-group {
    margin-bottom: 15px;
}

.footer-form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
}

.footer-form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.footer-form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.footer-signup-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: auto;
    min-width: 100px;
}

.footer-signup-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 二维码部分 */
.qr-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-section .qr-code {
    flex-shrink: 0;
}

.qr-section .qr-image {
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 4px;
}

.qr-text {
    text-align: left;
}

.qr-text .follow-text {
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.qr-text .follow-desc {
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
}

/* 下半部分 */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* 信息条布局 */
.footer-info-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 80px;
}

/* 左侧公司描述 */
.company-description {
    flex: 1;
    max-width: 550px;
    padding-right: 40px;
}

.company-description p {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

/* 中间站点链接 */
.footer-center {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 120px;
    padding-top: 20px;
}

.footer-actions {
    white-space: nowrap;
    text-align: center;
}

/* 右侧关注我们 */
.footer-follow {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    min-width: 200px;
    justify-content: flex-end;
}

.follow-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    text-align: left;
    min-width: 120px;
}

.follow-title {
    color: #fff;
    font-size: 14px;
    margin: 0 0 3px 0;
    font-weight: 600;
}

.follow-desc {
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
    white-space: nowrap;
}

.footer-follow .qr-code {
    flex-shrink: 0;
}

.footer-follow .qr-image {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* 认证信息 */
.footer-certifications {
    text-align: left;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 15px;
}

.links-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
    min-height: 24px;
}

.cert-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-actions {
    margin-bottom: 15px;
}

.copyright {
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
    text-align: left;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

.copyright {
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-top .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .top-center {
        order: 3;
        flex-basis: 100%;
        margin: 10px 0 0 0;
    }

    .top-right {
        gap: 6px;
    }

    .left-section, .right-section {
        gap: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-newsletter-section {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo-section {
        flex-direction: row;
        align-items: center;
    }

    .tagline {
        margin-left: 15px;
        font-size: 10px;
    }

    .top-right {
        font-size: 12px;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }

    .footer-top {
        padding: 30px 0 20px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 14px;
    }

    .qr-section {
        justify-content: center;
    }

    /* 信息条在移动端变成垂直布局 */
    .footer-info-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        min-height: auto;
    }

    .company-description {
        max-width: none;
        text-align: center;
        padding-right: 0;
    }

    .footer-center {
        order: 2;
        min-width: auto;
        padding-top: 0;
    }

    .footer-follow {
        order: 3;
        min-width: auto;
    }

    .follow-content {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .follow-text {
        text-align: center;
        min-width: auto;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .links-group {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .top-right {
        gap: 4px;
        font-size: 11px;
    }

    .left-section, .right-section {
        gap: 6px;
    }

    .account-cart {
        gap: 8px;
    }
}

/* ===== 移动端优化样式 ===== */

/* 移动端顶部菜单 - 重新设计 */
.mobile-top-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    align-items: center;
    justify-content: space-between;
}

.mobile-top-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.mobile-top-logo img {
    height: 32px;
    width: auto;
    max-width: 120px;
}

.mobile-top-logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 8px;
}

.mobile-top-mce-text {
    font-size: 18px;
    font-weight: bold;
    color: #3b82f6;
    line-height: 1;
}

.mobile-top-company-name {
    font-size: 10px;
    color: #ccc;
    line-height: 1;
}

.mobile-top-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-top-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-top-menu-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-top-hamburger-line {
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* 移动端侧边栏菜单 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-title {
    color: #3b82f6;
    font-size: 18px;
    font-weight: 600;
}

.mobile-sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 20px;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #3b82f6;
}

.mobile-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-sidebar-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-sidebar-link {
    display: block;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-sidebar-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-left-color: #3b82f6;
    padding-left: 25px;
}

.mobile-sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-sidebar-item.active .mobile-sidebar-submenu {
    max-height: 300px;
}

.mobile-sidebar-submenu li a {
    display: block;
    padding: 12px 40px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-sidebar-submenu li a:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
}

/* 移动端菜单遮罩层 */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 移动端侧边栏底部用户区域 */
.mobile-sidebar-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

/* 用户已登录状态 */
.mobile-sidebar-user-info {
    text-align: center;
}

.mobile-sidebar-welcome {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.mobile-sidebar-welcome-text {
    display: block;
    color: #ccc;
    font-size: 14px;
    margin-bottom: 5px;
}

.mobile-sidebar-username {
    display: block;
    color: #3b82f6;
    font-size: 18px;
    font-weight: 600;
}

.mobile-sidebar-user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.mobile-sidebar-user-actions-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.mobile-sidebar-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    max-width: 120px;
}

.mobile-sidebar-action-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    transform: translateY(-1px);
}

.mobile-sidebar-action-btn svg {
    flex-shrink: 0;
}

.mobile-sidebar-logout {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    margin-top: 8px;
    width: 100%;
    max-width: none;
}

.mobile-sidebar-logout:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: #dc3545;
}

/* 用户未登录状态 */
.mobile-sidebar-auth {
    text-align: center;
}

.mobile-sidebar-auth-title {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
}

.mobile-sidebar-auth-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
}

.mobile-sidebar-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    max-width: 120px;
}

.mobile-sidebar-auth-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.mobile-sidebar-login-btn {
    background: rgba(59, 130, 246, 0.15);
}

.mobile-sidebar-register-btn {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.mobile-sidebar-register-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* 移动端工具栏样式 */
.mobile-toolbar {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-user-actions {
    display: flex;
    gap: 15px;
}

.mobile-login-btn,
.mobile-register-btn {
    padding: 8px 16px;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-login-btn {
    background: transparent;
}

.mobile-register-btn {
    background: #3b82f6;
    color: #333;
}

.mobile-login-btn:hover {
    background: #3b82f6;
    color: #333;
}

.mobile-register-btn:hover {
    background: #2563eb;
}

.mobile-cart-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mobile-cart-btn:hover {
    color: #2563eb;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #3b82f6;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
    color: #3b82f6;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #3b82f6;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-item.mobile-nav-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 10px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding-left: 25px;
}

.mobile-menu-footer {
    margin-top: 20px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-info p {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mobile-service-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.mobile-service-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mobile-service-links a:hover {
    color: #3b82f6;
}

.mobile-service-links span {
    color: #666;
}

/* 移动端菜单遮罩层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 移动端简化顶部样式 */
.mobile-header-simple {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 100%;
}

.mobile-logo-section {
    display: flex;
    align-items: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-mce-text {
    font-size: 20px;
    font-weight: bold;
    color: #3b82f6;
    line-height: 1;
}

.mobile-company-name {
    font-size: 12px;
    color: #ccc;
    line-height: 1;
}

/* 移动端搜索样式 */
.mobile-search-section {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-container {
    position: relative;
    width: 100%;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #3b82f6;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-search-input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
}

.mobile-search-input::placeholder {
    color: #666;
}

.mobile-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    border: none;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.mobile-search-btn:hover {
    background: #2563eb;
    transform: translateY(-50%) scale(1.05);
}

/* ===== 移动端响应式重写 ===== */
@media (max-width: 768px) {
    /* 隐藏桌面端所有元素 */
    .top-left,
    .top-center,
    .top-right {
        display: none !important;
    }

    /* 显示新的移动端顶部菜单 */
    .mobile-top-header {
        display: flex !important;
    }

    /* 隐藏旧的移动端简化顶部 */
    .mobile-header-simple {
        display: none !important;
    }

    /* 为移动端顶部留出空间 */
    body {
        padding-top: 60px !important;
    }

    /* 强制显示移动端logo区域 */
    .mobile-header-simple .mobile-logo-section {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        min-width: 120px !important;
        max-width: 150px !important;
    }

    /* 强制显示移动端用户信息区域 */
    .mobile-header-simple .mobile-user-section {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 1 !important;
        justify-content: center !important;
        min-width: 0 !important;
        margin: 0 15px !important;
    }

    /* 强制显示移动端菜单按钮 */
    .mobile-header-simple .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 5px !important;
    }

    /* 强制显示汉堡菜单线条 */
    .mobile-header-simple .hamburger-line {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #333 !important;
        margin: 5px 0 !important;
        transition: 0.3s !important;
    }

    /* 强制重置所有可能的隐藏属性 */
    .mobile-header-simple * {
        box-sizing: border-box !important;
    }

    /* 确保移动端logo图片显示 */
    .mobile-header-simple .mobile-logo-img {
        height: 40px !important;
        width: auto !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* 确保移动端用户欢迎信息显示 */
    .mobile-header-simple .mobile-user-welcome {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        font-size: 12px !important;
        color: #333 !important;
        text-align: center !important;
    }

    .mobile-header-simple .mobile-welcome-text {
        color: #666 !important;
        font-size: 10px !important;
    }

    /* Footer 移动端样式 */
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    /* 隐藏第3列和第4列 */
    .footer-section-secondary {
        display: none !important;
    }

    /* 第1列和第2列左右布局 */
    .footer-section-main {
        display: block !important;
        text-align: left !important;
    }

    .footer-section-main:first-child {
        text-align: left !important;
    }

    .footer-section-main:last-child {
        text-align: right !important;
    }

    .mobile-header-simple .mobile-username {
        color: #007bff !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        max-width: 80px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .header-top .container {
        padding: 0 15px;
    }

    /* 隐藏桌面端菜单 */
    .desktop-menu {
        display: none !important;
    }

    /* 隐藏导航栏背景和内容，但保留移动端菜单 */
    .navbar {
        background: none !important;
        box-shadow: none !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .navbar .container {
        padding: 0 !important;
        height: 0;
        overflow: visible;
    }

    /* 最强移动端样式覆盖 - 确保显示 */
    .mobile-header-simple,
    .mobile-header-simple * {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 重置所有可能的隐藏属性 */
    .mobile-header-simple {
        clip: auto !important;
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕移动端顶部优化 */
    .mobile-top-header {
        padding: 10px 15px !important;
    }

    .mobile-top-logo img {
        height: 28px !important;
        max-width: 100px !important;
    }

    .mobile-top-mce-text {
        font-size: 16px !important;
    }

    .mobile-top-company-name {
        font-size: 9px !important;
    }

    .mobile-top-menu-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-top-hamburger-line {
        width: 18px !important;
        height: 2px !important;
    }

    /* 为移动端顶部留出空间 */
    body {
        padding-top: 56px !important;
    }

    .mobile-search-input {
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }

    .mobile-search-btn {
        padding: 6px;
    }

    .mobile-menu {
        width: 100%;
    }

    .mobile-menu-header {
        padding: 15px;
    }

    .mobile-search-section {
        padding: 12px 15px;
    }
}

/* ===== 最强移动端样式覆盖 ===== */
@media (max-width: 768px) {
    /* 确保新的移动端顶部菜单始终显示 */
    .mobile-top-header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 20px !important;
    }

    .navbar {
         padding:  0 !important; 
    }

    /* 确保所有子元素都显示 */
    .mobile-top-header * {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 特殊处理logo图片 */
    .mobile-top-header .mobile-top-logo img {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        max-width: 120px !important;
    }

    /* 特殊处理菜单按钮 */
    .mobile-top-header .mobile-top-menu-btn {
        display: flex !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* 特殊处理汉堡菜单线条 */
    .mobile-top-header .mobile-top-hamburger-line {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #fff !important;
        margin: 2px 0 !important;
    }

    /* 确保侧边栏正确显示 */
    .mobile-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 遮罩层默认隐藏，只有激活时才显示 */
    .mobile-sidebar-overlay {
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* 激活状态的遮罩层 */
    .mobile-sidebar-overlay.active {
        visibility: visible !important;
        opacity: 1 !important;
    }
     .header-top {
    
         padding:  0; 
    
    }
}
