/* =========================================================
   Kadmec — Elementor'suz header / footer / anasayfa
   Tüm seçiciler "kh-" önekli; ürün, kategori ve yedek parça
   sayfalarının kendi stillerine dokunmaz.
   Ölçüler canlı sitedeki Elementor çıktısından alındı.
   ========================================================= */

:root {
    /* Sitede yeşil kullanılmaz: ana temanın yeşil değişkenleri mavi/gri ile değiştirildi */
    --thm-color-primary-light: #3f51b5;
    --thm-color-secondary: #e3e3e0;

    --kh-blue: #3f51b5;
    --kh-ink: #3a4045;   /* koyu gri: şerit başlığı + footer bandı */
    --kh-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.9a1.3 1.3 0 0 1 1.8 0l4.2 4.2a1.3 1.3 0 0 1 0 1.8l-4.2 4.2a1.3 1.3 0 1 1-1.8-1.8l2-2H3.8a1.3 1.3 0 1 1 0-2.6h6.8l-2-2a1.3 1.3 0 0 1 0-1.8z'/%3E%3C/svg%3E"); /* header menüsündeki ok — sitedeki tüm oklar bu */
    --kh-red: #ED1C24;
    --kh-text: #212529;
    --kh-dark: #4C4C4C;
    --kh-darker: #3B3B3B;
    --kh-border: #ccc;
    --kh-wrap: 1320px;
}

.kh-wrap {
    max-width: var(--kh-wrap);
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: content-box;
}
.kh-wrap--1350 { max-width: 1350px; }
.kh-center { text-align: center; }
.kh-muted { font-weight: 300; }

/* ---------------- HEADER ----------------
   madeintr tasarım dilinden uyarlandı: ince üst şerit, logo + yuvarlak arama,
   oklu ortalı ana menü, ince alt çizgi. Siyah yazı/ikon, üzerine gelince Kadmec mavisi.
   Font değişmez (sitenin kendi fontu). */
.kh-header {
    position: relative; z-index: 50;
    background: #fff;
    /* Alt kenar: arama çubuğunun üstündeki çizginin aynısı + aşağı doğru çok hafif gölge (beyaz zeminden ayırır) */
    border-bottom: 1px solid #f0f1f2;
    box-shadow: 0 3px 8px -5px rgba(0, 0, 0, .16);
}

/* 1) En üst: ortalı kurumsal bağlantılar + dil */
.kh-strip { background: #fff; }
.kh-strip-inner {
    display: flex; align-items: center; justify-content: center; gap: 26px;
    min-height: 36px; padding-top: 4px; font-size: 13px;
}
.kh-quick { display: flex; align-items: center; gap: 24px; }
.kh-quick a {
    font-size: 13px; font-weight: 600; color: #000; text-decoration: none;
    letter-spacing: .01em; transition: color .15s;
}
.kh-quick a:hover, .kh-quick a.is-active { color: var(--kh-blue); }
.kh-lang { display: inline-flex; align-items: center; gap: 6px; padding-left: 26px; border-left: 1px solid #e3e4e6; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.kh-lang .is-active { color: #000; }
.kh-lang-sep { color: #b9bdc2; font-weight: 400; }
.kh-lang a { color: #75858F; text-decoration: none; }
.kh-lang a:hover { color: var(--kh-blue); }

/* 2) Logo + ana menü + hesap ikonları */
.kh-top-inner {
    display: flex; align-items: center; gap: 18px;
    min-height: 70px;
}
.kh-logo { display: inline-flex; flex: 0 0 auto; }
.kh-logo-img { width: 135px; height: auto; display: block; }

/* 3) Arama çubuğu — kaydırınca üstte sabit (JS "is-stuck" ekler) */
/* Ana menü satırı arama çubuğunun üstünde: açılır menüler aramanın üzerinden açılır */
.kh-top { position: relative; z-index: 3; }
.kh-searchbar { position: relative; z-index: 2; height: 54px; border-top: 1px solid #f0f1f2; }
.kh-searchbar-inner { height: 54px; background: #fff; }
.kh-searchbar-row {
    height: 100%; display: grid; align-items: center; gap: 20px;
    grid-template-columns: 1fr auto 1fr;
}
.kh-searchbar-start { grid-column: 1; justify-self: start; display: none; align-items: center; gap: 22px; }
.kh-searchbar.is-stuck .kh-searchbar-start { display: flex; }
/* Sabit çubukta yalnız "Tüm Ürünler" (açılır menüsüyle) */
.kh-barnav .kh-menu--bar > li:not(:first-child) { display: none; }
.kh-barnav .kh-menu--bar > li > a { height: 54px; } #kh-header .kh-barnav .kh-menu--bar > li > a, #kh-header .kh-barnav .kh-menu--bar > li:hover > a { color: var(--kh-blue); } #kh-header .kh-barnav .kh-menu--bar > li > a:hover { color: #34449a; } #kh-header .kh-barnav .kh-menu--bar > li > a::after { display: none !important; } /* aramanın yanındaki "Tüm Ürünler" mavi, oksuz */
.kh-searchgroup { grid-column: 2; display: flex; align-items: center; gap: 18px; min-width: 0; }
.kh-searchgroup .kh-search { flex: 0 1 468px; width: 468px; min-width: 0; }
.kh-searchbar-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.kh-logo--bar, .kh-searchbar-close { display: none; }
.kh-searchbar.is-stuck .kh-searchbar-inner {
    position: fixed; left: 0; right: 0; top: var(--kh-adminbar, 0px); z-index: 1030;
    border-bottom: 1px solid #e3e4e6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    animation: kh-bar-in .2s ease;
}
.kh-searchbar.is-stuck .kh-logo--bar { display: inline-flex; }
@media (max-width: 1024px), (pointer: coarse) and (min-width: 768px) {
    /* Tablet: "Tüm Ürünler" aramanın sağında düz bağlantı (dokunmatikte açılır menü yok; alt kategoriler MENÜ içinde) */
    .kh-barnav .sub-menu { display: none !important; }
    .kh-barnav .kh-menu--bar > li > a { height: 52px; }
    .kh-searchbar.is-stuck .kh-searchbar-start { display: none; }
}
.kh-searchbar.is-stuck .kh-logo--bar .kh-logo-img { width: 117px; }
.kh-searchbar.is-stuck .kh-searchbar-close {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    width: 34px; height: 34px; padding: 0;
    background: none; border: 1px solid #d5d7da; border-radius: 50%;
    color: #000; cursor: pointer; transition: color .15s, border-color .15s;
}
.kh-searchbar-close:hover { color: var(--kh-blue); border-color: var(--kh-blue); }
@keyframes kh-bar-in { from { transform: translateY(-100%); } to { transform: none; } }
body.admin-bar { --kh-adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --kh-adminbar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --kh-adminbar: 0px; } }
@media (prefers-reduced-motion: reduce) { .kh-searchbar.is-stuck .kh-searchbar-inner { animation: none; } }

/* Yuvarlak arama (Ajax Search Lite) */
.kh-search { min-width: 0; }
.kh-search .asl_w_container { width: 100% !important; }
.kh-search .asl_w.asl_m {
    background: #fff !important;
    border: 1px solid #d5d7da !important;
    border-radius: 4rem !important;
    height: 36px !important; box-sizing: border-box !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition: border-color .15s;
}
.kh-search .asl_w.asl_m:hover,
.kh-search .asl_w.asl_m:focus-within { border-color: var(--kh-blue) !important; }
.kh-search .asl_m .probox {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    height: 34px !important; padding: 0 2px 0 16px !important;
}
.kh-search .asl_m .probox .proinput input.orig,
.kh-search .asl_m .probox .proinput input.autocomplete {
    height: 34px !important; font-family: inherit !important; font-size: 13px !important; color: #000 !important;
}
.kh-search .asl_m .probox .proinput input.orig::placeholder { color: #75858F !important; opacity: 1; }
.kh-search .asl_m .probox .promagnifier,
.kh-search .asl_m .probox .prosettings {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    height: 34px !important; width: 34px !important;
}
.kh-search .asl_m .probox .promagnifier .innericon svg,
.kh-search .asl_m .probox .prosettings .innericon svg { fill: #000 !important; }
.kh-search .asl_m .probox .promagnifier:hover .innericon svg { fill: var(--kh-blue) !important; }
.kh-search .asl_m .probox .proclose svg { background: #000 !important; }

/* Hesabım / Sepet / Tahsilat — ikon + yazı yan yana, siyah; üzerine gelince mavi */
.kh-topnav { flex: 0 0 auto; }
.kh-topmenu {
    list-style: none; margin: 0; padding: 0;
    display: flex; justify-content: flex-end; align-items: center; gap: 4px;
}
.kh-topmenu > li:has(> a[href*="nutmec.com"]) { display: none; } /* EN üst şeritte */
.kh-topmenu > li > a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 9px;
    font-size: 14px; font-weight: 500; color: #000; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    border-radius: 3px;
    transition: color .15s;
}
.kh-topmenu > li > a,
.kh-topmenu > li > a > i,
.kh-topmenu > li > a > ._mi,
.kh-topmenu > li > a > span { color: #000; }
.kh-topmenu > li > a:hover,
.kh-topmenu > li > a:hover > i,
.kh-topmenu > li > a:hover > ._mi,
.kh-topmenu > li > a:hover > span,
.kh-topmenu > li.current-menu-item > a,
.kh-topmenu > li.current-menu-item > a > i,
.kh-topmenu > li.current-menu-item > a > ._mi { color: var(--kh-blue); }
.kh-topmenu > li > a > i,
.kh-topmenu > li > a > ._mi { margin: 0 !important; font-size: 17px; width: auto; vertical-align: 0; }
/* Ana temanın "#menu-topbar" kuralı ikonu yazının üstüne diziyor: başlıkta yan yana olsun */
#kh-header #menu-topbar { gap: 4px; }
#kh-header #menu-topbar > li > a { flex-direction: row; place-content: center; }
.kh-topmenu .sub-menu { display: none; }
.kh-topmenu > li + li { position: relative; }
.kh-topmenu > li + li::before {
    content: ""; position: absolute; left: -2px; top: 50%;
    width: 1px; height: 16px; margin-top: -8px; background: #e3e4e6;
}

.kh-burger { display: none; }

/* Ana menü (masaüstü): ortalı, her öğeden sonra küçük ok */
.kh-mainnav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.kh-menu, .kh-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.kh-menu { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 1.6rem; }
.kh-menu > li { position: relative; }
.kh-menu > li > a {
    display: inline-flex; align-items: center; gap: 5px;
    height: 70px; padding: 0;
    font-size: 13.5px; font-weight: 500; color: #000; white-space: nowrap;
    letter-spacing: .02em; text-decoration: none;
    transition: color .15s;
}
/* madeintr tipi ok (SVG maske: yazı rengini alır, ek font gerekmez) */
.kh-menu > li > a::after {
    content: ""; flex: 0 0 auto;
    width: 10px; height: 10px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.9a1.3 1.3 0 0 1 1.8 0l4.2 4.2a1.3 1.3 0 0 1 0 1.8l-4.2 4.2a1.3 1.3 0 1 1-1.8-1.8l2-2H3.8a1.3 1.3 0 1 1 0-2.6h6.8l-2-2a1.3 1.3 0 0 1 0-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.9a1.3 1.3 0 0 1 1.8 0l4.2 4.2a1.3 1.3 0 0 1 0 1.8l-4.2 4.2a1.3 1.3 0 1 1-1.8-1.8l2-2H3.8a1.3 1.3 0 1 1 0-2.6h6.8l-2-2a1.3 1.3 0 0 1 0-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .22s ease;
}
.kh-menu > li > a:hover,
.kh-menu > li:hover > a,
.kh-menu > li.current-menu-item > a,
.kh-menu > li.current-menu-ancestor > a { color: var(--kh-blue); }
.kh-menu > li:not(.menu-item-has-children) > a:hover::after { transform: translateX(3px); }
.kh-menu > li.menu-item-has-children:hover > a::after,
.kh-menu > li.menu-item-has-children:focus-within > a::after { transform: rotate(90deg); }
/* Bulunulan sayfada ok aşağı dönük kalır (madeintr gibi) */
.kh-menu > li.current-menu-item > a::after,
.kh-menu > li.current-menu-ancestor > a::after,
.kh-menu > li.current-menu-parent > a::after,
.kh-menu > li.current_page_item > a::after,
.kh-menu > li.current-menu-item > a:hover::after { transform: rotate(90deg); }


/* Açılır menüler: beyaz, ince çizgi, gölgesiz */
.kh-menu .sub-menu {
    position: absolute; top: 100%; left: -16px;
    min-width: 290px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e3e4e6;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 100;
}
.kh-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.kh-menu li:hover > .sub-menu,
.kh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kh-menu .sub-menu li { position: relative; }
.kh-menu .sub-menu a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 18px;
    font-size: 14px; font-weight: 400; color: #000; text-decoration: none;
    transition: color .15s, background-color .15s;
}
.kh-menu .sub-menu li:hover > a { color: var(--kh-blue); background: #f5f6f8; }
/* Alt menü okları: ana menüdekiyle aynı ok (yazı rengini alır) */
.kh-menu .sub-menu .menu-item-has-children > a::after {
    content: ""; flex: 0 0 auto;
    width: 10px; height: 10px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.9a1.3 1.3 0 0 1 1.8 0l4.2 4.2a1.3 1.3 0 0 1 0 1.8l-4.2 4.2a1.3 1.3 0 1 1-1.8-1.8l2-2H3.8a1.3 1.3 0 1 1 0-2.6h6.8l-2-2a1.3 1.3 0 0 1 0-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.6 2.9a1.3 1.3 0 0 1 1.8 0l4.2 4.2a1.3 1.3 0 0 1 0 1.8l-4.2 4.2a1.3 1.3 0 1 1-1.8-1.8l2-2H3.8a1.3 1.3 0 1 1 0-2.6h6.8l-2-2a1.3 1.3 0 0 1 0-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .22s ease;
}
.kh-menu .sub-menu .menu-item-has-children:hover > a::after,
.kh-menu .sub-menu .menu-item-has-children:focus-within > a::after { transform: translateX(3px); }

/* Mobil / tablet header (1024px; dokunmatik geniş tabletler de) */
@media (max-width: 1024px), (pointer: coarse) {
    .kh-strip-inner { min-height: 30px; font-size: 12px; }
    .kh-top-inner { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .kh-logo-img { width: 144px; }
    .kh-mainnav { display: none; }
    .kh-searchbar, .kh-searchbar-inner { height: 52px; }
    /* Tablet: arama + hesap ikonları yan yana; sabit çubukta logo yok */
    .kh-searchbar-row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
    .kh-searchgroup { grid-column: 1; }
    .kh-searchgroup .kh-search { flex: 1 1 auto; width: auto; }
    .kh-searchbar-end { grid-column: 2; }
    .kh-searchbar.is-stuck .kh-logo--bar { display: none; }

    /* Menü düğmesi: siyah çerçeveli hap, 3 çizgi + "Menü" yazısı */
    .kh-burger {
        display: inline-flex; align-items: center; gap: 9px;
        margin-left: auto; height: 42px; padding: 0 16px 0 14px;
        background: #fff; border: 1.5px solid #000; border-radius: 3px;
        color: #000; cursor: pointer;
        transition: color .15s, border-color .15s, background-color .15s;
    }
    .kh-burger-lines { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; }
    .kh-burger-lines span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
    .kh-burger-lines span:nth-child(2) { width: 14px; }
    .kh-burger-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
    .kh-burger:hover, .kh-burger:focus-visible { color: var(--kh-blue); border-color: var(--kh-blue); }
}
@media (max-width: 767px) {
    .kh-barnav { display: none; }
    .kh-topnav { display: none; }
    .kh-searchbar:not(.is-stuck) .kh-searchbar-end { display: none; }
    .kh-searchbar:not(.is-stuck) .kh-searchbar-row { grid-template-columns: minmax(0, 1fr); }
    .kh-strip-inner { gap: 16px; }
    .kh-quick { gap: 16px; }
    .kh-quick a { font-size: 12px; }
    .kh-lang { padding-left: 16px; }
}

/* Mobil / tablet menü (offcanvas)
   Alt menüsü olan satıra dokununca alt menü açılır (sayfaya gitmez); alt menünün başında
   "Tümünü Gör" bağlantısı vardır. Sağdaki büyük ok düğmesi de aynı işi yapar. */
.kh-offcanvas { --bs-offcanvas-width: 440px; width: 440px !important; max-width: 100vw; }
@media (max-width: 575px) { .kh-offcanvas { --bs-offcanvas-width: 100vw; width: 100vw !important; border-left: 0 !important; } }
.kh-offcanvas .offcanvas-header { border-bottom: 1px solid #e3e4e6; padding: 14px 18px; }
.kh-offcanvas .offcanvas-body { padding: 6px 18px 24px; }
.kh-offcanvas .kh-logo--offcanvas .kh-logo-img { width: 140px; height: auto; }
.kh-mmenu, .kh-mmenu .sub-menu { list-style: none; margin: 0; padding: 0; }
.kh-mmenu li { position: relative; border-bottom: 1px solid #eceef0; }
.kh-mmenu .sub-menu li:last-child { border-bottom: 0; }
.kh-mmenu a {
    display: flex; align-items: center; min-height: 50px;
    padding: 10px 56px 10px 2px;
    font-size: 14.5px; font-weight: 600; color: #000; text-decoration: none; line-height: 1.3;
}
.kh-mmenu a:hover, .kh-mmenu a:hover i, .kh-mmenu a:hover ._mi,
.kh-mmenu li.is-open > a { color: var(--kh-blue); }
.kh-mmenu .sub-menu { display: none; padding: 0 0 6px 14px; margin: 0 0 10px 2px; background: #f8f9fa; }
.kh-mmenu .sub-menu a { min-height: 44px; font-size: 14px; font-weight: 400; padding-left: 4px; }
.kh-mmenu .sub-menu .sub-menu { background: #fff; }
.kh-mmenu li.is-open > .sub-menu { display: block; }
.kh-mmenu .kh-mm-all > a { font-weight: 600; color: #000; }
.kh-mmenu .kh-mm-all > a::after { content: ""; width: 10px; height: 10px; margin-left: 8px; background: currentColor; -webkit-mask: var(--kh-arrow) center / contain no-repeat; mask: var(--kh-arrow) center / contain no-repeat; }
/* Büyük ok düğmesi (dokunma alanı 48px) */
.kh-mmenu .kh-sub-toggle {
    position: absolute; right: 0; top: 4px;
    width: 42px; height: 42px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f5f6f8; border: 1px solid #e3e4e6; border-radius: 50%;
    color: #000; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.kh-mmenu .sub-menu .kh-sub-toggle { width: 36px; height: 36px; top: 4px; }
.kh-mmenu .kh-sub-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.kh-mmenu li.is-open > .kh-sub-toggle { background: var(--kh-blue); border-color: var(--kh-blue); color: #fff; }
.kh-mmenu li.is-open > .kh-sub-toggle svg { transform: rotate(180deg); }
.kh-mmenu--top { margin-top: 18px; }
/* Ana menüdeki yalnız-mobil Hesabım/Sepet/Tahsilat/English kopyaları: aşağıdaki ikonlu listede zaten var */
#khMobileMenu #kh-mmenu-main > li.d-sm-none { display: none !important; }
.kh-mmenu--top a { font-weight: 500; }
.kh-mmenu--top a i, .kh-mmenu--top a ._mi { color: #000; margin-right: 10px !important; width: 18px; text-align: center; }
.kh-mmenu-phone {
    display: block; margin-top: 20px; padding: 13px 16px;
    border: 1.5px solid #000; border-radius: 3px;
    text-align: center; font-size: 14px; color: #000; text-decoration: none;
}
.kh-mmenu-phone:hover { border-color: var(--kh-blue); color: var(--kh-blue); }

/* ---------------- ANASAYFA ---------------- */
.kh-home { display: block; }
.kh-sec { position: relative; }

/* Kayan kategori şeridi — madeintr "son eklenen markalar" şeridi gibi:
   ortada küçük başlık, sağda yuvarlak oklar, düz köşeli ince çerçeveli kartlar,
   her tıklama bir sayfa kaydırır, yarım kart görünmez. Vurgu rengi Kadmec mavisi. */
.kh-sec--slider { padding: 26px 0 18px; }
.kh-ss-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 34px; margin-bottom: 12px; }
.kh-ss-label { color: var(--kh-ink); font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; } /* diğer bölüm başlıklarıyla aynı */
.kh-ss-nav { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.kh-ss-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0;
    border: 1px solid #d5d7da; border-radius: 50%; background: #fff; color: #000; cursor: pointer;
    transition: border-color .15s, color .15s;
}
.kh-ss-btn:hover, .kh-ss-btn:focus-visible { border-color: var(--kh-blue); color: var(--kh-blue); }
.kh-ss-track {
    --per: 9; --gap: 12px; /* owner 2026-11-28: smaller cards, more groups at one glance */
    display: flex; gap: var(--gap);
    margin: 0; padding: 1px 1px 4px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1px;
    scrollbar-width: none;
}
.kh-ss-track::-webkit-scrollbar { display: none; }
.kh-ss-track li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; }
.kh-ss-track li[hidden] { display: none !important; }
.kh-ss-card {
    box-sizing: border-box; height: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 5px 5px 12px;
    background: #fff; border: 1px solid #e6e6e6; border-radius: 0;
    text-align: center; text-decoration: none; color: #000;
    transition: border-color .2s;
}
.kh-ss-card:hover, .kh-ss-card:focus-visible { border-color: var(--kh-blue); }
.kh-ss-img { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #f5f6f8; margin-bottom: 10px; }
.kh-ss-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-ss-name {
    font-size: 12.5px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: #000;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    min-height: calc(1.3em * 2);
}
.kh-ss-name { overflow-wrap: anywhere; hyphens: auto; text-transform: none; font-size: 13px; padding: 0 6px !important; } /* owner 2026-11-28: normal case like the other category cards – long words (Hungarian, Macedonian) fit without being cut */
.kh-ss-more { margin-top: auto; padding-top: 8px; font-size: 11.5px; color: #75858F; transition: color .15s; }
.kh-ss-card:hover .kh-ss-name, .kh-ss-card:hover .kh-ss-more { color: var(--kh-blue); }
@media (max-width: 1024px) { .kh-ss-track { --per: 6; } }
@media (max-width: 767px)  { .kh-ss-track { --per: 4; --gap: 10px; } .kh-ss-name { font-size: 12px; } }
@media (max-width: 480px)  { .kh-ss-track { --per: 3; --gap: 8px; } .kh-ss-nav { display: none; } .kh-ss-name { font-size: 11.5px; } .kh-ss-card { padding: 4px 3px 10px; } }

/* Anasayfa bölümleri — madeintr dilinde: ortalı koyu gri başlıklar, düz köşeli ince çerçeveli kartlar,
   mavi yalnız vurgu ve fare üzerindeyken. İçerik ve bağlantılar eskisiyle aynı. */
.kh-home { --kh-line: #e6e6e6; }
.kh-home .kh-sec { padding: 0 0 34px; }
.kh-home .kh-sec--slider { padding: 26px 0 22px; }

/* Bölüm başlıkları (eski mavi şerit ve mavi/gri başlıklar tek tip oldu) */
.kh-bar-wrap { position: relative; display: flex; align-items: center; justify-content: center; margin: 8px 0 16px; min-height: 32px; }
.kh-bar, .kh-title-blue, .kh-title-grey {
    margin: 0; padding: 0; background: none;
    color: var(--kh-ink); font-size: 15px; font-weight: 700; line-height: 1.35;
    letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
.kh-title-blue, .kh-title-grey { margin: 8px 0 16px; }
.kh-bar a, .kh-title-blue a { color: inherit; text-decoration: none; transition: color .15s; }
.kh-bar a:hover, .kh-title-blue a:hover { color: var(--kh-blue); }
.kh-bar-more {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 12.5px; font-weight: 600; color: #000; text-decoration: none; white-space: nowrap;
    padding: 5px 12px; border: 1px solid #d5d7da; border-radius: 3px; background: #fff;
    transition: color .15s, border-color .15s;
}
.kh-bar-more:hover { color: var(--kh-blue); border-color: var(--kh-blue); }

/* Ortak ok (header menüsündeki ok ile aynı) */
.kh-arrow {
    display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; vertical-align: middle;
    background: currentColor;
    -webkit-mask: var(--kh-arrow) center / contain no-repeat; mask: var(--kh-arrow) center / contain no-repeat;
    transition: transform .2s ease;
}
.kh-arrow--left { transform: scaleX(-1); }
a:hover > .kh-arrow:not(.kh-arrow--left) { transform: translateX(3px); }

/* Anahtar teslim bloğu: solda görsel döngüsü + 2x2 mavi kutular, sağda tanıtım metni */
.kh-feature {
    display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start;
    padding: 8px 18px 8px 8px; margin-bottom: 18px; background: #fff; border: 1px solid var(--kh-line);
}
.kh-feature-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kh-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kh-btn {
    position: relative; display: flex; align-items: center;
    min-height: 48px; padding: 10px 36px 10px 14px;
    background: var(--kh-blue); border: 0; border-radius: 0;
    color: #fff; font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .01em;
    text-align: left; text-decoration: none;
    transition: background-color .2s;
}
.kh-btn::after {
    content: ""; position: absolute; right: 14px; top: 50%;
    width: 10px; height: 10px; margin-top: -5px;
    background: currentColor;
    -webkit-mask: var(--kh-arrow) center / contain no-repeat; mask: var(--kh-arrow) center / contain no-repeat;
    transition: transform .2s ease;
}
.kh-btn:hover, .kh-btn:focus-visible { background: #34449a; color: #fff; }
.kh-btn:hover::after { transform: translateX(3px); }
.kh-feature-side { padding: 6px 4px 4px 0; }
.kh-feature-heading { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: .01em; }
.kh-feature-heading a { color: #000; text-decoration: none; transition: color .15s; }
.kh-feature-heading a:hover { color: var(--kh-blue); }
.kh-tesis-text { color: #465259; font-size: 14px; line-height: 1.7; }
.kh-tesis-text p { margin: 0 0 10px; }
.kh-tesis-text h5 { margin: 16px 0 6px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.45; }
.kh-tesis-text h5 a { color: var(--kh-blue); text-decoration: none; }
.kh-feature-more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
    padding: 8px 16px; border: 1px solid #d5d7da; border-radius: 3px; background: #fff;
    color: #000; font-size: 13px; font-weight: 600; text-decoration: none;
    transition: color .15s, border-color .15s;
}
.kh-feature-more:hover { color: var(--kh-blue); border-color: var(--kh-blue); }

/* Görsel döngüsü */
.kh-carousel { position: relative; width: 100%; margin: 0; }
.kh-carousel-track { position: relative; }
.kh-carousel-slide { display: none; }
.kh-carousel-slide.is-active { display: block; }
.kh-carousel-slide img { width: 100%; height: auto; display: block; }
.kh-carousel-btn {
    position: absolute; top: 44%; transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; padding: 0;
    border: 1px solid #d5d7da; border-radius: 50%; background: rgba(255, 255, 255, .94);
    color: #000; cursor: pointer;
    transition: color .15s, border-color .15s;
}
.kh-carousel-btn:hover { color: var(--kh-blue); border-color: var(--kh-blue); }
.kh-carousel-prev { left: 10px; }
.kh-carousel-next { right: 10px; }
.kh-carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 0; }
.kh-carousel-dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: #c9ccd1; cursor: pointer;
}
.kh-carousel-dots button.is-active { background: var(--kh-blue); }

.kh-cards--tesis { margin-top: 0; }

/* Kategori kartları */
.kh-cards { display: grid; gap: 12px; }
.kh-cards--4 { grid-template-columns: repeat(4, 1fr); }
.kh-cards--6 { grid-template-columns: repeat(6, 1fr); }
.kh-cards--7 { grid-template-columns: repeat(7, 1fr); }
.kh-cards--8 { grid-template-columns: repeat(8, 1fr); }
.kh-cards--9 { grid-template-columns: repeat(9, 1fr); gap: 12px; }
.kh-card {
    display: flex; flex-direction: column;
    margin: 0; padding: 5px 5px 12px;
    background: #fff; border: 1px solid var(--kh-line); border-radius: 0; box-shadow: none;
    text-align: center; transition: border-color .2s;
}
.kh-card:hover { border-color: var(--kh-blue); }
.kh-card-img { display: block; background: #f5f6f8; }
.kh-card-img img { width: 100%; height: auto; display: block; }
.kh-card-title { margin: 10px 0 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.kh-card-title a { color: #000; text-decoration: none; }
.kh-card:hover .kh-card-title a { color: var(--kh-blue); }
.kh-cards--compact .kh-card { padding: 5px 5px 10px; }
.kh-cards--compact .kh-card-title { font-size: 12.5px; }
.kh-cards--tesis { gap: 16px; }
.kh-cards--tesis .kh-card { padding: 5px 5px 12px; }

/* Tanıtım metni + Ziraat kredisi */
.kh-home .kh-sec--intro { background: none; padding: 4px 0 26px; }
.kh-sec--intro p { max-width: 900px; margin: 0 auto; text-align: center; color: #465259; font-size: 15px; line-height: 1.75; }
.kh-home .kh-sec--ziraat { background: none; }
.kh-ziraat {
    display: flex; align-items: center; gap: 22px;
    min-height: 0; padding: 16px 22px;
    background: #fff; border: 1px solid var(--kh-line);
}
.kh-ziraat-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; background: var(--kh-red); }
.kh-ziraat-logo img { width: auto; height: 40px; display: block; }
.kh-ziraat-title { flex: 1; margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; text-align: left; letter-spacing: .01em; }
.kh-ziraat-title a { color: #000; text-decoration: none; }
.kh-ziraat:hover { border-color: var(--kh-blue); }
.kh-ziraat:hover .kh-ziraat-title a { color: var(--kh-blue); }

/* Blog */
.kh-intro-line { margin: -6px 0 18px; }
.kh-sec--blog .kh-center.kh-muted { margin: -6px auto 18px; max-width: 760px; color: #75858F; font-size: 14px; }
.kh-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kh-post-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.kh-post-noimg img { width: 110px !important; height: auto !important; opacity: .18; filter: grayscale(1); }
.kh-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--kh-line); transition: border-color .2s; }
.kh-post:hover { border-color: var(--kh-blue); }
.kh-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f5f6f8; margin: 5px 5px 0; }
.kh-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kh-post-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.kh-post-title a { color: #000; text-decoration: none; }
.kh-post:hover .kh-post-title a { color: var(--kh-blue); }
.kh-post-excerpt { font-size: 13.5px; line-height: 1.6; color: #465259; font-weight: 400; }
.kh-post-more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--kh-blue); text-decoration: none; }

/* Hakkımızda + Tarmakbir */
.kh-about-text { max-width: 900px; margin: 0 auto; color: #465259; font-size: 15px; line-height: 1.75; text-align: center; }
.kh-home .kh-sec--tarmakbir { background: none; margin-top: 0; }
.kh-tarmakbir {
    display: flex; align-items: center; gap: 26px; min-height: 0;
    max-width: 900px; margin: 0 auto; padding: 16px 24px;
    background: #fff; border: 1px solid var(--kh-line);
}
.kh-tarmakbir-img { flex: 0 0 150px; padding: 0; }
.kh-tarmakbir-img img { width: 100%; height: auto; display: block; }
.kh-tarmakbir-text { flex: 1; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.6; color: #465259; text-align: left; }

.kh-home .kh-sec--instagram { padding-top: 0; }
.kh-home .kh-sec--brands { padding-bottom: 40px; }

/* ---------------- FOOTER ----------------
   madeintr footer yapısı, kırmızı yerine siyah. Başlıklar küçük, aralıklı, büyük harf;
   bağlantılar yumuşak gri → üzerine gelince beyaz (siyah üstünde mavi okunmadığı için). */
.kh-footer { margin-top: 40px; }

/* Güven bandı (açık zemin) */
.kh-foot-trust { background: #fff; border-top: 1px solid #ebecee; }
.kh-foot-trust-inner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    max-width: 760px; padding-top: 36px; padding-bottom: 36px;
}
.kh-foot-trust-img { width: 110px; height: auto; display: block; margin: 0 0 14px; }
.kh-foot-trust p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; color: #465259; }
.kh-foot-trust p em { font-style: normal; font-weight: 600; color: #000; }
.kh-foot-trust strong { color: #000; font-weight: 600; }
.kh-foot-payments-img { width: 280px; max-width: 100%; height: auto; display: block; margin-top: 14px; }

/* Siyah bant */
.kh-foot-dark { background: var(--kh-ink); color: #d3d6da; padding-top: 56px; }
.kh-foot-dark a { color: #d3d6da; text-decoration: none; transition: color .15s; }
.kh-foot-dark a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.kh-foot-grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr 1fr 1.15fr;
    gap: 40px;
    padding-bottom: 44px;
}
.kh-foot-h {
    display: block; margin: 0 0 16px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #fff;
}
.kh-foot-h--addr { margin-top: 26px; }

.kh-foot-logo { display: inline-block; }
.kh-foot-logo img { width: 130px; height: auto; display: block; }
.kh-foot-logo:hover { text-decoration: none !important; }
.kh-foot-tagline { margin: 18px 0 16px; font-size: 14px; line-height: 1.65; max-width: 340px; }
.kh-foot-pill {
    display: inline-block; padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .45); border-radius: 3px;
    font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #fff;
}
.kh-foot-brand .kh-social {
    list-style: none; margin: 22px 0 0; padding: 0;
    display: flex; gap: 10px;
}
.kh-foot-brand .kh-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
    color: #fff;
}
.kh-foot-brand .kh-social a:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.kh-foot-brand .kh-social svg { width: 17px; height: 17px; }

.kh-foot-links { list-style: none; margin: 0; padding: 0; }
.kh-foot-links li { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }

.kh-foot-phones { list-style: none; margin: 0; padding: 0; }
.kh-foot-phones li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
}
.kh-foot-phones li:first-child { padding-top: 0; }
.kh-foot-phones a { color: #fff !important; font-weight: 600; white-space: nowrap; letter-spacing: .02em; }
.kh-foot-addr { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.kh-foot-addr strong { color: #fff; font-weight: 600; }
.kh-foot-more { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff !important; }

/* Bina fotoğrafı + harita */
.kh-foot-media {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding-bottom: 40px;
}
.kh-foot-building, .kh-foot-map { border-radius: 0; overflow: hidden; background: #30353a; }
.kh-foot-building img { width: 100%; height: 300px; object-fit: cover; display: block; }
.kh-foot-map iframe { width: 100%; height: 300px; display: block; filter: grayscale(.25); }

/* Dernek logoları */
.kh-foot-assoc {
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
    padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.kh-foot-assoc .kh-foot-h { margin: 0; color: #b4b9bf; }
.kh-foot-assoc img { max-width: 340px; width: 100%; height: auto; display: block; }

/* Alt şerit */
.kh-foot-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px; color: #b4b9bf;
}
.kh-foot-credit img { width: 76px; height: auto; display: block; opacity: .75; transition: opacity .15s; }
.kh-foot-credit:hover img { opacity: 1; }


/* İletişim sütunu: siyah bant içinde açık zeminli kart, siyah yazı */
.kh-foot-contact {
    align-self: start;
    background: #f5f6f8; color: #465259;
    padding: 24px 24px 22px;
}
.kh-foot-contact .kh-foot-h { color: #000; margin-bottom: 4px; }
.kh-foot-contact .kh-foot-h--addr { margin-top: 22px; margin-bottom: 10px; }
.kh-foot-note { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; color: #75858F; }
.kh-foot-contact .kh-foot-phones li { border-bottom-color: #e3e4e6; color: #465259; }
.kh-foot-contact .kh-foot-phones a { color: #000 !important; }
.kh-foot-contact .kh-foot-addr { color: #465259; }
.kh-foot-contact .kh-foot-addr strong { color: #000; }
.kh-foot-contact a { color: #000 !important; }
.kh-foot-contact a:hover { color: var(--kh-blue) !important; }

@media (max-width: 1024px) {
    .kh-foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 767px) {
    .kh-foot-dark { padding-top: 40px; }
    .kh-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .kh-foot-brand, .kh-foot-contact { grid-column: 1 / -1; }
    .kh-foot-media { grid-template-columns: 1fr; }
    .kh-foot-building img { height: 240px; }
    .kh-foot-map iframe { height: 260px; }
    .kh-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
    .kh-feature { grid-template-columns: 1fr; gap: 18px; }
    .kh-cards--6, .kh-cards--7, .kh-cards--8, .kh-cards--9, .kh-cards--4 { grid-template-columns: repeat(4, 1fr); }
    .kh-cards--9 { grid-template-columns: repeat(5, 1fr); } /* 9 categories: 5 + 4, no single card left alone on a row */
    .kh-posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .kh-home .kh-sec { padding-bottom: 26px; }
    .kh-buttons { grid-template-columns: 1fr; gap: 8px; }
    .kh-btn { font-size: 13px; }
    .kh-feature { padding: 10px; }
    .kh-buttons { grid-template-columns: 1fr; }
    .kh-carousel-btn { width: 32px; height: 32px; font-size: 20px; }
    .kh-cards--4, .kh-cards--6, .kh-cards--7, .kh-cards--8, .kh-cards--9 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kh-card { padding: 5px 5px 10px; }
    .kh-posts { grid-template-columns: 1fr; }
    .kh-ziraat { gap: 14px; padding: 12px 14px; }
    .kh-ziraat-logo { width: 48px; height: 48px; }
    .kh-ziraat-logo img { height: 32px; }
    .kh-ziraat-title { font-size: 13px; }
    .kh-tarmakbir { flex-direction: column; gap: 12px; padding: 16px; }
    .kh-tarmakbir-img { flex-basis: auto; width: 140px; }
    .kh-tarmakbir-text { text-align: center; }
    .kh-bar-wrap { flex-direction: column; gap: 10px; }
    .kh-bar-more { position: static; transform: none; }
}

/* Dar masaüstü (1025–1300px): ana menü biraz sıkışır */
@media (min-width: 1025px) and (max-width: 1300px) {
    .kh-menu { gap: .9rem; }
    .kh-menu > li > a { font-size: 13px; }
}

/* Anasayfa "Markalar" (Perfect Brands carousel): eşit kutular, logolar ortalı ve aynı yükseklikte */
.kh-sec--brands .pwb-carousel { margin: 0 -3px; }
.kh-sec--brands .pwb-carousel:not(.slick-initialized) { display: flex; overflow: hidden; }
.kh-sec--brands .slick-list { overflow: hidden; }
.kh-sec--brands .slick-track { display: flex !important; align-items: stretch; }
.kh-sec--brands .pwb-slick-slide { height: auto !important; padding: 0 3px; box-sizing: border-box; float: none !important; }
.kh-sec--brands .pwb-slick-slide > a {
    display: flex !important; align-items: center; justify-content: center;
    height: 96px; padding: 14px 16px; box-sizing: border-box;
    background: #fff; border: 1px solid #e6e6e6; border-radius: 0;
    transition: border-color .15s;
}
.kh-sec--brands .pwb-slick-slide > a:hover { border-color: var(--kh-blue); }
.kh-sec--brands .pwb-slick-slide picture { display: contents; }
.kh-sec--brands .pwb-slick-slide img {
    display: block; width: auto !important; height: auto !important;
    max-width: 100% !important; max-height: 62px !important;
    object-fit: contain; margin: 0 auto;
}
@media (max-width: 767px) {
    .kh-sec--brands .pwb-slick-slide > a { height: 76px; padding: 10px; }
    .kh-sec--brands .pwb-slick-slide img { max-height: 48px !important; }
}

/* Header açıklama balonları: üzerine gelince tıklayınca nereye gidileceğini yazar.
   Yalnız fareli cihazlarda; dokunmatikte görünmez. Metin data-kh-tip özniteliğinden gelir. */
@media (hover: hover) and (pointer: fine) {
    #kh-header [data-kh-tip] { position: relative; }
    #kh-header [data-kh-tip]::before {
        content: attr(data-kh-tip);
        position: absolute; left: 50%; top: calc(100% + 8px);
        transform: translate(-50%, 4px);
        padding: 4px 8px;
        background: #fff; color: #000; border: 1px solid #d5d7da; border-radius: 0;
        font-size: 11px; font-weight: 300; font-style: italic; line-height: 1.3; letter-spacing: .01em; text-transform: none;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0; visibility: hidden;
        transition: opacity .15s ease, transform .15s ease, visibility .15s;
        z-index: 1100;
    }
    #kh-header [data-kh-tip]:hover::before {
        opacity: 1; visibility: visible; transform: translate(-50%, 0);
        transition-delay: .35s;
    }
    /* Ana menü: açılır menüyle çakışmasın diye balon yazının üstünde */
    #kh-header .kh-menu > li > a[data-kh-tip]::before { top: auto; bottom: calc(50% + 15px); transform: translate(-50%, -4px); }
    #kh-header .kh-menu > li > a[data-kh-tip]:hover::before { transform: translate(-50%, 0); }
    /* Kenardakiler ekran dışına taşmasın */
    #kh-header .kh-logo[data-kh-tip]::before { left: 0; transform: translate(0, 4px); }
    #kh-header .kh-logo[data-kh-tip]:hover::before { transform: none; }
    #kh-header .kh-topmenu > li:last-child > a[data-kh-tip]::before,
    #kh-header .kh-searchbar-close[data-kh-tip]::before { left: auto; right: 0; transform: translate(0, 4px); }
    #kh-header .kh-topmenu > li:last-child > a[data-kh-tip]:hover::before,
    #kh-header .kh-searchbar-close[data-kh-tip]:hover::before { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    #kh-header [data-kh-tip]::before { transition: none; }
}

/* 50. yıl yazısı: eski logodaki oranla. WooCommerce/ürün sayfalarının img kuralları ezmesin diye !important */
.kh-logo { align-items: center; gap: 0; text-decoration: none; }
a.kh-logo img.kh-logo-50 { display: block; width: auto !important; max-width: none !important; height: 26.8px !important; margin: 0 0 0 7.8px !important; transform: translateY(-2px); }
a.kh-logo--bar img.kh-logo-50 { height: 23.2px !important; margin-left: 6.8px !important; }
a.kh-logo--offcanvas img.kh-logo-50 { height: 27.8px !important; margin-left: 8px !important; }
@media (max-width: 1024px) { a.kh-logo:not(.kh-logo--bar):not(.kh-logo--offcanvas) img.kh-logo-50 { height: 28.6px !important; margin-left: 8.3px !important; } }
/* SVG logo da aynı şekilde korunsun */
a.kh-logo img.kh-logo-img, a.kh-logo img.kh-logo-50 { aspect-ratio: auto !important; object-fit: contain !important; }
a.kh-logo img.kh-logo-img { max-width: none !important; height: auto !important; }

/* Hesabım / Sepet / Tahsilat ikonları — temaya özel, ince ve sade çizgi ikonlar (kişi, alışveriş çantası, kart).
   Menu Icons eklentisinin ikonları bu üç bağlantıda gizlenir; renk yazıyla aynı (siyah → mavi).
   ::before açıklama balonuna ayrıldığı için ikon ::after ile çizilip başa alınır (order: -1). */
.kh-topmenu a[href*="/my-account"] > ._mi, .kh-topmenu a[href*="/cart"] > ._mi, .kh-topmenu a[href*="/tahsilat"] > ._mi,
.kh-mmenu--top a[href*="/my-account"] > ._mi, .kh-mmenu--top a[href*="/cart"] > ._mi, .kh-mmenu--top a[href*="/tahsilat"] > ._mi { display: none !important; }
.kh-topmenu a[href*="/my-account"]::after, .kh-topmenu a[href*="/cart"]::after, .kh-topmenu a[href*="/tahsilat"]::after,
.kh-mmenu--top a[href*="/my-account"]::after, .kh-mmenu--top a[href*="/cart"]::after, .kh-mmenu--top a[href*="/tahsilat"]::after {
    content: ""; order: -1; flex: 0 0 auto; display: inline-block; width: 20px; height: 20px;
    background: currentColor;
    -webkit-mask: var(--kh-ico) center / contain no-repeat; mask: var(--kh-ico) center / contain no-repeat;
    transition: transform .2s ease;
}
.kh-mmenu--top a[href*="/my-account"]::after, .kh-mmenu--top a[href*="/cart"]::after, .kh-mmenu--top a[href*="/tahsilat"]::after { margin-right: 10px; }
.kh-topmenu a[href*="/my-account"], .kh-mmenu--top a[href*="/my-account"] { --kh-ico: url("/wp-content/themes/nutmec/assets/img/icons/hesabim.svg"); }
.kh-topmenu a[href*="/cart"], .kh-mmenu--top a[href*="/cart"] { --kh-ico: url("/wp-content/themes/nutmec/assets/img/icons/sepet.svg"); }
.kh-topmenu a[href*="/tahsilat"], .kh-mmenu--top a[href*="/tahsilat"] { --kh-ico: url("/wp-content/themes/nutmec/assets/img/icons/tahsilat.svg"); }
.kh-topmenu a:hover::after { transform: translateY(-1px); }

/* Anasayfa güven satırı (üst şeridin altında) */
.kh-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kh-trust a {
    display: flex; align-items: center; gap: 12px; height: 100%;
    padding: 12px 14px; background: #fff; border: 1px solid #e6e6e6;
    color: #000; text-decoration: none; transition: border-color .2s;
}
.kh-trust a:hover { border-color: var(--kh-blue); }
.kh-trust-ico { flex: 0 0 auto; display: inline-flex; color: var(--kh-blue); }
.kh-trust-text { display: flex; flex-direction: column; min-width: 0; }
.kh-trust-text strong { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.kh-trust-text small { font-size: 12.5px; color: #75858F; line-height: 1.4; }
.kh-trust a:hover strong { color: var(--kh-blue); }

/* Bilgi ve danışma hatları (fotoğraflı ekip) */
.kh-team-lead { max-width: 720px; margin: -6px auto 18px; text-align: center; color: #465259; font-size: 14px; }
.kh-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kh-person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; transition: border-color .2s; }
.kh-person:hover { border-color: var(--kh-blue); }
.kh-person-photo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #f5f6f8; }
.kh-person-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.kh-person-body strong { font-size: 15px; color: #000; }
.kh-person-role { font-size: 12.5px; color: #75858F; margin-bottom: 4px; }
.kh-person-tel { font-size: 15.5px; font-weight: 700; color: #000; text-decoration: none; letter-spacing: .02em; }
.kh-person-tel:hover { color: var(--kh-blue); }
.kh-person-wa { font-size: 12.5px; color: var(--kh-blue); text-decoration: none; margin-top: 2px; }
.kh-person-wa:hover { text-decoration: underline; }

@media (max-width: 1024px) {
    .kh-trust, .kh-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .kh-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
    .kh-trust a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
    .kh-trust-text small { display: none; }
    .kh-team { grid-template-columns: 1fr; gap: 8px; }
}
.kh-ziraat.kh-wrap { box-sizing: border-box; max-width: var(--kh-wrap); } /* diğer bloklarla aynı genişlik */
/* Güven satırı: ikon üstte, yazılar ortalı */
.kh-trust a { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px 12px; }
.kh-trust-text { align-items: center; }
@media (max-width: 575px) { .kh-trust a { align-items: center; } }

/* Sabit (yapışan) çubuk: hesap ikonları yok; "Tüm Ürünler" + arama ortada, logo solda, × sağda */
.kh-searchbar.is-stuck .kh-topnav { display: none; }
@media (min-width: 1025px) and (pointer: fine) {
    .kh-searchbar.is-stuck .kh-searchbar-row { display: flex; align-items: center; justify-content: center; gap: 20px; position: relative; }
    .kh-searchbar.is-stuck .kh-searchbar-start { display: contents; }
    .kh-searchbar.is-stuck .kh-logo--bar { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
    .kh-searchbar.is-stuck .kh-searchgroup .kh-search { flex: 0 1 468px; width: 468px; }
    .kh-searchbar.is-stuck .kh-searchbar-end { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
}
@media (min-width: 1025px) and (pointer: fine) {
    #kh-header .kh-searchbar.is-stuck .kh-logo--bar { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
    #kh-header .kh-searchbar.is-stuck .kh-topnav { display: none !important; }
}

/* Site zemini beyaz (canlıdaki WPCode "Beyaz arka plan" ile aynı); header alt gölgesi bunun üstünde hafif ayrım yapar */
html, body { background-color: #f7f9fa !important; } html:has(> body.single-product), body.single-product { background-color: #fff !important; }

/* Sayfa başlıkları: tüm sayfalarda Ürünler sayfasındaki gibi (ortalı, büyük harf, Kadmec mavisi, 1.2rem) — canlıdaki WPCode kuralıyla aynı */
h1.post-title, .woocommerce-products-header__title {
    text-align: center !important; width: 100%; text-transform: uppercase !important; color: #3f51b5 !important;
    font-weight: 700 !important; font-size: 1.2rem !important; line-height: 1.2 !important; letter-spacing: normal !important;
    margin: 32px 0 16px !important; padding: 0 !important;
}

/* Anasayfa (canlıdaki Elementor koduyla aynı): "Tümünü Gör" içi boş mavi çerçeve + mavi yazı; bağlantısız güven kutusu üzerine gelince değişmez */
.kh-home .kh-bar-more { background: #fff; border-color: #3f51b5; color: #3f51b5 !important; }
.kh-home .kh-bar-more:hover { background: #3f51b5; border-color: #3f51b5; color: #fff !important; }
.kh-trust a:not([href]) { cursor: default; }
.kh-trust a:not([href]):hover { border-color: #e6e6e6; }
.kh-trust a:not([href]):hover strong { color: inherit; }

/* Mobilde sayfa parmakla sağa-sola kaymasın: yatay taşma html ve body'de kırpılır (iOS Safari yalnız body'yi dinlemiyor).
   clip kaydırma kabı oluşturmaz; dikey kaydırma ve yapışan çubuk etkilenmez. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* Çok dar telefonlarda (≤ 360px) header sığsın: logo + 50 yıl biraz küçülür, MENÜ düğmesi daralır */
@media (max-width: 360px) {
    #kh-header .kh-top-inner { gap: 10px; }
    #kh-header a.kh-logo:not(.kh-logo--bar):not(.kh-logo--offcanvas) .kh-logo-img { width: 112px !important; }
    #kh-header a.kh-logo:not(.kh-logo--bar):not(.kh-logo--offcanvas) .kh-logo-50 { height: 22px !important; margin-left: 6px !important; }
    #kh-header .kh-burger { gap: 7px; height: 38px; padding: 0 11px 0 10px; }
    #kh-header .kh-burger-label { font-size: 12px; letter-spacing: .06em; }
    #kh-header .kh-strip-inner { gap: 10px; }
    #kh-header .kh-quick { gap: 12px; }
    #kh-header .kh-lang { padding-left: 10px; }
}

/* Anasayfa blog yazıları — telefonda kompakt satır: solda küçük kare görsel, sağda başlık + 2 satır özet */
@media (max-width: 575px) {
    .kh-posts { gap: 10px; }
    .kh-post { flex-direction: row; align-items: stretch; }
    .kh-post-img { flex: 0 0 96px; width: 96px; height: 96px; aspect-ratio: 1 / 1; margin: 6px 0 6px 6px; align-self: flex-start; }
    .kh-post-noimg img { width: 64px !important; }
    .kh-post-body { min-width: 0; padding: 8px 12px 10px; gap: 4px; }
    .kh-post-title { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .kh-post-excerpt { font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .kh-post-more { font-size: 12.5px; }
}
