/* Language selector, RTL and CJK/Greek font stacks. Loaded after kurucum.css. */
#kf-lang{display:flex;justify-content:flex-end;padding:6px 10px}
#kf-lang select{padding:5px 10px;font-size:14px;font-weight:700;color:#39843C;background:#fff;border:1px solid #39843C;border-radius:14px;cursor:pointer}
[dir=rtl] #templatemo_menu{direction:ltr}
[dir=rtl] #templatemo_left_col{direction:rtl;text-align:right}
[dir=rtl] #templatemo_left_col ul{padding-right:1.4em;padding-left:0}
html[lang=zh] :is(body,h1,h2,h3,p,li,a,button,select){font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
html[lang=ja] :is(body,h1,h2,h3,p,li,a,button,select){font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",Meiryo,sans-serif}
html[lang=ko] :is(body,h1,h2,h3,p,li,a,button,select){font-family:"Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",sans-serif}
html[lang=el] :is(body,h1,h2,h3,p,li,a,button,select){font-family:"Segoe UI",Roboto,Arial,sans-serif}
/* === RTL düzeltmeleri (css_duzeltme.py) === */
#kf-lang{direction:ltr}
[dir=rtl] #gallery{direction:ltr}
[dir=rtl] .col_w900:has(#gallery){direction:ltr}
[dir=rtl] .col_w900:has(#gallery) :is(p,ul,ol,li,h1,h2,h3,h4,table,.gallery_box){direction:rtl}
[dir=rtl] #templatemo_container{margin-left:auto;margin-right:auto}
/* Arama düğmesi + dil seçici: üst menünün en sağında yan yana (kf-search.js #kf-tools oluşturur). Dar ekranlarda menünün altında sağa hizalı satır. */
#kf-tools{display:flex;align-items:center;gap:8px;direction:ltr}
#templatemo_menu li#kf-tools-li{min-width:156px;flex:0 0 auto!important;display:flex!important;align-items:center;margin:0 0 0 10px!important;padding:0!important;list-style:none;width:auto!important;height:auto!important;position:static!important}
/* kategori sayfalarında ürün adları: her kelime büyük harfle başlar (dile göre; tr i->İ, ar etkilenmez) */
#gallery .gallery_box h2,#gallery .gallery_box h2 a{text-transform:capitalize}
/* kategori galerisi: float yerine flex satırları (kutu yükseklikleri 1-2px farklı olunca satırda boşluk/kayma oluşuyordu) */
#gallery{display:flex!important;flex-wrap:wrap;align-items:stretch;align-content:flex-start;justify-content:center}
#gallery>.cleaner{display:none!important}
/* Türkçe sayfalarla birebir aynı kart konumu (>=901px): float düzenindeki gibi sola yaslı; son satırdaki 1/2 kartı kurucum.css'in margin-left:361px/181px kuralları 3 sütunun ortasına iter. Dar ekranda flex center. */
@media (min-width:901px){#gallery{justify-content:flex-start}}
/* eski menu1 arama ikonu (.kk-ara-btn) yalnızca mobilde menü küçülünce (body.scrolled) görünür; geniş ekranda arama düğmesi #kf-search-btn */
@media (min-width:901px){#templatemo_menu .kk-ara-btn{display:none!important}}
/* mobil (<=600px): menünün altında tek satır; arama %60 (hap, sayfa içi), dil %40 (hap), aynı hizada */
#kf-sbox{display:none}
@media (max-width:900px){
#templatemo_menu li#kf-tools-li{grid-column:1/-1;flex:0 0 100%!important;width:100%!important;min-width:0!important;height:46px!important;margin:0!important;padding:4px 12px!important;box-sizing:border-box;position:relative!important}
html body:not(.scrolled) #templatemo_menu ul{grid-auto-rows:74px 74px 46px}
#kf-tools{width:100%;gap:10px}
#kf-search-btn{display:none!important}
#kf-sbox{display:flex;align-items:center;gap:8px;flex:3 1 0;min-width:0;height:38px;box-sizing:border-box;padding:0 14px;border:1px solid #39843C;border-radius:19px;background:#fff;color:#39843C}
#kf-sbox #kf-search-input{flex:1;min-width:0;width:auto;border:0;border-radius:0;padding:0;height:100%;background:transparent;font-size:15px}
#kf-tools #kf-lang{flex:2 1 0;min-width:0}
#kf-tools #kf-lang select{width:100%;height:38px;border-radius:19px;padding:0 4px 0 12px;font-size:14px}
#kf-search-panel{left:10px;right:10px;width:auto}
}
/* çeviri gelene kadar içerik gizli (yerleşim zıplamasın); kf-ready motor tarafından eklenir, JS yoksa 2.5 sn sonra kendiliğinden açılır */
html.kf-nopre:not(.kf-ready) main,html.kf-nopre:not(.kf-ready) #templatemo_main,html.kf-nopre:not(.kf-ready) #templatemo_footer{visibility:hidden;animation:kfshow 0s 2.5s forwards}
@keyframes kfshow{to{visibility:visible}}
/* motor #kf-lang'i önce sayfa akışına koyar; menüye taşınana kadar içeriği itmesin (zıplama) */
#templatemo_container>#kf-lang,body>#kf-lang{position:fixed!important;top:0;left:0;visibility:hidden;pointer-events:none}
#kf-tools #kf-lang{padding:0}
#kf-tools #kf-lang select{width:96px}
#kf-search-btn{width:32px;height:32px;padding:0;border:1px solid #39843C;border-radius:50%;background:#fff;color:#39843C;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
#kf-search-btn:hover,#kf-search-btn[aria-expanded=true]{background:#39843C;color:#fff}
#kf-search-panel{position:absolute;right:10px;top:100%;width:min(430px,94vw);background:#fff;border:1px solid #cfe3cf;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:10px;z-index:80;direction:ltr}
[dir=rtl] #kf-search-panel{direction:rtl}
#kf-search-panel[hidden]{display:none}
#kf-search-input{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #39843C;border-radius:10px;font:600 15px Nunito,Arial,sans-serif;outline:none}
#kf-search-results{list-style:none;margin:8px 0 0;padding:0;max-height:min(60vh,420px);overflow:auto}
#kf-search-results li a{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:8px;color:#3f3f3f;text-decoration:none;font:600 14px Nunito,Arial,sans-serif}
#kf-search-results li a:hover{background:#eef6ee}
#kf-search-results img{width:44px;height:44px;object-fit:cover;border-radius:8px;flex:none}
#kf-search-results .kf-none{padding:8px;color:#777;font:600 14px Nunito,Arial,sans-serif}
/* Arapça menü yazısı İngilizceden 2px büyük (11px -> 13px); şekiller sabit */
@media (min-width:901px){
html[lang=ar] #templatemo_menu li a{font-size:15px!important}
}
/* Üst menü şekilleri tüm dillerde aynı: genişlik etiket uzunluğuna (60%) bağlıydı; İngilizcedeki boyutlar sabitlenir */
@media (min-width:901px){
#templatemo_menu li:nth-child(2) a .mi.wide{width:65px!important}
#templatemo_menu li:nth-child(3) a .mi.wide{width:47px!important}
#templatemo_menu li:nth-child(7) a .mi.wide{width:47px!important}
#templatemo_menu li:nth-child(8) a .mi.wide{width:43px!important}
}
/* === /RTL düzeltmeleri === */
/* Genel Bilgilendirme (kf-rich.js disclaimer): ürün sayfası sonunda küçük, dengeleyici not */
.kf-genel{clear:both;margin:30px 0 10px;padding:14px 16px;border-top:1px solid #e3dcc3;background:#fffdf6;border-radius:0 0 10px 10px;font-size:13px;line-height:1.65;color:#6b5d4f}
.kf-genel h3{margin:0 0 6px;font-size:14px;font-weight:800;color:#4a3f35;text-transform:none}
.kf-genel p{margin:0}

/* Kaynakça (References/Sources): açılır-kapanır kutu (kf-rich.js references()) */
details.kf-kaynak{clear:both;margin:14px 0 18px;border:1px solid #e3dcc3;border-radius:10px;background:#fffdf6;overflow:hidden}
details.kf-kaynak>summary{cursor:pointer;padding:10px 14px;font:800 15px Nunito,"Nunito Fallback",Tahoma,Verdana,sans-serif;color:#4a3f35;list-style:none;display:flex;align-items:center;gap:8px}
details.kf-kaynak>summary::-webkit-details-marker{display:none}
details.kf-kaynak>summary::before{content:"\25B8";color:#39843C;font-size:14px;transition:transform .2s}
details.kf-kaynak[open]>summary::before{transform:rotate(90deg)}
details.kf-kaynak[open]>summary{border-bottom:1px solid #e3dcc3}
details.kf-kaynak>ol,details.kf-kaynak>ul{margin:10px 16px 14px;padding-left:1.4em;font-size:13px;line-height:1.6}
[dir=rtl] details.kf-kaynak>ol,[dir=rtl] details.kf-kaynak>ul{padding-left:0;padding-right:1.4em}
[dir=rtl] details.kf-kaynak>summary::before{transform:scaleX(-1)}
[dir=rtl] details.kf-kaynak[open]>summary::before{transform:scaleX(-1) rotate(90deg)}

/*kf-galeri-orta*/
@media (min-width:901px) and (max-width:1180px){
html body:has(#gallery) .col_w900.col_w900_last{width:auto!important;margin-right:0!important;padding:0 8px!important;box-sizing:border-box}
html body:has(#gallery) #templatemo_footer{width:auto!important;max-width:1015px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
html body #gallery{display:flex!important;flex-wrap:wrap;justify-content:center!important;width:auto;max-width:1120px;margin:0 auto;padding:0;box-sizing:border-box}
html body #gallery .gallery_box,html body #gallery .gallery_box:last-child:nth-child(3n+1),html body #gallery .gallery_box:nth-last-child(2):nth-child(3n+1){float:none;clear:none;flex:0 0 auto;margin:0 7px 15px}
}
/*/kf-galeri-orta*/
/*kf-ltr*/html body .kf-ltr{unicode-bidi:isolate;direction:ltr;display:inline!important;margin:0!important;padding:0!important;width:auto!important;float:none!important}/*/kf-ltr*/
html[dir=rtl] a[href^="mailto:"],html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href*="wa.me"],html[dir=rtl] a[href*="whatsapp"]{unicode-bidi:isolate;direction:ltr}

/*kf-rtl-liste*/
html[dir=rtl] #templatemo_content_area ul,html[dir=rtl] #templatemo_content_area ol{margin:10px 10px 16px 0 !important;padding-right:16px !important;padding-left:0!important}
html[dir=rtl] #templatemo_content_area ul ul,html[dir=rtl] #templatemo_content_area ul ol,html[dir=rtl] #templatemo_content_area ol ul,html[dir=rtl] #templatemo_content_area ol ol{margin:6px -20px 6px 0 !important}
html[dir=rtl] #templatemo_content_area li:has(>ul),html[dir=rtl] #templatemo_content_area li:has(>ol),html[dir=rtl] #templatemo_content_area li:has(>p+ul),html[dir=rtl] #templatemo_content_area li:has(>p+ol){margin-right:0 !important;margin-left:0!important;padding-right:0 !important;padding-left:0!important}
html[dir=rtl] #templatemo_content_area li:has(>ul)>p,html[dir=rtl] #templatemo_content_area li:has(>ol)>p,html[dir=rtl] #templatemo_content_area li:has(>p+ul)>p,html[dir=rtl] #templatemo_content_area li:has(>p+ol)>p{margin-right:-20px !important;margin-left:0!important}
html[dir=rtl] #templatemo_content_area :not(ul):not(ol)>li{padding-right:4px !important;padding-left:0!important;margin-right:4px !important;margin-left:0!important}
html[dir=rtl] ol li>span,html[dir=rtl] ol li>p{margin-right:0 !important;margin-left:0!important;padding-right:0 !important;padding-left:0!important}
html[dir=rtl] p>ul{margin-right:0 !important;margin-left:0!important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] #templatemo_left_col img+ul,html[dir=rtl] #templatemo_left_col img+ul>li{padding-right:0 !important;padding-left:0!important;margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area :is(ul,html[dir=rtl] ol):not(li :is(ul,html[dir=rtl] ol)):not(p>:is(ul,html[dir=rtl] ol)):has(>li>:is(ul,html[dir=rtl] ol)){padding-right:0 !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area :is(ul,html[dir=rtl] ol):not(li :is(ul,html[dir=rtl] ol)):not(p>:is(ul,html[dir=rtl] ol)):has(>li>:is(ul,html[dir=rtl] ol)){margin-right:10px !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area ul:not(li ul):not(li ol):not(p>ul):not(:has(>li>:is(ul,html[dir=rtl] ol))){padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area ul:not(li ul):not(li ol):not(p>ul):not(:has(>li>:is(ul,html[dir=rtl] ol))){margin-right:10px !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area ol:not(li ul):not(li ol):not(p>ol):not(:has(>li>:is(ul,html[dir=rtl] ol))){margin-right:10px !important;margin-left:0!important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p>:is(ul,html[dir=rtl] ol){margin-right:0 !important;margin-left:0!important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p>ol{padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p:has(>ul),html[dir=rtl] body #templatemo_content_area p:has(>ol){margin-right:10px !important;margin-left:0!important;margin-left:10px !important;margin-right:0!important}
html[dir=rtl] body #templatemo_content_area li :is(ul,html[dir=rtl] ol){margin:4px 0 8px 0 !important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area li ol{padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area li:has(>ul)>p,html[dir=rtl] body #templatemo_content_area li:has(>ol)>p,html[dir=rtl] body #templatemo_content_area li:has(>p+ul)>p,html[dir=rtl] body #templatemo_content_area li:has(>p+ol)>p{margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area :is(ul,html[dir=rtl] ol):not(li :is(ul,html[dir=rtl] ol)):not(p>:is(ul,html[dir=rtl] ol)):has(>li>:is(ul,html[dir=rtl] ol))>li:not(:has(>:is(ul,html[dir=rtl] ol))){margin-right:0 !important;margin-left:0!important;padding-right:0 !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area ul>li::before{left:auto!important;right:-22px}
html[dir=rtl] body #templatemo_content_area ul>li>p{margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area :is(ul,html[dir=rtl] ol):not(li :is(ul,html[dir=rtl] ol)):not(p>:is(ul,html[dir=rtl] ol)):has(>li>:is(ul,html[dir=rtl] ol)){margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area ul:not(li ul):not(li ol):not(p>ul):not(:has(>li>:is(ul,html[dir=rtl] ol))){margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area ol:not(li ul):not(li ol):not(p>ol):not(:has(>li>:is(ul,html[dir=rtl] ol))){margin-right:0 !important;margin-left:0!important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p>:is(ul,html[dir=rtl] ol){margin-right:0 !important;margin-left:0!important;padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p>ol{padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area p:has(>ul),html[dir=rtl] body #templatemo_content_area p:has(>ol){margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area li :is(ul,html[dir=rtl] ol){padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area li ol{padding-right:22px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area li:has(>ul)>p,html[dir=rtl] body #templatemo_content_area li:has(>ol)>p,html[dir=rtl] body #templatemo_content_area li:has(>p+ul)>p,html[dir=rtl] body #templatemo_content_area li:has(>p+ol)>p{margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area :is(ul,html[dir=rtl] ol):not(li :is(ul,html[dir=rtl] ol)):not(p>:is(ul,html[dir=rtl] ol)):has(>li>:is(ul,html[dir=rtl] ol))>li:not(:has(>:is(ul,html[dir=rtl] ol))){margin-right:0 !important;margin-left:0!important;padding-right:0 !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area ul>li>p{margin-right:0 !important;margin-left:0!important}
html[dir=rtl] body #templatemo_content_area ol:not(li ul):not(li ol):not(p>ol):not(:has(>li>:is(ul,html[dir=rtl] ol))),html[dir=rtl] body #templatemo_content_area p>ol,html[dir=rtl] body #templatemo_content_area li ol{padding-right:26px !important;padding-left:0!important}
html[dir=rtl] body #templatemo_content_area li :is(ul,html[dir=rtl] ol){margin:2px 0 10px 0 !important}
html[dir=rtl] #templatemo_content_area .kf-kagit li,html[dir=rtl] #templatemo_content_area .kf-kagit p{padding:0 18px 0 0 !important}
html[dir=rtl] #templatemo_content_area .kf-kagit li::before{left:auto!important;right:0}
html[dir=rtl] #templatemo_content_area .kf-bolum ol{padding-right:0 !important;padding-left:0!important;margin-right:0 !important;margin-left:0!important}
html[dir=rtl] #templatemo_content_area .kf-bolum ol>li{padding-right:40px !important;padding-left:0!important;margin-right:0 !important;margin-left:0!important}
html[dir=rtl] #templatemo_content_area .kf-bolum ol>li::before{left:auto!important;right:0 !important}
html[dir=rtl] #templatemo_content_area .kf-bolum ol>li{padding-right:33px !important;padding-left:0!important}
html[dir=rtl] #templatemo_content_area .kf-bolum ol ol>li{padding-right:34px !important;padding-left:0!important}
html[dir=rtl] #templatemo_content_area .kf-bolum .kf-olcu,html[dir=rtl] #templatemo_content_area .kf-bolum ol li>span.kf-olcu{margin:0 8px 0 0 !important}
html[dir=rtl] body #templatemo_content_area .kf-bolum>:is(p,html[dir=rtl] h3,html[dir=rtl] h4,html[dir=rtl] ul,html[dir=rtl] ol),html[dir=rtl] body #templatemo_content_area .kf-bolum :is(.accordion-content,html[dir=rtl] .accordion-content-h3,html[dir=rtl] .accordion-content-p)>:is(p,html[dir=rtl] h3,html[dir=rtl] h4,html[dir=rtl] ul,html[dir=rtl] ol){margin-right:0 !important;margin-left:0!important}
/*/kf-rtl-liste*/

/*kf-mobil-arama*/
@media (max-width:900px){
html body #kf-sbox{border-radius:20px;padding:0 4px 0 12px;box-shadow:inset 0 1px 2px rgba(74,63,53,.08);height:38px}
html body #kf-sbox svg{width:22px;height:22px;flex:none;color:#7a6a5a}
html body #kf-sbox input#kf-search-input{font:700 15px/1.2 Nunito,"Nunito Fallback",Tahoma,Verdana,sans-serif;color:#4a3f35}
html body #kf-sbox input#kf-search-input::placeholder{color:#8a7a6a;font-weight:700}
html body #kf-lang{flex:2 1 0}
html body #templatemo_menu #kf-tools #kf-lang select{width:100%!important;min-width:0!important}
}
/*/kf-mobil-arama*/

/*kf-rakam*/
html[lang=ar] #templatemo_content_area ol{list-style-type:arabic-indic}
html[lang=fa] #templatemo_content_area ol{list-style-type:persian}
html[lang=ar] #templatemo_content_area .kf-bolum ol>li::before{content:counter(kf-sira,arabic-indic)!important}
html[lang=fa] #templatemo_content_area .kf-bolum ol>li::before{content:counter(kf-sira,persian)!important}
/*/kf-rakam*/

/* kf-ikon-tr: menü ikon genişlikleri Türkçedeki gibi */
@media (min-width:901px){
  html:not([lang=tr]) body #templatemo_menu > ul > li:nth-child(2) a .mi.wide{width:calc(4.909 * clamp(11px,.85vw,13.5px)) !important}
  html:not([lang=tr]) body #templatemo_menu > ul > li:nth-child(3) a .mi.wide{width:calc(5.081 * clamp(11px,.85vw,13.5px)) !important}
  html:not([lang=tr]) body #templatemo_menu > ul > li:nth-child(7) a .mi.wide{width:calc(4.651 * clamp(11px,.85vw,13.5px)) !important}
  html:not([lang=tr]) body #templatemo_menu > ul > li:nth-child(8) a .mi.wide{width:calc(3.703 * clamp(11px,.85vw,13.5px)) !important}
}
