.js-gallery{
  position: relative;
}

.js-gallery-track{
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-padding-left: 0;
  scroll-behavior: smooth;
  gap: 0;
  font-size: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.js-gallery-track::-webkit-scrollbar{
  display: none;
}

.js-gallery-img{
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.gallery-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.gallery-btn{
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  display: inline-block;

  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.gallery-btn:hover{
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.gallery-btn:active{
  transform: translateY(0);
}

.gallery-btn:focus-visible{
  outline: 3px solid rgba(175, 113, 57, 0.35);
  outline-offset: 2px;
}

.gallery-btn-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  fill: rgb(175, 113, 58);
  pointer-events: none;
}

.gallery-counter{
  min-width: 64px;
  text-align: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
}

.gallery-btn.is-disabled{
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.gallery-counter-suite{
  min-width: 64px;
  text-align: center;
  font-size: 14px;
  color: var(--brand-sand);
}
