/*
 * Koray Oto Kılıf: tema iyileştirmeleri (style.css ve site.css'ten sonra yüklenir).
 * Temanın (Mooncart) kendi dili korunur: yeşil #0D775E, koyu #24262B, DM Sans başlık + Roboto metin, 6px köşe.
 * Yalnızca ince yazı ağırlıkları, okunabilirlik ve birkaç bileşen düzeltilir; yeni görsel dil eklenmez.
 */
:root {
    --headings-font-weight: 700;
    --headings-font-weight2: 500;
    --headings-font-weight3: 500;
}

/* Yazı: tema 100/300 ağırlıklar kullanıyordu; metin 400, ara başlık 600, başlık 700 */
body { font-weight: 400; color: #3d3f45; -webkit-font-smoothing: antialiased; }
p, li, td, label, .text, .para-text { font-weight: 400; }
h1, .h1, h2, .h2, h3, .h3 { font-weight: 700; }
h4, .h4, h5, .h5, h6, .h6, .title, .dz-title, .widget-title, .footer-title { font-weight: 600; }
strong, b { font-weight: 700; }
.lead, .fw-light, .font-weight-300, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6, del,
.contact-info.style-1 .contact-bottom ul li, .dz-shop-card.style-2 .dz-content .dz-body .dz-para,
.main-slider.style-1 .banner-content .sub-title, .widget_categories.style-1 .cat-item:before {
    font-weight: 400 !important;
}
.text-muted { color: #6b6e75 !important; }

/* Üst menü tek satırda */
.header-nav .nav { flex-wrap: nowrap; }
.header-nav .nav > li > a { white-space: nowrap; }

/* Mobil üst menü: araç ve arama simgeleri logo satırında */
@media (max-width: 991.98px) {
    .site-header .main-bar .container-fluid { position: relative; }
    .site-header .extra-nav {
        position: absolute; top: 0; right: 62px; height: 80px;
        width: auto !important; left: auto !important; float: none; padding: 0;
        display: flex; align-items: center; z-index: 10; background: transparent !important;
    }
    .site-header .extra-nav .extra-cell, .site-header .extra-nav .header-right { width: auto !important; background: transparent !important; display: flex; align-items: center; margin: 0; }
    .site-header .header-right .arac-link .nav-link { padding: 8px 10px; }
}

/* Ürün kartları */
.shop-card { height: 100%; }
.shop-card .dz-content .title, .shop-card .dz-content .title a { font-weight: 600; line-height: 1.35; }

/* Alt iletişim bandı: temanın koyu "Bir sorum var?" şeridi gibi düz */
.alt-cta { padding: 0 0 60px; }
.alt-cta-kutu {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 34px 40px; border-radius: var(--border-radius-base, 6px);
    background: var(--secondary, #24262B); color: #fff;
}
.alt-cta-kutu h2 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.alt-cta-kutu p { margin: 0; color: rgba(255, 255, 255, .75); }
.alt-cta-butonlar { display: flex; flex-wrap: wrap; gap: 10px; }
.alt-cta-butonlar .btn-light { background: #fff; color: var(--secondary, #24262B); }
@media (max-width: 767.98px) { .alt-cta-kutu { padding: 26px 22px; } .alt-cta-kutu h2 { font-size: 22px; } }

/* İletişim: temanın contact-info style-1 düzeni, bağlantılar tıklanabilir */
.contact-info.style-1 .contact-bottom ul li a { color: #fff; }
.contact-info.style-1 .contact-bottom ul li a:hover { color: rgba(255, 255, 255, .7); }
.contact-info.style-1 .contact-bottom ul li i { width: 18px; margin-right: 6px; opacity: .8; }
.contact-info.style-1 .text a { color: #fff; }
.iletisim-calisma { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.iletisim-yol { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #fff; font-weight: 500; text-decoration: underline; }

/* Blog listesi: temanın dz-card style-2 kartı, 3 sütun */
.dz-card.style-2 .dz-media { border-radius: var(--border-radius-base, 6px); overflow: hidden; aspect-ratio: 16 / 10; }
.dz-card.style-2 .dz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dz-card.style-2:hover .dz-media img { transform: scale(1.03); }
.dz-card.style-2 .dz-info p { margin: 8px 0 0; color: #55585e; }
.dz-card.style-2 .read-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-weight: 500; }

/* Blog yazısı: okunabilir satır uzunluğu ve aralık */
.dz-blog.blog-single .dz-post-text { font-size: 17px; line-height: 1.8; color: #34363b; }
.dz-blog.blog-single .dz-post-text p { margin-bottom: 1.2em; }
.dz-blog.blog-single .dz-post-text h2, .dz-blog.blog-single .dz-post-text h3 { margin: 1.5em 0 .6em; }
.dz-blog.blog-single .dz-post-text img { max-width: 100%; height: auto; }
.dz-blog.blog-single .dz-media img { border-radius: var(--border-radius-base, 6px); width: 100%; }
.blog-paylas { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; font-weight: 500; }
.blog-paylas a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 50%; color: var(--title, #24262B); }
.blog-paylas a:hover { border-color: var(--primary, #0D775E); color: var(--primary, #0D775E); }
.blog-cta { margin-top: 30px; padding: 24px; border-radius: var(--border-radius-base, 6px); background: var(--light, #F3F3F3); }
.blog-cta h3 { font-size: 20px; margin-bottom: 6px; }

/* Eklenen bileşenler temanın 6px köşe ve gölgesiz düz yüzey diline uyar */
.arac-bul-kutu, .tasarim-kutu, .tasarim-ozet, .teklif-form, .arac-cta, .liste-bos, .galeri-oge, .yorum-kart,
.arac-izgara a, .arac-bant, .arac-uyum, .cerez-bant, .mobil-cta a, .urun-galeri .galeri-oge {
    border-radius: var(--border-radius-base, 6px);
}
.tasarim-ozet, .teklif-form, .cerez-bant { box-shadow: none; border: 1px solid #e5e5e5; }
.arac-cta { background: var(--secondary, #24262B); }

/* ---------------------------------------------------------------- Anlık arama paneli (theme/assets/js/arama.js) */
html.arama-acik { overflow: hidden; }
.arama-panel { position: fixed; inset: 0; z-index: 100000; background: rgba(36, 38, 43, .55); overflow-y: auto; }
.arama-panel[hidden] { display: none; }
.arama-panel-kutu { max-width: 1180px; margin: 0 auto; background: #fff; min-height: 100%; display: flex; flex-direction: column; }
@media (min-width: 992px) { .arama-panel-kutu { min-height: 0; margin: 24px auto; border-radius: var(--border-radius-base, 6px); } }
.arama-panel-ust { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: #fff; border-bottom: 1px solid #eee; }
.arama-panel-form { flex: 1; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border: 1.5px solid #ddd; border-radius: var(--border-radius-base, 6px); }
.arama-panel-form:focus-within { border-color: var(--primary, #0D775E); }
.arama-panel-form i { color: #888; }
.arama-panel-form input { flex: 1; border: 0; outline: 0; font-size: 18px; background: transparent; color: var(--title, #24262B); min-width: 0; }
.arama-panel-form input::-webkit-search-cancel-button { display: none; }
.arama-temizle, .arama-kapat { border: 0; background: none; color: #666; font-weight: 500; font-size: 14px; white-space: nowrap; }
.arama-temizle:hover, .arama-kapat:hover { color: var(--title, #24262B); }
.arama-panel kbd { display: inline-block; padding: 1px 6px; border: 1px solid #ddd; border-bottom-width: 2px; border-radius: 4px; background: #fafafa; color: #555; font-size: 11px; font-family: inherit; }
.arama-panel-govde { flex: 1; padding: 22px 24px; transition: opacity .15s ease; }
.arama-panel.yukleniyor .arama-panel-govde { opacity: .55; }
.arama-panel-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 24px; border-top: 1px solid #eee; font-size: 14px; color: #666; }
.arama-panel-alt em { font-style: normal; color: var(--title, #24262B); font-weight: 500; }
.ap-tumu { font-weight: 600; color: var(--primary, #0D775E); display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 767.98px) { .ap-ipucu { display: none; } .arama-panel-ust { padding: 12px; } .arama-panel-govde { padding: 16px 12px; } }

.ap-izgara { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
@media (max-width: 991.98px) { .ap-izgara { grid-template-columns: 1fr; gap: 20px; } }
.ap-izgara h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #888; margin: 0 0 10px; }
.ap-izgara h3 small { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.ap-sol > ul + h3, .ap-orta > div + h3 { margin-top: 22px; }
.ap-kategoriler, .ap-oneriler { list-style: none; padding: 0; margin: 0; }
.ap-kategoriler a, .ap-oneriler button {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
    padding: 9px 10px; border: 0; border-radius: var(--border-radius-base, 6px); background: none;
    color: var(--title, #24262B); font-weight: 500; text-align: left; font-size: 15px;
}
.ap-kategoriler .ap-alt a { padding-left: 24px; font-weight: 400; font-size: 14px; }
.ap-kategoriler small { color: #999; font-size: 12px; }
.ap-oneriler button { justify-content: flex-start; font-weight: 400; }
.ap-oneriler i { color: #aaa; font-size: 13px; }
.ap-kategoriler a:hover, .ap-oneriler button:hover, .ap-secili { background: #f3f3f3 !important; }
.ap-secili { outline: 2px solid var(--primary, #0D775E); outline-offset: -2px; }
.arama-panel mark { background: none; padding: 0; color: inherit; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(13, 119, 94, .45); }
.ap-etiketler { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-etiketler button { padding: 7px 14px; border: 1px solid #ddd; border-radius: 30px; background: #fff; color: var(--title, #24262B); font-size: 14px; }
.ap-etiketler button:hover { border-color: var(--primary, #0D775E); color: var(--primary, #0D775E); }
.ap-arac { display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 16px 18px; border-radius: var(--border-radius-base, 6px); background: #f3f3f3; }
.ap-arac i { font-size: 22px; color: var(--primary, #0D775E); }
.ap-arac div { flex: 1; }
.ap-arac strong { display: block; color: var(--title, #24262B); }
.ap-arac span { font-size: 14px; color: #666; }
.ap-urunler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1200px) { .ap-urunler { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ap-urunler { grid-template-columns: 1fr; } }
.ap-urun { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid #eee; border-radius: var(--border-radius-base, 6px); color: var(--title, #24262B); }
.ap-urun:hover { border-color: #ccc; color: var(--title, #24262B); }
.ap-urun-gorsel { flex: none; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #f3f3f3; }
.ap-urun-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.ap-urun-bilgi { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ap-urun-bilgi small { color: #888; font-size: 12px; }
.ap-urun-bilgi strong { font-weight: 500; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-fiyat { font-size: 13px; color: #666; }
.ap-fiyat b { color: var(--title, #24262B); font-size: 14px; }
.ap-fiyat del { color: #999; }
.ap-bos { padding: 30px 0; }
.ap-bos strong { display: block; font-size: 18px; color: var(--title, #24262B); margin-bottom: 6px; }

/* ---------------------------------------------------------------- Fiyat gösterimi */
.urun-fiyat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 6px; font-size: 15px; }
.urun-fiyat strong { color: var(--title, #24262B); font-weight: 700; }
.urun-fiyat del { color: #999; font-size: 13px; }
.urun-fiyat-indirim { padding: 1px 6px; border-radius: 4px; background: #c8102e; color: #fff; font-size: 12px; font-weight: 600; }
.urun-fiyat-yok { color: var(--primary, #0D775E); font-size: 14px; font-weight: 500; }
.shop-card .urun-fiyat { padding: 0; }
.urun-fiyat-alan { margin: 4px 0 18px; }
.urun-fiyat-buyuk { font-size: 30px; gap: 10px; }
.urun-fiyat-buyuk del { font-size: 18px; }
.urun-fiyat-buyuk .urun-fiyat-indirim { font-size: 14px; padding: 3px 8px; }
.urun-fiyat-buyuk small { width: 100%; font-size: 14px; color: #666; font-weight: 400; }
.urun-fiyat-alan .urun-fiyat-yok { font-size: 18px; }

/* ---------------------------------------------------------------- Kategori sayfası: alt kategori geçişleri */
.alt-kategoriler { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.alt-kategoriler a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #ddd; border-radius: 30px; color: var(--title, #24262B); font-size: 14px; font-weight: 500; }
.alt-kategoriler a small { color: #999; font-weight: 400; }
.alt-kategoriler a:hover, .alt-kategoriler a.active { border-color: var(--secondary, #24262B); background: var(--secondary, #24262B); color: #fff; }
.alt-kategoriler a:hover small, .alt-kategoriler a.active small { color: rgba(255, 255, 255, .7); }

/* Sayfa başlık bandındaki açıklama satırı (ör. arama: "X ürün bulundu") açık zeminde okunur */
.dz-bnr-inr .dz-bnr-inr-entry p { color: #55585e; margin: 8px 0 0; font-size: 17px; font-weight: 500; }
.dz-bnr-inr.style-1 .dz-bnr-inr-entry p { text-align: center; }
/* Mobil: tema simge alanına beyaz kutu ve gölge veriyordu */
@media (max-width: 991.98px) {
    .site-header .extra-nav, .site-header .extra-nav .extra-cell, .site-header .extra-nav .header-right, .site-header .extra-nav .header-right > li {
        background: none !important; box-shadow: none !important; height: auto !important; border: 0 !important;
    }
    .site-header .extra-nav { height: 80px !important; }
    .arama-kapat kbd { display: none; }
    .arama-panel-ust { gap: 8px; }
}
.arama-panel mark { padding: 0 !important; margin: 0 !important; border-radius: 0; display: inline; }

/* Ürün kartının tamamı (görsel dahil) ürün detayına gider: başlık linki kartı kaplar, "Gözat" ve etiketler üstte kalır */
.shop-card { position: relative; }
.shop-card .dz-content .title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.shop-card .shop-meta { z-index: 3; }
.shop-card .dz-media img { cursor: pointer; }

/* Ürün varyasyonları: ikon = koltuğun önden görünüşü (kenarlar yan renk, ortadaki şerit orta renk) */
.vr-ornek { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--yan, #d9d9d9) center/cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.vr-ornek::after { content: ""; position: absolute; top: 18%; bottom: 18%; left: 32%; right: 32%; border-radius: 6px; background: var(--orta, transparent); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.vr-ornek-gorsel::after { display: none; }
.vr-secici { margin: 4px 0 22px; }
.vr-ust { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 10px; font-size: 15px; }
.vr-etiket { color: #55585e; font-weight: 500; }
.vr-secili-ad { color: #24262B; font-weight: 700; }
.vr-yok-not { color: #b45309; font-size: 13px; font-weight: 600; }
.vr-grup + .vr-grup { margin-top: 12px; }
.vr-grup-ad { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #55585e; text-transform: uppercase; letter-spacing: .03em; }
.vr-secenekler { display: flex; flex-wrap: wrap; gap: 10px; }
.vr-secenek { position: relative; margin: 0; padding: 3px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: border-color .15s; }
.vr-secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vr-secenek:hover { border-color: #c8cbd0; }
.vr-secenek:has(input:checked) { border-color: #0D775E; }
.vr-secenek input:focus-visible + .vr-ornek { outline: 2px solid #0D775E; outline-offset: 4px; }
.vr-yok .vr-ornek { opacity: .55; }
.vr-yok::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 4px; bottom: 4px; width: 2px; background: #b45309; transform: rotate(45deg); pointer-events: none; }
.vr-noktalar { display: flex; align-items: center; gap: 4px; margin: 2px 0 6px; }
.vr-ornek-kucuk { width: 18px; height: 18px; }
.vr-ornek-kucuk::after { border-radius: 2px; }
.vr-fazla { font-size: 12px; color: #55585e; font-weight: 600; margin-left: 2px; }
.urun-fiyat-den { font-size: 12px; color: #55585e; margin-left: 2px; font-weight: 500; }
/* Varyasyon render görselleri: kare küçük resim kutuları */
.vr-ornek-gorsel { border-radius: 10px; width: 68px; height: 68px; background: #f4f4f5; }
.vr-ornek-gorsel::after { display: none; }
.vr-ornek-gorsel img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vr-secenek:has(.vr-ornek-gorsel) { border-radius: 13px; }
.vr-secenekler { gap: 8px; }
.vr-ornek-kucuk.vr-ornek-gorsel { width: 30px; height: 30px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.vr-nokta { display: block; padding: 1px; border-radius: 7px; border: 1px solid transparent; cursor: pointer; position: relative; z-index: 3; }
.vr-nokta:hover { border-color: #0D775E; }
@media (max-width: 575px) { .vr-ornek-gorsel { width: 58px; height: 58px; } }

/* Ana sayfa kategori kutuları: tek tip zemin/köşe, kutunun tamamı tıklanır, alt başlık üst etiket olur */
/* multiply: görsellerin beyaz zemini kutu rengine karışır; iç gölge görsel kenarındaki çerçeve çizgisini örter */
.kat-kutular .product-box { position: relative; border: 0 !important; border-radius: 14px; overflow: hidden; background-color: #f4f1ec; background-blend-mode: multiply; box-shadow: inset 0 0 0 6px #f4f1ec; transition: transform .25s ease, box-shadow .25s ease; }
.kat-kutular .product-box:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 6px #f4f1ec, 0 16px 34px rgba(36, 38, 43, .12); }
.kat-kutular .main-content { display: flex; flex-direction: column; }
.kat-kutular .main-content .offer { order: -1; margin: 0 0 8px; color: #0D775E; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kat-kutular .product-name { margin: 0; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.18; font-weight: 700; }
.kat-kutu-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.kat-kutu-sayi { font-size: 14px; font-weight: 600; color: #55585e; }
.kat-kutu-btn { padding: 11px 20px; font-size: 15px; font-weight: 600; border-radius: 8px; }
.kat-kutu-btn i { margin-left: 6px; transition: transform .2s; }
.kat-kutular .product-box:hover .kat-kutu-btn i { transform: translateX(4px); }
.kat-kutu-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Dil seçici (theme/header.php, inc/dil.php dilSecici) */
.site-header .header-right .dil-secici { position: relative; }
.site-header .header-right .dil-secici > .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.site-header .header-right .dil-secici > .nav-link::after { display: none; }
.site-header .header-right .dil-secici .dropdown-menu { min-width: 150px; padding: 6px; border: 0; border-radius: 10px; box-shadow: 0 12px 30px rgba(36, 38, 43, .15); }
.site-header .header-right .dil-secici .dropdown-item { border-radius: 6px; padding: 8px 12px; font-size: 14px; color: #24262B; }
.site-header .header-right .dil-secici .dropdown-item.active, .site-header .header-right .dil-secici .dropdown-item:active { background: #0D775E; color: #fff; }
.site-header .header-right .dil-secici .dropdown-menu.show { display: flex !important; flex-direction: column; }
.site-header .header-right .dil-secici .dropdown-menu > li { display: block !important; width: 100%; margin: 0 !important; padding: 0 !important; }
.site-header .header-right .dil-secici .dropdown-item { display: block; width: 100%; }
