/* ==========================================================================
   Ürünler Listesi - Modern Premium Tasarım
   Mobile-first approach
   ========================================================================== */

/* --- Görsel Container --- */
.urun-resim-container {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.urun-resim-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* --- Marka Rozeti --- */
.marka-rozet {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: #003399;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    line-height: 1.3;
    backdrop-filter: blur(4px);
}

.marka-varta .marka-rozet { background: linear-gradient(135deg, #1E88E5, #1565C0); }
.marka-hella .marka-rozet { background: linear-gradient(135deg, #e67e00, #d46b00); }
.marka-mutlu .marka-rozet { background: linear-gradient(135deg, #FF8F00, #F57C00); }
.marka-inci .marka-rozet,
.marka-İnci .marka-rozet { background: linear-gradient(135deg, #43A047, #388E3C); }
.marka-exide .marka-rozet { background: linear-gradient(135deg, #FF6B00, #E65100); }
.marka-bosch .marka-rozet { background: linear-gradient(135deg, #E2001A, #C62828); }

/* --- Hella Badges --- */
.hella-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hella-badges .urun-badge {
    position: static;
    width: 44px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

/* --- Ürün Görseli --- */
.urun-resim {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.urun-kart:hover .urun-resim {
    transform: scale(1.08);
}

/* --- Bilgiler Bölümü --- */
.urun-bilgiler {
    padding: 1.25rem 1.25rem 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- Başlık --- */
.urun-bilgiler .urun-baslik {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

/* --- Özellik Badge'leri --- */
.urun-ozellikler {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.urun-ozellik-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4a5a7a;
    border: 1px solid #dde3f0;
    line-height: 1.4;
    white-space: nowrap;
}

/* --- Fiyat Alanı --- */
.urun-fiyat-etiket {
    display: block;
    width: 100%;
    padding: 0.6rem 0 0.25rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #003399;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- Butonlar Bölümü --- */
.urun-butonlar {
    padding: 0 1.25rem 1.25rem;
    margin-top: auto;
}

/* --- WhatsApp Butonu --- */
.whatsapp-fiyat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #25D366, #20BD5A);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    min-height: 44px;
    letter-spacing: 0.01em;
}

.whatsapp-fiyat-btn:hover {
    background: linear-gradient(135deg, #20BD5A, #128C7E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-fiyat-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-fiyat-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

/* ==========================================================================
   Responsive Grid - Mobile First
   ========================================================================== */

.urunler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 600px) {
    .urunler-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 900px) {
    .urunler-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .urunler-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

/* ==========================================================================
   Filtre Paneli
   ========================================================================== */

.filtre-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #003399, #002277);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 51, 153, 0.2);
}

.filtre-toggle-btn:hover {
    background: linear-gradient(135deg, #002277, #001a5e);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

.filtre-toggle-btn:active {
    transform: scale(0.98);
}

.filtre-toggle-btn svg {
    flex-shrink: 0;
}

.filtre-toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.filtre-toggle-btn[aria-expanded="true"] .filtre-toggle-icon {
    transform: rotate(180deg);
}

.filtre-sayisi-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #ff4444;
    color: #fff;
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(255, 68, 68, 0.3);
}

/* Mobilde filtre grid varsayılan kapalı */
.filters-grid {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.filters-grid.filters-open {
    max-height: 500px;
    opacity: 1;
}

.marka-filtreleri {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.marka-filtreleri.filters-open {
    max-height: 200px;
    opacity: 1;
}

@media (min-width: 769px) {
    .filtre-toggle-btn {
        display: none;
    }

    .filters-grid {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }

    .marka-filtreleri {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

/* --- Boş Sonuç Mesajı --- */
.no-urun-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

/* ==========================================================================
   Erişilebilirlik
   ========================================================================== */

.urun-kart a,
.urun-kart button,
.filtre-toggle-btn,
.filter-group select,
.filter-group input,
.marka-filtre-btn,
.whatsapp-btn {
    min-height: 44px;
    min-width: 44px;
}

.mobile-menu-btn,
.hamburger-btn {
    min-height: 48px;
    min-width: 48px;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="search"] {
    min-height: 44px;
    font-size: 16px;
}

.contact-buttons-container {
    gap: 8px;
}

.contact-button {
    min-height: 44px;
    min-width: 44px;
}
