/* A style's preview pictures, one at a time (public/js/kz-carousel.js).
 * Fills whatever frame it is put in; the frame decides the shape. */
.kzc { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.kzc-img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.kzc-img.kzc-in { animation: kzcIn 0.35s ease both; }
@keyframes kzcIn { from { opacity: 0.25; } to { opacity: 1; } }
.kzc-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 28px; height: 36px; padding: 0 0 3px;
  border: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.92); color: #1a0d12;
  font: 500 22px/1 Inter, system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28); opacity: 0.9; transition: opacity 0.15s ease, transform 0.15s ease;
}
.kzc-btn:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
.kzc-btn:focus-visible { outline: 2px solid #d8a35e; outline-offset: 2px; opacity: 1; }
.kzc-prev { left: 8px; }
.kzc-next { right: 8px; }
.kzc-count {
  position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 9px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92); color: #1a0d12; font: 600 11px/1.4 Inter, system-ui, sans-serif;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); pointer-events: none;
}
.kzc--empty { background: rgba(255, 255, 255, 0.04); }
.kzc--empty .kzc-img { visibility: hidden; }
/* Small cards: smaller controls. */
.kzc--sm .kzc-btn { width: 22px; height: 28px; font-size: 17px; }
.kzc--sm .kzc-prev { left: 5px; } .kzc--sm .kzc-next { right: 5px; }
.kzc--sm .kzc-count { top: 6px; right: 6px; padding: 2px 7px; font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .kzc-img.kzc-in { animation: none; } }
