/* DOGUS FILO - MOBILE FOOTER TWO COLUMNS V1 */

@media (max-width: 767px) {

    /* Footer ana kolonları */
    footer .footer-cols {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
        row-gap: 25px !important;
        align-items: start !important;
    }

    /* Menü kolonları */
    footer .footer-cols > * {
        min-width: 0 !important;
    }

    footer .footer-cols h3 {
        font-size: 14px !important;
        font-weight: 800 !important;
        margin: 0 0 13px !important;
    }

    footer .footer-cols a {
        font-size: 11px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere;
    }

    /* Uzun bağlantılar taşmasın */
    footer .footer-cols p {
        overflow-wrap: anywhere;
    }
}

/* Çok küçük telefonlar */
@media (max-width: 370px) {

    footer .footer-cols {
        column-gap: 12px !important;
    }

    footer .footer-cols a {
        font-size: 10px !important;
    }
}

/* DF_FOOTER_CONTACT_FULL_WIDTH_V2 */
@media (max-width: 767px) {

    /* Diger footer menuleri iki sutun kalir */
    footer .footer-cols {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 16px !important;
    }

    /* Kirmizi iletisim kutusu tek satiri kaplar */
    footer .footer-cols > .contact,
    footer .footer-cols > :has(> .contact) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    footer .footer-cols .contact {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 24px 22px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    /* Uzun e-posta ve adres satirlari */
    footer .footer-cols .contact a,
    footer .footer-cols .contact p {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        line-height: 1.8 !important;
    }

    footer .footer-cols .contact h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
}

/* DF_FOOTER_MOBILE_ORDER_V3 */
@media (max-width: 767px) {

    footer .footer-cols {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 18px !important;
        align-items: start !important;
    }

    footer .footer-cols > * {
        min-width: 0 !important;
    }

    /* Kurumsal / Hizmetlerimiz */
    footer .footer-cols > :nth-child(2) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    footer .footer-cols > :nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    /* Arac Kategorileri / Populer Lokasyonlar */
    footer .footer-cols > :nth-child(4) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    footer .footer-cols > :nth-child(5) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    /* Iletisim kutusu tek basina */
    footer .footer-cols > .contact,
    footer .footer-cols > :has(> .contact) {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    footer .footer-cols .contact {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px !important;
        border-radius: 18px !important;
    }
}

/* DF_MOBILE_FOOTER_BRAND_TOP_V4 */
@media (max-width: 767px) {

    footer .footer-cols {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 16px !important;
        align-items: start !important;
    }

    /* Logo ve sosyal medya: ilk satir */
    footer .footer-cols > :first-child {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 12px !important;
        padding: 10px 0 16px !important;
    }

    /* Açiklama metnini sadece mobilde gizle */
    footer .footer-cols > :first-child p {
        display: none !important;
    }

    /* Logo */
    footer .footer-cols > :first-child .brand,
    footer .footer-cols > :first-child .footbrand {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    footer .footer-cols > :first-child img {
        display: block !important;
        width: 105px !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    /* Sosyal medya ikonlari */
    footer .footer-cols > :first-child .social {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
        margin: 6px auto 0 !important;
    }

    footer .footer-cols > :first-child .social a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.20) !important;
        border-radius: 50% !important;
        color: #fff !important;
        background: rgba(255,255,255,.07) !important;
        text-decoration: none !important;
    }

    /* Gereksiz ok isaretlerini kaldir */
    footer .footer-cols > :first-child a::before {
        content: none !important;
    }

    /* Kurumsal + Hizmetlerimiz */
    footer .footer-cols > :nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    footer .footer-cols > :nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    /* Araç Kategorileri + Popüler Lokasyonlar */
    footer .footer-cols > :nth-child(4) {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    footer .footer-cols > :nth-child(5) {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }

    /* Kirmizi iletisim kutusu */
    footer .footer-cols > .contact,
    footer .footer-cols > :has(> .contact) {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    footer .footer-cols .contact {
        width: 100% !important;
        max-width: 100% !important;
    }
}
