#rb-page .rb-gallery-controls {
  display: none;
}

#rb-page .thumbImage .swiper-slide:focus-visible,
#rb-page .rb-gallery-controls button:focus-visible {
  outline: 2px solid #a20e63;
  outline-offset: -2px;
}

@media (max-width: 1023px) {
  #rb-page .mainImage .swiper-slide {
    flex: 0 0 100%;
    width: 100% !important;
    margin-right: 0 !important;
    scroll-snap-stop: always;
  }
}

@media (max-width: 992px) {
  #rb-page .product-gallery {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  #rb-page .mainImage {
    border-radius: 6px;
  }

  #rb-page .rb-gallery-controls {
    display: flex;
    justify-content: center;
  }

  #rb-page .rb-gallery-controls button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
  }

  #rb-page .rb-gallery-controls button::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid #a20e63;
    border-radius: 50%;
  }

  #rb-page .rb-gallery-controls button[aria-pressed='true']::before {
    background: #a20e63;
  }
}

@media (max-width: 768px) {
  #rb-page #ixb23c {
    padding-right: 20px;
  }
}
