.goodsDetail-topInfo {
  background-color: #fff;
  margin: 10px;
  padding: 13px;
  display: flex;
  // border-bottom: 1px solid #ededed;
  box-shadow: 0 0 2px #b6b6b7;

  .lPart {
    flex: 1;

    .name {
      font-size: 18px;
      color: #000000;
      line-height: 25px;
      display: block;
      padding-right: 10px;
    }

    .price {
      font-size: 14px;
      font-weight: 600;
      line-height: 28px;
    }
  }

  .rPart {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-left: 1px solid #ededed;
    padding-left: 10px;
    width: 54px;

    .icon {
      cursor: pointer;
      width: 21px;
      height: 21px;
      display: block;
      margin: 0 auto 7px;
    }

    .txt {
      font-size: 12px;
    }
  }

  .pre-sale {
    padding: 0 4px;
    border: solid 1px #52c41a;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 12px;
    color: #52c41a;
    background: #f6ffed;
  }
}

.GoodsDetailWrap {
  //overflow: scroll;
  background-color: #f6f6f6;

  //padding-top: 12px;
  //padding-bottom: 12px;
  .topSlider {
    margin-bottom: 10px;
  }
}

.goodsDetail-promotion {
  background-color: #fff;
  margin: 10px;
  padding: 13px;
  display: grid;
  grid-template-columns: 52px 1fr;
  box-shadow: 0 0 2px #b6b6b7;

  .label {
    font-size: 14px;
  }

  .group {
    display: flex;
    flex-wrap: wrap;
    margin: -10px -10px 0 0;

    .noPromotion {
      line-height: 1;
      padding-top: 14px;
      color: #999;
    }

    .item {
      font-size: 12px;
      padding: 2px 10px;
      background-color: #f3f3f3;
      display: inline-block;
      margin: 10px 10px 0 0;
      border-radius: 20px;
    }
  }
}

.goodsDetail-coupon,
.goodsDetail-size {
  background-color: #fff;
  margin: 10px;
  padding: 13px;
  // display: grid;
  // grid-template-columns: 62px 1fr;
  font-size: 14px;
  box-shadow: 0 0 2px #b6b6b7;

  .info {
    display: flex;
    justify-content: space-between;

    .label {
      color: #999;
    }

    .icon {
      cursor: pointer;
      width: 14px;
      height: 3px;
      margin-top: 10px;
    }
  }
}

.goodsDetailHandleBar {
  width: 100%;
  // height: 54px;
  background-color: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  //top: 0;
  box-sizing: border-box;
  padding: 7px 20px;
  padding-bottom: calc(15px + env(safe-area-inset-bottom));
  //display: grid;
  //grid-template-columns: 30px 40px 1fr;
  //gap: 20px;
  display: flex;

  .txt {
    font-size: 12px;
    margin-top: 2px;
  }

  .server {
    width: 30px;
    margin-right: 20px;
  }

  .cart {
    width: 40px;
    margin-right: 20px;
    background-color: #ffffff;
  }

  .linkGroup {
    text-align: center;
  }
}

.popup-buy-button {
  padding: 20px 10px max(0px, env(safe-area-inset-bottom));
  height: 40px;
}

.goods-detail-btn-group {
  display: flex;
  flex: 1;

  .btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;

    &.addCart {
      background-color: #959595;
      color: #ffffff;
      border-top-left-radius: 20px;
      border-bottom-left-radius: 20px;
    }

    &.buy {
      background-color: #34c0bc !important;
      color: #ffffff;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
    }
  }

  .offShelf {
    border-radius: 20px;
  }
}

.goodsDetailTab {
  background-color: #ffffff;
  margin: 0 10px 12px;
  border-radius: 8px;
  overflow: hidden;

  .tabs {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-bottom: 10px;
    display: flex;

    .tabsItem {
      flex: 1;
      display: inline-block;
      font-size: 16px;
      position: relative;

      &.active {
        .line {
          display: block;
        }
      }

      .line {
        width: 40px;
        height: 2px;
        background-color: #000000;
        position: absolute;
        bottom: 0;
        left: 50%;
        margin-left: -20px;
        display: none;
      }
    }
  }
}

.goodsDetail-info {
  .mystyle {
    width: 100% !important;
    height: auto;
    display: block;
    background-size: cover !important;
  }

  width: 100%;
  background-color: #ffffff;

  .ssd-module-wrap {
    width: 100%;

    .ssd-module {
      width: 100%;
      background-size: cover;
    }
  }
}

.goodsDetailEvaluate {
  padding: 0 13px;

  .topInfo {
    font-size: 14px;
  }
}

.ver-line {
  display: flex;
  align-items: center;
}

.goodsDetail-coupon-popup {
  overflow: auto;
  padding: 14px;

  .place-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    .operate {
      background: #1677ff;
      color: #fff;
      font-size: 14px;
      width: 150px;
    }

    .reset {
      background: #fff;
      border: solid 1px #1677ff;
      color: #1677ff;
    }
  }
  .payList-radio-item {
    radio {
      margin-right: 10px;
    }
  }
  .stamp {
    width: 100%;
    display: inline-block;
    padding: 10px;
    position: relative;
    background: radial-gradient(transparent 0px, transparent 4px, #1a1922 4px, #1a1922) -10px -10px;
    background-size: 20px 20px;
    margin-bottom: 14px;

    &:after {
      content: '';
      position: absolute;
      left: 5px;
      top: 5px;
      right: 5px;
      bottom: 5px;
      //box-shadow: 0 0 20px 1px rgba(0, 0, 0, 1);
      z-index: -1;
    }

    .stamp-content {
      height: 120px;
      width: 100%;
      background: #1a1922;
      display: grid;
      grid-template-columns: 108px 1fr;
      position: relative;

      .choose {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #fff;
        border-radius: 100%;
        overflow: hidden;
      }

      .price {
        border-right: 1px dashed #fff;
        text-align: center;
        line-height: 120px;

        .symbol {
          font-size: 23px;
          color: #fff;
        }

        .num {
          font-size: 33px;
          color: #fff;
          text-align: left;
        }
      }

      .info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        .title {
          margin-bottom: 12px;
          font-size: 16px;
          color: #fff;
          line-height: 22px;
        }

        .date {
          color: rgba(255, 255, 255, 0.45);
        }
      }
    }
  }

  .NoDataImg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    .btn {
      width: 100%;
      height: 40px;
      margin: 20px;
      line-height: 40px;
      text-align: center;
      background-color: #34c0bc;
      color: #ffffff;
      border-radius: 50px;
    }

    .img {
      width: 250px;
      height: 200px;
      display: block;
    }
  }

  .confirm {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #000;
    color: #fff;
    border-radius: 30px;
  }
}

.goodsDetail-size-popup {
  background: #fff;
  display: grid;
  //grid-template-rows: calc(50vh - 110px) 88px;

  .content {
    //overflow-y: scroll;

    .goodsInfo {
      width: 100%;
      border-bottom: 1px solid #e2e2e2;
      padding: 14px 12px 20px;
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 10px;
      box-sizing: border-box;

      .lPart {
        .goodsImg {
          width: 70px;
          height: 70px;
          border: 1px solid #ccc;
        }
      }

      .rPart {
        .name {
          font-size: 13px;
          width: 98%;
          margin-bottom: 6px;
        }

        .price {
          font-size: 14px;
          margin-bottom: 4px;
        }

        .chosen {
          color: #a7a7a7;
          font-size: 14px;
        }
      }
    }

    .sizeArr {
      padding: 20px 0 10px;
      border-bottom: 1px solid #e2e2e2;

      .title {
        display: block;
        font-size: 13px;
        color: #000000;
        margin-bottom: 10px;
        padding: 5px 12px 0;
      }

      .sizeArrItemWrap {
        padding: 0 12px;

        .sizeItem {
          padding: 7px 27px;
          border: 1px solid #a7a7a7;
          margin-right: 10px;
          display: inline-block;
          border-radius: 4px;
          color: #a7a7a7;
          margin-bottom: 10px;

          &.active {
            background: #34c0bc;
            color: #fff;
          }

          &.offShelf {
            background: #999;
            color: #fff;
            border-color: #e1e1e1;
          }
        }
      }
    }

    .countWrap {
      padding: 16px 12px;
      display: flex;
      justify-content: space-between;

      .label {
        font-size: 13px;
      }
    }
  }

  .btnWrap {
    min-height: 60px;
    box-sizing: border-box;
    padding: 0 12px;
    padding-bottom: calc(0px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    align-items: center;

    .btn {
      width: 100%;
      height: 40px;
      line-height: 40px;
      background-color: #34c0bc;
      display: block;
      border-radius: 20px;
      text-align: center;
      color: #ffffff;
    }

    &.offShelf .btn {
      background: #999;
    }
  }
}
