.pisell-sale-detail-cart-items {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-height: 0;

  &__empty {
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: center;
    padding-top: 42px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
  }

  &--multi-col {
    display: grid;
    grid-template-columns: repeat(var(--pisell-cart-cols, 1), minmax(0, 1fr));
    align-items: start;
    gap: 8px;

    > * {
      min-width: 0;
    }

    .pisell-sale-detail-cart-items__empty {
      grid-column: 1 / -1;
    }
  }

  &__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  &__saved {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 6px;
    color: #101828;
    background: #eaecf0;
    border-radius: 8px;
  }

  &__saved-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    color: inherit;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: none;
  }

  &__saved-title {
    flex: 1;
    min-width: 0;
  }

  &__saved-summary {
    flex-shrink: 0;
    margin-right: 4px;
  }

  &__saved-switch {
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  &__saved-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;

    &::before {
      display: block;
      flex-shrink: 0;
      height: 6px;
      content: '';
    }

    &.is-expanded {
      max-height: 9999px;
    }
  }

  &__saved-content--multi-col {
    display: grid;
    grid-template-columns: repeat(var(--pisell-cart-cols, 1), minmax(0, 1fr));
    align-items: start;
  }

  &--editable {
    .pisell-sale-detail-cart-items__quantity-selector {
      width: 110px;
  
      .pisell-number-selector-btn {
        flex-shrink: 0;
      }
  
      .pisell-number-selector-number {
        min-width: unset !important;
        padding: 0 !important;
        flex: 1;
      }
    }
  }
}
