/* ==================================================
   NEVİ ÇİÇEK - ÜRÜN KARTI VE GRID SİSTEMİ
================================================== */

/* Dinamik Grid Sistemi (Masaüstü 5'li, Mobilde 2'li) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Telefondaki kartlar çok sıkışmasın diye 2'li bırakıyoruz */

/* Ürün Kartı İskeleti */
.nevi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nevi-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

/* Görsel Alanı (3:4 Oran) */
.nevi-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Sitenin kalbi: 900x1200 oranı */
    background: #f8fafc;
    overflow: hidden;
    display: block;
}

.nevi-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nevi-card:hover .nevi-card-img-wrap img {
    transform: scale(1.05);
}

/* Sol Üst Etiketler (Trend / İndirim) */
.nevi-card-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.tag-trend {
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-discount {
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Sağ Üst Favori İkonu */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 2;
}

.wishlist-btn:hover {
    color: #ef4444;
}

/* Kart İçeriği */
.nevi-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Hızlı Teslimat */
.delivery-badge {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Ürün Adı */
.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 38px;
    /* 2 satır yüksekliği hizalaması için */
}

/* Fiyat Alanı */
.price-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #10b981;
}

.old-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

/* Kupon Alanı (Kesik Çizgili) */
.coupon-box {
    border: 1px dashed #ef4444;
    background-color: #fef2f2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Sipariş Ver Butonu */
.btn-order-card {
    background-color: #059669;
    /* Tasarımdaki tok yeşil tonu */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
    margin-top: auto;
    /* İçerik kısaysa butonu en alta iter */
}

.btn-order-card:hover {
    background-color: #047857;
    color: #ffffff;
}