.pwp-df-open {
  white-space: nowrap;
}

/*.pwp-df-modal .modal-dialog {*/
/*  max-width: min(1320px, calc(100vw - 2rem));*/
/*}*/

.pwp-df-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.pwp-df-modal .modal-body {
  max-height: calc(100vh - 170px);
  overflow-y: auto;
}

.pwp-df-card {
  border: 1px solid rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.pwp-df-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}

.pwp-df-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: .75rem;
  background: #fff;
  text-decoration: none;
}

.pwp-df-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pwp-df-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  background: #f5f5f5;
  font-size: .875rem;
}

.pwp-df-title {
  min-height: 2.4em;
  line-height: 1.2;
}

.pwp-df-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}

.pwp-df-price {
  font-weight: 700;
  font-size: 1.15rem;
}

.pwp-df-old-price {
  color: #777;
  text-decoration: line-through;
  font-size: .875rem;
  font-weight: 400;
  margin-left: .35rem;
}

.pwp-df-brand-label {
  background: #f8f9fa;
  border-radius: 999px;
  padding: .25rem .65rem;
}

@media (max-width: 575.98px) {
  .pwp-df-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100%;
  }

  .pwp-df-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }

  .pwp-df-modal .modal-body {
    max-height: calc(100vh - 72px);
  }
}
