/* =========================================================================
   PRO E-COMMERCE PRODUCT DETAIL LAYOUT
========================================================================= */

/* Görseli Tutan Dış Kutu (Arka plan rengi ve yumuşatma kaldırıldı, modernleştirildi) */
.card_img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent; /* Büyük çirkin arka fonu tamamen yok ettik */
}

/* Mobile (Görselin kırpılmasını ve kafanın gitmesini engelleyen esnek ayar) */
@media (max-width: 991px) {
    .card_img {
        height: auto !important;      /* Yüksekliği serbest bıraktık, dikeyde sıkışmayacak */
        min-height: auto !important;  /* Alt sınırları kaldırdık */
        overflow: visible !important;  /* Taşma kesmesini iptal ettik, resim kırpılmayacak */
        padding: 5px;
        margin-bottom: 15px;          /* Altındaki detaylarla arasına şık bir boşluk */
    }

    .card_img img, .product-image {
        width: 100% !important;
        height: auto !important;      /* Orantılı büyüyecek */
        max-height: 480px !important; /* Mobilde dikeyde en fazla telefona bu kadar sığsın */
        object-fit: contain !important; /* Resim asla bozulmayacak ve tamamen görünecek */
    }
}

/* Resmin Kendisi: Profesyonel sitelerdeki gibi tam sığdırma ve yumuşak geçiş */
.product-image {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain; /* Resmi asla bozmaz veya kesmez, kendi en boy oranında kibar tutar */
    border-radius: 12px; /* Hafif modern bir köşe yumuşatması */
    transition: transform 0.4s ease;
}

.product-image:hover {
    transform: scale(1.02); /* Üzerine gelindiğinde çok hafif ve şık bir zoom efekti */
}

/* Ürün Detay Kartı */
.product-detail-card { 
    border: none; 
    border-radius: 0; 
    background: #fff; 
    box-shadow: none; 
    padding: 0; 
}

.product-title { 
    /*font-size: 28px; */
    font-weight: 600; 
    color: #2c2c2c; 
    margin-bottom: 8px; 
    line-height: 1.3;
}

.product_description { 
    color: #666; 
    line-height: 1.6; 
    font-size: 14.5px; 
}

/* Varyant Seçenekleri ve Fiyat */
.variant-box {
    border: 1px solid #e0b470;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.variant-box.active {
    border-color: #0d6efd;
    background: #eaf2ff;
}

.price-area {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c92a2a;
    margin-bottom: 15px;
}

.option-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #444; }
.option-pill { padding: 10px 16px; border: 1px solid #e7ddd7; border-radius: 50px; cursor: pointer; transition: .25s; font-size: 13.5px; background: #fff; color: #555; }
.option-pill:hover { border-color: #c7a898; background: #faf4f1; }
.option-pill.active { background: #c92a2a; color: #fff; border-color: #c28b6c; }

/* Butonlar */
.btn-soft-cart { background: #c92a2a; border: none; color: #fff; border-radius: 999px; font-weight: 500; transition: .2s; height: 44px; padding: 0 30px; font-size: 13.5px; }
.btn-soft-cart:hover { background: #c92a2a; color:#fff; }
.btn-soft-back { background: transparent; border: 1px solid #ddd; color: #666; border-radius: 999px; font-weight: 500; height: 40px; font-size: 13px; display: inline-flex; align-items: center; padding: 0 20px; text-decoration: none; }
.btn-soft-back:hover { background: #f7f7f7; color: #111; }
.soft-divider { border: none; height: 1px; background: linear-gradient(to right, transparent, #ece2dc, transparent); margin: 20px 0; }

/* =========================================================================
   YILDIZ VE YORUM SİSTEMİ TASARIMI
========================================================================= */
.star-rating-form .fa-star { font-size: 24px; color: #ccc; cursor: pointer; transition: 0.2s; }
.star-rating-form .fa-star.hover, .star-rating-form .fa-star.selected { color: #ffc107; }
.review-stars .fa-star { color: #ffc107; font-size: 13px; }
.review-stars .fa-star.text-muted { color: #e0e0e0 !important; }

/* "Alışverişe Devam Et" butonunun tam altına hizalanan şık geniş yorum alanı */
.reviews-section {
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
    width: 100%;
}