.embla.embla--property-gallery {
  width: 100%;
  margin: auto;
  --slide-spacing: 0.5rem;
  --slide-size: 100%;
}
.embla--property-gallery .embla__viewport {
  overflow: hidden;
}
.embla--property-gallery .embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}
.embla--property-gallery .embla__slide {
  height: var(--slide-height);
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
}
.embla--property-gallery .embla__slide__number {
  height: 100%;
  user-select: none;
}

.embla--property-gallery .embla-thumbs {
  --thumbs-slide-spacing: 0.5rem;
  margin-top: var(--thumbs-slide-spacing);
  --thumbs-slide-size-lg: calc(100% / 6);
  --thumbs-slide-size-md: calc(100% / 5);
  --thumbs-slide-size-sm: calc(100% / 4);
}
.embla--property-gallery .embla-thumbs__viewport {
  overflow: hidden;
}
.embla--property-gallery .embla-thumbs__container {
  display: flex;
  flex-direction: row;
  margin-left: calc(var(--thumbs-slide-spacing) * -1);
}

.embla--property-gallery .embla-thumbs__slide {
  flex: 0 0 var(--thumbs-slide-size-sm);
  min-width: 0;
  padding-left: var(--thumbs-slide-spacing);
}

@media (min-width: 750px) {
  .embla--property-gallery .embla-thumbs__slide {
    flex: 0 0 var(--thumbs-slide-size-md);
    min-width: 0;
    padding-left: var(--thumbs-slide-spacing);
  }
}

@media (min-width: 1023px) {
  .embla--property-gallery .embla-thumbs__slide {
    flex: 0 0 var(--thumbs-slide-size-lg);
  }
}
.embla--property-gallery .embla-thumbs__slide__number {
  border-radius: 1.8rem;
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--detail-high-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--thumbs-slide-height);
  width: 100%;
}
.embla--property-gallery
  .embla-thumbs__slide--selected
  .embla-thumbs__slide__number {
  color: var(--text-body);
}

.embla--property-gallery .embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.embla--property-gallery .embla__dot {
  width: 16px;
  height: 16px;
  background-color: white;
  border: 1px solid var(--dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.embla--property-gallery .embla__dot--selected {
  width: 10px;
  height: 10px;
}
