.show-product-main{
    background-color: #F4F4F4;
}

/* 详情板块主容器 */
.detail-product-container {
  display: flex;
  align-items: flex-start;
  width: 100vw;
  background: #f7f7f7;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 40px 0;
}

/* 左侧图片列表 */
.detail-product-left {
  width: 50vw;
  box-sizing: border-box;
}
.detail-product-img-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-product-img-item {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1.1;
}
.detail-product-img-item img {
  width: 100%;
  height: auto;
  display: block;
}
.detail-product-more-btn {
  display: block;
  margin: 32px auto 0 auto;
  padding: 8px 32px;
  border: 1px solid #AD191E;
  background: #fff;
  color: #AD191E;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.detail-product-more-btn:hover {
  background: #AD191E;
  color: #fff;
}

/* 右侧信息区 */
.detail-product-right {
  flex: 1;
  min-width: 320px;
  max-width: 700px;
  border-radius: 8px;
  margin-left: 30px;
  padding: 32px 36px 32px 36px;
  box-sizing: border-box;
}
.detail-product-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 18px;
  color: #222;
}
.detail-product-divider {
  height: 2px;
  background: #CCCCCC;
  margin-bottom: 24px;
  border-radius: 1px;
}
.detail-product-params {
  margin-bottom: 18px;
}
.detail-product-param {
  font-size: 16px;
  color: #444;
  margin-bottom: 16px;
}
.param-label {
  color: #222;
  font-weight: 500;
}
.detail-product-service {
  margin-bottom: 24px;
  font-size: 16px;
}
.service-label {
  color: #222;
}
.service-tel {
  color: #BB4549;
  font-weight: bold;
  font-size: 20px;
}
.detail-product-btns {
  display: flex;
  gap: 18px;
}
.detail-product-btn {
  min-width: 130px;
  padding: 13px 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #AD191E;
  transition: background 0.2s, color 0.2s;
}
.detail-product-btn-consult {
  background: #AD191E;
  color: #fff;
  border: 1px solid #AD191E;
}
.detail-product-btn-consult:hover {
  background: #8d1518;
}
.detail-product-btn-back {
  background: #fff;
  color: #AD191E;
  border: 1px solid #AD191E;
}
.detail-product-btn-back:hover {
  background: #f7eaea;
}

.show-product-main {
    padding-top: 100px;
}
@media (min-width: 1200px) {
    .detail-product-left{
        height: 700px; overflow-y: auto; 
    }
    
    .detail-product-img-list{
        overflow: hidden; 
    }
    
    .detail-product-container{
        cursor: pointer;
    }
    
    .detail-product-left{
    height: 650px;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE和Edge */
    scrollbar-width: none;  /* Firefox */
}
.detail-product-left::-webkit-scrollbar {
    display: none;  /* Chrome/Safari/Opera */
}
    
}

/* 移动端适配 */
@media (max-width: 900px) {
  .detail-product-container {
    flex-direction:column-reverse;
    padding: 18px 0;
    width: 100vw;
  }
  .detail-product-left {
    width: 100vw;
    padding: 0 10px;
  }
  .detail-product-right {
    margin-left: 0;
    margin-top: 24px;
    max-width: 100vw;
    padding: 22px 10px 22px 10px;
    width: 100%;
  }

  .detail-product-title{
    text-align: center;
  }

  .detail-product-btns{
    justify-self: center;
  }


}
@media (max-width: 600px) {
  .detail-product-img-list {
    gap: 10px;
  }
  .detail-product-container {
    margin: 10px 0 30px 0;
    padding: 8px 0;
  }
  .detail-product-title {
    font-size: 18px;
  }
  .detail-product-btns {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
  }
  
}

/* 图片放大弹窗 */
.img-modal-mask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.img-modal-box {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  background: #fff;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 产品推荐板块 */

/* 产品推荐swiper（Swiper官方结构） */
.product-recommend-section {
  width: 100%;
  background: #fff;
  padding: 85px 0 65px 0;
}
.product-recommend-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.product-recommend-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #222;
  margin-bottom: 36px;
  letter-spacing: 2px;
}
.product-recommend-swiper {
  width: 100%;
  position: relative;
  padding-bottom: 30px;
}
.product-recommend-swiper .swiper-wrapper {
  align-items: stretch;
}
.swiper-slide {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.product-recommend-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.1;
  overflow: hidden;
  cursor: pointer;
}
.product-recommend-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.product-recommend-img-box:hover img {
  transform: scale(1.04);
}
.product-recommend-img-mask {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(173,25,30,0.85);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  z-index: 2;
}
.product-recommend-img-box:hover .product-recommend-img-mask {
  opacity: 1;
}
.product-recommend-img-mask i.fa-search {
  font-size: 48px;
  color: #fff;
}
.product-recommend-caption {
  text-align: center;
  font-size: 18px;
  color: #222;
  margin: 18px 0 10px 0;
  font-weight: 400;
  transition: color 0.2s;
}
.swiper-slide:hover .product-recommend-caption {
  color: #AD191E;
}
.swiper-button-prev, .swiper-button-next {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}
.swiper-button-prev:after, .swiper-button-next:after {
  font-size: 22px;
  color: #222;
}
.swiper-button-prev {
  left: 16px;
}
.swiper-button-next {
  right: 16px;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  background: #AD191E;
}
.swiper-button-prev:hover:after, .swiper-button-next:hover:after {
  color: #fff;
}
@media (max-width: 1200px) {
  .product-recommend-container {
    max-width: 1000px;
  }
}
@media (max-width: 960px) {
  .product-recommend-container {
    max-width: 800px;
  }
}
@media (max-width: 600px) {
    
    
  .product-recommend-container {
    max-width: 100vw;
    padding: 0 10px;
  }

  .product-recommend-container .swiper-button-prev{
    left: 5px;
  }

  .product-recommend-title{
    font-size: 26px;
  }
  
  .list_product-main{
      padding-top: 40px;
  }
  
  .product-recommend-section {
    padding: 60px 0 60px 0;
}

.swiper-button-prev, .swiper-button-next{
    display: none;
}
  
  
}

@media (max-width: 500px) {
    .show-product-main {
    padding-top: 50px;
}
    
}

/* 移除移动端隐藏swiper箭头的样式，让手机端也显示箭头 */
/* @media (max-width: 600px) {
  .swiper-button-prev, .swiper-button-next {
    display: none;
  }
} */
