.description {
    font-size: 20px;
    text-align: center;
} /* ürün sayfasına bilgilendirme yazısı için */

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top:58px;
    max-width: 1220px;
    margin: 20px auto;
    
}

.filters .categories,
.filters .sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters label {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.filters select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    color: #333;
    cursor: pointer;
}

.filters select:hover {
    border-color: rgb(172, 98, 169);
    box-shadow: 0 0 4px rgba(242, 122, 26, 0.5);
}

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
    margin: 20px auto;
    padding: 0 10px;
    max-width: 1200px;
    box-sizing: border-box;
}

/* Ürün kartı */
.product-card {
    background-color: #f9e5f3;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: auto;
}

/* Ürün resminin boyutu */
.product-card img {
    width: 100%;
    border-radius: 15px;
    height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
}

/* Ürün bilgileri (ad, fiyat, açıklama) alt kısmında olacak şekilde */
.product-info {
    text-align: left;
    width: 100%;
    margin-top: 5px;
    background-color: #f9e5f3;
    box-sizing: border-box;
    color: #333;
}

/* Ürün adı */
.product-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}

/* Ürün fiyatı */
.product-info .price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin: 5px 0;
}

/* Ürün açıklaması */
.product-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}


@media (max-width: 768px) {
    .products {
        grid-template-columns: 1fr;
    }
    .filters {
        flex-direction: column;
        gap: 20px;
    }
}



/* Sayfalama */
#pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    margin-top: 100px;
}

#pagination a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#pagination a:hover {
    background-color: #f9e5f3;
    color: black;
    border-color:black;
}

/* Responsive düzenleme */
@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr); /* Mobilde de 2 sütun */
        gap: 10px; /* Mobilde aradaki boşluklar kaldırıldı */
        max-width: 100%; /* Tam genişlik */
    }

    .product-card {
        max-width: 100%; /* Mobilde ürünler tam genişlik */
        margin: 0; /* Ürünler arasında margin kaldırıldı */
    }

    .product-card img {
        height: 150px; /* Resim yüksekliği küçültüldü */
        margin-bottom: 0; /* Alt boşluk kaldırıldı */
    }
}