@charset "utf-8";
.cp-detail {
  padding-bottom: 50px;
}
.cp-detail .cp-left {
  width: 580px;
}
.cp-detail .cp-right {
  flex: 1;
  padding-left: 40px;
}
/*  */
.cp-detailGallery {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.cp-detailGallery .swiper {
  width: 100%;
  height: 100%;
}
.cp-detailGallery .swiper .swiper-slide {
  position: relative;
  background-color: #eee;
}
.cp-detailGallery .swiper-slide img {
  width: 100%;
}
.cp-detailGallery .swiper-slide:last-child img {
  opacity: 0;
  visibility: hidden;
}
.cp-detailGallery .cp-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
}
.cp-detailGallery .cp-video video {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
/*  */
.cp-detailThumb {
  display: flex;
  width: auto;
  margin: 20px auto;
}
.cp-detailThumb .cp-pic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-text-caption);
  border-radius: 4px;
  overflow: hidden;
}
.cp-detailThumb .cp-pic img {
  width: 100%;
}
.cp-detailThumb .cp-pic video {
  max-width: 100%;
  max-height: 100%;
}
.cp-detailThumb .swiper-slide {
  width: auto;
}
.cp-detailThumb .swiper-slide.swiper-slide-thumb-active .cp-pic {
  border-color: var(--color-primary);
}
/*  */
.cp-detail-info .cp-highlight {
  margin-top: 10px;
  color: var(--color-primary);
}
.cp-detail-info .cp-price {
  margin-top: 30px;
}
.cp-detail-info .cp-price span,
.cp-detail-info .cp-price del {
  color: var(--color-primary);
}
.cp-detail-info .cp-status {
  margin-top: 30px;
}
.cp-detail-info .cp-status span {
  display: inline-block;
  padding: 0 15px;
  border-radius: 10px 0px 10px 0px;
  background-color: var(--color-text-caption);
  color: #fff;
  line-height: 24px;
  font-size: 12px;
}
.cp-detail-info .cp-excerpt {
  margin-top: 10px;
}
.cp-detail-info .cp-excerpt a {
  color: var(--color-primary);
}
.cp-detail-info .cp-parameter {
  margin-top: 10px;
  margin-bottom: 30px;
}
.cp-detail-info .cp-parameter ul li {
  margin-top: 3px;
}
/* suggest */
.cp-detail-suggest {
  margin-top: 15px;
  padding: 0 20px;
  border: 1px solid var(--color-secondary-gray);
  border-radius: 10px;
}
.cp-detail-suggest .cp-item {
  padding: 20px 0 20px 10px;
  border-bottom: 1px dashed #ccc;
}
.cp-detail-suggest .cp-item:last-child {
  border-bottom: none;
}
.cp-detail-suggest .cp-item .cp-title h3 {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--color-text-title);
}
.cp-detail-suggest .cp-item .cp-title h3::before {
  position: absolute;
  top: 10px;
  left: -12px;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-primary);
}
.cp-detail-suggest .cp-item .cp-title p {
  margin-top: 10px;
}
.cp-detail-suggest .cp-item ul {
  margin-top: 20px;
}
.cp-detail-suggest .cp-item ul li {
  margin-top: 10px;
}
.cp-detail-suggest .cp-item ul li .cp-name {
  flex: 1;
}
.cp-detail-suggest .cp-item ul li .cp-name a {
  color: var(--color-primary);
}
/*  */
.cp-detail-tabs .cp-tabs-head {
  padding: 15px 0;
  background-color: #fff;
  z-index: 4;
}
.cp-detail-tabs .cp-tabs-head ul li {
  margin-right: 10px;
}
.cp-detail-tabs .cp-tabs-head ul li a {
  display: inline-block;
  padding: 0 18px;
  line-height: 40px;
  height: 40px;
  border-radius: 40px;
  font-size: 16px;
}
/* .cp-detail-tabs .cp-tabs-head ul li a:hover, */
.cp-detail-tabs .cp-tabs-head ul li.active a {
  background-color: var(--color-primary);
  color: #fff;
}
.cp-detail-tabs .cp-tabs-body .cp-tabs-item {
  display: none;
}
.cp-detail-tabs .cp-tabs-head.sticky {
  border-top: 1px solid var(--color-secondary-gray);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*  */
.cp-detail-content img {
  width: 100%;
}
/*  */
.cp-detail-package {
  margin-top: 20px;
}
.cp-detail-package .cp-head {
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 10px;
}
.cp-detail-package .cp-head h3 {
  font-size: 16px;
}
.cp-detail-package .cp-head span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  border: 1px solid var(--color-text-caption);
}
.cp-detail-package .cp-head span::before,
.cp-detail-package .cp-head span::after {
  position: absolute;
  right: 0;
  content: "";
  background-color: var(--color-text-caption);
}
.cp-detail-package .cp-head span::before {
  top: 14px;
  right: 7px;
  width: 13px;
  height: 1px;
}
.cp-detail-package .cp-head span::after {
  top: 8px;
  right: 13px;
  width: 1px;
  height: 13px;
}
.cp-detail-package .cp-body {
  display: none;
  border-radius: 0 0 10px 10px;
  border: 1px solid var(--color-secondary-gray);
  border-top: none;
}
.cp-detail-package .cp-row {
  padding: 18px;
  align-items: center;
  border-top: 1px solid var(--color-secondary-gray);
}
.cp-detail-package .cp-row:first-child {
  border-top: none;
}
.cp-detail-package .cp-row div {
  align-items: center;
}
.cp-detail-package .cp-r1 {
  width: 300px;
  padding-right: 20px;
}
.cp-detail-package .cp-r1 img {
  width: 60px;
  margin-right: 5px;
}
.cp-detail-package .cp-r2 {
  flex: 1;
}
.cp-detail-package .cp-r3 {
  width: 160px;
  padding: 0 20px;
  text-align: center;
}
.cp-detail-package .cp-r4 {
  width: 120px;
  text-align: right;
}
/* active */
.cp-detail-package.active .cp-head {
  border-radius: 10px 10px 0 0;
}
.cp-detail-package.active .cp-head span {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.cp-detail-package.active .cp-head span::before {
  background-color: #fff;
}
.cp-detail-package.active .cp-head span::after {
  height: 0;
}
/*  */
.cp-detail-download {
  margin-top: 20px;
}
.cp-detail-download .cp-row {
  padding: 18px 0;
  align-items: center;
  border-bottom: 1px solid var(--color-secondary-gray);
}
.cp-detail-download .cp-row:last-child {
  border-top: 1px solid var(--color-secondary-gray);
}
.cp-detail-download .cp-row div {
  align-items: center;
}
.cp-detail-download .cp-row div a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-text-caption);
}
.cp-detail-download .cp-row div a i {
  color: var(--color-text-caption);
}
.cp-detail-download .cp-r1 {
  flex: 1;
  text-align: left;
}
.cp-detail-download .cp-r4 {
  width: 50px;
  font-size: 16px;
}
.cp-detail-download .cp-row div a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.cp-detail-download .cp-row div a:hover i {
  color: #fff;
}

/* cp-buy-core */
.cp-buy-core-content {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cp-buy-core-content .cp-container.flex {
  justify-content: space-between;
}

.cp-buy-core-content .cp-left,
.cp-buy-core-content .cp-right {
  align-items: center;
}
.cp-buy-core-quantity {
  margin-left: 10px;
}
.cp-buy-core-quantity .cp-minus,
.cp-buy-core-quantity .cp-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid var(--color-text-caption);
  border-radius: 40px;
}
.cp-buy-core-quantity .cp-num {
  display: inline-block;
  padding: 0 10px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  background-color: #fff;
  border-radius: 4px;
  text-align: center;
}

/*  */
.cp-buy-core-info {
  margin-right: 30px;
  text-align: right;
}
.cp-buy-core-info .cp-price-total {
  color: var(--color-primary);
}
.cp-buy-core-info .cp-details {
  font-size: 12px;
}
/* media */
@media (max-width: 1480px) {
  .cp-detail .cp-left {
    width: 400px;
  }
}

@media (max-width: 985px) {
  .cp-detail .cp-left {
    width: 300px;
  }
}

@media (max-width: 985px) {
  .cp-detail {
    display: block;
  }
  .cp-detail .cp-left {
    width: 100%;
  }
  .cp-detail .cp-right {
    padding-left: 0;
  }
  .cp-detail-tabs .cp-tabs-head {
    padding: 10px 0;
  }
  .cp-detail-tabs .cp-tabs-head ul li a {
    padding: 0 14px;
    line-height: 34px;
    height: 34px;
    font-size: 14px;
  }
  /*  */
  .cp-detail-package .cp-row {
    display: block;
  }
  .cp-detail-package .cp-row .cp-r1,
  .cp-detail-package .cp-row .cp-r2,
  .cp-detail-package .cp-row .cp-r3 {
    width: 100%;
    margin-top: 15px;
    text-align: left;
    padding: 0;
  }
  .cp-detail-package .cp-row .cp-r1 {
    margin-top: 0;
  }
  .cp-detail-package .cp-row .cp-r4 {
    width: 100%;
  }
  /*  */
  .cp-detail-download .cp-row {
    display: block;
  }
  .cp-detail-download .cp-row .cp-r1,
  .cp-detail-download .cp-row .cp-r2,
  .cp-detail-download .cp-row .cp-r3,
  .cp-detail-download .cp-row .cp-r4 {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .cp-detailThumb .cp-pic {
    width: 40px;
    height: 40px;
  }
  .cp-detail-suggest {
    padding: 0 15px;
  }
  .cp-detail-tabs .cp-tabs-head ul li {
    width: 20%;
    margin-right: 0;
  }
  .cp-detail-tabs .cp-tabs-head ul li a {
    display: block;
    padding: 0 4px;
    line-height: 28px;
    height: 28px;
    font-size: 12px;
    text-align: center;
  }
  .cp-detail-download .cp-row div a {
    width: 30px;
    height: 30px;
  }
  .cp-buy-core-content {
    padding: 10px 0;
  }
  .cp-buy-core-info {
    display: none;
  }
}
