.danty-slide-tools { display: none; }
@media (max-width: 767px) {
    .danty-slide-tools {
        display: flex;
        padding: .5rem 1rem;
        justify-content: flex-start;
        background: #fff;
    }
    .danty-slide-control {
        min-height: 44px;
        max-width: 100%;
        padding: .45rem .85rem;
        border: 1px solid #d6be8c;
        border-radius: 8px;
        background: #25211e;
        color: #fff;
        font: inherit;
        cursor: pointer;
    }
    .danty-slider-toggle[data-guide-control],
    html.danty-mobile-controls-ready :is(.page_cover, .clinic-slide-area, rs-module-wrap) .danty-slider-toggle {
        display: none !important;
    }

    .xtra-fixed-mobile-nav.danty-with-booking {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        box-sizing: border-box;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .xtra-fixed-mobile-nav.danty-with-booking > a {
        display: inline-flex;
        position: static !important;
        flex: 1 1 0;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        width: auto;
        padding-inline: .2rem;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }
    .xtra-fixed-mobile-nav.danty-with-booking > a.danty-mobile-book:not([hidden]) {
        display: inline-flex;
        position: static !important;
        flex-grow: 1.35;
        margin: 3px;
        padding: .35rem;
        background: #d3b986;
        color: #211e18;
        border-radius: 7px;
        box-shadow: none;
        font-weight: 700;
    }
    .xtra-fixed-mobile-nav.danty-with-booking > a[hidden] { display: none !important; }

    /* The English theme also floats a separate footer appointment link. Return it to the footer. */
    body:not(.page-id-1120) #site_footer .cz_stylish_list a[href="https://drmohamednegm.com/appointment/"] {
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
    }
}
