/* Menu 3 theme overrides for navbar + sidenav */
body.menu3-theme {
    font-family: "Figtree", "Playfair Display", "Open Sans", sans-serif !important;
    background: var(--cafe-bg, #f8f1e4) !important;
    color: var(--cafe-text, #3e2a1f) !important;
}

/* Sticky needs a non-clipping ancestor — style.css sets .main-wrapper { overflow: hidden } */
body.menu3-theme .main-wrapper {
    overflow: visible !important;
}

body.menu3-theme .nav-header,
body.menu3-theme .nav-header.menu3-nav-header,
body.menu3-theme .nav-header.menu3-nav-sticky {
    background: var(--cafe-foam, #fffaf2);
    border-bottom: 1px solid var(--cafe-border, #e6d8c1);
    box-shadow: 0 8px 24px rgba(62, 42, 31, 0.08);
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1300 !important;
    overflow: visible;
    display: grid;
    align-items: center;
    gap: 10px 5px;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand location actions";
}

body.menu3-theme .nav-header .nav-top {
    grid-area: brand;
}

body.menu3-theme .nav-header .right-navbar {
    grid-area: actions;
}

body.menu3-theme .nav-header .menu3-location-bar {
    grid-area: location;
}

body.menu3-theme .nav-header:not(:has(.menu3-location-bar)) {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions";
}

body.menu3-theme .nav-header .nav-header__brand,
body.menu3-theme .nav-header .nav-top {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0 !important;
    justify-content: start !important;
}

body.menu3-theme .nav-header .nav-header__actions,
body.menu3-theme .nav-header .right-navbar {
    flex: 0 0 auto;
    width: auto !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    gap: 8px;
    overflow: visible;
}

/* -------- Language dropdown (cafe theme) -------- */
body.menu3-theme .language_li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.menu3-theme .menu3-lang-dropdown,
body.menu3-theme .flagitem_wrapper.dropdown {
    position: relative;
}

body.menu3-theme .menu3-lang-toggle,
body.menu3-theme .flagitem_wrapper .selected_lang {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 15px 6px 12px !important;
    min-height: 36px;
    background: var(--cafe-surface, #ffffff) !important;
    color: var(--cafe-espresso, #3e2a1f) !important;
    border: 1px solid var(--cafe-border, #e6d8c1) !important;
    border-radius: var(--cafe-radius-pill, 999px) !important;
    box-shadow: var(--cafe-shadow-sm, 0 2px 6px rgba(62, 42, 31, 0.06)) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.menu3-theme .menu3-lang-toggle:hover,
body.menu3-theme .menu3-lang-toggle:focus,
body.menu3-theme .menu3-lang-toggle[aria-expanded="true"] {
    border-color: var(--cafe-caramel, #c89f6b) !important;
    box-shadow: 0 0 0 3px rgba(200, 159, 107, 0.2) !important;
    outline: none !important;
    color: var(--cafe-coffee, #6f4e37) !important;
}

body.menu3-theme .menu3-lang-toggle::after {
    border-top-color: var(--cafe-coffee, #6f4e37);
    margin-left: 2px;
}

body.menu3-theme .menu3-lang-toggle .lang_flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cafe-beige, #f1e6d2);
    flex-shrink: 0;
}

body.menu3-theme .menu3-lang-toggle .lang_flag img {
    display: block;
}

body.menu3-theme .menu3-lang-menu,
body.menu3-theme .set_flags_menu {
    min-width: 160px;
    margin-top: 6px !important;
    padding: 6px !important;
    background: var(--cafe-surface, #ffffff) !important;
    border: 1px solid var(--cafe-border, #e6d8c1) !important;
    border-radius: var(--cafe-radius, 12px) !important;
    box-shadow: var(--cafe-shadow-lg, 0 14px 38px rgba(62, 42, 31, 0.12)) !important;
    z-index: 1310 !important;
}

/* Bootstrap Popper sets top:0 + transform; keep menu below the toggle */
body.menu3-theme .flagitem_wrapper .menu3-lang-menu.show,
body.menu3-theme .flagitem_wrapper .set_flags_menu.show,
body.menu3-theme .flagitem_wrapper .menu3-lang-menu[x-placement],
body.menu3-theme .flagitem_wrapper .set_flags_menu[x-placement] {
    top: 100% !important;
    bottom: auto !important;
    transform: none !important;
    will-change: auto;
}

body.menu3-theme .flagitem_wrapper .menu3-lang-menu.dropdown-menu-right,
body.menu3-theme .flagitem_wrapper .set_flags_menu.dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

html[dir="rtl"] body.menu3-theme .flagitem_wrapper .menu3-lang-menu.dropdown-menu-right,
html[dir="rtl"] body.menu3-theme .flagitem_wrapper .set_flags_menu.dropdown-menu-right {
    right: auto !important;
    left: 0 !important;
}

body.menu3-theme .menu3-lang-menu .dropdown-item,
body.menu3-theme .set_flags_menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px !important;
    border-radius: var(--cafe-radius-sm, 8px);
    color: var(--cafe-espresso, #3e2a1f) !important;
    font-size: 14px;
    font-weight: 500;
    border-bottom: none !important;
}

body.menu3-theme .menu3-lang-menu .dropdown-item:hover,
body.menu3-theme .menu3-lang-menu .dropdown-item:focus,
body.menu3-theme .set_flags_menu .dropdown-item.changeLang:hover {
    background: var(--cafe-beige, #f1e6d2) !important;
    color: var(--cafe-coffee, #6f4e37) !important;
}

body.menu3-theme .nav-header__actions > span {
    color: var(--cafe-espresso, #e6d8c1);
    margin: 0 2px;
}

/* -------- Location picker (city & outlet) — theme cafe -------- */
body.menu3-theme .menu3-location-bar.custom-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

body.menu3-theme .menu3-location-field {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

body.menu3-theme .menu3-location-label {
    display: none;
    margin: 0;
}

body.menu3-theme .menu3-location-select-wrap {
    position: relative;
    min-width: 0;
}

body.menu3-theme .menu3-location-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    pointer-events: none;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid var(--cafe-coffee, #6f4e37);
    border-bottom: 2px solid var(--cafe-coffee, #6f4e37);
}

body.menu3-theme .menu3-location-bar select.browser-default,
body.menu3-theme .menu3-location-bar select.custom-select,
body.menu3-theme .menu3-location-bar .menu3-location-select {
    display: block;
    width: 100%;
    min-width: 120px;
    max-width: 180px;
    padding: 8px 34px 8px 12px !important;
    min-height: 38px;
    background: var(--cafe-surface, #ffffff) !important;
    color: var(--cafe-espresso, #3e2a1f) !important;
    border: 1px solid var(--cafe-border, #e6d8c1) !important;
    border-radius: var(--cafe-radius-pill, 999px) !important;
    box-shadow: var(--cafe-shadow-sm, 0 2px 6px rgba(62, 42, 31, 0.06)) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    text-overflow: ellipsis;
}

body.menu3-theme .menu3-location-bar select.browser-default:hover,
body.menu3-theme .menu3-location-bar select.custom-select:hover,
body.menu3-theme .menu3-location-bar select.browser-default:focus,
body.menu3-theme .menu3-location-bar select.custom-select:focus {
    border-color: var(--cafe-caramel, #c89f6b) !important;
    box-shadow: 0 0 0 3px rgba(200, 159, 107, 0.2) !important;
    outline: none !important;
    color: var(--cafe-coffee, #6f4e37) !important;
}

body.menu3-theme .menu3-location-bar select.browser-default option,
body.menu3-theme .menu3-location-bar select.custom-select option {
    background: var(--cafe-surface, #ffffff) !important;
    color: var(--cafe-espresso, #3e2a1f) !important;
    padding: 8px 12px;
}


body.menu3-theme .menu3-location-bar select.browser-default:disabled,
body.menu3-theme .menu3-location-bar select.custom-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.menu3-theme .nav-header .str_name,
body.menu3-theme .nav-header .main_h5 {
    font-family: var(--cafe-font);
    color: var(--cafe-espresso, #3e2a1f) !important;
    font-weight: 600;
}

body.menu3-theme .slide_toggle {
    color: var(--cafe-coffee, #6f4e37);
}

body.menu3-theme #mySidenav.sidenav {
    display: flex !important;
    flex-direction: column !important;
    width: min(320px, 90vw) !important;
    max-width: min(320px, 90vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
    background: var(--cafe-surface, #ffffff) !important;
    color: var(--cafe-text, #3e2a1f) !important;
    border-radius: 0 24px 24px 0 !important;
    box-shadow: 0 20px 50px rgba(62, 42, 31, 0.16) !important;
    font-family: "Figtree", "Open Sans", sans-serif !important;
    z-index: 1200 !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.28s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1)) !important;
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
}

body.menu3-theme #mySidenav.sidenav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
}

body.menu3-theme.menu3-sidenav-open,
body.menu3-theme.menu3-notif-open {
    overflow: hidden;
}

html[dir="rtl"] body.menu3-theme #mySidenav.sidenav {
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    border-radius: 24px 0 0 24px !important;
    transform: translate3d(-100%, 0, 0);
}

html[dir="rtl"] body.menu3-theme #mySidenav.sidenav.is-open {
    transform: translate3d(0, 0, 0);
}

body.menu3-theme #mySidenav .header_sidebar {
    flex: 0 0 auto;
    border-color: var(--cafe-border, #e6d8c1) !important;
    padding: 8px 24px !important;
}

body.menu3-theme #mySidenav .header_sidebar h5 a,
body.menu3-theme #mySidenav .header_sidebar .closebtn {
    color: var(--cafe-coffee, #6f4e37) !important;
    font-weight: 600;
}

body.menu3-theme #mySidenav .sticky_menu {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px !important;
    gap: 4px !important;
    contain: layout style;
}

body.menu3-theme #mySidenav .sticky_menu a,
body.menu3-theme #mySidenav .sticky_menu p {
    display: block !important;
    padding: 8px 24px !important;
    color: var(--cafe-text, #3e2a1f) !important;
    font-weight: 500 !important;
    border-radius: 999px !important;
    transition: background-color 0.25s var(--cafe-ease, cubic-bezier(0.4,0.2,0.2,1)), color 0.25s !important;
}

body.menu3-theme #mySidenav .sticky_menu .p_main {
    padding-block: 0 !important;
}

body.menu3-theme #mySidenav .sticky_menu a:hover,
body.menu3-theme #mySidenav .sticky_menu a:focus {
    background: var(--cafe-beige, #f1e6d2) !important;
    color: var(--cafe-coffee, #6f4e37) !important;
}

body.menu3-theme #mySidenav .fixed_bottom {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    background: var(--cafe-foam, #fffaf2) !important;
    border-top: 1px solid var(--cafe-border, #e6d8c1) !important;
    padding: 5px 5px 10px !important;
    border-radius: 24px 0 0 0 !important;
    margin-top: auto !important;
    contain: layout style;
}

body.menu3-theme #mySidenav .rating_section {
    box-shadow: none !important;
}

body.menu3-theme #mySidenav .rating_section .rating_count {
    padding-inline-end: 0 !important;
    padding-block-start: 1px;
    padding-inline-start: 18px !important;
}

body.menu3-theme #mySidenav .rating_section h4,
body.menu3-theme #mySidenav .rating_section p {
    color: var(--cafe-text, #3e2a1f) !important;
}

body.menu3-theme #mySidenav .user_logout_btn,
body.menu3-theme #mySidenav .rating_btn_first,
body.menu3-theme #mySidenav .rating_count {
    color: var(--cafe-coffee, #6f4e37) !important;
    font-weight: 600 !important;
}

body.menu3-theme #mySidenav .user_logout_btn {
   
    text-align: center;
    background: var(--cafe-coffee, #6f4e37) !important;
    color: var(--cafe-surface, #ffffff) !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    transition: background-color 0.25s var(--cafe-ease, cubic-bezier(0.4,0.2,0.2,1)) !important;
}

body.menu3-theme #mySidenav .user_logout_btn .fa {
    font-size: 16px;
    line-height: 1;
}

body.menu3-theme #mySidenav .user_logout_btn:hover {
    background: var(--cafe-espresso, #3e2a1f) !important;
}

body.menu3-theme #mySidenav .sticky_menu .p_main a {
    color: var(--cafe-coffee, #6f4e37) !important;
}

body.menu3-theme #mySidenav::-webkit-scrollbar {
    width: 6px;
}

body.menu3-theme #mySidenav::-webkit-scrollbar-thumb {
    background: var(--cafe-border, #e6d8c1);
    border-radius: 999px;
}
@media (max-width: 767px) {
    .menu3-location-select-wrap .cutstom_outlet, .menu3-location-select-wrap .custom-select
    {
        text-align: start !important;
    }
    body.menu3-theme .nav-header,
    body.menu3-theme .nav-header.menu3-nav-header {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "location location";
        gap: 10px;
        min-height: 56px;
        padding: 10px 14px 12px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1300 !important;
        overflow: visible !important;
    }

    body.menu3-theme .nav-header .nav-header__brand,
    body.menu3-theme .nav-header .nav-top {
        min-width: 0;
    }

    body.menu3-theme .nav-header .str_name {
        font-size: 15px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: min(52vw, 220px);
    }

    body.menu3-theme .nav-header .nav-header__actions,
    body.menu3-theme .nav-header .right-navbar {
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px;
        margin-left: auto !important;
        margin-bottom: 0 !important;
    }

    body.menu3-theme .nav-header .right-navbar > span:not(.slide_toggle) {
        display: none !important;
    }

    body.menu3-theme .nav-header .slide_toggle {
        flex-shrink: 0;
        line-height: 1;
        padding: 4px 2px;
        position: inherit !important;
        top: inherit !important;
        right: inherit !important;
        font-size: inherit !important;
    }

    body.menu3-theme .menu3-lang-toggle {
        padding: 6px 28px 6px 10px !important;
        min-height: 34px;
        font-size: 12px !important;
        max-width: min(42vw, 160px);
    }

    body.menu3-theme .menu3-lang-toggle .lang_title {
        display: inline !important;
        max-width: min(28vw, 96px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
        color: inherit;
    }

    /* Mobile location bar — below brand row, not in navbar actions */
    body.menu3-theme .nav-header .menu3-location-bar.custom-dropdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        padding: 10px 12px;
        background: linear-gradient(180deg, var(--cafe-beige, #f1e6d2) 0%, rgba(241, 230, 210, 0.65) 100%);
        border: 1px solid var(--cafe-border, #e6d8c1);
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }

    body.menu3-theme .menu3-location-field {
        gap: 5px;
        min-width: 0;
    }

    body.menu3-theme .menu3-location-label {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--cafe-muted, #8a7565);
    }

    body.menu3-theme .menu3-location-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--cafe-surface, #ffffff);
        color: var(--cafe-coffee, #6f4e37);
        font-size: 10px;
        flex-shrink: 0;
        box-shadow: 0 1px 3px rgba(62, 42, 31, 0.08);
    }

    body.menu3-theme .menu3-location-label-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.menu3-theme .menu3-location-bar select.browser-default,
    body.menu3-theme .menu3-location-bar select.custom-select,
    body.menu3-theme .menu3-location-bar .menu3-location-select {
        min-width: 0;
        max-width: none;
        width: 100%;
        min-height: 36px;
        padding: 8px 30px 8px 10px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }

    body.menu3-theme .menu3-location-select-wrap::after {
        right: 10px;
        width: 8px;
        height: 8px;
    }

    body.menu3-theme .language_li,
    body.menu3-theme .flagitem_wrapper.dropdown {
        position: relative;
        overflow: visible;
    }

    body.menu3-theme .flagitem_wrapper .menu3-lang-menu,
    body.menu3-theme .flagitem_wrapper .set_flags_menu {
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        inset-inline-end: 0;
        inset-inline-start: auto;
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        margin-top: 6px !important;
    }

    html[dir="rtl"] body.menu3-theme .flagitem_wrapper .menu3-lang-menu,
    html[dir="rtl"] body.menu3-theme .flagitem_wrapper .set_flags_menu {
        right: auto !important;
        left: 0 !important;
    }
}

@media (max-width: 575px) {
    body.menu3-theme .nav-header,
    body.menu3-theme .nav-header.menu3-nav-header,
    body.menu3-theme .nav-header.menu3-nav-sticky {
        gap: 8px;
        padding: 8px 12px 10px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1300 !important;
    }

    body.menu3-theme .nav-header .nav-top a {
        line-height: normal !important;
    }

    body.menu3-theme .nav-header .menu3-location-bar.custom-dropdown {
        padding: 8px 10px;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    body.menu3-theme .menu3-lang-toggle {
        padding: 6px 26px 6px 8px !important;
        max-width: min(46vw, 140px);
    }

    body.menu3-theme .menu3-lang-toggle .lang_title {
        max-width: min(32vw, 80px);
        font-size: 11px;
    }

    body.menu3-theme .nav-header .str_name {
        max-width: 46vw;
    }

    body.menu3-theme .menu3-location-label-text {
        font-size: 9px;
    }

    body.menu3-theme .menu3-location-bar select.browser-default,
    body.menu3-theme .menu3-location-bar select.custom-select,
    body.menu3-theme .menu3-location-bar .menu3-location-select {
        min-height: 34px;
        font-size: 11px !important;
        padding: 7px 28px 7px 8px !important;
    }
}
@media (max-width: 767px) {
    body.menu3-theme #mySidenav.sidenav {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        max-height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        height: 100svh !important;
        max-height: 100svh !important;
        overflow: hidden !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    body.menu3-theme #mySidenav .header_sidebar {
        flex: 0 0 auto;
    }

    body.menu3-theme #mySidenav .sticky_menu {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px !important;
    }

    /* Support block — long email / phone wrap */
    body.menu3-theme #mySidenav .sticky_menu > p.mb-0 {
        margin-top: 0px !important;
        /* padding: 10px 16px 4px 20px !important; */
        font-size: 13px !important;
        font-weight: 600 !important;
        border-top: 1px solid var(--cafe-border, #e6d8c1);
        border-radius: 0 !important;
    }

    body.menu3-theme #mySidenav .sticky_menu .p_main {
        display: block !important;
        /* padding: 0 10px 4px 16px !important; */
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.menu3-theme #mySidenav .sticky_menu .p_main a {
        display: flex !important;
        align-items: flex-start;
        gap: 8px;
        padding: 6px 8px !important;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        line-height: 1.4;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    body.menu3-theme #mySidenav .sticky_menu .p_main a .fa,
    body.menu3-theme #mySidenav .sticky_menu .p_main a i {
        flex: 0 0 16px;
        width: 16px;
        margin-top: 2px;
        text-align: center;
    }

    /* Bottom: store ratings + compact logout — always visible, not clipped */
    body.menu3-theme #mySidenav .fixed_bottom {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: auto !important;
        padding: 12px 12px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        min-width: 0;
        width: 100%;
        overflow: visible !important;
        position: relative;
        z-index: 2;
        background: var(--cafe-foam, #fffaf2) !important;
    }

    body.menu3-theme #mySidenav .fixed_bottom .rating_section {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.menu3-theme #mySidenav .rating_section .pl-3,
    body.menu3-theme #mySidenav .rating_section h4.pl-3 {
        padding-left: 0 !important;
    }

    body.menu3-theme #mySidenav .rating_section > .d-flex:first-child p {
        font-size: 12px !important;
        margin-bottom: 2px !important;
        line-height: 1.3;
    }

    body.menu3-theme #mySidenav .rating_section h4 {
        font-size: 18px !important;
    }

    body.menu3-theme #mySidenav .rating_section .store-star-rating-overall {
        padding-left: 6px !important;
    }

    body.menu3-theme #mySidenav .rating_section .store-star-rating-overall .fa {
        font-size: 12px;
    }

    body.menu3-theme #mySidenav .rating_section .rating_count {
        display: block;
        padding-inline-start: 0 !important;
        margin: 2px 0 0 !important;
        font-size: 12px;
    }

    body.menu3-theme #mySidenav .rating_section .rating_btn_first {
        display: inline-block;
        margin: 4px 0 2px !important;
        padding: 4px 10px !important;
        background: var(--cafe-beige, #f1e6d2);
        border-radius: 999px;
        line-height: 1.3;
    }

    body.menu3-theme #mySidenav .rating_section .rating_btn_first small {
        font-size: 11px !important;
    }

    body.menu3-theme #mySidenav .fixed_bottom .user_logout_btn {
        flex: 0 0 auto !important;
        align-self: center !important;
        width: auto !important;
        max-width: 40% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        min-height: 36px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        gap: 5px !important;
        white-space: nowrap;
        box-sizing: border-box !important;
    }

    body.menu3-theme #mySidenav .fixed_bottom .user_logout_btn .fa {
        flex-shrink: 0;
        font-size: 14px !important;
    }

    body.menu3-theme #mySidenav .fixed_bottom:not(.fixed_bottom--has-rating) .user_logout_btn {
        max-width: none !important;
        margin-inline-start: auto !important;
    }
}

@media (max-width: 575px) {
    body.menu3-theme #mySidenav.sidenav {
        border-radius: 0 !important;
        max-width: 100%;
    }

    html[dir="rtl"] body.menu3-theme #mySidenav.sidenav {
        border-radius: 0 !important;
    }

    body.menu3-theme #mySidenav .fixed_bottom {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Override style.css fixed / header.css relative — navbar always sticky (all breakpoints) */
body.menu3-theme .main-wrapper > .nav-header,
body.menu3-theme .main-wrapper > .nav-header.menu3-nav-header,
body.menu3-theme .main-wrapper > .nav-header.menu3-nav-sticky {
    position: sticky !important;
    top: 0 !important;
    inset-inline: 0;
    z-index: 130 !important;
}

body.menu3-theme .theme-cafe .nav-header,
body.menu3-theme .page-wrapper .nav-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1300 !important;
}

/* -------- Notification bell & popover -------- */
body.menu3-theme .menu3-notif {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

body.menu3-theme .menu3-notif__bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    background: var(--cafe-surface, #ffffff) !important;
    color: var(--cafe-coffee, #6f4e37) !important;
    border: 1px solid var(--cafe-border, #e6d8c1) !important;
    border-radius: var(--cafe-radius-pill, 999px) !important;
    box-shadow: var(--cafe-shadow-sm, 0 2px 6px rgba(62, 42, 31, 0.06)) !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1));
}

body.menu3-theme .menu3-notif__bell:hover,
body.menu3-theme .menu3-notif__bell:focus {
    border-color: var(--cafe-caramel, #c89f6b) !important;
    box-shadow: 0 0 0 3px rgba(200, 159, 107, 0.2) !important;
    outline: none !important;
    color: var(--cafe-espresso, #3e2a1f) !important;
}

body.menu3-theme .menu3-notif__bell[aria-expanded="true"] {
    border-color: var(--cafe-caramel, #c89f6b) !important;
    background: var(--cafe-beige, #f1e6d2) !important;
}

body.menu3-theme .menu3-notif__bell-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.menu3-theme .menu3-notif__bell-svg {
    display: block;
    transform-origin: 50% 0%;
}

body.menu3-theme .menu3-notif__bell.is-ringing .menu3-notif__bell-svg {
    animation: menu3-notif-ring 0.85s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1));
}

body.menu3-theme .menu3-notif__badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cafe-danger, #c0392b);
    color: var(--cafe-on-primary, #ffffff);
    border: 2px solid var(--cafe-foam, #fffaf2);
    border-radius: var(--cafe-radius-pill, 999px);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(192, 57, 43, 0.35);
}

body.menu3-theme .menu3-notif__badge.is-pulse {
    animation: menu3-notif-badge-pop 0.45s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1));
}

body.menu3-theme .menu3-notif__badge-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.menu3-theme .menu3-notif__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(62, 42, 31, 0.28);
    z-index: 1315;
    opacity: 0;
    transition: opacity 0.28s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1));
    pointer-events: none;
}

@media (max-width: 767px) {
    body.menu3-theme .menu3-notif__backdrop {
        display: block;
    }
}

body.menu3-theme .menu3-notif__backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.menu3-theme .menu3-notif__panel {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: min(380px, calc(100vw - 24px));
    max-height: min(520px, calc(100vh - 96px));
    display: flex;
    flex-direction: column;
    background: var(--cafe-surface, #ffffff);
    border: 1px solid var(--cafe-border, #e6d8c1);
    border-radius: var(--cafe-radius-lg, 16px);
    box-shadow: var(--cafe-shadow-lg, 0 14px 38px rgba(62, 42, 31, 0.12));
    z-index: 1320;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 0.28s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1)),
        transform 0.28s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1)),
        visibility 0.28s;
    pointer-events: none;
}

html[dir="rtl"] body.menu3-theme .menu3-notif__panel {
    transform-origin: top left;
}

body.menu3-theme .menu3-notif__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

body.menu3-theme .menu3-notif__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--cafe-foam, #fffaf2);
    border-bottom: 1px solid var(--cafe-border, #e6d8c1);
}

body.menu3-theme .menu3-notif__back {
    display: none;
    order: -1;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--cafe-coffee, #6f4e37);
    border-radius: var(--cafe-radius-sm, 8px);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.menu3-theme .menu3-notif__back:hover,
body.menu3-theme .menu3-notif__back:focus {
    background: var(--cafe-beige, #f1e6d2);
    color: var(--cafe-espresso, #3e2a1f);
    outline: none;
}

body.menu3-theme .menu3-notif__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: start;
    color: var(--cafe-espresso, #3e2a1f);
    line-height: 1.3;
}

body.menu3-theme .menu3-notif__actions-wrap {
    position: relative;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

body.menu3-theme .menu3-notif__actions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--cafe-coffee, #6f4e37);
    border-radius: var(--cafe-radius-sm, 8px);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.menu3-theme .menu3-notif__actions-btn:hover,
body.menu3-theme .menu3-notif__actions-btn:focus,
body.menu3-theme .menu3-notif__actions-btn[aria-expanded="true"] {
    background: var(--cafe-beige, #f1e6d2);
    color: var(--cafe-espresso, #3e2a1f);
    outline: none;
}

body.menu3-theme .menu3-notif__actions-menu {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-end: 0;
    min-width: 148px;
    padding: 6px;
    background: var(--cafe-coupon-4, #e4e4f7);
    border: 1px solid var(--cafe-border, #e6d8c1);
    border-radius: var(--cafe-radius, 12px);
    box-shadow: var(--cafe-shadow, 0 6px 18px rgba(62, 42, 31, 0.08));
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 0.22s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1)),
        transform 0.22s var(--cafe-ease, cubic-bezier(0.4, 0.2, 0.2, 1)),
        visibility 0.22s;
}

body.menu3-theme .menu3-notif__actions-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.menu3-theme .menu3-notif__action {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--cafe-espresso, #3e2a1f);
    font-size: 13px;
    font-weight: 500;
    text-align: start;
    border-radius: var(--cafe-radius-sm, 8px);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.menu3-theme .menu3-notif__action:hover,
body.menu3-theme .menu3-notif__action:focus {
    background: rgba(255, 255, 255, 0.55);
    color: var(--cafe-coffee, #6f4e37);
    outline: none;
}

body.menu3-theme .menu3-notif__body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: var(--cafe-surface, #ffffff);
}

body.menu3-theme .menu3-notif__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: calc(6 * 76px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

body.menu3-theme .menu3-notif__list::-webkit-scrollbar {
    width: 6px;
}

body.menu3-theme .menu3-notif__list::-webkit-scrollbar-thumb {
    background: var(--cafe-border, #e6d8c1);
    border-radius: var(--cafe-radius-pill, 999px);
}

body.menu3-theme .menu3-notif__item {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid var(--cafe-border, #e6d8c1);
    background: var(--cafe-surface, #ffffff);
    text-align: start;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

body.menu3-theme .menu3-notif__item:last-child {
    border-bottom: none;
}

body.menu3-theme .menu3-notif__item:hover,
body.menu3-theme .menu3-notif__item:focus {
    background: var(--cafe-foam, #fffaf2);
    outline: none;
}

body.menu3-theme .menu3-notif__item--unread {
    background: linear-gradient(90deg, rgba(228, 228, 247, 0.55) 0%, rgba(255, 250, 242, 0.9) 100%);
}

body.menu3-theme .menu3-notif__item--unread:hover,
body.menu3-theme .menu3-notif__item--unread:focus {
    background: linear-gradient(90deg, rgba(228, 228, 247, 0.75) 0%, var(--cafe-foam, #fffaf2) 100%);
}

body.menu3-theme .menu3-notif__item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cafe-espresso, #3e2a1f);
    line-height: 1.35;
}

body.menu3-theme .menu3-notif__item-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cafe-coffee, #6f4e37);
}

body.menu3-theme .menu3-notif__item--read .menu3-notif__item-dot {
    display: none;
}

body.menu3-theme .menu3-notif__item-message {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--cafe-text, #3e2a1f);
    line-height: 1.45;
}

body.menu3-theme .menu3-notif__item-time {
    margin: 0;
    font-size: 12px;
    color: var(--cafe-muted, #8a7565);
    line-height: 1.3;
}

body.menu3-theme .menu3-notif__skeleton {
    padding: 4px 0;
}

body.menu3-theme .menu3-notif__skeleton-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--cafe-border, #e6d8c1);
}

body.menu3-theme .menu3-notif__skeleton-line {
    display: block;
    height: 10px;
    border-radius: var(--cafe-radius-pill, 999px);
    background: linear-gradient(
        90deg,
        var(--cafe-beige, #f1e6d2) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        var(--cafe-beige, #f1e6d2) 100%
    );
    background-size: 200% 100%;
    animation: menu3-notif-shimmer 1.2s ease-in-out infinite;
}

body.menu3-theme .menu3-notif__skeleton-line--title {
    width: 48%;
    height: 12px;
    margin-bottom: 10px;
}

body.menu3-theme .menu3-notif__skeleton-line--message {
    width: 78%;
    margin-bottom: 10px;
}

body.menu3-theme .menu3-notif__skeleton-line--time {
    width: 42%;
    height: 9px;
}

body.menu3-theme .menu3-notif__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 24px 40px;
    text-align: center;
}

body.menu3-theme .menu3-notif__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cafe-beige, #f1e6d2);
    color: var(--cafe-coffee, #6f4e37);
}

body.menu3-theme .menu3-notif__empty-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--cafe-espresso, #3e2a1f);
}

body.menu3-theme .menu3-notif__empty-text {
    margin: 0;
    font-size: 13px;
    color: var(--cafe-muted, #8a7565);
    line-height: 1.45;
    max-width: 240px;
}

@keyframes menu3-notif-ring {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-12deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-8deg); }
    75% { transform: rotate(4deg); }
    100% { transform: rotate(0deg); }
}

@keyframes menu3-notif-badge-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.28); }
    65% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

@keyframes menu3-notif-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    body.menu3-theme .menu3-notif__panel,
    body.menu3-theme .menu3-notif__backdrop,
    body.menu3-theme .menu3-notif__actions-menu,
    body.menu3-theme .menu3-notif__bell.is-ringing .menu3-notif__bell-svg,
    body.menu3-theme .menu3-notif__badge.is-pulse,
    body.menu3-theme .menu3-notif__skeleton-line {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 767px) {
    body.menu3-theme .menu3-notif__panel {
        position: fixed;
        top: 0;
        inset-inline: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        max-height: none;
        height: 100dvh;
        border-radius: 0;
        border: none;
        transform: translateY(12px);
        transform-origin: center top;
    }

    body.menu3-theme .menu3-notif__panel.is-open {
        transform: translateY(0);
    }

    body.menu3-theme .menu3-notif__back {
        display: inline-flex;
    }

    body.menu3-theme .menu3-notif__header {
        display: grid;
        grid-template-columns: 36px 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 14px 16px;
        padding-top: calc(14px + env(safe-area-inset-top, 0px));
    }

    body.menu3-theme .menu3-notif__title {
        flex: unset;
        text-align: center;
    }

    body.menu3-theme .menu3-notif__actions-wrap {
        justify-self: end;
        margin-inline-start: 0;
    }

    body.menu3-theme .menu3-notif__list {
        max-height: none;
        flex: 1 1 auto;
    }

    body.menu3-theme .menu3-notif__body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    body.menu3-theme .menu3-notif__panel.is-open {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    body.menu3-theme .menu3-notif__bell {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
}