.pb-section-category-gallery-slider .gallery-loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
}

@media (min-width: 768px) {

  .pb-section-category-gallery-slider .top-half {
      position: absolute;
      top: 0;
      width: 100%;
      height: 50%;
      z-index: -1;
  }
}

.pb-section-category-gallery-slider .gallery-wrap {
  position: relative;
}

.pb-section-category-gallery-slider .gallery-loading-screen.show {
  opacity: 1;
  visibility: visible;
}

.pb-section-category-gallery-slider .splide__list {
  align-items: center;
}

.pb-section-category-gallery-slider .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.pb-section-category-gallery-slider .splide__arrows {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5rem;
  width: 10rem;
}

.gallery-splide > .splide__arrows {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.pb-section-category-gallery-slider .splide__list > li {
    margin: 0;
}

.pb-section-category-gallery-slider .splide__arrows .splide__arrow {
  background: none;
  opacity: 1;
  width: 3rem;
  height: 3rem;
  outline: none;
}

.pb-section-category-gallery-slider .splide__arrows .splide__arrow img {
  width: 100%;    
  height: auto;
}

.pb-section-category-gallery-slider .splide__arrows .splide__arrow svg {
  width: 45px;
  height: 45px;
  fill: #fff !important;
}

.pb-section-category-gallery-slider .splide__arrows .splide__arrow--prev {
  left: 0;
}

.pb-section-category-gallery-slider .splide__arrows .splide__arrow--next {
  right: 0;
}

.pb-section-category-gallery-slider .gallery-categories-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .pb-section-category-gallery-slider .gallery-categories-list {
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .pb-section-category-gallery-slider .gallery-categories-list {
    gap: 6rem;
  }
}

.pb-section-category-gallery-slider .gallery-categories-list .gallery-category-item {
  cursor: pointer;
  padding: 1rem 1rem;
  border-bottom: 4px solid transparent;
  transition: border-bottom 0.3s ease;
}

.pb-section-category-gallery-slider .gallery-categories-list .gallery-category-item:hover {
  border-bottom: 4px solid var(--brand-color-black);
}

.pb-section-category-gallery-slider .gallery-categories-list .gallery-category-item.active {
  border-bottom: 4px solid var(--brand-color-black);
}

.pb-section-category-gallery-slider.bg-white .gallery-categories-list .gallery-category-item.active,
.pb-section-category-gallery-slider.bg-white .gallery-categories-list .gallery-category-item:hover {
  border-bottom: 4px solid var(--brand-color-black);
}

.pb-section-category-gallery-slider.bg-lightgray .gallery-categories-list .gallery-category-item.active,
.pb-section-category-gallery-slider.bg-lightgray .gallery-categories-list .gallery-category-item:hover {
  border-bottom: 4px solid var(--brand-color-black);
}

.pb-section-category-gallery-slider.bg-black .gallery-categories-list .gallery-category-item.active,
.pb-section-category-gallery-slider.bg-black .gallery-categories-list .gallery-category-item:hover {
  border-bottom: 4px solid #fff;
}

.pb-section-category-gallery-slider.bg-gray .gallery-categories-list .gallery-category-item.active,
.pb-section-category-gallery-slider.bg-gray .gallery-categories-list .gallery-category-item:hover {
  border-bottom: 4px solid #fff;
}

.pb-section-category-gallery-slider .gallery-categories-list.text-black .gallery-category-item.active,
.pb-section-category-gallery-slider .gallery-categories-list.text-black .gallery-category-item:hover {
  border-bottom: 4px solid var(--brand-color-black);
}

.pb-section-category-gallery-slider .gallery-categories-list.text-white .gallery-category-item.active,
.pb-section-category-gallery-slider .gallery-categories-list.text-white .gallery-category-item:hover {
  border-bottom: 4px solid #fff;
}

.pb-section-category-gallery-slider .gallery-categories-list .gallery-category-item p {
  font-size: 2rem;
  font-weight: 700;
}