.pisell-sale-detail-contact {
  margin-bottom: 12px;

  &__title {
    margin-bottom: 8px;
    color: var(--sale-contact-title-color, #fff);
    font-size: 16px;
    font-weight: 500;
  }

  &__card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #d5d7da;
    cursor: pointer;
  }

  &__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0 8px 14px;
  }

  &__content-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  &__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  &__name-line {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
  }

  &__name {
    color: var(--Gray-900, #101828);
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__phone {
    padding-left: 4px;
    color: var(--Gray-500, #667085);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__text {
    color: var(--Gray-500, #667085);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__empty-description {
    height: 100%;
    display: flex;
    align-items: center;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
  }

  &__action {
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &__action-icon {
    font-size: 24px;
    color: #475467;
    cursor: pointer;
  }
}

.pisell-self-service-kiosk .pisell-sale-detail-contact {
  --sale-contact-title-color: #101828;
}

.pisell-sale-detail-contact--kiosk {
  --contact-title-size: 28px;
  --contact-text-size: 24px;
  --contact-row-height: 80px;
  --contact-inset: 20px;

  @media (max-width: 767px) {
    --contact-title-size: 22px;
    --contact-text-size: 18px;
    --contact-row-height: 60px;
    --contact-inset: 14px;
  }

  .pisell-sale-detail-contact {
    &__title {
      margin-bottom: 10px;
      font-size: var(--contact-title-size);
      font-weight: 600;
      line-height: 1.3;
    }

    &__card {
      border-radius: 14px;
    }

    &__row {
      box-sizing: border-box;
      min-height: var(--contact-row-height);
      gap: var(--contact-inset);
      padding: 12px var(--contact-inset);
    }

    &__name,
    &__phone,
    &__text,
    &__empty-description {
      font-size: var(--contact-text-size);
      line-height: 1.4;
    }

    &__name,
    &__text {
      white-space: normal;
      overflow-wrap: anywhere;
    }

    &__action {
      flex: none;
      padding: 0;
    }

    &__action-icon {
      font-size: var(--contact-title-size);
      line-height: 1;
    }
  }
}
