body {
  background: #FBFBFB
}

.detailbox {
  display: flex;
  justify-content: space-between;
  padding-bottom: 60px;
  align-items: flex-start;
  margin-top: 15px;
}

.detailborder .detailbox {
  padding: 0;
}

.detailbox .right .num.specs-item {
  display: block;
}


.detailbox .right .num.specs-item ul {
  display: flex;
  flex-wrap: wrap;
}

.detailbox .right .tabbox {
  display: none;
}

.detailbox .right .tabbox .level .name {

  position: relative;
  width: 326px;
  border-radius: 4px;
  border: 1px solid #BAC2D2;
  background: #fff;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
}

.detailbox .right .tabbox .level .name span {
  line-height: 40px;
  padding-left: 12px;
  font-size: 16px;
  color: #323B44;
  background: url(../images/xl.png) no-repeat right 8px center / 14px;
  font-family: Baloo_R;
}

.detailbox .right .tabbox .level .name.cur span {
  background: url(../images/xl2.png) no-repeat right 8px center / 14px;
}

.detailbox .right .tabbox .level li {
  line-height: 40px;
  padding-left: 12px;
  font-size: 16px;
  color: #323B44;
  font-family: Baloo_R;
}

.detailbox .right .tabbox .level ul {
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #BAC2D2;
  top: 110%;
  z-index: 99;
  border-radius: 4px;
  display: none;
}

.detailbox .right .tabbox:first-child {
  display: block;
}

.detailbox .right .num.specs-item li,
.detailbox .right .numlist li {
  width: 95px;
  height: 37px;
  background: #FFFFFF;
  border-radius: 5px;
  border: 1px solid #D3D8DC;
  line-height: 37px;
  margin: 0 8px 0 0;
  text-align: center;
  font-size: 15px;
  font-family: Baloo_M;
  cursor: pointer;
}

.detailbox .right .num.specs-item li.active {
  background: url(../images/chose.png) no-repeat right bottom;
  background-color: rgba(26, 157, 216, 0.1);
  color: #1A9DD8;
  border: 1px solid #1A9DD8;
}

.detailbox .right .numlist {
  padding-bottom: 8px;
}

.detailbox .right .numlist .ul-flex {
  display: flex;
  flex-wrap: wrap;
}

.detailbox .right .numlist li {
  text-align: left;
  text-align: left;
  width: auto;
  line-height: 37px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 10px 0 8px;
  width: 150px;
}

.detailbox .right .numlist li img {
  width: 30px;
  margin-right: 4px;
}

.detailbox .right .numlist li.active {
  background: #1A9DD8;
  color: #fff;
}

.detailbox .right .ticket {}

.detailbox .wapper {
  width: 42%;
  overflow: hidden;
}

.detailbox .left {
  position: sticky;
  top: 135px;
  width: 42%;
}

.detailbox .left .box {
  height: 356px;
  position: relative;
  width: 90%;
  flex-shrink: 0;
  object-fit: cover;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detailbox .left .box img {
  max-width: 100%;
  max-height: 90%;
}

.detailbox .left .img-box {
  width: 100%;
  height: calc(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detailbox .text span {
  font-size: 18px;
  color: #333;
  font-family: Baloo_M;
}

.detailbox .text p {
  font-size: 16px;
  font-family: Baloo_R;
  color: #333;
}

.detailbox .left .img-box img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

.detailbox .left>img {
  width: 50px;
  position: absolute;
  top: 48px;
  left: 85px;

}

.detailbox .left .specs-item ul {
  display: flex;
  flex-wrap: wrap;
}

.detailbox .left .specs-item li {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.detailbox .left .specs-item li img {
  max-width: 90%;
  max-height: 100%;
}

.detailbox .left .specs-item li.active {
  border-bottom: 3px solid rgb(var(--main-color) / 1);

}

.detailbox .left .specs-items li {
  width: 75px;
  height: 75px;
}

.detailbox .left .specs-items li .img-box {
  border: none !important;
}

.detailbox .right {
  width: 54%;
}


.detailbox .right .tcgdetail li.active i::before,
.detailbox .right .additional i::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 6px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);

}

.detailbox .right .additional {
  display: flex;
  align-items: center;
}

.detailbox .right h1.title {
  font-size: 32px;
  color: #000;
  font-family: Poppins-Bold;
  line-height: 56px;
}

.detailbox .right .tag {
  padding: 15px 0 0;
  flex-wrap: wrap;
}

.detailbox .right .tag1 {
  padding: 5px 0 10px;
}

.detailbox .right .tag span {
  font-size: 20px;
  color: #D21E43;
  font-family: Baloo_B;
}






.detailbox .right a.addcart {
  width: 320px;
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  color: #fff;
  display: inline-block;
  background: #2495E1;
  border-radius: 5px;
  text-align: center;
  margin-top: 8px;
}

.detailbox .right .tag li {
  width: auto;
  height: 26px;
  line-height: 26px;
  padding: 0 12px;
  text-align: center;
  color: #23B434;
  font-family: Poppins-Regular;
  font-size: 16px;
  background: rgba(35, 180, 52, 0.1);
  border-radius: 6px;
  margin: 0 10px 10px 0;


}

.specs-item {
  display: block;
  float: left;
}


.specs-list .img-box img {
  max-width: 50px;
  max-height: 60px;
}

.detailbox .right .num {
  padding: 25px 0 35px;
}

.detailbox .right .num>span,
.detailbox .right .color>span {
  font-size: 16px;
  color: #1a1a1a;
  font-family: Poppins-Medium;
  display: block;
  line-height: 25px;
  margin-bottom: 6px;
}

.detailbox .right .color .select {
  width: 423px;
  height: 44px;
  line-height: 44px;
  border-radius: 8px;
  background: url(../images/index/arrowright.png) no-repeat right 5px center;
  padding-left: 15px;
  border: 1px solid #D3D8DC;
  font-size: 16px;
  color: #1A1A1A;
  font-family: Poppins-Medium;
  position: relative;
  cursor: pointer;
  text-align: left;
  max-width: 100%;

}

.detailbox .right .color .select.cur {
  background: url(../images/index/arrowrights.png) no-repeat right 5px center;
  background-color: rgba(230, 135, 72, 0.10);
  border: 1px solid #E46C1C;
  color: #E46C1C;
}

.detailbox .right .color .select ul {
  border: 1px solid #BFBFBF;
  position: absolute;
  top: 44px;
  width: 100%;
  border-radius: 6px;
  background: #fff;
  display: none;
  left: 0;
  padding-left: 15px;
}

.detailbox .right .color .select li {
  line-height: 30px;
  display: block;
  color: #333;

  transition: color 0.3s ease;
  position: relative;
}

.detailbox .right .color .select li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 0;
  height: 2px;
  background-color: #FF6633;
  transform: translateX(0%);
  /* 从中间向两边展开的关键 */
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detailbox .right .color .select li.active {
  color: #FF6633;
}

.detailbox .right .color .select li.active::after {
  width: 90%;
  left: 0;
}

.detailbox .right .num span em {
  font-style: normal;
  color: red;
}

.detailbox .right .quantitybox {
  border-radius: 4px;
  border: 1px solid #D3D8DC;
  width: 49%;
  overflow: hidden;
  height: 45px;
  display: flex;
}

.detailbox .right .quantitybox input {

  width: calc(100% - 70px);
  line-height: 37px;
  font-size: 16px;
  border: none;
  border-left: 1px solid #D3D8DC;
  border-right: 1px solid #D3D8DC;
  text-align: center;
}

.detailbox .right .quantitybox button {
  width: 35px;
  height: 45px;
  line-height: 45px;
  background: #fff;
  font-size: 20px;
}

.detailbox .right .quantitybox button:hover {
  background: #f6f6f6;
}

.detailbox .right .quantitybox button:active {
  background: #f1f1f1;
}

.detailbox .right .price {
  display: flex;
  color: #E46C1C;
  font-size: 20px;
  align-items: center;
  font-family: Poppins-SemiBold;
  margin-top: 15px;
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 25px;
}

.detailbox .right .price .old-price {
  margin-left: 8px;
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.detailbox .right .price i {
  font-style: normal;
}

.detailbox .right .color {

  margin-top: 25px;
}

.detailbox .right .a-price {
  font-size: 26px;
  font-family: BALOO2-SEMIBOLD;
  color: #D21e43;
  margin-left: 4px;
}

.detailbox .right .buy {
  display: flex;
  justify-content: space-between;
}

.detailbox .right .buy button {
  width: 49%;
  height: 56px;
  line-height: 56px;
  border-radius: 16px;
  border: none;
  font-size: 20px;
  font-family: Poppins-SemiBold;
  cursor: pointer;
  transition: all 0.3s;
}

.detailbox .right button.buy-now {
  background-color: rgb(var(--main-color) / 1);
  color: white;

}



.detailbox .right button.add-to-cart {
  background-color: rgba(54, 54, 54, 1);
  color: white;
}

.recommend h2 {

  font-family: Poppins-Bold;
  font-size: 24px;
  color: #231F20;
  margin-bottom: 25px;

}


.detailbox .right .tags span {
  height: 22px;
  line-height: 22px;
  padding: 0 10px;
  display: inline-block;
  border-radius: 4px;
  font-family: Baloo_M;
  margin-right: 8px;
}

.detailbox .right .content .select .xl {
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #BAC2D2;
  top: 110%;
  z-index: 99;
  border-radius: 4px;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}

.recommend {
  padding: 50px 0 100px;
}
.detailbox .right .description{
border-top: 1px solid #c2c2c2;
  border-bottom: 1px solid #c2c2c2;
   margin-top: 35px;
}
.detailbox .right .description .title {

    height: 56px;
    line-height: 56px;
   
    display: flex;
    align-items: center;
    padding-left: 10px;
    position: relative;
    font-size: 18px;
    font-family: 'Poppins-SemiBold';
    color: #333;
    cursor: pointer;
}
.detailbox .right .description .title:hover{color:rgb(var(--main-color) / 1)}
.detailbox .right .description .title img{width:35px;}
.detailbox .right .description .title  em{
  width: 40px;
    height: 25px;
    line-height: 25px;
    background: url(../images/index/jia.png) no-repeat center center;
    border-radius: 13px;
    border: 1px solid #DDE2EC;
    display: inline-block;
    cursor: pointer;position: absolute;right:0;
}
.detailbox .right .description .des{
    max-height: 300px;
    overflow-y: auto;
    display: none;
    padding: 20px;
    font-size: 16px;
    font-family: 'POPPINS-REGULAR';
    line-height: 1.5;
    box-shadow: inset -6px -2px 12px rgb(0 0 0 / 10%);
    color: #555;
}

.detailbox .right .description.cur em{
      background: url(../images/index/jian.png) no-repeat center center;
}
@media (max-width:1024px) {

  .submenu {
    display: none;
  }

  .detailbox {
    display: block;
  }

  .detailbox .left,
  .detailbox .right {
    width: 100%;
    position: relative;
    top: 0;
  }

  .detailbox .left .box {
    height: 250px;
    float: none;
    width: 100%
  }

  .detailbox .right h1.title {
    font-size: 22px;
    line-height: 35px;
  }

  .detailbox .right .buy button {
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    border-radius: 10px;
  }

  .detailbox .right .price {
    margin-top: 5px;
    padding-bottom: 15px;
  }

  .detailbox {
    padding-bottom: 0px;
  }

  .recommend {
    padding: 40px 0 40px;
  }

  .detailbox .right .num {
    padding: 15px 0 25px;
  }

  .specs-item {
    display: flex;
    float: none;
    width: 100%;
    margin-bottom: 15px;
  }

  .detailbox .right .color {
    margin-top: 15px;
  }

  .detailbox .right .description .title{
    height:48px;line-height: 48px;
  }
  .detailbox .right .description{margin-top:25px;}
}

@media (hover: hover) {
  .detailbox .right button.buy-now:hover {
    background: #EA580C;
  }

  .detailbox .right button.add-to-cart:hover {
    background: rgb(36 35 35);
    color: #fff;
  }

  .detailbox .right>ul.specs-item .specs-list:hover {
    background-color: #ddd;
  }
}