.product-card {
    position: relative;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    margin-top: 45%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Üstte taşan ürün görseli: oranlı ve tutarlı taşma */
.product-card-img-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 75%;
    aspect-ratio: 1 / 1;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.brand-image{
    width: 100px;
}

.product-card .card-body {
    padding-top: 50%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    min-height: 18rem;
    display: flex;
    flex-direction: column;
}

.product-card .card-body-populer-size {
    padding-top: 50%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    min-height:4rem;
}

.product-specs .spec-box {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0rem 0.25rem;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-specs .spec-value {
    font-weight: 700;
    font-size: 1rem;
    color: #343a40;
}

/* Icon boyutlarını tutarlı yapalım */
.product-specs .spec-box img {
    height: 28px;
    width: auto;
    margin-bottom: 0.25rem;
}

.rating-stars {
    font-size: 0.9rem;
    min-width: 110px;
}

.product-price {
    color: #212529;
}

/* Minimal Favori butonu */
.favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background-color: #fff;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    transition: all 0.2s ease;
}
.favorite-btn img {
    width: 16px;
    height: 16px;
}
.favorite-btn:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #212529;
}

/* Responsive Ayarlamalar */
@media (max-width: 576px) {
    .product-card {
        margin-top: 45%;
    }
    .product-card-img-container {
        transform: translate(-50%, -40%);
        width: 82%;
        aspect-ratio: 1 / 1;
    }
    .product-card .card-body {
        padding-top: 55%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        min-height: 17rem;
    }
    .product-title {
        font-size: 0.95rem;
    }
    .product-specs .spec-value {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    .product-specs .spec-box {
        min-height: 70px;
    }
    .rating-row {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }
    .rating-stars {
        font-size: 0.85rem;
        min-width: auto;
    }
    .rating-row small {
        font-size: 0.8rem;
        margin-left: 0.5rem !important;
    }
    .product-price {
        font-size: 1.5rem;
        margin-bottom: 0.75rem !important;
    }
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    .favorite-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.85rem;
    }
    .favorite-btn img {
        width: 14px;
        height: 14px;
    }
}


