/* 响应式样式 */

/* 设备类型样式 */
.pisell-list {
  &.pisell-list-pc {
    min-width: 320px;
  }

  &.pisell-list-pad {
    min-width: 280px;

    .list-items {
      .list-item {
        font-size: 14px;
      }
    }
  }

  &.pisell-list-mobile {
    min-width: 240px;

    .list-items {
      .list-item {
        font-size: 12px;
      }
    }
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .pisell-list {
    /* 垂直模式移动端适配 */
    &.pisell-list-vertical {
      .list-scroll-float-button {
        .scroll-pause-button {
          bottom: 16px !important;
          padding: 12px !important;

          & > div {
            width: 28px !important;
            height: 28px !important;

            .pisell-iconfont {
              font-size: 16px !important;
            }
          }
        }
      }
    }

    /* 水平模式移动端适配 */
    &.pisell-list-horizontal {
      .list-scroll-float-button {
        .scroll-pause-button {
          right: 16px !important;
          padding: 12px !important;

          & > div {
            width: 28px !important;
            height: 28px !important;

            .pisell-iconfont {
              font-size: 16px !important;
            }
          }
        }
      }
    }

    .pisell-list-header {

      .pisell-list-tabs {
        gap: 6px;

        .pisell-tab-item {
          padding-left: 12px;
          padding-right: 12px;
          height: 36px;

          .pisell-tab-item-label {
            font-size: 12px;
          }
        }
      }
    }

    .list-content {

      .list-items {
        .list-item {
          .default-item {
            padding: 10px;
            min-height: 50px;
          }

          .card-item {
            .card-image {
              width: 100px;
              height: 80px;

              .image-text {
                font-size: 18px;

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

            .card-content {
              padding: 12px 16px;

              .card-header {
                .card-title {
                  font-size: 14px;
                }

                .card-subtitle {
                  font-size: 12px;
                }
              }

              .card-footer {
                .card-price {
                  .price-main {
                    font-size: 16px;
                  }
                }
              }
            }
          }
        }
      }
    }

  }
}

@media (max-width: 480px) {
  .pisell-list {
    .pisell-list-header {
      .pisell-list-tabs {
        gap: 4px;

        .pisell-tab-item {
          padding-left: 8px;
          padding-right: 8px;
          height: 32px;

          .pisell-tab-item-label {
            font-size: 11px;
          }
        }
      }
    }

    .list-content {
      .list-items {
        grid-gap: 8px !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
      }
    }
  }
}
