/* Original object photographs: full frame, native proportions, no enlargement. */
.zhk-object-gallery { margin-block: clamp(40px, 5vw, 76px); }
.zhk-gallery-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  height: min(72vh, 840px);
  background: transparent;
}
.zhk-gallery-image-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: transparent;
  touch-action: pan-y;
}
.zhk-gallery-image-wrap > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 840px);
  margin: 0;
  object-fit: contain;
  filter: none;
  clip-path: none;
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
}
.zhk-gallery-image-wrap > img.is-changing { opacity: 0; }
.zhk-gallery-image-wrap > img[hidden] { display: none; }
.zhk-gallery-prev,
.zhk-gallery-next {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink, #151613);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.zhk-gallery-prev > svg,
.zhk-gallery-next > svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  transition: color .2s ease, transform .2s ease;
}
.zhk-gallery-prev:disabled,
.zhk-gallery-next:disabled { opacity: .3; cursor: default; }
.zhk-gallery-prev:focus-visible,
.zhk-gallery-next:focus-visible,
.zhk-object-gallery:focus-visible { outline: none; }
.zhk-gallery-prev:focus-visible,
.zhk-gallery-next:focus-visible { color: var(--bronze-deep, #7f6838); }
.zhk-gallery-prev:focus-visible::after,
.zhk-gallery-next:focus-visible::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze-deep, #7f6838);
}
.zhk-object-gallery:focus-visible .zhk-gallery-count {
  color: var(--bronze-deep, #7f6838);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.zhk-gallery-status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin: 20px 0 0;
  padding-inline: calc(48px + clamp(10px, 1.5vw, 24px));
  color: var(--muted, #696b65);
  font: 400 12px/1.65 Manrope, Arial, sans-serif;
}
.zhk-gallery-caption { min-width: 0; }
.zhk-gallery-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .zhk-gallery-prev:hover:not(:disabled),
  .zhk-gallery-next:hover:not(:disabled) { color: var(--bronze-deep, #7f6838); }
  .zhk-gallery-prev:hover:not(:disabled) > svg { transform: translateX(-3px); }
  .zhk-gallery-next:hover:not(:disabled) > svg { transform: translateX(3px); }
}
@media (max-width: 820px) {
  .zhk-gallery-stage { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; height: min(62vh, 640px); }
  .zhk-gallery-image-wrap > img { max-height: min(62vh, 640px); }
  .zhk-gallery-prev, .zhk-gallery-next { width: 40px; height: 44px; }
  .zhk-gallery-prev > svg, .zhk-gallery-next > svg { width: 22px; height: 22px; }
  .zhk-gallery-status { padding-inline: 46px; gap: 14px; margin-top: 14px; font-size: 11px; }
}
@media (max-width: 520px) {
  .zhk-object-gallery { margin-block: 32px 48px; }
  .zhk-gallery-stage { height: min(62vh, 520px); }
  .zhk-gallery-image-wrap > img { max-height: min(62vh, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  .zhk-gallery-image-wrap > img,
  .zhk-gallery-prev > svg,
  .zhk-gallery-next > svg { transition: none; }
  .zhk-gallery-prev:hover:not(:disabled) > svg,
  .zhk-gallery-next:hover:not(:disabled) > svg { transform: none; }
}
