.layer {
  width: 100%;
}
.detail-wrap {
  min-height: 100vh;
  background: #f6f6f6;
}
.swiper-wrap {
  width: 100%;
  height: 375px;
  display: flex;
  justify-content: space-between;
  .swiper {
    height: 100%;
  }
  .small-swiper {
    width: 85px;
    height: 375px;
    .swiper-slide {
      height: 85px;
      border: 1px solid #e8e8e8;
      padding: 5px;
      display: flex;
      align-items: center;
      img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
      }
    }
    .clickActive {
      padding: 4px;
      border: 2px solid $mainColor;
    }
  }
  .big-swiper {
    width: 100%;
    height: 375px;
    .swiper-slide {
      height: 100% !important;
      display: flex;
      align-items: center;
      img {
        flex-shrink: 1;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        width: 100%;
        max-height: 100%;
      }
    }
  }
}



.info-wrap {
  flex: 1;
  position: relative;
  z-index: 2;
  .detail-info {
    background: #fff;
    padding: 0 12px;
    margin: 0 12px;
    border-radius: 8px 8px 8px 8px;
    padding: 0px 12px 12px 12px;
    margin-bottom: 12px;
    &.detail-info-1 {
      margin: 0 0px 12px;
      border-radius: 0;
    }
    &.detail-info-3 {
      padding-top: 12px;
      margin-bottom: 72px;
      h4 {
        font-size: 14px;
        color: #333;
        margin-bottom: 10px;
      }
    }
    &.detail-info-2 {
      padding-top: 10px;
      padding-bottom: 16px;
    }
    .info-arr {
      min-height: 44px;
      display: flex;
      flex-wrap: wrap;
      .pdf {
          width: 16px;
          height: 20px;
          display: block;
          background: url("@/assets/img/pdf.svg") no-repeat left center;
          background-size: 14px auto;
        }
    }
    .info-stock {
      .arr-list {
        display: flex;
        align-items: center;
        padding-top: 0;
      }
    }
  }
  .detail-info-1 {
    margin-top: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    .info-left {
      flex: 1;
      p {
        color: #7a8599;
        line-height: 30px;
        span {
          color: #334463;
          margin-left: 10px;
        }
      }
    }
    .info-img {
      width: 100px;
      min-width: 100px;
      margin-left: 12px;
      img {
        border: 1px solid $mainColor;
        border-radius: 8px;
      }
    }
  }
  .info-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    color: #333;
    word-wrap: break-word;
    margin-bottom: 10px;

    .want-tag,
    .freeShipping-tag,
    .brand-tag {
      height: 18px;
      border-radius: 3px;
      margin-right: 4px;
      display: inline-block;
      padding: 0 4px;
      font-size: 12px;
      position: relative;
      vertical-align: middle;
      line-height: 18px;
      font-weight: 400;
      top: -2px;
    }
    .freeShipping-tag {
      color: #fff;
      background: linear-gradient(90deg, #ff2600 0%, #ff6100 100%);
    }
    .brand-tag {
      color: #ffd7af;
      letter-spacing: 1px;
      background: linear-gradient(287deg, #221000 2.4%, #854916 100%);
    }
    .want-tag {
      color: #fff;
      background: #ad00ff;
      &.seller {
        background: #ff8a00;
      }
    }
  }
  .info-spu {
    letter-spacing: 1px;
    color: rgba(255, 0, 79, 0.8);
    font-weight: 100;
    font-family: none;
    font-size: 14px;
    line-height: 20px;
  }
  .info-price {
    font-size: 24px;
    line-height: 34px;
    font-weight: bold;
    display: flex;
    align-items: center;
    &.noLogin {
      font-size: 18px;
      flex-direction: column;
      align-items: flex-start;
    }
    .priceOn {
      font-size: 14px;
      border-radius: 4px;
      height: 24px;
      display: flex;
      align-items: center;
      padding: 0 6px;
      font-weight: 400;
      position: relative;
      i {
        position: relative;
        top: 3px;
        font-style: unset;
      }
      &.zj-wrap {
        padding-left: 22px;
        background: #0a8800;
        color: #fff;
        &::before {
          content: "";
          background: url(~/assets/img/ico/ss-icon.png) no-repeat center center;
          background-size: 15px auto;
          width: 15px;
          height: 15px;
          display: block;
          position: absolute;
          left: 5px;
        }
      }
      &.jj-wrap {
        padding-left: 22px;
        background: $mainColor;
        color: #fff;
        &::before {
          content: "";
          background: url(~/assets/img/ico/ss-icon.png) no-repeat center center;
          background-size: 15px auto;
          width: 15px;
          height: 15px;
          display: block;
          position: absolute;
          left: 5px;
          transform: scaleX(-1) rotate(180deg);
        }
      }
    }
  }
  .info-label {
    font-size: 14px;
    line-height: 44px;
    min-width: 40px;
    margin-right: 15px;
  }
  .arr-list {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    max-width: calc(100% - 60px);
    border-bottom: 1px solid #f1f1f1;
    padding-top: 10px;
    & > span {
      line-height: 30px;
      display: flex;
      padding: 0 6px;
      border: 1px solid #f4f4f4;
      font-size: 14px;
      background: #fff;
      border-radius: 4px;
      align-items: center;
      margin-right: 10px;
      margin-bottom: 10px;
      cursor: pointer;
      transition: all 0.2s linear;
      position: relative;
      color: #444444;
      display: unset;
      word-break: break-all;
      &:hover {
        color: #000;
      }
      &.active {
        color: $mainColor !important;
        border-color: $mainColor;
      }
      &.disabled {
        background: #eeeeee;
        color: #bcbcbc;
        cursor: not-allowed;
        border-color: #eeeeee !important;
      }
    }
    span.out-stock-wrap {
      .out-stock {
        color: #cecece;
      }
    }
    .restock,
    .out-stock {
      font-size: 12px;
      font-style: normal;
      word-break: keep-all;
    }
    .text {
      height: 34px;
      line-height: 34px;
      display: flex;
      align-items: center;
      .ys-wrap {
        height: 28px;
        display: flex;
        align-items: center;
        padding-right: 10px;
        padding: 2px 2px 2px 2px;
        font-size: 14px;
        margin-left: 3px;
        .ys-con {
          color: $mainColor;
          background: #fff;
          height: 24px;
          display: flex;
          align-items: center;
          margin-left: 4px;
        }
      }
      .fh {
        position: relative;
        top: 3px;
        color: #ff004f;
        height: 24px;
        line-height: 24px;
        margin: 0 1px;
      }
    }
  }
  .info-Quantity {
    .arr-list {
      padding-top: 0;
    }
  }
  :deep(.el-input-number) {
    width: 90px;
    .el-input__wrapper {
      border-radius: 20px;
      box-shadow: unset;
      padding: 0 20px;
    }
    .el-input-number__increase,
    .el-input-number__decrease {
      border-left: none;
      border-right: none;
      background: unset;
      height: 20px;
      width: 20px;
      border: 1px solid #e8e8e8;
      top: 6px;
      &:hover {
        color: #606266;
      }
    }
    .el-input .el-input__wrapper.is-focus {
      // box-shadow: 0 0 0 1px #c0c4cc inset !important;
      box-shadow: unset !important;
    }
    .el-input-number__increase:hover ~ .el-input:not(.is-disabled) .el-input__wrapper,
    .el-input-number__decrease:hover ~ .el-input:not(.is-disabled) .el-input__wrapper {
      box-shadow: unset !important;
    }
  }
  .mt25 {
    .info-break {
      border-radius: 10px;
    }
  }
  .info-break {
    padding: 16px 0px 0;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    h4 {
      font-weight: bold;
      font-size: 14px;
      margin-bottom: 5px;
      color: rgba(51, 51, 51, 1);
    }
    p {
      line-height: 28px;
      color: rgba(102, 102, 102, 1);
      font-size: 14px;
      .doubt {
        width: 20px;
        height: 20px;
        background: url("~/assets/img/doubt-h.svg") no-repeat center center;
        background-size: 15px auto;
        margin-left: 2px;
        display: inline-block;
        display: inline-block;
        position: relative;
        top: 5px;
      }
    }
  }
}
:deep(.el-tabs__item) {
  padding: 0 0px !important;
  width: 150px;
  height: 55px;
  font-size: 16px;
  &.is-active {
    color: unset;
    background: #f2f2f2;
  }
  &:hover {
    color: unset;
  }
}
:deep(.el-tabs__content) {
  padding: 10px 30px;
  word-wrap: break-word;
}
.buy-btn-wrap {
  display: flex;
  position: fixed;
  bottom: 0;
  background: #fff;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  left: 0;
  padding: 0 30px;
  z-index: 1;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
  .btn_yy {
    border-radius: 25px !important;
    width: 100%;
    border: 1px solid #292929 !important;
    color: #292929;
    background: #fff !important;
    &.subscribeStatus {
      background-color: $mainColor !important;
      border-color: $mainColor !important;
      color: #fff !important;
      &:hover {
        background-color: #d70848 !important;
      }
    }
  }
  .btn_main {
    border-radius: 25px !important;
    flex: 1;
    margin-left: 30px;
    height: 42px !important;
    &.is-disabled {
      background: #e9e9e9;
      color: #fff;
    }
  }
  .btn_second {
    border-radius: 25px !important;
    width: 150px;
    &.is-disabled {
      background: #e9e9e9;
      color: #fff;
    }
  }
  .btn_kd {
    width: 150px;
    background: #fff !important;
    color: $mainColor !important;
    border-color: $mainColor !important;
    &:hover {
      background: #fcfcfc !important;
    }
    &.is-disabled {
      background: #e9e9e9 !important;
      color: #fff !important;
      border-color: #e4e7ed !important;
    }
  }
  .btn_monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 12px;
    &.current {
      color: $mainColor;
    }
    i {
      width: 22px;
      height: 22px;
      background: url(@/assets/img/icon/sc_no.svg) no-repeat center center;
      background-size: 22px 22px;
      display: block;
      margin-bottom: 3px;
      &.current { 
        background: url(@/assets/img/icon/sc_yes.svg) no-repeat center center;
        background-size: 22px 22px;
      }
    }
  }
}
.warehouse-wrap {
  .el-select {
    width: 100% !important;
    :deep(.el-select__wrapper) {
      min-height: 40px;
      border-radius: 0 !important;
      box-shadow: unset;
      padding-left: 20px;
      &.is-focused {
        box-shadow: unset !important;
      }
    }
    &:first-child {
      :deep(.el-select__wrapper) {
        border-top-left-radius: 20px !important;
        margin-left: -1px;
        margin-right: -1px;
      }
      width: 150px;
    }
    &:last-child {
      :deep(.el-select__wrapper) {
        border-top-right-radius: 20px !important;
      }
    }
    &:nth-child(2) {
      min-width: 150px;
      // width: 150px;
      :deep(.el-select__wrapper) {
        margin-left: -1px;
        margin-right: -1px;
      }
    }
  }
  .warehouse-text {
    border-top-left-radius: 20px !important;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px #e8e8e8 inset;
  }
}

.noWarehouse {
  color: $mainColor;
}

.info-warehouse {
  display: flex;
  position: relative;
  .warehouse-label {
    position: absolute;
    top: -30px;
  }
  .radio-wrap {
    display: flex;
    flex-direction: row;
    min-width: 250px;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    .info-stock {
      text-align: right;
    }
    :deep(.el-radio) {
      margin-right: 20px;
    }
    :deep(.el-select) {
      flex: 1;
      .el-select__wrapper {
        border-radius: 25px !important;
        box-shadow: unset !important;
        padding-left: 5px;
      }
      .el-select__placeholder {
        width: auto;
        padding-right: 0;
        position: relative;
        top: 0;
        transform: unset;
        color: #000000;
      }
      .el-select__input-wrapper {
        display: none;
      }
    }
  }

  .el-select {
    :deep(.el-select__wrapper) {
      &.is-focused {
        box-shadow: unset !important;
      }
    }
  }
}
.weightKg {
  color: rgba(102, 102, 102, 1);
  font-size: 12px;
}

.detail-other {
  padding-bottom: 72px;
  .other-con {
    background: #fff;
    padding: 12px 12px;
    word-wrap: break-word;
    :deep(img) {
      position: relative;
      left: -12px;
      max-width: calc(100% + 24px);
    }
    :deep(#tw-target-text) {
      word-wrap: break-word;
      white-space: pre-wrap;
    }
  }
  .other-title {
    width: 56px;
    line-height: 23px;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    margin: 20px auto;
    position: relative;
    &::before {
      content: "";
      position: absolute;
      width: 40px;
      height: 1px;
      background: #dadada;
      top: 11px;
      left: -50px;
    }
    &::after {
      content: "";
      position: absolute;
      width: 40px;
      height: 1px;
      background: #dadada;
      top: 11px;
      right: -50px;
    }
  }
  & + .detail-other {
    margin-top: -70px;
  }
}

.custom-pagination {
  position: absolute;
  right: 12px;
  z-index: 9;
  bottom: 30px;
  height: 20px;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 36px 36px 36px 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
}
.return-btn {
  position: absolute;
  top: 50px;
  z-index: 8;
  width: 24px;
  left: 12px;
}
.xj-img {
  width: 250px;
  margin: 0 auto;
}
.title-zh {
  display: inline-block;
  background: #ffd9e5;
  font-size: 12px;
  font-weight: 400;
  height: 18px;
  padding: 0 8px;
  border-radius: 3px;
  color: $mainColor;
  margin-left: 8px;
  width: -moz-max-content;
  width: max-content;
  line-height: 18px;
  position: relative;
  top: -2px;
  cursor: pointer;
  vertical-align: middle;
  img {
    margin-right: 4px;
    display: inline;
    vertical-align: middle;
  }
}

.title-item {
  display: flex;
  align-items: flex-start;
  line-height: 24px;
  margin-bottom: 10px;
  & + .title-item {
    margin-bottom: 0;
  }
  span {
    font-weight: bold;
    color: #303133;
    min-width: 70px;
  }
}

.detail-btn {
  padding: 0 8px;
  height: 28px;
  background: #ffffff;
  border-radius: 4px 4px 4px 4px;
  border: 1px solid $mainColor;
  font-size: 14px;
  color: $mainColor;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  position: relative;
  // &::before{
  //   content: "";
  //   position: absolute;
  //   width: 87px;
  //   background: $mainColor;
  //   bottom: 3px;
  //   height: 1px;
  // }
}

.rebate-wrap {
  background: linear-gradient(105deg, #ff004f 2.79%, #ff4d00 94.35%);
  stroke-width: 1px;
  stroke: #fff;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  img {
    width: 204px;
  }
}

.priceTemplate {
  flex: 1;
}
.priceTemplate table {
  width: 100%;
  border-bottom: none;
  font-size: 12px;
}

.priceTemplate td,
.priceTemplate th {
  padding: 0 10px;
  height: 30px;
  border: none;
  & + td {
    border-left: 1px solid #e8e8e8;
  }
  & + th {
    border-left: 1px solid #e8e8e8;
  }
}
.priceTemplate tr {
  & + tr {
    td,
    th {
      border-top: 1px solid #e8e8e8;
    }
  }
}

.priceTemplate th {
  text-align: left;
  width: 60%;
  border: none;
}

.priceTemplate th:first-child {
  text-align: right;
  width: 40%;
}

.priceTemplate td {
  text-align: left;
}

.priceTemplate td:first-child {
  text-align: right;
}


