/* Produkty v článcích – kurakuvsen.cz v1.2 */
.pvc { margin: 24px 0; clear: both; }
.pvc-title { margin: 0 0 12px; font-size: 18px; }
.pvc-loader { padding: 16px; text-align: center; color: #888; font-size: 14px; }

.pvc-stage { position: relative; }
.pvc-grid .pvc-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pvc-slider .pvc-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}
.pvc-slider .pvc-track::-webkit-scrollbar { display: none; }
.pvc-slider .pvc-card { flex: 0 0 calc(25% - 9px); scroll-snap-align: start; }

.pvc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px;
  transition: box-shadow .2s;
  min-width: 0;
  box-sizing: border-box;
}
.pvc-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }

.pvc-img { display: block; aspect-ratio: 1 / 1; margin-bottom: 8px; }
.pvc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Název produktu */
.pvc .pvc-card a.pvc-name,
.pvc .pvc-card a.pvc-name:visited {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: #307aab !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.pvc .pvc-card a.pvc-name:hover {
  color: #25618a !important;
  text-decoration: underline !important;
}

.pvc-avail { font-size: 12px; margin-top: 4px; }
.pvc-avail.is-in { color: #2e9b3d; }
.pvc-avail.is-out { color: #c0392b; }

.pvc-bottom {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.pvc-price { font-weight: 700; font-size: 16px; white-space: nowrap; }

/* Tlačítka Do košíku i Detail */
.pvc .pvc-card .pvc-btn,
.pvc .pvc-card a.pvc-btn-detail,
.pvc .pvc-card a.pvc-btn-detail:visited {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #307aab !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.2;
}
.pvc .pvc-card .pvc-btn:hover,
.pvc .pvc-card a.pvc-btn-detail:hover {
  background: #25618a !important;
  color: #fff !important;
}
.pvc .pvc-card .pvc-btn.is-added { background: #555 !important; }

/* Šipky slideru */
.pvc-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.pvc-prev { left: -14px; }
.pvc-next { right: -14px; }
.pvc-arrow:disabled { opacity: 0; pointer-events: none; }
.pvc-no-overflow .pvc-arrow { display: none; }

@media (max-width: 991px) {
  .pvc-grid .pvc-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pvc-slider .pvc-card { flex-basis: calc(33.333% - 8px); }
}
@media (max-width: 600px) {
  .pvc-grid .pvc-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pvc-slider .pvc-card { flex-basis: 46%; }
  .pvc-arrow { display: none; }
  .pvc-bottom { flex-direction: column; align-items: stretch; }
  .pvc .pvc-card .pvc-btn { text-align: center; }
}


