.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 15, 23, 0.94);
  color: #fff;
  overflow: auto;
  overscroll-behavior: contain;
}
.gallery-lightbox:not([open]) {
  display: none;
}
.gallery-lightbox::backdrop {
  background: transparent;
}
.gallery-lightbox .gallery-lightbox-view {
  position: absolute;
  left: 50%;
  top: calc(50% - 12px);
  transform: translate(-50%, -50%);
}
.gallery-lightbox .gallery-lightbox-view img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 12px;
}
.gallery-lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 25px;
}
.gallery-lightbox .gallery-lightbox-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
}
.gallery-lightbox .gallery-lightbox-bar {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.gallery-lightbox .gallery-lightbox-bar p {
  margin: 0;
  text-align: center;
  font-size: 14px;
}
.gallery-lightbox .gallery-lightbox-bar button {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
}
.gallery-lightbox .gallery-lightbox-arrow-previous {
  transform: rotate(180deg);
}

.gallery-carousel-section {
  position: relative;
  overflow: clip;
  padding-block: var(--gallery-carousel-padding-top-mobile, 64px) var(--gallery-carousel-padding-bottom-mobile, 64px);
}
.gallery-carousel-section .gallery-heading {
  margin-block-end: 40px;
}
.gallery-carousel-section .gallery-viewport {
  width: 100%;
  height: max(118px, (100vw - 32px) * 0.824022);
  margin-inline: auto;
  margin-block: min(-19px, (100vw - 32px) * -0.132681);
  overflow: hidden;
  touch-action: pan-y;
  outline-offset: -4px;
}
.gallery-carousel-section .gallery-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  padding-inline: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.gallery-carousel-section .gallery-slide {
  width: 250px;
  height: 200px;
  flex: 0 0 250px;
  aspect-ratio: 5/4;
  scroll-snap-align: center;
}
.gallery-carousel-section .gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e4eaf0;
  cursor: pointer;
}
.gallery-carousel-section .gallery-open:focus-visible {
  outline-offset: -4px;
}
.gallery-carousel-section .gallery-picture, .gallery-carousel-section .gallery-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-carousel-section .gallery-picture[hidden] {
  display: none;
}
.gallery-carousel-section .gallery-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e9eef4, #c8d4e1);
  color: #8194a8;
  cursor: default;
}
.gallery-carousel-section .gallery-placeholder span {
  font-size: 48px;
  font-weight: 400;
}
.gallery-carousel-section .gallery-lens {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.gallery-carousel-section .gallery-controls {
  position: relative;
  margin-block-start: 40px;
}
.gallery-carousel-section .gallery-controls[hidden] {
  display: none;
}
.gallery-carousel-section .gallery-navigation {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.gallery-carousel-section .gallery-navigation button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #ff9202;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.gallery-carousel-section .gallery-navigation button:focus-visible {
  background: #ff9202;
  color: #fff;
}
@media (hover: hover) {
  .gallery-carousel-section .gallery-navigation button:hover {
    background: #ff9202;
    color: #fff;
  }
}
.gallery-carousel-section .gallery-previous .payamava-icon {
  transform: rotate(180deg);
}
.gallery-carousel-section .gallery-pause:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  padding: 8px;
  white-space: normal;
}
.gallery-carousel-section.is-enhanced .gallery-viewport {
  position: relative;
}
.gallery-carousel-section.is-enhanced .gallery-track {
  position: relative;
  height: 100%;
  display: block;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  direction: ltr;
}
.gallery-carousel-section.is-enhanced .gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  aspect-ratio: auto;
}
.gallery-carousel-section.is-enhanced .gallery-open {
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.gallery-carousel-section.is-enhanced .gallery-picture, .gallery-carousel-section.is-enhanced .gallery-placeholder span {
  border-radius: 16px;
  overflow: hidden;
}
.gallery-carousel-section.is-enhanced .gallery-picture {
  position: absolute;
  inset-inline: 0;
}
.gallery-carousel-section.is-enhanced .gallery-placeholder {
  background: linear-gradient(145deg, #e9eef4, #c8d4e1);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .gallery-carousel-section .gallery-navigation {
    display: none;
  }
  .gallery-carousel-section .gallery-controls {
    height: 0;
    margin-block-start: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-carousel-section .gallery-navigation button {
    transition: none;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .gallery-carousel-section .gallery-heading {
    margin-block-end: calc(72px + (100vw - 32px) * 0.132681 - 47.5px);
  }
}
@media (min-width: 1280px) {
  .gallery-carousel-section {
    padding-block: var(--gallery-carousel-padding-top, 160px) var(--gallery-carousel-padding-bottom, 160px);
  }
  .gallery-carousel-section .gallery-heading {
    margin-block-end: 40px;
  }
  .gallery-carousel-section .gallery-viewport {
    height: 35.7639vw;
    margin-block: 0;
  }
  .gallery-carousel-section .gallery-slide {
    width: 320px;
    height: 400px;
    flex-basis: 320px;
    aspect-ratio: 4/5;
  }
  .gallery-carousel-section .gallery-open, .gallery-carousel-section .gallery-picture {
    border-radius: 20px;
  }
  .gallery-carousel-section.is-enhanced .gallery-picture {
    border-radius: 20px;
  }
  .gallery-carousel-section .gallery-controls {
    position: relative;
    margin-block-start: 0;
    height: 0;
  }
  .gallery-carousel-section .gallery-all {
    min-height: 52px;
    padding-block: 13px;
    pointer-events: auto;
  }
}
