/* ===================================================
   KMCPLUS 官方网站核心样式表 - 终极完整版
   =================================================== */

/* ================= 1. 基础复位与变量 ================= */
:root {
    --tech-blue: #0C1E3E;       /* 科技深蓝 */
    --champagne-gold: #D4B26A;  /* 香槟金 */
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #F9FAFB;
    --main-font: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
body { font-family: var(--main-font); color: var(--text-dark); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; position: relative; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }

.placeholder-img { width: 100%; height: 100%; background: #eee; border: 1px dashed #ddd; display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px; border-radius: 4px; object-fit: cover; }

.section-title { font-size: 32px; color: var(--tech-blue); font-weight: bold; position: relative; display: inline-block; padding-bottom: 15px; margin-bottom: 10px; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background: var(--champagne-gold); }

/* ================= 2. 顶部导航与菜单 ================= */
.topbar { background: #f8f8f8; border-bottom: 1px solid #eee; height: 40px; font-size: 12px; color: #666; position: relative; z-index: 1001; }
.topbar .tel b { color: var(--champagne-gold); font-size: 14px; margin-left: 5px; }
.topbar .social-icons { display: flex; gap: 15px; align-items: center; height: 100%; }
.topbar .social-icons div { position: relative; cursor: pointer; }
.topbar .social-icons div:hover .qr-code { display: block; }
.qr-code { display: none; position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: 100px; height: 100px; background: #fff; border: 1px solid #eee; padding: 5px; z-index: 100; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.navbar { background: #fff; position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.nav-main { height: 80px; display: flex; justify-content: center; align-items: center; position: relative; }
.logo-box { display: flex; align-items: center; justify-content: center; height: 100%; }
.logo-box img { object-fit: contain; }

.menu-list { display: flex; justify-content: center; gap: 5px; height: 80px; align-items: center; }
.menu-list > li { position: relative; height: 100%; display: flex; align-items: center; }
.menu-list > li > a { display: block; padding: 0 20px; color: var(--tech-blue); font-size: 15px; font-weight: 500; height: 100%; line-height: 80px; position: relative; }
.menu-list > li > a .arrow { font-size: 10px; margin-left: 5px; opacity: 0.7; transition: transform 0.3s; display: inline-block; }

.menu-list > li:hover > a, .menu-list > li.active > a { color: var(--champagne-gold); }
.menu-list > li > a::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 20px; height: 2px; background: var(--champagne-gold); transform: scaleX(0); transition: transform 0.3s; }
.menu-list > li:hover > a::after, .menu-list > li.active > a::after { transform: scaleX(1); }

/* PC端下拉菜单 */
.dropdown { position: absolute; top: 80px; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 10px 0; opacity: 0; visibility: hidden; transition: all 0.3s; border-radius: 4px; min-width: 180px; border-top: 2px solid var(--champagne-gold); }
.menu-list > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-col h4 { color: var(--champagne-gold); font-size: 14px; margin: 10px 0 5px; padding: 0 15px; border-left: 3px solid var(--champagne-gold); margin-left: 15px; }
.dropdown a { display: block; padding: 10px 30px; color: #555; font-size: 14px; white-space: nowrap; }
.dropdown a:hover { background: #fdfaf3; color: var(--champagne-gold); }

/* 超级菜单 */
.dropdown.mega { min-width: 500px; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dropdown.mega .drop-col { border-right: 1px solid #eee; }
.dropdown.mega .drop-col:last-child { border-right: none; }
.dropdown.mega a { padding: 8px 15px; }

/* ================= 3. 首页特定区块 ================= */
.hero-banner { width: 100%; height: 625px; background: #eee; position: relative; overflow: hidden; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.5; width: 10px; height: 10px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--champagne-gold); opacity: 1; width: 25px; border-radius: 5px; }

.section-about { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h3 { font-size: 28px; color: var(--tech-blue); margin-top: 0; }
.btn-learn { display: inline-block; padding: 10px 25px; border: 1px solid var(--champagne-gold); color: var(--champagne-gold); font-size: 14px; font-weight: bold; border-radius: 20px; margin-top: 10px; }
.btn-learn:hover { background: var(--champagne-gold); color: #fff; }
.video-box { height: 300px; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.four-blocks-section { padding: 50px 0; position: relative; }
.bg-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: grid; grid-template-columns: repeat(6, 1fr); z-index: 1; }
.bg-lines div { border-right: 1px solid #f0f0f0; }
.bg-lines div:first-child { border-left: 1px solid #f0f0f0; }
.four-blocks { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.home-block-item { display: block; height: 380px; background-color: #eee; background-size: cover; background-position: center; border-radius: 8px; position: relative; transition: transform 0.4s ease-out; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.home-block-item::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(12,30,62,0.1) 0%, rgba(12,30,62,0.8) 100%); opacity: 0; transition: opacity 0.4s; border-radius: 8px; }
.home-block-item span { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; font-size: 18px; font-weight: bold; z-index: 3; opacity: 0; transform: translateY(10px); transition: all 0.4s; }
.home-block-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(12,30,62,0.15); }
.home-block-item:hover::after { opacity: 1; }
.home-block-item:hover span { opacity: 1; transform: translateY(0); }

/* 💡 电商级产品与门店卡片重构 (首页) */
.carousel-section { padding: 60px 0; background: var(--bg-light); }
.product-card-home { background: #fff; padding: 15px; border-radius: 8px; text-align: center; height: 100%; transition: all 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; align-items: center; }
.product-card-home:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: #e0e0e0; }

/* 正方形 1:1 图片容器 */
.product-card-home .img-box { width: 100%; aspect-ratio: 1 / 1; height: auto; background: #fafafa; margin-bottom: 15px; border-radius: 4px; overflow: hidden; }
/* 图片平滑过渡属性 */
.product-card-home .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
/* 鼠标放上去时，图片缓慢放大 1.1倍 */
.product-card-home:hover .img-box img { transform: scale(1.1); }

.product-card-home h4 { font-size: 15px; color: var(--tech-blue); margin: 0; height: 40px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: auto; }
.multi-swiper { padding-bottom: 40px; }
.multi-swiper .swiper-pagination-bullet-active { background: var(--champagne-gold); }

.franchise-section { padding: 80px 0; background: #fff; }
.fran-wrapper { display: flex; align-items: stretch; max-width: 1200px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.04); background: #fff; }
.fran-left { flex: 0 0 55%; overflow: hidden; font-size: 0; }
.fran-main-img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; transition: opacity 0.4s ease; }
.fran-right { flex: 1; display: flex; flex-direction: column; }
.fran-right-top { padding: 50px 40px 40px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.fran-right-top h2 { font-size: 22px; color: var(--champagne-gold); font-weight: 300; letter-spacing: 1px; margin-bottom: 10px; font-family: Arial, sans-serif; text-transform: uppercase; }
.fran-right-top h3 { font-size: 26px; color: var(--tech-blue); margin-bottom: 15px; letter-spacing: 2px; font-weight: normal; }
.fran-right-top p { color: #888; font-size: 13px; margin-bottom: 25px; }
.fran-right-top a { display: inline-block; border: 1px solid #999; color: #666; padding: 8px 35px; font-size: 14px; transition: all 0.3s; }
.fran-right-top a:hover { background: #666; color: #fff; border-color: #666; }
.fran-right-bottom { background: #FCF8F2; padding: 40px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.fran-right-bottom h4 { font-size: 20px; color: #333; margin-bottom: 15px; font-weight: normal; }
.fran-right-bottom p { color: #666; font-size: 13px; line-height: 1.8; margin: 0; text-align: justify; }
.fran-timeline { max-width: 1100px; margin: 60px auto 0; position: relative; display: flex; justify-content: space-between; }
.fran-timeline::before { content: ''; position: absolute; top: 10px; left: 10%; right: 10%; height: 1px; background: #E5E5E5; z-index: 1; }
.fran-node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; cursor: pointer; flex: 1; }
.fran-node .dot { width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 4px solid #E5E5E5; margin-bottom: 15px; transition: all 0.3s; box-sizing: border-box; }
.fran-node:hover .dot { border-color: var(--champagne-gold); }
.fran-node.active .dot { border-color: var(--champagne-gold); background: var(--champagne-gold); box-shadow: 0 0 0 4px rgba(212,178,106,0.15); }
.fran-node .label { font-size: 13px; color: #999; transition: color 0.3s; text-align: center; line-height: 1.4; }
.fran-node.active .label { color: var(--champagne-gold); font-weight: bold; }

.expert-section { padding: 100px 0; background: radial-gradient(circle at center, #ffffff 0%, #eef1f5 100%); position: relative; }
.expert-layout { display: flex; align-items: center; gap: 60px; max-width: 1050px; margin: 0 auto; }
.expert-left { flex: 0 0 380px; }
.expert-main-img { width: 100%; height: 480px; object-fit: cover; border: 12px solid #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.06); background: #fff; display: block; transition: opacity 0.3s ease; }
.expert-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.expert-text-box { min-height: 200px; margin-bottom: 20px; }
.expert-text-item { display: none; animation: fadeIn 0.6s ease-in-out; text-align: left; }
.expert-text-item.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.expert-text-item h1 { font-size: 32px; color: #333; font-weight: 300; margin-bottom: 12px; letter-spacing: 1px; }
.expert-text-item h2 { font-size: 13px; color: var(--champagne-gold); margin-bottom: 25px; font-weight: normal; letter-spacing: 1px; line-height: 1.6; }
.expert-text-item p { font-size: 13px; color: #888; line-height: 2; margin: 0; }
.expert-nav { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.expert-nav button { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #999; font-size: 14px; transition: all 0.3s; outline: none; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.expert-nav button:hover { background: var(--champagne-gold); color: #fff; border-color: var(--champagne-gold); }
.expert-thumbs { display: flex; gap: 20px; flex-wrap: wrap; }
.expert-thumb { width: 90px; height: 100px; border: 4px solid #fff; cursor: pointer; transition: all 0.3s; overflow: hidden; opacity: 0.5; background: #fff; }
.expert-thumb.active, .expert-thumb:hover { opacity: 1; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: #fff; transform: translateY(-4px); }

.news-section { padding: 80px 0; background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-col { border: 1px solid #eee; padding: 20px; border-radius: 8px; transition: box-shadow 0.3s; }
.news-col:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.news-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.news-head h3 { font-size: 16px; color: var(--tech-blue); }
.news-head span { font-size: 12px; color: #999; }
.news-body img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 15px; border-radius: 4px; }
.news-body h4 { font-size: 15px; margin-bottom: 10px; line-height: 1.4; color: #333; }
.news-body p { font-size: 13px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= 4. 内页通用布局 (无文字纯图横幅) ================= */
.page-header { background-color: var(--tech-blue); background-size: cover; background-position: center center; background-repeat: no-repeat; width: 100%; min-height: 380px; display: block; position: relative; box-shadow: none; }
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding: 50px 20px; max-width: var(--max-width); margin: 0 auto; }
.sidebar { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); align-self: start; }
.sidebar-group { margin-bottom: 25px; }
.sidebar-group h3 { font-size: 18px; color: var(--tech-blue); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.sidebar-list li { margin-bottom: 10px; }
.sidebar-list a { display: block; font-size: 15px; color: var(--text-gray); padding-left: 10px; border-left: 3px solid transparent; }
.sidebar-list a:hover, .sidebar-list a.active { color: var(--champagne-gold); border-left-color: var(--champagne-gold); font-weight: bold; }
.page-content { background: #fff; min-height: 500px; }
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px dashed #eee; }
.content-detail img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin-bottom: 20px; display: block; }
.content-detail p { overflow-wrap: break-word; line-height: 1.8; color: #444; margin-bottom: 15px; }

/* 💡 电商级产品与合作卡片 (内页产品列表) */
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-list-card { text-align: center; background: #fff; padding: 20px; border: 1px solid #eee; border-radius: 8px; transition: all 0.3s; overflow: hidden; }
.product-list-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--champagne-gold); }

/* 正方形 1:1 图片容器 */
.product-list-card .img-box { width: 100%; aspect-ratio: 1 / 1; height: auto; background: #fafafa; margin-bottom: 15px; border-radius: 6px; overflow: hidden; }
/* 图片平滑过渡属性 */
.product-list-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
/* 鼠标放上去时，图片缓慢放大 1.1倍 */
.product-list-card:hover .img-box img { transform: scale(1.1); }

.product-list-card .line { width: 30px; height: 2px; background: var(--champagne-gold); margin: 0 auto 15px; }
.product-list-card p { font-size: 14px; color: #333; line-height: 1.6; margin-bottom: 20px; height: 44px; overflow: hidden; }
.product-list-card .btn-more { display: inline-block; border: 1px solid var(--tech-blue); color: var(--tech-blue); padding: 5px 25px; font-size: 12px; border-radius: 20px; transition: all 0.3s; letter-spacing: 1px;}
.product-list-card:hover .btn-more { background: var(--tech-blue); color: #fff; }

.partner-timeline { position: relative; margin-top: 20px; }
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.timeline-date { width: 100px; text-align: right; padding-right: 20px; font-size: 14px; color: #999; padding-top: 5px; flex-shrink: 0; font-family: Arial, sans-serif; }
.timeline-node { width: 20px; display: flex; flex-direction: column; align-items: center; position: relative; flex-shrink: 0; margin-right: 30px; }
.timeline-node::before { content: ''; width: 2px; background: #eee; position: absolute; top: 25px; bottom: -40px; z-index: 1; }
.timeline-item:last-child .timeline-node::before { display: none; } 
.timeline-circle { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--champagne-gold); background: #fff; z-index: 2; margin-top: 6px; box-shadow: 0 0 0 4px rgba(212,178,106,0.1); }
.timeline-content { flex: 1; display: flex; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 25px; gap: 25px; transition: all 0.3s; }
.timeline-content:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-3px); border-color: var(--champagne-gold); }
.timeline-img { width: 220px; height: 160px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: #fdfdfd; }
.timeline-text { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.timeline-text h3 { font-size: 18px; color: var(--tech-blue); margin-bottom: 12px; line-height: 1.4; font-weight: bold; }
.timeline-text p { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; }
.timeline-more { align-self: flex-start; font-size: 12px; color: var(--champagne-gold); border: 1px solid var(--champagne-gold); padding: 5px 20px; border-radius: 20px; letter-spacing: 1px; transition: all 0.3s; }
.timeline-more:hover { background: var(--champagne-gold); color: #fff; }

/* ================= 5. 页脚美化 ================= */
.footer { padding: 70px 0 30px; border-top: 1px solid #333; position: relative; overflow: hidden; background-color: #1a1a1a; background-size: cover; background-position: center bottom; background-repeat: no-repeat; color: #fff; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%); z-index: 1; }
.footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: start; }
.footer-logo-img { display: block; object-fit: contain; } 
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; }
.footer-links a { color: rgba(255,255,255,0.9); font-size: 14px; }
.footer-links a:hover { color: var(--champagne-gold); text-decoration: underline; }
.footer-qrs { display: flex; gap: 25px; }
.qr-item { text-align: center; width: 70px; }
.qr-item img { width: 70px; height: 70px; background: #fff; padding: 3px; border-radius: 4px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.2); }
.qr-item p { margin: 0; font-size: 12px; color: rgba(255,255,255,0.7); }
.footer-bottom { margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.6); font-size: 12px; line-height: 1.8; }
.footer-bottom a:hover { color: var(--champagne-gold); }

/* ================= 6. 移动端彻底优化 ================= */
.menu-toggle { display: none; font-size: 26px; color: var(--tech-blue); cursor: pointer; user-select: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1002; }

.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; box-shadow: 0 -2px 15px rgba(0,0,0,0.08); z-index: 1000; }
.mobile-bottom-bar a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: var(--tech-blue); border-right: 1px solid #f0f0f0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; }
.mobile-bottom-bar a:last-child { border-right: none; }
.mobile-bottom-bar a .icon { font-size: 20px; line-height: 1; }
.mobile-bottom-bar a.bg-gold { background: var(--champagne-gold); color: #fff; border: none; font-weight: bold; }

@media screen and (max-width: 992px) {
    .container { padding: 0 15px; }
    .hero-banner { height: 400px; }
    .four-blocks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home-block-item { height: 260px; }
    .expert-layout { grid-template-columns: 1fr; gap: 30px; }
    .expert-left { height: 350px; }
}

@media screen and (max-width: 768px) {
    body { padding-bottom: 60px; }
    .topbar { display: none; }
    .mobile-bottom-bar { display: flex; } 
    
    .nav-main { justify-content: center; padding: 0 15px; height: 60px; border-bottom: 1px solid #f0f0f0; position: relative; }
    .logo-box { justify-content: center; height: 40px; }
    .menu-toggle { display: block; } 
    
    .menu-wrapper { position: fixed; top: 60px; left: 0; width: 100%; height: 0; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); display: block; overflow: hidden; transition: height 0.3s ease; z-index: 999; }
    .menu-wrapper.active { height: calc(100vh - 60px); overflow-y: auto; }
    
    .menu-list { flex-direction: column; gap: 0; height: auto; padding: 0; margin: 0; }
    .menu-list > li { width: 100%; height: auto; display: block; border-bottom: 1px solid #f9f9f9; }
    
    .menu-list > li > a { position: relative; padding: 15px 20px; display: block; width: 100%; height: auto; line-height: 1.5; font-size: 16px; }
    .menu-list > li > a::after { display: none; }
    
    .menu-list > li > a .arrow { position: absolute; right: 0; top: 0; width: 60px; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #ccc; border-left: 1px solid transparent; margin: 0; transform-origin: center; transition: transform 0.3s, color 0.3s; }
    .menu-list > li > a .arrow::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: #eee; }
    
    .menu-list > li.open > a { color: var(--champagne-gold); font-weight: bold; }
    .menu-list > li.open > a .arrow { transform: rotate(180deg); color: var(--champagne-gold); }
    
    .dropdown, .dropdown.mega { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none; box-shadow: inset 0 4px 6px rgba(0,0,0,0.02); border-top: none; background: #F8F9FA !important; padding: 10px 0 !important; }
    .menu-list > li.open .dropdown { display: block !important; }
    
    .drop-col { padding: 0 20px 10px 20px !important; }
    .drop-col h4 { font-size: 13px; color: #999; border-left: 2px solid var(--champagne-gold); padding-left: 10px; margin: 15px 0 5px 15px; }
    .dropdown a { padding: 12px 20px 12px 30px !important; font-size: 14px; border-bottom: 1px dashed #eee; color: #555; display: block; }
    .dropdown a:last-child { border-bottom: none; }
    .dropdown a:hover { color: var(--champagne-gold); background: #fff; }
    
    .page-layout { display: flex; flex-direction: column; gap: 30px; padding: 30px 15px; }
    .page-content { order: 1; }
    .sidebar { order: 2; width: 100%; margin-top: 10px; }

    .page-header { min-height: 180px; }
    .about-grid, .news-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .four-blocks { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .four-blocks-section .bg-lines { display: none; }
    
    .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .news-card { flex-direction: column; padding: 15px; gap: 15px; align-items: flex-start; }
    .news-img { width: 100%; height: 200px; }
    
    .fran-wrapper { flex-direction: column; box-shadow: none; border: 1px solid #eee; }
    .fran-right-top { order: 1; padding: 30px 20px; text-align: center; align-items: center; }
    .fran-left { order: 2; flex: auto; height: 250px; }
    .fran-main-img { min-height: 250px; }
    .fran-right-bottom { order: 3; padding: 30px 20px; }
    .fran-timeline { overflow-x: auto; padding-bottom: 10px; justify-content: flex-start; margin-top: 30px; }
    .fran-timeline::before { left: 60px; right: auto; width: 480px; } 
    .fran-node { flex: 0 0 120px; }
    
    .expert-layout { flex-direction: column; text-align: center; gap: 30px; }
    .expert-left { flex: auto; width: 100%; max-width: 300px; }
    .expert-main-img { height: 350px; }
    .expert-text-item { text-align: center; }
    .expert-nav { justify-content: center; }
    .expert-thumbs { justify-content: center; }
    
    .footer { padding: 40px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; justify-items: center; }
    .footer-links { grid-template-columns: repeat(2, 1fr); text-align: left; justify-items: start; }
    .footer-qrs { justify-content: center; flex-wrap: wrap; }
    .timeline-date, .timeline-node { display: none; }
    .timeline-content { flex-direction: column; padding: 15px; gap: 15px; }
    .timeline-img { width: 100%; height: 200px; }
}

/* ================= 8. 商品详情页多图与放大镜 ================= */
.product-gallery { width: 100%; max-width: 450px; }

/* 放大镜主图容器 */
.img-zoom-container { 
    width: 100%; aspect-ratio: 1/1; overflow: hidden; 
    border-radius: 8px; border: 1px solid #eee; background: #fafafa;
    position: relative; cursor: crosshair; 
}
.img-zoom-container img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.1s ease-out; /* 让重置缩放时平滑 */
}
/* 悬浮时干掉transition，让鼠标跟随无延迟 */
.img-zoom-container:hover img { transition: none; }

/* 底部多图缩略图列表 */
.product-thumbnails { display: flex; gap: 12px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; }
/* 隐藏滚动条 */
.product-thumbnails::-webkit-scrollbar { height: 4px; }
.product-thumbnails::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.product-thumbnails img { 
    width: 70px; height: 70px; flex-shrink: 0; object-fit: cover; border-radius: 4px; 
    border: 2px solid transparent; cursor: pointer; transition: all 0.3s; opacity: 0.6;
}
.product-thumbnails img.active, .product-thumbnails img:hover { 
    border-color: var(--champagne-gold); opacity: 1; 
}

@media screen and (max-width: 768px) {
    .product-gallery { max-width: 100%; margin: 0 auto; }
}

@media screen and (max-width: 480px) {
    .product-list-grid { grid-template-columns: 1fr; }
}