/* ==========================================================================
   SHOP.CSS — Mağaza sayfası: Ürün kartları, grid, filtre, checkbox
   ========================================================================== */

/* --- MAĞAZA (URUNLER.HTML) --- */
.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin-top: 30px;
}
.product-card {
    background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px;
    text-align: center; transition: 0.3s; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: #0b3d7a; }
.product-card img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 15px; }
.product-card h3 { font-size: 1.1rem; color: #222; margin-bottom: 5px; height: 45px; overflow: hidden; }
.product-card .price { font-size: 1.2rem; color: #0b3d7a; font-weight: 800; display: block; margin-bottom: 15px; }
.btn-add {
    background: #0b3d7a; color: #fff; border: none; padding: 10px 20px; width: 100%;
    border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.2s;
}
.btn-add:hover { background: #f6c01b; color: #000; }

/* --- MODERN CHECKBOX & FILTERS --- */
.custom-check-row {
    display: flex; align-items: center; cursor: pointer; user-select: none;
    transition: all 0.2s;
}
.custom-check-row:hover .check-box { border-color: #4F46E5; }
.check-box {
    width: 20px; height: 20px; border: 2px solid #e2e8f0; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; margin-right: 10px;
    background: white; transition: all 0.2s;
}
.check-box i { font-size: 10px; color: white; transform: scale(0); transition: all 0.2s; }
.filter-cat:checked ~ .check-box { background: #1e3a8a; border-color: #1e3a8a; }
.filter-cat:checked ~ .check-box i { transform: scale(1); }

/* ÖLÇÜ BUTONLARI (Pill Style) */
.size-btn {
    border: 1px solid #f1f5f9; background: #f8fafc; color: #64748b;
    border-radius: 8px; font-size: 0.75rem; font-weight: 600; padding: 8px 0;
    transition: all 0.2s;
}
.size-btn:hover { background: #e2e8f0; color: #334155; }
.size-btn.active { background: #1e3a8a; color: white; border-color: #1e3a8a; box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.3); }

/* --- PREMIUM PRODUCT CARD --- */
.product-card {
    background: white; border-radius: 16px; overflow: hidden;
    border: 1px solid #f3f4f6; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    border-color: #e0e7ff;
}
.card-image-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative; overflow: hidden;
}
.card-badge {
    position: absolute; top: 12px; left: 12px; font-size: 0.65rem; font-weight: 800;
    padding: 4px 8px; border-radius: 6px; letter-spacing: 0.5px; text-transform: uppercase; z-index: 10;
}
.card-badge.stock-low { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.card-badge.stock-out { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }

.add-btn-modern {
    background: #1e3a8a; color: white; border-radius: 12px; font-weight: 600;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2);
}
.add-btn-modern:hover { background: #172554; transform: translateY(-1px); }
.add-btn-modern:active { transform: translateY(1px); }

/* Animasyonlar */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.5s ease-out forwards; }

/* ÜRÜN KARTI (Ultra Temiz) */
.product-card-modern {
    background: white;
    border: 1px solid #f3f4f6; /* Çok hafif sınır */
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card-modern:hover {
    border-color: #bfdbfe; /* Hoverda hafif mavi sınır */
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.add-btn-minimal {
    width: 100%;
    background: #1e3a8a;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.add-btn-minimal:hover { background: #172554; }
.add-btn-minimal:active { transform: scale(0.98); }
