/* =====================================================
   COLLECTION & PRODUCT PAGE
   CLEAN / LARGE / PREMIUM
===================================================== */

/* ===============================
   GENEL
=============================== */
html, body{
  overflow-x: hidden;
}

.main{
  padding-top: 24px;
}

/* ===============================
   GRID ORANLARI (SOL / SAĞ)
=============================== */
@media (min-width: 992px){
  .main .col-md-3{
    flex: 0 0 22%;
    max-width: 22%;
  }
  .main .col-md-9{
    flex: 0 0 78%;
    max-width: 78%;
  }
}

/* ===============================
   SOL FİLTRE / KATEGORİLER
=============================== */
.list-group{
  margin-left: -20px;
}

.list-group .list-group-item{
  font-size: 15px;
  padding: 10px 14px;
}

@media (max-width: 992px){
  .list-group{
    margin-left: 0;
  }
}

/* ===============================
   ÜST BANNER (COLLECTION HERO)
=============================== */
.collectionViewDetail{
  margin-bottom: 48px;
}

.collectionViewDetail img,
.collectionViewDetail .base-image{
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 24px;
}

@media (max-width: 1200px){
  .collectionViewDetail img,
  .collectionViewDetail .base-image{
    height: 520px;
  }
}

@media (max-width: 768px){
  .collectionViewDetail img,
  .collectionViewDetail .base-image{
    height: 380px;
  }
}

/* ===============================
   ÜRÜN GRID
=============================== */
.productListView{
  padding: 0 14px;
}

/* Kart */
.productListView .card{
  height: 100%;
  border-radius: 22px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.productListView .card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

/* Ürün görseli */
.productListView img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 1200px){
  .productListView img{
    height: 300px;
  }
}

@media (max-width: 768px){
  .productListView img{
    height: 260px;
  }
}

/* ===============================
   ÜRÜN METİNLERİ
=============================== */
.productListView .card-body{
  padding: 16px 16px 18px;
}

/* Başlık */
.productListView .card-title{
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  margin-bottom: 8px;
}

/* Fiyat */
.productListView .card-text{
  font-size: 17px;
  font-weight: 600;
  color: #000;
}

/* ===============================
   MOBİL DÜZEN
=============================== */
@media (max-width: 768px){
  .productListView{
    padding: 0 6px;
  }

  .productListView .card-title{
    font-size: 17px;
  }

  .productListView .card-text{
    font-size: 15px;
  }
}
/* ===============================
   PRODUCT CARD – MOBILE IMAGE FIX
=============================== */

/* Ürün kartı görsel alanı */
.productListView .fixed-image-container{
  position: relative;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

/* DESKTOP */
@media (min-width: 769px){
  .productListView .fixed-image-container{
    height: 420px;
  }

  .productListView img{
    width: 100%;
    height: 100%;
    object-fit: contain; /* kesme yok */
    object-position: center;
  }
}

/* MOBİL – ASIL DÜZELTME */
@media (max-width: 768px){
  .productListView .fixed-image-container{
    height: auto;
    aspect-ratio: 3 / 4; /* 🔴 Ayakkabı için ideal */
    padding: 12px;       /* kenar boşlukları dengeler */
  }

  .productListView img{
    width: 100%;
    height: 100%;
    object-fit: contain !important; /* 🔴 ASLA KESME */
    object-position: center center;
    transform: none !important;
  }
}

/* Hover / zoom tamamen kapalı */
.productListView:hover img{
  transform: none !important;
}
