:root {
    --primary-color: #397D50;
    --secondary-color: #ffffff;
    --dark-gray: #2d3436;
    --medium-gray: #636e72;
    --light-gray: #b2bec3;
    --bg-light: #2b313f;
    --white: #ffffff;
    --text-primary: #3b3b3b;
    --text-secondary: #3b3b3b;
    --brand-color: #397D50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--white);
    font-weight: 300;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-section .container,
.contact-section .container {
    max-width: 100%;
    padding: 0;
}

/* 顶部导航栏 - 极简设计 */
.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.logo h1 {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 3px;
    white-space: nowrap;
}

.logo-cn {
    margin-left: 15px;
    color: var(--primary-color);
    font-weight: 300;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 500px;
    border: 1px solid #e8e8e8;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--light-gray);
}

.search-button {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.work-time {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 300;
}

.language-switch {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 20px;
    border: 1px solid #e8e8e8;
    background: transparent;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 导航菜单 */
.nav {
    padding: 0;
    border-top: 1px solid #e8e8e8;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
}

.nav-menu li {
    border-right: 1px solid #e8e8e8;
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    display: block;
    padding: 20px 35px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* 主视觉区域 - 极简大气 */
.hero {
    background: linear-gradient(135deg, #2b313f 0%, #397D50 100%);
    color: var(--white);
    margin-top: 100px;
    padding: 300px 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 30px;
    font-weight: 200;
    letter-spacing: 3px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}

.cta-button {
    padding: 16px 50px;
    font-size: 14px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* 轮播栏样式 */
.carousel-section {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    min-height: 820px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 820px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-slide .section-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.carousel-slide .section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
}

.carousel-slide .section-content {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
}

.carousel-slide .section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 49, 63, 0.5);
    z-index: 1;
}

.carousel-slide .section-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 60px;
    color: var(--white);
}

.carousel-slide .section-title {
    font-size: 42px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--white);
}

.carousel-slide .section-description {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 300;
    opacity: 0.95;
}

.carousel-slide .section-button {
    padding: 16px 50px;
    font-size: 14px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.carousel-slide .section-button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.indicator.active {
    background: var(--secondary-color);
}

/* 通用栏目样式 */
.products-section,
.documentation-section,
.solutions-section,
.about-section,
.contact-section {
    padding: 0;
    position: relative;
    min-height: 600px;
}

.section-content {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.section-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
}

.section-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 60px;
    color: var(--white);
}

.section-content.reverse .section-text {
    margin-left: auto;
}

.section-text h3 {
    font-size: 42px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--white);
}

.section-description {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 300;
    opacity: 0.95;
}

.section-button {
    padding: 16px 40px;
    font-size: 14px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.section-button:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* 关于我们 */
.about-section {
    padding: 0;
    background: var(--white);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 800px;
    padding-left: 0;
    padding-right: 0;
}

.about-image {
    display: flex;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.about-image img:hover {
    filter: grayscale(0%);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.about-text .section-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    text-align: center;
    line-height: 2;
    font-weight: 300;
}

.about-text .section-button {
    padding: 12px 40px;
    font-size: 15px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-text .section-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 联系 */
.contact-section {
    padding: 0;
    background: var(--white);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 800px;
    padding-left: 0;
    padding-right: 0;
}

.contact-image {
    display: flex;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.contact-image img:hover {
    filter: grayscale(0%);
}

.contact-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.contact-text .section-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 300;
    text-align: center;
}

.contact-text .section-button {
    padding: 12px 40px;
    font-size: 15px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-text .section-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ================= 热门产品大区 ================= */
.popular-products {
    padding: 120px 60px;
    background: #f8f9fa;
    position: relative;
}

.popular-products .section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 2px;
}

/* ================= 热门产品网格 ================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* 【关键】把原本 2px 的线框去掉，改成 30px 的大间距，让卡片独立成块 */
    background: transparent;
    /* 去掉之前的灰色/线框底色 */
}

/* ================= 热门产品卡片基础样式 ================= */
.product-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    /* 加一点圆角显得更现代 */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* 汉高同款高级平滑动画 */
    position: relative;
    z-index: 1;
    /* 默认层级 */
    cursor: pointer;
    border: none;
    /* 去掉以前的边框 */
}

/* ================= 🌟 卡片悬停高级浮出特效 🌟 ================= */
.product-card:hover {
    background: #ffffff !important;

    /* ⬇️ 加上 !important 打破 JS 的压制，卡片就能放大了！ */
    transform: translateY(-12px) scale(1.02) !important;

    /* ⬇️ 加上 !important 确保大阴影一定能出来 */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;

    z-index: 10 !important;
}

/* ================= 图片包装与特效 ================= */
.product-image-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* 卡片悬停时，里面的图片也跟着微微放大 */
.product-card:hover .product-image {
    transform: scale(1.08);
}

/* ================= 内部文字排版 ================= */
.product-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 800;
    /* 把产品型号加粗，更醒目 */
    letter-spacing: 1px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

/* 删除旧样式 */
.partners,
.business-areas,
.innovation,
.partner-logos,
.partner-item,
.areas-grid,
.area-card,
.innovation-content,
.innovation-text,
.innovation-images,
.secondary-button {
    display: none;
}

/* 合作伙伴 - 简约展示 */
.partners {
    padding: 120px 60px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 80px;
    color: var(--text-primary);
    font-weight: 200;
    letter-spacing: 2px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.partner-item {
    font-size: 20px;
    font-weight: 300;
    color: var(--medium-gray);
    padding: 25px 50px;
    background: transparent;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* 业务领域 - 网格布局 */
.business-areas {
    padding: 120px 60px;
    background: var(--bg-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 80px;
    background: #e8e8e8;
}

.area-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.area-card:hover img {
    filter: grayscale(0%);
}

.area-card h4 {
    font-size: 22px;
    margin: 35px 40px 15px;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 1px;
}

.area-card p {
    margin: 0 40px 35px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

/* 研发创新 - 对称布局 */
.innovation {
    padding: 120px 60px;
    background: var(--white);
}

.innovation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.innovation-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 200;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.innovation-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 300;
}

.secondary-button {
    padding: 16px 50px;
    font-size: 14px;
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: 0;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.innovation-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    background: #e8e8e8;
}

.innovation-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.innovation-images img:hover {
    filter: grayscale(0%);
}

/* 页脚 - 极简设计 */
.footer {
    background: linear-gradient(135deg, #2b313f 0%, #397D50 100%);
    color: var(--light-gray);
    padding: 80px 60px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
    font-weight: 300;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 12px;
    font-weight: 300;
}

/* 1. 强制“社交媒体”这一整列（包含标题）全部水平居中 */
.footer-section.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 关键：让里面的 <h4> 和内容容器都居中 */
}

/* 2. 重置原本 h4 的左对齐边距（如果你的全局 h4 有 margin 的话） */
.footer-section.social-section h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 25px;
    /* 保持与原来一致的下边距 */
}

/* 3. 社交媒体区域容器 */
.footer-social-wechat {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 关键：让图片和下方文字居中 */
    justify-content: center;
    width: 100px;
    /* 约束宽度为图片宽度 */
}

/* 4. 二维码样式 */
.wechat-qr {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 4px;
    padding: 5px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 5. 底部文字微调 */
.wechat-text {
    width: 100px;
    /* 和图片一样宽 */
    text-align: center;
    /* 在100px内居中 */
    font-size: 12px;
    line-height: 1.5;
    color: var(--light-gray);
    font-weight: 300;
}

/* ================= 智能搜索栏样式 ================= */
.search-bar-container {
    position: relative;
    flex: 1;
    max-width: 500px;
    z-index: 1000;
}

/* 胶囊型输入框 */
.search-bar-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.search-bar-inner:focus-within {
    border-color: #397D50;
    box-shadow: 0 0 0 3px rgba(57, 125, 80, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.clear-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 10px;
    transition: opacity 0.2s;
}

.clear-icon:hover {
    opacity: 0.7;
}

/* 悬浮下拉菜单 */
.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px 0;
}

/* 历史记录标题区 */
.search-history-header {
    display: flex;
    justify-content: flex-start;
    padding: 10px 20px;
}

.search-history-clear {
    font-size: 13px;
    font-weight: 800;
    color: #333;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.search-history-clear:hover {
    color: #397D50;
}

/* 下拉列表项 (历史记录 & 搜索结果) */
.search-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: #333;
}

.search-item:hover {
    background: #f8f9fa;
}

.search-item-icon {
    width: 18px;
    height: 18px;
    margin-right: 15px;
    stroke: #666;
}

.search-item-text {
    font-size: 14px;
    color: #333;
}

/* 产品结果特有样式 */
.search-result-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 15px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 14px;
    color: #333;
}

.search-result-category {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

/* 匹配文字的高亮显示 */
.search-highlight {
    font-weight: 800;
    color: #000;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .header-top {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    .about-section::before,
    .about-section::after,
    .contact-section::before,
    .contact-section::after {
        width: 40px;
    }

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

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

/* 桌面端默认隐藏移动端专属的抽屉组件 */
.mobile-overlay,
.mobile-menu-btn,
.mobile-search-btn,
.drawer-close,
.mobile-drawer-extra {
    display: none;
}

@media (max-width: 768px) {

    /* ==========================================================================
       1. 移动端顶栏（透明悬浮、Logo居中、左右图标）
       ========================================================================== */
    body {
        padding-top: 60 !important;
    }

    .header {
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: none !important;
        padding: 15px 0 !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        /* 👇 就是下面这行，打破封印，让搜索框露出来！ */
        overflow: visible !important;
    }

    .header .container {
        padding: 0;
    }

    .header-top {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px !important;
        position: relative;
    }

    /* 隐藏桌面端右侧的信息和多语言按钮 */
    .header-right {
        display: none !important;
    }

    /* 左侧汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    /* 中心 Logo 绝对居中 */
    .header .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
        z-index: 1001;
    }

    .header .logo h1,
    .header .logo span {
        font-size: 24px;
        color: var(--primary-color) !important;
    }

    .mobile-menu-btn svg {
        stroke: var(--primary-color) !important;
    }

    .mobile-search-btn svg {
        stroke: var(--primary-color) !important;
    }

    /* 右侧搜索放大镜按钮 */
    .mobile-search-btn {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    /* ==========================================================================
       2. 移动端搜索框 (点击放大镜后下拉)
       ========================================================================== */
    .search-bar-container {
        display: none;
        /* 默认隐藏 */
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        width: auto !important;
        max-width: none !important;
        background: #ffffff;
        padding: 5px;
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        margin-top: 20px;
    }

    .search-bar-container.show-mobile-search {
        display: block;
        animation: slideDownSearch 0.3s ease forwards;
    }

    .search-bar-inner:focus-within {
        border-color: transparent;
        box-shadow: none;
    }

    /* ==========================================================================
       3. 左侧抽屉菜单 (侧滑出)
       ========================================================================== */
    .nav {
        position: fixed;
        top: 0;
        left: -320px;
        /* 默认隐藏在屏幕左侧之外 */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        flex-direction: column;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 30px 20px;
        display: flex !important;
        /* 覆盖旧版样式 */
    }

    .nav.open {
        left: 0;
        /* 滑出显示 */
    }

    /* 抽屉关闭按钮 (X) */
    .drawer-close {
        display: block;
        font-size: 36px;
        color: #333;
        text-align: right;
        cursor: pointer;
        margin-bottom: 20px;
        line-height: 1;
        font-weight: 300;
    }

    /* 抽屉弹出时的黑色半透明遮罩层 */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 1999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* 抽屉内菜单选项纵向排版 */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        border: none !important;
    }

    .nav-menu li {
        width: 100% !important;
        text-align: left !important;
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        flex-grow: 0;
    }

    .nav-menu a {
        font-size: 16px !important;
        padding: 18px 5px !important;
        color: #333 !important;
        font-weight: 500 !important;
        display: block;
        text-align: left;
        white-space: normal;
    }

    /* 抽屉底部的附加信息（电话与语言切换） */
    .mobile-drawer-extra {
        display: block;
        margin-top: 40px;
        padding: 5px;
    }

    .mobile-drawer-extra .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 25px;
        align-items: flex-start;
        text-align: left;
    }

    /* 强制显示抽屉底部的语言切换区 */
    .mobile-drawer-extra .language-switch {
        display: flex !important;
        width: 100% !important;
        gap: 15px !important;
        margin-top: 15px !important;
    }

    /* 强制未选中的按钮（如中文）显示为白底黑字边框 */
    .mobile-drawer-extra .lang-btn {
        display: block !important;
        flex: 1 !important;
        text-align: center !important;
        padding: 12px 0 !important;
        background: #ffffff !important;
        color: #333333 !important;
        border: 1px solid #cccccc !important;
        border-radius: 6px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 强制选中的按钮（如English）显示为绿底白字 */
    .mobile-drawer-extra .lang-btn.active {
        background: var(--brand-color) !important;
        color: #ffffff !important;
        border-color: var(--brand-color) !important;
    }

    /* ==========================================================================
       4. 保留原有的页面主体适配样式
       ========================================================================== */
    .hero {
        margin-top: 60px !important;
        padding: 160px 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .carousel-container,
    .carousel-slide,
    .carousel-slide .section-content {
        min-height: 500px;
    }

    .carousel-slide .section-text {
        padding: 40px 30px;
        max-width: 100%;
    }

    .carousel-slide .section-title,
    .about-text h3,
    .contact-text h3 {
        font-size: 24px;
    }

    .carousel-slide .section-description {
        font-size: 14px;
    }

    .about-section,
    .contact-section,
    .popular-products {
        padding: 80px 30px;
    }

    .about-section::before,
    .about-section::after,
    .contact-section::before,
    .contact-section::after,
    .popular-products::before,
    .popular-products::after {
        width: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 30px 20px;
    }

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

/* 移动端搜索下拉动画 */
@keyframes slideDownSearch {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}