/* ============================================================
   Arız Ticaret - Header Widget Stilleri (v1.2.2)
   ============================================================ */

.ariz-header, .ariz-header * { box-sizing: border-box; }

.ariz-header {
    width: 100%;
    font-family: inherit;
    position: relative;
    /* Temadan sızabilecek alt çizgi / gölge / kenarlıkları sıfırla */
    border: 0 !important;
    box-shadow: none !important;
    background: #12489e; /* ana renk zemini garanti */
}
.ariz-header .ariz-topbar,
.ariz-header .ariz-mainbar {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
/* Bazı temalar section/column alt çizgisi ekler; header'ın altını kapat */
.ariz-header::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.ariz-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

/* Menü listelerinden WP varsayılan stillerini sıfırla */
.ariz-header ul { list-style: none; margin: 0; padding: 0; }
.ariz-header a { text-decoration: none; }

/* ---------- ÜST ŞERİT ---------- */
.ariz-topbar { background-color: #0a2f6b; color: #fff; font-size: 13px; }
.ariz-topbar .ariz-container { justify-content: space-between; min-height: 38px; }

.ariz-topbar-left { display: flex; align-items: center; gap: 28px; }
.ariz-support { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.ariz-clock { font-size: 13px; line-height: 1; }
.ariz-phone { color: #fff; font-weight: 600; letter-spacing: .2px; }

.ariz-topbar-menu { display: flex; align-items: center; gap: 26px; }
.ariz-topbar-menu a {
    color: #fff; display: inline-flex; align-items: center; gap: 4px;
    opacity: .95; transition: opacity .15s ease;
}
.ariz-topbar-menu a:hover { opacity: 1; }
.ariz-caret { font-size: 10px; line-height: 1; }

/* ---------- ANA ŞERİT ---------- */
.ariz-mainbar { background-color: #12489e; color: #fff; }
.ariz-mainbar .ariz-container { min-height: 76px; gap: 28px; }

/* Logo */
.ariz-logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ariz-logo-img { display: block; max-height: 60px; width: auto; }

.ariz-logo-mark {
    width: 34px; height: 34px; flex-shrink: 0; background: #fff;
    clip-path: polygon(50% 0, 100% 100%, 0 100%); position: relative;
}
.ariz-logo-mark::after {
    content: ""; position: absolute; left: 50%; top: 42%;
    transform: translateX(-50%); width: 10px; height: 10px;
    background: #12489e; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.ariz-logo-text { display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
.ariz-logo-title { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.ariz-logo-subtitle { font-size: 9px; letter-spacing: 3.5px; opacity: .85; margin-top: 2px; }

/* Ana menü */
.ariz-main-menu { flex: 1; display: flex; align-items: center; }
.ariz-main-menu .ariz-menu-list { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ariz-main-menu li { position: relative; }
.ariz-main-menu a {
    color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap;
    transition: color .15s ease; display: inline-block; padding: 6px 0;
}
.ariz-main-menu a:hover,
.ariz-main-menu .current-menu-item > a { color: #b9d4ff; }
.ariz-menu-empty { color: #cdd7f0; font-size: 13px; font-style: italic; }

/* WP alt menü (dropdown) */
.ariz-main-menu .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #0a2f6b; border-radius: 8px; padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 50;
}
.ariz-main-menu li:hover > .sub-menu,
.ariz-main-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ariz-main-menu .sub-menu a { color: #dce9ff; padding: 9px 18px; width: 100%; font-weight: 500; }
.ariz-main-menu .sub-menu a:hover { background: #12489e; color: #fff; }

/* ---------- SAĞ AKSİYONLAR ---------- */
.ariz-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Arama (inline + modal ortak) */
.ariz-search {
    position: relative; display: flex; align-items: center;
    background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px;
    min-width: 240px;
}
/* Masaüstünde inline arama daima görünür (mobilde aşağıda gizlenir) */
.ariz-search--desktop { display: flex; }
.ariz-search-input {
    border: none; outline: none; background: transparent;
    font-size: 14px; color: #333; width: 100%; padding: 6px 0;
}
.ariz-search-input::placeholder { color: #9aa4b2; }

.ariz-search-btn {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid #0a2f6b; background: #0a2f6b; color: #fff;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.ariz-search-btn:hover { background: #082856; color: #fff; }

/* Sonuç kutusu */
.ariz-search-results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.18);
    overflow: hidden; display: none; z-index: 60; max-height: 60vh; overflow-y: auto;
}
.ariz-search-results.is-open { display: block; }
.ariz-sr-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    color: #1a2b4a; border-bottom: 1px solid #eef1f6; transition: background .12s ease;
}
.ariz-sr-item:last-child { border-bottom: none; }
.ariz-sr-item:hover { background: #f5f8fd; }
.ariz-sr-thumb {
    width: 44px; height: 44px; border-radius: 6px; object-fit: cover;
    background: #eef1f6; flex-shrink: 0;
}
.ariz-sr-body { display: flex; flex-direction: column; min-width: 0; }
.ariz-sr-title { font-size: 14px; font-weight: 600; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ariz-sr-price { font-size: 13px; color: #d81f5b; font-weight: 600; margin-top: 2px; }
.ariz-sr-message { padding: 16px; text-align: center; color: #6b7688; font-size: 14px; }
.ariz-sr-viewall {
    display: block; text-align: center; padding: 12px; font-weight: 600;
    color: #12489e; background: #f2f5fb;
}
.ariz-sr-viewall:hover { background: #e6ecf7; }
.ariz-sr-loading { padding: 16px; text-align: center; color: #6b7688; font-size: 14px; }

/* Mobil arama ikon butonu — MASAÜSTÜNDE KESİNLİKLE GİZLİ */
.ariz-search-icon-btn {
    display: none !important;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1.5px solid #fff; background: transparent; color: #fff;
    cursor: pointer; align-items: center; justify-content: center;
}
.ariz-search-icon-btn:hover { background: #fff; color: #12489e; }

/* Mobil menü butonu (hamburger) — MASAÜSTÜNDE GİZLİ */
.ariz-mobile-toggle {
    display: none !important;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 44px; height: 44px; border-radius: 8px;
    background: #d81f5b; border: 1.5px solid #d81f5b; cursor: pointer;
}
.ariz-mobile-toggle span {
    display: block; width: 22px; height: 2px; background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}
.ariz-header.ariz-menu-open .ariz-mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ariz-header.ariz-menu-open .ariz-mobile-toggle span:nth-child(2) { opacity: 0; }
.ariz-header.ariz-menu-open .ariz-mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- MOBİL ARAMA POP-UP ---------- */
.ariz-search-modal {
    position: fixed; inset: 0; background: rgba(10,20,45,.75);
    z-index: 9999; padding: 20px; display: none;
    align-items: flex-start; justify-content: center;
}
.ariz-search-modal.is-open { display: flex; }
.ariz-search-modal-inner {
    position: relative; width: 100%; max-width: 560px; margin-top: 60px;
}
.ariz-search-modal .ariz-search { min-width: 0; width: 100%; }
.ariz-search-modal-close {
    position: absolute; top: -44px; right: 0; width: 36px; height: 36px;
    background: transparent; border: none; color: #fff; font-size: 30px;
    line-height: 1; cursor: pointer;
}
.ariz-search-modal .ariz-search-results { position: static; margin-top: 10px; display: block; }
.ariz-search-modal .ariz-search-results:empty { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .ariz-main-menu .ariz-menu-list { gap: 20px; }
    .ariz-mainbar .ariz-container { gap: 18px; }
    .ariz-search--desktop { min-width: 200px; }
}

@media (max-width: 900px) {
    .ariz-topbar-left { gap: 16px; }
    .ariz-topbar-menu { gap: 16px; }

    /* Masaüstü inline aramayı gizle, ikon + pop-up devrede */
    .ariz-search--desktop { display: none !important; }
    .ariz-search-icon-btn { display: inline-flex !important; }
    .ariz-mobile-toggle { display: inline-flex !important; }

    .ariz-mainbar .ariz-container { flex-wrap: wrap; gap: 14px; }
    .ariz-logo { margin-right: auto; }

    /* Açılır ana menü */
    .ariz-main-menu { order: 5; flex-basis: 100%; }
    .ariz-main-menu .ariz-menu-list {
        flex-direction: column; align-items: stretch; gap: 0;
        max-height: 0; overflow: hidden; transition: max-height .28s ease;
    }
    .ariz-main-menu li { width: 100%; }
    .ariz-main-menu > .ariz-menu-list > li > a {
        padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.15);
    }
    .ariz-header.ariz-menu-open .ariz-main-menu .ariz-menu-list {
        max-height: 1000px; padding-bottom: 8px;
    }

    /* Mobilde alt menü akordeon gibi statik açılır */
    .ariz-main-menu .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; background: rgba(255,255,255,.08); border-radius: 0;
        padding: 0; display: none;
    }
    .ariz-main-menu li.ariz-open > .sub-menu { display: block; }
    .ariz-main-menu .sub-menu a { color: #fff; padding: 12px 20px; }
    .ariz-main-menu .sub-menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
}

@media (max-width: 600px) {
    .ariz-topbar .ariz-container {
        flex-direction: column; gap: 4px; padding: 8px 16px; text-align: center;
    }
    .ariz-topbar-menu { gap: 14px; }
    .ariz-container { padding: 0 16px; }
    .ariz-logo-title { font-size: 18px; }
    .ariz-mainbar .ariz-container { min-height: 68px; }
}

/* ============================================================
   HEADER ETKİLEŞİM - TEMA / ELEMENTOR FORCE FIX (v1.2.2)
   Elementor'un uretebildigi eski pembe vurgu CSS'ini ve temalarin
   genel menu, input ve button kurallarini bilincli olarak ezer.
   ============================================================ */
.ariz-header .ariz-main-menu > .ariz-menu-list > li > a:hover,
.ariz-header .ariz-main-menu > .ariz-menu-list > li > a:focus,
.ariz-header .ariz-main-menu > .ariz-menu-list > li > a:focus-visible,
.ariz-header .ariz-main-menu > .ariz-menu-list > li.current-menu-item > a,
.ariz-header .ariz-main-menu > .ariz-menu-list > li.current-menu-ancestor > a {
    color: #b9d4ff !important;
    background: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.ariz-header.ariz-header .ariz-main-menu .sub-menu {
    background: #0a2f6b !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: 0 12px 30px rgba(4,21,51,.28) !important;
}
.ariz-header.ariz-header .ariz-main-menu .sub-menu a,
.ariz-header.ariz-header .ariz-main-menu .sub-menu a:visited {
    color: #dce9ff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.ariz-header.ariz-header .ariz-main-menu .sub-menu a:hover,
.ariz-header.ariz-header .ariz-main-menu .sub-menu a:focus,
.ariz-header.ariz-header .ariz-main-menu .sub-menu .current-menu-item > a {
    color: #fff !important;
    background: #12489e !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.ariz-header .ariz-search {
    border: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.ariz-header input.ariz-search-input,
.ariz-header input.ariz-search-input:hover,
.ariz-header input.ariz-search-input:focus,
.ariz-header input.ariz-search-input:focus-visible {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #333 !important;
    box-shadow: none !important;
    transform: none !important;
}
.ariz-header input.ariz-search-input::-webkit-search-decoration,
.ariz-header input.ariz-search-input::-webkit-search-cancel-button,
.ariz-header input.ariz-search-input::-webkit-search-results-button,
.ariz-header input.ariz-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
}
.ariz-header .ariz-search-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: static !important;
    inset: auto !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #0a2f6b !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    line-height: 1 !important;
    font-size: 0 !important;
    text-indent: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ariz-header .ariz-search-btn:hover,
.ariz-header .ariz-search-btn:active {
    border-color: transparent !important;
    background: #082856 !important;
    color: #fff !important;
}
.ariz-header .ariz-search-btn:focus,
.ariz-header .ariz-search-btn:focus-visible {
    border-color: transparent !important;
    background: #082856 !important;
    color: #fff !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.ariz-header .ariz-search-btn svg,
.ariz-header .ariz-search-icon-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
}
.ariz-header .ariz-search-modal-close {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: absolute !important;
    inset: auto 0 auto auto !important;
    top: -44px !important;
    right: 0 !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    line-height: 1 !important;
    font-size: 30px !important;
    text-indent: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ariz-header .ariz-search-modal-close:hover,
.ariz-header .ariz-search-modal-close:active {
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
}
.ariz-header .ariz-search-modal-close:focus,
.ariz-header .ariz-search-modal-close:focus-visible {
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
    outline: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .ariz-header .ariz-mainbar .ariz-container {
        position: relative !important;
        align-items: center !important;
    }
    .ariz-header .ariz-logo {
        order: 1 !important;
        min-width: 0 !important;
        margin-right: auto !important;
    }
    .ariz-header .ariz-actions {
        position: static !important;
        inset: auto !important;
        order: 2 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        transform: none !important;
    }
    .ariz-header .ariz-main-menu {
        order: 5 !important;
    }
    .ariz-header .ariz-search-icon-btn {
        -webkit-appearance: none !important;
        appearance: none !important;
        position: static !important;
        inset: auto !important;
        order: 1 !important;
        flex: 0 0 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 2px solid #fff !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
        transform: none !important;
        line-height: 1 !important;
        font-size: 0 !important;
        text-indent: 0 !important;
    }
    .ariz-header .ariz-search-icon-btn:hover,
    .ariz-header .ariz-search-icon-btn:active {
        border-color: #fff !important;
        background: #fff !important;
        color: #12489e !important;
    }
    .ariz-header .ariz-search-icon-btn:focus,
    .ariz-header .ariz-search-icon-btn:focus-visible {
        border-color: #fff !important;
        background: rgba(255,255,255,.14) !important;
        color: #fff !important;
        outline: 0 !important;
        box-shadow: none !important;
    }
    .ariz-header .ariz-mobile-toggle {
        order: 2 !important;
        position: static !important;
        inset: auto !important;
        margin: 0 !important;
        transform: none !important;
    }
}

@media (max-width: 600px) {
    .ariz-header .ariz-logo-img {
        max-width: calc(100vw - 150px);
        object-fit: contain;
    }
    .ariz-header .ariz-actions {
        gap: 6px !important;
    }
}

/* ============================================================
   FOOTER WIDGET
   ============================================================ */
.ariz-footer {
    background-color: #0a2f6b;
    color: #c7d2e8;
    width: 100%;
    font-family: inherit;
    border: 0 !important;
    box-shadow: none !important;
}
.ariz-footer *, .ariz-footer *::before, .ariz-footer *::after { box-sizing: border-box; }
.ariz-footer a { text-decoration: none; color: #c7d2e8; transition: color .15s ease; }
.ariz-footer a:hover { color: #fff; }
.ariz-footer ul { list-style: none; margin: 0; padding: 0; }

.ariz-footer-top { padding: 50px 0 40px; }

.ariz-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.ariz-footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.ariz-footer-menu li { margin-bottom: 12px; }
.ariz-footer-menu a { font-size: 14px; }

/* Marka sütunu */
.ariz-footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ariz-footer-logo-img { display: block; max-height: 54px; width: auto; }
.ariz-footer-logo-mark {
    width: 30px; height: 30px; flex-shrink: 0; background: #fff;
    clip-path: polygon(50% 0, 100% 100%, 0 100%); position: relative;
}
.ariz-footer-logo-mark::after {
    content: ""; position: absolute; left: 50%; top: 42%;
    transform: translateX(-50%); width: 9px; height: 9px;
    background: #0a2f6b; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.ariz-footer-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.ariz-footer-logo-title { font-size: 18px; font-weight: 800; letter-spacing: .8px; color: #fff; }
.ariz-footer-logo-subtitle { font-size: 8px; letter-spacing: 3px; opacity: .8; margin-top: 2px; }

.ariz-footer-brand p {
    font-size: 14px; line-height: 1.6; margin: 0 0 20px; max-width: 260px;
}

/* Sosyal medya */
.ariz-footer-social { display: flex; gap: 12px; }
.ariz-footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid #4a7bd0; display: inline-flex;
    align-items: center; justify-content: center; color: #c7d2e8;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ariz-footer-social a:hover { background: #4a7bd0; color: #fff; border-color: #4a7bd0; }

/* İletişim sütunu */
.ariz-footer-contact ul li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; font-size: 14px; line-height: 1.5;
}
.ariz-footer-contact svg { flex-shrink: 0; margin-top: 2px; color: #4a7bd0; }

/* Alt şerit */
.ariz-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #9fb0d0;
}

/* Footer responsive */
@media (max-width: 900px) {
    .ariz-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .ariz-footer-top { padding: 40px 0 30px; }
}
@media (max-width: 560px) {
    .ariz-footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
    .ariz-footer-brand p { max-width: none; }
}
