/* Mini-galeria na kartach listy apartamentów */
.hz-cg { position: relative; width: 100%; overflow: hidden; }
.hz-cg__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.hz-cg__track::-webkit-scrollbar { display: none; }
.hz-cg__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: block; }
.hz-cg__slide img { display: block; width: 100%; max-width: 100%; }
.hz-cg__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0 !important;
  background: #061523 !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(6,21,35,.25);
  opacity: 0; transition: opacity .2s ease, background-color .2s ease;
  cursor: pointer; z-index: 3;
}
.hz-cg__nav--prev { left: 14px; }
.hz-cg__nav--next { right: 14px; }
.hz-cg__nav:hover, .hz-cg__nav:focus-visible { background: #af801d !important; }
.hz-cg__nav:focus-visible { outline: 2px solid #af801d; outline-offset: 2px; opacity: 1; }
.hz-cg__nav[hidden] { display: none; }
@media (hover: hover) {
  .hz-cg:hover .hz-cg__nav { opacity: 1; }
}
/* Nadpisanie stylów przycisków motywu (okrągłe strzałki) */
html body .hz-cg .hz-cg__nav {
  display: flex !important; align-items: center !important; justify-content: center !important;
  text-align: center !important; text-indent: 0 !important; font-size: 0 !important;
  width: 44px !important; height: 44px !important; min-width: 0 !important;
  padding: 0 !important; border-radius: 50% !important; line-height: 1 !important;
}
html body .hz-cg .hz-cg__nav svg { width: 14px; height: 14px; display: block; margin: 0 !important; flex: 0 0 auto; }

/* telefon / ekran dotykowy: bez strzałek – zdjęcia przesuwa się palcem */
@media (hover: none), (max-width: 767px) {
  html body .hz-cg .hz-cg__nav { display: none !important; }
}
