/* ============================================
   QuickWebCMS - 公共样式
   版本: 2.0
============================================ */

/* CSS 变量 */
:root {
  --primary: #086de1;
  --primary-dark: #0658b5;
  --primary-light: #3a8ef5;
  --primary-bg: #f0f6ff;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-light: #999;
  --border: #e8e8e8;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(8, 109, 225, 0.12);
  --shadow-lg: 0 8px 32px rgba(8, 109, 225, 0.15);
  --radius: 6px;
  --radius-lg: 12px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 清除浮动 */
.clear {
  clear: both;
  height: 0;
  overflow: hidden;
}

/* 容器 - 宽度 1024px ~ 1300px */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   顶部条
============================================ */
.top-bar {
  background: #f5f7fa;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-gray);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.top-bar a {
  margin-left: 18px;
  color: var(--text-gray);
}

.top-bar a:hover {
  color: var(--primary);
}

/* ============================================
   头部 Logo + 导航
============================================ */
.header {
  background: var(--bg-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 76px;
}

.header-info {
  text-align: right;
}

.header-info .hotline {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}

.header-info .sub {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

/* ============================================
   主导航
============================================ */
.nav {
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

.nav ul {
  display: flex;
}

.nav li {
  position: relative;
  flex: 1;
}

.nav li > a {
  display: block;
  padding: 0;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  width: 100%;
  transition: background 0.3s;
}

.nav li > a:hover,
.nav li > a.current,
.nav li > a.hover {
  background:#ffb300;
}

/* 二级菜单 */
.nav li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  display: none;
  z-index: 100;
}

.nav li:hover .sub-menu {
  display: block;
}

.nav li .sub-menu ul {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav li .sub-menu ul li {
  flex: none;
  display: block;
}

.nav li .sub-menu ul li a {
  display: block;
  /*padding: 12px 16px;*/
  color: var(--text-dark);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-align: center;
}

.nav li .sub-menu ul li:last-child a {
  border-bottom: none;
}

.nav li .sub-menu ul li a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* ============================================
   Banner 轮播
============================================ */
.banner {
  position: relative;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  height: 460px;
}

.banner-slides li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  list-style:none;
}

.banner-slides li.active {
  opacity: 1;
}

.banner-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dots li.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   新闻滚动条
============================================ */
.news-bar {
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border);
}

.news-bar .container {
  display: flex;
  align-items: center;
  height: 44px;
}

.news-bar .label {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: bold;
  margin-right: 16px;
  flex-shrink: 0;
}

.news-bar .label svg {
  margin-right: 6px;
}

.news-bar .news-scroll {
  flex: 1;
  height: 44px;
  overflow: hidden;
  position: relative;
}

#newsTicker {
  list-style: none;
  padding: 0;
  margin: 0;
}

#newsTicker li {
  height: 44px;
  line-height: 44px;
  overflow: hidden;
}

#newsTicker a {
  display: block;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

#newsTicker a:hover {
  color: var(--primary);
}

/* ============================================
   通用区块标题
============================================ */
.section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-header .en {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-header .line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* 左对齐的区块标题 */
.section-header.left {
  text-align: left;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.section-header.left h2 {
  display: inline-block;
  font-size: 22px;
}

.section-header.left .more {
  float: right;
  font-size: 14px;
  color: var(--text-gray);
}

.section-header.left .more:hover {
  color: var(--primary);
}

.section-header.left .line {
  display: none;
}

.section-header.left h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
}

/* ============================================
   产品/服务列表 (4:3 图片比例)
============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card .thumb {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 比例 */
  overflow: hidden;
  background: var(--bg-light);
}

.product-card .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .thumb img {
  transform: scale(1.05);
}

.product-card .info {
  padding: 16px;
}

.product-card .info h3 {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card:hover .info h3 {
  color: var(--primary);
}

/* 横向滚动区域 - 统一卡片尺寸 */
#serviceScroll {
  height: 300px;
}

#serviceTrack a {
  flex: 0 0 240px !important;
  min-width: 240px !important;
}

#serviceTrack .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#serviceTrack .product-card .thumb {
  flex: 0 0 auto;
}

#serviceTrack .product-card .info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 单列产品（小图列表） */
.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-list .product-card .thumb {
  padding-top: 75%;
}

/* ============================================
   特色服务（首页）
============================================ */
.features {
  background: var(--bg-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 50%;
  color: var(--primary);
}

.feature-item h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   关于我们
============================================ */
.about-section {
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-logo img {
  margin: 0 auto;
}

.about-text h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 12px;
  text-align: justify;
}

.about-text .more-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.3s;
}

.about-text .more-btn:hover {
  background: var(--primary-dark);
}

.more-btnx {
  display:block;
  margin-top: 16px;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.3s;
  width:140px;
  margin:0 auto; margin-top:30px;
}


/* ============================================
   新闻列表
============================================ */
.news-section {
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.news-featured {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: box-shadow 0.3s;
}

.news-featured:hover {
  box-shadow: var(--shadow-md);
}

.news-featured .news-thumb {
  width: 180px;
  flex-shrink: 0;
}

.news-featured .news-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-featured .news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured:hover h3 {
  color: var(--primary);
}

.news-featured p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-featured time {
  font-size: 12px;
  color: var(--text-light);
}

.news-list-simple li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.news-list-simple li:last-child {
  border-bottom: none;
}

.news-list-simple li a {
  color: var(--text-dark);
  flex: 1;
  padding-right: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list-simple li a:hover {
  color: var(--primary);
}

.news-list-simple li .date {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ============================================
   联系卡片
============================================ */
.contact-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  text-align: center;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-card .phone {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
}

.contact-card .info-list div {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* ============================================
   友情链接
============================================ */
.links {
  background: var(--bg-light);
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.links .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.links strong {
  color: var(--primary);
  margin-right: 16px;font-size: 15px;
}

.links a {
  color: var(--text-gray);
  margin-right: 16px;
}

.links a:hover {
  color: var(--primary);
}

/* ============================================
   底部
============================================ */
.footer {
  background: #1e2530;
  color: #aaa;
  padding: 40px 0 20px;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: #aaa;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer .contact-info p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer .qr-code img {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid #2d3544;
  font-size: 13px;
  color: #777;
}

.footer-bottom a {
  color: #aaa;
  text-align: left;
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ============================================
   内页：侧边栏 + 内容
============================================ */
.page-content {
  padding: 40px 0;
  min-height: 500px;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* 侧边栏 */
.sidebar .side-nav {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.side-nav-title {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.side-nav-title svg {
  margin-right: 8px;
}

.side-nav ul li a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.side-nav ul li:last-child a {
  border-bottom: none;
}

.side-nav ul li a:hover,
.side-nav ul li a.active {
  background: var(--primary-bg);
  color: var(--primary);
  padding-left: 24px;
}

.side-nav ul li a svg {
  margin-right: 8px;
  opacity: 0.6;
}

.side-nav ul li a:hover svg,
.side-nav ul li a.active svg {
  opacity: 1;
}

/* 侧边推荐新闻 */
.side-news {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.side-news .side-nav-title {
}

.side-news ul li {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.side-news ul li:last-child {
  border-bottom: none;
}

.side-news ul li a {
  color: var(--text-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-news ul li a:hover {
  color: var(--primary);
}

/* 主要内容区 */
.main-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* 面包屑导航 */
.breadcrumb {
  background:var(--primary);
  padding: 12px 24px;
  font-size: 13px;
  color: #fff;
  border-bottom: 1px solid var(--border);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  margin: 0 6px;
  color: var(--text-light);
}

.breadcrumb .current {
  color: var(--text-dark);
}

/* ============================================
   内容区 - 产品列表页
============================================ */
.content-body {
  padding: 30px;
}

.content-title {
  font-size: 22px;
  color: var(--text-dark);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--primary);
}

/* 产品网格列表 */
.product-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
  text-align: center;
  transition: all 0.3s; margin:0 2px;
}

.pagination a:hover,
.pagination .fcur {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   新闻列表页
============================================ */
.news-list-page li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.news-list-page li:hover {
  padding-left: 8px;
}

.news-list-page li a {
  color: var(--text-dark);
  flex: 1;
  padding-right: 16px;
  font-size: 15px;
}

.news-list-page li a:hover {
  color: var(--primary);
}

.news-list-page li .date {
  color: var(--text-light);
  font-size: 13px;
}

/* ============================================
   详情页
============================================ */
.detail-header {
  text-align: center;
  padding: 30px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.detail-header h1 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.detail-header .meta {
  font-size: 13px;
  color: var(--text-light);
}

.detail-header .meta span {
  margin: 0 8px;
}

.detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  padding: 0 20px;
}

.detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 16px 0;display: inline;
}

.detail-body p {
  margin-bottom: 16px;
  text-align: justify;
}

/* 上下篇导航 */
.detail-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-nav div {
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 14px;
}

.detail-nav div span {
  color: var(--text-light);
}

.detail-nav div a {
  color: var(--text-dark);
  margin-top: 4px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-nav div a:hover {
  color: var(--primary);
}

.detail-nav .next {
  text-align: right;
}

/* 相关推荐 */
.related-block {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.related-block h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.related-block h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--primary);
  margin-right: 8px;
  border-radius: 2px;
}

/* 相关新闻 */
.related-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.related-news a {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s;
}

.related-news a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.related-news a span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
}

.related-news a time {
  color: var(--text-light);
  font-size: 12px;
  flex-shrink: 0;
}

/* 相关产品 */
.related-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-products .related-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.related-products .related-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.related-products .related-item .thumb {
  padding-top: 75%;
  position: relative;
  background: var(--bg-light);
}

.related-products .related-item .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-products .related-item .name {
  display: block;
  padding: 10px;
  font-size: 13px;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-products .related-item:hover .name {
  color: var(--primary);
}

/* ============================================
   关于我们 / 联系方式页面
============================================ */
.info-page {
  padding: 0 20px;
}

.info-page .content-title {
  margin: 0 -30px 24px;
  padding: 0 30px 16px;
}

/* 联系页地图 */
.map-wrapper {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#allmap {
  width: 100%;
  height: 400px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.contact-info-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.contact-info-card:hover {
  background: var(--primary-bg);
  transform: translateY(-4px);
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
}

.contact-info-card h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   响应式
============================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-logo {
    text-align: center;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav ul {
    flex-wrap: wrap;
  }
  .nav li > a {
    padding: 0 18px;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
  }
  .banner-slides {
    height: 220px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid-page {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .related-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .header .container {
    flex-direction: column;
    gap: 10px;
  }
  .header-info {
    text-align: center;
  }
}