﻿/* ------------------------------ */
/*      SAYFA GENEL TASARIMI      */
/* ------------------------------ */
.product-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
    margin-bottom: 45px;
}

/* boş kategori uyarısı */
.empty-box {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #eee;
    color: #777;
    font-size: 1.1rem;
}

/* ------------------------------ */
/*       GRID (bootstrap yokmuş gibi) */
/* ------------------------------ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

/* ------------------------------ */
/*        ÜRÜN KART TASARIMI      */
/* ------------------------------ */
.product-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    transition: all .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
}

    /* hover */
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.10);
    }

/* foto kutusu */
.product-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 15px;
}

/* foto */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

/* hover'da zoom */
.product-card:hover .product-img {
    transform: scale(1.06);
}

/* başlık */
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

/* alt açıklama */
.product-sub {
    font-size: .9rem;
    color: #888;
    margin-bottom: 18px;
}

/* buton */
.product-btn {
    margin-top: auto;
    padding: 12px 0;
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #222;
    color: #222;
    display: block;
    transition: .25s ease;
}

    .product-btn:hover {
        background: #222;
        color: #fff;
    }
