.section-software-download {
  .page-layout-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .SD__left {
    font-size: 14px;
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(153, 153, 153, 0.24);
    &[data-toogle-status-mb='close'] {
      border-radius: 8px;
      .SD__filter-more {
        display: block;
      }
      .SD__filter-less {
        display: none;
      }
      .SD__left-toggle-wrapper {
        display: none;
      }
    }
    &[data-toogle-status-mb='open'] {
      border-radius: 8px 8px 0 0;
      .SD__filter-more {
        display: none;
      }
      .SD__filter-less {
        display: block;
      }
      .SD__left-toggle-wrapper {
        display: block;
      }
    }
    .SD__filter-header {
      /* display: flex; */

      .SD__filter-text {
        font-size: 18px;
        font-weight: 600;
      }

      .SD__filter-btn {
        width: 12px;

        .SD__filter-btn-icon {
          /* width: 20px;
          height: 20px; */
        }
      }

      .SD__filter-btn-icon {
        &.active {
          display: none;
        }
        &.less {
          display: none;
        }
      }
    }

    .SD__left-toggle-wrapper {
      padding-top: 10px;
      padding-left: var(--spacing-4);
      padding-right: var(--spacing-4);
      &[data-toogle-status-submenu='close'] {
        .SD__toggle-more {
          display: block;
        }
        .SD__toggle-less {
          display: none;
        }
        .SD__left-toggle--content {
          display: none;
        } 
      }
      &[data-toogle-status-submenu='open'] {
        .SD__left-toggle--content {
          display: block;
        }
        .SD__toggle-more {
          display: none;
        }
        .SD__toggle-less {
          display: block;
        }
      }

      .SD__left-toggle--title {
        padding-left: 10px;
        padding-top: 16px;
        padding-bottom: 16px;
      }
      .SD__left-toggle--content {
        .SD__left-select-item {
          height: 30px;
          padding-left: 10px;
          padding-right: 10px;
          margin-bottom: 2px;
          &:hover {
            background-color: #f6f6f6;
          }
        }
      }
    }
  }

  .SD__right {
    flex: 1;
    .SD__right-content {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;

      .SD__software--empty {
        grid-column: span 3;
        text-align: center;
        padding: 20px;
        background-color: #fafafa;
        border-radius: 8px;
        display: none;
        &.active {
          display: block;
        }
      }
      .SD__software-item {
        background-color: #fafafa;
        border-radius: 8px;
        display: none;
        &.active {
          display: block;
        }
      }
    }
  }

  /* 弹窗 */
  .SD__software-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1009;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    &.active {
      display: flex;
      opacity: 1;
    }
    .SD__software-info-modal-content {
      background-color: #fff;
      width: 100%;
      height: 100%;
      max-width: 1200px;
      height: auto;
      min-height: 480px;
      position: relative;
      .SD__software-info-modal-content-close {
        position: absolute;
        top: 24px;
        right: 30px;
      }
    }
  }
}

@media (min-width: 768px) {
  .section-software-download {
    .page-layout-content {
      flex-direction: row;
    }
    .SD__left {
      width: 310px;
      position: relative;
      background: #fff;
      box-shadow: none;
      .SD__left-wrapper {
        position: sticky;
        top: 200px;
      }
      .SD__filter-header {
        display: none;
      }
    }
    .SD__right {
      flex: 1;
      .SD__right-content {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  }
}
@media (max-width: 767px) {
  .section-software-download {
    .SD__left {
      .SD__filter-header {
        background-color: #fafafa;
        display: flex;
      }
    }
  }
}
