.page-search-list {
  padding-bottom: env(safe-area-inset-bottom);

  .line-prods {
    margin-top: 20rpx;
    .text-box {
      .sku {
        margin-top: 0;
      }
    }
  }
  .search-top {
    position: sticky;
    top: 0;
    height: 100rpx;
    z-index: 99;
    max-width: 750rpx;
    margin: auto;
    background: #fff;
    padding: 20rpx 30rpx;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    &.search-frame-fixed {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
    }
    .search-box {
      flex: 1;
      margin-right: 30rpx;
      height: 60rpx;
      background: #f5f5f5;
      border-radius: 60rpx;
      display: flex;
      align-items: center;
      .icon {
        width: 24rpx;
        height: 24rpx;
        font-size: 0;
        margin-left: 20rpx;
      }
      .input {
        margin: 0 16rpx 0 10rpx;
        flex: 1;
      }
      .text {
        color: #999;
        margin-left: 5px;
      }
      .key-tag {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        max-width: 520rpx;
        height: 42rpx;
        line-height: 42rpx;
        font-size: 24rpx;
        color: #fff;
        padding: 0 14rpx;
        border-radius: 21rpx;
        background: #000;
        opacity: 0.5;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0 16rpx 0 10rpx;
        .text {
          display: inline-block;
          max-width: 490rpx;
          color: #fff;
          overflow: hidden;
          text-overflow: ellipsis;
          margin-left: 0;
        }
        .close {
          display: inline-block;
          width: 20rpx;
          font-size: 24rpx;
          color: #fff;
          text-align: center;
          margin-left: 10rpx;
        }
      }
    }
    .list-style {
      width: 32rpx;
      height: 32rpx;
      font-size: 0;
    }
    .search-cancel {
      color: #999;
    }
  }
  .sortbar {
    position: sticky;
    top: 100rpx;
    max-width: 750rpx;
    margin: auto;
    height: 60rpx;
    display: flex;
    align-items: center;
    background: #fff;
    padding-bottom: 20rpx;
    z-index: 99;
    .item {
      flex: 1;
      text-align: center;
      height: 46rpx;
      line-height: 46rpx;
      font-size: 26rpx;
      position: relative;
      &::before {
        position: absolute;
        bottom: -4rpx;
        left: 35%;
        right: 35%;
        display: block;
        width: auto;
        height: 4rpx;
        border-radius: 4rpx;
        content: " ";
        font-size: 0;
        background: #fff;
      }
      &.active {
        font-weight: 600;
        &::before {
          background: linear-gradient(to right, #fc1b35, #fff);
        }
      }
      &.arrow-up {
        &::after {
          top: 55%;
          border-top: 8rpx solid #999;
        }
        &.active {
          &::after {
            border-top: 8rpx solid #333;
          }
        }
      }
      &.arrow-down {
        &::after {
          top: 40%;
          border-bottom: 8rpx solid #999;
        }
        &.active {
          &::after {
            border-bottom: 8rpx solid #333;
          }
        }
      }
    }
  }
  .screen-column {
    position: sticky;
    top: 178rpx;
    z-index: 99;
    width: 100%;
    overflow: auto;
    .sc-tab {
      position: relative;
      font-size: 0;
      padding: 10rpx 20rpx 0;
      vertical-align: text-top;
      white-space: nowrap;
      background: #fff;
      z-index: 2;
      .item {
        position: relative;
        display: inline-block;
        max-width: 24%;
        font-size: 24rpx;
        padding-bottom: 10rpx;
        margin-right: 12rpx;
        &:nth-last-child(1) {
          margin-right: 130rpx;
        }
      }
      .filter-btn {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 130rpx;
        height: 100%;
        font-size: 28rpx;
        color: #666;
        background: #fff;
        box-shadow: 0 0 5px -3px #000;
        .screen-icon {
          width: 24rpx;
          height: 24rpx;
          padding-left: 2rpx;
        }
      }
    }
    .item {
      .item-box {
        display: block;
        position: relative;
        padding: 0 24rpx;
        height: 58rpx;
        line-height: 58rpx;
        color: #666;
        background-color: #f5f5f5;
        border-radius: 30rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        box-sizing: border-box;
        .text {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          box-sizing: border-box;
          position: relative;
          display: inline-block;
          max-width: 100%;
          padding-right: 26rpx;
          &::after {
            position: absolute;
            right: 0;
            top: 22rpx;
            display: inline-block;
            content: '';
            width: 0;
            height: 0;
            border-left: 8rpx solid transparent;
            border-right: 8rpx solid transparent;
            border-top: 10rpx solid #ccc;
          }
        }
      }
      .active-item-box {
        line-height: 54rpx;
        color: #f01f14;
        padding: 0 22rpx;
        background: #feeceb;
        border: 1px solid #a93834;
        .text {
          &::after {
            border-top: 10rpx solid #f01f14;
          }
        }
      }
    }
    .active-item {
      .item-box {
        border-radius: 30rpx 30rpx 0 0;
        .text {
          &::after {
            border-top: none;
            border-bottom: 10rpx solid #ccc;
          }
        }
      }
      &::after {
        content: '';
        display: inline-block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 10rpx;
        background: #f5f5f5;
      }
    }
    .sc-options {
      position: relative;
      padding-bottom: 100rpx;
      background: #f5f5f5;
      border-radius: 0 0 30rpx 30rpx;
      .opt-content {
        max-height: 480rpx;
        overflow-y: scroll;
      }
      .o-item {
        position: relative;
        display: flex;
        align-items: center;
        float: left;
        width: 50%;
        height: 80rpx;
        line-height: 80rpx;
        font-size: 28rpx;
        color: #333;
        padding: 0 20rpx 0 30rpx;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        .selected-item {
          width: 32rpx;
          height: 32rpx;
          padding-right: 8rpx;
        }
      }
      .opt-btns {
        position: absolute;
        left: 0;
        bottom: 0;
        display: flex;
        width: 100%;
        height: 120rpx;
        background: #f5f5f5;
        border-radius: 0 0 30rpx 30rpx;
        .btn-box {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 50%;
          height: 100%;
        }
        .btn {
          width: 330rpx;
          height: 72rpx;
          line-height: 72rpx;
          font-size: 28rpx;
          border-radius: 30rpx;
          text-align: center;
          box-sizing: border-box;
        }
        .reset-btn {
          background: #fff;
          border: 2rpx solid #808080;
        }
        .confirm-btn {
          color: #fff;
          background: #fc1b35;
        }
      }
    }
    .sc-btns {
      position: absolute;
      left: 0;
      bottom: 0;
      .btn {
        position: relative;
        display: inline-block;
        width: 50%;
        height: 90rpx;
        line-height: 90rpx;
        font-size: 32rpx;
        padding: 0 30rpx;
        text-align: center;
        box-sizing: border-box;
      }
      .reset-btn {
        color: #fc1b35;
        background: #fff;
      }
      .confirm-btn {
        color: #fff;
        background: #fc1b35;
      }
    }
  }
  .filter-mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.3);
    z-index: 2;
  }
  .all-screen-frame {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    right: 0;
    width: 88%;
    height: 100%;
    background: #fff;
    border-radius: 30rpx 0 0 30rpx;
    box-sizing: border-box;
    z-index: 100;
    &.show {
      left: 12%;
    }
    .condition-info {
      overflow-y: scroll;
      height: 100%;
      padding-bottom: 120rpx;
    }
    .part {
      padding-left: 30rpx;
      padding-right: 30rpx;
      border-top: 20rpx solid #f6f6f6;
      margin-bottom: 20rpx;
      &:nth-child(1) {
        border-top: none;
      }
      .title {
        font-size: 30rpx;
        font-weight: bold;
        height: 40rpx;
        padding: 20rpx 0;
      }
      .content {
        display: flex;
        flex-wrap: wrap;
        .c-item {
          display: block;
          width: 30%;
          height: 60rpx;
          line-height: 60rpx;
          color: #666;
          padding: 0 20rpx;
          background-color: #f5f5f5;
          border-radius: 30rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          text-align: center;
          box-sizing: border-box;
          margin-right: 30rpx;
          &:nth-child(n + 4) {
            margin-top: 20rpx;
          }
          &:nth-child(3n) {
            margin-right: 0;
          }
        }
        .active-c-item {
          line-height: 56rpx;
          color: #f01f14;
          padding: 0 18rpx;
          background: #feeceb;
          border: 1px solid #a93834;
        }
      }
    }
    .third-part {
      padding-bottom: 120rpx;
    }
    .first-part {
      .price-range {
        .price-box {
          display: flex;
          align-items: center;
          .price-frame {
            width: 100%;
            height: 60rpx;
            line-height: 60rpx;
            padding: 0 30rpx;
            background: #f6f6f6;
            border-radius: 30rpx;
            box-sizing: border-box;
            input {
              width: 100%;
              height: 100%;
            }
          }
          .line {
            font-size: 16rpx;
            padding: 0 20rpx;
          }
        }
      }
    }
    .asf-btns {
      position: absolute;
      bottom: 0;
      left: 0;
      display: flex;
      width: 100%;
      height: 120rpx;
      background: #fff;
      border-radius: 0 0 0 30rpx;
      .btn-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;
        height: 100%;
        .btn {
          width: 280rpx;
          height: 72rpx;
          line-height: 72rpx;
          font-size: 28rpx;
          border-radius: 30rpx;
          text-align: center;
          box-sizing: border-box;
        }
        .reset-btn {
          background: #fff;
          border: 1px solid #808080;
        }
        .confirm-btn {
          color: #fff;
          background: #fc1b35;
        }
      }
    }
  }
  .prods {
    padding: 0 30rpx 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    .col {
      .item {
        margin-left: 0;
      }
    }
  }
  .head-shop-info {
    padding: 10rpx 0;
    background: #f2f3f7;
    .shop-info-box {
      background: #fff;
      border-radius: 10rpx;
      padding: 20rpx;
      .con {
        display: flex;
        align-items: center;
        .logo {
          width: 70rpx;
          height: 70rpx;
          font-size: 0;
          border-radius: 50%;
          overflow: hidden;
          background: #fff;
        }
        .text {
          flex: 1;
          margin-left: 20rpx;
          .name {
            font-weight: 600;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          .focus-box {
            display: flex;
            align-items: center;
            margin-top: 4rpx;
            font-size: 20rpx;
            .self {
              padding: 4rpx 6rpx;
              line-height: 20rpx;
              color: #fff;
              background: #fc1b35;
              border-radius: 4rpx;
              margin-right: 10rpx;
              font-size: 18rpx;
            }
            .focus {
              color: #999;
            }
          }
        }
        .btn {
          font-size: 20rpx;
          padding: 6rpx 20rpx;
          border-radius: 40rpx;
          color: #fc1b35;
          border: 2rpx solid #fc1b35;
        }
      }
    }
  }
  .discount-msg {
    padding: 30rpx;
    &.pd {
      padding-bottom: 0;
    }
  }
  .shop-list {
    padding: 0 30rpx;
    margin-top: 130rpx;
    .item {
      background: #fff;
      border-radius: 10rpx;
      margin-top: 30rpx;
      padding: 20rpx;
      .shop-info {
        display: flex;
        align-items: center;
        padding-bottom: 20rpx;
        .logo {
          width: 70rpx;
          height: 70rpx;
          font-size: 0;
          border-radius: 50%;
          overflow: hidden;
        }
        .text {
          flex: 1;
          margin-left: 20rpx;
          .name {
            font-weight: 600;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          .focus-box {
            display: flex;
            align-items: center;
            margin-top: 4rpx;
            font-size: 20rpx;
            .self {
              padding: 2rpx 6rpx;
              line-height: 20rpx;
              color: #fff;
              background: #fc1b35;
              border-radius: 4rpx;
              margin-right: 10rpx;
              font-size: 18rpx;
            }
            .focus {
              color: #999;
            }
          }
        }
        .btn {
          font-size: 20rpx;
          padding: 6rpx 20rpx;
          border-radius: 40rpx;
          color: #fc1b35;
          border: 2rpx solid #fc1b35;
        }
      }
      .no-prod {
        padding-bottom: 0;
      }
      .shop-prods {
        display: flex;
        .p-item {
          display: block;
          padding-right: 10rpx;
          .img {
            width: 210rpx;
            height: 210rpx;
            font-size: 0;
            margin: auto;
            border-radius: 10rpx;
            overflow: hidden;
          }
          .name {
            display: block;
            max-width: 200rpx;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 10rpx;
          }
          .price {
            margin-top: 10rpx;
            height: 32rpx;
            justify-content: center;
            color: #333;
            .big {
              font-size: 24rpx;
            }
          }
        }
      }
    }
  }
}
.discount-box {
  -webkit-box-orient: initial !important;
}
/* 排序栏 */
.page-search-list .sortbar .item.arrow-up::before,
.page-search-list .sortbar .item.arrow-down::before {
  left: 38%;
  right: 26%;
}
.page-search-list .sortbar .item.arrow-up::after,
.page-search-list .sortbar .item.arrow-down::after {
  position: absolute;
  left: 50%;
  margin-left: 32rpx;
  transform: translateY(-50%);
  display: block;
  width: 0;
  height: 0;
  content: " ";
  font-size: 0;
  border: 8rpx solid transparent;
  border-radius: 4rpx;
}
/* 筛选栏 */
.sold-num {
  margin-left: 5px;
  color: #999;
  font-weight: normal;
}