.pswb-order-detail-action {
  margin: 1rem 0;
}

.pswb-footer-action {
  margin: 1rem 0;
  text-align: center;
}

.pswb-button {
  font-weight: 600;
  text-transform: none;
}

.pswb-account-link .link-item {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.pswb-account-link .link-item .material-icons {
  flex: 0 0 auto;
}

.pswb-account-link .link-item span {
  min-width: 0;
}

.pswb-product-row {
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .75rem 0;
}

.pswb-product-row label {
  flex: 1;
  margin: 0;
}

.pswb-qty {
  max-width: 110px;
}

.pswb-comment-preview {
  white-space: pre-line;
}

.pswb-history-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin-left: .5rem;
  min-width: 6rem;
  white-space: nowrap;
}

.pswb-status-badge {
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  line-height: 1.2;
  padding: .5rem .75rem;
}

.pswb-thread-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.pswb-thread-products {
  margin: 1rem 0;
}

.pswb-help-text {
  margin-bottom: 1rem;
}

.pswb-thread-messages {
  margin: 1rem 0;
}

.pswb-thread-message {
  border: 1px solid #ddd;
  margin-bottom: .75rem;
  padding: .75rem;
}

.pswb-thread-message-staff {
  background: #f7f9fc;
}

.pswb-thread-message-customer {
  background: #fff;
}

@media (max-width: 767px) {
  .pswb-product-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .pswb-history-button {
    display: inline-block;
    margin: .5rem 0 0;
  }
}
