.top ul {
  line-height: 45px;
  display: flex;
}
.top ul li:first-child {
  margin: 0;
}
.top ul li {
  margin: 0 15px;
  color: #666;
}
.top ul li:last-child {
  color: var(--theme-color);
}
.detail-top {
  height: 569px;
  position: relative;
}
.detail-top .img-box {
  width: 100%;
  height: 100%;
  position: relative;
}
.detail-top .img-box .bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.detail-top .img-box .add-css {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.35);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.detail-top .top-main {
  background-color: #fff;
  height: 85%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 5px;
}
.detail-top .top-main .main-l {
  width: 30%;
}
.detail-top .top-main .main-l img {
  width: 100%;
  height: 414px;
  border-radius: 10px;
}
.detail-top .top-main .main-c {
  width: 35%;
}
.detail-top .top-main .main-c ul {
  display: flex;
  margin: 28px 0 33px;
}
.detail-top .top-main .main-c ul li {
  margin-right: 10px;
}
.detail-top .top-main .main-c ul li img {
  width: 80px;
  height: 80px;
  border-radius: 5px;
}
.detail-top .top-main .main-c .price {
  display: flex;
  align-items: baseline;
  color: #999;
}
.detail-top .top-main .main-c .price p.new {
  font-weight: 600;
  font-size: 30px;
  color: var(--theme-color);
}
.detail-top .top-main .main-c .price .old {
  text-decoration: line-through;
  margin-left: 10px;
}
.detail-top .top-main .main-c .server {
  display: flex;
  align-items: center;
  color: #6e6d6d;
  padding: 15px 0;
  border-top: 1px solid #e8e8e8;
}
.detail-top .top-main .main-c .server p {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.detail-top .top-main .main-c .server p img {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}
.detail-top .top-main .main-c .block-a {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.detail-top .top-main .main-c .block-a a {
  line-height: 35px;
  display: block;
  width: 140px;
  text-align: center;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 10px;
}
.detail-top .top-main .main-c .block-a a:first-child {
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  margin-right: 10px;
}
.detail-top .top-main .main-c .block-a a:last-child {
  background-color: var(--theme-color);
  color: #fff;
}
.detail-top .top-main .main-r {
  width: 23%;
  background-color: #f8f8f8;
  padding: 20px;
  box-sizing: border-box;
}
.detail-top .top-main .main-r ul {
  width: 100%;
}
.detail-top .top-main .main-r ul li {
  margin-bottom: 15px;
}
.detail-top .top-main .main-r ul li a {
  display: flex;
  justify-content: space-around;
}
.detail-top .top-main .main-r ul li a img {
  width: 45%;
  height: 112px;
}
.detail-top .top-main .main-r ul li a .dsc {
  width: 52%;
}
.detail-top .top-main .main-r ul li a .dsc p.name {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #787878;
  height: 38px;
}
.detail-top .top-main .main-r ul li a .dsc div {
  display: flex;
  margin: 15px 0;
}
.detail-top .top-main .main-r ul li a .dsc div p {
  border: 1px solid var(--theme-color);
  border-radius: 5px;
  padding: 0 5px;
  line-height: 18px;
  text-align: center;
  color: var(--theme-color);
  margin-right: 10px;
  white-space: nowrap;
  font-size: 7px 0 12px;
  overflow: hidden;
}
.detail-top .top-main .main-r ul li a .dsc .price {
  font-size: 20px;
  color: var(--theme-color);
}
.detail-dsc {
  background-color: #f8f8f8;
  padding-top: 25px;
}
.detail-dsc .detail-box {
  display: flex;
  justify-content: space-between;
}
.detail-dsc .detail-box .detail-l {
  width: 75%;
}
.detail-dsc .detail-box .detail-l .title {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 16px;
}
.detail-dsc .detail-box .detail-l .title img {
  width: 24px;
  height: 23px;
  margin-right: 8px;
}
.detail-dsc .detail-box .detail-l .detail-txt {
  padding: 30px 20px;
  box-sizing: border-box;
  background-color: #fff;
  margin-top: 15px;
}
.detail-dsc .detail-box .detail-l .detail-txt ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  width: 100%;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
}
.detail-dsc .detail-box .detail-l .detail-txt ul li:nth-child(4n) {
  margin-right: 0;
}
.detail-dsc .detail-box .detail-l .detail-txt ul li {
  width: 24%;
  margin-bottom: 15px;
  white-space: nowrap;
  text-align: left;
  margin-right: 12px;
  font-size: 12px;
}
.detail-dsc .detail-box .detail-l .detail-imgs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  padding: 0px 20px;
}
.detail-dsc .detail-box .detail-l .detail-imgs img {
  width: auto;
  max-width: 98%;
  margin-bottom: 10px;
}
.detail-dsc .detail-box .detail-r {
  width: 20%;
}
.detail-dsc .detail-box .detail-r .title {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 16px;
  font-weight: 600;
}
.detail-dsc .detail-box .detail-r .title img {
  width: 24px;
  height: 23px;
  margin-right: 8px;
}
.detail-dsc .detail-box .detail-r .content ul li {
  width: 100%;
  margin-top: 15px;
  overflow: hidden;
}
.detail-dsc .detail-box .detail-r .content ul li img:hover {
  transform: scale(1.1);
}
.detail-dsc .detail-box .detail-r .content ul li img {
  width: 100%;
  height: 242px;
  transition: all 0.5s linear;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc p.price {
  color: var(--theme-color);
  font-size: 18px;
  margin-top: 8px;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc p.txt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 38px;
  color: #333;
  margin: 8px 0;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc p.num span {
  color: var(--theme-color);
}
.detail-dsc .detail-box .detail-r .content ul li .dsc p.shop {
  color: #999;
  margin: 5px 0;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc div {
  display: flex;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc div p {
  line-height: 18px;
  padding: 0 5px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  border-radius: 8px;
  white-space: nowrap;
  max-width: 120px;
  box-sizing: border-box;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc div p:first-child {
  background-color: var(--theme-color);
  color: #fff;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc div p:nth-child(2) {
  border: 1px solid #4d88ff;
  color: #4d88ff;
  margin: 0 5px;
}
.detail-dsc .detail-box .detail-r .content ul li .dsc div p:nth-child(3) {
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
}
