.body-wrapper #sp-header, #sp-header { animation: none; opacity: 1; }
.offcanvas-menu.artteo-drawer-open { transform: translateX(0); visibility: visible; }
.offcanvas-menu li.menu-parent-open > ul { display: block; }
.sp-megamenu-parent li:focus-within > .sp-dropdown { display: block; opacity: 1; visibility: visible; }
.sppb-carousel [data-sppb-slide-to]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.artteo-gallery-dialog { max-width: 90vw; max-height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.artteo-gallery-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.artteo-gallery-dialog img { display: block; max-width: 88vw; max-height: 84vh; object-fit: contain; }
.artteo-gallery-dialog button { position: absolute; inset: .5rem .5rem auto auto; border: 0; border-radius: 50%; width: 2rem; height: 2rem; color: #fff; background: #222; font-size: 1.15rem; }
.artteo-gallery-dialog img[hidden], .artteo-gallery-status[hidden] { display: none; }
.artteo-gallery-status { min-width: 13rem; margin: 0; padding: 1rem 3rem 1rem 1rem; color: #fff; background: #222; }

.artteo-gallery-ready .os-cat-tab-images { height: auto !important; }
.artteo-gallery-ready .os-cat-tab-images > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  position: static;
  min-width: 0;
}
@media (max-width: 575px) {
  .artteo-gallery-ready .os-cat-tab-images > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.artteo-gallery-ready .img-block { min-width: 0; width: auto !important; height: auto !important; }
.artteo-gallery-ready .img-block img { display: block; width: 100%; height: auto; }
