.gcounter {
    position: absolute;
    top: 15px;
    right: 75px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
}

.glightbox-mobile .goverlay{
	background: #000000cf !important;
}


.scf-gallery-wrap {
    position: relative;
    padding: 0 50px 50px;
}
.scf-gallery-wrap .swiper {
    overflow: hidden;
    border-radius: 8px;
}
.scf-gallery-wrap .swiper-wrapper {
    align-items: stretch;
}
.scf-gallery-wrap .swiper-slide {
    height: auto;
}
.scf-gallery-wrap .scf-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.scf-gallery-wrap .scf-gallery-item img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.scf-gallery-wrap .scf-gallery-item .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.4s ease;
    pointer-events: none;
}
.scf-gallery-wrap .scf-gallery-item .overlay .lupa {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scf-gallery-wrap .scf-gallery-item .overlay .lupa svg {
    width: 40px; height: 40px;
    fill: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.scf-gallery-wrap .scf-gallery-item .overlay .lupa span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.scf-gallery-wrap .scf-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.6);
}
.scf-gallery-wrap .scf-gallery-item:hover .overlay {
    background: rgba(0,0,0,0.25);
}
.scf-gallery-wrap .scf-gallery-item:hover .overlay .lupa {
    opacity: 1;
    transform: scale(1);
}

.scf-gallery-wrap .swiper-button-prev,
.scf-gallery-wrap .swiper-button-next {
    top: 50%;
    width: 42px; height: 42px;
    margin-top: -25px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 0.3s;
}
.scf-gallery-wrap .swiper-button-prev:hover,
.scf-gallery-wrap .swiper-button-next:hover { background: #222; }
.scf-gallery-wrap .swiper-button-prev::after,
.scf-gallery-wrap .swiper-button-next::after {
    font-size: 16px; font-weight: bold; color: #222;
    transition: color 0.3s;
}
.scf-gallery-wrap .swiper-button-prev:hover::after,
.scf-gallery-wrap .swiper-button-next:hover::after { color: #fff; }
.scf-gallery-wrap .swiper-button-prev { left: 0; }
.scf-gallery-wrap .swiper-button-next { right: 0; }

.scf-gallery-wrap .swiper-pagination {
    bottom: 0; left: 0; width: 100%;
}
.scf-gallery-wrap .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: #ccc; opacity: 1;
    transition: background 0.3s, transform 0.3s;
}
.scf-gallery-wrap .swiper-pagination-bullet-active {
    background: #222; transform: scale(1.3);
}

@media (max-width: 768px) {
    .scf-gallery-wrap { padding: 0 40px 50px; }
    .scf-gallery-wrap .swiper-button-prev,
    .scf-gallery-wrap .swiper-button-next { width: 34px; height: 34px; }
    .scf-gallery-wrap .swiper-button-prev::after,
    .scf-gallery-wrap .swiper-button-next::after { font-size: 13px; }
}