/* Fuya Cami Isıtma — lokasyon merkezi (hub + il/ilçe) */
.fx-hub { background: var(--arkaplan, #fff); }
.fx-hub-turler {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    padding: 0;
}
.fx-hub-turler li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--gri-acik, #F4F6F9);
    border: 1px solid var(--gri-orta, #E8ECF2);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-weight: 700;
    color: var(--baslik-h2, #243C4C);
    font-size: 0.84rem;
    line-height: 1.25;
    min-height: 3.1rem;
}
.fx-hub-turler i { color: var(--vurgu, #E67E22); font-size: 1.05rem; }
.fx-hub-filtre {
    position: sticky;
    top: 4.6rem;
    z-index: 8;
    background: #fff;
    padding: 0.85rem 0 0.75rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid var(--gri-orta, #E8ECF2);
}
.fx-hub-ara { display: block; }
.fx-hub-ara-etiket {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gri-metin, #6B7A94);
    margin-bottom: 0.3rem;
}
.fx-hub-ara input {
    width: 100%;
    border: 1px solid var(--gri-orta, #E8ECF2);
    background: var(--gri-acik, #F4F6F9);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--metin, #243C4C);
    min-height: 48px;
}
.fx-hub-ara input:focus {
    outline: 2px solid var(--buton, #243C4C);
    outline-offset: 1px;
    background: #fff;
}
.fx-hub-bolge {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}
.fx-hub-bolge::-webkit-scrollbar { display: none; }
.fx-chip {
    flex: 0 0 auto;
    border: 1px solid var(--gri-orta, #E8ECF2);
    background: #fff;
    color: var(--baslik-h2, #243C4C);
    padding: 0.45rem 0.8rem;
    min-height: 40px;
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.fx-chip.aktif,
.fx-chip:hover {
    background: var(--buton, #243C4C);
    border-color: var(--buton, #243C4C);
    color: #fff;
}
.fx-hub-sayac {
    margin-top: 0.55rem;
    color: var(--gri-metin, #6B7A94);
    font-size: 0.82rem;
}
.fx-il-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
.fx-il-kart {
    background: #fff;
    border: 1px solid var(--gri-orta, #E8ECF2);
    border-radius: 12px;
    padding: 0.9rem 0.9rem 0.85rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 6px 18px rgba(45, 60, 89, 0.05);
}
.fx-il-kart-canli { border-color: #d8e0ea; }
.fx-il-kart[hidden],
.fx-il-kart.fx-il-gizli { display: none !important; }
.fx-il-kart-ust {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}
.fx-plaka {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--buton, #243C4C);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    font-size: 0.88rem;
    text-decoration: none;
}
a.fx-plaka:hover { color: #fff; background: var(--buton-hover, #5289AD); }
.fx-il-ad { flex: 1; min-width: 0; }
.fx-il-kart h2 {
    font-size: 1.08rem;
    color: var(--baslik-h2, #243C4C);
    margin: 0;
    line-height: 1.2;
}
.fx-il-ad-link {
    color: inherit;
    text-decoration: none;
}
.fx-il-ad-link:hover { color: var(--link-hover, #5289AD); }
.fx-il-bolge {
    color: var(--gri-metin, #6B7A94);
    font-size: 0.78rem;
    margin: 0.12rem 0 0;
}
.fx-il-rozet {
    flex: 0 0 auto;
    background: #e8f6ed;
    color: #1e7e34;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}
.fx-il-hizmetler {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}
.fx-il-hizmetler li { margin: 0; }
.fx-hizmet-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
    font-size: 0.73rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    background: var(--buton, #243C4C);
    color: #fff !important;
}
.fx-hizmet-chip:hover { background: var(--buton-hover, #5289AD); color: #fff !important; }
.fx-hizmet-kapali {
    background: var(--gri-acik, #F4F6F9);
    color: #9aa6b8 !important;
    font-weight: 600;
    pointer-events: none;
}
.fx-hub-bos { padding: 1.5rem 0; color: var(--gri-metin, #6B7A94); }

.fx-loc-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vurgu, #E67E22);
    font-weight: 700;
    margin: 0 0 0.45rem;
}
.fx-loc-taslak {
    margin-top: 0.75rem;
    display: inline-block;
    background: #fff6e8;
    color: #8a5a12;
    border: 1px solid #f0d9b0;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 6px;
}
.fx-loc-urunler { padding: 0 0 2.4rem; }
.fx-loc-urunler .urun-kesif-bolum { margin-top: 0; padding-top: 0.4rem; border-top: none; }
.fx-loc-ana .urun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-loc-govde {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 2rem;
    align-items: start;
}
.fx-loc-makale-fig {
    margin: 0 0 1.75rem;
}
.fx-loc-makale-fig img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: var(--gri-acik, #F4F6F9);
}
.fx-loc-makale-fig figcaption {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    color: var(--metin-soluk, #5b6b75);
}
.fx-loc-kapak-fig img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 12px;
    display: block;
    background: var(--gri-acik, #F4F6F9);
}
.fx-loc-intro { margin-bottom: 1.5rem; }
.fx-loc-bolum { margin: 0 0 1.75rem; }
.fx-loc-bolum h2 {
    color: var(--baslik-h2, #243C4C);
    font-size: var(--font-h2, 1.35rem);
    margin: 0 0 0.7rem;
    line-height: 1.3;
}
.fx-loc-ana .icerik-html a.fx-ic-link {
    color: var(--link, #2D6A9F);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.fx-loc-ana .icerik-html a.fx-ic-link:hover { color: var(--link-hover, #E67E22); }
.fx-loc-ana .icerik-html strong { color: var(--baslik-h3, #243C4C); font-weight: 700; }
.fx-tablo-kaydir { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0.8rem 0 1rem; }
.fx-karsilastirma {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.fx-karsilastirma th, .fx-karsilastirma td {
    border: 1px solid var(--gri-orta, #e4e8ee);
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
}
.fx-karsilastirma thead th {
    background: var(--gri-acik, #F4F6F9);
    color: var(--baslik-h2, #243C4C);
    font-weight: 700;
}
.fx-karsilastirma tbody th { width: 28%; font-weight: 700; background: #fbfcfe; }
.fx-adim-liste, .fx-senaryo-liste, .fx-loc-ana .icerik-html ol {
    margin: 0.6rem 0 1rem;
    padding-left: 1.2rem;
}
.fx-adim-liste li, .fx-senaryo-liste li, .fx-loc-ana .icerik-html ol li {
    margin: 0.45rem 0;
    line-height: 1.6;
}
.fx-ozellik-grid, .fx-sorun-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0.85rem 0 1.1rem;
}
.fx-ozellik-kart, .fx-sorun-kart {
    background: var(--gri-acik, #F4F6F9);
    border: 1px solid var(--gri-orta, #e4e8ee);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}
.fx-ozellik-kart h3, .fx-sorun-kart h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
    color: var(--baslik-h3, #243C4C);
}
.fx-chip-liste, .fx-mah-liste {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0.6rem 0 0;
}
.fx-chip-liste a, .fx-mah-liste li {
    background: var(--gri-acik, #F4F6F9);
    border: 1px solid var(--gri-orta, #e4e8ee);
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    color: var(--baslik-h2, #243c4c);
    font-size: 0.88rem;
}
.fx-chip-liste a:hover { background: var(--baslik-h1, #243C4C); color: #fff; border-color: transparent; }
.fx-mah-daha { margin-top: 0.8rem; }
.fx-mah-daha summary { cursor: pointer; font-weight: 700; color: var(--baslik-h2, #243C4C); }
.fx-loc-yan { position: sticky; top: 1rem; }
.fx-yan-kart {
    background: #fff;
    padding: 1.05rem 1.1rem 1.15rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gri-orta, #e4e8ee);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(45, 60, 89, 0.05);
}
.fx-yan-kart h2 { font-size: 1.02rem; margin: 0 0 0.55rem; color: var(--baslik-h2, #243C4C); }
.fx-yan-kart ul { list-style: none; padding: 0; margin: 0; }
.fx-yan-kart li { margin: 0.4rem 0; }
.fx-yan-kart a { color: var(--link, #2D6A9F); }
.fx-yan-kart a:hover { color: var(--link-hover, #E67E22); }
.fx-yan-cta { border-top: 3px solid var(--vurgu, #E67E22); }
.fx-yan-cta .btn { margin-top: 0.7rem; display: inline-flex; }
.fx-loc-sticky {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 0.65rem 4.8rem 0.65rem 0.9rem;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--gri-orta, #e4e8ee);
    box-shadow: 0 -8px 24px rgba(45, 60, 89, 0.08);
}
.fx-loc-sticky .btn { width: 100%; justify-content: center; text-align: center; }

.panel-main h1.fx-panel-baslik { margin-bottom: 0.45rem; }
.fx-panel-kpi { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0.5rem; margin: 0.6rem 0; }
.fx-sitemap-satir { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; margin: 0 0 0.7rem; font-size: 0.82rem; }
.fx-sitemap-satir a { color: #2D5A73; font-weight: 700; }
.fx-filtre-satir input[type="search"] {
    padding: 0.35rem 0.5rem;
    border: 1px solid #D5DCE8;
    border-radius: 6px;
    font-size: 0.82rem;
    min-width: 10rem;
}
.fx-sayfa-nokta { padding: 0.3rem 0.15rem; color: #6B7A94; }
.fx-panel-kpi div { background: #fff; padding: 0.5rem 0.7rem; border-top: 3px solid #c57a32; }
.fx-panel-kpi span { font-size: 0.75rem; color: #6B7A94; }
.fx-panel-kpi strong { display: block; font-size: 1.15rem; color: #142029; }
.fx-panel-kompakt { padding: 0.7rem 0.85rem !important; }
.fx-toolbar { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.fx-toolbar .panel-rozet { min-width: 4.6rem; text-align: center; }
.fx-btn-grup {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: stretch;
    vertical-align: middle;
    border-radius: 6px;
    overflow: visible;
    border: 1px solid #d5dce8;
    background: #fff;
}
.fx-satir-islem .btn,
.fx-satir-islem .btn:disabled,
.fx-toolbar .btn:disabled {
    pointer-events: auto !important;
    cursor: pointer;
    opacity: 1;
}
.fx-btn-grup > .btn {
    border-radius: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    padding: 0.28rem 0.4rem;
    font-size: 0.75rem;
    box-sizing: border-box;
}
.fx-panel-tablo .fx-btn-grup > .btn {
    min-width: 0;
    padding: 0.28rem 0.45rem;
}
.fx-btn-grup > .btn.btn-ikincil { margin-left: 0 !important; }
.fx-btn-grup > .btn + .btn { box-shadow: inset 1px 0 0 rgba(255,255,255,0.2); }
.fx-btn-grup > .panel-rozet {
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0 0.5rem;
    font-size: 0.7rem;
    border-left: 1px solid #d5dce8;
}
.fx-kuyruk-log { max-height: 90px; overflow: auto; background: #142029; color: #e8eef4; padding: 0.45rem 0.6rem; font-size: 0.75rem; margin: 0.4rem 0 0; }
.fx-aksiyon-sonuc {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    height: 1.2em;
    line-height: 1.2em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #243C4C;
    font-weight: 700;
}
.fx-kuyruk-log[hidden] { display: none !important; height: 0; margin: 0; padding: 0; }
.fx-aksiyon-sonuc.fx-ok { color: #155724; }
.fx-aksiyon-sonuc.fx-hata { color: #721c24; }
.fx-aksiyon-sonuc.fx-calisiyor { color: #004085; }
.fx-satir-islem {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-width: 0;
}
.fx-satir-islem > .fx-aksiyon-sonuc {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
.fx-satir-islem .btn.fx-durum-ok { box-shadow: inset 0 -2px 0 #28a745; }
.fx-satir-islem .btn.fx-durum-yok { box-shadow: inset 0 -2px 0 #cfd6e0; }
.fx-panel-tablo { width: 100%; }
.fx-panel-tablo td, .fx-panel-tablo th { padding: 0.35rem 0.4rem; white-space: nowrap; vertical-align: middle; }
.fx-panel-tablo .panel-rozet { display: inline-block; text-align: center; }
.fx-panel-tablo .panel-islemler { white-space: nowrap; }
.fx-panel-tablo .panel-islemler .fx-aksiyon-sonuc { display: none !important; }
.fx-tablo-kaydir-panel { overflow-x: visible; }
.fx-tablo-ipucu { margin: 0 0 0.55rem; font-size: 0.78rem; color: #5b6b80; }
.fx-panel-tablo tr.fx-satir-yeni td { background: #f3fbf5; }
.fx-panel-tablo tr.fx-satir-kuyruk td { background: #f4f8ff; }
.fx-panel-kat { padding: 0 !important; }
.fx-panel-kat > summary {
    cursor: pointer;
    list-style: none;
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: #2D3C59;
    user-select: none;
}
.fx-panel-kat > summary::-webkit-details-marker { display: none; }
.fx-panel-kat > summary::before { content: "▸ "; color: #5289AD; }
.fx-panel-kat[open] > summary::before { content: "▾ "; }
.fx-panel-kat[open] > summary { border-bottom: 1px solid #eef1f5; }
.fx-panel-kat > :not(summary) { padding: 0.7rem 0.9rem 0.85rem; }
.fx-ai-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
}
.fx-ai-grid label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2D3C59;
    margin: 0;
}
.fx-ai-grid input {
    display: block;
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #D5DCE8;
    border-radius: 6px;
    font-size: 0.85rem;
}
.fx-ai-kaydet { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 0; }
.fx-ai-kaydet small { color: #6B7A94; font-size: 0.75rem; }
.fx-filtre-satir { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.fx-filtre-satir select {
    padding: 0.35rem 0.5rem;
    border: 1px solid #D5DCE8;
    border-radius: 6px;
    font-size: 0.82rem;
    min-width: 8.5rem;
}
.fx-sayfa-nav { margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.fx-tablo-kaydir-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 980px) {
    .fx-il-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fx-hub-turler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fx-loc-govde { grid-template-columns: 1fr; }
    .fx-loc-yan { position: static; }
    .fx-ozellik-grid, .fx-sorun-grid { grid-template-columns: 1fr; }
    .fx-panel-kpi { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .fx-ai-grid { grid-template-columns: 1fr 1fr; }
    .fx-loc-sticky { display: flex; }
    body:has(.fx-loc-sticky) .fab-tel {
        bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
    }
    body:has(.fx-loc-sticky) .fab-wa {
        bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
    }
    body:has(.fx-loc-sticky) .fab-yukari {
        bottom: calc(12.65rem + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 640px) {
    .fx-il-grid { grid-template-columns: 1fr; }
    .fx-hub-turler { grid-template-columns: 1fr 1fr; }
    .fx-hizmet-chip { font-size: 0.8rem; min-height: 3.1rem; }
    .fx-hub-filtre { top: 3.7rem; }
    .fx-hub-hero { padding-top: 1.4rem; }
    .fx-loc-kapak-fig img { max-height: none; border-radius: 8px; }
    .sayfa-ust h1 { font-size: 1.55rem; }
    .fx-loc-sayfa { padding-bottom: 5.2rem; }
    .fx-ai-grid { grid-template-columns: 1fr; }
    .fx-filtre-satir select { min-width: 0; flex: 1 1 46%; }
}
