/* ============================================================
   Tocvue Shared CSS — All Pages
   Primary: #f7c51e | Nav BG: #3d3d3d | Top Bar: #333
   Font: Montserrat (Headings) / Fira Sans (Hero) / PT Sans (Body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Fira+Sans:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

:root {
  --color-primary: #f7c51e;
  --color-primary-hover: #ffc400;
  --color-dark: #3d3d3d;
  --color-topbar: #333333;
  --color-footer: #383838;
  --color-footer-copy: #a6a6a6;
  --color-heading: #0a0a0a;
  --color-text: #555;
  --color-text-light: #898989;
  --color-bg-light: #f8f8f8;
  --color-border: #e8e8e8;
  --color-white: #fff;
  --font-heading: 'Montserrat', sans-serif;
  --font-hero: 'Fira Sans', sans-serif;
  --font-body: 'PT Sans', sans-serif;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.14);
  --transition: .25s ease;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: #fff; line-height: 1.7; font-size: 15px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Typography */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--color-heading); line-height: 1.3; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--color-topbar); color: #ccc; font-size: 12.5px; padding: 7px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 20px; }
.topbar-left span i { margin-right: 5px; color: var(--color-primary); }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a { color: #aaa; transition: color var(--transition); }
.topbar-right a:hover { color: var(--color-primary); }

/* Header */
.site-header { background: var(--color-dark); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 30px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.logo-accent { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 8px; }
.main-nav { display: flex; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; color: #ddd; font-family: var(--font-heading); font-size: 16px; font-weight: 500; padding: 10px 14px; border-radius: 4px; transition: color var(--transition), background var(--transition); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--color-primary); }
/* Level-1 dropdown: appears below nav item on hover */
.dropdown { position: absolute; top: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #eee; border-radius: var(--radius); min-width: 240px; padding: 8px 0; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 100; }
/* Only show DIRECT child dropdown of nav item — NOT nested sub-dropdowns */
.nav-menu > li.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li a { display: block; padding: 9px 18px; font-size: 15px; color: #444; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.dropdown li a:hover { background: #fffbeb; color: var(--color-primary); }

/* Level-2 sub-dropdown: fly out to the RIGHT when hovering the parent li */
.dropdown li { position: relative; }
.dropdown-sub { position: absolute; top: -9px; left: 100%; background: #fff; border: 1px solid #eee; border-radius: var(--radius); min-width: 240px; padding: 8px 0; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateX(-8px); transition: all var(--transition); z-index: 200; }
/* Only show sub-dropdown when hovering its direct parent li */
.dropdown li.has-dropdown:hover > .dropdown-sub { opacity: 1; visibility: visible; transform: translateX(0); }

/* Chevron icon styling */
.dropdown li.has-dropdown > a { display: flex; justify-content: space-between; align-items: center; }
.dropdown li.has-dropdown > a .fa-chevron-right { font-size: 11px; color: #aaa; flex-shrink: 0; margin-left: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-weight: 600; font-size: 13px; padding: 10px 22px; border-radius: 4px; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; letter-spacing: .3px; }
.btn-primary { background: var(--color-primary); color: #111; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(247,197,30,.4); }
.btn-outline { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn-outline:hover { background: var(--color-dark); color: #fff; }
.btn-outline-yellow { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline-yellow:hover { background: var(--color-primary); color: #111; }
.btn-white { background: #fff; color: #111; border-color: #fff; }
.btn-white:hover { background: var(--color-primary); border-color: var(--color-primary); color: #111; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-wa { background: #1677ff; color: #fff; border-color: #1677ff; }
.btn-wa:hover { background: #0958d9; border-color: #0958d9; }

/* Product Category Nav Bar - 固定在页面顶部 */
.product-category-nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.product-category-nav .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cat-nav-label {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-right: 8px;
  white-space: nowrap;
}

.cat-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cat-nav-btn:hover {
  background: #f7c51e;
  border-color: #f7c51e;
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247,197,30,.3);
}

.cat-nav-btn.active {
  background: #f7c51e;
  border-color: #f7c51e;
  color: #111;
  font-weight: 600;
}

.cat-nav-btn i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .product-category-nav {
    top: 64px;
    padding: 12px 0;
  }
  .cat-nav-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .cat-nav-label {
    display: none;
  }
}

/* Page Header */
.page-header { background: #f4f4f4; border-bottom: 1px solid var(--color-border); padding: 28px 0 22px; }
.page-header h1 { font-size: 1.7rem; color: var(--color-heading); }
.breadcrumb { font-size: 12.5px; color: #999; display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: #bbb; }

/* Sections */
.section-pad { padding: 70px 0; }
.section-pad-sm { padding: 40px 0; }
.bg-white { background: #fff; }
.bg-light { background: var(--color-bg-light); }
.bg-dark { background: var(--color-dark); color: #ddd; }
.bg-primary { background: var(--color-primary); }
.text-center { text-align: center; }
.section-header { margin-bottom: 44px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; max-width: 620px; }
.section-header.text-center p { margin: 0 auto; }
.section-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-primary); font-weight: 700; margin-bottom: 8px; display: block; }

/* ======================================================
   PRODUCT DETAIL PAGE — Template Styles
   ====================================================== */

/* Hero Section */
.product-hero { padding: 54px 0; background: #fff; }
.product-hero .row { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.product-gallery-col { flex: 0 0 480px; max-width: 480px; }
.product-info-col { flex: 1; min-width: 280px; }

/* Image Gallery */
.gallery-main { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fafafa; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; cursor: zoom-in; transition: transform .3s ease; }
.gallery-main img:hover { transform: scale(1.04); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border: 2px solid var(--color-border); border-radius: 4px; overflow: hidden; cursor: pointer; background: #fafafa; transition: border-color var(--transition); flex-shrink: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--color-primary); }

/* Video Placeholder */
.video-placeholder { position: relative; background: #111; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; margin-top: 14px; cursor: pointer; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: .7; position: absolute; inset: 0; }
.video-placeholder .play-btn { position: relative; z-index: 2; width: 60px; height: 60px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #111; box-shadow: 0 4px 20px rgba(0,0,0,.4); transition: transform var(--transition); }
.video-placeholder:hover .play-btn { transform: scale(1.1); }
.video-placeholder .video-label { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; font-weight: 600; z-index: 2; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
/* Actual embedded video iframe wrapper */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-top: 14px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Product Info */
.product-info-col .product-cats { font-size: 12px; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 10px; }
.product-info-col h1 { font-size: 1.65rem; margin-bottom: 14px; line-height: 1.25; }
.product-short-desc { font-size: 14.5px; color: var(--color-text); line-height: 1.75; margin-bottom: 22px; }
.product-short-desc ul { padding-left: 0; }
.product-short-desc ul li { padding: 4px 0 4px 20px; position: relative; }
.product-short-desc ul li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.product-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.product-badge { background: #fffbeb; border: 1px solid #f7c51e55; color: #8a6500; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.product-meta-row { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--color-border); font-size: 13px; color: var(--color-text-light); flex-wrap: wrap; }
.product-meta-row span i { margin-right: 5px; color: var(--color-primary); }

/* Tabs */
.product-tabs { margin-top: 60px; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); }
.tab-nav-btn { padding: 12px 24px; font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #777; background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color var(--transition); }
.tab-nav-btn:hover { color: var(--color-heading); }
.tab-nav-btn.active { color: var(--color-heading); border-bottom-color: var(--color-primary); }
.tab-pane { display: none; padding: 36px 0; }
.tab-pane.active { display: block; }

/* Specs Table */
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr:nth-child(even) { background: var(--color-bg-light); }
.specs-table td { padding: 11px 16px; border-bottom: 1px solid var(--color-border); }
.specs-table td:first-child { font-weight: 600; color: var(--color-heading); width: 200px; white-space: nowrap; }
.specs-table caption { font-size: 1rem; font-weight: 700; font-family: var(--font-heading); text-align: left; padding-bottom: 12px; color: var(--color-heading); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.feature-item { background: var(--color-bg-light); border-radius: var(--radius); padding: 24px; border: 1px solid var(--color-border); transition: box-shadow var(--transition), transform var(--transition); }
.feature-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-item .fi-icon { width: 44px; height: 44px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #111; margin-bottom: 14px; }
.feature-item h4 { font-size: 0.97rem; margin-bottom: 8px; }
.feature-item p { font-size: 13.5px; color: var(--color-text-light); line-height: 1.65; }

/* Video Section */
.video-section { background: #1a1a1a; padding: 60px 0; color: #fff; }
.video-section h2 { color: #fff; margin-bottom: 10px; }
.video-section p { color: #aaa; margin-bottom: 30px; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: #222; }
.video-card .video-embed { margin: 0; border-radius: 0; }
.video-card .vc-info { padding: 14px 16px; }
.video-card .vc-info h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.video-card .vc-info p { color: #888; font-size: 12.5px; }

/* Image placeholder (for product pages without real images) */
.img-placeholder { background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #999; font-size: 13px; text-align: center; padding: 20px; }
.img-placeholder i { font-size: 2.5rem; color: #ccc; }

/* Related Products */
.related-products { padding: 60px 0; background: var(--color-bg-light); }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ESL Related Products Grid - 3 columns */
.related-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.related-product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow var(--transition), transform var(--transition); }
.related-product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.related-product-card a { display: block; }
.related-product-card .rpc-img { aspect-ratio: 1; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.related-product-card .rpc-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform var(--transition); }
.related-product-card:hover .rpc-img img { transform: scale(1.05); }
.related-product-card .rpc-info { padding: 16px; }
.related-product-card .rpc-info h4 { font-size: 14px; margin-bottom: 6px; line-height: 1.4; color: var(--color-heading); }
.related-product-card .rpc-info p { font-size: 12px; color: var(--color-text-light); }

@media (max-width: 768px) {
  .related-products-grid { grid-template-columns: 1fr; }
}
.rp-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow var(--transition), transform var(--transition); }
.rp-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.rp-card-img { aspect-ratio: 1; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.rp-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform var(--transition); }
.rp-card:hover .rp-card-img img { transform: scale(1.05); }
.rp-card-body { padding: 14px 16px; }
.rp-card-body h4 { font-size: 13.5px; margin-bottom: 8px; line-height: 1.4; }
.rp-card-body a { font-size: 12.5px; color: var(--color-primary); font-weight: 600; }

/* ============================
   PRODUCT LISTING / OVERVIEW
   ============================ */
.product-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-card-img { aspect-ratio: 1; background: #fafafa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform var(--transition); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h4 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.product-card-body p { font-size: 13.5px; color: var(--color-text-light); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.product-card-cat { font-size: 11px; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }

/* Feature List */
.feature-list { padding: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.feature-list li i { color: var(--color-primary); margin-top: 3px; flex-shrink: 0; }

/* Row / Col helpers */
.row { display: flex; gap: 32px; flex-wrap: wrap; }
.col-1-2 { flex: 1; min-width: 280px; }
.col-1-3 { flex: 0 0 calc(33.333% - 22px); min-width: 220px; }
.col-1-4 { flex: 0 0 calc(25% - 24px); min-width: 180px; }
.col-2-5 { flex: 0 0 calc(40% - 13px); min-width: 280px; }
.col-3-5 { flex: 0 0 calc(60% - 19px); min-width: 320px; }
.col-footer { flex: 1; min-width: 160px; }
.col-footer-wide { flex: 2; min-width: 200px; }
.align-center { align-items: center; }

/* CTA Section */
.cta-section { background: var(--color-dark); padding: 70px 0; color: #fff; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; font-size: 2rem; }
.cta-section p { color: #bbb; font-size: 1.05rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Inquiry Box (product page) */
.inquiry-box { background: #fffbeb; border: 1px solid #f7e066; border-radius: var(--radius); padding: 22px; margin-top: 20px; }
.inquiry-box h4 { font-size: 1rem; margin-bottom: 10px; color: var(--color-heading); }
.inquiry-box p { font-size: 13.5px; color: #666; margin-bottom: 14px; }

/* Footer */
.site-footer { background: var(--color-footer); color: #bbb; padding-top: 60px; }
.footer-top { display: flex; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo-img { height: 32px; width: auto; margin-bottom: 14px; display: block; }
.footer-logo-text span { color: var(--color-primary); }
.site-footer p { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 13px; transition: background var(--transition), color var(--transition); }
.footer-social a:hover { background: var(--color-primary); color: #111; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-family: var(--font-heading); letter-spacing: .5px; }
.footer-links { padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a { font-size: 13.5px; color: #aaa; transition: color var(--transition); }
.footer-links li a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-contact { padding: 0; }
.footer-contact li { font-size: 13.5px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact li i { color: var(--color-primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: #aaa; }
.footer-contact li a:hover { color: var(--color-primary); }
.footer-copyright { background: rgba(0,0,0,.2); padding: 16px 0; text-align: center; font-size: 12.5px; color: var(--color-footer-copy); margin-top: 0; }

/* WeChat Float */
.wechat-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 52px; height: 52px; background: #07c160; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.55rem; box-shadow: 0 4px 16px rgba(7,193,96,.5); transition: transform var(--transition); cursor: pointer; }
.wechat-float:hover { transform: scale(1.1); }

/* Phone Float */
.phone-float { position: fixed; bottom: 86px; right: 24px; z-index: 999; width: 52px; height: 52px; background: #ff6600; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.55rem; box-shadow: 0 4px 16px rgba(255,102,0,.5); transition: transform var(--transition); text-decoration: none; }
.phone-float:hover { transform: scale(1.1); color: #fff; }

/* WeChat QR Modal */
.wechat-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: center; }
.wechat-modal.active { display: flex; }
.wechat-modal-content { background: #fff; border-radius: 16px; padding: 32px; text-align: center; max-width: 360px; width: 90%; position: relative; animation: wechatSlideUp 0.3s ease; }
@keyframes wechatSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.wechat-modal-close { position: absolute; top: 12px; right: 16px; font-size: 24px; color: #999; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s; }
.wechat-modal-close:hover { background: #f5f5f5; color: #333; }
.wechat-modal-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: #333; }
.wechat-modal-desc { font-size: 0.9rem; color: #666; margin-bottom: 20px; }
.wechat-qr-box { width: 200px; height: 200px; margin: 0 auto 16px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wechat-qr-box img { width: 100%; height: 100%; object-fit: contain; }
.wechat-qr-placeholder { color: #999; font-size: 0.85rem; text-align: center; padding: 20px; }
.wechat-modal-tip { font-size: 0.8rem; color: #999; margin-top: 12px; }
.wechat-modal-tip i { color: #07c160; margin-right: 4px; }

/* Back to top */
.back-to-top { position: fixed; bottom: 82px; right: 24px; z-index: 998; width: 40px; height: 40px; background: var(--color-dark); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary); color: #111; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .product-gallery-col { flex: 0 0 100%; max-width: 100%; }
  .product-hero .row { gap: 28px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .section-pad { padding: 44px 0; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 64px; left: 0; right: 0; background: #2c2c2c; transform: translateX(-100%); transition: transform .3s ease; padding: 16px 0 24px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .nav-menu { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-menu > li > a { padding: 13px 20px; border-radius: 0; font-size: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(0,0,0,.2); border-radius: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .footer-top { gap: 24px; }
  .col-1-3 { flex: 0 0 calc(50% - 12px); }
  .col-1-4 { flex: 0 0 calc(50% - 16px); }
  .tab-nav { overflow-x: auto; }
  .tab-nav-btn { white-space: nowrap; font-size: 13px; padding: 10px 16px; }
  
  /* Fix: product category nav scrollable */
  .product-category-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  
  /* Fix: spec table horizontal scroll */
  .tab-pane { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table td, .specs-table th { white-space: normal; word-break: break-word; }
  
  /* Fix: related products grid 2 columns */
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Fix: gallery thumbs */
  .gallery-thumbs { gap: 6px; }
  .gallery-thumb { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-cards-row { grid-template-columns: 1fr; gap: 12px; }
  .col-1-2 { flex: 0 0 100%; }
  .col-1-3, .col-1-4 { flex: 0 0 100%; }
  .topbar-left { gap: 10px; font-size: 11.5px; }
  
  /* Fix: spec table wrap on mobile */
  .specs-table td:first-child { white-space: normal; width: auto; min-width: 80px; }
  .specs-table td { padding: 8px 10px; font-size: 12.5px; }
  
  /* Fix: product category nav wrap */
  .product-category-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-nav-btn { white-space: nowrap; }
  
  /* Fix: footer columns stack */
  .footer-top { flex-direction: column; gap: 24px; }
  .col-footer { min-width: 100%; }
  
  /* Fix: gallery thumbs on mobile */
  .gallery-thumb { width: 56px; height: 56px; }
  
  /* Fix: product info spacing */
  .product-info-col h1 { font-size: 1.3rem; }
  .inquiry-box { padding: 16px; }
  
  /* Fix: blog and standard content */
  .section-header h2 { font-size: 1.4rem; }
  .page-header h1 { font-size: 1.3rem; }
  
  /* Fix: CTA section text */
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 0.95rem; }
  
  /* Fix: breadcrumb wrap */
  .breadcrumb { font-size: 11px; gap: 4px; }
  
  /* Fix: video grid single column */
  .videos-grid { grid-template-columns: 1fr; }
  
  /* Fix: features grid single column */
  .features-grid { grid-template-columns: 1fr; }
  
  /* Fix: related products grid */
  .rp-grid { grid-template-columns: 1fr; }
  
  /* Fix: compare section on product pages */
  .product-hero .row { gap: 20px; }
  .product-cta-row .btn-lg { padding: 10px 18px; font-size: 13px; }
  .product-meta-row { gap: 10px; font-size: 12px; }
  
  /* Fix: home hero */
  .hero { min-height: 60vh; background-attachment: scroll; }
  
  /* Fix: stats numbers smaller on very small screens */
  .stat-item h3 { font-size: 2rem; }
  
  /* Fix: hamburger menu button larger touch target */
  .nav-toggle {
    width: 48px;
    height: 48px;
    padding: 12px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Fix: "了解更多" and small buttons - ensure ≥44px height */
  .btn-sm {
    padding: 12px 20px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-lg {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Fix: footer social icons larger touch target */
  .footer-social a {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  /* Fix: back to top button larger */
  .back-to-top {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  
  /* Fix: WeChat float buttons better positioned */
  .wechat-float {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }
  .phone-float {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
    bottom: 92px;
  }
  
  /* Fix: footer links touch padding */
  .footer-links li a,
  .footer-contact li a,
  .site-footer a {
    display: inline-block;
    padding: 8px 0;
    min-height: 44px;
    line-height: 1.4;
  }
  .footer-contact li {
    padding: 4px 0;
  }
  
  /* Fix: topbar social icons touch target */
  .topbar-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
  
  /* Fix: product card buttons */
  .product-card .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Fix: footer copyright text wrap on small screens */
  .footer-copyright p {
    white-space: normal;
    padding: 0 16px;
  }
  
  /* Fix: hero button gap on very small screens */
  .hero-btns {
    gap: 10px;
  }
}

/* ============================================================
   CONTENT PROTECTION - 禁止复制网站内容
   ============================================================ */

/* 禁用文本选择 */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 允许输入框中的文本选择 */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* 禁用图片拖拽 */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* 禁用右键菜单时的光标样式 */
img, .product-card-img, .gallery-main img {
  cursor: default;
}

/* 防止文本高亮 */
::selection {
  background: transparent;
  color: inherit;
}

/* 允许输入框中的文本高亮 */
input::selection, textarea::selection {
  background: var(--color-primary);
  color: #111;
}

/* 禁用打印 */
@media print {
  body {
    display: none !important;
  }
  html::after {
    content: "Printing is disabled for this website.";
    display: block;
    text-align: center;
    padding: 50px;
    font-size: 18px;
  }
}

/* GEO product intro paragraph */
.geo-product-intro {
  font-size: 1em;
  line-height: 1.7;
  color: #444;
  padding: 12px 0;
  margin: 0 0 8px 0;
  border-bottom: 1px solid #eee;
}

/* Company timeline section */
.company-timeline {
  padding: 60px 0;
  background: #f9f9f9;
}
.company-timeline h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 8px;
}
.company-timeline .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 48px;
}
.timeline-grid {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline-grid::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}
.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 36px;
  position: relative;
}
.timeline-year {
  width: 80px;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--color-primary, #c00);
  text-align: right;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-year::after {
  content: '';
  position: absolute;
  right: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary, #c00);
  border: 2px solid #fff;
}
.timeline-content {
  flex: 1;
  background: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.timeline-content h3 {
  font-size: 1.05em;
  margin-bottom: 6px;
  color: #333;
}
.timeline-content p {
  font-size: 0.92em;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .timeline-grid::before { left: 40px; }
  .timeline-year { width: 50px; font-size: 0.9em; }
  .timeline-year::after { right: -24px; }
}

/* Product key features section */
.product-features {
  padding: 40px 0;
  background: #fff;
}
.product-features h2 {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-item {
  background: #f8f9fa;
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary, #c00);
}
.feature-item h3 {
  font-size: 1.05em;
  margin: 0 0 8px;
  color: #222;
}
.feature-item p {
  font-size: 0.9em;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .product-features { padding: 24px 12px; }
}

/* Recent posts sidebar widget */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-posts-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88em;
  line-height: 1.4;
}
.recent-posts-list li:last-child {
  border-bottom: none;
}
.recent-posts-list a {
  color: #444;
  text-decoration: none;
}
.recent-posts-list a:hover {
  color: var(--color-primary, #c00);
}

/* All Articles sidebar list */
/* All Articles sidebar list */
.article-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.footer-copyright p {
  white-space: nowrap;
}
