/* === Gallery Grid (base) === */
.eel-gallery-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; /* for grid loader positioning */
}

/* When using Isotope, keep grid until initialized so editor shows columns */
.eel-gallery-filter.eel-uses-isotope {
  display: grid;
}

.eel-gallery-filter.eel-uses-isotope .eel-gallery-filter-item {
  position: relative; /* before initialized */
}

/* Suspended state for category filtering delay */
.eel-gallery-filter.eel-grid-suspended .eel-gallery-filter-item {
  opacity: 0;
  pointer-events: none;
}

.eel-gallery-search-input-wrapper {
  position: relative;
  width: 50%;
}
.eel-gallery-search-input-wrapper i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 22px;
  color: currentColor;
}

.eel-gallery-filter-item a {
  position: relative;
  display: inline-block;
}

.eel-gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.eel-gallery-filters .eel-filter {
  display: inline-block;
  align-items: center;
  padding: 14px 36px;
  border-radius: 30px;
  background: #f2f3f5;
  color: #121212;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 100%;
  border: none;
  box-shadow: none;
}

.eel-gallery-filters .eel-filter:hover {
  background: #e9ebef;
}

.eel-gallery-filters .eel-filter:active {
  transform: translateY(1px);
}

.eel-gallery-filters .eel-filter:focus-visible {
  outline: none;
}

.eel-gallery-filters .eel-filter:hover,
.eel-gallery-filters .eel-filter.active {
  background: #357bfc;
  color: #fff;
}

/* Minimal icon alignment if icons are used inside filters */
.eel-gallery-filters .eel-filter i,
.eel-gallery-filters .eel-filter svg {
  font-size: 16px;
  line-height: 1;
}

.eel-gallery-search-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 5px;
  margin-bottom: 30px;
  gap: 50px;
  margin-left: auto;
  margin-right: auto;
}
.eel-gallery-search-wrapper .eel-gallery-search {
  border: 1px solid rgba(0, 0, 0, 0.1098039216);
  padding: 14px 16px 14px 42px;
  border-radius: 5px;
  width: 100%;
}
.eel-gallery-search-wrapper .select2-container--default .select2-selection--single {
  border: 1px solid rgba(0, 0, 0, 0.1098039216);
  border-radius: 5px;
}
.eel-gallery-search-wrapper .select2-container .select2-selection--single {
  height: auto;
  margin: 0;
  padding: 7px 7px;
}
.eel-gallery-search-wrapper .eel-gallery-filters-dropdown {
  border: none;
  padding: 13px 12px;
  border-radius: 5px;
  width: 50%;
  border-right: 12px solid #fff;
  box-shadow: 0 0 1px #121212;
}
.eel-gallery-search-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 10px;
}
.eel-gallery-search-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #121212;
}
.eel-gallery-search-wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #121212;
  font-size: 14px;
}

/* === Image === */
.eel-gallery-filter-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  -o-object-fit: cover;
     object-fit: cover;
}

.eel-gallery-filter-item:hover img {
  transform: scale(1.05);
}

/* === Hover Overlay === */
.eel-hover-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.55);
}

.eel-gallery-filter-item:hover .eel-hover-content {
  opacity: 1;
}

/* === Hover Text === */
.eel-hover-text span {
  color: #fff;
  font-size: 18px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

/* === Hover Icon === */
.eel-hover-icon i,
.eel-hover-icon svg {
  color: #fff;
  font-size: 36px;
  transition: transform 0.3s ease;
}

.eel-hover-icon:hover i,
.eel-hover-icon:hover svg {
  transform: scale(1.2);
}

.eel-gallery-image-wrap {
  position: relative;
  overflow: hidden;
}

/* Smooth hide/show for filter */
.eel-gallery-filter-item.eel-is-hidden {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

/* === Caption === */
.eel-gallery-caption-filter {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 15px 24px;
  font-size: 22px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.eel-gallery-caption-filter .eel-gallery-description {
  color: rgba(255, 255, 255, 0.8431372549);
  text-align: center;
  font-size: 14px;
  line-height: 130%;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  visibility: hidden;
  max-height: 0;
}
.eel-gallery-caption-filter.bottom {
  position: relative;
  padding: 30px;
}

.eel-gallery-filter .eel-gallery-filter-item:hover .eel-gallery-caption-filter:not(.bottom) .eel-gallery-description {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  max-height: -moz-max-content;
  max-height: max-content;
  margin-top: 10px;
}

.eel-gallery-caption-filter.bottom .eel-gallery-description {
  margin-top: 15px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  max-height: -moz-max-content;
  max-height: max-content;
}

/* === Lightbox === */
.eel-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  place-items: center;
}

.eel-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  transition: opacity 0.25s ease; /* cross-fade on change */
  position: relative;
  z-index: 1; /* keep below loader */
}

/* Lightbox loader */
.eel-lightbox .eel-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  margin-left: -21px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  animation: eel-spin 0.8s linear infinite;
  display: none;
  z-index: 2; /* above image */
}

.eel-lightbox .eel-loader.is-active {
  display: block;
}

/* Prefer class-driven state for reliability */
.eel-lightbox.loading .eel-loader {
  display: block;
}

.eel-lightbox.loading img {
  opacity: 0;
}

@keyframes eel-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Gallery grid preloader */
.eel-gallery-filter .eel-grid-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  margin-left: -18px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: rgba(0, 0, 0, 0.45);
  animation: eel-spin 0.8s linear infinite;
  display: none;
  z-index: 2;
}

.eel-gallery-filter .eel-grid-loader.is-active {
  display: block;
}

.eel-lightbox .eel-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.eel-lightbox button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.eel-prev {
  left: 40px;
}

.eel-next {
  right: 40px;
}/*# sourceMappingURL=gallery-filter.css.map */