/*
Theme Name: Talay Hirdavat
Author: Talay Hırdavat
Version: 1.0
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,600;0,800;1,500;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* HEADER / NAVİGASYON */
header {
    background-color: #eef6ff;
    border-bottom: 2px solid #d0e3ff;
    box-shadow: 0 4px 15px rgba(0,72,117,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 5% 0 5%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
}

.product-search-container {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #004875;
    border-radius: 25px;
    overflow: hidden;
    padding: 3px 6px 3px 16px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 8px rgba(0, 72, 117, 0.3);
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #1e293b;
    background: transparent;
}

.search-box button {
    background: #004875;
    color: #ffffff;
    border: none;
    outline: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-box button:hover {
    background: #191a66;
}

.search-filter-tag {
    font-size: 11px;
    color: #004875;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 12px;
}

nav {
    width: 100%;
    border-top: 1px solid rgba(0, 72, 117, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

nav a {
    text-decoration: none;
    color: #004875;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
}

nav a:hover, nav a.active {
    color: #db0e0e;
}

/* DROPDOWN (AÇILIR MENÜ) STİLLERİ */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 72, 117, 0.15);
    border-radius: 8px;
    border-top: 3px solid #004875;
    padding: 8px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #eef6ff;
    color: #004875;
    padding-left: 22px;
    font-weight: 600;
}

/* SLIDER ALANI (SABİT DÜZELTME YAPILDI) */
.hero-slider-section,
.hero-slider-section .slides-wrapper,
.hero-slider-section .slide {
    position: relative;
    width: 100% !important;
    height: 500px !important; /* Ekranın taşmaması ve ÖNE ÇIKANLAR'ın sığması için ideal yükseklik */
    max-height: 500px !important;
    min-height: 500px !important;
    overflow: hidden;
    background-color: #0f172a;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Resmi oranını bozmadan alanı kaplayacak şekilde kırpar */
    object-position: center;     /* Görselin merkezini odaklar */
    filter: brightness(0.7);
}
.slider-container { /* Kendi slider kapsayıcı class adınızı yazın */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.slider-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(20px);
    transition: transform 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 10px 26px;
    background-color: #004875;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #191a66;
    transform: translateY(-2px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #0f172a;
}

.arrow-prev { left: 25px; }
.arrow-next { right: 25px; }

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 10px;
}

/* Mobil Yükseklik Uyumlaması */
@media (max-width: 768px) {
    .hero-slider-section,
    .hero-slider-section .slides-wrapper,
    .hero-slider-section .slide {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
    }
}

/* ÜRÜNLER ALANI DÜZENİ */
.products-page-container {
    display: flex;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
    position: relative;
}

/* SOL KATEGORİ MENÜSÜ */
.sidebar-categories {
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    flex-shrink: 0;
    padding: 15px 0;
    height: fit-content;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #004875;
    padding: 0 20px 15px 20px;
    border-bottom: 2px solid #eef6ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list { list-style: none; margin-top: 10px; }
.category-item { position: relative; }

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.category-item:hover .category-link {
    background-color: #eef6ff;
    color: #004875;
    font-weight: 600;
    border-left-color: #004875;
}

/* SAĞ ÜRÜNLER İÇERİK ALANI */
.products-content { flex: 1; }
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 8px;
}

.product-card .price {
    font-size: 16px;
    font-weight: 700;
    color: #004875;
}

/* FOOTER */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    font-size: 14px;
}
/* SOL BÜYÜK RESİM ÖNİZLEME KUTUSU */
.category-preview-box {
    position: absolute;
    left: -240px;
    top: 0;
    width: 220px;
    height: 220px;
    background: #ffffff;
    border: 2px solid #004875;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(10px);
    z-index: 99;
    pointer-events: none;
}

.category-preview-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.category-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RESİM KUTUSU */
.category-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-img-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f8fafc;
    padding: 4px;
    flex-shrink: 0;
}

.category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-item:hover .category-img-box img {
    transform: scale(1.1);
}

/* "TÜMÜ" ÖZEL STİLİ */
.category-item.all-categories .category-link {
    background-color: #004875;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    margin: 0 10px 10px 10px;
}

.category-item.all-categories .category-link i {
    color: #ffffff !important;
}

.category-item.all-categories:hover .category-link {
    background-color: #db0e0e;
    color: #ffffff;
}

/* YAN AÇILIR MENÜ (SCOLLBAR DESTEKLİ) */
.sub-group-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 320px;
    max-height: 520px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 72, 117, 0.15);
    border: 1px solid #e2e8f0;
    border-left: 3px solid #004875;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.sub-group-menu::-webkit-scrollbar { width: 6px; }
.sub-group-menu::-webkit-scrollbar-track { background: #f1f5f9; }
.sub-group-menu::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.sub-group-menu::-webkit-scrollbar-thumb:hover { background: #004875; }

.category-item:hover .sub-group-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(5px);
}

.sub-group-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px;
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.sub-group-menu li a .count-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.sub-group-menu li a:hover {
    background-color: #f1f5f9;
    color: #db0e0e;
    font-weight: 600;
}

.sub-group-menu li a:hover .count-badge {
    background: #db0e0e;
    color: #ffffff;
}
/* Ana Kapsayıcı Konumu */
.products-page-container {
    display: flex;
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
    gap: 30px;
    position: relative; /* Önizleme kutusunun buna göre konumlanması için şart */
}

/* Önizleme Kutusu (Sol Taraftaki Büyük Resim) */
.category-preview-box {
    position: absolute;
    left: -240px; /* Menünün solunda durmasını sağlar */
    top: 0;
    width: 220px;
    height: 220px;
    background: #ffffff;
    border: 2px solid #004875;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(10px);
    z-index: 99;
    pointer-events: none;
}

/* Fare Üstüne Geldiğinde Kutuyu Göster */
.category-preview-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.category-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Kategori Resim Kutusu */
.category-img-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f8fafc;
    padding: 4px;
    flex-shrink: 0;
}

/* Kategori Resmi Varsayılan Hali */
.category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Yumuşak büyüme efekti */
}

/* İMLEÇ (HOVER) ÜZERİNE GELDİĞİNDE RESMİ BÜYÜT */
.category-item:hover .category-img-box img {
    transform: scale(1.35); /* Resim %35 oranında büyür */
}
/* SECTION BAŞLIĞI (İki Tarafı Çizgili) */
.featured-section-title {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 30px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-section-title::before,
.featured-section-title::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #8B1D24; /* Görseldeki bordo/kırmızı çizgi */
}

.featured-section-title span {
    padding: 0 20px;
}

/* ÜRÜN GRID YAPISI */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ÜRÜN KARTI */
.featured-product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.3s ease;
}

.featured-product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* RESİM KUTUSU VE YAKINLAŞMA (ZOOM) EFEKTİ */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden; /* Resim büyüdüğünde dışarı taşmasını engeller */
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease; /* Akıcı yakınlaşma efekti */
}

/* HOVER: Resmin üstüne gelince yakınlaşma */
.featured-product-card:hover .product-image-wrapper img {
    transform: scale(1.12); /* Resim %12 oranında yakınlaşır */
}

/* ETİKETLER (YENİ / İNDİRİM) */
.badge-new {
    position: absolute;
    top: 0;
    left: 0;
    background: #e11d48;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    transform: rotate(-45deg) translate(-18px, -8px);
    width: 80px;
    text-align: center;
    z-index: 2;
}

.badge-discount {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #e11d48;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    z-index: 2;
}

/* BİLGİ VE FİYAT ALANI */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    height: 38px;
    overflow: hidden;
    text-decoration: none;
}

.product-rating {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .stars {
    color: #cbd5e1;
}

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.current-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

/* FAVORİ (KALP) VE EKLE BUTONLARI */
.wishlist-btn {
    position: absolute;
    right: 15px;
    bottom: 55px;
    background: none;
    border: none;
    color: #e11d48;
    font-size: 16px;
    cursor: pointer;
}

.add-to-cart-btn {
    background: #e11d48; /* Görseldeki kırmızı buton */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background: #be123c;
}
/* MARKA BÖLÜMÜ GRID YAPISI */
.brand-banners-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.brand-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Ekran küçüldüğünde mobil uyum */
@media (max-width: 992px) {
    .brand-banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .brand-banners-grid {
        grid-template-columns: 1fr;
    }
}

/* MARKA KARTI */
.brand-banner-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    background: #000;
}

/* ARKA PLAN RESMİ VE YAKINLAŞMA EFEKTİ */
.brand-image-box {
    position: relative;
    width: 100%;
    height: 380px; /* Kart yüksekliği */
    overflow: hidden;
}

.brand-image-box img.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover yapılınca resim yakınlaşsın */
.brand-banner-card:hover .brand-image-box img.bg-image {
    transform: scale(1.08);
}

/* MARKA LOGOSU (Resmin üzerindeki alt logo) */
.brand-logo-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 70%;
    max-height: 45px;
    object-fit: contain;
    z-index: 2;
}

/* KIRMIZI "ÜRÜNLERİ GÖSTER" BUTONU */
.brand-btn {
    background: #e11d48; /* Görseldeki kırmızı renk */
    color: #ffffff;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    z-index: 2;
}

.brand-banner-card:hover .brand-btn {
    background: #be123c;
}
/* TEMA RENGİ AYARLARI (#004875 Lacivert) */

/* Breadcrumb */
.breadcrumb-bar {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}
.breadcrumb-bar .active {
    color: #004875;
    font-weight: 700;
}

/* Sol Filtre / Stok Kutusu */
.sidebar-filter-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.filter-checkbox input {
    accent-color: #004875;
    width: 16px;
    height: 16px;
}

/* ÜRÜN KARTLARI */
.custom-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.custom-product-card:hover {
    border-color: #004875;
    box-shadow: 0 8px 20px rgba(0,72,117,0.12);
}

.badge-new-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #004875;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-img-holder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.product-img-holder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.custom-product-card:hover .product-img-holder img {
    transform: scale(1.08);
}

.product-sku {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
}

.product-title-text {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-title-text a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.product-title-text a:hover {
    color: #004875;
}

/* İLETİŞİME GEÇ BUTONU */
.contact-trigger-btn {
    width: 100%;
    background: #004875;
    color: #ffffff;
    border: none;
    padding: 10px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-trigger-btn:hover {
    background: #003354;
}

/* MODAL (AÇILIR PENCERE) STİLLERİ */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-header-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    color: #004875;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.modal-product-name {
    font-size: 13px;
    font-weight: 700;
    color: #004875;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    text-align: left;
    transition: all 0.2s ease;
}

.contact-info-item:hover {
    border-color: #004875;
    background: #f8fafc;
}

.contact-info-item i {
    font-size: 20px;
    color: #004875;
}

.contact-info-item.whatsapp i {
    color: #22c55e;
}

.contact-info-item div {
    display: flex;
    flex-direction: column;
}

.contact-info-item strong {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

.contact-info-item span {
    font-size: 14px;
    font-weight: 700;
}
/* SINGLE PRODUCT YAPISI */
.single-product-container {
    max-width: 1250px;
    margin: 30px auto;
    padding: 0 20px;
}

.product-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
}
.product-breadcrumb a { color: #64748b; text-decoration: none; }
.product-breadcrumb .active { color: #004875; font-weight: 700; }

.product-main-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* GALERİ VE BÜYÜTEÇ */
.product-gallery-section {
    display: flex;
    gap: 15px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-item {
    width: 65px;
    height: 65px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.thumb-item.active, .thumb-item:hover {
    border-color: #004875;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ANA RESİM VE ZOOM */
.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in; /* Büyüteç imleci */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
}

.zoom-icon-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 72, 117, 0.8);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

/* SAĞ İÇERİK */
.single-product-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-meta-codes {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.product-custom-notice {
    background: #f0f7ff;
    border-left: 4px solid #004875;
    padding: 12px 15px;
    font-size: 13px;
    color: #004875;
    border-radius: 4px;
    margin-bottom: 25px;
}

.single-contact-btn {
    width: 100%;
    background: #004875;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.single-contact-btn:hover { background: #003354; }

.quick-contact-pills {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #334155;
}

.quick-contact-pills i { color: #004875; margin-right: 8px; }

/* AKORDEON MENÜ */
.product-accordion-section {
    border-top: 2px solid #e2e8f0;
    padding-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 20px;
}

.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-specs-table th, .tech-specs-table td {
    padding: 10px;
    border: 1px solid #f1f5f9;
    text-align: left;
}

.tech-specs-table th { background: #f8fafc; color: #004875; width: 30%; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .product-main-layout { grid-template-columns: 1fr; }
    .product-gallery-section { flex-direction: column-reverse; }
    .product-thumbnails { flex-direction: row; }
}
/* ARAMA KUTUSU VE ÖNERİ LİSTESİ STİLLERİ */
.live-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.search-input-box {
    display: flex;
    align-items: center;
    border: 2px solid #004875; /* Tema Rengin */
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.search-input-box input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #1e293b;
}

.search-btn {
    background: #004875;
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
}

/* ALT TARAFTA AÇILAN ÖNERİ AÇILIR MENÜSÜ */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    max-height: 380px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f0f7ff;
}

.search-item-img {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-item-info {
    display: flex;
    flex-direction: column;
}

.search-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.search-item-code {
    font-size: 11px;
    color: #004875;
    font-weight: 600;
    margin-top: 2px;
}

.search-no-result {
    padding: 15px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}
/* MEVCUT YAZIYI VE LOGOYU BOZMADAN YAN YANA HİZALAMA */
.site-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important; /* Logo ile yazı arasındaki mesafe */
}

.header-inline-logo {
    height: 65px; /* Logonun yüksekliği */
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}
/* SAYFA AŞAĞI KAYDIRILDIĞINDA (SCROLLED) */
header.scrolled {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;        /* Gölgeyi kaldırır */
    backdrop-filter: none !important;
    border: none !important;            /* ALT ÇİZGİYİ / BORDER'I KALDIRIR */
    border-bottom: none !important;     /* Alt kenarlık garantisi */
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Header içindeki olası alt çizgileri ve kapsayıcı kenarlıklarını sıfırla */
header.scrolled *,
header.scrolled .header-container {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* Kaydırma esnasında arama kutusunu ve butonunu görünür tut */
header.scrolled .live-search-wrapper,
header.scrolled .search-input-box,
header.scrolled form[role="search"],
header.scrolled form.search-form,
header.scrolled .header-search,
header.scrolled input[type="text"],
header.scrolled input[type="search"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* Mobil görünümde taşmayı önlemek için esneklik ayarı */
header.scrolled .live-search-wrapper {
    max-width: 100%;
}
/* FOOTER GENEL YAPISI */
.site-footer {
    background-color: #2d2d2d; /* Görseldeki koyu gri renk */
    color: #cccccc;
    padding: 50px 0 30px 0;
    font-family: inherit;
    font-size: 13px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SÜTUNLAR */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.footer-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* SOSYAL MEDYA İKONLARI */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    color: #2d2d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.2s, background 0.2s;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background-color: #004875;
    color: #ffffff;
}

/* FİRMA BİLGİSİ */
.footer-company-info {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #a0a0a0;
}

.footer-company-info strong {
    color: #ffffff;
}

/* KIZIL/KIRMIZI AYRAÇ ÇİZGİSİ */
.footer-divider {
    border: none;
    border-top: 1px solid #8b0000; /* Görseldeki kırmızı çizgi */
    margin: 25px 0;
}

/* GÜVENLİK VE ÖDEME ROZETLERİ */
.footer-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.badge-item {
    border: 1px solid #555555;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 11px;
    color: #dddddd;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons span {
    border: 1px solid #555555;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: #3a3a3a;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}
/* PANELDEN EKLENEN SOSYAL MEDYA İKONLARI DÜZELTMESİ */
.footer-socials .social-widget-item,
.footer-socials .widget_custom_html {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.footer-socials a {
    width: 36px !important;
    height: 36px !important;
    background-color: #ffffff !important;
    color: #2d2d2d !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: transform 0.2s, background 0.2s !important;
}

.footer-socials a:hover {
    transform: translateY(-3px) !important;
    background-color: #004875 !important;
    color: #ffffff !important;
}
/* Stoktakiler ve Yeni Ürünler kutusunu düzeni bozmadan gizler */
.sidebar-col-categories .sidebar-box:nth-child(2),
.sidebar-col-categories label:has(input[value*="stock"]),
.sidebar-col-categories label:has(input[value*="new"]) {
    display: none !important;
}
/* B2B Kullanıcı Açılır Menü Tasarımı */
.b2b-user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.b2b-user-btn {
    background-color: #1e293b;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.b2b-user-btn:hover {
    background-color: #0f172a;
}

.b2b-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 9999;
    padding: 10px 0;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

.b2b-dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 8px 16px;
    font-size: 13px;
    color: #64748b;
}

.dropdown-header strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
}

.b2b-dropdown-content hr {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 6px 0;
}

.b2b-dropdown-content a {
    color: #334155;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.b2b-dropdown-content a:hover {
    background-color: #f8fafc;
    color: #2563eb;
}

.b2b-dropdown-content a.logout-link {
    color: #ef4444;
}

.b2b-dropdown-content a.logout-link:hover {
    background-color: #fef2f2;
}
/* B2B Siparişlerim Tablo Ve Sayfa Düzeni */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    font-family: 'Exo 2', sans-serif;
}

.woocommerce-orders-table th {
    background-color: #191a66;
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 700;
    text-align: left;
}

.woocommerce-orders-table td {
    background: #ffffff;
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.woocommerce-orders-table__cell-order-actions .button {
    background-color: #004875 !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.woocommerce-orders-table__cell-order-actions .button:hover {
    background-color: #db0e0e !important;
}
/* Mini Sepet / Alt Kutu Yükseklik ve İçerik Düzenleme */
.b2b-mini-cart, 
.mini-cart-drawer,
.sticky-cart-bar,
#b2b-cart-popup {
    max-height: 80vh !important; /* Ekranın %80'ine kadar uzayabilsin */
    height: auto !important;
    overflow-y: auto !important; /* İçerik taşarsa kaydırma çubuğu çıksın */
}

/* Sepet Liste İçeriği Tablosu/Kapsayıcısı */
.b2b-cart-items,
.mini-cart-content,
.widget_shopping_cart_content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

/* Tablo satırlarının gizlenmesini veya sıkışmasını engelleme */
.mini-cart-content table,
.b2b-cart-items table {
    width: 100% !important;
    margin-bottom: 15px !important;
}
/* B2B Giriş & Kullanıcı Kutusu Özel Blok Tasarımı */
.header-b2b-wrapper {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

/* Çerçeveli & Dolgulu B2B Giriş Butonu */
a.b2b-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #191a66; /* Kurumsal lacivert zemin */
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px; /* Yuvarlatılmış blok köşeler */
    border: 2px solid #db0e0e; /* Dikkat çeken kırmızı dış çerçeve */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Hafif gölge ile öne çıkarma */
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover (Üzerine Gelince) Efekti */
a.b2b-login-btn:hover {
    background-color: #db0e0e; /* Kırmızıya dönüşüm */
    color: #ffffff !important;
    border-color: #191a66;
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 6px 14px rgba(219, 14, 14, 0.3);
}

/* Giriş Yaptıktan Sonraki Kullanıcı Profil Bloğu */
.b2b-user-btn {
    background-color: #f4f6f9;
    border: 2px solid #191a66;
    color: #191a66;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.b2b-user-btn:hover {
    background-color: #eef2f8;
}
/* Stok Butonu Genel Görünümü */
.b2b-stock-btn {
    display: inline-block;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Stokta Var (Yeşil) */
.b2b-in-stock {
    background-color: #28a745; /* Canlı bir yeşil tonu */
    border: 1px solid #218838;
}

/* Stokta Yok (Kırmızı) */
.b2b-out-of-stock {
    background-color: #dc3545; /* Belirgin bir kırmızı tonu */
    border: 1px solid #c82333;
}

/* WooCommerce'in kendi stok uyarı metni rengini sıfırlama (çakışmayı önlemek için) */
p.stock.in-stock, p.stock.out-of-stock {
    color: inherit !important;
}
/* Sayfa genişliğini ekran boyutuyla sınırla ve taşan kısımları gizle */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Banner / Slider kapsayıcısının dışarı taşmasını engelle */
.hero-slider, 
.slider-container, 
.header-container,
.main-wrapper {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
/* 1. Sayfa geneli ve slider taşmasını sıfırla */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Slider kapsayıcısını ve içindeki görselleri ekrana tam sığdır */
.hero-slider,
.slider-container,
.swiper,
.owl-carousel,
.slick-slider {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* 3. Slider içindeki resimlerin dışarı taşmasını engelle */
.hero-slider img,
.slider-container img,
.swiper-slide img,
.slick-slide img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}
/* --- KESİN HİZALAMA (GRID YAPISI) --- */
.header-container {
    width: 100% !important;
    max-width: 100% !important; /* Temanın kapsayıcı sınırını kaldırır */
    padding: 10px 30px !important; /* Ekran kenarlarından hafif nefes alma payı */
    display: grid !important;
    grid-template-columns: auto 1fr auto !important; /* Sol: Logo, Orta: Arama (Esnek), Sağ: Menü */
    align-items: center !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

/* 1. LOGO KESİN EN SOLDA */
.site-logo { 
    grid-column: 1 !important;
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    text-decoration: none !important; 
    margin: 0 !important;
    justify-self: start !important; /* En sola kilitler */
}

/* 2. ARAMA KUTUSU KESİN TAM ORTADA */
.live-search-wrapper { 
    grid-column: 2 !important;
    justify-self: center !important; /* Kendi sütununun tam ortasına kilitler */
    width: 100% !important;
    max-width: 480px !important; /* Çok uzayıp bozulmasını engeller */
    margin: 0 auto !important;
}

.search-input-box {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 42px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 25px !important;
    padding: 3px 6px 3px 18px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.search-input-box input#searchInput {
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background: transparent !important;
    padding: 0 !important;
}

.search-input-box button.search-btn {
    height: 34px !important;
    width: 34px !important;
    min-width: 34px !important; /* Büzülmesini önler */
    background-color: #004875 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
}

/* 3. MENÜ VE BUTONLAR KESİN EN SAĞDA */
.main-navigation { 
    grid-column: 3 !important;
    justify-self: end !important; /* En sağa kilitler */
    margin: 0 !important;
}
/* --- KESİN VE SERT ÇÖZÜM (ABSOLUTE LAYOUT) --- */

/* 1. Header Kapsayıcısını Esnek ve Sıfır Boşluklu Yapıyoruz */
header.site-header {
    position: relative !important;
    width: 100% !important;
    background-color: #eef6ff !important;
}

.header-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Arama kutusunu merkeze almak için */
    min-height: 65px !important;
    box-sizing: border-box !important;
}

/* 2. LOGO: Ekranın/Header'ın Kesin En Soluna Çivilenir */
.site-logo { 
    position: absolute !important;
    left: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    text-decoration: none !important; 
    z-index: 10 !important;
}

/* 3. ARAMA KUTUSU: Tam Ortada Serbestçe Genişler */
.live-search-wrapper { 
    position: relative !important;
    width: 100% !important;
    max-width: 440px !important; /* Arama kutusunun ideal genişliği */
    margin: 0 auto !important;
    z-index: 5 !important;
}

.search-input-box {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 20px !important;
    padding: 2px 4px 2px 16px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
}

.search-input-box input#searchInput {
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background: transparent !important;
}

.search-input-box button.search-btn {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    background-color: #004875 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
}

/* 4. MENÜ VE BUTONLAR: Ekranın/Header'ın Kesin En Sağına Çivilenir */
.main-navigation { 
    position: absolute !important;
    right: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important; /* Butonların büzüşmesini/sıkışmasını engeller */
}
/* TEMANIN SIKIŞTIRMA KURALINI %100 EZEN CSS FIX */
header.site-header {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

header.site-header .header-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

header.site-header .site-logo {
    position: static !important;
    transform: none !important;
    margin-right: auto !important;
}

header.site-header .live-search-wrapper {
    position: static !important;
    flex: 0 1 450px !important;
    margin: 0 20px !important;
}

header.site-header .main-navigation {
    position: static !important;
    transform: none !important;
    margin-left: auto !important;
}
/* ==========================================================================
   TALAY HIRDAVAT - GÜNCEL HEADER VE HERO SLIDER BASTIRMA STİLLERİ
   ========================================================================== */

/* 1. SAYFA TAŞMALARINI VE MARGIN/PADDING DEĞERLERİNİ SIFIRLAMA */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

*, *:before, *:after {
    box-sizing: border-box !important;
}

/* 2. HEADER YAYILMA VE HİZALAMA DÜZELTMELERİ */
header.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background-color: #eef6ff !important;
    border-bottom: 1px solid #d0e3ff !important;
    width: 100% !important;
    height: 75px !important;
    display: flex !important;
    align-items: center !important;
}

.header-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

/* 3. HERO SLIDER EKRANI TAM SIĞDIRMA (100vh) */
.hero-slider-section {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider-section .slides-wrapper {
    position: relative !important;
    width: 100% !important;
    height: calc(100vh - 75px) !important; /* Header yüksekliği düşülmüş tam ekran */
    min-height: 500px !important;
    
}

.hero-slider-section .slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    transition: opacity 0.6s ease-in-out !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-slider-section .slide.active {
    opacity: 1 !important;
    z-index: 1 !important;
}

.hero-slider-section .slide img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* 4. ARAMA KUTUSU VE MENÜ SAĞA TAŞMA ENGELLEYİCİ */
.live-search-wrapper { 
    position: relative !important;
    flex: 1 1 420px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.main-navigation { 
    flex-shrink: 0 !important;
    display: flex !important; 
}

.main-navigation ul { 
    display: flex !important; 
    gap: 12px !important; 
    list-style: none !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    align-items: center !important; 
}

.main-navigation ul li a { 
    white-space: nowrap !important; 
}
/* CANLI ARAMA DROPDOWN STİLİ */
.search-results-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
    margin-top: 5px !important;
    overflow: hidden !important;
    display: none;
}

.search-result-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.search-item-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: background 0.2s ease !important;
}

.search-item-link:hover {
    background-color: #f1f5f9 !important;
}

.search-img img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

.search-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.search-title {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #191a66 !important;
}

.search-sku {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 11px !important;
    color: #64748b !important;
}
/* ==========================================================================
   EZİLEN NAV VE HEADER STİLLERİNİ BASTIRMA (SPECIFICITY FIX)
   ========================================================================== */

/* 1. HTML ve Body Düzeyinde Taşma Önleme */
html body,
html body.woocommerce {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* 2. Header Kapsayıcısını ve Nav'ı Esnetme */
html body header.site-header,
html body #masthead,
html body .site-header {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 3. display: block Kuralını Ezerek Flex Yapma */
html body header nav,
html body header .main-navigation,
html body nav.main-navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
}

/* 4. Nav İçindeki Liste Elemanlarını Hizalama */
html body header nav ul,
html body header .main-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 5. Arama Kutusunun Esnekliğini (Flex) Zorlama */
html body header .live-search-wrapper,
html body header .product-search-container {
    display: flex !important;
    flex: 1 1 450px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}
/* Giriş yapılmadığında fiyat alanını gizler */
body:not(.logged-in) .price,
body:not(.logged-in) .amount {
    display: none !important;
}
/* Slider Konteynır Alanını Sabitleme ve Oranlama */
.slider-container,
.hero-slider,
.swiper-container,
.slick-slider,
.owl-carousel {
    width: 100% !important;
    max-height: 500px !important; /* Masaüstü için ideal maksimum yükseklik */
    overflow: hidden !important;
    position: relative !important;
}

/* Slider İçindeki Görsellerin Alana Tam Oturması */
.slider-container img,
.hero-slider img,
.swiper-slide img,
.slick-slide img,
.owl-carousel img {
    width: 100% !important;
    height: 100% !important;
    max-height: 500px !important;
    object-fit: cover !important; /* Görselin oranını bozmadan alanı doldurur */
    object-position: center !important; /* Görseli tam ortalar */
    display: block !important;
}

/* Ekran Küçüldüğünde (Tablet ve Mobil) Yüksekliği Orantılı Daraltma */
@media (max-width: 992px) {
    .slider-container,
    .hero-slider,
    .swiper-container,
    .slick-slider,
    .slider-container img,
    .hero-slider img {
        max-height: 350px !important;
    }
}

@media (max-width: 576px) {
    .slider-container,
    .hero-slider,
    .swiper-container,
    .slick-slider,
    .slider-container img,
    .hero-slider img {
        max-height: 220px !important;
    }
}
/* ==========================================================================
   SLIDER SABİT EN/BOY ORANI VE YÜKSEKLİK ZORLAMASI
   ========================================================================== */

/* 1. Slider Kapsayıcılarını Zorla Sınırla */
.slider-container,
.hero-slider,
.home-slider,
.swiper,
.swiper-container,
.slick-slider,
.slick-list,
.slick-track {
    height: auto !important;
    max-height: 480px !important;
    aspect-ratio: 16 / 6 !important; /* Masaüstü ekran oranı */
    overflow: hidden !important;
    position: relative !important;
}



/* 3. Mobil ve Tablet Ekran Oranları */
@media screen and (max-width: 992px) {
    .slider-container,
    .hero-slider,
    .home-slider,
    .swiper,
    .swiper-container,
    .slick-slider,
    .slick-list,
    .swiper-slide img,
    .slick-slide img {
        max-height: 320px !important;
        aspect-ratio: 16 / 8 !important;
    }
}

@media screen and (max-width: 576px) {
    .slider-container,
    .hero-slider,
    .home-slider,
    .swiper,
    .swiper-container,
    .slick-slider,
    .slick-list,
    .swiper-slide img,
    .slick-slide img {
        max-height: 200px !important;
        aspect-ratio: 16 / 9 !important;
    }
}
/* ==========================================================================
   SLIDER ALTINDAKİ KOYU RENK BOŞLUĞU SIFIRLAMA
   ========================================================================== */

/* 1. Slider kapsayıcılarının arka planını şeffaf yapıp yüksekliği resme kilitler */
.slider-container,
.hero-slider,
.home-slider,
.swiper,
.swiper-container,
.slick-slider,
.slick-list,
.slick-track,
.swiper-wrapper,
.swiper-slide,
.slick-slide {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    line-height: 0 !important; /* Inline resim boşluğunu yok eder */
    font-size: 0 !important;
}

/* 2. Resimlerin alanı tam doldurmasını sağlar ve alt boşluğu sıfırlar */
.slider-container img,
.hero-slider img,
.home-slider img,
.swiper-slide img,
.slick-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ==========================================================================
   SLIDER ZOOM & DİNAMİK ÖLÇEK SOĞURUCU SISTEM
   ========================================================================== */

/* 1. Slider Ana Konteyneri (Oran Bazlı Esneklik) */
.hero-slider-section {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    /* Sabit height yerine aspect-ratio kullanarak zoom kaymalarını engelliyoruz */
    aspect-ratio: 16 / 6 !important; 
    min-height: 280px !important;
    max-height: 500px !important;
}

/* 2. Slayt Taşıyıcı ve Slayt Katmanları */
.hero-slider-section .slides-wrapper,
.hero-slider-section .slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider-section .slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hero-slider-section .slide.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. Görsel Esnetme Koruması (Zoom Yapınca Bozulmayı Engeller) */
.hero-slider-section img,
.slider-container img,
.hero-slider img,
.home-slider img,
.swiper-slide img,
.slick-slide img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Görselin basıklaşmasını veya uzamasını engeller, orijinal oranla merkeze sığdırır */
    object-fit: cover !important;
    object-position: center center !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Gezinti Butonları ve Noktalar (Zoom Uyumlulaştırma) */
.hero-slider-section .prev-btn,
.hero-slider-section .next-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border: none !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-slider-section .prev-btn:hover,
.hero-slider-section .next-btn:hover {
    background: #d61f26 !important;
}

.hero-slider-section .prev-btn { left: 15px !important; }
.hero-slider-section .next-btn { right: 15px !important; }

.hero-slider-section .dots-wrapper {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    display: flex !important;
    gap: 8px !important;
}

.hero-slider-section .dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer !important;
}

.hero-slider-section .dot.active {
    background: #d61f26 !important;
    width: 24px !important;
    border-radius: 5px !important;
}

/* 5. Mobil ve Küçük Ekran Koruması */
@media (max-width: 768px) {
    .hero-slider-section {
        aspect-ratio: 16 / 9 !important;
        min-height: 200px !important;
    }
}
/* VİDEO VE YÜZEN ÜRÜN HİZALAMA */
.video-product-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.video-side-box {
    flex: 1 1 350px !important;
    display: flex !important;
    justify-content: center !important;
}

.floating-side-box {
    flex: 1 1 350px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.floating-product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* KESİNTİSİZ AŞAĞI YUKARI HAREKET ETMESİ İÇİN ANİMASYON */
.floating-matkap-img {
    max-width: 280px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15)) !important;
    animation: matkapFloat 3s ease-in-out infinite !important;
}

.floating-matkap-shadow {
    width: 180px !important;
    height: 14px !important;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 75%) !important;
    border-radius: 50% !important;
    margin: 10px 0 20px 0 !important;
    animation: matkapShadow 3s ease-in-out infinite !important;
}

.btn-floating-detail {
    background-color: #db0e0e !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(219, 14, 14, 0.3) !important;
}

.btn-floating-detail:hover {
    background-color: #191a66 !important;
    transform: translateY(-2px) !important;
}

/* ANIMATION KEYFRAMES */
@keyframes matkapFloat {
    0% {
        transform: translateY(0px) !important;
    }
    50% {
        transform: translateY(-22px) !important;
    }
    100% {
        transform: translateY(0px) !important;
    }
}

@keyframes matkapShadow {
    0% {
        transform: scale(1) !important;
        opacity: 0.6 !important;
    }
    50% {
        transform: scale(0.6) !important;
        opacity: 0.2 !important;
    }
    100% {
        transform: scale(1) !important;
        opacity: 0.6 !important;
    }
}

/* MOBİL UYUM (Mobilde alt alta geçer) */
@media (max-width: 768px) {
    .video-product-row {
        gap: 30px !important;
    }
    .floating-matkap-img {
        max-width: 220px !important;
    }
}