/* PrintZona / obchod: Codex UI, 9. 11. 2026. Only load on shop listings. */
.shop-grid .pcard-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px !important; /* some generated rows carry inline row-gap:4px */
  padding: 3px 14px 14px;
  margin-top: auto;
}
.shop-grid .pcard-dots i[data-f] {
  box-sizing: border-box;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 3px solid transparent;
  border-radius: 50%;
  background-clip: content-box !important; /* preserve inline real textile color */
  box-shadow: inset 0 0 0 1px rgba(22,51,45,.18);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.shop-grid .pcard-dots i[data-f]::after { display: none; }
.shop-grid .pcard-dots i[data-f].on {
  outline: 2px solid #16332d;
  outline-offset: 0;
  box-shadow: inset 0 0 0 1px rgba(22,51,45,.18);
}
.shop-grid .pcard-dots i[data-f]:focus-visible {
  outline: 3px solid #256b70;
  outline-offset: 2px;
}
.shop-grid .pcard-dots > span {
  margin-left: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #51675e;
}
.shop-grid .pcard-dots .pcard-approx {
  padding-top: 2px;
  overflow-wrap: anywhere;
}
.shop-grid .pcard-img img { transition: transform 200ms ease, opacity 200ms ease; }
.shop-grid .pcard-example {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 9px;
  border: 1px solid rgba(22,51,45,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: #16332d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}
.shop-grid .pcard-img:has(> img:not(.pcard-hover)[src*="/assets/mockup/c/"]) > .pcard-example { display: block; }
.shop-grid .pcard-detail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 10px 2px;
  line-height: 1.45;
  color: #256b70;
  text-underline-offset: 3px;
}
.shop-grid .pcard-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  padding: 2px 7px;
  border: 1px solid #b4c7c0;
  border-radius: 8px;
  background: #edf4f1;
  color: #16332d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.shop-grid .pcard-detail:focus-visible,
.shop-grid .pcard:focus-visible {
  outline: 3px solid #256b70;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .shop-grid .pcard-dots i[data-f]:hover { transform: scale(1.06); }
  .shop-grid .pcard:hover:not(.pz-nahled):not(.pz-sel) .pcard-example { visibility: hidden; }
}
@media (hover: none), (pointer: coarse) {
  .shop-grid .pcard-hover { display: none; }
  .shop-grid .pcard:hover .pcard-img img { transform: none; }
}
@media (max-width: 600px) {
  .shop-grid .pcard-dots { padding: 3px 8px 12px; gap: 4px !important; }
  .shop-grid .pcard-example { bottom: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 6px; font-size: 10px; }
  .shop-grid .pcard-detail { align-items: flex-start; gap: 6px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-grid .pcard-dots i[data-f],
  .shop-grid .pcard-img img { transition: none; }
  .shop-grid .pcard:hover .pcard-img img,
  .shop-grid .pcard-dots i[data-f]:hover { transform: none; }
}
