/* ---------------------------------------------------------------
   Abant Döviz - KVKK Çerez Onay Bandı
   Tüm seçiciler .abd- ön eki ile izole edilmiştir; site CSS'ini etkilemez.
   ÖNEMLİ: 3 butonun görsel eşitliği KVKK "nudge" yasağı gereğidir.
   .abd-cc-btn sınıfındaki renk/font/punto/boyut DEĞİŞTİRİLMEMELİDİR.
   --------------------------------------------------------------- */

.abd-cc-banner,
.abd-cc-modal {
    font-family: 'Roboto', Arial, sans-serif;
    box-sizing: border-box;
}

.abd-cc-banner *,
.abd-cc-modal * {
    box-sizing: border-box;
}

/* ---------- Alt bant ---------- */

.abd-cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* Tema, mobil alt menüye (.menu-navigation-dark-header-sub) z-index:999999
       veriyor. Onay bandı her koşulda onun ÜSTÜNDE kalmalıdır. */
    z-index: 1000000;
    background: #1d1e1f;
    border-top: 4px solid #fdc400;
    color: #e4e4e4;
    padding: 22px 20px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .35);
}

.abd-cc-banner-in {
    max-width: 1170px;
    margin: 0 auto;
}

.abd-cc-text {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 18px 0;
    text-align: left;
}

.abd-cc-text a {
    color: #fdc400;
    text-decoration: underline;
}

.abd-cc-text a:hover,
.abd-cc-text a:focus {
    color: #fdc400;
    text-decoration: underline;
}

/* ---------- Butonlar: 3'ü de birebir aynı ---------- */

.abd-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.abd-cc-btn {
    /* Aşağıdaki değerler 3 buton için de ortaktır. Yasal eşitlik şartı. */
    flex: 1 1 220px;
    min-height: 48px;
    padding: 13px 18px;
    background: #2f3132;
    color: #ffffff;
    border: 2px solid #fdc400;
    border-radius: 3px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s linear;
    -webkit-appearance: none;
    appearance: none;
}

.abd-cc-btn:hover,
.abd-cc-btn:focus {
    background: #3d3f40;
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.abd-cc-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ---------- Tercih paneli ---------- */

.abd-cc-modal {
    position: fixed;
    inset: 0;
    /* Tercih paneli, bandın da mobil alt menünün de üstünde olmalı. */
    z-index: 1000001;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.abd-cc-modal-box {
    background: #ffffff;
    color: #282a2b;
    width: 100%;
    max-width: 640px;
    border-radius: 4px;
    border-top: 4px solid #fdc400;
    max-height: 90vh;
    overflow-y: auto;
}

.abd-cc-modal-head {
    padding: 22px 26px 14px 26px;
    border-bottom: 1px solid #e6e6e6;
}

.abd-cc-modal-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #282a2b;
    text-transform: none;
}

.abd-cc-modal-body {
    padding: 20px 26px;
}

.abd-cc-group {
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.abd-cc-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.abd-cc-group-head strong {
    font-size: 15px;
    font-weight: 700;
    color: #282a2b;
}

.abd-cc-group p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #5a5a5a;
}

.abd-cc-locked {
    font-size: 12px;
    font-weight: 700;
    color: #7a7a7a;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Anahtar (toggle) */
.abd-cc-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex: 0 0 auto;
}

.abd-cc-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.abd-cc-slider {
    position: absolute;
    inset: 0;
    background: #c4c4c4;
    border-radius: 26px;
    transition: background .18s linear;
    pointer-events: none;
}

.abd-cc-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform .18s linear;
}

.abd-cc-switch input:checked + .abd-cc-slider {
    background: #fdc400;
}

.abd-cc-switch input:checked + .abd-cc-slider:before {
    transform: translateX(24px);
}

.abd-cc-switch input:focus-visible + .abd-cc-slider {
    outline: 2px solid #282a2b;
    outline-offset: 2px;
}

.abd-cc-modal-foot {
    padding: 0 26px 24px 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Panel içi butonlar da birbirine eşit */
.abd-cc-modal-foot .abd-cc-btn {
    background: #282a2b;
    border-color: #282a2b;
}

.abd-cc-modal-foot .abd-cc-btn:hover,
.abd-cc-modal-foot .abd-cc-btn:focus {
    background: #3d3f40;
}

/* ---------- Harita yer tutucu (onay yoksa) ---------- */

.abd-cc-map-placeholder {
    width: 100%;
    min-height: 320px;
    background: #f2f2f2;
    border: 1px solid #dcdcdc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    font-family: 'Roboto', Arial, sans-serif;
}

.abd-cc-map-placeholder p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    max-width: 460px;
}

.abd-cc-map-placeholder .abd-cc-btn {
    flex: 0 0 auto;
    max-width: 300px;
    background: #282a2b;
    border-color: #282a2b;
}

.abd-cc-map-links {
    margin-top: 14px;
    font-size: 13px;
}

.abd-cc-map-links a {
    color: #5a5a5a;
    text-decoration: underline;
}

/* Yer tutucu, haritanın kaplayacağı alanın aynısını kaplar.
   Tema kuralı: .maps{height:685px} (masaüstü) / height:auto (mobil). */
.maps .abd-cc-map,
.maps .abd-cc-map .abd-cc-map-placeholder {
    height: 100%;
}

/* Sağdaki "İletişim" kutusu haritanın üzerine mutlak konumla biner;
   yer tutucu yazısı onun altında kalmasın diye içerik sola çekilir. */
@media (min-width: 992px) {
    .maps .abd-cc-map .abd-cc-map-placeholder {
        padding-right: 34%;
    }
}

@media (max-width: 991px) {
    .maps .abd-cc-map {
        height: auto;
    }

    .maps .abd-cc-map .abd-cc-map-placeholder {
        height: 300px;
        min-height: 300px;
    }
}

/* ---------- Mobil ---------- */

/* Mobilde tema, ekranın en altına sabit bir menü çubuğu koyuyor.
   Bant o çubuğun üstüne oturur; çubuk kullanılabilir kalır.
   Kesin yükseklik cookie-consent.js tarafından ölçülüp güncellenir;
   aşağıdaki 60px yalnızca JS çalışmazsa devreye giren yedek değerdir. */
@media (max-width: 991px) {
    .abd-cc-banner {
        bottom: 60px;
    }
}

@media (max-width: 767px) {
    .abd-cc-banner {
        padding: 18px 16px;
        max-height: 75vh;
        overflow-y: auto;
    }

    .abd-cc-text {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .abd-cc-actions {
        flex-direction: column;
    }

    .abd-cc-btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .abd-cc-modal-foot {
        flex-direction: column;
    }
}

/* Yazdırma sırasında bant görünmesin */
@media print {

    .abd-cc-banner,
    .abd-cc-modal {
        display: none !important;
    }
}

/* ---------------------------------------------------------------
   Footer'daki yasal metin bağlantıları
   .bott bir blok elemandır ve .right mutlak konumludur; aşağıdaki
   blok araya girse de mevcut footer düzenini bozmaz.
   --------------------------------------------------------------- */

.footer .bott .kvkk-links {
    text-align: center;
    padding: 0 25px 22px 25px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.9;
}

.footer .bott .kvkk-links a {
    display: inline-block;
    color: #dcdcdc;
    font-size: 13px;
    text-decoration: none;
    padding: 2px 0;
    margin: 0 14px;
    transition: color .2s linear;
}

.footer .bott .kvkk-links a:hover,
.footer .bott .kvkk-links a:focus {
    color: #fdc400;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .footer .bott .kvkk-links a {
        display: block;
        margin: 0;
    }
}
