/* ==========================================================================
   FUDENG TRAILER - MASTER STYLE SHEET (style.css)
   ========================================================================== */

/* ================= 1. Global Reset & Base ================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
body { color: #333; line-height: 1.6; background-color: #f5f5f5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ================= 2. Header & Desktop Navigation ================= */
header { background: #fff; position: relative; z-index: 1000; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; height: 80px; width: 100%; padding: 0 0 0 40px; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; cursor: pointer; }
.logo img { width: auto;height: 60px; margin-bottom: 0px; }
.logo span { font-size: 12px; font-weight: bold; color: #000; }

.desktop-nav { margin-left: 60px; margin-right: auto; height: 100%; }
.desktop-nav > ul { display: flex; height: 100%; }
.desktop-nav > ul > li { height: 100%; display: flex; align-items: center; padding: 0 20px; }
.desktop-nav > ul > li > a { font-size: 16px; font-weight: 800; text-transform: capitalize; position: relative; padding: 10px 0; color: #000; }
.desktop-nav > ul > li.active > a::after, .desktop-nav > ul > li:hover > a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background-color: #ff7300; }

/* 1. 一级菜单基础样式（修复重叠的关键） */
.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* 一级菜单横向排列 */
    gap: 3rem; /* 一级项之间的间距 */
}
.main-nav > li {
    position: relative; /* 子菜单绝对定位的父级，解决重叠 */
    padding: 1.5rem 0;
}
.main-nav > li > a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.3rem;
}

/* 2. 二级菜单基础样式（默认隐藏，hover显示） */
.main-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%; /* 定位在一级菜单下方，彻底解决重叠 */
    left: 0;
    display: none; /* 默认隐藏二级菜单 */
}
/* 一级菜单hover时显示二级菜单 */
.main-nav > li:hover > .sub-menu {
    display: grid;
}

/* 3. 重点：Products菜单的多列布局（和图一匹配） */
/* 仅给Products的二级菜单启用4列布局，其他菜单保持默认 */
.main-nav > li:nth-child(2) > .sub-menu {
    grid-template-columns: repeat(4, 1fr); /* 强制4列 */
    min-width: 900px; /* 控制二级菜单总宽度，根据内容调整 */
    gap: 1.5rem; /* 列之间的间距 */
}

/* 4. 列标题样式（二级菜单的项） */
.main-nav > li:nth-child(2) > .sub-menu > li > a {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.8rem;
    text-decoration: none;
}

/* 5. 列内子项样式（三级菜单） */
.main-nav .sub-menu .sub-menu {
    position: static; /* 取消绝对定位，在列内正常排列 */
    display: block !important; /* 三级菜单始终显示 */
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: auto;
}
.main-nav .sub-menu .sub-menu li {
    margin-bottom: 0.6rem;
}
.main-nav .sub-menu .sub-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}
.main-nav .sub-menu .sub-menu li a:hover {
    color: #0066cc;
}

/* ====================== 导航当前页面高亮样式 ====================== */
/* 1. 一级菜单：当前页面 / 父级页面 高亮 */
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-parent > a,
.main-nav > li.current-menu-ancestor > a {
  color: #ff7300 !important; /* 文字红色高亮 */

}

/* 2. 二级/三级菜单：当前子菜单高亮 */
.main-nav .sub-menu li.current-menu-item > a {
  color: #ff7300 !important; /* 子菜单文字红色 */
  font-weight: 600;
  padding-left: 4px; /* 左侧小缩进，更醒目 */
  border-left: 2px solid #ff7300; /* 左侧红色小竖线 */
}

/* 3. 鼠标悬浮样式（统一风格） */
.main-nav li a:hover {
  color: #ff7300 !important;
  transition: 0.2s;
}

.header-right { display: flex; height: 100%; align-items: center; }
.lang { margin-right: 30px; font-size: 16px; font-weight: normal; cursor: pointer; color: #000;}
.mail-btn { background-color: #ff7300; height: 100%; width: 80px; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 24px; cursor: pointer; transition: 0.3s; }
.mail-btn:hover { background-color: #df6a0a; }
.mobile-menu-btn { display: none; font-size: 28px; cursor: pointer; margin-left: 20px; font-weight: bold; }

/* Mega Menu */
.has-dropdown { position: static !important; }
.mega-menu { position: absolute; top: 80px; left: 0; width: 100%; background-color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 40px 0; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; border-top: 1px solid #eee; }
.has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; }
.mega-menu-inner { width: 100%; padding: 0 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; row-gap: 50px; }
.menu-col h4 { font-size: 15px; font-weight: 900; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.menu-col ul li { margin-bottom: 10px; }
.menu-col ul li a { color: #666; font-size: 14px; }
.menu-col ul li a:hover { color: #ff7300; padding-left: 5px; }

/* ================= 3. Mobile Overlay Menu (Heavy Font) ================= */
.mobile-menu-overlay { position: fixed; top: 0; right: 0; width: 100%; height: 100%; background-color: #fff; z-index: 9999; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu-overlay.active { transform: translateX(0); }
.menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #eee; }
.menu-header .logo img { height: 35px; }
.menu-header .right-side { display: flex; align-items: center; gap: 20px; }
.menu-header .lang-btn { font-size: 16px; font-weight: normal; color: #000; text-decoration: none; }
.menu-header .close-icon { font-size: 26px; cursor: pointer; line-height: 1; color: #000; font-family: sans-serif; font-weight: normal;}

.nav-list { list-style: none; padding: 10px 0; margin-bottom: 80px; }
.nav-item { border-bottom: 1px solid #fcfcfc; }
.nav-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font-family: "Arial Black", Impact, Arial, sans-serif; font-size: 20px; font-weight: 900; color: #000; text-decoration: none; cursor: pointer; }
.arrow { font-size: 14px; transition: transform 0.3s ease; font-weight: normal; color: #333; font-family: "Helvetica Neue", Arial, sans-serif; -webkit-text-stroke: 0; letter-spacing: 0;}
.submenu { max-height: 0; overflow: hidden; background-color: #fff; transition: max-height 0.3s ease-out; }
.nav-item.open > .submenu { max-height: 1500px; transition: max-height 0.5s ease-in; }
.nav-item.open > .nav-link .arrow { transform: rotate(180deg); }
.submenu .nav-link { padding-left: 45px; font-size: 18px; }
.submenu .submenu .nav-link { padding-left: 65px; font-size: 15px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: bold; -webkit-text-stroke: 0;}

/* ================= 4. Shared Banners & Breadcrumbs ================= */
.page-banner { width: 100%; height: 250px; background: url('https://via.placeholder.com/1920x400/cccccc/ffffff?text=Factory+Line+Banner') no-repeat center center/cover; }
.breadcrumb-bar { background-color: #eaeaea; padding: 15px 0; font-size: 13px; color: #666; text-align: center; }
.breadcrumb-bar a { color: #ff7300; font-weight: bold; }
.breadcrumb-bar a:hover { text-decoration: underline; }

.process-banner { background: #fff; padding: 40px 0; border-bottom: 1px solid #eee; }
.process-steps { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 15px; }
.step-num { font-size: 48px; font-weight: 900; color: #888; line-height: 1; }
.step-text h4 { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 5px; }
.step-text p { font-size: 13px; color: #777; max-width: 200px; line-height: 1.4; }
.step-arrow { color: #ccc; font-size: 24px; font-weight: 300; }

/* ================= 5. Home Page Sections ================= */
.hero-slider { width: 100%; height: 600px; overflow: hidden; }
.swiper { width: 100%; height: 100%; }
.swiper-slide { 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; /* 修改：内容左对齐 */
    background-size: cover; 
    background-position: center; 
    color: #fff; 
    position: relative;
}
/* 背景遮罩增强文字可读性 */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.hero-content { 
    z-index: 2; 
    text-align: left; /* 修改：文字左对齐 */
    max-width: 800px; /* 限制文字宽度，避免太长 */
    padding: 0 20px;
    margin-left: 8%; /* 关键：控制左边距，可根据需要调整 */
}
.hero-content h1 { 
    font-size: 38px; 
    font-weight: 900; 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3); 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-content h2 { 
    font-size: 22px; 
    font-weight: 300; 
    margin-bottom: 30px; 
    text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}
.hero-content ul li { 
    font-size: 18px; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
}
.hero-content ul li::before { 
    content: '✔'; 
    color: #007bff; 
    margin-right: 15px; 
    font-weight: bold; 
}
/* 按钮样式 */
.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: flex-start; /* 修改：按钮左对齐 */
    margin-top: 40px;
    flex-wrap: wrap;
}
.hero-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.hero-btn-primary {
    background-color: #ff7300;
    color: #ffffff;
}
.hero-btn-primary:hover {
    background-color: #e66700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 115, 0, 0.3);
}
.hero-btn-secondary {
    background-color: #ffffff;
    color: #333333;
}
.hero-btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.swiper-button-next, .swiper-button-prev { 
    color: #fff !important; 
    z-index: 10 !important;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(6px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}
.swiper-pagination {
    z-index: 10 !important;
    bottom: 25px !important;
}
.swiper-pagination-bullet-active { 
    background: #ff7300 !important; 
}

/* About Us Home Block */
.about-wrapper { padding: 100px 80px 80px; background: #fff;}
.about-section { display: flex; align-items: center; gap: 20px; }
.about-text { flex: 1; padding-right: 20px; }
.about-text h3 { color: #ff7300; font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.about-text h2 { font-size: 42px; font-weight: 900; color: #222; text-transform: uppercase; margin-bottom: 25px; line-height: 1.1; }
.about-text p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 50px; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 10px; }
.icon-item { text-align: center; }
.icon-item img { height: 35px; margin-bottom: 12px; opacity: 0.7; }
.icon-item span { display: block; font-size: 13px; color: #555; }
.about-image-wrapper { flex: 1.2; position: relative; min-height: 550px; display: flex; align-items: center; }
.bg-shape-blue { position: absolute; top: -20px; right: -100px; width: 120%; height: 105%; background-color: #df6a0a; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; }
.bg-shape-black { position: absolute; bottom: -20px; right: -100px; width: 90%; height: 25%; background-color: #262626; clip-path: polygon(0 100%, 100% 100%, 100% 0); z-index: 2; }
.truck-image { position: relative; z-index: 3; width: 90%; margin-left: 0%; filter: drop-shadow(-10px 15px 15px rgba(0,0,0,0.3)); }

/* Products Hover Tabs */
.products-section { padding: 80px 0 100px; }
.product-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.product-tabs button { padding: 12px 30px; background-color: #333333; color: #ffffff; border: none; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.product-tabs button.active, .product-tabs button:hover { background-color: #ff7300; }
.products-panels-wrapper { min-height: 350px; }
.product-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-panel.active { display: grid; animation: panelFadeIn 0.4s ease-out forwards; }
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.product-card { border: 1px solid #e0e0e0; background: #fff; text-align: center; transition: 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.product-card img { width: 100%; height: 240px; object-fit: cover; display: block; border-bottom: 1px solid #e0e0e0; }
.product-card p { padding: 15px 10px; font-size: 14px; color: #555; }

/* Why Choose Us */
.choose-us-wrapper { padding: 100px 0; background-color: #fcfcfc; position: relative; overflow: hidden; border-top: 1px solid #eee; }
.choose-us-section { display: flex; align-items: center; gap: 50px; }
.choose-image-wrapper { flex: 1; position: relative; min-height: 500px; display: flex; align-items: flex-end; }
.choose-shape-dark { position: absolute; top: 0; left: -50px; width: 110%; height: 90%; background-color: #333333; clip-path: polygon(0 0, 100% 20%, 90% 100%, 0% 100%); z-index: 1; }
.choose-shape-blue { position: absolute; bottom: 5%; left: 50%; width: 60%; height: 40%; background-color: #ff7300; clip-path: polygon(0 100%, 100% 100%, 0 0); z-index: 0; }
.handshake-image { position: relative; z-index: 2; width: 100%; margin-bottom: -10px; }
.choose-content { flex: 1.3; text-align: center; }
.choose-content h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; color: #222; }
.choose-content > p { font-size: 14px; color: #666; margin-bottom: 50px; line-height: 1.8; padding: 0 20px; }
.choose-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.feature-icon-circle { width: 65px; height: 65px; border: 2px solid #ff7300; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #ff7300; font-size: 24px; }
.feature-item h4 { font-size: 16px; font-weight: 900; margin-bottom: 15px; color: #222; }
.feature-item p { font-size: 13px; color: #777; line-height: 1.6; }
.btn-view-more { display: inline-block; background-color: #ff7300; color: #fff; padding: 14px 45px; font-size: 14px; font-weight: bold; border: none; cursor: pointer; transition: 0.3s; }
.btn-view-more:hover { background-color: #df6a0a; }

/* Hot Sale Trucks */
.hot-sale-wrapper { padding: 80px 0 100px; background-color: #f6f6f6; }
.section-title { text-align: center; font-size: 30px; font-weight: 900; margin-bottom: 60px; color: #333; text-transform: uppercase; letter-spacing: 1px; }
.hot-sale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.hot-truck-card { position: relative; background-color: #333333; min-height: 220px; display: flex; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.hot-truck-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.card-shape-white { position: absolute; top: 0; left: 0; width: 50%; height: 100%; background-color: #fff; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); z-index: 1; }
.card-shape-blue { position: absolute; bottom: 0; left: 0; width: 45%; height: 25%; background-color: #ff7300; clip-path: polygon(0 100%, 100% 100%, 0 0); z-index: 2; }
.truck-img-layer { position: absolute; top: 50%; left: 0%; transform: translateY(-50%); width: 55%; height: 120%; z-index: 3; display: flex; align-items: center; justify-content: center; }
.truck-img-layer img { width: 90%; height: auto; max-height: 90%; object-fit: contain; filter: drop-shadow(8px 8px 10px rgba(0,0,0,0.4)); }
.truck-info { position: relative; z-index: 4; margin-left: 50%; width: 50%; padding: 30px 20px 30px 10px; display: flex; flex-direction: column; justify-content: center; }
.truck-info h3 { color: #fff; font-size: 18px; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; }
.truck-info p { color: #dcdcdc; font-size: 13px; line-height: 1.5; }

/* News Center (Home Page Version) */
.news-wrapper { padding: 80px 0; background-color: #f5f5f5; }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; }
.news-header h2 { font-size: 28px; font-weight: 900; text-transform: uppercase; color: #222; }
.news-header a { font-size: 14px; color: #333; text-decoration: none; }
.news-header a:hover { color: #ff7300; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.news-item { border-top: 1px solid #ddd; padding: 25px 0; display: flex; flex-direction: column; gap: 15px; }
.news-top { display: flex; justify-content: space-between; align-items: center; }
.news-title { font-size: 15px; font-weight: normal; color: #555; display: flex; align-items: center; }
.news-title::before { content: '•'; margin-right: 10px; color: #888; font-size: 18px; }
.news-date { font-size: 14px; color: #999; }
.news-bottom { display: flex; justify-content: space-between; align-items: flex-start; }
.news-desc { font-size: 13px; color: #888; line-height: 1.6; max-width: 85%; }
.news-link { color: #888; font-size: 18px; text-decoration: none; display: flex; align-items: center; gap: 15px; transition: color 0.3s; }
.news-link:hover { color: #ff7300; }
.news-link::before { content: '|'; color: #ccc; font-size: 14px; }

/* ================= 6. Pages specific ================= */

/* About Page */
.about-top { display: flex; gap: 60px; padding: 80px 0 60px; align-items: center;}
.about-top-left { flex: 1; }
.about-top-left h1 { font-size: 38px; font-weight: 900; line-height: 1.4; color: #333; font-family: "Arial Black", Impact, sans-serif; }
.about-top-right { flex: 1; color: #555; font-size: 14px; line-height: 1.8; }
.about-top-right p { margin-bottom: 20px; }

.about-features-wrapper { background-color: #fbfbfb; padding: 60px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;}
.features-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { padding: 40px 30px; border-radius: 2px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.feature-card.blue { background-color: #ff7300; color: #fff; }
.feature-card.white { background-color: #fff; color: #333; }
.feature-card .icon { font-size: 28px; margin-bottom: 20px; display: block; }
.feature-card.blue .icon { color: #fff; }
.feature-card.white .icon { color: #ff7300; }
.feature-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 15px; text-transform: capitalize;}
.feature-card p { font-size: 13px; line-height: 1.6; opacity: 0.9; }

.about-bottom { display: flex; gap: 60px; padding: 80px 0 100px; align-items: center; }
.about-bottom-text { flex: 1.1; font-size: 14px; color: #555; line-height: 1.8; }
.about-bottom-text p { margin-bottom: 20px; }
.about-bottom-video { flex: 0.9; position: relative; cursor: pointer; }
.about-bottom-video img { width: 100%; display: block; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 65px; height: 65px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 2px solid #fff; transition: 0.3s; }
.play-btn:hover { background: #ff7300; border-color: #ff7300; transform: translate(-50%, -50%) scale(1.05); }
.play-btn::after { content: ''; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; margin-left: 5px; }

/* Products List Page */
.products-page-container { display: flex; gap: 30px; padding: 50px 0 100px; }
.sidebar { width: 280px; flex-shrink: 0; background: #fff; border: 1px solid #eaeaea; align-self: flex-start; }
.sidebar-header { background-color: #333333; color: #fff; padding: 15px 20px; font-size: 16px; font-weight: 900; text-transform: uppercase; }
.sidebar-menu { list-style: none; }
.sidebar-menu > li { border-bottom: 1px solid #eaeaea; }
.side-link { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 14px; font-weight: bold; color: #333; cursor: pointer; transition: background 0.2s; }
.side-link:hover { background-color: #f9f9f9; color: #ff7300; }
/*.side-link::before { content: '•'; margin-right: 8px; color: #888; }*/
.side-arrow { font-size: 12px; font-weight: normal; color: #999; transition: transform 0.3s; }
.side-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; }
.sidebar-menu > li.open > .side-submenu { max-height: 800px; transition: max-height 0.5s ease-in; }
.sidebar-menu > li.open > .side-link .side-arrow { transform: rotate(180deg); }
.side-submenu li a { display: block; padding: 10px 20px 10px 40px; font-size: 13px; color: #666; border-bottom: 1px dashed #eaeaea; }
.side-submenu li a:hover, .side-submenu li a.active { color: #ff7300; background: #f0f0f0; }

.main-content { flex-grow: 1; min-width: 0;}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.prod-card { background: #fff; border: 1px solid #eaeaea; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.prod-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid #eee; }
.prod-title { padding: 15px; text-align: center; font-size: 14px; font-weight: bold; color: #333; flex-grow: 1; }
.inquire-btn { display: block; width: 100%; background-color: #f4f4f4; color: #ff7300; text-align: center; padding: 12px 0; font-size: 13px; font-weight: bold; border-top: 1px solid #eaeaea; transition: 0.3s; }
.inquire-btn:hover { background-color: #ff7300; color: #fff; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 13px; color: #666; }
.page-num { display: inline-block; min-width: 30px; height: 30px; line-height: 28px; text-align: center; border: 1px solid #ddd; background: #fff; cursor: pointer; transition: 0.2s; }
.page-num:hover, .page-num.active { background: #ff7300; color: #fff; border-color: #ff7300; }
.page-dots { margin: 0 5px; }
.page-input { width: 40px; height: 30px; border: 1px solid #ddd; text-align: center; outline: none; }
.page-go { font-weight: bold; cursor: pointer; margin-left: 5px; }

/* Product Detail Page */
.product-top { display: flex; gap: 30px; margin-bottom: 40px; background: #fff; padding: 25px; border: 1px solid #eaeaea;}
.product-gallery { width: 45%; }
.main-img-box { width: 100%; border: 1px solid #eee; margin-bottom: 10px; display: flex; justify-content: center; align-items: center; background: #f9f9f9; }
.main-img-box img { width: 100%; height: auto; display: block; }
.thumb-list { display: flex; gap: 10px; overflow-x: auto; }
.thumb-list img { width: 80px; height: 60px; object-fit: cover; border: 2px solid #eee; cursor: pointer; transition: 0.2s; }
.thumb-list img.active, .thumb-list img:hover { border-color: #ff7300; }
.product-info { width: 55%; }
.product-title { font-size: 22px; font-weight: 900; color: #222; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.specs-list { list-style: none; margin-bottom: 25px; font-size: 13px; }
.specs-list li { display: flex; margin-bottom: 10px; border-bottom: 1px dashed #eee; padding-bottom: 8px; }
.specs-list .label { color: #777; width: 140px; flex-shrink: 0; }
.specs-list .val { color: #333; font-weight: bold; }
.qty-box { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; font-size: 13px; color: #777; }
.qty-input { display: flex; border: 1px solid #ddd; }
.qty-input button { background: #f4f4f4; border: none; padding: 5px 15px; cursor: pointer; font-size: 16px; }
.qty-input input { width: 50px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; outline: none;}
.action-btns { display: flex; gap: 15px; }
.btn { padding: 12px 25px; font-size: 14px; font-weight: bold; border-radius: 25px; cursor: pointer; border: none; transition: 0.3s; text-align: center; }
.btn-primary { background: #ff7300; color: #fff; }
.btn-primary:hover { background: #df6a0a; }
.btn-secondary { background: #f4f4f4; color: #ff7300; border: 1px solid #ff7300; }
.btn-secondary:hover { background: #f5ece0; }

.detail-wrapper { background: #fff; padding: 25px; border: 1px solid #eaeaea; margin-bottom: 40px;}
.detail-tabs { display: flex; border-bottom: 2px solid #ff7300; margin-bottom: 25px; }
.detail-tab { padding: 12px 30px; font-size: 15px; font-weight: bold; color: #333; cursor: pointer; background: #f4f4f4; margin-right: 5px; border-radius: 5px 5px 0 0; }
.detail-tab.active { background: #ff7300; color: #fff; }
.detail-content { font-size: 14px; color: #444; line-height: 1.8; }
.content-block { margin-bottom: 30px; }
.content-block h3 { font-size: 16px; font-weight: bold; color: #222; margin-bottom: 15px; border-left: 3px solid #ff7300; padding-left: 10px; background: #f9f9f9; padding-top: 5px; padding-bottom: 5px;}
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.info-table td, .info-table th { border: 1px solid #e0e0e0; padding: 10px 15px; }
.info-table th { background: #f9f9f9; color: #666; font-weight: normal; width: 20%; }
.info-table td { color: #222; width: 30%; }
.desc-text { margin-bottom: 15px; }
.desc-list { list-style: disc; padding-left: 20px; margin-bottom: 15px; color: #555; }
.image-stack { text-align: center; margin-top: 30px; }
.image-stack img { width: 100%; max-width: 800px; margin-bottom: 20px; border: 1px solid #eee; display: inline-block; }
.download-box { background: #f9f9f9; border: 1px dashed #ccc; padding: 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.dl-left { display: flex; align-items: center; gap: 15px; font-weight: bold; font-size: 15px; color: #333; }
.dl-icon { color: #d32f2f; font-size: 24px; }
.dl-btn { color: #ff7300; font-size: 20px; }
.related-products { display: flex; gap: 20px; margin-bottom: 20px;}
.rel-card { width: 33.333%; text-align: center; border: 1px solid #eee; padding-bottom: 10px; transition: 0.3s; cursor: pointer; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.rel-card img { width: 100%; height: 140px; object-fit: cover; margin-bottom: 10px; border-bottom: 1px solid #eee; }
.rel-card p { font-size: 13px; font-weight: bold; padding: 0 10px; }

.inline-inquiry { margin-top: 50px; border-top: 2px solid #eee; padding-top: 30px; }
.inline-inquiry h3 { font-size: 20px; font-weight: 900; margin-bottom: 25px; text-transform: uppercase; color: #222; }
.pi-form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.pi-form input, .pi-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; outline: none; font-size: 13px; background: #fcfcfc; }
.pi-form input:focus, .pi-form textarea:focus { border-color: #ff7300; background: #fff; }
.pi-form textarea { min-height: 120px; resize: vertical; margin-bottom: 20px; }
.pi-btn { background: #ff7300; color: #fff; border: none; padding: 12px 40px; font-weight: bold; cursor: pointer; border-radius: 3px; transition: 0.3s; }
.pi-btn:hover { background: #df6a0a; }

/* News List Page */
.news-page-container { padding: 40px 0 80px; }
.news-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.news-filters button { background-color: #333333; color: #fff; border: none; padding: 12px 40px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.3s; border-radius: 2px; }
.news-filters button:hover, .news-filters button.active { background-color: #444; }
.news-list-wrapper { display: flex; flex-direction: column; gap: 20px; margin-bottom: 50px; }
.news-card { display: flex; background: #fff; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: 0.3s; gap: 25px; align-items: center; border: 1px solid #eaeaea; }
.news-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-2px); }
.news-card-img { width: 240px; flex-shrink: 0; }
.news-card-img img { width: 100%; height: 150px; object-fit: cover; display: block; border: 1px solid #f0f0f0; }
.news-card-content { flex-grow: 1; padding: 10px 0; }
.news-card-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px; transition: 0.3s; line-height: 1.4; }
.news-card:hover .news-card-title { color: #ff7300; }
.news-card-date { font-size: 12px; color: #888; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.news-card-desc { font-size: 13px; color: #666; line-height: 1.6; }
.pagination-bar { display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 13px; color: #666; flex-wrap: wrap; margin-top: 40px; }
.page-item { display: inline-flex; justify-content: center; align-items: center; min-width: 30px; height: 30px; border: 1px solid #ddd; background: #fff; cursor: pointer; color: #333; transition: 0.2s; }
.page-item.active, .page-item:hover { background: #ff7300; color: #fff; border-color: #ff7300; }
.page-text { margin: 0 10px; }

/* News Detail Page */
.news-detail-container { max-width: 960px; margin: 40px auto 80px; padding: 40px 20px; background: #fff; border: 1px solid #eaeaea;}
.article-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 25px; }
.article-title { font-size: 26px; font-weight: bold; color: #222; margin-bottom: 15px; line-height: 1.4; }
.article-meta { font-size: 13px; color: #888; display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.social-share { display: flex; justify-content: center; gap: 8px; }
.social-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; border-radius: 2px; text-decoration: none; font-weight: bold;}
.icon-fb { background: #3b5998; } .icon-tw { background: #1da1f2; } .icon-wa { background: #25d366; } .icon-wc { background: #09b83e; } .icon-in { background: #0077b5; } .icon-pi { background: #bd081c; } .icon-sh { background: #ff9800; }
.article-content { font-size: 14px; color: #555; line-height: 1.8; }
.article-content p { margin-bottom: 20px; text-align: justify; }
.article-content img { width: 100%; max-width: 800px; display: block; margin: 30px auto; border: 1px solid #eaeaea; }
.article-content h4 { font-size: 15px; color: #222; margin-top: 35px; margin-bottom: 10px; font-weight: bold; }
.article-nav { display: flex; justify-content: space-between; border: 1px solid #eaeaea; padding: 15px 20px; margin-top: 60px; font-size: 13px; background: #fafafa; flex-wrap: wrap; gap: 15px;}
.article-nav a { color: #555; transition: 0.3s; }
.article-nav a:hover { color: #ff7300; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tag { border: 1px solid #ddd; padding: 8px 15px; font-size: 13px; color: #666; border-radius: 2px; background: #fff; transition: 0.3s; }
.tag:hover { border-color: #ff7300; color: #ff7300; }

/* FAQ Page */
.faq-page-container { padding: 60px 20px 100px; max-width: 1000px; margin: 0 auto; background-color: #f5f5f5; }

/* 给每一项加上白色背景和内边距，折叠效果更好看 */
.faq-item { margin-bottom: 20px; background-color: #fff; padding: 20px; border-radius: 8px; }

/* 增加 cursor 和 justify-content 让箭头靠右 */
.faq-q { display: flex; align-items: flex-start; justify-content: space-between; font-size: 18px; font-weight: bold; color: #444; margin-bottom: 0; line-height: 1.4; cursor: pointer; user-select: none; }
.q-mark { color: #ff7300; font-weight: 900; margin-right: 15px; font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.q-text { flex-grow: 1; padding-right: 20px; }

/* 箭头样式及动画过渡 */
.faq-toggle { flex-shrink: 0; font-size: 14px; color: #999; transition: transform 0.3s ease; margin-top: 3px; }

/* 默认隐藏答案，修改边距 */
.faq-a { display: none; align-items: flex-start; font-size: 14px; color: #666; line-height: 1.8; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; }
.a-mark { color: #aaa; font-weight: 900; margin-right: 15px; font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.faq-a-content { flex-grow: 1; }
.faq-a-content ul { list-style: none; padding: 0; }
.faq-a-content ul li { margin-bottom: 3px; }

/* ==== 激活（展开）状态下的样式 ==== */
.faq-item.active .faq-a { display: flex; }
.faq-item.active .faq-toggle { transform: rotate(180deg); color: #ff7300; }

/* Contact Page */
.contact-page-container { display: flex; gap: 60px; padding: 60px 0 100px; max-width: 1100px; margin: 0 auto; }
.contact-left { flex: 1.2; }
.section-title { font-size: 26px; font-weight: 900; text-transform: uppercase; color: #222; margin: 30px 0 10px 0; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 13px; color: #555; margin-bottom: 8px; }
.contact-form .req { color: #d32f2f; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; background-color: #fafafa; outline: none; font-size: 14px; color: #333; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #ff7300; background-color: #fff; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.submit-btn { background-color: #ff7300; color: #fff; border: none; padding: 12px 40px; font-size: 14px; font-weight: bold; cursor: pointer; border-radius: 2px; transition: 0.3s; }
.submit-btn:hover { background-color: #df6a0a; }
.contact-right { flex: 0.8; padding-left: 40px; border-left: 1px solid #e0e0e0; }
.info-block { margin-bottom: 35px; }
.info-block h4 { font-size: 14px; font-weight: 900; color: #333; margin-bottom: 15px; text-transform: uppercase; }
.info-item { display: flex; align-items: flex-start; gap: 15px; font-size: 14px; color: #555; line-height: 1.6; }
.info-icon { color: #ff7300; font-size: 16px; margin-top: 2px; }

/* ================= 13. Footer & Fixed Elements ================= */
footer { background: #222222; color: #999; font-size: 13px;}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr 1.4fr; align-items: stretch; }
.footer-col { padding: 60px 20px 40px 0; }
.footer-col.form-col { background-color: #ff7300; padding: 60px 30px 40px; color: #fff; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-size: 16px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col.list-col ul li::before { content: '·'; font-size: 20px; font-weight: bold; line-height: 0.8; color: #888;}
.footer-col ul li a { color: #aaa; transition: 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a.active-link { color: #0d6efd; } 
.contact-col-ft ul li { margin-bottom: 15px; display: flex; gap: 8px;}
.contact-icon-ft { font-size: 14px; min-width: 20px; display: inline-block; text-align: left; margin-top: 2px;}
.form-row { display: flex; gap: 10px; margin-bottom: 10px; }
.form-row input, .form-col input[type="text"], .form-col textarea { width: 100%; padding: 10px 12px; border: none; outline: none; font-size: 13px; color: #333; margin-bottom: 10px; }
.form-col textarea { resize: vertical; min-height: 80px; }
.form-col button { background: #fff; color: #ff7300; border: none; padding: 8px 30px; font-weight: bold; cursor: pointer; border-radius: 2px;}
.copyright { padding: 20px 0 40px; color: #777; font-size: 13px; text-align: left; }

/* PC端右侧固定 WhatsApp */
.fixed-wa-btn { position: fixed; right: 0; top: 250px; background-color: #ff7300; color: #fff !important; padding: 15px 10px; text-align: center; font-size: 12px; font-weight: bold; z-index: 9998; border-radius: 5px 0 0 5px; box-shadow: -2px 2px 10px rgba(0,0,0,0.2); transition: 0.3s; text-decoration: none !important;}
.fixed-wa-btn:hover { background-color: #df6a0a; padding-right: 15px;}
.fixed-wa-btn svg { display: block; margin: 0 auto 5px; fill: #fff; }

/* 移动端底部固定 WhatsApp (默认隐藏) */
.mobile-fixed-btn {
    display: none; 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background-color: #ff7300; /* 蓝色背景 */
    color: #ffffff !important; /* 强制白字 */
    text-decoration: none !important; /* 强制去除下划线 */
    padding: 15px 0; 
    font-size: 18px; 
    font-weight: 900; 
    z-index: 9999; 
    text-align: center; 
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15); 
    align-items: center; justify-content: center; gap: 8px;
}
.mobile-fixed-btn svg { width: 22px; height: 22px; fill: #ffffff; }

 /* 搜索按钮样式 */
    .search-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        transition: background-color 0.3s;
        margin-right: 8px;
    }

    .search-btn:hover {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
    }

    /* 搜索弹窗样式 */
    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

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

    .search-container {
        width: 90%;
        max-width: 600px;
        background-color: #fff;
        padding: 2rem;
        border-radius: 8px;
    }

    .search-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }

    .close-search {
        font-size: 24px;
        cursor: pointer;
        color: #333;
        transition: color 0.3s;
    }

    .close-search:hover {
        color: #ff0000;
    }

    .search-form {
        display: flex;
        gap: 10px;
    }

    .search-input {
        flex: 1;
        padding: 12px 16px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        outline: none;
    }

    .search-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    .search-submit {
        padding: 12px 24px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;
    }

    .search-submit:hover {
        background-color: #ff7300;
    }


/* 顶部背景图容器 */
.about-top-section {
    /* 👇 替换为你自己的背景图片URL */
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.1) 100%), url('../picture/a6633d69547710299cacab99c8010e3b.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 背景图固定效果（可选，滚动时背景不动） */
    background-attachment: fixed;
    padding: 80px 0; /* 上下内边距，控制背景图显示高度 */
}

/* 毛玻璃内容容器 */
.about-top-content {
    display: flex;
    gap: 60px;
    padding: 60px 80px; /* 毛玻璃内部的内边距 */
    align-items: center;
    /* 核心毛玻璃效果 */
    background-color: rgba(255, 255, 255, 0.82); /* 白色半透明背景 */
    -webkit-backdrop-filter: blur(12px); /* Safari兼容 */
    backdrop-filter: blur(12px); /* 毛玻璃模糊度 */
    border-radius: 16px; /* 圆角大小 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); /* 轻微阴影增加层次感 */
    border: 1px solid rgba(255, 255, 255, 0.9); /* 白色边框增强质感 */
}

.about-top-left {
    flex: 1;
}

.about-top-left h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.4;
    color: #333;
    font-family: "Arial Black", Impact, sans-serif;
    margin: 0; /* 清除默认边距 */
}

.about-top-right {
    flex: 1;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.about-top-right p {
    margin-bottom: 20px;
}

.about-top-right p:last-child {
    margin-bottom: 0; /* 最后一段去掉下边距 */
}

/* 下面的特色区域保持不变 */
.about-features-wrapper {
    background-color: #fbfbfb;
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
