@import url('categories-theme.css');

.dialog-media { position: relative; }
.gallery-arrow { position: absolute; z-index: 4; top: min(42%,380px); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(48,37,29,.16); border-radius: 50%; background: rgba(255,250,242,.9); color: #30251d; box-shadow: 0 7px 25px rgba(48,37,29,.18); backdrop-filter: blur(7px); cursor: pointer; transform: translateY(-50%); transition: background .2s ease,color .2s ease,transform .2s ease; }
.gallery-arrow:hover { background: #30251d; color: white; transform: translateY(-50%) scale(1.06); }
.gallery-arrow:focus-visible { outline: 3px solid #c99c50; outline-offset: 3px; }
.gallery-arrow[hidden] { display: none; }
.gallery-arrow span { display: block; margin-top: -4px; font: 400 44px/1 "Italiana",serif; }
.gallery-previous { left: 22px; }
.gallery-next { right: 22px; }
.gallery-position { position: absolute; z-index: 4; top: 20px; left: 50%; padding: 7px 12px; border-radius: 999px; background: rgba(48,37,29,.75); color: white; font: 600 12px "DM Sans",sans-serif; letter-spacing: .08em; transform: translateX(-50%); backdrop-filter: blur(7px); }
.gallery-position[hidden] { display: none; }
.gallery-image-change { animation: galleryFade .28s ease; }
@keyframes galleryFade { from { opacity: .45; transform: scale(.992); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 700px) {
  .gallery-arrow { top: 42%; width: 46px; height: 46px; }
  .gallery-previous { left: 12px; }
  .gallery-next { right: 12px; }
}
