.content .img-box {
  width: 100%;
}
.content .img-box .img-auto {
  width: 100%;
  display: block;
}
.pro-banner {
  width: 100%;
  display: block;
  position: relative;
}
.pro-banner img {
  width: 100%;
  display: block;
}
.banner-flex {
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
}
.banner-flex .container{height:100%;}
.pro-det-banner{
    width:100%;
    height:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.banner-flex .banner-title{
    position: relative;
    width:50%;
    display:block;
    height:auto;
    text-align:left;
    top:0;
    left:0;
    transform: translateY(0);
}
.banner-flex .banner-title h1 {
  font-size: 80px;
  font-weight: bold;
  color: #fff;
  line-height: 100px;
  margin: 0;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.banner-flex .banner-title p {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  line-height: 48px;
  margin: 0;
  margin-top:10px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.banner-img{
    width:50%;
    display:flex;
    align-items: center;
    justify-content: center;
}
.banner-img img {
  width: 48%;
  max-width:400px;
  display: block;
}
.pc-content {
  width: 70%;
  border-radius: 20px;
  padding: 30px;
  background: #f4f5f7;
  margin-top: 20px;
}
.pro-title {
  border-bottom: 1px solid #dde2e6;
  width:100%!important;
}
.content-flex {
    margin-top:40px;
    padding-bottom:80px;
  display: flex;
  justify-content: space-between;
}
.sticky-sidebar {
  width: 340px; /* 推荐产品模块宽度，可调整 */
  position: sticky; /* 粘性定位 */
  top: 80px; /* 固定后距离顶部的距离，可调整 */
  align-self: flex-start; /* 关键：让粘性容器从顶部开始定位，不跟随左侧高度 */
  max-height: calc(100vh - 40px); /* 限制最大高度，避免超出视口（可选） */
  overflow-y: auto; /* 若推荐产品太多，内部可滚动（可选） */
}
.pro-deta {
  width: 100%;
  margin-bottom: 40px;
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}
.pro-deta h4{
font-size: 24px;
font-weight: bold;
color: #131108;
margin-bottom: 20px;
}
.pro-swiper {
  display: flex;
  transition: transform 0.5s ease;
}

.pro-deta .swiper-slide a {
  display: block;
  width: 100%;
}
.pro-deta .pro-item {
  /* width: 100%; */
  min-width: 100%;
  padding: 20px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #f4f5f7;
  margin-right: 20px;
}
.pro-deta .pro-item .item-title {
  width: 100%;
  text-align: left;
}
.pro-deta .pro-item .item-title h3 {
  width: 100%;
  font-size: 24px;
  color: #131108;
  line-height: 24px;
  height: 24px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}
.pro-deta .pro-item .item-title p {
  width: 100%;
  margin-top: 8px;
  font-size: 16px;
  color: #52504a;
  line-height:28px;
  height: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pro-deta .pro-item .img {
  width: 100%;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}
.pro-deta .pro-item .img .img-cont {
  width: 100%;
  height: 0;
  padding-bottom: 72.1649%;
  overflow: hidden;
  position: relative;
}
.pro-deta .pro-item .img .img-cont .img-flex {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pro-deta .pro-item .img .img-cont img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
}
.pro-deta .pro-item:hover .img img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.pro-deta .pro-item .item-bottom {
  width: 100%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}
.pro-deta .pro-item .item-bottom .price {
  font-size: 16px;
  line-height: 24px;
  color: #131108;
  font-family: "Arial";
  /* display: flex;align-items: center; */
}
 .pro-item .item-bottom .price s{margin-left:16px;color:#6c5c3f;}
.pro-item .item-bottom .btn{display:block;padding:0;margin:0;border: 1px solid #878787;
;width:124px;height:50px;font-size:16px;color:#878787;background-color:#F4F5F7;border-radius:40px;text-align:center;line-height:48px;transition: all 0.3s;-webkit-transition: all 0.3s;}
 .pro-item .item-bottom .btn:hover{color:#fff;background-color:#CAAE82;border-color:#CAAE82;}
.price-num {
  color: #878787;
  font-size: 16px;
}
.swiper-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}
.swiper-pagination a {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  display: block;
  cursor: pointer;
  transition: background 0.3s ease;
}
.swiper-pagination a.active {
  background: #CAAE82;
}

.detail .nav_bar .buy{margin-right:20px;}
.detail .nav_bar .wap-buy a{border:#fff solid 1px;color:#fff;background:none;border-radius:40px;}
.detail .nav_bar .wap-buy a:hover{color:#CAAE82;background:#fff;}
.detail-icon{display:flex;align-items:center;flex-direction:row-reverse;}
.sale-num{margin-right:20px;}
.pro-container{width:100%;margin:0 auto;max-width:1320px;padding:0 20px;}
.wap-nav-btn{display:none;}
@media (max-width: 1080px) {
    .pro-container{padding:0 16px;}
    .breadcrumb-title{display:none;}
   .detail-icon .img-box{display:none;}
    .wap-nav-btn{display:block;}
    .detail .nav_bar .wap-nav-btn a{padding:0;}

    .banner-flex .banner-title h1 {
  font-size: 64px;
  line-height: 80px;
}
.banner-flex .banner-title p {
  font-size: 24px;
  line-height: 32px;
}
}
@media (max-width: 767px) {
  .pc-content .mobile-img{
    display:block !important;
  }
  .sticky-sidebar {
    width: 100%;
    position: static; /* 取消粘性定位 */
    top: auto;
    max-height: none;
  }
   .pc-content .img-box{display:none;}
    .pc-content{display:block;width:100%;padding:16px;margin-bottom:40px;}
    .content-flex{display:block;}
    .pro-deta{width:100%;margin-top:0;margin-bottom:20px;}
    .pro-deta h4{font-size:18px;line-height:24px;}
    .pro-deta .pro-item .item-title h3{font-size:16px;}
    .pro-deta .pro-item .item-title p{font-size:14px;}
    .pro-item .item-bottom .btn{width:100px;height:38px;font-size:14px;line-height:36px;}

    .banner-flex .banner-title h1 {
  font-size: 24px;
  line-height: 32px;
}
.banner-flex .banner-title p {
  font-size: 14px;
  line-height: 24px;
}
}