/*
Theme Name: Lukewei Industrial Theme
Theme URI: https://www.lukeweimfg.com/
Author: WorkBuddy
Author URI: #
Description: 仿 lukeweimfg.com 的工业机械企业 WordPress 主题。专为B2B机械制造企业设计，包含产品展示、公司简介、新闻博客等完整模块。支持 WooCommerce、WPML 多语言插件。
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lukewei
Tags: business, industrial, e-commerce, full-site-editing, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ======================================================
   CSS 变量 & 基础重置
====================================================== */
:root {
  --color-primary:   #0a2463;   /* 主色：深海蓝 */
  --color-accent:    #e85d04;   /* 强调色：橙色 */
  --color-dark:      #1a1a2e;   /* 深色文字 */
  --color-light:     #f5f7fa;   /* 浅灰背景 */
  --color-white:     #ffffff;
  --color-border:    #e0e4ec;
  --color-text:      #444;
  --color-text-light:#777;
  --font-main: 'Roboto', Arial, Helvetica, sans-serif;
  --font-heading: 'Montserrat', 'Arial Black', sans-serif;
  --container-width: 1200px;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(10,36,99,.10);
  --shadow-hover: 0 8px 32px rgba(10,36,99,.18);
  --transition: all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
button, input, textarea, select {
  font-family: var(--font-main);
  outline: none;
}

/* ======================================================
   排版 Typography
====================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ======================================================
   通用容器 & 节
====================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--color-light);
}
.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}
.section-title p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
}

/* ======================================================
   按钮 Buttons
====================================================== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  letter-spacing: .5px;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: #c44d00;
  border-color: #c44d00;
  color: var(--color-white);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--blue {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--blue:hover {
  background: #06184a;
  border-color: #06184a;
  color: var(--color-white);
}
.btn--sm {
  padding: 8px 20px;
  font-size: .85rem;
}

/* ======================================================
   顶部信息栏 Top Bar
====================================================== */
.topbar {
  background: var(--color-dark);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  padding: 6px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar__contact a {
  color: rgba(255,255,255,.85);
  margin-right: 18px;
}
.topbar__contact a:hover { color: var(--color-accent); }
.topbar__contact i { margin-right: 5px; }
.topbar__social a {
  color: rgba(255,255,255,.7);
  margin-left: 12px;
  font-size: 1rem;
}
.topbar__social a:hover { color: var(--color-accent); }

/* ======================================================
   导航栏 Header / Navigation
====================================================== */
.site-header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-logo img {
  height: 56px;
  width: auto;
}
.site-logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.site-logo span em {
  color: var(--color-accent);
  font-style: normal;
}

/* 主导航 */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-dark);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-parent > a {
  color: var(--color-accent);
  background: var(--color-light);
}

/* 下拉菜单 */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  min-width: 200px;
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 99;
}
.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: .88rem;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}
.main-nav .sub-menu li:last-child a { border-bottom: none; }
.main-nav .sub-menu li a:hover {
  background: var(--color-light);
  color: var(--color-accent);
  padding-left: 24px;
}

/* Header右侧CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__cta .whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
}
.header__cta .whatsapp-btn:hover {
  background: #1da851;
  color: #fff;
}

/* 移动端汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ======================================================
   Hero 轮播区
====================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-slide {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,36,99,.75) 40%, rgba(10,36,99,.2) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--color-white);
  padding: 60px 0;
}
.hero-slide__subtitle {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.hero-slide__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-slide__title span { color: var(--color-accent); }
.hero-slide__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-slide__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* 轮播控件 */
.slider-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.slider-arrow:hover { background: var(--color-accent); }
.slider-arrow--prev { left: 20px; }
.slider-arrow--next { right: 20px; }

/* ======================================================
   数字统计 Stats Bar
====================================================== */
.stats-bar {
  background: var(--color-primary);
  padding: 40px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item {
  color: var(--color-white);
  padding: 10px;
}
.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ======================================================
   产品分类 Product Categories
====================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.cat-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.cat-card__img {
  height: 220px;
  overflow: hidden;
}
.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__body {
  padding: 24px;
}
.cat-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cat-card__title {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.cat-card__desc {
  font-size: .88rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.65;
}
.cat-card__link {
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-card__link::after {
  content: '→';
  transition: transform .3s;
}
.cat-card:hover .cat-card__link::after { transform: translateX(4px); }

/* ======================================================
   特色产品 Featured Products
====================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.product-card__img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-card__body {
  padding: 20px;
}
.product-card__cat {
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}
.product-card__title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--color-accent); }
.product-card__desc {
  font-size: .85rem;
  color: var(--color-text-light);
  margin-bottom: 14px;
  line-height: 1.6;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ======================================================
   关于我们 About Section
====================================================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-section__img {
  position: relative;
}
.about-section__img img {
  border-radius: 8px;
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.about-section__img::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--color-light);
  border-radius: 8px;
  z-index: -1;
}
.about-section__content .section-subtitle {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.about-section__content h2 {
  margin-bottom: 16px;
}
.about-section__content p {
  color: var(--color-text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
}
.about-feature i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* ======================================================
   为什么选择我们 Why Us
====================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.why-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}
.why-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  transition: var(--transition);
}
.why-card:hover .why-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.why-card h4 { margin-bottom: 10px; }
.why-card p {
  font-size: .88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ======================================================
   新闻博客 News / Blog
====================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.news-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.news-card__img {
  height: 200px;
  overflow: hidden;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 22px; }
.news-card__meta {
  font-size: .8rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-card__meta span { display: flex; align-items: center; gap: 4px; }
.news-card__title {
  font-size: 1rem;
  margin-bottom: 10px;
}
.news-card__title a { color: var(--color-dark); }
.news-card__title a:hover { color: var(--color-accent); }
.news-card__excerpt {
  font-size: .85rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}
.news-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ======================================================
   联系/询盘 CTA Banner
====================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a7a 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-banner__btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ======================================================
   页脚 Footer
====================================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.8);
}
.footer__top {
  padding: 60px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin: 14px 0 22px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.footer__social a:hover {
  background: var(--color-accent);
  color: #fff;
}
.footer__col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col ul li a::before {
  content: '›';
  color: var(--color-accent);
}
.footer__col ul li a:hover { color: var(--color-accent); }
.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  align-items: flex-start;
}
.footer__contact li i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer__bottom a {
  color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: var(--color-accent); }

/* ======================================================
   内页 - 侧边栏布局 Page Layout
====================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d2d72 100%);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 10px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 60px 0;
}
.content-area--full { grid-template-columns: 1fr; }

/* 侧边栏 */
.sidebar .widget {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}
.sidebar .widget-title {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 1rem;
  margin: 0;
}
.sidebar .widget-body { padding: 20px; }
.sidebar .widget-body ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .88rem;
}
.sidebar .widget-body ul li:last-child { border-bottom: none; }
.sidebar .widget-body ul li a {
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar .widget-body ul li a:hover { color: var(--color-accent); }

/* ======================================================
   产品详情页
====================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.product-gallery__main {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
}
.product-gallery__main img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: var(--color-light);
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.product-gallery__thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.product-gallery__thumbs img.active,
.product-gallery__thumbs img:hover { border-color: var(--color-accent); }
.product-info h1 { font-size: 1.8rem; margin-bottom: 12px; }
.product-info__meta {
  font-size: .88rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.product-info__meta span i { margin-right: 4px; color: var(--color-accent); }
.product-info__desc {
  font-size: .93rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}
.product-specs {
  background: var(--color-light);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.product-specs h4 { margin-bottom: 14px; }
.product-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.product-specs table tr td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
}
.product-specs table tr td:first-child {
  color: var(--color-text-light);
  width: 40%;
}
.product-specs table tr:last-child td { border-bottom: none; }
.product-info__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ======================================================
   联系我们页面 Contact Page
====================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info__icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info__text h5 {
  font-size: .95rem;
  margin-bottom: 4px;
}
.contact-info__text p, .contact-info__text a {
  font-size: .88rem;
  color: var(--color-text-light);
  margin: 0;
}

/* 表单 */
.contact-form .form-group {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,36,99,.08);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ======================================================
   FAQ 常见问题
====================================================== */
.accordion {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  transition: background .2s;
  color: var(--color-dark);
}
.accordion-header:hover, .accordion-header.active {
  background: var(--color-light);
  color: var(--color-primary);
}
.accordion-header .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
  flex-shrink: 0;
}
.accordion-header.active .icon { transform: rotate(45deg); background: var(--color-accent); }
.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  background: var(--color-white);
}
.accordion-body.open {
  max-height: 400px;
  padding: 16px 24px 22px;
}

/* ======================================================
   回到顶部 & 悬浮联系
====================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10,36,99,.3);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-accent); }

.float-btns {
  position: fixed;
  right: 30px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: var(--transition);
  cursor: pointer;
}
.float-btn--whatsapp { background: #25d366; }
.float-btn--whatsapp:hover { background: #1da851; transform: scale(1.1); }
.float-btn--inquiry { background: var(--color-accent); }
.float-btn--inquiry:hover { background: #c44d00; transform: scale(1.1); }

/* ======================================================
   Loading 动画
====================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================================================
   Animations on scroll
====================================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

/* ======================================================
   响应式 Responsive
====================================================== */
@media (max-width: 1024px) {
  .about-section { grid-template-columns: 1fr; gap: 36px; }
  .about-section__img { max-height: 350px; }
  .about-section__img img { height: 350px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-hover);
    z-index: 999;
    padding: 16px 20px 24px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; gap: 2px; }
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--color-light);
    border-radius: 4px;
    margin-top: 4px;
    display: none;
  }
  .main-nav .sub-menu.open { display: block; }
  .hamburger { display: flex; }
  .header__cta .btn { display: none; }
  .hero-slide { min-height: 440px; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-area { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .topbar__contact .hide-mobile { display: none; }
}
@media (max-width: 480px) {
  .hero-slide__btns { flex-direction: column; align-items: flex-start; }
  .about-features { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
