@media(max-width: 768px) {
    .restaurant-detailed-header-left>h1 {
        justify-content: center;
    }

    .restaurant-detailed-header-left img {
        float: none !important;
        margin: 0 0 0px !important;
        width: 75px;
        height: 75px;
    }

    .restaurant-detailed-header-left {
        text-align: center
    }

    .restaurant-detailed-header-right .btn-success {
        margin-top: 18px
    }

    .restaurant-detailed-header-right.text-right {
        text-align: center !important
    }

    .restaurant-detailed-action-btn.float-right {
        float: none !important;
        margin: auto;
        text-align: center;
        width: 100% !important;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #dedede
    }

    section.restaurant-banner {
        max-height: 325px;
        height: 100vh;
    }

    .footer-left,
    .footer-right {
        float: none;
        width: 100%;
        text-align: center;
    }


    .yemek_card img {
        width: 60px;
        height: 60px;
        top: 15px;
        right: 53px;
        object-fit: contain;
    }

    .yemek_card .info {
        padding-right: 100px;
    }

    .modal .modal-dialog {
        min-width: 90%;
    }

    .mhide {
        display: none !important;
    }

    .slider_phone {
        margin-bottom: 10px;
        display: block;
        font-size: 20px;
    }

    .hesabimleft {
        display: none;
    }

    .checkscroll {
        max-height: 187px;
    }

    ul.mobile_tabbar {
        display: block !important;
    }


    /* Firma card */
    .firma_info {
        width: 100%;
        display: block;
        text-align: center;
    }

    .firma_btns {
        width: 100%;
        padding-top: 5px;
    }

    section.firma_card {
        display: block;
    }

    section.firma_card .firma_btns .sikayet {
        width: 100%;
    }

    .firma_info .firma_stats {
        padding: 5px 2px 2px 2px;
        width: 100%;
    }

    .firma_info img.firma_img {
        border-radius: 75px;
        padding: 5px;
        border: solid 1px #d5d5d5;
        position: relative;
        margin-bottom: 10px;
    }

    .firma_info .firma_stats h1 {
        padding: 0;
        line-height: 30px;
    }

    section.firma_card .firma_btns .dogrula {
        text-align: center;
        padding-bottom: 10px;
    }

    .card.smart {
        margin: 0px 25px;
    }

    /* Firma card */






}

/* Masaüstünde alt menü gizli (yalnızca mobilde görünür) */
ul.mobile_tabbar { display: none; }

/* Mobil tab bar — ortak tasarım */
@media (max-width: 768px) {
    body { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }
    ul.mobile_tabbar {
        position: fixed;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1030;
        list-style: none;
        left: 5px;
        right: 5px;
        width: auto;
        max-width: calc(100vw - 10px);
        box-sizing: border-box;
        border-radius: 70px;
        margin: 0;
        padding: 6px 0px 6px 0px;
        text-align: center;
        margin-block: 0;
        padding-inline-start: 0;
        display: flex !important;
        align-content: center;
        justify-content: space-around;
        align-items: center;
        border-top: solid 1px #eaeaea;
        background: rgb(255 255 255 / 62%);
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        flex-wrap: nowrap;
    }

    ul.mobile_tabbar li {
        display: inline-block;
        margin: 0px;
        flex: 1 1 0;
        min-width: 0;
    }

    /* Hücre: kimi temada li > div, kiminde li > a */
    ul.mobile_tabbar li div,
    ul.mobile_tabbar li > a {
        position: relative;
        display: block;
        color: #4b4949 !important;
        text-decoration: none !important;
        text-transform: capitalize;
    }

    ul.mobile_tabbar li div span,
    ul.mobile_tabbar li > a span {
        display: block;
        font-size: 0.8rem;
        text-align: center;
        word-break: keep-all;
        color: inherit !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.2;
    }

    ul.mobile_tabbar li div i,
    ul.mobile_tabbar li > a i {
        display: block;
        font-size: 27px;
        text-align: center;
        color: inherit !important;
        margin: 0;
    }

    /* İç bağlantı (admin/shop yapısı) tema link rengini almasın */
    ul.mobile_tabbar li div > a {
        display: block;
        color: inherit !important;
        text-decoration: none !important;
        font-weight: 400 !important;
    }

    ul.mobile_tabbar li span,
    ul.mobile_tabbar li i { font-weight: 400 !important; }

    ul.mobile_tabbar li div:hover,
    ul.mobile_tabbar li > a:hover { color: #000000 !important; }

    ul.mobile_tabbar li.active div,
    ul.mobile_tabbar li.active > a,
    ul.mobile_tabbar li > a[aria-current="page"] { color: #000000 !important; }

    ul.mobile_tabbar > li > div b,
    ul.mobile_tabbar > li > div > a b,
    ul.mobile_tabbar > li > a b {
        position: absolute;
        left: calc(50% + 8px);
        right: auto;
        top: -4px;
        min-width: 18px;
        height: 18px;
        background-color: #d4004f;
        border-radius: 18px;
        text-align: center;
        color: white !important;
        font-size: 11px;
        font-weight: 600;
        padding: 0 5px;
        line-height: 18px;
        white-space: nowrap;
        box-sizing: border-box;
        width: auto;
        display: inline-block;
        box-shadow: 0 0 0 2px #fff;
    }
    ul.mobile_tabbar b.is-zero { display: none !important; }
    #scrolltop { bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }
}