.swipeItemImg,
.swipe {
  width: 100%;
  height: 375px;
  vertical-align: middle;
}

.custom-indicator {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 4px 8px;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.goodsHead {
  padding: 8px 0;

  :global {
    .van-cell {
      padding-top: 5px;
      padding-bottom: 5px;
    }
  }
}

.priceGroup {
  display: flex;
  align-items: center;

  .price {
    color: #ff4e19;
    font-size: 24px;
    font-weight: bold;

    i {
      font-size: 16px;
      font-style: normal;
    }
  }

  .delPrice {
    font-size: 14px;
    color: #999999;
    margin-left: 12px;
    line-height: 20px;
  }

  .stock {
    font-size: 14px;
    color: #999999;
  }
}

.goodsName {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  line-height: 22px;
}

.row {
  background-color: #fff;
  padding: var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);

  .col {
    font-size: 16px;
    color: #333333;
  }
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  // margin-top: 14px;
}

.radio {
  margin-right: 8px;
  margin-bottom: 8px;
  min-width: 60px;

  :global {
    .van-radio__label--disabled {
      opacity: 0.5;
    }

    .van-radio__icon {
      display: none;
    }

    .van-tag--large {
      height: 27px;
      font-size: 13px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .van-tag {
      box-sizing: border-box;
    }

    .van-tag--default {
      color: #999999;
    }

    .van-tag--primary {
      background-color: #f7f8f9;
    }

    .van-radio__label {
      margin-left: 0;
    }
  }
}

.badge {
  :global(.van-badge) {
    border-radius: 6px 0px 6px 0px;
    font-size: 12px;
  }
}

.section {
  background: #fff;
  padding: 12px 0 0;
}

.detail {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
  margin-bottom: 12px;

  span {
    padding: 0 10px;
  }

  &::before,
  &::after {
    display: inline-block;
    content: ' ';
    width: 40px;
    height: 3px;
  }

  &::before {
    background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, #d8d8d8 100%);
  }

  &::after {
    background: linear-gradient(270deg,
        rgba(238, 238, 238, 0) 0%,
        #d8d8d8 100%);
  }
}

.photoDetail {
  img {
    width: 100%;
    vertical-align: middle;
  }
}

.goodsDetail {
  margin-bottom: var(--van-action-bar-height);
}

.actionBar {
  padding-left: 5px;
  padding-right: 5px;
  justify-content: space-between;
  box-shadow: 0px -10px 10px var(--box-shadow-color);
  box-sizing: border-box;

  :global {
    .van-submit-bar__bar {
      justify-content: space-between;
      padding: 0;
    }

    .van-action-bar-icon {
      align-items: center;
    }

    .van-action-bar-icon__icon {
      margin-bottom: 0;
      line-height: 0;
    }

    .van-badge {
      background: #ff4e19;
    }
  }
}

.addCertBtn {
  background: #fff;
  color: var(--van-primary);
}

.buyGroup {
  flex-basis: 60%;
  display: flex;
  justify-content: center;
  border: var(--van-button-border-width) solid var(--van-button-primary-border-color) !important;
  border-radius: 20px;
  // background-color: var(--van-primary);
  overflow: hidden;
  box-sizing: border-box;
}

.selectWrap {
  padding-top: 1.5px;
  font-size: 14px;
  color: #666;
  padding-bottom: 12px;
}

.shareBtn {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666666;
}

.shareWrap {
  display: flex;
  border-radius: 10px;
  border: 1px solid var(--van-primary);
  overflow: hidden;
  padding: 14px;
  align-items: center;
  background-color: #fff;
  margin-top: 16px;

  .sharePic {
    width: 100px;
    height: 100px;
    border-radius: 8px;
  }

  .shareLeft {
    margin-right: 10px;
  }

  .shareRight {
    flex: 1;
    overflow: hidden;
  }

  .shareShopTitle {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .shareShopDes {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    margin: 10px 0 20px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shareShopValue {
    font-size: 16px;
    color: #ff4e19;
  }

  .shareShopOldPrice {
    color: #E5E5E5;
    margin-left: 5px;
  }

  :global {
    .van-card {
      background: transparent;
    }
  }
}

.imagesOverlayWrap {
  :global {
    .van-badge__wrapper {
      top: 40px;
    }

    .van-image-preview__index {
      top: 40px;
    }
  }
}

.cartDisabled {
  opacity: 0.5;
}