#detail #step-swiper,
#detail #shipping-form {
  width: 50%;
}

#detail .price-box {
  width: 100%;
  background-color: #f9f9fa;
  display: flex;
  font-size: 14px;
  padding: 16px 8px;
  margin-bottom: 10px;
}

#detail .price-box .price-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100px;
  line-height: 28px;
  font-size: 14px;
  padding-right: 10px;
}

#detail .price-box .step-price-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex: 1;
}

#detail .price-box .step-price-wrapper .step-price-item {
  width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

#detail .price-box .step-price-wrapper .step-price-item .price {
  color: #ff4000;
  margin-bottom: 0;
}

#detail .price-box .step-price-wrapper .step-price-item .price .price-unit {
  font-size: 12px;
  line-height: 22px;
  font-weight: 500;
}

#detail .price-box .step-price-wrapper .step-price-item .price .price-text {
  font-size: 20px;
  line-height: 28px;
  font-family: Arial, Helvetica;
  font-weight: 500;
}

#detail .price-box .step-price-wrapper .step-price-item .num {
  margin-top: 6px;
}

#detail .current-info {
  display: flex;
  align-items: center;
}

#detail .current-info > div {
  text-align: center;
  flex: 1;
  flex-wrap: wrap;
}

#detail .current-info .attr {
  max-width: 30%;
  padding-right: 4px;
  text-align: left;
  word-break: break-all;
}

#detail .goods-select {
  margin-bottom: 10px;
}

#detail .goods-select .goods-table {
  width: 100%;
}

#detail .goods-select .goods-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

#detail .goods-select .goods-table td.under-line {
  text-decoration: underline;
  cursor: pointer;
}

#detail .goods-select .goods-table td svg {
  width: 18px;
  height: 18px;
  position: relative;
  top: 2px;
  cursor: pointer;
}

#detail .goods-select .goods-table td svg:hover {
  transform: scale(1.1);
}

#detail .total {
  padding: 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  margin: 10px 0;
}

#detail .total .toogle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

#detail .total .toogle svg {
  fill: #1c1b1b;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

#detail .total .toogle svg.hide-arrow {
  transform: rotate(180deg);
}

#detail .disabled {
  opacity: .5;
  cursor: not-allowed;
}

.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 99;
  display: none;
}

.side-bar .mask {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.side-bar .mask.show {
  -webkit-animation: navshow 0.5s ease 1;
  animation: navshow 0.5s ease 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.side-bar .mask.hide {
  -webkit-animation: navhide 0.5s ease 1;
  animation: navhide 0.5s ease 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.side-bar .cart1-box {
  position: absolute;
  width: 400px;
  height: 100%;
  right: 0;
  top: 0;
  background-color: white;
  z-index: 9;
  -webkit-animation: slideRight 0.5s ease 1 forwards;
  animation: slideRight 0.5s ease 1 forwards;
}

.side-bar .cart1-box > div {
  border-top: 1px solid #ddd;
  padding: 20px;
}

.side-bar .cart1-box .cart-title {
  overflow: hidden;
}

.side-bar .cart1-box .cart-title .title {
  font-size: 17px;
  float: left;
}

.side-bar .cart1-box .cart-title .close {
  float: right;
}

.side-bar .cart1-box .cart-title .close svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.side-bar .cart1-box .cart-container {
  height: calc(100% - 212px);
  padding-top: 10px;
  overflow-y: auto;
  position: relative;
}

.side-bar .cart1-box .cart-container .cart-prompt {
  font-size: 12px;
  padding-bottom: 20px;
}

.side-bar .cart1-box .cart-container .empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.side-bar .cart1-box .cart-container .goods-box .goods-list {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-img img {
  width: 120px;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info {
  flex: 1;
  font-size: 12px;
  padding-left: 10px;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .group,
.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .price {
  color: #6a6a6a;
  margin-top: 2px;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info {
  text-align: center;
  overflow: hidden;
  margin-top: 2px;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box {
  overflow: hidden;
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #ddd;
  float: left;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .reduce,
.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .count,
.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .add {
  width: 30px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  float: left;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .reduce {
  font-size: 24px;
  cursor: pointer;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .add {
  cursor: pointer;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .count-box .disabled {
  color: #cbcbcb;
  cursor: not-allowed;
}

.side-bar .cart1-box .cart-container .goods-box .goods-list .cart-info .count-info .remove {
  border-bottom: 1px solid #262626;
  cursor: pointer;
  float: left;
  margin: 5px 0 0 30px;
}

.side-bar .cart1-box .cart-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
}

.side-bar .cart1-box .cart-footer .total {
  font-size: 14px;
}

.side-bar .cart1-box .cart-footer .total .rabate-text {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(255, 13, 0, 0.1);
  color: #ff0d00;
}

.side-bar .cart1-box .cart-footer .checkout {
  margin-top: 20px;
}

.orig-price {
  display: inline-block !important;
  text-decoration: line-through;
}

.swiper-top .swiper-slide {
  display: flex;
  align-items: center;
}

.swiper-top .swiper-slide iframe {
  width: 100%;
  pointer-events: none;
}

.product-info {
  margin-top: 100px;
  width: 100%;
}

.product-info .mostyle {
  margin-bottom: 10px;
}

.product-info .mostyle a {
  display: block;
  color: #ff0000;
  font-size: 20px;
}

.product-details-box {
  padding-top: 10px;
}

.product-details-box .product-details table {
  width: 100% !important;
}

.product-details-box .product-details table td {
  border: 1px solid #ccc;
}

.swiper-wrapper {
  align-items: center;
}

@-webkit-keyframes slideRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes navshow {
  0% {
    background-color: rgba(54, 54, 54, 0);
  }
  100% {
    background-color: rgba(54, 54, 54, 0.5);
  }
}

@keyframes navshow {
  0% {
    background-color: rgba(54, 54, 54, 0);
  }
  100% {
    background-color: rgba(54, 54, 54, 0.5);
  }
}

@-webkit-keyframes navhide {
  0% {
    background-color: rgba(54, 54, 54, 0.5);
  }
  100% {
    background-color: rgba(54, 54, 54, 0);
  }
}

@keyframes navhide {
  0% {
    background-color: rgba(54, 54, 54, 0.5);
  }
  100% {
    background-color: rgba(54, 54, 54, 0);
  }
}

@media screen and (max-width: 768px) {
  #detail .mostyle a {
    font-size: 16px;
  }
  #detail #step-swiper,
  #detail #shipping-form {
    width: 100%;
  }
  #detail .recommend.product .product-details-box {
    margin-top: 0;
    width: 100%;
    overflow-x: auto;
  }
  #detail .product-info {
    margin-top: 20px;
  }
  #detail .side-bar .cart1-box {
    width: 95%;
  }
}
