/* --- 📅 HAFTANIN FIRSATLARI VİTRİN STİLLERİ --- */

.haftanin-section {
    padding: 40px 0;
    background-color: #f8fafc; /* Vitrinlerin birbirinden şıkça ayrılması için hafif kırık beyaz arka plan */
    margin-bottom: 40px;
}

.haftanin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.haftanin-title {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

/* 🎯 TÜMÜNÜ GÖR BUTONU STİLLERİ */
.haftanin-tumunu-gor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.haftanin-tumunu-gor i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.haftanin-tumunu-gor:hover {
    color: var(--theme-color, #f97316);
    background-color: #ffffff;
    border-color: var(--theme-color, #f97316);
}

.haftanin-tumunu-gor:hover i {
    transform: translateX(3px);
}

/* 🎯 SOLDA AFİŞ, SAĞDA ÜRÜNLER (MASAÜSTÜ İÇİN) */
.haftanin-layout {
    display: grid;
    grid-template-columns: 320px 1fr; /* Sol afiş 320px, geri kalanı ürünler */
    gap: 30px;
    align-items: stretch; /* Yükseklikleri eşitler */
}

/* ⚡ YENİ: AFİŞ YOKSA 320PX SINIRINI KALDIR VE TAM EKRANA (1fr) YAYIL! */
.haftanin-layout.no-banner {
    grid-template-columns: 1fr;
}

/* 🎯 AFİŞ (BANNER) ALANI */
.haftanin-banner-area {
    width: 100%;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.haftanin-banner-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.haftanin-banner-area picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* KIRPILMAYI ÖNLEYEN KOD */
.haftanin-banner-area img, .haftanin-banner-area video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi büzmeden, kesmeden kutuya oturtur */
    display: block;
    transition: transform 0.4s ease;
}

.haftanin-banner-area:hover img, .haftanin-banner-area:hover video {
    transform: scale(1.03);
}

/* SLIDER ALANI */
.haftanin-slider-area {
    position: relative;
    overflow: hidden; 
    padding: 10px 0; 
    width: 100%;
    height: 100%;
}

.haftaninSwiper {
    width: 100%;
    height: 100%;
}

.haftaninSwiper .swiper-slide {
    height: auto; 
}

/* SWIPER OKLARI ÖZEL TASARIM */
.haftanin-nav {
    color: #111827 !important;
    background: #ffffff;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #e5e7eb;
}

.haftanin-nav::after {
    font-size: 14px !important;
    font-weight: 900;
}

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 1024px) {
    .haftanin-layout {
        grid-template-columns: 1fr; /* Mobilde alt alta dizer */
        gap: 15px;
    }
    
    .haftanin-banner-area {
        height: auto;
        display: block; 
    }

    .haftanin-banner-area picture {
        display: block;
    }

    .haftanin-banner-area img, .haftanin-banner-area video {
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
}

@media (max-width: 640px) {
    .haftanin-title {
        font-size: 1.25rem;
    }
    .haftanin-tumunu-gor {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}