/* product */
.prod_det {
  width: 100%;
  overflow: hidden;
  background: #f8f8f8;
  padding: 40px 0 80px;
  margin: 0;
}
.search {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
}
.search form {
  width: 85%;
  display: flex;
  margin: auto;
}
.search form .input {
  width: 31%;
  line-height: 50px;
  border: 1px solid #c2c2c2;
  background-color: #fff;
  color: #999;
  outline: none;
  padding: 0 10px;
  height: 50px;
  transition: all 0.3s;
  border-radius: 5px;
}
.search form .input:nth-child(2) {
  margin: 0 10px;
}
.search form .input:nth-child(3){
  border-radius: 5px 0 0 5px!important;
  margin-left: 10px;
}
.search form button {
  width: 80px;
  line-height: 50px;
  height: 50px;
  text-align: center;
  background-color: #b60022;
  border: 0;
  outline: none;
  border-radius: 0 5px 5px 0;
}
.search form button span {
  font-size: 24px;
  color: #fff;
}
.prod_center {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 20px;
}
.prod_center .prod_left {
  width: 32%;
  background-color: #fff;
}
.prod_center .prod_left .prod_img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  overflow: hidden;
}
.prod_center .prod_left .prod_img img {
  width: 100%;
}

.prod_center .prod_right {
  width: 48%;
  background-color: #fff;
  margin: 0 20px;
}
.prod_center .prod_right > h1 {
  font-size: 26px;
  line-height: 32px;
  font-weight: bold;
  margin: 0 0 10px;
}
.prod_center .prod_right .listcs{
  width: 100%;
  overflow: hidden;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  border-bottom: 0;
  font-size: 15px;
}
.prod_center .prod_right .listcs li{
  display: flex;
  border-bottom: 1px solid #ebebeb;
}
.prod_center .prod_right .listcs li span{
  padding: 15px;
  text-align: center;
}
.prod_center .prod_right .listcs li span:first-child{
  border-right: 1px solid #ebebeb;
  width: 35%;
}
.prod_center .prod_right .listcs li span:last-child{
  width: 65%;
}
.prod_center .prod_right .listcs li:nth-child(even) {
  background-color: #f5f5f5;
}
.prod_center .lxdh {
  width: 250px;
  padding: 15px;
  border-radius: 16px;
  background-color: #efefef;
  height: fit-content;
}
.prod_center .lxdh h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 5px;
  color: #000;
}
.prod_center .lxdh p{
  font-size: 15px;
  line-height: 26px;
}
.prod_center .lxdh .sjyj{
  width: 92%;
  background: #dbdbdb;
  padding: 10px;
  border-radius: 10px;
  margin: 15px 0;
}
.prod_center .lxdh .sjyj h3{
  font-size: 16px;
  margin: 0;
  font-weight: bold;
}
.prod_center .lxdh .sjyj a{
  font-size: 15px;
  line-height: 26px;
  position: relative;
  display: block;
}
.prod_center .lxdh .sjyj span{
  background-image: url(/images/yjbg.png);
  background-repeat: no-repeat;
  background-size: 100%;
  padding: 8px;
  position: absolute;
  top: -12px;
  right: -28px;
}
.prod_center .lxdh .sjyj img{
  width: 25px;
  position: relative;
  top: -8px;
}
.prod_center .lxdh .sjico{
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: auto;
}
.prod_center .lxdh .sjico a {
  width: 32px;
  display: inline-block;
  margin: 10px 4px;
  background: #131c20;
  color: #fff;
  line-height: 32px;
  text-align: center;
  border-radius: 50px;
}


.prod_lsit {
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  margin-top: 20px;
  padding: 20px;
}
.prod_lsit > h3 {
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 10px;
}
.prod_lsit ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
}
.prod_lsit ul li {
  width: 24.5%;
  height: auto;
  border: 1px solid #eee;
  overflow: hidden;
}
.prod_lsit ul li img {
  width: 100%;
  transition: all 0.5s;
}
.prod_lsit ul li:hover img {
  transform: scale(1.2);
}
.prod_lsit ul li p {
  text-align: center;
  margin: 0;
  padding: 10px;
  background: #0f58d6;
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
}
#player-container-id {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prod_det > .w > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 15px;
}
.prod_det > .w > ul li {
  width: 24%;
  margin: 10px 0;
  background-color: #fff;
}
.prod_det > .w > ul li .prod_img {
  width: 100%;
  overflow: hidden;
  padding: 1vw;
}
.prod_det > .w > ul li .prod_img img {
  width: 85%;
  display: block;
  margin: auto;
  transition: all 0.5s;
}
.prod_det > .w > ul li:hover .prod_img img {
  transform: scale(1.2);
}
.prod_det > .w > ul li .prod_wz {
  width: 100%;
  padding: 15px;
  background-color: #dddddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s;
}
.prod_det > .w > ul li .prod_wz p {
  margin: 0;
  font-size: 16px;
}
.prod_det > .w > ul li:hover .prod_wz {
  background-color: #b60022;
}
.prod_det > .w > ul li:hover .prod_wz p,
.prod_det > .w > ul li:hover .prod_wz span {
  color: #fff;
}

.image-container {
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex
}

.main-image-wrapper {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  width: 100%;
  height: 350px;
  border: 1px solid #ebebeb;
  overflow: hidden;
  border-radius: 20px;
}

.main-image {
  width: 80%;
  height: auto;
  display: block;
  margin: auto;
  padding: 20px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn span {
  font-size: 14px;
}
.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.thumbnails {
  /* display: flex;
  gap: 10px; */
  margin-right: 15px;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  border-radius: 8px !important;
  padding: 10px !important;
  margin-bottom: 7px !important;
}

.thumbnail:hover {
  border-color: #b60022;
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: #b60022;
}
.tabbox{
  width: 100%;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  margin-top: 30px;
}
#tabButtons{
  display: flex;
  width: 100%;
  border-bottom: 1px solid #dfdfdf;
}
.tab-btn{
  font-size: 18px;
  font-weight: bold;
  margin: 0 40px 0 0;
  cursor: pointer;
  padding-bottom: 5px;
}
.tab-btn.active {
  border-bottom: 3px solid #b60022;
  color: #b60022;
}
#tabContents{
  width: 100%;
  padding: 20px 0 0;
  overflow: hidden;
}
#tabContents p{
  font-size: 16px;
  line-height: 28px;
}
#tab2 li{
	position: relative;
}
#tab2 li>a{
	width: 100%;
	overflow: hidden;
	background-color: #fff;
	padding: 20px;
	display: flex;
	justify-content: space-between;
}
#tab2 li:nth-child(even)>a{
	background-color: #f5f5f5;
}
#tab2 li #xjbtn{
	width: 100px;
  position: absolute;
  right: 15px;
  bottom: 35px;
  background: #b60022;
  text-align: center;
  color: #fff;
  line-height: 38px;
	transition: all 0.5s;
	border-radius: 6px;
}
#tab2 li #xjbtn:hover{
	background: #da0028;
}
#tab2 li #xjbtn a{
	display: block;
	color: #fff;
}
#tab2 .prod_right_img{
	width: 25%;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
	display: flex;
    align-items: center;
	justify-content: center;
	background-color: #fff;
}
#tab2 .prod_right_img img{
	width: 85%;
	transition: all 0.5s;
}
#tab2 li a:hover .prod_right_img img{
	transform: scale(1.1);
}
#tab2 li .product-info{
	width: 70%;
}
#tab2 li .product-info h3{
	font-size: 20px;
  font-weight: bold;
  line-height: 26px;
  margin: 0 0 10px;
	transition: all 0.5s;
}
#tab2 li a:hover .product-info h3{
	color: #b60022;
}
#tab2 li .product-info p{
	font-size: 15px;
	color: #333;
}
.brand-container {
  width: 100%;
  margin: 20px auto;
}
.brand-item {
  margin-bottom: 10px;
  border-radius: 4px;
}
.brand-title {
  padding: 12px 15px;
  margin: 0;
  background-color: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}
.brand-title span {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  margin-right: 10px;
  border-radius: 3px;
  background-color: #b60022;
  color: white;
  transition: all 0.2s ease;
  font-weight: normal;
}
.brand-content {
  padding: 0 15px;
  max-height: 0; /* 默认折叠 */
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
  white-space: pre-wrap;
}
/* 展开状态的样式 */
.brand-item.expanded .brand-content {
  padding: 15px;
  max-height: 800px;/* 足够大的高度容纳内容 */
  font-size: 16px;
  line-height: 28px;
  white-space:pre-wrap;
}
.brand-item.expanded .brand-title span {
    content: "-"; /* 展开时显示减号 */
}
@media screen and (max-width: 768px) {
  .prod_det{
    padding: 40px 0;
  }
  .search {
    background: #fff;
    padding: 20px 10px;
    margin-bottom: 20px;
  }
  .search form {
    width: 100%;
    display: flex;
    margin: auto;
    flex-wrap: wrap;
  }
  .search form .input {
    width: 100%;
    line-height: 50px;
    border: 1px solid #c2c2c2;
    background-color: #fff;
    color: #999;
    outline: none;
    padding: 0 10px;
    height: 50px;
    transition: all 0.3s;
    border-radius: 5px;
  }
  .search form .input:nth-child(2) {
    margin: 10px 0;
  }
  .search form .input:nth-child(3) {
    border-radius: 5px !important;
    margin-left: 0;
  }
  .search form button {
    width: 100%;
    line-height: 50px;
    height: 50px;
    text-align: center;
    background-color: #b60022;
    border: 0;
    outline: none;
    border-radius: 5px;
    margin-top: 10px;
  }
  .prod_center .prod_left {
    width: 100%;
    background-color: #fff;
  }
  .main-image-wrapper{
    height: 280px;
  }
  .prod_center {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px 10px;
    flex-wrap: wrap;
  }
  .image-container {
    width: 100%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .main-image {
    width: 90%;
    height: auto;
    display: block;
    margin: auto;
    padding: 20px;
  }
  .thumbnails {
    margin-right: 0;
  } 
  .prod_center .prod_right {
    width: 100%;
    background-color: #fff;
    margin: 20px 0;
  }
  .prod_center .prod_right > h1 {
    font-size: 20px;
    line-height: 32px;
    font-weight: bold;
    margin: 0 0 10px;
  }
  .prod_center .prod_right .listcs li span {
    padding: 10px;
    text-align: center;
  }
  .prod_center .lxdh {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    background-color: #efefef;
    height: fit-content;
  }
  .tabbox {
    width: 100%;
    overflow: hidden;
    padding: 30px 10px;
    background: #fff;
    margin-top: 20px;
  }
  #tabButtons {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #dfdfdf;
    flex-wrap: wrap;
  }
  .tab-btn {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    cursor: pointer;
    padding-bottom: 5px;
    width: 33%;
    margin-bottom: 10px;
  }
  .tab-btn.active {
    border-bottom: 0;
    color: #b60022;
  }





}
