

/* Konteynerı pozisyonlandırma için hazırlar */
.product-img {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Ana resim */
.product-img .ana-resim {
    display: block;
    transition: opacity 0.4s ease-in-out;
}

/* Hover resmi: Varsayılan olarak gizli ve ana resmin üzerine tam oturur */
.product-img .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

/* Ürünün üzerine gelindiğinde hover resmini yumuşakça göster */
.product-img:hover .hover-img {
    opacity: 1;
    visibility: visible;
}


/* Trendyol Stili İnce Çizgi Göstergeler (Indicators) */
.product-card .trendyol-indicators {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4px;
    /* Çizgiler arası boşluk */
    z-index: 5;
    padding: 0 10px;
}

/* Pasif Çizgi Stili */
.product-card .trendyol-indicators button {
    width: 100%;
    max-width: 24px;
    /* Çizgi genişliği */
    height: 8px;
    /* Çizgi kalınlığı */
    background-color: rgba(0, 0, 0, 0.25);
    /* Şeffaf gri */
    border: none;
    border-radius: 2px;
    padding: 0;
    margin: 0;
    opacity: 0.6;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* Aktif Çizgi Stili (O anki gösterilen resim) */
.product-card .trendyol-indicators button.active {
    background-color: var(--renk1);
    /* Trendyol Turuncusu (İsterseniz #000 siyah da yapabilirsiniz) */
    opacity: 1;
    height: 8px;
}

/* --- Ürün Görseli Yükseklik Eşitleme --- */

.swiper-wrapper {
    height: auto !important;
    margin-bottom: 10px;
}

.swiper-slide {
    height: auto !important;
    margin-bottom: 10px;
}

.tukendi-urun-blog span {
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 4px;
  white-space: nowrap;
  text-shadow: none;
  background: none;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.tukendi-urun-blog {
  position: absolute;
  top: 30%;
  left: 50%;
  margin-left: -75px;
  background-color: rgba(250, 0, 0);
  border-radius: 15px;
  width: 150px;
  padding: 10px;
  text-align: center;
  z-index: 10;
  opacity: 70%;
}


@media only screen and (max-width: 600px) {

    .tukendi-urun-blog {
        width: 100px !important;
        margin-left: -50px !important;
    }
    .tukendi-urun-blog span {
        font-size: 13px !important;
    }
}

.product-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    margin: 4px 4px;
    overflow: hidden;
}
.product-image {
    width: 100%;
    /* En-boy oranını sabitlemek için (örn. 1/1 kare veya 3/4 dik dikey): */
    position: relative;
}

/* Carousel ve Görsellerin %100 kapsayıcıya oturması */
.product-image .carousel,
.product-image .carousel-inner,
.product-image .carousel-item {
    height: 100% !important;
}

/* Tüm görsellerin boyut standartlaşması */
.product-img-fixed {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    /* Resmin esnemesini önler, alanı düzgünce doldurur */
}

/* Indicator'ların kart yüksekliğini bozmasını engelleme */
.product-card .trendyol-indicators {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 5;
}

.product-card .trendyol-indicators button {
    width: 100%;
    max-width: 20px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 2px;
    padding: 0;
    margin: 0 !important;
    /* Bootstrap varsayılan marginini sıfırla */
    opacity: 0.6;
    transition: all 0.2s ease;
}

.product-card .trendyol-indicators button.active {
    background-color: var(--renk1);
    opacity: 1;
}


/* Mobil Optimizasyon */
@media (max-width: 576px) {
    .product-card .card-img-top {
        height: 130px;
    }

    .product-card .card-body {
        padding: 0.75rem;
    }

    .product-card .card-title {
        font-size: 0.85rem !important;
    }


}


/* Çizgilerin resim linkinin üstünde kalmasını ve tıklanabilir olmasını sağlar */
.trendyol-indicators {
    z-index: 99 !important;
    pointer-events: auto !important;
}

.trendyol-indicators button {
    pointer-events: auto !important;
}

@media (max-width: 576px) {
    .product-card .card-img-top {
        height: 130px;
    }

    .product-card .card-body {
        padding: 0.75rem;
    }

    .product-card .card-title {
        font-size: 0.85rem !important;
    }


}


/* Sol Öne Çıkan Görsel Kartı */
.hero-card {
    position: relative;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 20px !important;
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.hero-card:hover img {
    transform: scale(1.04);
}

/* Resim Üzerindeki Katman (Overlay) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    /* Hafif karartma ve dipte daha koyu degrade */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.85) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Etiketi üste, başlıkları alta iter */
}

/* Resim Üzerindeki Özel Etiket (Badge) */
.hero-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 30px;
    display: inline-block;
}

/* Başlık ve Alt Başlık Stilleri */
.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle1 {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}



/* Sağ Ürün Kartları */
.product-card {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    margin: 4px 4px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    object-fit: cover;
}

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

/* Slider Ok Düğmeleri */
.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background: var(--renk1);
    color: var(--menu_yazi);
    border-color: #0d6efd;
}

.carousel-control-prev {
    left: -15px;
}

.carousel-control-next {
    right: -15px;
}
