



:root{
    --ana-marka-renk: #40A5D0;
    --ana-marka-ikinci-renk:#6c757d ;
    --hover-color:#f97316;
}



/*HEADER*/
:root {
    /* Marka Renkleri */
    --header-bg-top: #2c3e50;    /* En üst ince şerit rengi */
    --header-bg-main: #ffffff;   /* Logo alanı arka planı */
    --brand-color: #0056b3;      /* Ana renk (Mavi) */
    --accent-color: #40A5D0;     /* İkinci renk (Turuncu/Sepet/Menu) */

    /* Metin Renkleri */
    --text-dark: #333333;
    --text-light: #777777;

    /* Düzen */
    --border-color: #eaeaea;
}

/* 1. TOP NAV (En Üst Şerit) */
.top-nav {
    background-color: var(--header-bg-top);
    color: #fff;
    border-bottom: none;
    padding: 5px 0;
}
.top-nav a {
    color: #eee !important;
    transition: color 0.2s;
}
.location .dropdown-menu li a {
    color: black !important;
;
}
.top-nav a:hover { color: #fff !important; }

/* 2. ORTA ALAN (Logo - Arama - Sepet) */
.bottom {
    padding: 20px 0;
    background: var(--header-bg-main);
    border-bottom: 1px solid var(--border-color);
}

/* Flexbox ile hizalama (Kod yapısını bozmadan CSS ile düzenledik) */
.nextlogo {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Arama solda, Sepet sağda kalsın */
}

/* Arama Kutusu (Ortaya alındı) */
.search {
    flex-grow: 1; /* Boşluğu doldur */
    margin: 0 30px; /* Logo ve Sepet ile mesafe */
    float: none !important; /* Eski float'u iptal et */
}
/* Livewire içindeki inputa basit stil */
.control-search {
    border-radius: 4px !important;
    border: 2px solid #eee !important;
    height: 42px !important;
}
.control-search:focus {
    border-color: var(--brand-color) !important;
}

/* Sağ Taraf (Güvenlik + Sepet) */
.right-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Güvenlik İkonu */
.block-1 {
    float: none !important;
    display: inline-block;
    margin: 0;
    border-right: 1px solid #ddd;
    padding-right: 15px;
}

/* Sepet Alanı */
.block-2 {
    float: none !important;
    display: inline-block;
    margin: 0;
}
.photo-cart .lbl {
    background-color: var(--accent-color); /* Sepet sayısı rengi */
}

/* 3. MENÜ ALANI */
.menu {
    background: #f8f9fa; /* Hafif gri zemin */
    border-bottom: 2px solid var(--brand-color);
}


/* Menü Linkleri */
.menubar li a {
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 14px;
}
.menubar li a:hover {
    color: var(--brand-color);
}

/* MOBİL DÜZELTMELER */
@media (max-width: 991px) {
    .nextlogo { display: block; } /* Mobilde flex iptal */
    .search { margin: 15px 0; }
    .block-1 { visibility: hidden; } /* Mobilde güvenlik ikonunu gizle, yer kaplamasın */
    .block-2 { float: right !important; }
    .topbar-mobile { background: var(--header-bg-top); color:#fff; }
    .topbar-mobile a { color: #fff; }
}

/*HEADER BİTİŞ*/



/*FOOTER*/
:root {
    /* Footer Özel Renkleri */
    --footer-bg: white;         /* Koyu arka plan (Neredeyse siyah) */
    --footer-bg-secondary: #0f172a; /* SEO alanı için bir ton koyusu */
    --footer-text: black;       /* Okunabilir gri metin */
    --footer-heading: white;    /* Başlık rengi */
    --footer-border: black;     /* Çizgi rengi */

    /* Marka Rengi (Diğer dosyalardaki ile aynı olmalı) */
    --brand-color: #3498db;
}

footer {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 50px;
}

/* 1. ÜST KISIM (Bilgi & Linkler) */
.info {
    padding: 60px 0 40px;
}


.info-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* İletişim Bilgileri */
.widget-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}
.widget-info i {
    color: var(--brand-color);
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    width: 20px; text-align: center;
}
.widget-info a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}
.widget-info a:hover {
    color: var(--brand-color);
}

/* Başlıklar */
footer h3 {
    color: var(--footer-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
/* Başlık altı minik çizgi */
footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--brand-color);
}

/* Menü Linkleri */
.fmenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fmenu li {
    margin-bottom: 12px;
}
.fmenu li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
}
.fmenu li a:hover {
    color: var(--brand-color);
    transform: translateX(5px); /* Sağa kayma efekti */
}

/* Bülten Formu */
.news-desc { margin-bottom: 20px; font-size: 14px; }
.news-letter-form {
    position: relative;
    margin-bottom: 30px;
}
.news-letter-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--footer-border);
    border-radius: 4px;
    height: 45px;
    color: #fff;
    padding-right: 100px; /* Buton için yer */
}
.news-letter-form .form-control:focus {
    border-color: var(--brand-color);
    box-shadow: none;
}
.btnsub {
    position: absolute;
    top: 0; right: 0;
    height: 45px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btnsub:hover {
    background: #fff;
    color: var(--brand-color);
}

/* Sosyal Medya */
.social {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; gap: 10px;
}
.social li a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
}
.social li a:hover {
    background: var(--brand-color);
    transform: translateY(-3px);
}

/* 2. SEO / KATEGORİ ALANI */
.top-footer {
    background-color: var(--footer-bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--footer-border);
}
.heading-default {
    font-size: 20px;
    color: var(--footer-heading);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.block-footer {
    margin-bottom: 25px;
}
.heading-primary {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}
.heading-primary a { color: #fff; text-decoration: none; }

.description-primary {
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
}
.description-primary a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.description-primary a:hover {
    color: var(--brand-color);
    text-decoration: underline;
}

/* 3. COPYRIGHT */
.copyright {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid var(--footer-border);
}
.copyright a {
    color: #fff;
    font-weight: bold;
}

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .block-left, .col-md-5, .col-md-4 {
        margin-bottom: 40px; /* Mobilde bloklar arası boşluk */
    }
    .pd-left { padding-left: 15px !important; } /* Bootstrap padding fix */
}

/*FOOTER BİTİŞ*/





/* =========================================
   SABİT KARE GÖRSELLİ ÜRÜN KARTI (REVİZE EDİLDİ)
   ========================================= */

/* 1. KART KAPSAYICI */
.product-item.ver2 {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* Çok hafif gri çerçeve */
    border-radius: 12px; /* Modern, yumuşak köşeler */
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Hover Efekti: Kart yukarı kalkar */
.product-item.ver2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--ana-marka-renk, #40A5D0);
}

/* 2. RESİM ALANI (Kapsayıcı) */
.prod-item-img.bd-style-2 {
    position: relative;
    width: 100%;
    height: auto; /* Yüksekliği içindeki img belirleyecek */
    background-color: #f9fafb; /* Resim yüklenmezse görünecek zemin */
    overflow: hidden; /* Resim taşarsa gizle */
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f3f4f6;
}

/* Linkin kapsayıcıyı doldurması */
.prod-item-img.bd-style-2 a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 3. GÖRSEL (IMG) AYARLARI */
/* ÖNEMLİ: HTML'deki inline style'ı ezmek için !important kullanıyoruz */
.prod-item-img img {
    width: 100% !important; /* Genişlik responsive (kapsayıcı kadar) */
    height: 200px !important; /* İstediğin sabit yükseklik */
    object-fit: cover !important; /* Resmi bozmadan doldur */
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

/* Resme hover olunca hafif yaklaşma efekti */
.product-item.ver2:hover .prod-item-img img {
    transform: scale(1.08);
}

/* 4. SEPETE EKLE BUTONU (Resmin üzerine gelen) */
.product-item.ver2 .button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px; /* Ortalamak için sağ ve solu sabitledik */
    width: auto; /* Otomatik genişlik */
    padding: 0;
    z-index: 5;
    opacity: 0; /* Başlangıçta gizli */
    transform: translateY(20px); /* Aşağıdan yukarı çıkacak */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Kartın üzerine gelince buton görünsün */
.product-item.ver2:hover .button {
    opacity: 1;
    transform: translateY(0);
}

/* Butonun Kendisi (Link) */
.product-item.ver2 .addcart {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ana-marka-renk, #40A5D0);
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 6px; /* Hafif yuvarlatılmış */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.product-item.ver2 .addcart:hover {
    background: black;
}

/* 5. BİLGİ ALANI */
.prod-info {
    padding: 15px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left; /* Modern görünüm için sola dayalı */
}

/* Ürün Başlığı */
.prod-info h3 {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.4;
    height: 42px; /* 2 satır yüksekliği sabitleme */
    overflow: hidden;
}

.prod-info h3 a {
    color: #374151; /* Koyu gri metin */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    /* 2 satırdan sonrasını ... ile kesme */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.prod-info h3 a:hover {
    color: var(--ana-marka-renk, #40A5D0);
}

/* Fiyat Alanı */
.p-price {
    margin-top: auto; /* En alta it */
    font-size: 18px;
    font-weight: 700;
    color: var(--ana-marka-renk, #40A5D0);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Eski Fiyat (İndirimliyse) */
.p-price .old {
    font-size: 14px;
    color: #9ca3af; /* Soluk gri */
    text-decoration: line-through;
    font-weight: 400;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {

    .prod-item-img img
    {
        width: 150px;
        height: 150px;
    }
    /* Mobilde resim yine 200px kalsın ama buton hep görünsün mü? */
    /* Genelde mobilde hover olmadığı için butonu hep göstermek veya sadece ikona çevirmek iyidir. */
    /* Şimdilik sade bırakıyoruz. */

    .product-item.ver2 .button {
        /* Mobilde buton sürekli görünür olsun istersen burayı aç: */
        /* opacity: 1; transform: translateY(0); position: relative; bottom: 0; left: 0; right: 0; margin-top: -40px; */
        display: none; /* veya mobilde butonu gizleyip sadece resme tıklatabilirsin */
    }
}
/*{{--ÜRÜN KARTI STİLLER BİTİŞ--}}*/

/* Custom CSS: Sadece Mini Sepet Listesi İçin Stil Düzenlemeleri */
.mini-cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.cart-item-list {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
}

.cart-item-list:last-child {
    border-bottom: none;
}

.cart-item-list:hover {
    background-color: #fafbfd;
}

.delete-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffeded;
    color: #ef4444; /* Kırmızı */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #fecaca;
    flex-shrink: 0;
    margin-left: 8px;
}

.delete-btn:hover {
    background-color: #ef4444;
    color: white;
    transform: translateY(-1px);
}

.product-image-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Custom CSS: Sadece Mini Sepet Listesi İçin Stil Düzenlemeleri bitiş */



/* =========================================
   ANASAYFA KAMPANYA GRID
   ========================================= */
:root {
    --glass-bg: rgba(17, 24, 39, 0.75);
    --glass-blur: 10px;
    --font-primary: 'Inter', sans-serif; /* Font tanımlı değilse varsayılan ekledim */
    --ana-marka-renk: #4f46e5;
}

.afisci-campaign-wrapper {
    max-width: 1240px; margin: 50px auto; padding: 0 20px; font-family: var(--font-primary);
}

.afisci-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 kolonlu yapıya çevirdim, aşağıda birleştireceğiz */
    grid-template-rows: 320px 320px;
    gap: 20px;
}

.grid-item {
    position: relative; display: block;
    border-radius: 8px; overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.6s ease;
    z-index: 1; /* Resim arkada */
}
.grid-item:hover .bg-image { transform: scale(1.05); }

/* DÜZELTME: Class ismi HTML ile eşleşti (.content-box -> .content-overlay) */
.content-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 2; /* Yazı resmin üstünde */
}

/* YERLEŞİM AYARLARI (HTML classlarına göre güncellendi) */
/* Sol taraf dikine uzun olan (Şirketler) */

/* 1. Uzun olan (Tall) -> En Sağa */
.item-tall {
    grid-column: 3 / 4; /* 3. çizgiden başla, 4. çizgide bit (En sağ kolon) */
    grid-row: 1 / 3;    /* Yine tam boy (üstten en alta) */
}

/* 2. Geniş olan (Wide) -> Sola Üste */
.item-wide {
    grid-column: 1 / 3; /* 1. çizgiden 3. çizgiye (İlk iki kolonu kapla) */
    grid-row: 1 / 2;    /* Üst satır */
}

/* 3. Kutu olan (Box) -> Sola Alta */
.item-box {
    grid-column: 1 / 3; /* 1. çizgiden 3. çizgiye (İlk iki kolonu kapla) */
    grid-row: 2 / 3;    /* Alt satır */
}

/* DÜZELTME: Badge class ismi HTML ile eşleşti (.badge-pill -> .badge) */
.badge {
    display: inline-flex; align-items: center; padding: 4px 8px;
    border-radius: 4px; font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase; color: #fff; margin-bottom: 5px;
    background: var(--ana-marka-renk);
}

/* DÜZELTME: Selector güncellendi */
.content-overlay h3 {
    color: #fff; margin: 0 0 5px 0;
    font-size: 1.6rem; font-weight: 700;
}
/* DÜZELTME: Selector güncellendi */
.content-overlay p {
    color: rgba(255,255,255,0.8); margin: 0; font-size: 1.4rem; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.btn-text {
    display: inline-block; margin-top: 10px; color: #fff; font-weight: 600; font-size: 0.9rem;
}

@media (max-width: 991px) {
    .afisci-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 15px; }
    .grid-item { min-height: 300px; }
    /* Mobilde grid pozisyonlarını sıfırla */
    .item-tall, .item-wide, .item-box { grid-column: auto; grid-row: auto; }
}
/* =========================================
   ANASAYFA KAMPANYA BİTİŞ
   ========================================= */


/*ANASAYFA KATEGORİLER BAŞLANGIÇ*/
/* Ana Bölüm Düzeni */
.image-focused-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.image-first-card {
    position: relative;
    display: block;
    overflow: hidden;
    /* Köşeler biraz daha keskin ama modern bir yuvarlatma */
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    /* Kart Yüksekliği */
    height: 280px;
    background-color: #333; /* Resim yüklenene kadar koyu arka plan */
}

/* Hover Efekti: Kartın hafif kalkması ve gölge */
.image-first-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* GÜNCELLEME: Görsel Alanı (IMG'yi saran konteyner) */
.card-image-content {
    width: 100%;
    height: 100%;
    position: relative; /* IMG'yi ve filtreyi sarmalar */
    overflow: hidden;
    filter: brightness(0.95); /* Hafif karartma */
    transition: filter 0.5s ease;
}

.card-image-content img {
    /* IMG Etiketi için zorunlu: Tüm alanı kapla ve resmi bozmadan doldur */
    width: 100%;
    height: 100%;
    /* DEĞİŞİKLİK BURADA: 'contain' yerine 'cover' kullanın */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-first-card:hover .card-image-content {
    filter: brightness(1.05); /* Parlama efekti */
}

.image-first-card:hover .card-image-content img {
    transform: scale(1.08); /* Görselin büyümesi */
}


/* Metin Karartma ve Konumlandırma */
.card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    /* Okunabilirlik için gradyan */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    z-index: 2;
}

.card-text-overlay p {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Skeleton/Loader için animasyon */
@keyframes skeleton-loading {
    0% { background-color: #e0e0e0; }
    50% { background-color: #f5f5f5; }
    100% { background-color: #e0e0e0; }
}

.skeleton-box {
    background-color: #e0e0e0;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: 8px;
}
.mb-30 { margin-bottom: 30px; }

/*ANASAYFA KATEGORİLER BİTİŞ*/



/*ANASAYFA ÜRÜN LİSTESİ BAŞLANGIÇ*/

.modern-heading {
    display: flex;
    align-items: flex-end; /* Alt tarafa hizala */
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
/* Alt çizgi efekti */
.modern-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}
.modern-heading h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-primary);
    margin: 0;
    letter-spacing: -0.5px;
}
.modern-heading h3 span {
    color: var(--brand-accent); /* "Ürünlerimiz" kısmı turuncu olsun */
}

.modern-heading .filter-links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 20px;
}
.modern-heading .filter-links a {
    text-decoration: none;
    color: #64748b; /* Gri ton */
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}
.modern-heading .filter-links a:hover {
    color: var(--brand-primary);
}
/* Aktif linkin altına nokta koyalım */
.modern-heading .filter-links a:hover::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    background: var(--brand-accent);
    border-radius: 50%;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .modern-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .modern-heading .filter-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px; /* Kaydırma çubuğu için alan */
    }
}
/*ANASAYFA ÜRÜN LİSTESİ BİTİŞ*/
