@charset "utf-8";

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

html, body { font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; color: #333; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

a { text-decoration: none; color: #333; transition: color .25s; }
a:hover { color: #c8161d; }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: normal; }

button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; font-size: inherit; line-height: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.clearfix:after { content: ""; display: block; clear: both; }

.container { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

:root {
  --primary: #c8161d;
  --primary-dark: #a00e13;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg-light: #f7f7f7;
  --border: #e5e5e5;
  --dark: #222;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background-color .3s, box-shadow .3s, padding .3s;
  background: transparent;
  padding: 18px 0;
}
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 10px 0;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
/*.logo img { height: 40px; }*/

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li {
  position: relative;
  padding: 0 22px;
}
.main-nav > ul > li > a {
  display: block;
  font-size: 16px;
  color: #fff;
  line-height: 60px;
  position: relative;
  transition: color .25s;
}
.site-header.scrolled .main-nav > ul > li > a { color: #333; }
.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a { color: var(--primary); }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 12px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s, left .25s;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
  width: 30px; left: calc(50% - 15px);
}

/* PC二级菜单 */
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 2px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
  z-index: 10;
}
/* 仅在 PC 端（宽度 > 900px）用 hover 触发二级菜单 */
@media (min-width: 901px) {
  .main-nav > ul > li:hover > .submenu,
  .main-nav > ul > li:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.main-nav .submenu li a {
  display: block;
  padding: 10px 24px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  transition: all .2s;
}
.main-nav .submenu li a:hover {
  color: #fff;
  background: var(--primary);
}

/* PC产品中心 mega menu */
.main-nav .mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 720px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 10;
}
.main-nav .mega-menu .mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid #eee;
  transition: all .2s;
}
.main-nav .mega-menu .mega-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.main-nav .mega-menu .mega-item .title {
  font-size: 14px;
  color: #333;
}
.main-nav .mega-menu .mega-item:hover .title { color: var(--primary); }
.main-nav .mega-menu .mega-item .arrow {
  color: #ccc;
  font-size: 14px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-tools a {
  color: #fff;
  font-size: 16px;
  transition: color .25s;
}
.header-tools a img {
  width: 20px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 2px;
}
.site-header.scrolled .header-tools a { color: #333; }
.header-tools a:hover { color: var(--primary); }

.mobile-toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  align-items: center;
  justify-content: center;
}
.site-header.scrolled .mobile-toggle { color: #333; }

/* 内页header默认有底色 */
.site-header.inner {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 10px 0;
}
.site-header.inner .main-nav > ul > li > a { color: #333; }
.site-header.inner .header-tools a { color: #333; }
.site-header.inner .mobile-toggle { color: #333; }

/* PC 端隐藏移动端关闭按钮 */
.mobile-close { display: none; }

/* ============ Banner ============ */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #222 url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20electrical%20equipment%20factory%20interior%20with%20red%20industrial%20machinery&image_size=landscape_16_9") center/cover no-repeat;
}
.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}
.banner-slide.active { opacity: 1; }
.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.1));
}
.banner-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}
.banner-content h5 {
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 18px;
  opacity: .95;
}
.banner-content h3 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 28px;
  max-width: 720px;
}
.banner-content p {
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 42px;
  opacity: .9;
  line-height: 1.9;
}
.banner-content .btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  transition: background .25s;
  border-radius: 2px;
  width: fit-content;
}
.banner-content .btn:hover { background: var(--primary-dark); }

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dots span {
  width: 28px;
  height: 4px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .25s;
}
.banner-dots span.active { background: #fff; }

/* ============ Section 通用 ============ */
.section { padding: 80px 0; }
.section.gray { background: var(--bg-light); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title.align-left { text-align: left; }
.section-title.align-left h2,
.section-title.align-left .desc { text-align: left; }
.section-title .en {
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin: 10px 0 12px;
  position: relative;
  display: inline-block;
}
.section-title h2::before,
.section-title h2::after {
  content: "—";
  color: var(--primary);
  margin: 0 14px;
  font-weight: 300;
}
.section-title .desc {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}

/* ============ About section ============ */
.about-wrap {
  display: flex;
  gap: 50px;
  align-items: center;
}
.about-img {
  flex: 1;
  min-width: 0;
}
.about-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
}
.about-text {
  flex: 1;
  min-width: 0;
}
.about-text .small-title {
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.about-text h3 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 24px;
}
.about-text p {
  color: #555;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}
.about-text .more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-size: 14px;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
}

/* ============ Product ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 26px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  transform: translateY(-4px);
  border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card .icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 50%;
  font-size: 32px;
  color: var(--primary);
}
.product-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}
.product-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.product-card .arrow {
  margin-top: 18px;
  color: var(--primary);
  font-size: 13px;
}

.product-section {
  background: #fff;
}
.product-row {
  display: flex;
  margin-top: 40px;
  position: relative;
}
.product-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  overflow: hidden;
  transition: all .3s;
}
.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.product-img {
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s;
}
.product-item:hover .product-img img {
  transform: scale(1.08);
}
.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.product-tags span {
  padding: 3px 12px;
  background: rgba(200,22,29,.08);
  color: var(--primary);
  font-size: 12px;
  border-radius: 12px;
}
.product-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.product-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  transition: gap .25s;
}
.product-more:hover {
  gap: 10px;
}
.product-more::after {
  content: "›";
  font-size: 16px;
}

.product-swiper {
  display: none;
  position: relative;
  margin-top: 40px;
}
.product-swiper-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.product-swiper-track::-webkit-scrollbar {
  display: none;
}
.product-swiper-item {
  flex: 0 0 85%;
  margin-right: 12px;
  scroll-snap-align: center;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
}
.product-swiper-item:last-child {
  margin-right: 0;
}
.product-swiper-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .25s;
}
.product-swiper-nav:hover {
  background: rgba(0,0,0,.7);
}
.product-swiper-nav.prev {
  left: 10px;
}
.product-swiper-nav.next {
  right: 10px;
}
.product-swiper-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.product-swiper-dots span {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s;
}
.product-swiper-dots span.active {
  background: var(--primary);
}

/* ============ Performance / Cases ============ */
.cases-slider {
  position: relative;
  margin-top: 40px;
}
.cases-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cases-track::-webkit-scrollbar {
  height: 6px;
}
.cases-track::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}
.cases-track::-webkit-scrollbar-thumb {
  background: #c8161d;
  border-radius: 3px;
}
.case-card {
  flex: 0 0 calc((100% - 60px) / 4);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #333;
  scroll-snap-align: start;
}
.case-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.case-card:hover img { transform: scale(1.08); }
.case-card .mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.case-card .mask h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-card .mask h4 a {
  color: #fff;
}
.cases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.9);
  color: #333;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: all .25s;
}
.cases-nav:hover {
  background: var(--primary);
  color: #fff;
}
.cases-nav.prev {
  left: -20px;
}
.cases-nav.next {
  right: -20px;
}
.cases-nav:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* ============ News ============ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}
.news-card.featured {
  grid-column: span 2;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--border);
}
.news-card.featured .news-img {
  height: 320px;
  overflow: hidden;
}
.news-card.featured .news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.news-card.featured:hover .news-img img { transform: scale(1.06); }
.news-card.featured .news-body {
  padding: 28px;
}
.news-card.featured h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.news-card.featured p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.news-card .news-img {
  height: 180px;
  overflow: hidden;
}
.news-card .news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-card .news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.news-date .d { font-size: 24px; font-weight: 600; }
.news-date .y { color: var(--text-lighter); font-size: 12px; }
.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color .25s;
}
.news-card:hover h3 { color: var(--primary); }
.news-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .readmore {
  margin-top: 14px;
  color: var(--primary);
  font-size: 13px;
}

/* ============ Contact home ============ */
.contact-home {
  background: #222 url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=dark%20modern%20office%20building%20at%20night%20with%20red%20lights&image_size=landscape_16_9") center/cover no-repeat fixed;
  color: #fff;
  position: relative;
}
.contact-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,20,25,.82);
}
.contact-home .container { position: relative; z-index: 2; }
.contact-home .section-title h2 { color: #fff; }
.contact-home .section-title .desc { color: rgba(255,255,255,.7); }
.contact-home-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wechat-qr {
  text-align: center;
}
.wechat-qr img {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.wechat-text {
  margin-top: 16px;
  font-size: 14px;
  color: #fff;
  opacity: .8;
}

.contact-form {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  padding: 32px;
  border-radius: 4px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  border-radius: 2px;
  outline: none;
  transition: border-color .25s, background .25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.55); }
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  margin-bottom: 14px;
}
.contact-form .submit-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 12px 40px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 2px;
  transition: background .25s;
  letter-spacing: 2px;
}
.contact-form .submit-btn:hover { background: var(--primary-dark); }

.quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-modal.show { display: flex; }
.quote-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}
.quote-modal-content {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: 0;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.quote-modal-close:hover {
  background: var(--primary);
  color: #fff;
}
.quote-form {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}
.quote-form .form-row {
  margin-bottom: 14px;
}
.quote-form input,
.quote-form textarea {
  background: #f8f8f8;
  border: 1px solid #ddd;
  color: #333;
}
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #999; }

/* ============ Footer ============ */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding-top: 60px;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr 1.8fr;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2b2b2b;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #aaa;
  transition: color .25s, padding-left .25s;
  position: relative;
}
.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 8px;
}
.footer-col .brand img {
  height: 38px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-col .brand p {
  color: #888;
  line-height: 1.9;
  font-size: 13px;
  margin-bottom: 12px;
}
.footer-col .contact-line {
  color: #aaa;
  line-height: 2.1;
}
.footer-col .contact-line a { color: #aaa; }
.footer-col .contact-line a:hover { color: var(--primary); }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: #777;
  font-size: 12px;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: var(--primary); }

/* ============ 内页公共 Banner ============ */
.page-banner {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: 80px;
  background: #222 center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}
.page-banner .en {
  font-size: 14px;
  letter-spacing: 4px;
  opacity: .85;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: #222; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ============ 内页主体布局 ============ */
.page-main {
  padding: 50px 0 70px;
}
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}
.side-nav {
  background: #fafafa;
}
.side-nav .side-title {
  background: var(--primary);
  color: #fff;
  padding: 22px 20px;
  font-size: 20px;
  font-weight: 600;
}
.side-nav .side-title small {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: .8;
  font-weight: 400;
  margin-top: 4px;
  text-transform: uppercase;
}
.side-nav ul li a {
  display: block;
  padding: 14px 20px;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  transition: all .2s;
  position: relative;
}
.side-nav ul li a::before {
  content: "›";
  color: var(--primary);
  margin-right: 8px;
  opacity: 0;
  transition: opacity .2s;
}
.side-nav ul li a:hover,
.side-nav ul li.active a {
  color: var(--primary);
  background: #fff;
  padding-left: 24px;
}
.side-nav ul li a:hover::before,
.side-nav ul li.active a::before { opacity: 1; }
.side-nav ul li .sub-menu {
  background: #f0f0f0;
  display: none;
}
.side-nav ul li:hover .sub-menu,
.side-nav ul li.active .sub-menu {
  display: block;
}
.side-nav ul li .sub-menu li a {
  padding: 10px 20px 10px 36px;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #e8e8e8;
}
.side-nav ul li .sub-menu li a:hover,
.side-nav ul li .sub-menu li.active a {
  color: var(--primary);
  background: #fff;
  padding-left: 40px;
}
.side-nav ul li .sub-menu li a::before {
  content: "·";
  margin-right: 6px;
}

/* about */
.about-article h2 {
  font-size: 26px;
  color: #222;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.about-article .hero {
  margin-bottom: 30px;
}
.about-article .hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}
.about-article p {
  color: #444;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 40px;
}
.about-stat {
  text-align: center;
  padding: 30px 16px;
  background: #fafafa;
  border-radius: 4px;
}
.about-stat .num {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.about-stat .num .unit { font-size: 16px; margin-left: 2px; }
.about-stat .label {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 14px;
}

/* product list */
.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-list .p-card {
  background: #fff;
  border: 1px solid var(--border);
  transition: all .3s;
  overflow: hidden;
}
.product-list .p-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.product-list .p-card .p-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f5;
}
.product-list .p-card .p-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-list .p-card:hover .p-img img { transform: scale(1.08); }
.product-list .p-card .p-body {
  padding: 20px;
}
.product-list .p-card h4 {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}
.product-list .p-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.7;
  min-height: 44px;
}
.product-list .p-card .more {
  margin-top: 14px;
  color: var(--primary);
  font-size: 13px;
  display: inline-block;
}

/* news list */
.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
.news-list-item:hover { background: #fafafa; }
.news-list-item .n-img {
  height: 150px;
  overflow: hidden;
  border-radius: 4px;
}
.news-list-item .n-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.news-list-item:hover .n-img img { transform: scale(1.06); }
.news-list-item .n-body h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
  transition: color .25s;
}
.news-list-item:hover .n-body h3 { color: var(--primary); }
.news-list-item .n-body .meta {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 10px;
}
.news-list-item .n-body p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.download-list {
  margin-top: 20px;
}
.download-intro {
  background: #fafafa;
  padding: 24px;
  border-left: 3px solid var(--primary);
  margin-bottom: 24px;
}
.download-intro p {
  color: #555;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 12px;
  text-align: justify;
}
.download-intro p:last-child {
  margin-bottom: 0;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: all .25s;
}
.download-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.download-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 8px;
}
.download-info {
  flex: 1;
  min-width: 0;
}
.download-info h4 {
  font-size: 16px;
  color: #222;
  font-weight: 600;
  margin-bottom: 8px;
}
.download-info h4 a { color: #222; }
.download-info h4 a:hover { color: var(--primary); }
.download-info p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.download-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-lighter);
}
.download-meta .date::before {
  content: "📅 ";
  margin-right: 4px;
}
.download-meta .size::before {
  content: "📦 ";
  margin-right: 4px;
}
.download-btn {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  transition: all .25s;
}
.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.pagination {
  text-align: center;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid var(--border);
  color: #555;
  font-size: 13px;
  border-radius: 2px;
  transition: all .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* news detail */
.news-detail { max-width: 100%; }
.news-detail .title {
  font-size: 28px;
  color: #222;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}
.news-detail .meta {
  color: var(--text-lighter);
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.news-detail .meta span { margin-right: 18px; }
.news-detail .content {
  font-size: 15px;
  color: #333;
  line-height: 2;
}
.news-detail .content p { margin-bottom: 18px; text-align: justify; }
.news-detail .content img {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 4px;
}
.news-detail .content h3 {
  font-size: 18px;
  color: #222;
  margin: 20px 0 12px;
  font-weight: 600;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

/* contact page */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-page .info-box {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-page .info-box h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact-page .info-box p {
  font-size: 15px;
  color: #444;
  line-height: 2.1;
  margin-bottom: 8px;
}
.contact-page .info-box p strong { color: var(--primary); margin-right: 8px; }
.contact-page .info-box p a { color: #444; }
.contact-page .info-box p a:hover { color: var(--primary); }
.contact-page .form-box {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-page .form-box h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact-page .form-box .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-page .form-box input,
.contact-page .form-box textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .25s;
  border-radius: 2px;
  background: #fff;
  color: #333;
}
.contact-page .form-box input:focus,
.contact-page .form-box textarea:focus { border-color: var(--primary); }
.contact-page .form-box textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 14px;
}
.contact-page .form-box .submit-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 12px 40px;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: background .25s;
}
.contact-page .form-box .submit-btn:hover { background: var(--primary-dark); }
.map-box {
  margin-top: 40px;
  border: 1px solid var(--border);
  overflow: hidden;
  height: 360px;
}
.map-box iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .container { width: 100%; padding: 0 24px; }
  .main-nav > ul > li { padding: 0 14px; }
  .main-nav > ul > li > a { font-size: 15px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card { flex: 0 0 calc((100% - 20px) / 2); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .page-layout { grid-template-columns: 200px 1fr; gap: 30px; }
  .product-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .mobile-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
    flex-direction: column;
    align-items: stretch;
    padding: 70px 0 30px;
    transition: right .3s;
    overflow-y: auto;
    z-index: 1000;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .main-nav > ul > li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav > ul > li > a {
    color: #333 !important;
    line-height: 50px;
    padding: 0 24px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li > a .caret {
    width: 20px; height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: transform .25s;
    font-size: 14px;
  }
  .main-nav > ul > li.open > a .caret { transform: rotate(90deg); }

  /* 移动端下拉 */
  .main-nav .submenu,
  .main-nav .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: 0;
    display: none;
    background: #fafafa;
  }
  .main-nav > ul > li.open > .submenu,
  .main-nav > ul > li.open > .mega-menu {
    display: block;
  }
  .main-nav .submenu li a {
    padding: 12px 24px 12px 40px;
    color: #555;
    font-size: 14px;
  }
  .main-nav .mega-menu {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .main-nav .mega-menu .mega-item {
    padding: 12px 24px 12px 40px;
    border: 0;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
  }
  .main-nav .mega-menu .mega-item:hover {
    background: transparent;
    border-bottom-color: #eee;
  }
  .main-nav .mega-menu .mega-item .arrow { display: none; }

  .header-tools { gap: 12px; }
  .header-tools a { font-size: 18px; }

  /* 移动端半透明蒙层 */
  .mobile-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 998;
  }
  .mobile-mask.show { opacity: 1; visibility: visible; }

  /* 移动端关闭按钮 */
  .mobile-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 32px; height: 32px;
    background: transparent;
    border: 0;
    color: #333;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner { height: 100vh; min-height: 520px; }
  .banner-content { padding: 110px 20px 14% 20px; }
  .banner-content h5 { font-size: 16px; margin-bottom: 12px; }
  .banner-content h3 { font-size: 28px; margin-bottom: 18px; }
  .banner-content p { font-size: 14px; margin-bottom: 20px; }
  .banner-content .btn { padding: 10px 24px; font-size: 13px; }

  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }

  .about-wrap { flex-direction: column; gap: 30px; }
  .about-img img { height: 260px; }

  .contact-home-wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 30px; }
  .site-footer { padding-top: 40px; }

  .page-banner { height: 220px; margin-top: 64px; }
  .page-banner h2 { font-size: 28px; }

  .page-layout { grid-template-columns: 1fr; }
  .side-nav { order: -1; }

  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }

  .news-list-item { grid-template-columns: 140px 1fr; gap: 16px; }
  .news-list-item .n-img { height: 100px; }

  .product-row { display: none; }
  .product-swiper { display: block; }
  .product-swiper-item .product-img img { height: 180px; }

  .download-item { padding: 16px; gap: 16px; }
  .download-icon { width: 48px; height: 48px; }
  .download-btn { width: 40px; height: 40px; }

  .contact-page { grid-template-columns: 1fr; }
  .contact-page .info-box,
  .contact-page .form-box { padding: 24px; }
  .contact-page .form-box .form-row { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-stat { padding: 20px 12px; }
  .about-stat .num { font-size: 28px; }

  .site-header { padding: 10px 0; }
  .site-header.scrolled { padding: 8px 0; }
  .logo img { height: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .product-grid, .product-list { grid-template-columns: 1fr; }
  .case-card { flex: 0 0 85%; }
  .cases-nav.prev { left: 8px; }
  .cases-nav.next { right: 8px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .news-card.featured .news-img { height: 200px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .banner { height: 100vh; min-height: 480px; }
  .banner-content { padding: 0 20px; }
  .banner-content h5 { font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
  .banner-content h3 { font-size: 22px; margin-bottom: 14px; }
  .banner-content p { font-size: 13px; margin-bottom: 18px; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item .n-img { height: 180px; }
}

/* ============ 产品详情页 ============ */
.product-detail { width: 100%; }
.product-detail-top {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}
.product-detail-img,
.product-gallery { max-width: 500px; }
.product-gallery {
  background: #fff;
  border: 1px solid #eee;
  padding: 14px;
}
.product-gallery .gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity .25s;
}
.product-gallery .gallery-main img:hover { opacity: .92; }

/* 前后切换按钮 */
.product-gallery .gallery-btn {
  position: absolute;
  background: rgba(255,255,255,.9);
  border: 1px solid #eee;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, background .25s;
  z-index: 2;
}
.product-gallery:hover .gallery-btn { opacity: 1; }
.product-gallery .gallery-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-gallery .gallery-btn.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.product-gallery .gallery-btn.next { right: 12px; top: 50%; transform: translateY(-50%); }
.product-gallery .gallery-btn.zoom {
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 4px;
}

/* 缩略图行 */
.product-gallery .gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
}
.product-gallery .gallery-thumbs .thumb {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  padding: 0;
  background: #fff;
  border: 2px solid #eee;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.product-gallery .gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery .gallery-thumbs .thumb:hover { border-color: #bbb; transform: translateY(-2px); }
.product-gallery .gallery-thumbs .thumb.active {
  border-color: var(--primary);
}
.product-gallery .gallery-thumbs .thumb.active::after {
  content: "";
  display: block;
}

/* 放大预览弹窗 */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-modal.show { display: flex; }
.product-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .25s, transform .25s;
  line-height: 1;
}
.product-modal .modal-close:hover { background: var(--primary); transform: rotate(90deg); }
.product-modal .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .25s;
  line-height: 1;
}
.product-modal .modal-nav:hover { background: var(--primary); border-color: var(--primary); }
.product-modal .modal-nav.prev { left: 30px; }
.product-modal .modal-nav.next { right: 30px; }
.product-modal img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255,255,255,.2);
}

.product-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.product-detail-info .en {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #ddd;
}
.product-detail-info .desc {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 24px;
}
.product-detail-info .specs {
  background: #fafafa;
  padding: 22px 26px;
  border-left: 3px solid var(--primary);
  margin-bottom: 26px;
}
.product-detail-info .specs h4 {
  font-size: 15px;
  color: #222;
  font-weight: 600;
  margin-bottom: 12px;
}
.product-detail-info .specs ul {
  font-size: 14px;
  color: #555;
  line-height: 2;
}
.product-detail-info .specs ul li::before {
  content: "▸ ";
  color: var(--primary);
  margin-right: 2px;
}
.product-detail-info .actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.product-detail-info .actions .btn {
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background .25s;
  cursor: pointer;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-detail-info .actions .btn:hover { background: var(--primary-dark); }
.product-detail-info .actions .btn.outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.product-detail-info .actions .btn.outline:hover {
  background: var(--primary);
  color: #fff;
}

.product-detail-section { margin-bottom: 50px; }
.product-detail-section h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.product-detail-section .content {
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-align: justify;
}
.product-detail-section .content p { margin-bottom: 16px; }
.product-detail-section .content ul {
  font-size: 15px;
  color: #444;
  line-height: 2;
  padding-left: 20px;
  margin-bottom: 16px;
}
.product-detail-section .content ul li { position: relative; padding-left: 14px; }
.product-detail-section .content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.product-detail-section .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.product-detail-section .feature-box {
  padding: 26px 22px;
  background: #fafafa;
  border-top: 2px solid var(--primary);
  text-align: center;
}
.product-detail-section .feature-box .icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}
.product-detail-section .feature-box h4 {
  font-size: 16px;
  color: #222;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-detail-section .feature-box p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.product-detail-section .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.product-detail-section .gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid #eee;
  transition: transform .3s, border-color .3s;
}
.product-detail-section .gallery img:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.product-detail-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.product-detail-section table th,
.product-detail-section table td {
  padding: 12px 18px;
  border: 1px solid #e5e5e5;
  text-align: left;
}
.product-detail-section table th {
  background: #fafafa;
  color: #222;
  font-weight: 600;
  width: 180px;
}
.product-detail-section table td { color: #555; }

.related-products { margin-top: 50px; }
.related-products h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

@media (max-width: 900px) {
  .product-detail-top { grid-template-columns: 1fr; gap: 30px; }
  .product-detail-img,
  .product-gallery { max-width: 440px; margin: 0 auto; }
  .product-gallery .gallery-thumbs .thumb { width: 60px; height: 60px; }
  .product-detail-info h1 { font-size: 22px; }
  .product-detail-section .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-section .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .product-detail-info .actions { flex-direction: column; }
  .product-detail-info .actions .btn { justify-content: center; }
  .product-detail-section .feature-grid { grid-template-columns: 1fr; }
  .product-detail-section .gallery { grid-template-columns: 1fr; }
  .product-detail-section table th { width: 100px; font-size: 13px; }
  .product-detail-section table th,
  .product-detail-section table td { padding: 10px; font-size: 13px; }
  .product-gallery .gallery-thumbs .thumb { width: 54px; height: 54px; }
  .product-modal { padding: 20px; }
  .product-modal .modal-nav { width: 40px; height: 40px; font-size: 22px; }
  .product-modal .modal-nav.prev { left: 10px; }
  .product-modal .modal-nav.next { right: 10px; }
}

