.domanci-designs {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  min-height: 36px;
  padding: 3px 0;
  pointer-events: none;
  position: relative;
  width: 100%;
  z-index: 9999;
}

.domanci-designs *,
.domanci-designs *::before,
.domanci-designs *::after {
  box-sizing: border-box;
}

.domanci-designs__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.domanci-designs__counter {
  color: #343a40;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.domanci-designs__dots {
  align-items: center;
  display: flex;
  gap: 5px;
  justify-content: center;
  min-height: 8px;
}

.domanci-designs__dot {
  appearance: none;
  background: #858585;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.45);
  display: block;
  flex: 0 0 8px;
  height: 8px;
  opacity: 0.9;
  padding: 0;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    opacity 140ms ease;
  width: 8px;
  z-index: 10000;
}

button.domanci-designs__dot:hover,
button.domanci-designs__dot:focus-visible {
  background: #b5b5b5;
  cursor: pointer;
  opacity: 1;
  outline: none;
}

.domanci-designs__dot.is-active {
  background: #f2f2f2;
  border-color: #6f6f6f;
  opacity: 1;
}

.domanci-designs__arrow {
  align-items: center;
  appearance: none;
  align-self: stretch;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 30px;
  padding: 0;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  z-index: 10000;
}

.domanci-designs__arrow::before {
  border-bottom: 6px solid transparent;
  border-top: 6px solid transparent;
  content: "";
  display: block;
  height: 0;
  transition: border-color 140ms ease;
  width: 0;
}

.domanci-designs__arrow--previous::before {
  border-right: 6px solid #252b31;
}

.domanci-designs__arrow--next::before {
  border-left: 6px solid #252b31;
}

.domanci-designs__arrow:disabled {
  cursor: default;
  opacity: 0.14;
}

.domanci-designs__arrow:focus-visible {
  outline: 1px solid #25282b;
  outline-offset: -4px;
}

/* Keep the selector interactive above the product image. */
.product-miniature .thumbnail-top {
  isolation: isolate;
  position: relative;
}

.product-miniature .thumbnail-top .domanci-designs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  pointer-events: none !important;
  z-index: 9999 !important;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .product-miniature .thumbnail-top .domanci-designs {
    bottom: 6px;
    min-height: 32px !important;
    padding: 0 4px !important;
    grid-template-columns: 24px 1fr 24px !important;
    gap: 2px !important;
    font-size: 11px;
    line-height: 13px;
  }

  .product-miniature .thumbnail-top .domanci-designs__counter {
    font-size: 11px;
    line-height: 13px;
  }

  .product-miniature .thumbnail-top .domanci-designs__content {
    gap: 3px;
  }

  .product-miniature .thumbnail-top .domanci-designs__dots {
    gap: 4px;
  }

  .product-miniature .thumbnail-top .domanci-designs__dot {
    flex-basis: 7px;
    height: 7px;
    pointer-events: auto !important;
    width: 7px;
  }

  .product-miniature .thumbnail-top .domanci-designs__arrow {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    pointer-events: auto !important;
  }

}
