/* 
 * Mcable Website Unified Styles
 * Created: 2025
 */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding-top: 56px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.content span {
  white-space: normal !important;
}


.text-center {
  text-align: center;
}

.clearfix {
  clear: both;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Padding Utilities */
.paddTop10 { padding-top: 10px; }
.paddTop30 { padding-top: 30px; }
.paddTop50 { padding-top: 50px; }
.paddTop85 { padding-top: 85px; }
.paddBottom25 { padding-bottom: 25px; }
.paddBottom30 { padding-bottom: 30px; }
.paddBottom45 { padding-bottom: 45px; }
.paddBottom70 { padding-bottom: 70px; }

/* Typography */
h1 {
  font-size: 36px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Header Styles */
header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.main-header-bar {
  padding:   0;
}

.main-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo-img img {
  height: 51px;
  width: auto;padding-right: 60px;
}

.main-header-bar-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-header-menu {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 15px;
}

.main-header-menu li {
  position: relative;
}

.main-header-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
}

.main-header-menu a:hover {
  color: #dc3545;
}

.main-header-menu .current-menu-item > a {
  color: #dc3545;
}

/* Dropdown Menu */
.main-header-menu li.menu-item-has-children > a::after {
  content: '▼';
  font-size: 10px;
  margin-left: 5px;
}

.main-header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 999;
}

.main-header-menu li:hover > .sub-menu,
.main-header-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-header-menu .sub-menu li {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.main-header-menu .sub-menu li:last-child {
  border-bottom: none;
}

.main-header-menu .sub-menu a {
  padding: 12px 20px;
  color: #333;
  font-weight: 400;
  white-space: nowrap;
}

.main-header-menu .sub-menu a:hover {
  background: #f5f5f5;
  color: #dc3545;
}

/* Second level dropdown */
.main-header-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.main-header-menu .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.main-header-menu .sub-menu li.menu-item-has-children > a::after {
  content: '▶';
  float: right;
  font-size: 10px;
  margin-left: 10px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Breadcrumb */
.ast-header-breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
}

.ast-breadcrumbs-wrapper {
  display: flex;
  align-items: center;
  min-height: 20px;
  margin-top: 10px;
}

.ast-breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.trail-item {
  font-size: 14px;
  color: #666;
}

.trail-item a {
  color: #666;
  text-decoration: none;
}

.trail-item a:hover {
  color: #FF0000;
}

.trail-item:not(:last-child)::after {
  content: ' > ';
  margin: 0 8px;
  color: #999;
}

.trail-end {
  color: #FF0000;
  font-weight: 500;
}

/* Hero Slider Section */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Products Banner */
.pc3Banner {
  background-position: center center;
  background-size: cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 平板适配 */
@media (max-width: 1024px) {
  .pc3Banner {
    height: 300px;
  }
}

/* 手机端适配 */
@media (max-width: 768px) {
  .pc3Banner {
    height: 250px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .pc3Banner {
    height: 200px;
  }
}


/* Buttons */
.commonBtn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #333 !important;
  text-decoration: none;
  border: 2px solid #ff6600;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.commonBtn:hover {
  background: #ff6600;
  color: #fff !important;
}

.blueBtn {
  background: #FF0000;
  border-color: #FF0000;
  color: #fff !important;
}

.blueBtn:hover {
  background: #3d8bc4;
  border-color: #3d8bc4;
  color: #fff !important;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: flex-start;
}

.col-sm-12,
.col-sm-6,
.col-md-3,
.col-md-4,
.col-md-6 {
  padding: 0 15px;
}

.col-sm-12 {
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-4 {
    width: 33.333%;
    max-width: 33.333%;
    flex: 0 0 33.333%;
  }
  .col-sm-6 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    width: 25%;
    max-width: 25%;
    flex: 0 0 25%;
  }
  .col-md-4 {
    width: 33.333%;
    max-width: 33.333%;
    flex: 0 0 33.333%;
  }
  .col-md-6 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }
  .col-md-8 {
    width: 66.666%;
    max-width: 66.666%;
    flex: 0 0 66.666%;
  }
}

/* Main Content Sections */
.mainImgSection {
  padding: 15px 0;
  background: #fff;
}

.greySection {
  background: #f5f5f5;
  padding: 75px 0 55px;
}

.aboutSection {
  padding: 70px 0 65px;
  background: #fff;
}

.aboutSection h2 {
  text-align: left;
}

.aboutSection p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.aboutSection a {
  color: #dc3545;
  text-decoration: none;
}

.aboutSection a:hover {
  color: #c82333;
  text-decoration: underline;
}

/* Features Box */
.featuresBox {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.featuresTitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.featuresText {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.featuresBox1 .featuresTitle::before,
.featuresBox2 .featuresTitle::before,
.featuresBox3 .featuresTitle::before {
  content: '✓ ';
  color: #FF0000;
}

.mainImg {
  margin: 30px auto;
  display: block;
}

.mainImg img {
  max-width: 100%;
  height: auto;
}

/* Products */
.productBox {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.productBox:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.productImg {
  margin-bottom: 15px;
  flex-shrink: 0;
}

.productImg img {
  width: 100%;
  height: auto;
  display: block;
}

.productTitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

 

.productTitle a {
  color: #333;
  text-decoration: none;
}

.productTitle a:hover {
  color: #FF0000;
}

.productDesc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.productLink {
  flex-shrink: 0;
}

.productLink a {
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
}

.productLink a:hover {
  color: #c82333;
  text-decoration: underline;
}

/* Certificate Carousel */
.certificateCarousel {
  padding: 60px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.certificateSliderWrapper {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.certificateSlider {
  list-style: none;
  display: flex;
  gap: 30px;
  animation: scrollCertificates 25s linear infinite;
  width: fit-content;
  margin: 0;
  padding: 0;
  will-change: transform;
}

.certificateCarousel:hover .certificateSlider {
  animation-play-state: paused;
}

@keyframes scrollCertificates {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.certificateSlider li {
  flex-shrink: 0;
}

.certificateImg {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.certificateImg:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #FF0000;
}

.certificateImg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.certificateImg:hover img {
  filter: grayscale(0%);
}

/* Why Us Section */
.whyusSection {
  background: #f5f5f5;
  padding: 75px 0 30px;
}

.whyusBox {
  background: #fff;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #FF0000;
}

.whyusBoxTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.whyusBoxText {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.eBookCover {
  margin-bottom: 20px;
}

.eBookCover img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.guideSection {
  padding: 75px 0 35px;
  background: #fff;
}

.guideBox {
  margin-bottom: 30px;
}

.guideImg {
  margin-bottom: 15px;
}

.guideTitle {
  font-size: 18px;
  font-weight: 600;
}

.guideTitle a {
  color: #333;
  text-decoration: none;
}

.guideTitle a:hover {
  color: #FF0000;
}

/* FAQ Section */
.faqSection {
  padding: 70px 0 55px;
  background: #fff;
}

.accordionWraper {
  display: flex;
  gap: 30px;
}

.accordiaBox {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.accordiaBox.active {
  border-color: #FF0000;
}

.accordion {
  padding: 15px 20px;
  background: #f9f9f9;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  position: relative;
}

.accordion::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: #FF0000;
}

.accordiaBox.active .accordion::after {
  content: '−';
}

.panel {
  padding: 20px;
  display: none;
  color: #666;
  line-height: 1.8;
}

.accordiaBox.active .panel {
  display: block;
}

.panel ul {
  margin-left: 20px;
  margin-top: 10px;
}

.panel li {
  margin-bottom: 8px;
}

/* Contact Form */
.contactForm {
  background: #fff;
  padding: 25px;
  border: 1px solid #e0e0e0;
}

.contactFormTitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
}

.contactForm textarea {
  min-height: 100px;
  resize: vertical;
}

.contactForm input[type="submit"] {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.contactForm input[type="submit"]:hover {
  background: #c82333;
}

/* Product View Styles */
.product-gallery {
  display: flex;
  gap: 15px;
}

.product-thumbnails {
  width: 15%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.product-main-image {
  width: 85%;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  transition: border-color 0.3s;
}

.thumbnail:hover {
  border-color: #FF0000;
}

#mainImage {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.product-info {
  padding-top: 30px;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.product-specs td {
  padding: 12px;
  border: 1px solid #ddd;
}

.product-specs tr:nth-child(even) {
  background: #f9f9f9;
}

.product-specs tr:nth-child(odd) {
  background: #fff;
}

/* Video Wrapper */
.popupVideoWraper {
  position: relative;
}

.popupVideoWraper img {
  width: 100%;
  height: auto;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  padding: 50px 0 20px;
  width: 100%;
}

.footer-adv {
  margin-bottom: 30px;
}

.footer-adv .row {
  display: flex;
  flex-wrap: wrap;
}

.footerLogo {
  margin-bottom: 20px;
}

.footerLogo img {
  max-width: 200px;
}

.footer-adv h2 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-adv p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footerLink a {
  color: #dc3545;
  text-decoration: none;
}

.footer-adv ul {
  list-style: none;
}

.footer-adv ul li {
  margin-bottom: 8px;
}

.footer-adv ul li img{
  margin-right:  8px;width:20px;height:20px;
}


.footer-adv ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-adv ul li a:hover {
  color: #FF0000;
}

.footerContact {
  list-style: none;
}

.footerContact li {
  margin-bottom: 10px;
  color: #ccc;
  font-size: 14px;
}

.footerContact li.phone::before {
  content: '📞 ';
}

.footerContact li.email::before {
  content: '📧 ';
}

.footerContact li.lcoation::before {
  content: '📍 ';
}

.footerContact a {
  color: #FF0000;
  text-decoration: none;
}

.ast-small-footer {
  background: #1a252f;
  padding: 20px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/* 触摸优化 */
@media (max-width: 768px) {
  /* 增加触摸区域 */
  .main-header-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .commonBtn {
    min-height: 44px;
    padding: 15px 30px;
  }
  
  /* 防止双击缩放 */
  * {
    touch-action: manipulation;
  }
  
  /* 移动端字体优化 */
  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* 移动端文本换行修复 */
  .aboutSection .container {
    padding: 0 15px;
  }
  .aboutSection .row > div {
    width: 100%;
    padding: 0;
  }
  .aboutSection p {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.6;
  }
  .aboutSection h2 {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  /* 强制覆盖nowrap内联样式 */
  .aboutSection span[style*="nowrap"] {
    white-space: normal !important;
    text-wrap-mode: wrap !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  .main-header-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    z-index: 999;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .main-header-menu.show {
    display: flex;
  }

  .main-header-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-header-menu li:last-child {
    border-bottom: none;
  }

  .main-header-menu a {
    padding: 15px 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-header-menu li.menu-item-has-children > a::after {
    content: '+';
    font-size: 16px;
    margin-left: 0;
    transition: transform 0.3s;
  }

  .main-header-menu li.menu-item-has-children.open > a::after {
    content: '−';
    transform: rotate(180deg);
  }

  .main-header-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    background: #f8f9fa;
    padding-left: 0;
  }

  .main-header-menu li.menu-item-has-children.open > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8f9fa !important;
  }

  .main-header-menu .sub-menu .sub-menu {
    background: #f0f0f0;
    border-left: 3px solid #FF0000;
    display: none;
  }

  .main-header-menu .sub-menu a {
    padding: 12px 40px;
    background: transparent;
    font-size: 15px;
  }

  .main-header-menu .sub-menu .sub-menu a {
    padding: 10px 60px;
    font-size: 14px;
    color: #555;
  }

  .main-header-menu .sub-menu li.menu-item-has-children > a {
    font-weight: 500;
    position: relative;
  }

  .main-header-menu .sub-menu li.menu-item-has-children > a::after {
    content: '+';
    float: none;
    position: absolute;
    right: 40px;
    font-size: 14px;
    color: #FF0000;
  }

  .main-header-menu .sub-menu li.menu-item-has-children.open > a::after {
    content: '−';
  }

  /* 三级菜单特殊样式 */
  .main-header-menu .sub-menu .sub-menu li {
    border-left: 2px solid #ddd;
    margin-left: 20px;
  }

  .main-header-menu .sub-menu .sub-menu a:hover {
    background: #e9ecef;
    color: #FF0000;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-slider {
    height: 200px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .accordionWraper {
    flex-direction: column;
  }

  .col-sm-4,
  .col-sm-6,
  .col-md-3,
  .col-md-4,
  .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .container {
    padding: 0 10px;
  }

  .mainImgSection {
    padding: 50px 0;
  }

  .greySection {
    padding: 50px 0 30px;
  }

  .whyusSection {
    padding: 50px 0 20px;
  }

  .guideSection {
    padding: 50px 0 25px;
  }

  .certificateCarousel {
    padding: 40px 0;
  }

  .certificateImg {
    width: 140px;
    height: 140px;
    padding: 1px;
  }

  .certificateSlider {
    gap: 20px;
    animation-duration: 20s;
  }

  .aboutSection {
    padding: 20px;
  }

  .faqSection {
    padding: 0 0 35px;
  }

  .ast-header-breadcrumb {
    padding: 10px 0;
  }

  /* Product View Mobile Optimization */
  .product-gallery {
    flex-direction: column;
    gap: 15px;
  }

  .product-thumbnails {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    order: 2;
  }

  .product-main-image {
    width: 100%;
    order: 1;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .product-info {
    padding-top: 20px;
  }

  .product-specs table {
    font-size: 14px;
  }

  .product-specs td {
    padding: 8px;
  }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .main-header-menu a {
    padding: 10px 15px;
    font-size: 16px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .col-md-3 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .col-sm-4,
  .col-sm-6,
  .col-sm-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  /* 小屏手机优化 */
  .hero-content h1 {
    font-size: 24px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .container {
    padding: 0 8px;
  }
  
  .main-header-menu a {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .productBox {
    padding: 12px;
  }
  
  .featuresBox {
    padding: 20px 15px;
  }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .main-header-bar {
    padding: 10px 0;
  }
  
  body {
    padding-top: 60px;
  }
}



/* PC端显示3列 */
.divc {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.divc img {
  width: 32%;
  height: auto;
}

/* 手机端只显示第一张 */
@media (max-width: 768px) {
  .divc img {
    width: 100%;
    display: none;
  }
  
  .divc img:first-child {
    display: block;
  }
}




 



@media (max-width: 768px) {
  .container img:not(.product-thumbnails img):not(.thumbnail) {
    width: 100%;
    display: block;
    margin: 10px 0;
  }
  
  .product-thumbnails img {
    width: 60px;
    height: 60px;
  }
 
  .productImg {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1正方形比例 */
    position: relative;
    overflow: hidden;
  }
  
  .productImg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.container span,
.editorcss span, .proconn span
{
  text-wrap-mode: wrap !important;
  white-space: normal !important;
}