@media (min-width: 998px) {
/* Carousel yapısını grid yapısına çevir */
.single-product .wd-gallery-thumb .wd-carousel-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    transform: none !important;
    width: 100% !important;
    padding: 0px;
    overflow: hidden;
}
/* 3'lü dizilim: (100% / 3) - boşluk payı */
.single-product .wd-gallery-thumb .wd-carousel-item {
    width: calc(33.33% - 7px) !important;
    margin: 0 !important;
    display: none; /* JS ile kontrol edilecek */
	padding:2px;
}
.single-product .wd-gallery-thumb .wd-carousel-item img{
	    border: 1px solid #eee;
}
/* Sayfa ilk açıldığında ilk 6 görseli göster */
.single-product .wd-gallery-thumb .wd-carousel-item:nth-child(-n+6) {
    display: block;
}
.single-product .wd-gallery-thumb{
	    width: 100%;
    overflow: hidden;
}
/* Woodmart varsayılan okları gizle */
.single-product .wd-gallery-thumb .wd-nav-arrows,
.single-product .wd-gallery-thumb .swiper-notification {
    display: none !important;
}

/* Daha Fazla Butonu */
#hc-load-more-thumbs {
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    background-color: #212121;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: -60px;
}

#hc-load-more-thumbs:hover {
    background-color: #000000;
}

.wd-gallery-thumb .wd-grid.wd-horizontal{
    width: 100%;
    margin-left: 0;	
}
.single-product .wd-gallery-thumb .wd-carousel{
	/*visibility:hidden;*/
} 
.single-product .wd-gallery-thumb .wd-carousel.wd-initialized{
	/*visibility:visible;*/
}
}
.single-product .woocommerce-product-gallery img {
    width: 98%;
}
@media (max-width: 798px) {
    .single-product .wd-gallery-thumb{
		margin-bottom: 55px;
	}
	.wd-gallery-thumb .wd-grid.wd-horizontal {
		width: 100%;
		margin-left: 0;
		overflow: hidden;
		box-sizing: border-box;
		padding: 10px;
		max-width: 100%;
	}
	#hc-load-more-thumbs{
		bottom: -14px;
	}

}