/* =========================================================================
   Customer menu - "Foodics" style theme (loaded after menu-v2.css)
   Accent colour = the restaurant's "active category" colour (--fx-accent).
   Grid / list view chosen by the diner: html[data-fx-view="grid|list"].
   Uses logical properties so English (LTR) and Arabic (RTL) both work.
   ========================================================================= */

:root {
    --fx-accent: #5e72e4;
    --fx-ink: #1a1d29;
    --fx-muted: #6f7687;
    --fx-line: #eceef3;
    --fx-soft: #f4f5f8; /* inner boxes inside white cards: stay neutral whatever page colour the owner picks */
    --fx-bg: #f6f7f9;
    --fx-radius: 16px;
}

/* ---------- restaurant header ---------- */
.fx-hero { position: relative; background: var(--fx-bg); }
.fx-hero__cover { height: 180px; overflow: hidden; background: #dfe3ea; }
.fx-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) { .fx-hero__cover { height: 260px; } }
@media (min-width: 1200px) { .fx-hero__cover { height: 320px; } }
.fx-hero__wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; position: relative; }
.fx-hero__card {
    display: flex; align-items: center; gap: 14px; margin-top: -46px; position: relative; z-index: 2;
    background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 8px 28px rgba(26,29,41,.10);
}
.fx-hero__logo { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 18px; object-fit: cover; background: #f1f2f6; border: 1px solid var(--fx-line); }
.fx-hero__text { min-width: 0; }
.fx-hero__name { font-size: 21px; font-weight: 800; color: var(--fx-ink); margin: 0; line-height: 1.25; cursor: pointer; }
.fx-hero__desc { font-size: 13.5px; color: var(--fx-muted); margin: 3px 0 0; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) {
    .fx-hero__card { padding: 18px 22px; gap: 18px; margin-top: -60px; }
    .fx-hero__logo { width: 96px; height: 96px; flex-basis: 96px; border-radius: 22px; }
    .fx-hero__name { font-size: 28px; }
    .fx-hero__desc { font-size: 15px; }
}
.fx-hero__meta { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; -webkit-overflow-scrolling: touch; }
.fx-hero__meta::-webkit-scrollbar { display: none; }
.fx-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
    border-radius: 999px; background: #fff; border: 1px solid var(--fx-line); color: var(--fx-ink) !important;
    font-size: 12.5px; font-weight: 600; white-space: nowrap; text-decoration: none !important; max-width: 280px;
}
.fx-chip bdi { overflow: hidden; text-overflow: ellipsis; }
.fx-chip .fa { color: var(--fx-accent); font-size: 14px; }
.fx-chip--icon { width: 34px; padding: 0; justify-content: center; }

/* ---------- menu section ---------- */
#restaurant-content.fx-menu { padding: 8px 0 110px !important; background: var(--fx-bg); }
#restaurant-content.fx-menu .container-restorant { max-width: 1140px; padding-left: 16px; padding-right: 16px; }
.fx-flash:empty, .fx-flash .alert:empty { display: none; }
.fx-flash { max-width: 1140px; }
.fx-flash .alert { border-radius: 12px; margin: 8px 0 0; }

/* toolbar: search + grid/list switch */
.fx-toolbar { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.fx-toolbar .menu-search { flex: 1 1 auto; margin: 0 !important; min-width: 0; }
.fx-toolbar .menu-search__field input { height: 44px; border-radius: 999px !important; background: #fff; border: 1px solid var(--fx-line) !important; }
.fx-view { flex: 0 0 auto; display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--fx-line); margin-inline-start: auto; }
.fx-view__btn { width: 38px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--fx-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fx-view__btn svg { fill: currentColor; }
html:not([data-fx-view="list"]) .fx-view__btn[data-fx-view="grid"],
html[data-fx-view="list"] .fx-view__btn[data-fx-view="list"] { background: var(--fx-accent); color: #fff; }

/* category tabs: text with an underline, like Foodics */
#restaurant-content .menu-tabs {
    background: var(--fx-bg) !important; box-shadow: none; border-bottom: 1px solid var(--fx-line);
    gap: 22px !important; padding: 0 16px !important; margin: 0 -16px 6px !important;
}
#restaurant-content .menu-tab {
    background: transparent !important; border: 0 !important; border-radius: 0 !important;
    padding: 14px 0 12px !important; font-size: 14.5px !important; font-weight: 700 !important;
    color: var(--fx-muted) !important; border-bottom: 3px solid transparent !important; margin-bottom: -1px;
}
#restaurant-content .menu-tab.is-active { color: var(--fx-ink) !important; border-bottom-color: var(--fx-accent) !important; }
#restaurant-content .menu-tab__icon { width: 20px !important; height: 20px !important; border-radius: 6px !important; margin-inline-end: 6px; margin-right: 0; }
[dir="ltr"] #restaurant-content .menu-tab__icon { margin-right: 6px; }
#restaurant-content .menu-tabs__all { background: var(--fx-accent) !important; }
#restaurant-content .menu-mains { background: var(--fx-bg) !important; }
.menu-main.is-active { border-bottom-color: var(--fx-accent) !important; }

/* category headings */
#accordionExample > .card { margin-bottom: 10px !important; }
#accordionExample > .card > .card-header { padding: 18px 0 10px !important; }
#accordionExample > .card > .card-header .title h1 { font-size: 20px !important; font-weight: 800 !important; color: var(--fx-ink); }
#accordionExample > .card > .card-header .accicon { color: var(--fx-muted); }

/* ---------- dish cards: shared ---------- */
.fx-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .fx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fx-col[hidden] { display: none !important; }
.fx-card {
    height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--fx-radius);
    border: 1px solid var(--fx-line); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease;
}
.fx-card:hover { box-shadow: 0 10px 24px rgba(26,29,41,.08); }
.fx-card__media { display: block; position: relative; aspect-ratio: 1 / 1; background: #f1f2f6; overflow: hidden; }
.fx-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.fx-card:hover .fx-card__media img { transform: scale(1.03); }
.fx-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c5cad6; font-size: 30px; }
.fx-card__body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 10px 12px 12px; min-width: 0; }
.fx-card__name {
    font-size: 14.5px; font-weight: 700; color: var(--fx-ink); line-height: 1.35; text-decoration: none !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fx-card__desc {
    font-size: 12.5px; color: var(--fx-muted); line-height: 1.45; margin: 4px 0 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fx-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.fx-card__price { min-width: 0; line-height: 1.2; }
.fx-price { display: block; font-size: 15px; font-weight: 800; color: var(--fx-ink); white-space: nowrap; }
.fx-price small { font-size: 11.5px; font-weight: 600; color: var(--fx-muted); }
.fx-card__price .price-lbp { display: block; font-size: 11px !important; color: var(--fx-muted); opacity: 1 !important; margin-top: 2px; white-space: nowrap; }
.fx-card__opts { font-size: 11.5px; color: var(--fx-muted); margin-top: 4px; }
.fx-card .item-add {
    position: static !important; flex: 0 0 auto; width: 34px !important; height: 34px !important; border-radius: 50%;
    background: var(--fx-accent) !important; box-shadow: none !important; font-size: 22px;
}
.fx-card .item-add.is-added { background: #2dce89 !important; }
.fx-card .item-add.is-error { background: #f5365c !important; }
.fx-card__chips { display: none; }

/* ---------- list view ---------- */
html[data-fx-view="list"] .fx-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 992px) { html[data-fx-view="list"] .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
html[data-fx-view="list"] .fx-card { flex-direction: row; align-items: stretch; padding: 12px; gap: 12px; }
html[data-fx-view="list"] .fx-card__media { order: 2; flex: 0 0 104px; width: 104px; height: 104px; aspect-ratio: auto; border-radius: 12px; align-self: flex-start; }
html[data-fx-view="list"] .fx-card__body { padding: 0; }
html[data-fx-view="list"] .fx-card__name { font-size: 15.5px; }
html[data-fx-view="list"] .fx-card__desc { font-size: 13px; }
html[data-fx-view="list"] .fx-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
html[data-fx-view="list"] .fx-card__chips + .fx-card__foot .fx-card__price { display: none; }
html[data-fx-view="list"] .fx-card__chips ~ .fx-card__opts { display: none; }
.fx-card__chips .variant-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px;
    border: 1px solid var(--fx-line); background: #f8f9fb; color: var(--fx-ink); cursor: pointer; line-height: 1.2;
}
.fx-card__chips .variant-chip__name { font-weight: 600; white-space: nowrap; }
.fx-card__chips .variant-chip__price { font-weight: 800; white-space: nowrap; }
.fx-card__chips .variant-chip:hover { border-color: var(--fx-accent); }
html[data-fx-view="list"] .fx-card__chips + .fx-card__foot { justify-content: flex-end; }

/* ---------- product sheet (item popup) ---------- */
#productModal .modal-dialog { max-width: 540px !important; margin-left: auto !important; margin-right: auto !important; flex: none !important; }
#productModal .modal-dialog.modal-lg { max-width: 540px !important; }
#productModal .modal-content { border: 0; border-radius: 22px; overflow: hidden; position: relative; }
#productModal #modalItemDetailsPart { flex: 0 0 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
#productModal .card-body > .row { margin: 0 !important; }
.fx-sheet-media { width: 100%; aspect-ratio: 4 / 3; max-height: 340px; background: #f1f2f6; overflow: hidden; }
.fx-sheet-media img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; border-radius: 0 !important; }
#productModal .fx-sheet-close {
    position: absolute; top: 12px; inset-inline-end: 12px; z-index: 5; width: 38px; height: 38px; margin: 0 !important;
    padding: 0 !important; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.18);
    font-size: 26px; line-height: 38px; text-align: center; opacity: 1; color: var(--fx-ink); float: none;
}
#productModal .modal-header { padding: 18px 20px 4px !important; padding-inline-end: 60px !important; position: static !important; background: #fff; }
#productModal .modal-title { font-size: 21px !important; font-weight: 800 !important; color: var(--fx-ink); }
#productModal .card-body { padding: 0 20px 0 !important; }
#productModal #modalPrice { font-size: 17px !important; color: var(--fx-ink); margin: 2px 0 8px; }
#productModal #modalDescription { font-size: 14px; color: var(--fx-muted); }
#variants-area > .form-control-label { display: none; }

/* option groups: grey band with title + Required / Optional badge */
#productModal .fx-group-title {
    display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
    margin: 18px -20px 0 !important; padding: 12px 20px; background: var(--fx-bg);
    font-size: 15px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--fx-ink) !important;
}
#productModal .fx-group-title b { font-weight: 800; }
.fx-badge { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e7e9ef; color: var(--fx-muted); white-space: nowrap; }
.fx-badge--req { background: color-mix(in srgb, var(--fx-accent) 14%, #fff); color: var(--fx-accent); }
#productModal #variants-area-inside > div { margin-top: 0 !important; }

/* choices as rows with a round radio */
#productModal #variants-area-inside .btn-group-toggle { display: flex !important; flex-direction: column; gap: 0 !important; }
#productModal #variants-area-inside .btn-group-toggle .btn {
    position: relative; display: flex !important; align-items: center; width: 100%; text-align: start;
    padding: 15px 0 !important; padding-inline-start: 34px !important; margin: 0 !important;
    border: 0 !important; border-bottom: 1px solid var(--fx-line) !important; border-radius: 0 !important;
    background: transparent !important; color: var(--fx-ink) !important; box-shadow: none !important;
    font-size: 15px !important; font-weight: 600 !important; text-transform: none !important;
}
#productModal #variants-area-inside .btn-group-toggle .btn::before {
    content: ""; position: absolute; inset-inline-start: 2px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
    border-radius: 50%; border: 2px solid #c9ced9; background: #fff; box-sizing: border-box;
}
#productModal #variants-area-inside .btn-group-toggle .btn.active::before { border: 6px solid var(--fx-accent); }
#productModal #variants-area-inside .btn-group-toggle .btn:last-child { border-bottom: 0 !important; }

/* extras rows with a square checkbox */
#productModal #exrtas-area { margin-top: 0 !important; }
#productModal .extra-row { margin: 0 !important; }
#productModal .extra-row .custom-control-label {
    border: 0 !important; border-bottom: 1px solid var(--fx-line) !important; border-radius: 0 !important;
    padding: 15px 0 !important; padding-inline-start: 34px !important; background: transparent !important; font-size: 15px;
}
#productModal .extra-row:last-child .custom-control-label { border-bottom: 0 !important; }
#productModal .extra-row .custom-control-label::before,
#productModal .extra-row .custom-control-label::after { left: 2px !important; right: auto !important; width: 20px; height: 20px; border-radius: 6px; }
[dir="rtl"] #productModal .extra-row .custom-control-label::before,
[dir="rtl"] #productModal .extra-row .custom-control-label::after { left: auto !important; right: 2px !important; }
#productModal .extra-row .custom-control-input:checked ~ .custom-control-label::before { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; }
#productModal .extra-row__price { color: var(--fx-ink); font-weight: 700; }

/* sticky bottom: quantity + add button */
#productModal .quantity-area {
    position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 12px;
    margin: 18px -20px 0 !important; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--fx-line); box-shadow: 0 -8px 18px -12px rgba(26,29,41,.25);
}
#productModal .quantity-area[style*="none"] { display: none !important; }
#productModal .quantity-area .form-group { margin: 0 !important; flex: 0 0 auto; display: block !important; }
#productModal .quantity-area .form-group > .form-control-label { display: none !important; }
#productModal .quantity-btn { flex: 1 1 auto; min-width: 0; }
#productModal .qty-stepper__btn { width: 40px; height: 46px; background: transparent; color: var(--fx-accent); font-size: 22px; }
#productModal .qty-stepper #quantity { width: 34px; height: 46px; }
#productModal .qty-stepper { border-color: #dfe2ea; }
#productModal .modal-add-btn { min-height: 50px; border-radius: 14px; background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; box-shadow: none; font-weight: 800; }
#productModal .modal-add-btn__price { font-size: 14px; }

@media (max-width: 575px) {
    /* full screen on phones */
    #productModal .modal-dialog { margin: 0 !important; max-width: none !important; width: 100%; min-height: 100%; height: 100%; align-items: stretch !important; }
    #productModal .modal-content { border-radius: 0 !important; max-height: none !important; height: 100%; overflow-y: auto; }
    .fx-sheet-media { max-height: 46vh; }
}

/* ---------- cart bar + side cart use the accent ---------- */
.menu-cart-bar { background: var(--fx-accent) !important; border-radius: 16px; }
.mv-cart a.mv-cart__checkout { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; }

/* tabs: keep the first tab off the edge (scroll-snap), compact "all categories" button */
#restaurant-content .menu-tabs { scroll-padding-inline: 16px; align-items: center; }
#restaurant-content .menu-tabs__all {
    position: sticky; inset-inline-end: 0; flex: 0 0 auto; width: 36px !important; height: 36px !important;
    border-radius: 12px !important; margin-inline-start: auto;
}
[dir="rtl"] #restaurant-content .menu-tabs__all { right: auto; margin-left: 0; }

/* product sheet fixes */
#productModal .fx-sheet-media #modalImg { width: 100% !important; height: 100% !important; max-height: none; }
#productModal .fx-sheet-media { margin: 0 !important; }
#productModal .modal-header { border: 0 !important; }
#productModal .modal-add-btn { padding: 0 16px; gap: 8px; }
#productModal .modal-add-btn > span:first-child { white-space: nowrap; }
/* price on the button: USD on top, LBP below (the " · " separator is hidden) */
#productModal .modal-add-btn__price { font-size: 0; text-align: end; line-height: 1.15; }
#productModal .modal-add-btn__price bdi { display: block; font-size: 15px; font-weight: 800; }
#productModal .modal-add-btn__price bdi + bdi { font-size: 11px; font-weight: 600; opacity: .85; }
@media (min-width: 768px) { .fx-card__media { aspect-ratio: 4 / 3; } }
#productModal .modal-body, #productModal .card, #productModal .card-body { border: 0 !important; }
#productModal .modal-header::after, #productModal .modal-header::before { display: none; }
#productModal .modal-header + .modal-body { border-top: 0 !important; }
#productModal .fx-sheet-close span { display: block; line-height: 36px; font-size: 26px; margin-top: -2px; }
@media (max-width: 575px) {
    /* phones: the add bar always sits at the bottom of the screen */
    #productModal.show .quantity-area { position: fixed; left: 0; right: 0; bottom: 0; margin: 0 !important; }
    #productModal .card-body { padding-bottom: 96px !important; }
}

/* =========================================================================
   Checkout (cart page) - same look as the menu
   ========================================================================= */
.fx-checkout .section.bg-secondary { background: var(--fx-bg) !important; }
.fx-checkout .card-profile { border: 1px solid var(--fx-line) !important; border-radius: var(--fx-radius) !important; margin-bottom: 12px !important; }
.fx-checkout .card-profile h3 {
    font-size: 16px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important;
    color: var(--fx-ink) !important; margin-bottom: 12px !important;
}
.fx-checkout .card-profile .px-4 { padding: 16px !important; }
.fx-back { display: inline-flex; align-items: center; gap: 6px; padding: 14px 16px 0; font-size: 13.5px; font-weight: 700; color: var(--fx-accent) !important; }
.fx-back__arrow { font-size: 20px; line-height: 1; margin-top: -2px; }
[dir="rtl"] .fx-back__arrow { transform: scaleX(-1); }
.fx-checkout .checkout-resto__inner { padding-top: 10px; }
.fx-checkout .mv-cart-qty button { color: var(--fx-accent); background: transparent; font-size: 12px; }
.fx-checkout .mv-cart-item__price { color: var(--fx-ink); font-weight: 700; }

/* order type: one segmented control */
.fx-checkout .dine-type { background: var(--fx-soft); border-radius: 14px; padding: 4px !important; gap: 4px !important; flex-wrap: nowrap !important; }
.fx-checkout .dine-type .custom-control-label {
    border: 0 !important; background: transparent !important; border-radius: 11px !important; min-height: 44px !important;
    color: var(--fx-muted) !important; font-weight: 700 !important;
}
.fx-checkout .dine-type .custom-control-input:checked ~ .custom-control-label { background: #fff !important; color: var(--fx-accent) !important; box-shadow: 0 2px 8px rgba(26,29,41,.10); }

/* form fields */
.fx-checkout .form-control, .fx-checkout textarea, .fx-checkout .select2-selection { border-color: #e3e6ed !important; border-radius: 12px !important; }
.fx-checkout .form-control:focus, .fx-checkout textarea:focus { border-color: var(--fx-accent) !important; }

/* promo */
.fx-checkout .checkout-promo__row .btn-primary { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; box-shadow: none; }

/* order summary */
.fx-checkout .card-stats { border: 0 !important; background: var(--fx-soft) !important; border-radius: 12px !important; }
.fx-checkout .card-stats strong { font-size: 15px; }
.fx-checkout .card-stats .ammount strong { font-size: 17px; font-weight: 800; }
.fx-checkout .card-stats .price-lbp--total { color: var(--fx-muted); }

/* payment method as a selectable tile */
.fx-checkout .cards .card-body { padding: 4px 0 0 !important; }
.fx-checkout .cards .custom-control { padding: 0 !important; margin: 0 0 8px !important; }
.fx-checkout .cards .custom-control-label {
    display: flex; align-items: center; width: 100%; min-height: 54px; padding: 12px 14px; padding-inline-start: 46px;
    border: 1.5px solid var(--fx-line); border-radius: 14px; font-weight: 700; cursor: pointer;
}
.fx-checkout .cards .custom-control-label::before, .fx-checkout .cards .custom-control-label::after { left: 16px !important; top: 50% !important; transform: translateY(-50%); }
[dir="rtl"] .fx-checkout .cards .custom-control-label::before, [dir="rtl"] .fx-checkout .cards .custom-control-label::after { left: auto !important; right: 16px !important; }
.fx-checkout .cards .custom-control-input:checked ~ .custom-control-label { border-color: var(--fx-accent); background: color-mix(in srgb, var(--fx-accent) 6%, #fff); }
.fx-checkout .cards .custom-control-input:checked ~ .custom-control-label::before { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; }
.fx-checkout #privacypolicy ~ .custom-control-label::before { border-radius: 6px; }
.fx-checkout #privacypolicy:checked ~ .custom-control-label::before { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; }

/* bottom bar */
.checkout-bar { border-top: 1px solid var(--fx-line) !important; box-shadow: 0 -8px 20px -12px rgba(26,29,41,.25) !important; }
.checkout-bar__btn { background: var(--fx-accent) !important; border-radius: 14px !important; min-height: 52px !important; font-weight: 800 !important; }
.checkout-bar__total strong { color: var(--fx-ink) !important; }
@media (min-width: 768px) { .checkout-bar { padding-left: max(31px, calc((100vw - 1140px) / 2 + 16px)) !important; padding-right: max(31px, calc((100vw - 1140px) / 2 + 16px)) !important; } }

/* =========================================================================
   Call waiter
   ========================================================================= */
.fx-waiter .modal-content { border: 0; border-radius: 22px; overflow: hidden; }
.fx-waiter .card { background: #fff !important; box-shadow: none !important; }
.fx-waiter .card-header { border: 0 !important; text-align: center; padding-top: 22px !important; }
.fx-waiter__icon {
    width: 56px; height: 56px; margin: 0 auto 4px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--fx-accent) 12%, #fff); color: var(--fx-accent); font-size: 24px;
}
.fx-waiter h4 { font-size: 19px; font-weight: 800; color: var(--fx-ink); }
.fx-waiter__hint { font-size: 13.5px; color: var(--fx-muted); margin: 0 0 4px; }
.fx-waiter .card-body { padding: 8px 20px 20px !important; }
.fx-waiter .form-control-label { font-weight: 700; color: var(--fx-ink); }
.fx-waiter select.form-control, .fx-waiter .select2-selection { min-height: 48px; border-radius: 12px !important; }
.fx-waiter .btn[type=submit] { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; border-radius: 14px; min-height: 52px; font-weight: 800; text-transform: none; font-size: 16px; }
.fx-waiter__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.fx-waiter__kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fx-waiter__kinds span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 2px solid #e6e8ef; border-radius: 14px; font-weight: 700; font-size: 13.5px; color: var(--fx-ink); cursor: pointer; text-align: center; }
.fx-waiter__kinds span i { font-size: 18px; color: var(--fx-muted); }
.fx-waiter__kinds input:checked + span { border-color: var(--fx-accent); background: color-mix(in srgb, var(--fx-accent) 8%, #fff); }
.fx-waiter__kinds input:checked + span i { color: var(--fx-accent); }
.fx-waiter__kinds input:focus-visible + span { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
.fx-waiter .callwaiter-close { top: 10px !important; inset-inline-end: 10px; right: auto; }
[dir="ltr"] .fx-waiter .callwaiter-close { right: 10px; }
@media (max-width: 575px) {
    .fx-waiter .modal-dialog { margin: 0; max-width: none; min-height: 100%; align-items: flex-end; }
    .fx-waiter .modal-content { border-radius: 22px 22px 0 0; }
}

/* =========================================================================
   Register visit
   ========================================================================= */
.visit-page { background: var(--fx-bg); }
.visit-card { border-radius: 20px; border-color: var(--fx-line); }
.visit-form__submit { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; font-weight: 800; }
.visit-form .form-control:focus { border-color: var(--fx-accent); }
.visit-req { color: var(--fx-accent); }
.visit-form__back { color: var(--fx-accent); }
.visit-welcome { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--fx-accent) 9%, #fff); font-weight: 700; color: var(--fx-ink); }
.visit-welcome i { color: var(--fx-accent); margin-inline-end: 4px; }
.visit-welcome__clear { border: 0; background: none; color: var(--fx-accent); font-weight: 700; font-size: 13px; padding: 4px; white-space: nowrap; }
.visit-done { text-align: center; }
.visit-done__icon { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: var(--fx-accent); }
.visit-done__facts { text-align: start; border: 1px solid var(--fx-line, #e6e8ef); border-radius: 14px; padding: 4px 14px; margin-bottom: 18px; }
.visit-done__facts div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; }
.visit-done__facts div + div { border-top: 1px solid var(--fx-line, #e6e8ef); }
.visit-done__facts span { color: var(--fx-muted); }

/* scroll-to-top button in the accent colour too */
.scrollup, .scrollup:focus, .scrollup:hover { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; color: #fff !important; }

/* =========================================================================
   Cart rows (side cart + checkout) v2
   ========================================================================= */
.mv-cart-item { gap: 12px; padding: 14px 0; }
.mv-cart-item__img { width: 60px; height: 60px; flex-basis: 60px; border-radius: 12px; }
.mv-cart-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mv-cart-item__name { font-size: 14.5px; font-weight: 800; color: var(--fx-ink); margin: 0; line-height: 1.3; }
.mv-cart-item__total { font-size: 14.5px; font-weight: 800; color: var(--fx-ink); white-space: nowrap; }
.mv-cart-item__details { list-style: none; margin: 3px 0 0; padding: 0; }
.mv-cart-item__details li { font-size: 12.5px; color: var(--fx-muted); line-height: 1.45; }
.mv-cart-item__actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mv-cart-item__unit { font-size: 12px; color: var(--fx-muted); }
.mv-cart-qty { border: 1px solid #e3e6ed; background: #fff; }
.mv-cart-qty button { width: 34px; height: 32px; background: transparent !important; color: var(--fx-accent) !important; font-size: 12px; }
.mv-cart-qty .mv-cart-qty__del { color: #f5365c !important; font-size: 14px; }
.mv-cart-qty span { min-width: 26px; }

/* side cart */
.mv-cart__head h4 { font-size: 20px; }
.mv-cart__count { display: block; font-size: 12.5px; color: var(--fx-muted); font-weight: 600; margin-top: 1px; }
.mv-cart #cartList { padding: 4px 20px; }
.mv-cart a.mv-cart__checkout {
    display: flex !important; align-items: center; justify-content: space-between; padding: 0 20px !important;
    min-height: 54px; line-height: 1 !important; border-radius: 14px; font-weight: 800; box-shadow: none;
}
.mv-cart__checkout-total { font-size: 15px; }
.mv-cart__continue { color: var(--fx-accent) !important; font-weight: 700; }
.mv-cart__total { font-size: 14.5px; color: var(--fx-muted); font-weight: 600; margin-bottom: 12px; }
.mv-cart__amounts .ammount { color: var(--fx-ink); }
.mv-cart__empty { padding: 70px 24px; }
.mv-cart__empty-ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--fx-accent) 10%, #fff); color: var(--fx-accent); }
.mv-cart__empty-ico .fa { font-size: 28px; opacity: 1; margin: 0; }
.mv-cart__empty-title { font-size: 17px; font-weight: 800; color: var(--fx-ink); margin: 0 0 4px; }
.mv-cart__empty-text { font-size: 13.5px; color: var(--fx-muted); margin: 0 0 18px; }
.mv-cart__browse { border: 0; border-radius: 12px; padding: 12px 22px; background: var(--fx-accent); color: #fff; font-weight: 700; cursor: pointer; }

/* =========================================================================
   Checkout v2
   ========================================================================= */
.fx-checkout .card-profile h3 { display: flex; align-items: center; gap: 10px; }
.fx-h-ico {
    width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--fx-accent) 12%, #fff); color: var(--fx-accent); font-size: 15px;
}
.fx-h-ico + span { display: inline; }
.fx-add-more { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--fx-accent) !important; }
.fx-checkout #cartList > .mv-cart-item:first-child { padding-top: 4px; }

/* summary rows */
.fx-checkout .fx-summary { padding: 14px 16px !important; background: var(--fx-soft) !important; border: 0 !important; border-radius: 14px !important; margin-bottom: 16px !important; }
.fx-summary__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--fx-muted); padding: 4px 0; }
.fx-summary__row--total { color: var(--fx-ink); font-weight: 800; font-size: 16px; border-top: 1px dashed #d9dde6; margin-top: 6px; padding-top: 10px; }
.fx-summary__row--total .ammount strong { font-size: 18px !important; font-weight: 800; color: var(--fx-ink); float: none !important; }
.fx-summary__amount { text-align: end; }
.fx-summary__amount .price-lbp { display: block; font-size: 12px; font-weight: 600; color: var(--fx-muted); }
.fx-summary__empty { color: var(--fx-muted); }
.fx-subtitle { font-size: 14px; font-weight: 800; color: var(--fx-ink); margin: 4px 0 10px; }
.fx-checkout .cards .card-body { padding: 0 !important; }
.fx-checkout .card-profile > .px-4 > .border-top { border: 0 !important; }
/* dashed line only when there are rows above the total */
.fx-summary__row--total { border-top: 0; margin-top: 0; padding-top: 4px; }
.fx-summary__row + .fx-summary__row--total { border-top: 1px dashed #d9dde6; margin-top: 6px; padding-top: 10px; }
@media (min-width: 768px) {
    /* desktop: promo + summary stay in view while the left column scrolls */
    .fx-checkout .row > .col-md-5 { position: sticky; top: 90px; align-self: flex-start; }
}

/* checkout fields: space between stacked inputs (an older rule removed it) */
.fx-checkout .card-profile .form-group { margin-bottom: 12px !important; }
.fx-checkout .card-profile .card-content:has(.form-group) { margin-bottom: -12px; }
.fx-checkout .card-profile .card-content .row { margin-left: -6px; margin-right: -6px; }
.fx-checkout .card-profile .card-content .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
/* Drive Thru card uses px-3: same padding and title spacing as the others */
.fx-checkout .card-profile > .px-3 { padding: 16px !important; }
.fx-checkout .card-profile > .px-3 > .mt-5 { margin-top: 0 !important; }

/* product popup close button: icon centred in the circle */
#productModal .fx-sheet-close { display: flex !important; align-items: center; justify-content: center; padding: 0 !important; line-height: 0 !important; text-shadow: none; }
#productModal .fx-sheet-close svg { display: block; }

/* "all categories" button: the fade that hides tabs behind it uses the tab bar colour
   (the script took the page background, which shows as a coloured shadow) */
#restaurant-content .menu-tabs__all { box-shadow: -16px 0 12px -2px var(--fx-bg) !important; }
[dir="rtl"] #restaurant-content .menu-tabs__all { box-shadow: 16px 0 12px -2px var(--fx-bg) !important; }
#restaurant-content .menu-tabs__all { box-shadow: -16px 0 12px -2px var(--fx-bg), 18px 0 0 2px var(--fx-bg) !important; }
[dir="rtl"] #restaurant-content .menu-tabs__all { box-shadow: 16px 0 12px -2px var(--fx-bg), -18px 0 0 2px var(--fx-bg) !important; }

/* =========================================================================
   Category icons (library SVG in the accent colour, or uploaded image)
   ========================================================================= */
.fx-cat-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.fx-cat-ico svg { width: 100%; height: 100%; display: block; }
.fx-cat-ico img { width: 100%; height: 100%; display: block; }
.fx-cat-ico--cover img { object-fit: cover; }
.fx-cat-ico--contain img { object-fit: contain; }

/* section heading */
#accordionExample .card-header .title { display: inline-flex; align-items: center; gap: 12px; }
#accordionExample .card-header .title .fx-cat-ico {
    width: 42px; height: 42px; padding: 9px; border-radius: 13px;
    background: color-mix(in srgb, var(--fx-accent) 12%, #fff); color: var(--fx-accent);
}
#accordionExample .card-header .title .fx-cat-ico--img { padding: 0; background: #fff; border: 1px solid var(--fx-line); }
#accordionExample .card-header .title .fx-cat-ico--cover { border-radius: 50%; }
#accordionExample .card-header .title .fx-cat-ico--contain { padding: 4px; }

/* tabs + main categories: small, same colour as the tab text */
#restaurant-content .menu-tab .fx-cat-ico, #restaurant-content .menu-main .fx-cat-ico {
    width: 20px !important; height: 20px !important; padding: 0; border-radius: 0 !important; background: none; color: currentColor; object-fit: initial;
}
#restaurant-content .menu-tab.is-active .fx-cat-ico, #restaurant-content .menu-main.is-active .fx-cat-ico { color: var(--fx-accent); }
#restaurant-content .menu-tab .fx-cat-ico--img, #restaurant-content .menu-main .fx-cat-ico--img { width: 24px !important; height: 24px !important; border-radius: 50% !important; }
#restaurant-content .menu-tab .fx-cat-ico--contain, #restaurant-content .menu-main .fx-cat-ico--contain { border-radius: 6px !important; }
#restaurant-content .menu-tab .fx-cat-ico { margin-inline-end: 7px; }
[dir="ltr"] #restaurant-content .menu-tab .fx-cat-ico { margin-right: 7px; }
[dir="rtl"] #restaurant-content .menu-tab .fx-cat-ico { margin-right: 0; margin-left: 7px; }

/* "jump to category" list */
.cat-sheet__icon.fx-cat-ico {
    width: 38px; height: 38px; padding: 8px; border-radius: 12px;
    background: color-mix(in srgb, var(--fx-accent) 12%, #fff); color: var(--fx-accent);
}
.cat-sheet__icon.fx-cat-ico--img { padding: 0; background: #fff; border: 1px solid var(--fx-line); }
.cat-sheet__icon.fx-cat-ico--cover { border-radius: 50%; }
.cat-sheet__icon.fx-cat-ico--contain { padding: 4px; }
/* older rules size every heading image to 40px with margins: icons fill their tile */
.fx-cat-ico img { width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; padding: 0 !important; }

/* colour icon library (Fluent Emoji): soft neutral tile, icon keeps its own colours */
#accordionExample .card-header .title .fx-cat-ico--emoji {
    width: 44px; height: 44px; padding: 8px; border-radius: 14px;
    background: #fff; border: 1px solid var(--fx-line); box-shadow: 0 2px 6px rgba(26,29,41,.06);
}
#restaurant-content .menu-tab .fx-cat-ico--emoji, #restaurant-content .menu-main .fx-cat-ico--emoji { width: 22px !important; height: 22px !important; }
#restaurant-content .menu-tab:not(.is-active) .fx-cat-ico--emoji { opacity: .85; }
.cat-sheet__icon.fx-cat-ico--emoji { padding: 7px; background: #fff; border: 1px solid var(--fx-line); }

/* "By placing your order you agree to ..." under the payment method */
.fx-checkout .fx-terms { margin: 12px 0 4px; font-size: 12px; line-height: 1.5; color: var(--fx-muted); text-align: start; }
.fx-checkout .fx-terms a { color: var(--fx-muted) !important; text-decoration: underline; }

/* "Order on WhatsApp" main button + plain alternative */
.checkout-bar__btn.checkout-bar__btn--wa { background: #25d366 !important; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.checkout-bar__btn--wa .fa { font-size: 20px; }
.fx-checkout .fx-plain-order { display: block; width: 100%; margin: 12px 0 0; padding: 10px; border: 1px dashed #d9dde6; border-radius: 12px; background: #fff; color: var(--fx-ink); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.fx-checkout .fx-plain-order[hidden] { display: none; }

/* "Order again" card (last order of this customer) */
.fx-again { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.fx-again__icon { flex: 0 0 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--fx-accent); color: #fff; font-size: 16px; }
.fx-again__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.fx-again__text strong { font-size: 14px; color: #1d2433; }
.fx-again__text strong small { font-weight: 400; color: #8a93a3; }
.fx-again__text span { font-size: 13px; color: #5b6475; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-again__btn { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--fx-accent); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.fx-again__btn:active { transform: scale(.97); }

/* note for one dish in the dish popup */
.fx-note textarea { resize: none; border-radius: 12px; font-size: 14px; color: #1d2433; margin-top: 10px; }

/* "I will pay with" (cash on delivery) */
.fx-paywith { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-paywith__chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 14px; border: 1.5px solid #e3e6ec; border-radius: 12px; background: #fff; cursor: pointer; text-align: start; }
.fx-paywith__chip strong { font-size: 14px; color: #1d2433; }
.fx-paywith__chip small { font-size: 11px; color: #8a93a3; }
.fx-paywith__chip.is-on { border-color: var(--fx-accent); background: color-mix(in srgb, var(--fx-accent) 8%, #fff); box-shadow: 0 0 0 1px var(--fx-accent) inset; }
.fx-again__track { font-size: 12px; font-weight: 600; color: var(--fx-accent); margin-top: 2px; }

/* open now / closed chip on the menu */
.fx-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 8px; }
.fx-chip--open { color: #12805c; font-weight: 600; }
.fx-chip--open .fx-dot { background: #2dce89; box-shadow: 0 0 0 3px rgba(45,206,137,.2); }
.fx-chip--closed { color: #c0392b; font-weight: 600; }
.fx-chip--closed .fx-dot { background: #e5484d; }

/* ---------- dish labels, diet icons, info, filters ---------- */
.fx-badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.fx-badge2 { padding: 3px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 700; line-height: 1.3; background: rgba(255,255,255,.95); color: var(--fx-ink); box-shadow: 0 1px 4px rgba(0,0,0,.15); white-space: nowrap; }
.fx-badge2--best { background: #ff7a1a; color: #fff; }
.fx-badge2--chef { background: #1a1d29; color: #fff; }
.fx-badge2--new { background: #12b886; color: #fff; }
html[data-fx-view="list"] .fx-badges { top: 4px; inset-inline-start: 4px; }
html[data-fx-view="list"] .fx-badge2 { font-size: 10px; padding: 2px 6px; }
.fx-card__info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 2px; }
.fx-diet { font-size: 14px; line-height: 1; }
.fx-meta { font-size: 12px; color: var(--fx-muted); font-weight: 500; }
.fx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.fx-filter { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--fx-line); background: #fff; color: var(--fx-ink); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; }
.fx-filter::-webkit-details-marker { display: none; }
.fx-filter[aria-pressed="true"] { background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; }
.fx-allergy { position: relative; }
.fx-allergy[open] > .fx-filter { border-color: var(--fx-accent); }
.fx-allergy__n { min-width: 18px; padding: 0 5px; border-radius: 10px; background: #e0344f; color: #fff; font-size: 11px; text-align: center; }
.fx-allergy__panel { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-start: 0; width: 250px; max-width: 86vw; padding: 12px 14px; background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.fx-allergy__panel p { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--fx-ink); }
.fx-allergy__panel label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px 0; font-size: 14px; color: var(--fx-ink); cursor: pointer; }
.fx-allergy__panel input { width: 17px; height: 17px; accent-color: var(--fx-accent); }
.fx-allergy__panel small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--fx-muted); line-height: 1.4; }
.fx-filters__count { font-size: 12.5px; color: var(--fx-muted); font-weight: 600; margin-inline-start: 4px; }
.fx-off { display: none !important; }
.fx-info { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--fx-soft); font-size: 13px; color: var(--fx-ink); }
.fx-info[hidden] { display: none; }
.fx-info__meta { color: var(--fx-muted); font-weight: 600; }
.fx-info__alg { color: #b4232c; font-weight: 600; }
.fx-card__info { flex-wrap: nowrap; overflow: hidden; }
.fx-diet { flex-shrink: 0; }
.fx-meta { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* photos keep the shape the owner cropped: dishes 4:3, cover 3:1 */
.fx-card__media { aspect-ratio: 4 / 3; }
.fx-hero__cover { width: 100%; height: auto; aspect-ratio: 3 / 1; min-height: 130px; max-height: 380px; }
@media (min-width: 768px) { .fx-hero__cover { height: auto; } }
@media (min-width: 1200px) { .fx-hero__cover { height: auto; } }

/* top bar buttons (Call waiter, Register visit, My orders, Cart): pills like the EN / عربي switch */
.navbar .web-menu .btn-cart, .navbar #desCartLink.btn-cart {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; margin: 0;
    border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--fx-ink, #1a1d29) !important;
    box-shadow: 0 2px 10px rgba(23, 43, 77, .15); text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; line-height: 1;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.navbar .web-menu .btn-cart .btn-inner--icon, .navbar #desCartLink.btn-cart .btn-inner--icon { margin: 0; color: var(--fx-accent, #5e72e4); font-size: 14px; }
.navbar .web-menu .btn-cart .nav-link-inner--text, .navbar #desCartLink.btn-cart .nav-link-inner--text { margin: 0; text-transform: none; }
.navbar .web-menu .btn-cart:hover, .navbar #desCartLink.btn-cart:hover {
    background: #fff !important; color: var(--fx-ink, #1a1d29) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(23, 43, 77, .18);
}
.navbar .web-menu .btn-cart:focus-visible, .navbar #desCartLink.btn-cart:focus-visible { outline: 2px solid var(--fx-accent, #5e72e4); outline-offset: 2px; }
.navbar #desCartLink.btn-cart { background: var(--fx-accent, #5e72e4); color: #fff !important; }
.navbar #desCartLink.btn-cart .btn-inner--icon { color: #fff; }
.navbar #desCartLink.btn-cart:hover { background: var(--fx-accent, #5e72e4) !important; color: #fff !important; filter: brightness(1.05); }

/* phone menu (opens from the ☰ button): one language switch, then clear rows; Cart as the main button */
@media (max-width: 991.98px) {
    #navbar_global .mobile-menu { display: grid; gap: 2px; padding: 4px 0 2px; }
    #navbar_global .mobile-menu .lang-toggle { justify-self: start; margin: 0 0 10px; }
    #navbar_global .mobile-menu .nav-link {
        display: flex; align-items: center; gap: 12px; padding: 12px 6px; margin: 0;
        border-bottom: 1px solid var(--fx-line, #eceef3); color: var(--fx-ink, #1a1d29) !important; font-size: 15px; font-weight: 600;
    }
    #navbar_global .mobile-menu .nav-link .btn-inner--icon { margin: 0; }
    #navbar_global .mobile-menu .nav-link i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
        background: color-mix(in srgb, var(--fx-accent, #5e72e4) 12%, transparent); color: var(--fx-accent, #5e72e4); font-size: 15px; }
    #navbar_global .mobile-menu .nav-link .nav-link-inner--text { display: inline; margin: 0; }
    #navbar_global .mobile-menu #mobileCartLink { justify-content: center; margin-top: 12px; padding: 12px; border: 0; border-radius: 999px;
        background: var(--fx-accent, #5e72e4); color: #fff !important; }
    #navbar_global .mobile-menu #mobileCartLink i { width: auto; height: auto; background: none; color: #fff; }
}

/* Restaurant info window (tap the restaurant name) */
.rb-info .modal-content { border: 0; border-radius: 20px; overflow: hidden; position: relative; background: #fff; }
.rb-info__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--fx-ink); font-size: 22px; line-height: 34px; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
[dir="rtl"] .rb-info__close { right: auto; left: 12px; }
.rb-info__cover { height: 120px; background: var(--fx-accent) center / cover no-repeat; }
.rb-info__head { text-align: center; padding: 0 20px 14px; margin-top: -46px; position: relative; }
.rb-info__logo { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; background: #fff; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.rb-info__name { font-size: 20px; font-weight: 800; color: var(--fx-ink); margin: 10px 0 2px; }
.rb-info__desc { font-size: 13.5px; color: var(--fx-muted); margin: 0 auto; max-width: 520px; line-height: 1.45; }
.rb-info__chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.rb-info__chips .fa-star { color: #f5a623; }
.rb-info__tabs { display: flex; gap: 6px; margin: 0 20px; padding: 4px; border-radius: 999px; background: var(--fx-soft); }
.rb-info__tabs a { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fx-muted); }
.rb-info__tabs a.active { background: #fff; color: var(--fx-ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.rb-info__body { padding: 16px 20px 22px; }
.rb-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rb-info__grid > :only-child { grid-column: 1 / -1; }
.rb-info__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fx-line); color: var(--fx-ink) !important; text-decoration: none !important; }
.rb-info__row--top { align-items: flex-start; }
.rb-info__row:last-child { border-bottom: 0; }
.rb-info__row small { display: block; font-size: 11.5px; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1px; }
.rb-info__row bdi { font-size: 14.5px; font-weight: 600; }
.rb-info__ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--fx-accent) 12%, #fff); color: var(--fx-accent); font-size: 16px; }
.rb-info__hours { flex: 1; }
.rb-info__day { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 3px 0; color: var(--fx-muted); }
.rb-info__day bdi { font-size: 13.5px; font-weight: 500; text-align: end; }
.rb-info__day.is-today { color: var(--fx-ink); font-weight: 700; }
.rb-info__day.is-today bdi { font-weight: 700; }
.rb-info__social { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; }
.rb-info__mapbox { display: flex; flex-direction: column; gap: 10px; }
#map3.rb-info__map { height: 230px !important; border-radius: 14px; overflow: hidden; background: var(--fx-soft); border: 1px solid var(--fx-line); }
.rb-info__dir { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 999px;
    background: var(--fx-accent); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.rb-info__review { padding: 12px 0; border-bottom: 1px solid var(--fx-line); }
.rb-info__review:last-child { border-bottom: 0; }
.rb-info__review-top { display: flex; justify-content: space-between; color: var(--fx-ink); }
.rb-info__review-top .fa-star { color: #f5a623; }
.rb-info__review small { color: var(--fx-muted); }
.rb-info__review p { margin: 6px 0 0; font-size: 14px; color: var(--fx-ink); }
@media (max-width: 767.98px) {
    .rb-info .modal-dialog { margin: 10px; }
    .rb-info__grid { grid-template-columns: 1fr; }
    #map3.rb-info__map { height: 190px !important; }
}
