.ds-pvsq {
  display: block;
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

.ds-pvsq__title {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bs-secondary-color, #6c757d);
  margin-bottom: 0.4rem;
}

.ds-pvsq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.ds-pvsq__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.3rem;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: var(--bs-body-bg, #fff);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
  .ds-pvsq__item:hover {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: inherit;
    text-decoration: none;
  }
}

.ds-pvsq__item:focus-visible {
  border-color: var(--bs-primary, #0d6efd);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
  outline: none;
  color: inherit;
  text-decoration: none;
}

.ds-pvsq__item:active {
  transform: scale(0.98);
}

.ds-pvsq__item.is-active {
  border-color: var(--bs-primary, #0d6efd);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.ds-pvsq__img {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bs-tertiary-bg, #f8f9fa);
  aspect-ratio: 1 / 1;
}

.ds-pvsq__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-pvsq__img--placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  background: var(--bs-tertiary-bg, #f8f9fa);
}

.ds-pvsq__name {
  margin-top: 0.3rem;
  width: 100%;
  font-size: 0.625rem;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  color: var(--bs-body-color, #212529);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}

/* Tablet */
@media (min-width: 576px) {
  .ds-pvsq {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }

  .ds-pvsq__title {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
  }

  .ds-pvsq__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .ds-pvsq__item {
    padding: 0.35rem;
  }

  .ds-pvsq__name {
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    line-height: 1.25;
  }
}

/* Desktop — 4 w rzędzie */
@media (min-width: 768px) {
  .ds-pvsq__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .ds-pvsq__name {
    font-size: 0.75rem;
  }
}
