/* FireflexCms tema eklemeleri: main.css (fireflex.com.tr) üzerine CMS'e özgü düzenlemeler */

:root { --cms-cc-accent: #2B3990; --cms-cc-font: 'Poppins', sans-serif; --cms-cc-radius: 0; --cms-cc-text: #333333; }

/* Önce Güvenlik kutusu (fireflex.com.tr anasayfa satır içi stili) */
#onceguvenlik {
    font-weight: 700; font-style: normal; font-size: 18px; margin: 0; border: none;
    position: fixed; right: 30px; bottom: 30px; max-width: 320px;
    background-color: #f7f7f7; padding: 20px; border-radius: 5px; box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
    font-family: system-ui; display: none; z-index: 100; cursor: pointer;
}
#onceguvenlik.onceguvenlik_open { display: block; }
.kapat-btn {
    transform: translateY(4px); position: absolute; top: -30px; right: 0;
    transition: all 120ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 80ms;
    background-color: #2b3990; border: 1px solid #666366; color: white;
    box-shadow: 1px 3px 7px rgba(0,0,0,0.07), -1px -3px 7px rgba(255,255,255,0.32);
    width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer;
}

/* Footer her zaman sayfanın altında: içerik kısa olsa da (ör. boş haber listesi) alt bilgi ekranın altına yerleşir.
   Anasayfadaki şube kartları (position:absolute; bottom:-180px) footer'ın üstüne taşar; anasayfa içeriği ekrandan uzun olduğu için bu düzen korunur. */
body { display: flex; flex-direction: column; min-height: 100vh; }
.fireflex-main { flex: 1 0 auto; }
body > .footer, body > .alt-footer { flex-shrink: 0; }
.alt-footer { display: block; }

/* Anasayfa şube kartları: kartlar masaüstünde position:absolute; bottom:-180px ile yukarı taşar. fireflex.com.tr'de aradaki boşluğu
   haber bölümünün 200px alt boşluğu verir; haber yokken kartlar ürün gruplarına yapışmasın diye boşluk şube bölümünün kendisinde. */
body.page-home .fireflex-main > .ana-harita { margin-top: 200px; }
body.page-home .fireflex-main > .ates-news:has(+ .ana-harita) .haberler { margin-bottom: 0; }
@media (max-width: 992px) {
    body.page-home .fireflex-main > .ana-harita { margin-top: 40px; }
}
.etiket a[data-cookie-preferences]:hover { color: #2B3990 !important; text-decoration: none; }

/* Arama kutusu (üst alan ve mobil) */
.js-search .arama-btn a { cursor: pointer; user-select: none; }
.js-search .input { outline: none; }
/* Mobil menüdeki arama kutusu, main.css'teki input#search-bar stilinin aynısı */
input#search-bar-m {
    margin: 0 auto; width: 100%; height: 60px; padding: 0 50px; font-size: 1rem;
    border: 1px solid #DADADA; outline: none; transition: ease-in-out .3s; background-color: #f7f7f7; position: relative;
}

/* Ürün grupları ve teknik bilgiler */
.solmenu .menu1-sub { padding-left: 35px; font-size: 15px; }
.urn-icrk .text img, .urn-icrk img { max-width: 100%; height: auto; }
.urn-icrk .tab-pane .row > p { width: 100%; }
.table-ksm table img { max-width: 100%; }

/* Ürün / ambalaj sekmeleri: sığmayınca alt satıra geçen butonlar eşit boşluklu, satırı dolduran düzenli bir ızgara oluşturur */
.tabs-menux .nav-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs-menux .nav-pills .nav-item { flex: 1 1 auto; display: flex; }
.tabs-menux .nav-pills .nav-link {
    flex: 1 1 auto; display: flex; align-items: center; justify-content: center;
    margin-right: 0; padding: 10px 16px; text-align: center; line-height: 1.3; white-space: normal;
    transition: background-color .2s, color .2s;
}
.tabs-menux .nav-pills .nav-link:not(.active):hover { background-color: #D3D7EA; color: #242424; }

/* Haberler */
.hbr-kps { display: flex; width: 100%; margin-bottom: 30px; }
.hbr-kps a { display: flex; align-items: center; gap: 15px; width: 100%; color: inherit; text-decoration: none; }
.hbr-kps a:hover { text-decoration: none; color: inherit; }
.hbr-kps .hbr-img { flex: 0 0 40%; max-width: 40%; }
.hbr-kps .hbr-text { flex: 1 1 auto; display: block; }
.hbr-kps .hbr-date { display: block; font-size: 13px; font-weight: 400; color: #797979; }
.haber-sfs .hbr-kps a { margin: 0; }
.fireflex-eq .owl-stage { display: flex; }
.fireflex-eq .owl-item { display: flex; flex-shrink: 0; }
.fireflex-eq .owl-item > .item { display: flex; flex: 1 1 auto; }
.fireflex-empty { text-align: center; color: #797979; margin-bottom: 100px; }
.fireflex-filter .nav-link { color: #333333; border-radius: 0; }
.fireflex-filter .nav-link.active { background-color: #2B3990; color: #fff; }
.haber-lw .texts img { max-width: 100%; height: auto; }

/* İletişim formu */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fireflex-submit { display: block; width: 100%; margin-left: 5px; margin-right: 5px; cursor: pointer; }
.fireflex-submit:hover { background-color: #1f2a6b; }
.js-ajax-form button[disabled] { opacity: .6; cursor: progress; }
.sorular label { display: inline; font-weight: inherit; margin: 0; cursor: pointer; }
.fireflex-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #555; margin: 10px 5px 0; cursor: pointer; }
.fireflex-consent input { margin-top: 3px; flex-shrink: 0; }

/* Arama sonuçları */
.fireflex-search { padding-top: 40px; padding-bottom: 80px; }
.fireflex-search-count { font-size: 18px; color: #333333; margin-bottom: 25px; }
.fireflex-result { display: block; background-color: #F4F6FC; padding: 15px; margin-bottom: 15px; color: #333333; border-left: 3px solid #2B3990; }
.fireflex-result:hover { text-decoration: none; color: #333333; box-shadow: 0 3px 6px rgb(0 0 0 / 16%); }
.fireflex-result-title { color: #E31E24; font-weight: 500; }

/* Hata sayfası */
.fireflex-error { padding: 60px 0 100px; text-align: center; }
.fireflex-error .title { font-size: 72px; }
.fireflex-error .detay-btn { margin-top: 30px; }
.fireflex-error .detay-btn a { padding: 12px 30px; border: 1px solid #A39A9A; color: #333333; }
.fireflex-error .detay-btn a:hover { background-color: #333333; color: #fff; text-decoration: none; }

/* Ürün sekmeleri tablet/telefon */
@media (max-width: 991.98px) {
    .table-ksm { margin-top: 25px !important; }
    .hbr-kps .hbr-img { flex-basis: 35%; max-width: 35%; }
}
