/*ÜRÜN KARTI STİL BAŞLANGIÇ*/
/* --- Ana Kapsayıcı --- */
.product-card-wrapper {
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* İnce gri kenarlık */
    border-radius: 12px;       /* Modern yuvarlak köşeler */
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%; /* Grid içinde boyları eşitler */
    display: flex;
    flex-direction: column;
}

/* Hover Efekti: Yukarı kalkma ve gölge */
.product-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* --- Resim Alanı (Header) --- */
.product-card-header {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Kare Format (Modern Standart) */
    background-color: #f8f9fa; /* Resim yüklenmezse gri fon */
    overflow: hidden;
}

/* Link Resim Kapsayıcısı */
.product-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Resim Özellikleri */
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görsel kesilmez, tam sığar */
    padding: 15px;       /* Kenarlardan boşluk */
    transition: transform 0.5s ease;
}

/* Resim Zoom Efekti */
.product-card-wrapper:hover .product-card-img {
    transform: scale(1.08);
}

/* --- Aksiyon Butonları (Sepet) --- */
.product-card-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card-wrapper:hover .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000; /* Siyah Buton */
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.product-card-btn:hover {
    background-color: #333;
    transform: scale(1.1);
}

/* --- İndirim Rozeti --- */
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545; /* Kırmızı */
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* --- İçerik Alanı (Body) --- */
.product-card-body {
    padding: 16px;
    text-align: left;
    flex-grow: 1; /* İçeriği aşağı iter */
    display: flex;
    flex-direction: column;
}

/* Başlık */
.product-card-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.product-card-title a {
    color: #1f2937; /* Koyu Gri */
    text-decoration: none;
    transition: color 0.2s;
    /* Metni 2 satırla sınırla (Webkit) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a:hover {
    color: #000; /* Hoverda tam siyah */
}

/* Ayırıcı */
.product-card-divider {
    height: 1px;
    background-color: #eee;
    margin: 12px 0;
    width: 100%;
}

/* Fiyat */
.product-card-footer {
    margin-top: auto; /* En alta yapıştırır */
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

/* --- Responsive Ayarlar --- */
@media (max-width: 768px) {
    .product-card-body { padding: 12px; }
    .product-card-title { font-size: 14px; }
    .product-card-price { font-size: 16px; }

    /* Mobilde Sepet butonu hep görünsün mü? */
    /* İsterseniz aşağıdaki yorum satırını kaldırın: */
    /* .product-card-actions { opacity: 1; transform: translateY(0); }
    .product-card-btn { width: 35px; height: 35px; font-size: 14px; }
    */
}

/*ÜRÜN KARTI STİL BİTİŞ*/



/*ANASAYFA KATEGORİ KARTLARI STİL BAŞLANGIÇ*/
     /* --- KATEGORİ TILE (KARE) TASARIMI --- */

 .category-grid-section {
     background-color: #fff; /* Temiz arkaplan */
 }

/* 1. Kartın Ana Yapısı */
.cat-tile-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e7eb; /* Çok ince gri çerçeve */
    border-radius: 8px;        /* Hafif yuvarlatılmış köşeler (Modern Kare) */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%; /* Grid içinde boyları eşitler */
    position: relative;
}

/* Hover Efekti: Kart yukarı kalkar, gölge oluşur ve çerçeve rengi değişir */
.cat-tile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #000; /* Hoverda siyah çerçeve (Tema rengine göre değişebilir) */
    z-index: 2;
}

/* 2. Figure (Semantik Kapsayıcı) */
.cat-tile-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 3. Görsel Alanı */
.cat-tile-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #f8f9fa;
    padding: 15px; /* Görselin kenarlara yapışmaması için boşluk */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.cat-tile-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Resmi kesmeden sığdırır */
    transition: transform 0.4s ease;
    will-change: transform; /* Tarayıcı performans optimizasyonu */
}

/* Hoverda resim zoom efekti */
.cat-tile-card:hover .cat-tile-img {
    transform: scale(1.1);
}

/* 4. Yazı Alanı */
.cat-tile-content {
    padding: 12px 10px;
    text-align: center;
    background-color: #fff;
    flex-grow: 1; /* Alanı doldurması için */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-tile-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    /* Uzun isimleri 2 satırla sınırla */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-tile-card:hover .cat-tile-name {
    color: #000;
}

/* --- RESPONSIVE AYARLAR --- */

@media (max-width: 768px) {
    /* Mobil İyileştirmeleri */
    .cat-tile-img-wrapper {
        padding: 10px;
    }

    .cat-tile-name {
        font-size: 12px;
        font-weight: 600;
    }

    .section-title-area h2 {
        font-size: 20px;
    }

    /* Mobilde grid aralıkları (gutter) daha sıkı olabilir */
    .g-3 {
        --bs-gutter-y: 0.75rem;
        --bs-gutter-x: 0.75rem;
    }
}

/*ANASAYFA KATEGORİ KARTLARI STİL BİTİŞ*/



/*ANASAYFA BANNER STİL BAŞLANGIÇ*/
     /* --- HERO SLIDER FULL WIDTH FIX --- */

 .hero-section-full {
     /* Eğer bu kod 'container' içindeyse, onu dışarı taşırır ve tam ekran yapar */
     width: 100vw;
     position: relative;
     left: 50%;
     right: 50%;
     margin-left: -50vw;
     margin-right: -50vw;
     overflow: hidden;
     background: #f8f9fa; /* Yüklenirken görünen renk */
 }

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.hero-image-slider {
    width: 100%;
    height: auto; /* Yüksekliği içeriğe bırak */
}

.hero-image-slider .swiper-slide {
    width: 100%;
    height: auto;
    display: flex; /* Boşlukları siler */
}

/* Görsel Ayarları - 2000x537 px için optimize */
.hero-slide-img {
    width: 100%;
    height: auto; /* En boy oranını korur */
    display: block;
    object-fit: contain; /* Yazıların kesilmesini engeller */
}

/* --- OKLAR (ARROWS) --- */
.arrow-button {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Tıklamayı engelleme, alttakilere geçir */
    z-index: 20;
    padding: 0 30px; /* Kenarlardan boşluk */
}

.arrow-button button {
    pointer-events: auto; /* Sadece butonlara tıklansın */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.arrow-button button:hover {
    background-color: #000;
    color: #fff;
    transform: scale(1.1);
}

/* --- RESPONSIVE AYARLAR --- */
@media (max-width: 768px) {
    /* Mobilde okları biraz küçültelim */
    .arrow-button { padding: 0 10px; }
    .arrow-button button { width: 36px; height: 36px; font-size: 14px; }

}
/* --- MOBİL İÇİN DÜZELTME --- */


/*ANASAYFA BANNER STİL BİTİŞ*/

/*ANASAYFA SEKTÖR ÖNERİLERİ - GÜVENLİK TABELASI KONSEPTİ BAŞLANGIÇ*/

/* Genel Kart Yapısı - Bir Tabela Gövdesi */
.icon-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px; /* Tabela köşeleri hafif oval olur */
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 3px solid #e0e0e0; /* Varsayılan tabela çerçevesi */
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15); /* Sert gölge ile 3D levha hissi */
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Hover Efekti - Tabela Öne Çıkar */
.icon-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

/* İkon Kutusu - ISO Sembol Alanı */
.icon-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 20px;
    font-weight: bold;
    border: 2px solid transparent; /* İkonun kendi çerçevesi */
}

/* Kart İçeriği */
.card-content {
    flex-grow: 1;
}

/* Başlık - Uyarı Metni Fontu */
.card-title {
    color: #222;
    font-size: 18px;
    font-weight: 900; /* Çok kalın font */
    text-transform: uppercase; /* Tabela gibi hepsi büyük harf */
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-family: 'Arial Black', 'Helvetica Neue', sans-serif; /* Endüstriyel font yedeği */
}

/* Açıklama Metni */
.card-desc {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Çok uzun metinleri 2 satırda kes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mini Etiketler - Alt Uyarılar */
.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mini-tags span {
    font-size: 10px;
    text-transform: uppercase;
    background: #eee;
    color: #333;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 700;
    border: 1px solid #ccc;
}

/* --- RENK TEMALARI (İş Güvenliği Standartlarına Göre) --- */

/* 1. SARI (Uyarı - Warning) */
/* Sarı zemin üzerine siyah ikon ve çerçeve */
.card-warning {
    border-color: #000;
    background: #fff;
}
.card-warning .icon-wrapper {
    background: #ffcc00; /* İş güvenliği sarısı */
    color: #000;
    border-color: #000;
}
.card-warning:hover {
    border-color: #ffcc00;
}
.card-warning .card-title {
    color: #000;
}

/* 2. KIRMIZI (Yasak / Yangın - Red) */
/* Kırmızı çerçeve, beyaz veya kırmızı ikon */
.card-red {
    border-color: #cc0000;
}
.card-red .icon-wrapper {
    background: #cc0000;
    color: #fff;
}
.card-red .card-title {
    color: #cc0000;
}

/* 3. MAVİ (Zorunluluk / Fabrika - Blue) */
.card-blue {
    border-color: #0056b3;
}
.card-blue .icon-wrapper {
    background: #0056b3;
    color: #fff;
}
.card-blue .card-title {
    color: #0056b3;
}

/* 4. TURKUAZ/YEŞİL (Güvenli Durum / İSG - Cyan/Green) */
/* Mevzuata uygun yeşil tonu */
.card-cyan {
    border-color: #008000;
}
.card-cyan .icon-wrapper {
    background: #008000; /* İSG yeşili */
    color: #fff;
}
.card-cyan .card-title {
    color: #008000;
}
.card-cyan .mini-tags span {
    background: #e8f5e9;
    color: #006400;
    border-color: #a5d6a7;
}

/* 5. KOYU (Bilgilendirme / Ofis - Dark) */
.card-dark {
    border-color: #333;
}
.card-dark .icon-wrapper {
    background: #333;
    color: #fff;
}
.card-dark .card-title {
    color: #333;
}

/* --- VİDA DELİĞİ EFEKTİ (İsteğe Bağlı Süsleme) --- */
/* Tabelaların duvara vidalanmış gibi görünmesi için */
.icon-card::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.3);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 576px) {
    .icon-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    .icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
        width: 60px;
        height: 60px;
    }
    .card-desc {
        display: none; /* Mobilde yer kaplamaması için açıklamayı gizleyebiliriz, istersen kaldır bu satırı */
    }
    .mini-tags {
        justify-content: center;
    }
}
/*ANASAYFA SEKTÖR ÖNERİLERİ BİTİŞ*/

     /* --- Mini Sepet Kartı başlangıç --- */
 .header-cart-item {
     display: flex;
     align-items: flex-start;
     padding: 12px 15px;
     border-bottom: 1px solid #f1f5f9;
     background: #fff;
     position: relative;
 }
.header-cart-item:hover { background-color: #f8fafc; }

/* --- Görsel --- */
.header-cart-img-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}
.header-cart-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Detaylar --- */
.header-cart-details {
    flex: 1;
    min-width: 0;
    padding-right: 28px;
}

.header-cart-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.header-cart-title:hover {
    color: #3b82f6;
}

/* --- ÖZELLİK KUTUSU (Yeni Responsive Tasarım) --- */
.specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

/* Tekil Özellik Kartı - Kompakt Yatay Tasarım */
.spec-item {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    transition: all 0.2s ease;
}

.spec-item:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

/* Üst Etiket */
.spec-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
    white-space: nowrap;
}

/* Alt Değer */
.spec-value {
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.2;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Özel Ebat Renklendirmesi */
.spec-item.custom-size {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.08);
}

.spec-item.custom-size .spec-label {
    color: #3b82f6;
}

.spec-item.custom-size .spec-value {
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 2px;
}

.spec-item.custom-size .spec-value .dimension-separator {
    opacity: 0.4;
    margin: 0 2px;
    font-weight: 400;
}

.spec-item.custom-size .spec-value .dimension-unit {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.6;
    margin-left: 2px;
}

/* Varyant Grup Container */
.variants-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

/* --- Footer (Adet & Fiyat) --- */
.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    gap: 8px;
}

.qty-badge {
    font-size: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.price-text {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

/* Sil Butonu */
.btn-trash {
    position: absolute;
    top: 12px;
    right: 10px;
    border: none;
    background: none;
    color: #ef4444;
    opacity: 0.3;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: all 0.2s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-trash:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- Responsive Ayarlar --- */
@media (max-width: 380px) {
    .header-cart-item {
        padding: 10px 12px;
    }

    .header-cart-img-wrapper {
        width: 56px;
        height: 56px;
        margin-right: 10px;
    }

    .header-cart-title {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .spec-item {
        padding: 5px 8px;
    }

    .spec-label {
        font-size: 8px;
    }

    .spec-value {
        font-size: 11px;
    }

    .price-text {
        font-size: 13px;
    }

    .qty-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
}

/* Küçük ekranlar için özellik kartlarını tam genişlik yap */
@media (max-width: 320px) {
    .specs-container {
        gap: 4px;
    }

    .spec-item {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .variants-group {
        gap: 4px;
    }
}
/* --- Mini Sepet Kartı bitiş --- */



/* --- HEADER MEGA MENÜ --- */
 #header-sticky {
     position: relative;
     /* Menünün taşmasını engellememek için overflow: visible (varsayılan) kalmalıdır. */
 }

/* Menu Item'dan Relative'i Kaldırıyoruz */
/* Artık menü paneli bu öğeye göre değil, header'a göre konumlanacak. */
.menu-item {
    /* position: relative; */ /* Bu satır silindi veya kaldırıldı. */
}

/* Yeni Ana Menü Kapsayıcı Sınıfı */
.header-mega-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    gap: 2.5rem; /* Menü öğeleri arasındaki boşluk */
}

/* Bu hover efekti yine de çalışacaktır */
.menu-link {
    display: block;
    position: relative;
}

.menu-link a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    position: relative;
    text-transform: uppercase;
}

.menu-item:hover > .menu-link a {
    color: #dc2626;
}

.menu-link a::after {
    content: '';
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover .menu-link a::after {
    width: 100%;
}

/* --- 2. ADIM: MEGA MENÜ PANELİNİ VİEWPORT ORTASINA SABİTLE --- */

.mega-dropdown-panel {
    position: absolute;

    /* HEADER'A GÖRE ORTALAMA: left: 50% ile başla, kendi genişliğinin yarısı kadar geri kaydır. */
    left: 50%;
    transform: translateX(-50%);

    width: 100vw; /* Tam Ekran Genişliği */
    max-width: 1440px;

    /* Üst pozisyon, artık #header-sticky'ye göre 100% olacaktır. */
    top: 70%;

    background: #ffffff;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 2rem;
    z-index: 999;
    border-top: 3px solid #dc2626;

    /* Yükseklik ve Kaydırma Özelliği */
    max-height: 500px;
    overflow-y: auto;

    /* Gizleme ve Animasyon */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mega Menüyü Gösterme */
/* Bu kısım, fare menü öğesinin üzerine geldiğinde yine çalışacaktır. */
.menu-item:hover .mega-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mega Menü İçeriği (Sütunlar) */
.mega-panel-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-right: 10px;
}

/* Diğer Alt Stiller (Korundu) */
.mega-column-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    text-transform: uppercase;
}

.sub-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-category-list li {
    margin-bottom: 0.4rem;
}

.sub-category-list a {
    display: block;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.15rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sub-category-list a:hover {
    color: #dc2626;
    padding-left: 5px;
}

/* Scrollbar ve Tüm Kategoriler Stilleri (Korundu) */
.mega-dropdown-panel::-webkit-scrollbar { width: 6px; }
.mega-dropdown-panel::-webkit-scrollbar-track { background: #fef2f2; border-radius: 10px; }
.mega-dropdown-panel::-webkit-scrollbar-thumb { background: #fca5a5; border-radius: 10px; }
.mega-dropdown-panel::-webkit-scrollbar-thumb:hover { background: #f87171; }
.all-categories-trigger {
    display: flex; align-items: center; gap: 0.5rem; color: #1f2937; text-decoration: none; font-weight: 600;
    font-size: 0.875rem; letter-spacing: 0.02em; cursor: pointer; padding: 1.25rem 0; transition: all 0.25s ease;
    text-transform: uppercase; border: none; background: none; outline: none;
}
.all-categories-trigger:hover { color: #dc2626; }
.all-categories-trigger::after {
    left: 0; width: 0; height: 3px;
    background: linear-gradient(90deg, #dc2626, #b91c1c); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-item-all:hover .all-categories-trigger::after { width: 100%; }
.dropdown-arrow-icon { width: 18px; height: 18px; transition: transform 0.3s ease; stroke-width: 2.5; }
.menu-item-all:hover .dropdown-arrow-icon { transform: rotate(180deg); }
@media (max-width: 992px) { .header-mega-menu { display: none !important; } }

/* Header alanına eklenen önemli stil */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- HEADER MEGA MENÜ BİTİŞ --- */


/* --- SİPARİŞ TAKİP BUTONU BAŞLANGIÇ --- */
 .tracking-wrapper {
     position: relative;
     display: inline-block;
     margin: 10px; /* Dış boşluk */
 }

/* 2. Buton Tasarımı */
.order-track-btn {
    background-color: #fff;
    color: #333;
    border: 2px dashed #ccc; /* Daha hafif gri çizgi */
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tracking-wrapper:hover .order-track-btn {
    border-color: #000;
    background-color: #f9f9f9;
}

/* 3. Kamyon Tasarımı */
.patrol-truck {
    position: absolute;
    width: 24px;   /* Kamyon kutu genişliği */
    height: 24px;  /* Kamyon kutu yüksekliği */
    background: #fff; /* Çizgiyi gizlemek için beyaz arkaplan */
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%; /* Yuvarlak hat */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Hafif gölge */

    /* Animasyon Tanımı */
    animation: borderPatrol 6s linear infinite;
}

/* 4. Animasyon Mantığı (Köşeleri Keskin Dönüş) */
/* calc(100% - 12px) kullanmamızın sebebi kamyonun (24px) yarısı kadar içeri çekip tam çizgiye oturtmak */
@keyframes borderPatrol {
    /* --- 1. KENAR: ÜST (Soldan Sağa) --- */
    0% {
        top: -12px;
        left: -12px;
        transform: rotate(0deg);
    }
    22% {
        top: -12px;
        left: calc(100% - 12px); /* Köşeye varış */
        transform: rotate(0deg);
    }
    25% {
        top: -12px;
        left: calc(100% - 12px);
        transform: rotate(90deg); /* Köşede Dönüş */
    }

    /* --- 2. KENAR: SAĞ (Yukarıdan Aşağı) --- */
    47% {
        top: calc(100% - 12px); /* Alt köşeye varış */
        left: calc(100% - 12px);
        transform: rotate(90deg);
    }
    50% {
        top: calc(100% - 12px);
        left: calc(100% - 12px);
        transform: rotate(180deg); /* Köşede Dönüş */
    }

    /* --- 3. KENAR: ALT (Sağdan Sola) --- */
    72% {
        top: calc(100% - 12px);
        left: -12px; /* Sol köşeye varış */
        transform: rotate(180deg);
    }
    75% {
        top: calc(100% - 12px);
        left: -12px;
        transform: rotate(270deg); /* Köşede Dönüş */
    }

    /* --- 4. KENAR: SOL (Aşağıdan Yukarı) --- */
    97% {
        top: -12px;
        left: -12px; /* Başlangıca varış */
        transform: rotate(270deg);
    }
    100% {
        top: -12px;
        left: -12px;
        transform: rotate(360deg); /* Tur Tamamlandı */
    }
}



/* --- SİPARİŞ TAKİP BUTONU BİTİŞ --- */

/* --- MOBİL MENÜ KATEGORİ LİSTESİ BAŞLANGIÇ --- */



     /* Kategori Navigasyonu Stilleri (Önceki Adımdan Korundu) */
 .mobile-navigation {
     padding: 0;
 }

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
    position: relative;
    flex-wrap: wrap;
}

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

.menu-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 5px 0;
    font-size: 0.8rem;
    transition: color 0.2s;
    flex-grow: 1;
}

.menu-link:hover {
    color: #dc2626;
}

/* Alt Menü Toggle Butonu ve Yapısı */
.submenu-toggle {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.3s ease;
    line-height: 1;
    outline: none;
}

.submenu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Alt Kategori Listesi */
.mobile-submenu {
    list-style: none;
    padding-left: 10px;
    margin-top: 5px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    width: 100%;
    flex-basis: 100%;
}

.mobile-submenu .submenu-item {
    border-bottom: none;
    padding: 4px 0;
}

.mobile-submenu .submenu-link {
    display: block;
    padding: 4px 0 4px 10px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
    border-left: 2px solid #ddd;
}

.mobile-submenu .submenu-link:hover {
    color: #dc2626;
    border-left-color: #dc2626;
}

/* YENİ BUTON STİLLERİ */
.mobile-divider {
    border: 0;
    height: 1px;
    background: #f0f0f0;
}

.mobile-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Butonlar arası boşluk */
    padding: 10px 0;
}

.action-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 15px;
}

/* Ana Buton Stili (Giriş/Kaydol) */
.primary-btn {
    background-color: #dc2626; /* Tema Kırmızısı */
    color: #ffffff;
}
.primary-btn:hover {
    background-color: #b91c1c;
    color: #ffffff;
}

/* İkincil Buton Stili (Sepetim, Hesabım) */
.secondary-btn {
    background-color: #f7f7f7;
    color: #333;
    border: 1px solid #ddd;
}
.secondary-btn:hover {
    background-color: #eee;
    color: #000;
}
/* --- MOBİL MENÜ KATEGORİ LİSTESİ BİTİŞ--- */


/*ANASAYFA ÖZEL TASARIM*/

 .ozel-tasarim-home-kurumsal-section {
     --ot-home-bg: #f8fafc;
     --ot-home-dark: #0f172a;
     --ot-home-primary: #2563eb;
     --ot-home-gray: #64748b;
     --ot-home-border: #e2e8f0;

     position: relative;
     padding: 120px 0;
     background-color: var(--ot-home-bg);
     overflow: hidden;
     font-family: 'Inter', sans-serif;
 }

/* Mühendislik Izgarası Arkaplanı */
.ozel-tasarim-home-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--ot-home-border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    z-index: 1;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.ozel-tasarim-home-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- SOL İÇERİK --- */
.ozel-tasarim-home-status-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.ozel-tasarim-home-pulse {
    width: 8px; height: 8px; background: var(--ot-home-primary); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.ozel-tasarim-home-main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--ot-home-dark);
}

.ozel-tasarim-home-gradient-text {
    background: linear-gradient(135deg, var(--ot-home-primary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ozel-tasarim-home-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ot-home-gray);
    margin-bottom: 40px;
    max-width: 520px;
}

.ozel-tasarim-home-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.ozel-tasarim-home-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--ot-home-dark);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.ozel-tasarim-home-main-btn:hover {
    background: var(--ot-home-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.3);
}

.ozel-tasarim-home-icon-move { transition: transform 0.2s; }
.ozel-tasarim-home-main-btn:hover .ozel-tasarim-home-icon-move { transform: translateX(5px); }

.ozel-tasarim-home-feature-list {
    display: flex;
    gap: 20px;
    padding-left: 24px;
    border-left: 2px solid var(--ot-home-border);
}

.ozel-tasarim-home-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ot-home-gray);
}

/* --- SAĞ GÖRSEL (FLOATING LAYERS) --- */
.ozel-tasarim-home-visual-area {
    position: relative;
    height: 450px;
    perspective: 1200px;
}

.ozel-tasarim-home-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateY(-15deg) rotateX(8deg);
    transform-style: preserve-3d;
}

.ozel-tasarim-home-float-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
}

/* Ana Kanvas */
.ozel-tasarim-home-card-main {
    width: 400px;
    height: 300px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    overflow: hidden;
}

.ozel-tasarim-home-card-top {
    height: 36px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ot-home-border);
    display: flex;
    align-items: center;
    padding: 0 12px;
    justify-content: space-between;
}

.ozel-tasarim-home-dots { display: flex; gap: 5px; }
.ozel-tasarim-home-dots i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.ozel-tasarim-home-file-name { font-size: 10px; font-family: monospace; color: #94a3b8; }

.ozel-tasarim-home-card-inner {
    height: calc(100% - 36px);
    position: relative;
    background: #fff;
}

.ozel-tasarim-home-canvas-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(#f1f5f9 1px, transparent 1px), linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 20px 20px;
}

.ozel-tasarim-home-abstract-object {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px dashed var(--ot-home-primary);
    border-radius: 50%;
}

/* Araçlar (Glassmorphism) */
.ozel-tasarim-home-card-tools {
    width: 130px;
    top: 15%; left: 0%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transform: translateZ(50px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: ozelHomeFloat 6s ease-in-out infinite;
}

.ozel-tasarim-home-tool-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px; border-radius: 6px;
}

.ozel-tasarim-home-tool-active {
    background: var(--ot-home-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.ozel-tasarim-home-bar { height: 5px; background: #e2e8f0; border-radius: 3px; flex: 1; }

/* Renkler */
.ozel-tasarim-home-card-colors {
    display: flex; gap: 8px; padding: 10px;
    bottom: 15%; right: 5%;
    transform: translateZ(80px);
    z-index: 4;
    animation: ozelHomeFloat 8s ease-in-out infinite reverse;
}

.ozel-tasarim-home-dot {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@keyframes ozelHomeFloat {
    0%, 100% { transform: translateZ(50px) translateY(0); }
    50% { transform: translateZ(50px) translateY(-15px); }
}

/* RESPONSIVE */
/* --- MOBİL İÇİN TAMİR EDİLMİŞ RESPONSIVE AYARLAR --- */
@media (max-width: 992px) {
    .ozel-tasarim-home-kurumsal-section {
        padding: 60px 0; /* Boşluğu mobilde azalttık */
    }

    .ozel-tasarim-home-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .ozel-tasarim-home-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2; /* Yazıyı aşağıya, görseli yukarıya aldık (Mobil deneyimi için daha iyi) */
    }

    .ozel-tasarim-home-visual-area {
        order: 1;
        height: auto;
        padding: 0;
        perspective: none; /* 3D derinliği kapattık */
    }

    .ozel-tasarim-home-scene {
        transform: none !important; /* Döndürmeyi sıfırladık */
        display: flex;
        justify-content: center;
    }

    /* Ana Grafik Alanı Mobilde Tam Genişlik */
    .ozel-tasarim-home-card-main {
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        margin: 0 auto;
        width: 100%;
        max-width: 500px; /* Tabletlerde çok yayılmasın */
        height: 280px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    /* Mobilde süzülen karmaşık kartları gizliyoruz */
    .ozel-tasarim-home-card-tools,
    .ozel-tasarim-home-card-colors {
        display: none !important;
    }

    .ozel-tasarim-home-main-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .ozel-tasarim-home-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .ozel-tasarim-home-cta-wrapper {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .ozel-tasarim-home-main-btn {
        width: 100%; /* Mobilde buton tam genişlik */
        justify-content: center;
    }

    .ozel-tasarim-home-feature-list {
        border-left: none;
        border-top: 1px solid var(--ot-home-border);
        padding: 20px 0 0 0;
        justify-content: center;
        width: 100%;
    }
    .ozel-tasarim-home-card-tools,
    .ozel-tasarim-home-card-colors {
        display: flex !important; /* Gizlemeyi kaldırdık */
        position: absolute !important;
        transform: none !important; /* 3D efektini sıfırladık */
        animation: none !important; /* Mobilde titrememesi için animasyonu durdurduk */
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }

    /* Araç Paneli: Sol alt köşeye sabitle */
    .ozel-tasarim-home-card-tools {
        width: 110px !important;
        top: auto !important;
        bottom: 20px !important;
        left: -10px !important; /* Hafif dışarı taşırarak derinlik verdik */
        padding: 8px !important;
        gap: 6px !important;
    }

    /* Renk Paleti: Sağ üst köşeye sabitle */
    .ozel-tasarim-home-card-colors {
        top: 40px !important;
        right: -20px !important;
        bottom: auto !important;
        padding: 6px !important;
        gap: 6px !important;
    }

    /* İçerik boyutlarını biraz küçültelim */
    .ozel-tasarim-home-tool-item {
        padding: 4px !important;
    }

    .ozel-tasarim-home-dot {
        width: 18px !important;
        height: 18px !important;
    }

    /* Ana kartın mobilde taşmaları göstermesi için */
    .ozel-tasarim-home-visual-area {
        padding: 20px 10px !important; /* Kartların taşması için yanlardan boşluk */
    }
}

/*ANASAYFA ÖZEL TASARIM*/
