#palmares-layout img:is([id$="img_comp-kzfylx4a"],[id$="img_comp-khru8yac"],[id$="img_comp-l4plavg0"]) {
  object-fit: contain !important;
  image-rendering: auto;
}

#palmares-layout img:is([id$="577a43b1-b472-4380-ae13-f45b3e902422"],[id$="48d4c0a4-1e47-4036-8c98-7fc6fccbe802"]) {
  object-fit: cover;
  image-rendering: auto;
}

#palmares-layout .gallery-thumbnails > .thumbnails-gallery:not(.one-row) {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}

#palmares-layout .gallery-thumbnails > .thumbnails-gallery.one-row {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.palmares-color-controls {
  position: absolute;
  inset: 8px 8px auto auto;
  z-index: 12;
  display: flex;
  gap: 6px;
}

.palmares-color-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #00527a;
  border-radius: 6px;
  background: #fff;
  color: #00527a;
  font: 700 20px/1 system-ui, sans-serif;
  cursor: pointer;
}

.palmares-color-controls button:is(:hover, :focus-visible) {
  outline: 2px solid #00527a;
  outline-offset: 2px;
}

#palmares-layout .thumbnails-gallery:focus-visible {
  outline: 2px solid #00527a;
  outline-offset: 2px;
}
