/* 
 * Ürün Galerisi Slider Stilleri
 */

.product-gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden; /* Taşan okları gizlememek için önemli */
    border-radius: 8px; /* Köşeleri yuvarlat */
    background-color: #f0f0f0; /* Resim yüklenirken görünecek arkaplan */
}

.product-gallery-slider .swiper-wrapper {
    align-items: center; /* Resimleri dikeyde ortala */
}

.product-gallery-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 250px; /* Slider yüksekliğini sınırla */
    object-fit: contain; /* Çirkin uzamayı önlemek için cover yerine contain kullanıyoruz */
    cursor: pointer; /* Tıklanabilir olduğunu belirt */
}

/* İleri/Geri Okları */
.product-gallery-slider .swiper-button-next,
.product-gallery-slider .swiper-button-prev {
    color: #fff; /* Ok rengi */
    background-color: rgba(0, 0, 0, 0.4); /* Ok arkaplanı */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.product-gallery-slider .swiper-button-next:hover,
.product-gallery-slider .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.product-gallery-slider .swiper-button-next::after,
.product-gallery-slider .swiper-button-prev::after {
    font-size: 16px; /* Ok ikonu boyutu */
    font-weight: bold;
}

/* Sayfalama Noktaları */
.product-gallery-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.product-gallery-slider .swiper-pagination-bullet-active {
    background: #667eea; /* Aktif nokta rengi (temanızın ana rengi) */
    opacity: 1;
}

/* Magnific Popup (Lightbox) Stilleri */
.mfp-title {
    padding: 10px 20px;
    color: #fff;
    background: rgba(0,0,0,0.7);
    font-size: 16px;
    text-align: center;
}

.mfp-counter {
    font-size: 14px;
}

.featured-products-carousel .product-card-large.featured .product-gallery-slider,
.featured-products-carousel .product-card-large.featured .swiper,
.featured-products-carousel .product-card-large.featured .swiper-wrapper,
.featured-products-carousel .product-card-large.featured .swiper-slide {
    height: 100%;
}

.featured-products-carousel .product-card-large.featured .product-gallery-slider .swiper-slide img {
    max-height: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
