:root {
  --pd-nav-btn-size: 44px;
  --pd-nav-icon-size: 20px;
  --pd-nav-bg: rgba(45, 64, 90, 0.65);
  --pd-nav-bg-hover: #0b2d59;
  --pd-nav-arrow: #a6ff00;
}

.pd-unit-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.pd-unit-gallery-track {
  height: 100%;
  width: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pd-unit-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.pd-unit-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-unit-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--pd-nav-btn-size);
  height: var(--pd-nav-btn-size);
  border-radius: 999px;

  background: var(--pd-nav-bg) !important;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10;
  padding: 0;

  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.pd-unit-gallery-btn.prev {
  left: 12px;
  color: #A1D700 !important;
}
.pd-unit-gallery-btn.next {
  right: 12px;
  color: #A1D700 !important;
}

.pd-unit-gallery-btn svg {
  width: var(--pd-nav-icon-size);
  height: var(--pd-nav-icon-size);

  fill: none;
  stroke: var(--pd-nav-arrow) !important;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

.pd-unit-gallery-btn:hover {
  background: var(--pd-nav-bg-hover);
}

.pd-unit-gallery-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.pd-unit-gallery-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35) !important;
}

.pd-unit-gallery-track::-webkit-scrollbar {
  display: none;
}
.pd-unit-gallery-track {
  scrollbar-width: none;
}

@media (max-width: 767px) {
  :root {
    --pd-nav-btn-size: 48px;
  }
}

.pd-unit-gallery .pd-unit-gallery-btn{
  all: unset;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: var(--pd-nav-btn-size) !important;
  height: var(--pd-nav-btn-size) !important;
  min-width: var(--pd-nav-btn-size) !important;
  min-height: var(--pd-nav-btn-size) !important;

  border-radius: 999px !important;
  overflow: hidden !important;

  background: rgba(45, 64, 90, 0.65) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.25) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer !important;
  z-index: 9999 !important;
}

.pd-unit-gallery .pd-unit-gallery-btn:hover{
  background: #0B2D59 !important;
}

.pd-unit-gallery .pd-unit-gallery-btn:active{
  transform: translateY(-50%) scale(0.94) !important;
}

.pd-unit-gallery .pd-unit-gallery-btn .pd-unit-gallery-icon,
.pd-unit-gallery .pd-unit-gallery-btn svg{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: var(--pd-nav-icon-size) !important;
  height: var(--pd-nav-icon-size) !important;

  fill: none !important;
  stroke: #A6FF00 !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.pd-unit-gallery .pd-unit-gallery-btn.prev{
  left: 12px !important;
  right: auto !important;
}

.pd-unit-gallery .pd-unit-gallery-btn.next{
  right: 12px !important;
  left: auto !important;
}

.pd-unit-gallery .pd-unit-gallery-btn.prev{ left: 16px !important; }
.pd-unit-gallery .pd-unit-gallery-btn.next{ right: 16px !important; }