/* Lotus Delivery — Arabic RTL layout-safe theme v4 */

:root {
  --color-yellow: #0f6e66;
  --color-orange: #0f6e66;
  --color-red: #0b534c;
  --color-hover-50: #148077;
  --gradients-orange: linear-gradient(135deg, #148077, #0b534c);
  --gradients-Red: linear-gradient(135deg, #148077, #0b534c);
  --mf-ink: #172421;
  --mf-sand: #f6f3ee;
  --mf-sand-2: #e7e1d6;
  --mf-chili: #0f6e66;
  --mf-chili-deep: #0b534c;
  --mf-mint: #0f766e;
  --mf-saffron: #c4a574;
  --mf-line: rgba(23, 36, 33, 0.1);
  --mf-shadow: 0 18px 40px rgba(16, 36, 33, 0.12);
  --mf-radius: 22px;
  --mf-font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --mf-header-top: #12312e;
}

html[dir="rtl"],
html[lang="ar"],
body {
  font-family: var(--mf-font) !important;
}

body {
  color: var(--mf-ink) !important;
  background: #faf6f1 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--mf-chili-deep); }
a:hover { color: var(--mf-chili); }

/* ========== HEADER (fixed — do NOT sticky menu_bg) ========== */
.header {
  background-color: var(--mf-header-top) !important;
  z-index: 1050 !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.header_location,
.language_btn_main .language_btn {
  background-color: transparent !important;
  font-family: var(--mf-font) !important;
}

.header_h6,
.header_h6 span a,
.header_location,
.language_btn_main .language_btn {
  color: #fff !important;
  text-align: right !important;
}

.menu_bg {
  background-color: #fff !important;
  margin-top: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--mf-line);
  box-shadow: 0 6px 18px rgba(18, 14, 12, 0.06);
  position: relative !important; /* override sticky from older theme */
  z-index: 1 !important;
  top: auto !important;
}

.menu_bg .menu > li > a,
.menu_bg ul.menu > li > a,
.memu_bg_left .menu li a {
  font-weight: 700 !important;
  color: var(--mf-ink) !important;
  font-family: var(--mf-font) !important;
}

.menu_bg .menu > li > a:hover,
.memu_bg_left .menu li a:hover,
.memu_bg_left .menu li a.active {
  color: var(--mf-chili) !important;
}

.menu_bg .logo img {
  max-height: 48px !important;
  width: auto !important;
}

.menu_bg_right_icon .menu_bg_right_icon_main .menu_bg_right_icon_cart {
  z-index: 1060 !important;
}

.language_btn_main .dropdown-menu {
  border-color: var(--mf-chili) !important;
  font-family: var(--mf-font) !important;
}

/* Mobile header */
.mobile-header {
  background: #fff !important;
  border-bottom: 1px solid var(--mf-line);
  z-index: 1050 !important;
  position: sticky !important;
  top: 0;
}

.mobile-header .logo img {
  max-height: 40px;
  width: auto;
}

#nav-opn-btn {
  background: var(--mf-chili) !important;
  color: #fff !important;
}

/* Offcanvas RTL */
html[dir="rtl"] #offcanvas-nav {
  left: auto !important;
  right: -300px !important;
}

html[dir="rtl"] #offcanvas-nav.open {
  right: 0 !important;
  left: auto !important;
}

html[dir="rtl"] #offcanvas-nav::before {
  left: auto;
  right: 0;
}

#offcanvas-nav .m-nav,
#offcanvas-nav .nav-links a {
  font-family: var(--mf-font) !important;
  font-weight: 700;
}

/* ========== BANNER / SLIDER — keep absolute layout intact ========== */
.banner {
  /* restore natural image banner; only light tint via overlay on thumbs */
  background: transparent !important;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.banner::after {
  display: none !important; /* was causing section overlap */
}

.banner_slick_main {
  position: relative;
  z-index: 1;
}

.banner_slick {
  position: relative;
  z-index: 1;
}

.banner_slick_thumb {
  position: relative;
}

.banner_slick_thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 14, 12, 0.35), rgba(18, 14, 12, 0.1));
  pointer-events: none;
  z-index: 1;
}

.banner_slick_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_slick_main_item {
  z-index: 5 !important;
  width: min(92vw, 760px);
  max-width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

.banner_slick_main_txt h1,
.banner h1 {
  font-weight: 900 !important;
  color: #fff8f0 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  line-height: 1.3 !important;
  font-family: var(--mf-font) !important;
}

.banner_slick_main_item_box {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 16px !important;
  box-shadow: var(--mf-shadow) !important;
  max-width: 100%;
  box-sizing: border-box;
}

.banner_slick .slick-dots {
  z-index: 6 !important;
}

.popular_link li,
.popular_link a {
  color: #fff !important;
  font-family: var(--mf-font) !important;
}

/* ========== BUTTONS ========== */
.thm-btn,
.thm-btn_three,
.thm-btn_four,
.btn-primary,
button.thm-btn {
  font-family: var(--mf-font) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--mf-chili) 0%, var(--mf-chili-deep) 100%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.28) !important;
}

.thm-btn_two {
  font-family: var(--mf-font) !important;
  font-weight: 800 !important;
  background: transparent !important;
  color: var(--mf-chili-deep) !important;
  border: 2px solid var(--mf-chili) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.thm-btn:hover,
.thm-btn_three:hover,
.thm-btn_four:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.thm-btn_two:hover {
  background: var(--mf-chili) !important;
  color: #fff !important;
}

/* ========== SECTIONS / CARDS ========== */
.titel,
h2.titel {
  font-weight: 900 !important;
  color: var(--mf-ink) !important;
  font-family: var(--mf-font) !important;
}

.food_card_item,
.categories_item,
.cuisine_item,
.blog_item,
.work_prosses_item {
  border-radius: var(--mf-radius) !important;
  overflow: hidden;
  border: 1px solid var(--mf-line) !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(18, 14, 12, 0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.food_card_item:hover,
.categories_item:hover,
.cuisine_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(18, 14, 12, 0.14) !important;
}

.food_card_item_inner h3,
.food_card_item_inner h4,
.food_card_item_inner h5,
.food_card_restaurant_name,
.food_card_company_name,
.categories_item .text,
.cuisine_item_txt h4,
.cuisine_item_txt h5 {
  color: var(--mf-ink) !important;
  font-weight: 800 !important;
  font-family: var(--mf-font) !important;
}

.food_card_item .price,
.food_card_list .price {
  color: var(--mf-chili-deep) !important;
  font-weight: 900 !important;
}

.open_btn {
  background: var(--mf-mint) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* ========== FOOTER — fix overlap / RTL ========== */
.footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-color: #140f0c !important;
  background-image: linear-gradient(165deg, #1a120e, #0d0a08) !important;
  background-size: cover !important;
  border-top: 4px solid var(--mf-chili);
  clear: both;
  margin-top: 0;
}

.footer .footer_top_circle_ani {
  z-index: 0 !important;
  pointer-events: none;
}

.footer .container,
.footer .row {
  position: relative;
  z-index: 2;
}

html[dir="rtl"] .footer .footer_ml {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .footer .photo_gallery_ml {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.footer_txt p,
.footer_link li a,
.footer_social_icon li a span svg {
  color: var(--mf-sand-2) !important;
  fill: currentColor;
}

.footer_txt_item h5,
.footer_payment_txt h5 {
  color: #fff !important;
  font-family: var(--mf-font) !important;
  font-weight: 800 !important;
}

.footer_link {
  list-style: none;
  padding: 0;
  margin-top: 17px;
}

.footer_link .footer_link {
  margin-top: 0; /* nested ul fix */
}

.footer_link li a {
  text-align: right !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mf-font) !important;
}

html[dir="rtl"] .footer_link li a span svg {
  transform: scaleX(-1);
}

.footer_newsletter_form_inner .form-control {
  font-family: var(--mf-font) !important;
}

.copyright {
  position: relative;
  z-index: 2;
  background: #0a0807 !important;
  color: var(--mf-sand-2) !important;
}

.copyright_left_txt a,
.copyright_rigth_txt li a {
  color: var(--mf-sand-2) !important;
  font-family: var(--mf-font) !important;
}

.mobile_app {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Forms */
input,
select,
textarea,
.form-control {
  font-family: var(--mf-font) !important;
  border-radius: 14px !important;
  color: var(--mf-ink) !important;
}

label,
.form-label {
  font-family: var(--mf-font) !important;
  font-weight: 700;
  color: #3a322b !important;
}

/* ========== AUTH PAGES ========== */
.sign_up {
  font-family: var(--mf-font) !important;
  min-height: 100vh;
}

.sign_up_left_side {
  background: linear-gradient(160deg, #1a120e, #7a1d1d) !important;
}

.sign_up_left_slider_txt h3 {
  color: #fff !important;
  font-family: var(--mf-font) !important;
  font-weight: 800 !important;
}

.sign_up_left_slider_txt p {
  color: rgba(255, 246, 235, 0.9) !important;
  font-family: var(--mf-font) !important;
}

.sign_up_right_side .sign-up-main .sign-up-text h2 {
  font-family: var(--mf-font) !important;
  font-weight: 900 !important;
  color: var(--mf-ink) !important;
}

.sign_up_right_side .sign-up-main .thm-btn {
  border-radius: 999px !important;
}

.sign_up_btm_txt,
.sign_up_btm_txt_p,
.sign-up-from-inner label,
.sign_up_df,
.forgot_password_btn {
  font-family: var(--mf-font) !important;
}

html[dir="rtl"] .sign_up_right_side .sign-up-main {
  margin-right: 0 !important;
  margin-left: 50px;
  text-align: right;
}

/* ========== MOBILE ========== */
@media (max-width: 991.98px) {
  .header {
    display: none !important;
  }

  .mobile-header {
    display: block !important;
  }

  .banner {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .banner_slick_main_item {
    width: 100% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 16px;
  }

  .banner_slick_main_item_box {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    padding: 10px !important;
  }

  .banner_slick_main_item_box_main,
  .banner_slick_main_item_box_main #search-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner_slick_thumb {
    min-height: 220px;
    height: 240px !important;
  }

  .banner_slick .slick-dots {
    bottom: 16px !important;
  }

  .food_card_item,
  .categories_item,
  .cuisine_item {
    margin-bottom: 8px;
  }

  .footer {
    padding: 48px 0 0 !important;
  }

  .footer .row > [class*="col-"] {
    margin-bottom: 28px;
  }

  .footer_photo_gallery_inner {
    flex-wrap: wrap;
  }

  .copyright .back_to_top {
    left: 12px !important;
    right: auto !important;
  }

  html[dir="rtl"] .copyright .back_to_top {
    right: 12px !important;
    left: auto !important;
  }

  html[dir="rtl"] .sign_up_right_side .sign-up-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 40px 20px !important;
  }

  .sign_up {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .sign_up_left_side,
  .sign_up_right_side {
    width: 100% !important;
  }

  .sign_up_left_side {
    min-height: 220px;
    padding: 24px !important;
  }

  .thm-btn,
  .thm-btn_two,
  .thm-btn_three,
  .thm-btn_four {
    min-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .banner_slick_thumb {
    height: 200px !important;
  }

  .titel {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  .categories {
    padding: 36px 0 40px !important;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* RTL helpers */
html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .text-end { text-align: left !important; }
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }

.cookie-consent,
.modal-content {
  font-family: var(--mf-font) !important;
  color: var(--mf-ink);
}

/* ========== v4 — slider, cards, calm header/footer ========== */
.banner {
  background: #102421 !important;
  padding-top: 118px !important;
}

.banner_slick,
.banner_slick .slick-list,
.banner_slick .slick-track {
  background: #102421 !important;
}

.banner_slick .slick-list {
  overflow: hidden !important;
}

.banner_slick .slick-slide,
.banner_slick .slick-slide.slick-active,
.banner_slick .slick-slide.slick-current {
  opacity: 1 !important;
  visibility: visible !important;
}

.banner_slick_thumb,
.banner_slick .slick-slide > div,
.banner_slick .slick-slide .banner_slick_thumb {
  height: clamp(440px, 68vh, 640px) !important;
  min-height: 440px;
  background: #102421;
}

.banner_slick_thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.banner_slick_thumb::after {
  background: linear-gradient(180deg, rgba(16, 36, 33, 0.28) 0%, rgba(16, 36, 33, 0.45) 100%) !important;
}

.banner_slick .slick-dots {
  bottom: 28px !important;
}

.banner_slick .slick-dots button {
  background: rgba(255, 255, 255, 0.55) !important;
  width: 9px !important;
  height: 9px !important;
}

.banner_slick .slick-dots li.slick-active button {
  background: #f4efe6 !important;
  width: 22px !important;
  border-radius: 999px !important;
}

.header {
  background: var(--mf-header-top) !important;
  box-shadow: none !important;
}

.header .container {
  padding-top: 6px;
  padding-bottom: 6px;
}

.menu_bg {
  background: rgba(255, 252, 248, 0.96) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 49, 46, 0.08) !important;
  box-shadow: 0 10px 28px rgba(16, 36, 33, 0.05) !important;
}

.menu_bg .menu > li > a,
.memu_bg_left .menu li a {
  letter-spacing: 0;
  font-size: 15px;
}

.thm-btn,
.thm-btn_three,
.thm-btn_four,
button.thm-btn {
  background: linear-gradient(135deg, #148077 0%, #0b534c 100%) !important;
  box-shadow: 0 10px 22px rgba(11, 83, 76, 0.22) !important;
}

.thm-btn_two {
  color: #0b534c !important;
  border-color: #0f6e66 !important;
}

.thm-btn_two:hover {
  background: #0f6e66 !important;
  color: #fff !important;
}

.food_card_item,
.categories_item,
.cuisine_item,
.work_prosses_item,
.blog_item {
  border-radius: 22px !important;
  border: 1px solid rgba(23, 36, 33, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(16, 36, 33, 0.06) !important;
}

.food_card_item_thumb,
.food_card_item_thumb_main {
  overflow: hidden;
  background: #efeae3;
}

.food_card_item_thumb {
  aspect-ratio: 16 / 10;
  height: auto !important;
}

.food_card_item_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.food_card_item:hover .food_card_item_thumb img {
  transform: scale(1.045);
}

.food_card_item_inner,
.food_card_restaurant_name {
  padding-inline: 4px;
}

.categories,
.work_prosses,
.cuisine,
.restaurant,
.popular {
  background: transparent;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(196, 165, 116, 0.16), transparent 42%),
    #f4f1eb !important;
}

.titel,
h2.titel {
  position: relative;
  padding-bottom: 8px;
}

.titel::after,
h2.titel::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4a574, #0f6e66);
}

.footer {
  background: #102421 !important;
  background-image: none !important;
  border-top: 3px solid #c4a574 !important;
  padding-top: 64px !important;
}

.footer_txt p,
.footer_link li a {
  color: #d7d1c6 !important;
}

.footer_newsletter_form_inner .form-control {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.copyright {
  background: #0c1c1a !important;
}

.open_btn {
  background: #0f6e66 !important;
}

.closed_btn,
.open_btn.closed_btn {
  background: #5c6b68 !important;
}

/* header labels stay on one line */
.menu_bg .menu,
.memu_bg_left .menu,
.memu_bg_left {
  flex-wrap: nowrap !important;
}

.menu_bg .menu > li > a,
.menu_bg ul.menu > li > a,
.memu_bg_left .menu li a,
.header_location,
.language_btn_main .language_btn {
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.menu_bg .menu > li > a,
.memu_bg_left .menu li a {
  font-size: 15px !important;
}

.header_location {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* vertical cards only — popular cards stay horizontal */
.restaurant .food_card_item_thumb,
.categories .food_card_item .food_card_item_thumb {
  aspect-ratio: 16 / 10;
  height: auto !important;
}

.popular .food_card_item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 176px;
  border-radius: 20px !important;
  overflow: hidden;
}

.popular .food_card_item_thumb_main {
  flex: 0 0 176px;
  width: 176px;
}

.popular .food_card_item .food_card_item_thumb,
.popular .food_card_item_thumb {
  width: 176px !important;
  height: 100% !important;
  min-height: 176px !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}

.popular .food_card_item_thumb img {
  width: 100% !important;
  height: 100% !important;
  min-height: 176px;
  object-fit: cover !important;
  transform: none !important;
}

.popular .food_card_item:hover .food_card_item_thumb img {
  transform: none !important;
}

.popular .food_card_item_inner {
  flex: 1;
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.popular .food_card_item .thm-btn_three,
.popular .thm-btn_three {
  background: #0f6e66 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-weight: 800 !important;
}

.popular .food_card_item .thm-btn_three span svg,
.popular .thm-btn_three span svg,
.popular .thm-btn_three svg {
  stroke: #fff !important;
}

.categories .slick-list {
  overflow: hidden;
}

.categories_item {
  background: #fff !important;
  border: 1px solid rgba(15, 110, 102, 0.12) !important;
  min-height: 84px;
}

.categories_item:hover {
  border-color: #0f6e66 !important;
}

.work_prosses {
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

.work_prosses_item {
  background: #fff !important;
  min-height: 100%;
  padding: 18px !important;
}

.mobile_app {
  padding: 10px 0 72px !important;
}

.mobile_app_bg {
  background-image: none !important;
  background: linear-gradient(135deg, #102421 0%, #0f6e66 100%) !important;
  border-radius: 28px !important;
  padding: 48px 40px 0 !important;
  color: #fff;
}

.mobile_app_txt,
.mobile_app_txt h2,
.mobile_app_txt p {
  color: #f6f3ee !important;
  padding-right: 0 !important;
}

.mobile_app_txt h2 {
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.mobile_app_txt p {
  color: rgba(246, 243, 238, 0.88) !important;
}

.mobile_app_btn .thm-btn_two,
.mobile_app_btn .thm-btn_two.two {
  background: #fff !important;
  color: #0b534c !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mobile_app_btn .thm-btn_two span svg,
.mobile_app_btn .thm-btn_two svg {
  color: #0b534c !important;
  fill: #0b534c !important;
}

.mobile_app_thumb_main img,
.mobile_app_thum img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
}

.blog_details {
  padding: 36px 0 80px;
}

.blog_details_top_txt h2 {
  font-weight: 800 !important;
  color: #172421 !important;
  line-height: 1.45 !important;
}

.blog_details_thumb img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.blog_details_p,
.blog_details_p p {
  font-size: 17px;
  line-height: 1.95;
  color: #243330 !important;
}

.tag_item a,
.share_item a {
  background: #eef6f5 !important;
  color: #0b534c !important;
  border-radius: 999px;
}

.profile_informetion_bg {
  border-radius: 24px;
  overflow: hidden;
  max-height: 320px;
}

.profile_informetion_bg img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.company_logo img {
  border: 4px solid #fff;
  border-radius: 50%;
  background: #fff;
}

.profile_informetion_sarch_link a.active,
.informetion_sarch_link a.active {
  background: #0f6e66 !important;
  color: #fff !important;
  border-color: #0f6e66 !important;
}

.copyright .back_to_top {
  background: #0f6e66 !important;
}

.copyright .back_to_top span svg {
  fill: #fff !important;
  color: #fff !important;
}

.badge,
.food_card_item .badge {
  background: #0f6e66 !important;
}

@media (max-width: 767px) {
  .popular .food_card_item {
    flex-direction: column !important;
  }

  .popular .food_card_item_thumb_main,
  .popular .food_card_item .food_card_item_thumb,
  .popular .food_card_item_thumb {
    width: 100% !important;
    flex-basis: auto;
    height: 180px !important;
    min-height: 180px !important;
  }

  .mobile_app_bg {
    padding: 28px 18px 8px !important;
  }
}

@media (max-width: 991.98px) {
  .banner {
    padding-top: 0 !important;
  }

  .banner_slick_thumb,
  .banner_slick .slick-slide > div,
  .banner_slick .slick-slide .banner_slick_thumb {
    height: 280px !important;
    min-height: 280px !important;
  }
}

@media (max-width: 575.98px) {
  .banner_slick_thumb,
  .banner_slick .slick-slide > div,
  .banner_slick .slick-slide .banner_slick_thumb {
    height: 240px !important;
    min-height: 240px !important;
  }
}

/* ========== v5 — Dowsa-like layout, Lotus identity ========== */
html {
  overflow-x: hidden;
}

.header {
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(16, 36, 33, 0.06) !important;
  border-bottom: 1px solid rgba(15, 110, 102, 0.08);
  padding-top: 0 !important;
}

.header_h6,
.header_h6 span a,
.header_location,
.language_btn_main .language_btn {
  color: #172421 !important;
}

.header_location {
  background: transparent !important;
}

.header_location span svg,
.language_btn_main .language_btn span svg,
.language_btn_main .language_btn .lun_icon svg {
  stroke: #0f6e66 !important;
  color: #0f6e66 !important;
}

.language_btn_main .language_btn {
  border: 1px solid rgba(15, 110, 102, 0.22) !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  background: #f6f3ee !important;
  font-weight: 800 !important;
}

.menu_bg {
  background: #fff !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 10px !important;
}

.mf-head-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f6e66;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-family: var(--mf-font);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
}

.mf-head-pill--ghost {
  background: transparent;
  color: #0b534c !important;
  border: 1.5px solid #0f6e66;
}

.mf-head-pill:hover {
  background: #0b534c;
  color: #fff !important;
}

.menu_bg_right_main {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.mf-hero {
  position: relative;
  overflow: hidden;
  color: #f7f4ee;
  background: linear-gradient(165deg, #176e66 0%, #0d4a45 48%, #102421 100%);
  padding: 168px 0 108px;
}

.mf-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(196, 165, 116, 0.18), transparent 28%),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 46px);
}

.mf-hero__wash::after {
  content: "م";
  position: absolute;
  font-family: var(--mf-font);
  font-weight: 900;
  font-size: 34rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.045);
  left: -2rem;
  top: -4rem;
}

html[dir="ltr"] .mf-hero__wash::after {
  content: "M";
  left: auto;
  right: -1rem;
}

.mf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.mf-hero__eyebrow {
  margin: 0 0 14px;
  color: #e4c98a;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.mf-hero h1 {
  margin: 0 0 16px;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: clamp(34px, 3.5vw, 58px) !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  max-width: 12em;
}

.mf-hero__lead {
  max-width: 38rem;
  margin: 0 0 26px;
  color: rgba(247, 244, 238, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.mf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  font-family: var(--mf-font);
}

.mf-pill--solid {
  background: #f4efe6;
  color: #0b534c !important;
}

.mf-pill--solid:hover {
  background: #fff;
  color: #0b534c !important;
}

.mf-pill--ghost {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.mf-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.mf-pill--link {
  background: transparent;
  color: #fff !important;
  min-height: auto;
  padding-inline: 8px;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.mf-hero__search {
  max-width: 640px;
}

.mf-hero .banner_slick_main_item_box {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px !important;
  background: #fff !important;
  border-radius: 999px !important;
}

.mf-hero .form-control_main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mf-hero .form-control {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 48px;
}

.mf-hero .thm-btn {
  border-radius: 999px !important;
  min-height: 48px;
  padding-inline: 22px !important;
  white-space: nowrap;
}

.mf-hero__tags,
.mf-hero__tags a,
.mf-hero__tags li {
  color: rgba(255, 255, 255, 0.92) !important;
}

.mf-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
}

.mf-hero__tags a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mf-hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mf-store {
  background: #fff;
  color: #102421 !important;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 800;
  min-width: 148px;
  text-align: center;
  text-decoration: none !important;
}

.mf-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}

.mf-hero__stats strong {
  display: block;
  color: #e4c98a;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.mf-hero__stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.mf-hero__visual {
  position: relative;
  min-height: 420px;
}

.mf-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin-inline-start: auto;
  background: #0b1c1a;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  aspect-ratio: 4 / 3;
}

.mf-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% center;
  display: block;
}

.mf-phone--back {
  position: absolute;
  z-index: 1;
  width: 210px;
  aspect-ratio: 1;
  inset-inline-start: 0;
  bottom: 12px;
  opacity: 1;
  transform: rotate(-7deg);
}

.mf-phone--back img {
  object-position: 30% center;
}

.mf-dock {
  display: none;
}

body.mf-home .work_prosses {
  margin-top: -64px;
  position: relative;
  z-index: 3;
}

body.mf-home .work_prosses_item {
  border-radius: 28px !important;
  padding: 22px 20px !important;
  min-height: 100%;
}

body.mf-home .restaurant,
body.mf-home .categories,
body.mf-home .blog {
  padding-top: 28px;
}

body.mf-home h2.titel {
  font-size: clamp(28px, 3vw, 40px) !important;
}

@media (max-width: 991.98px) {
  .header {
    display: none !important;
  }

  .mf-hero {
    padding: 28px 0 72px;
  }

  .mf-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mf-hero h1 {
    max-width: none;
    font-size: 40px !important;
  }

  .mf-hero__visual {
    min-height: 0;
    order: -1;
  }

  .mf-phone {
    width: min(100%, 100%);
    margin-inline: auto;
    aspect-ratio: 16 / 10;
    border-width: 0;
    border-radius: 24px;
  }

  .mf-phone--back {
    display: none;
  }

  .mf-hero__actions .mf-pill--link {
    width: 100%;
    justify-content: flex-start;
  }

  .mf-dock {
    display: flex;
    position: fixed;
    z-index: 1040;
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #102421;
    color: #fff;
    border-radius: 18px;
    padding: 10px 10px 10px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }

  .mf-dock p {
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.45;
  }

  .mf-dock .mf-pill {
    min-height: 44px;
    padding-inline: 16px;
    flex: 0 0 auto;
  }

  body.mf-home {
    padding-bottom: 86px;
  }

  .mobile-header {
    background: #fff !important;
  }

  .mobile-header .p-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-header .mf-head-pill {
    padding: 9px 14px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .mf-hero h1 {
    font-size: 34px !important;
  }

  .mf-hero .banner_slick_main_item_box {
    flex-direction: column;
    border-radius: 22px !important;
    align-items: stretch;
  }

  .mf-hero .thm-btn {
    width: 100%;
  }

  .mf-hero__stats strong {
    font-size: 26px;
  }
}



/* ========== v6 — Dowsa-like landing, stores, simplified chrome ========== */
:root {
  --mf-fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --mf-fs-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --mf-fs-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --mf-fs-md: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --mf-fs-lg: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  --mf-fs-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --mf-fs-hero: clamp(2rem, 1.5rem + 2.4vw, 3.6rem);
}

html[dir="rtl"] body,
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

body.mf-home,
body.mf-stores {
  font-size: var(--mf-fs-base);
}

/* Simplified topbar — Lotus brand + Talabat-like structure */
.mf-topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 110, 102, 0.1);
}

.mf-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-block: 10px;
}

.mf-topbar__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.mf-topbar__logo img {
  max-height: 48px;
  width: auto;
  filter: none !important;
}

.mf-topbar__brand { display: none !important; }

.mf-topbar__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-inline-start: 10px;
  color: #0b534c;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mf-topbar__wordmark span {
  font-weight: 500;
  opacity: .75;
  padding-inline-start: 10px;
  border-inline-start: 1px solid rgba(15,110,102,.35);
  font-size: .95rem;
}
body.mf-home .mf-topbar__wordmark { color: #fff; }
body.mf-home .mf-topbar__wordmark span { border-color: rgba(255,255,255,.45); }
@media (max-width: 575.98px) {
  .mf-topbar__wordmark { display: none; }
}


/* Desktop main navigation */
.mf-mainnav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.mf-mainnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 2px;
}

.mf-mainnav__list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #172421 !important;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.mf-mainnav__list a:hover,
.mf-mainnav__list a.is-active {
  background: rgba(15, 110, 102, 0.1);
  color: #0f6e66 !important;
}

.mf-topbar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger / offcanvas only on small screens */
.mf-nav-toggle { display: none !important; }

@media (max-width: 991.98px) {
  .mf-mainnav { display: none !important; }
  .mf-nav-toggle { display: inline-flex !important; }
  .mf-head-pill--desktop { display: none !important; }
}

.mf-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 110, 102, 0.18);
  background: #fff;
  color: #0b534c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 800;
  font-family: var(--mf-font);
}

.mf-cart-btn .mf-badge,
.mf-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #0f6e66;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mf-head-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f6e66;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: var(--mf-fs-sm);
  text-decoration: none !important;
  white-space: nowrap;
}

.mf-head-pill:hover { background: #0b534c; color: #fff !important; }

/* Hide legacy header chrome if any leftovers */
.header,
.mobile-header { display: none !important; }

body { padding-top: 0 !important; }

/* Offcanvas RTL */
html[dir="rtl"] #offcanvas-nav { left: auto !important; right: -320px !important; }
html[dir="rtl"] #offcanvas-nav.open { right: 0 !important; left: auto !important; }
html[dir="ltr"] #offcanvas-nav { right: auto !important; left: -320px !important; }
html[dir="ltr"] #offcanvas-nav.open { left: 0 !important; right: auto !important; }

#offcanvas-nav .nav-links a {
  font-size: var(--mf-fs-md);
  font-weight: 700;
  color: #172421;
}

/* Hero landing */
.mf-hero {
  position: relative;
  overflow: hidden;
  color: #f7f4ee;
  background: linear-gradient(165deg, #176e66 0%, #0d4a45 48%, #102421 100%);
  padding: 56px 0 72px;
}

.mf-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(196, 165, 116, 0.18), transparent 28%),
    repeating-linear-gradient(-18deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 46px);
}

.mf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.mf-hero__eyebrow,
.mf-kicker {
  margin: 0 0 10px;
  color: #e4c98a;
  font-weight: 800;
  font-size: var(--mf-fs-xs);
  letter-spacing: 0.04em;
}

.mf-hero h1 {
  margin: 0 0 14px;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: var(--mf-fs-hero) !important;
  line-height: 1.2 !important;
  max-width: 14em;
}

.mf-hero__lead {
  max-width: 36rem;
  margin: 0 0 22px;
  color: rgba(247,244,238,0.9);
  font-size: var(--mf-fs-md);
  line-height: 1.75;
}

.mf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--mf-fs-sm);
  text-decoration: none !important;
  font-family: var(--mf-font);
}

.mf-pill--solid { background: #f4efe6; color: #0b534c !important; }
.mf-pill--ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,0.55); }
.mf-pill--link { background: transparent; color: #fff !important; min-height: auto; text-decoration: underline !important; text-underline-offset: 4px; padding-inline: 6px; }

.mf-hero__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mf-store {
  background: #fff;
  color: #102421 !important;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: var(--mf-fs-sm);
  text-decoration: none !important;
}

.mf-hero__stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.mf-hero__stats strong { display: block; color: #e4c98a; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); font-weight: 900; }
.mf-hero__stats span { color: rgba(255,255,255,0.82); font-size: var(--mf-fs-sm); font-weight: 700; }

.mf-hero__visual { position: relative; min-height: 320px; }
.mf-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin-inline-start: auto;
  background: #0b1c1a;
  border: 8px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.28);
  aspect-ratio: 4 / 3;
}
.mf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 92% center; display: block; }
.mf-phone--back {
  position: absolute;
  z-index: 1;
  width: 200px;
  aspect-ratio: 1;
  inset-inline-start: 0;
  bottom: 10px;
  transform: rotate(-7deg);
}

.mf-dock {
  display: none;
}

/* Screens gallery */
.mf-screens {
  padding: clamp(40px, 6vw, 72px) 0;
  background: #f7f4ee;
}

.mf-section-head { margin-bottom: 28px; max-width: 46rem; }
.mf-section-head h2,
.mf-section-head h1 {
  font-size: var(--mf-fs-xl) !important;
  font-weight: 900 !important;
  color: #172421 !important;
  line-height: 1.25 !important;
  margin: 0 0 10px;
}
.mf-section-head p { color: #51615d; font-size: var(--mf-fs-md); line-height: 1.7; margin: 0; }
.mf-section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}

.mf-screens__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 240px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.mf-screen-card {
  margin: 0;
  background: #102421;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 16px 40px rgba(16,36,33,0.12);
  aspect-ratio: 9 / 16;
}

.mf-screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* How it works below screens */
.mf-how.work_prosses {
  margin-top: 0 !important;
  padding: clamp(36px, 5vw, 64px) 0;
  background: #fff;
}

.mf-how .work_prosses_item {
  border-radius: 24px !important;
  padding: 20px !important;
}

.mf-how .work_prosses_txt h4 {
  font-size: var(--mf-fs-md) !important;
  font-weight: 800 !important;
}

.mf-how .work_prosses_txt p {
  font-size: var(--mf-fs-sm);
  color: #51615d;
}

/* Roles */
.mf-roles { padding: clamp(36px, 5vw, 64px) 0; background: #f7f4ee; }
.mf-roles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mf-role-card {
  background: #fff;
  border: 1px solid rgba(15,110,102,0.12);
  border-radius: 24px;
  padding: 22px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 10px 28px rgba(16,36,33,0.06);
  transition: transform .2s ease;
}
.mf-role-card:hover { transform: translateY(-4px); }
.mf-role-card span { color: #0f6e66; font-weight: 800; font-size: var(--mf-fs-xs); }
.mf-role-card h3 { margin: 8px 0; font-size: var(--mf-fs-lg); font-weight: 900; color: #172421; }
.mf-role-card p { margin: 0; color: #51615d; font-size: var(--mf-fs-sm); line-height: 1.65; }

/* Store cards */
.mf-preview-stores,
.mf-stores-list { padding: clamp(36px, 5vw, 64px) 0; }
.mf-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mf-store-card {
  display: block;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid rgba(23,36,33,0.08);
  box-shadow: 0 12px 30px rgba(16,36,33,0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mf-store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16,36,33,0.12);
}
.mf-store-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(-45deg, #ece7df, #ece7df 8px, #f5f1ea 8px, #f5f1ea 16px);
}
.mf-store-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mf-chip {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #0f6e66;
}
.mf-chip--featured { background: #c4a574; color: #172421; inset-inline-start: auto; inset-inline-end: 12px; }
.mf-chip--open { background: #0f6e66; }
.mf-chip--closed { background: #5c6b68; }
.mf-store-card__body { padding: 14px 16px 16px; }
.mf-store-card__rating { color: #0f6e66; font-weight: 800; font-size: var(--mf-fs-sm); margin-bottom: 4px; }
.mf-store-card__body h3 {
  margin: 0 0 4px;
  font-size: var(--mf-fs-md);
  font-weight: 900;
  color: #12312e;
  line-height: 1.35;
}
.mf-store-card__body > p {
  margin: 0 0 10px;
  color: #6a7874;
  font-size: var(--mf-fs-sm);
}
.mf-store-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #51615d;
  font-size: var(--mf-fs-xs);
  font-weight: 700;
}

/* Stores page hero */
.mf-stores-hero {
  background: linear-gradient(165deg, #176e66 0%, #102421 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.mf-stores-hero h1 {
  color: #fff !important;
  font-size: var(--mf-fs-hero) !important;
  font-weight: 900 !important;
  margin: 0 0 10px;
}
.mf-stores-hero__lead { color: rgba(255,255,255,0.88); max-width: 36rem; font-size: var(--mf-fs-md); }
.mf-stores-search {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  max-width: 640px;
}
.mf-stores-search input {
  flex: 1;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-width: 0;
  height: 44px;
  font-size: var(--mf-fs-sm);
}
.mf-stores-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.mf-stores-toolbar p { margin: 0; font-weight: 800; color: #172421; }

/* Footer simplified */
.mf-footer {
  background: #102421;
  color: #d7d1c6;
  padding-top: 56px;
  border-top: 3px solid #c4a574;
}
.mf-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
}
.mf-footer__logo img { max-height: 48px; width: auto; margin-bottom: 12px; }
.mf-footer__brand p { font-size: var(--mf-fs-sm); line-height: 1.75; color: #d7d1c6; }
.mf-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.mf-footer__social a {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff !important;
}
.mf-footer__col h5 {
  color: #fff;
  font-weight: 800;
  font-size: var(--mf-fs-md);
  margin-bottom: 14px;
}
.mf-footer__col ul { list-style: none; padding: 0; margin: 0; }
.mf-footer__col li { margin-bottom: 10px; }
.mf-footer__col a {
  color: #d7d1c6 !important;
  text-decoration: none !important;
  font-size: var(--mf-fs-sm);
}
.mf-footer__col a:hover { color: #fff !important; }
.mf-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0c1c1a;
  padding: 16px 0;
  font-size: var(--mf-fs-xs);
}
.mf-footer__copy .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mf-footer__copy .back_to_top {
  width: 40px; height: 40px; border-radius: 999px;
  background: #0f6e66; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile app section keep teal identity */
body.mf-home .mobile_app { padding-top: 24px !important; }

@media (max-width: 991.98px) {
  .mf-hero__grid { grid-template-columns: 1fr; }
  .mf-hero__visual { order: -1; min-height: 0; }
  .mf-phone { width: 100%; border-width: 0; border-radius: 22px; aspect-ratio: 16/10; }
  .mf-phone--back { display: none; }
  .mf-roles__grid,
  .mf-store-grid,
  .mf-footer__grid { grid-template-columns: 1fr 1fr; }
  .mf-dock {
    display: flex;
    position: fixed;
    z-index: 1040;
    left: 12px; right: 12px; bottom: 12px;
    align-items: center; justify-content: space-between; gap: 12px;
    background: #102421; color: #fff; border-radius: 18px;
    padding: 10px 10px 10px 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  }
  .mf-dock p { margin: 0; font-weight: 800; font-size: 13px; line-height: 1.4; }
  .mf-dock .mf-pill { min-height: 42px; padding-inline: 14px; flex: 0 0 auto; }
  body.mf-home, body.mf-stores-page { padding-bottom: 86px; }
  .mf-topbar__inner { min-height: 64px; }
  .mf-topbar__logo img { max-height: 38px; }
  .mf-section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .mf-roles__grid,
  .mf-store-grid,
  .mf-footer__grid { grid-template-columns: 1fr; }
  .mf-head-pill { padding: 9px 12px; font-size: 13px; }
  .mf-stores-search { flex-direction: column; border-radius: 18px; }
  .mf-screens__rail { grid-auto-columns: minmax(150px, 70vw); }
}

/* ========== PAGE LAYOUT REPAIR (all inner pages) ========== */
.mf-page-hero,
.profile_bg,
.search_V1_bg .profile_bg {
  background: linear-gradient(135deg, #176e66 0%, #0b534c 100%) !important;
  background-image: none !important;
  min-height: 160px !important;
  padding: 40px 0 36px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  overflow: hidden;
}

.mf-page-hero h1,
.profile_bg h1,
.profile_bg h2,
.profile_bg h3 {
  color: #fff !important;
  font-weight: 900 !important;
  margin: 8px 0 0 !important;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem) !important;
}

.mf-breadcrumb,
.profile_bg .breadcrumb,
.breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
}

.mf-breadcrumb a,
.mf-breadcrumb span,
.profile_bg .breadcrumb a,
.profile_bg .breadcrumb li,
.breadcrumb a,
.breadcrumb li {
  color: rgba(255,255,255,.9) !important;
  font-weight: 700;
}

.mf-breadcrumb .active,
.breadcrumb .active { color: #e4c98a !important; }

.mf-content-section,
.privace_policy,
.contact_section,
.categories_section,
.restaurant_section,
.checkout,
.payment_sec,
.cart_section {
  padding: 48px 0 72px !important;
}

.mf-prose,
.privace_policy_main {
  background: #fff;
  border-radius: 22px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid rgba(23,36,33,.08);
  box-shadow: 0 12px 32px rgba(16,36,33,.06);
  line-height: 1.85;
  color: #172421;
  overflow-wrap: anywhere;
}

.mf-prose img,
.privace_policy_main img {
  max-width: 100% !important;
  height: auto !important;
}

/* Fix distorted grids/cards across pages */
.restaurant_item,
.categories_item,
.product_item,
.cuisine_item,
.offer_item,
.blog_item,
.cart-summary-box-item,
.order_summery_box,
.login_form_main,
.auth_form,
.contact_form,
.search_item {
  max-width: 100%;
  overflow: hidden;
}

.restaurant_item img,
.categories_item img,
.product_item img,
.cuisine_item img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* Prevent horizontal overflow / broken sections */
main, .container, section {
  max-width: 100%;
}

img, svg, video, iframe {
  max-width: 100%;
}

/* Hero accent (Talabat-like layout, Lotus colors) */
.mf-hero__accent {
  display: inline-block;
  background: #0a3d39;
  color: #e4c98a !important;
  padding: 2px 12px;
  transform: rotate(-2deg);
  border-radius: 8px;
}

/* Home hero — full-bleed corporate style with Lotus palette */
body.mf-home .mf-hero {
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 72px 0 80px !important;
}

/* Offcanvas only meaningful on mobile; keep closed on desktop/tablet landscape */
@media (min-width: 992px) {
  #offcanvas-nav,
  #offcanvas-nav.open,
  .mf-offcanvas {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mf-dock { display: none !important; }
}

/* Tablet refinements */
@media (max-width: 991.98px) {
  .mf-page-hero, .profile_bg { min-height: 130px !important; padding: 28px 0 !important; }
  .mf-content-section, .privace_policy { padding: 32px 0 56px !important; }
  body.mf-home .mf-hero { min-height: auto; padding: 40px 0 48px !important; }
}

@media (max-width: 575.98px) {
  .mf-topbar__inner { min-height: 62px; gap: 8px; }
  .mf-topbar__logo img { max-height: 36px; }
  .mf-icon-btn { width: 38px; height: 38px; }
  .mf-prose, .privace_policy_main { border-radius: 16px; padding: 16px; }
  .mf-mainnav__list a { font-size: 0.85rem; padding: 6px 10px; }
}

/* Large screens */
@media (min-width: 1400px) {
  .mf-mainnav__list a { padding: 8px 14px; font-size: 0.95rem; }
  body.mf-home .mf-hero h1 { font-size: clamp(2.4rem, 1.5rem + 2vw, 3.6rem) !important; }
}

/* ========== Talabat corporate layout adapted for Lotus teal ========== */
body.mf-home .mf-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  z-index: 1100;
}
body.mf-home .mf-topbar .mf-mainnav__list a,
body.mf-home .mf-topbar .mf-icon-btn,
body.mf-home .mf-topbar .mf-head-pill {
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
}
body.mf-home .mf-topbar .mf-mainnav__list a:hover,
body.mf-home .mf-topbar .mf-mainnav__list a.is-active {
  background: rgba(255,255,255,.22);
  color: #fff !important;
}
body.mf-home .mf-topbar .mf-head-pill {
  background: #e4c98a;
  color: #102421 !important;
  border: 0;
}
body.mf-home .mf-topbar .mf-badge { background: #e4c98a; color: #102421; }
body.mf-home .mf-topbar__logo img { filter: brightness(0) invert(1); }

.tb-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #0f6e66;
  color: #fff;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.tb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(228,201,138,.16), transparent 32%),
    repeating-linear-gradient(-18deg, rgba(255,255,255,.04) 0 2px, transparent 2px 48px);
  pointer-events: none;
}
.tb-hero__inner { position: relative; z-index: 1; max-width: 920px; }
.tb-hero__title {
  margin: 0 0 22px;
  font-weight: 900;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem);
  line-height: 1.18;
  color: rgba(255,255,255,.92) !important;
  letter-spacing: -0.02em;
}
.tb-hero__stamp {
  display: inline-block;
  background: #0a3d39;
  color: #e4c98a !important;
  padding: 4px 16px;
  border-radius: 8px;
  transform: rotate(-2deg);
}
.tb-hero__tag {
  margin: 0 0 28px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 1rem;
}
.tb-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.tb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; text-decoration: none !important; font-family: var(--mf-font);
}
.tb-btn--light { background: #e4c98a; color: #102421 !important; }
.tb-btn--ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.55); }
.tb-btn--solid { background: #0f6e66; color: #fff !important; }
.tb-btn--outline { background: transparent; color: #0f6e66 !important; border: 1.5px solid #0f6e66; }
.tb-btn--ghost-dark { background: transparent; color: #172421 !important; border: 1.5px solid rgba(23,36,33,.2); }

.tb-section { padding: 88px 0; background: #fff; }
.tb-section__head { max-width: 720px; margin-bottom: 40px; }
.tb-section__head h2,
.tb-value h2,
.tb-app h2,
.tb-cta h2 {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  color: #172421 !important;
  line-height: 1.25;
}
.tb-section__head p { margin: 0; color: rgba(23,36,33,.72); font-size: 1.05rem; line-height: 1.7; }
.tb-section__head--row {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none;
}
.tb-kicker { color: #0f6e66; font-weight: 800; margin: 0 0 8px; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.tb-link { color: #0f6e66 !important; font-weight: 800; text-decoration: none !important; }

.tb-pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.tb-pillar {
  background: #f4f8f7; border-radius: 22px; padding: 28px;
  border: 1px solid rgba(15,110,102,.08);
  min-height: 180px;
}
.tb-pillar h3 { margin: 0 0 10px; font-weight: 900; color: #0b534c; }
.tb-pillar p { margin: 0; color: rgba(23,36,33,.72); line-height: 1.65; }

.tb-value { background: #f6f3ee; }
.tb-value__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch;
}
.tb-value__panel {
  background: #0f6e66; color: #fff; border-radius: 28px; padding: 36px;
}
.tb-value__panel h3, .tb-value__panel p, .tb-value__kicker { color: #fff !important; }
.tb-value__kicker { opacity: .85; font-weight: 800; margin-bottom: 8px; }
.tb-value__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tb-value__panel .tb-btn--solid { background: #e4c98a; color: #102421 !important; }
.tb-value__panel .tb-btn--outline { border-color: rgba(255,255,255,.55); color: #fff !important; }

.tb-stats { background: #102421; color: #fff; }
.tb-stats .tb-section__head h2,
.tb-stats .tb-section__head p { color: #fff !important; }
.tb-stats .tb-section__head p { color: rgba(255,255,255,.75) !important; }
.tb-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tb-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 28px; text-align: center;
}
.tb-stat strong { display: block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); color: #e4c98a; font-weight: 900; }
.tb-stat span { color: rgba(255,255,255,.8); font-weight: 700; }

.tb-roles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tb-role {
  display: block; background: #fff; border: 1px solid rgba(15,110,102,.1);
  border-radius: 24px; padding: 28px; text-decoration: none !important; color: inherit;
  transition: .25s ease; min-height: 200px;
}
.tb-role span { color: #0f6e66; font-weight: 800; }
.tb-role h3 { margin: 10px 0; color: #172421; font-weight: 900; }
.tb-role p { margin: 0; color: rgba(23,36,33,.7); }
.tb-role:hover { background: #0f6e66; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,110,102,.22); }
.tb-role:hover span, .tb-role:hover h3, .tb-role:hover p { color: #fff !important; }

.tb-news__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.tb-news-card {
  scroll-snap-align: start; background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(23,36,33,.08); text-decoration: none !important; color: inherit;
  min-width: 240px;
}
.tb-news-card__media { aspect-ratio: 16/10; overflow: hidden; }
.tb-news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-news-card__body { padding: 16px; }
.tb-chip {
  display: inline-flex; background: rgba(15,110,102,.1); color: #0b534c;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800;
}
.tb-news-card h3 { margin: 10px 0 6px; font-size: 1.05rem; font-weight: 900; color: #172421; }
.tb-news-card p { margin: 0; color: rgba(23,36,33,.65); font-size: .92rem; }

.tb-app { background: #f4f8f7; }
.tb-app__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.tb-app__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tb-app__visual img {
  width: 100%; border-radius: 28px; display: block;
  box-shadow: 0 24px 48px rgba(16,36,33,.16);
}

.tb-cta {
  background: #0f6e66; color: #fff; padding: 88px 0;
}
.tb-cta h2 { color: #fff !important; text-align: center; margin-bottom: 36px; }
.tb-cta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tb-cta-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 26px; color: #fff !important; text-decoration: none !important;
  transition: .2s ease;
}
.tb-cta-card h3 { margin: 0 0 10px; font-weight: 900; color: #fff; }
.tb-cta-card p { margin: 0 0 16px; color: rgba(255,255,255,.8); line-height: 1.6; }
.tb-cta-card span { color: #e4c98a; font-weight: 800; }
.tb-cta-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

@media (max-width: 991.98px) {
  .tb-hero { min-height: auto; padding: 120px 0 64px; }
  .tb-pillars__grid,
  .tb-stats__grid,
  .tb-roles__grid,
  .tb-cta__grid,
  .tb-value__grid,
  .tb-app__grid { grid-template-columns: 1fr; }
  .tb-section { padding: 64px 0; }
  body.mf-home .mf-topbar .mf-mainnav { display: none !important; }
  body.mf-home .mf-topbar .mf-nav-toggle { display: inline-flex !important; background: rgba(255,255,255,.16); color: #fff !important; }
}
@media (max-width: 575.98px) {
  .tb-hero__title { font-size: 2.1rem; }
  .tb-news-card { min-width: 78vw; }
}

/* ========== GLOBAL SIDE GUTTERS (no edge collision) ========== */
:root {
  --mf-gutter: clamp(16px, 3.2vw, 40px);
  --mf-container: 1180px;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: 100% !important;
  max-width: var(--mf-container) !important;
  margin-inline: auto !important;
  padding-inline: var(--mf-gutter) !important;
  box-sizing: border-box !important;
}

/* Header / footer / sections must respect gutters */
.mf-topbar__inner,
.mf-footer .container,
.mf-footer__copy .container,
.tb-hero__inner,
.tb-section > .container,
.tb-cta > .container,
.mf-page-hero > .container,
.mf-stores-hero > .container,
.profile_bg > .container,
.inner_banner > .container {
  padding-inline: var(--mf-gutter) !important;
  box-sizing: border-box !important;
}

.mf-topbar .container,
.mf-topbar__inner {
  max-width: var(--mf-container);
  margin-inline: auto;
  width: 100%;
  padding-inline: var(--mf-gutter) !important;
}

/* Full-bleed backgrounds OK, content never flush to viewport */
.tb-hero,
.tb-section,
.tb-cta,
.tb-value,
.tb-stats,
.tb-app,
.mf-page-hero,
.profile_bg,
.mf-stores-hero,
.inner_banner,
.mf-footer,
.mobile_app,
.categories,
.restaurant,
.contact_us,
.discount,
.checkout,
.payment_sec,
.privace_policy,
.search_V1_bg,
.cuisine,
.cart_section {
  box-sizing: border-box;
}

.tb-hero,
.tb-section,
.tb-cta {
  padding-inline: 0; /* gutters come from inner containers */
}

.tb-hero__inner {
  max-width: min(920px, calc(100% - (var(--mf-gutter) * 2))) !important;
  margin-inline: auto;
  width: 100%;
}

/* Horizontal rails: keep side padding so cards don't touch edges */
.tb-news__rail,
.mf-screens__rail {
  margin-inline: 0;
  padding-inline: 2px;
  scroll-padding-inline: var(--mf-gutter);
}

/* Mobile dock: inset from edges */
.mf-dock {
  left: var(--mf-gutter) !important;
  right: var(--mf-gutter) !important;
  width: auto !important;
  max-width: calc(100% - (var(--mf-gutter) * 2));
  margin-inline: auto;
  box-sizing: border-box;
}

/* ========== UNIFIED INNER PAGES (Talabat-like) ========== */
body:not(.mf-home) .mf-topbar {
  position: sticky !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(15,110,102,.1);
}

main > .profile_bg,
main > .mf-page-hero,
.profile_bg.mf-page-hero,
.mf-stores-hero,
.inner_banner {
  background-color: #0b534c !important;
  background-image: linear-gradient(135deg, #176e66 0%, #0b534c 100%) !important;
  min-height: 170px !important;
  padding: 36px 0 32px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.mf-stores-hero h1,
.profile_bg .titel,
.inner_banner h1,
.inner_banner h2 {
  color: #fff !important;
  font-weight: 900 !important;
}

.mf-stores-hero .mf-kicker,
.mf-stores-hero__lead {
  color: rgba(255,255,255,.85) !important;
}

.mf-stores-search {
  margin-top: 18px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
}
.mf-stores-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 16px;
  background: transparent;
  min-width: 0;
}

/* Content sections spacing */
main section.categories,
main section.restaurant,
main section.contact_us,
main section.discount,
main section.checkout,
main section.payment_sec,
main section.privace_policy,
main section.cuisine,
main .mf-stores-list,
main .mf-content-section {
  padding: 48px 0 72px !important;
}

/* Cards never overflow viewport */
.mf-store-grid,
.tb-roles__grid,
.tb-pillars__grid,
.tb-stats__grid,
.tb-cta__grid,
.tb-value__grid,
.tb-app__grid,
.row {
  max-width: 100%;
}

.row > [class*="col-"] {
  min-width: 0;
}

img, svg, video, iframe, table {
  max-width: 100%;
}

/* Auth pages gutter */
.login_form_main,
.auth_form,
.mf-auth,
.login_bg .container {
  padding-inline: var(--mf-gutter);
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  :root { --mf-gutter: clamp(14px, 4.5vw, 24px); }
  main section.categories,
  main section.restaurant,
  main section.contact_us,
  main section.checkout,
  main section.payment_sec,
  main section.privace_policy,
  main .mf-stores-list {
    padding: 32px 0 56px !important;
  }
}

@media (max-width: 575.98px) {
  :root { --mf-gutter: 16px; }
  .mf-stores-search { border-radius: 18px; flex-direction: column; }
  .mf-dock { padding-inline: 12px !important; }
}

/* ========== FINAL GUTTER LOCK 20261105b ========== */
:root {
  --mf-gutter: clamp(18px, 4vw, 48px) !important;
  --mf-container: 1140px;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  width: 100% !important;
  max-width: var(--mf-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--mf-gutter) !important;
  padding-right: var(--mf-gutter) !important;
  box-sizing: border-box !important;
}

.mf-topbar > .container,
.mf-topbar__inner {
  padding-left: var(--mf-gutter) !important;
  padding-right: var(--mf-gutter) !important;
}

.mf-dock,
.cookie-consent {
  left: var(--mf-gutter) !important;
  right: var(--mf-gutter) !important;
  width: auto !important;
  max-width: calc(100% - (var(--mf-gutter) * 2)) !important;
}

.mf-page-hero h1,
.profile_bg h1,
.inner_banner h1,
.mf-stores-hero h1 {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem) !important;
  margin: 10px 0 0 !important;
  line-height: 1.25 !important;
}

.mf-page-hero .breadcrumb,
.profile_bg .breadcrumb,
.inner_banner .breadcrumb,
.mf-breadcrumb {
  margin: 0 0 4px !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}
.mf-page-hero .breadcrumb a,
.profile_bg .breadcrumb a,
.mf-breadcrumb a,
.mf-breadcrumb span {
  color: rgba(255,255,255,.82) !important;
  text-decoration: none !important;
  font-size: .92rem !important;
}
.mf-page-hero .breadcrumb .active,
.profile_bg .breadcrumb .active,
.mf-breadcrumb .active {
  color: #e4c98a !important;
}

.tb-section__head,
.tb-hero__inner,
.tb-cta > .container,
.tb-roles > .container,
.tb-news > .container,
.tb-value > .container,
.tb-stats > .container,
.tb-app > .container,
.tb-pillars > .container {
  padding-left: var(--mf-gutter) !important;
  padding-right: var(--mf-gutter) !important;
  box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
  :root { --mf-gutter: clamp(16px, 5vw, 28px) !important; }
}
@media (max-width: 575.98px) {
  :root { --mf-gutter: 16px !important; }
}


/* ========== TOPBAR FULL-WIDTH + GUTTER FIX ========== */
.mf-topbar,
body.mf-home .mf-topbar,
body:not(.mf-home) .mf-topbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.mf-topbar > .container.mf-topbar__inner,
.mf-topbar__inner {
  width: 100% !important;
  max-width: var(--mf-container, 1140px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--mf-gutter) !important;
  padding-right: var(--mf-gutter) !important;
  box-sizing: border-box !important;
}


/* ========== INNER HERO + CARD GUTTER HARDENING ========== */
.profile_bg,
.mf-page-hero,
.mf-stores-hero,
.inner_banner {
  background-color: #0b534c !important;
  background-image: linear-gradient(135deg, #176e66 0%, #0b534c 100%) !important;
}
.profile_bg h1,
.mf-page-hero h1,
.inner_banner h1,
.mf-stores-hero h1,
.profile_bg .breadcrumb a,
.mf-page-hero .breadcrumb a,
.mf-breadcrumb a,
.mf-breadcrumb span {
  color: #fff !important;
}
.profile_bg .breadcrumb .active,
.mf-page-hero .breadcrumb .active,
.mf-breadcrumb .active {
  color: #e4c98a !important;
}

/* Category / restaurant grids stay inside gutters */
.categories .container,
.restaurant .container,
.contact_us .container,
.discount .container,
.mf-stores-list .container,
.privace_policy .container,
.cuisine .container,
.checkout .container,
.payment_sec .container,
.cart_section .container {
  padding-left: var(--mf-gutter) !important;
  padding-right: var(--mf-gutter) !important;
}
.categories .row,
.mf-store-grid,
.categories_item {
  max-width: 100%;
}

/* ========== HEADER ONE-LINE + MORE DROPDOWN ========== */
.mf-topbar__wordmark { display: none !important; }
.mf-topbar__logo { gap: 0 !important; }
.mf-topbar__logo img {
  max-height: 46px !important;
  width: auto !important;
  display: block;
}
.mf-topbar__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  min-height: 72px;
}
.mf-mainnav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.mf-mainnav__list {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100%;
  overflow: hidden;
}
.mf-mainnav__list > li { flex: 0 0 auto; }
.mf-mainnav__list a {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
}
.mf-nav-more__btn {
  border: 0;
  background: rgba(15,110,102,.08);
  color: #0b534c;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
body.mf-home .mf-nav-more__btn {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.mf-nav-more .dropdown-menu {
  border-radius: 16px;
  border: 1px solid rgba(15,110,102,.12);
  padding: 8px;
  min-width: 220px;
}
.mf-nav-more .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 12px;
}
.mf-topbar__actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
}
@media (max-width: 1199.98px) {
  .mf-head-pill--desktop { display: none !important; }
}
@media (max-width: 991.98px) {
  .mf-mainnav { display: none !important; }
  .mf-nav-toggle { display: inline-flex !important; }
}

/* ========== FOOTER RTL + CREDIT ========== */
.mf-footer,
.mf-footer * {
  text-align: inherit;
}
html[dir="rtl"] .mf-footer,
.mf-footer[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
html[dir="ltr"] .mf-footer,
.mf-footer[dir="ltr"] {
  direction: ltr;
  text-align: left;
}
.mf-footer__grid {
  align-items: start;
}
.mf-footer__brand p,
.mf-footer__col ul,
.mf-footer__col h5 {
  text-align: inherit;
}
.mf-footer__copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mf-footer__copy-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-footer__credit a {
  color: #e4c98a !important;
  font-weight: 800;
  text-decoration: none !important;
}
.mf-footer__credit a:hover { opacity: .9; }

/* ========== HOME HEADER SEPARATED + COMPACT HERO ========== */
body.mf-home .mf-topbar,
.mf-topbar--solid,
body.mf-home .mf-topbar.mf-topbar--solid {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(15,110,102,.12) !important;
  backdrop-filter: none !important;
}
body.mf-home .mf-topbar.mf-topbar--solid .mf-mainnav__list a,
body.mf-home .mf-topbar.mf-topbar--solid .mf-icon-btn,
body.mf-home .mf-topbar.mf-topbar--solid .mf-head-pill,
body.mf-home .mf-topbar.mf-topbar--solid .mf-nav-more__btn {
  color: #0b534c !important;
  border-color: rgba(15,110,102,.18);
  background: rgba(15,110,102,.06);
}
body.mf-home .mf-topbar.mf-topbar--solid .mf-mainnav__list a.is-active,
body.mf-home .mf-topbar.mf-topbar--solid .mf-mainnav__list a:hover {
  background: rgba(15,110,102,.14) !important;
  color: #0b534c !important;
}
body.mf-home .mf-topbar.mf-topbar--solid .mf-head-pill {
  background: #0f6e66 !important;
  color: #fff !important;
}
body.mf-home .mf-topbar.mf-topbar--solid .mf-topbar__logo img {
  filter: none !important;
}

.mf-mainnav {
  overflow: visible !important;
}
.mf-mainnav__list {
  overflow: visible !important;
}
.mf-nav-more {
  position: relative;
}
.mf-nav-more__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(15,110,102,.12);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(16,36,33,.12);
  z-index: 1200;
  list-style: none;
  margin: 0;
}
.mf-nav-more.is-open .mf-nav-more__menu { display: block; }
.mf-nav-more__menu a {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: #0b534c !important;
  background: transparent !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.mf-nav-more__menu a:hover,
.mf-nav-more__menu a.is-active {
  background: rgba(15,110,102,.08) !important;
}

.mf-hero-compact {
  background: linear-gradient(135deg, #176e66 0%, #0b534c 100%);
  padding: 42px 0 48px !important;
  color: #fff;
}
.mf-hero-compact__box {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.mf-hero-compact h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  margin: 10px 0 12px !important;
  color: #fff !important;
}
.mf-hero-compact__lead {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto 22px;
  max-width: 42ch;
}
.mf-hero-compact__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.mf-kicker {
  display: inline-block;
  background: rgba(228,201,138,.18);
  color: #e4c98a;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  margin: 0;
}
.mf-step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f6e66;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.mf-steps-grid { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
.mf-download-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }

.tb-section {
  padding: 64px 0 !important;
}
.tb-cta { padding: 56px 0 72px !important; }

@media (max-width: 991.98px) {
  .mf-steps-grid { grid-template-columns: 1fr 1fr !important; }
  .mf-hero-compact { padding: 32px 0 40px !important; }
  .tb-section { padding: 48px 0 !important; }
}
@media (max-width: 575.98px) {
  .mf-steps-grid { grid-template-columns: 1fr !important; }
}

/* ========== RESTAURANT PAGE ========== */
.mf-restaurant-page .mf-rest-hero {
  background: #f7f4ee;
  padding: 24px 0 8px;
}
.mf-restaurant-page .mf-breadcrumb {
  display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:0 0 16px;
}
.mf-restaurant-page .mf-breadcrumb a,
.mf-restaurant-page .mf-breadcrumb span { color:#6b7c78; text-decoration:none; font-weight:600; }
.mf-restaurant-page .mf-breadcrumb .active { color:#0b534c; }
.mf-rest-hero__card {
  background:#fff;
  border:1px solid rgba(15,110,102,.1);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 36px rgba(16,36,33,.06);
}
.mf-rest-hero__cover {
  position:relative;
  height: clamp(180px, 28vw, 280px);
  background:#0b534c;
}
.mf-rest-hero__cover img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.mf-rest-status {
  position:absolute; top:14px; inset-inline-start:14px;
  background:#fff; color:#0b534c; border-radius:999px; padding:6px 12px; font-weight:800; font-size:.85rem;
}
.mf-rest-status.is-closed { color:#a33; }
.mf-rest-hero__info {
  display:flex; gap:16px; align-items:flex-start; padding:18px 18px 20px;
}
.mf-rest-hero__logo {
  width:84px; height:84px; border-radius:20px; overflow:hidden; flex:0 0 auto;
  border:3px solid #fff; margin-top:-48px; background:#fff;
  box-shadow:0 8px 20px rgba(16,36,33,.12);
}
.mf-rest-hero__logo img { width:100%; height:100%; object-fit:cover; }
.mf-rest-hero__meta { min-width:0; flex:1; }
.mf-rest-hero__meta h1 {
  margin:0 0 8px; font-size:clamp(1.35rem,2.2vw,1.9rem); font-weight:900; color:#102421;
}
.mf-rest-hero__row {
  display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; color:#6b7c78; font-size:.95rem;
}
.mf-rest-hero__row a { color:#6b7c78; text-decoration:none; }
.mf-dot { width:4px; height:4px; border-radius:50%; background:#c5d0cd; display:inline-block; }
.mf-rest-hero__actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.mf-mini-btn {
  display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:8px 14px;
  border:1px solid rgba(15,110,102,.18); color:#0b534c; text-decoration:none; font-weight:700; background:#fff;
}
.mf-mini-btn--solid { background:#0f6e66; color:#fff; border-color:#0f6e66; }
.mf-rest-menu { padding:28px 0 64px; }
.mf-rest-toolbar {
  display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center;
  margin-bottom:22px;
}
.mf-rest-cats {
  display:flex; flex-wrap:wrap; gap:8px; max-width:100%;
}
.mf-rest-cats a {
  display:inline-flex; gap:6px; align-items:center; padding:8px 12px; border-radius:999px;
  background:#fff; border:1px solid rgba(15,110,102,.12); color:#0b534c; text-decoration:none; font-weight:700; font-size:.9rem;
}
.mf-rest-cats a.is-active { background:#0f6e66; color:#fff; border-color:#0f6e66; }
.mf-rest-search {
  display:flex; align-items:center; background:#fff; border:1px solid rgba(15,110,102,.14);
  border-radius:999px; padding:4px 4px 4px 14px; min-width:min(100%,280px);
}
.mf-rest-search input { border:0; outline:0; background:transparent; flex:1; min-width:0; padding:8px 0; font-family:inherit; }
.mf-rest-search button {
  width:40px; height:40px; border:0; border-radius:50%; background:#0f6e66; color:#fff; cursor:pointer;
}
.mf-rest-section-title {
  margin:28px 0 14px; font-size:1.25rem; font-weight:900; color:#102421;
}
.mf-food-grid {
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px;
}
.mf-food-card {
  background:#fff; border:1px solid rgba(15,110,102,.1); border-radius:20px; overflow:hidden;
  box-shadow:0 8px 24px rgba(16,36,33,.05); display:flex; flex-direction:column; min-width:0;
}
.mf-food-card__media { position:relative; height:170px; background:#eee; }
.mf-food-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.mf-food-badge {
  position:absolute; top:10px; inset-inline-start:10px; background:#e4c98a; color:#102421;
  border-radius:999px; padding:4px 10px; font-size:.75rem; font-weight:800;
}
.mf-food-wish {
  position:absolute; top:10px; inset-inline-end:10px; width:36px; height:36px; border-radius:50%;
  background:#fff; display:inline-flex; align-items:center; justify-content:center; color:#0b534c; text-decoration:none;
}
.mf-food-wish.is-active { color:#d64545; }
.mf-food-card__body { padding:14px; display:flex; flex-direction:column; gap:8px; flex:1; }
.mf-food-card__top { display:flex; justify-content:space-between; gap:8px; color:#0b534c; font-size:.92rem; }
.mf-food-card__title { color:#102421; font-weight:800; text-decoration:none; font-size:1.02rem; }
.mf-food-card__tags { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.mf-food-card__tags li { background:#eef4f2; color:#5a6a66; border-radius:999px; padding:4px 8px; font-size:.78rem; }
.mf-food-add {
  margin-top:auto; border:0; border-radius:999px; background:#0f6e66; color:#fff; font-weight:800;
  padding:10px 14px; cursor:pointer; font-family:inherit; display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
.mf-empty { color:#6b7c78; padding:24px 0; }

@media (max-width: 991.98px) {
  .mf-food-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mf-rest-hero__info { flex-direction:column; }
  .mf-rest-hero__logo { margin-top:-42px; }
}
@media (max-width: 575.98px) {
  .mf-food-grid { grid-template-columns: 1fr; }
  .mf-rest-toolbar { flex-direction:column; align-items:stretch; }
  .mf-rest-search { width:100%; }
}

/* ========== 2026-11-07: store cards + hero +20% + home grid ========== */
.mf-hero-compact {
  padding: 50px 0 58px !important; /* ~20% taller than 42/48 */
  min-height: 280px;
  display: flex;
  align-items: center;
}
.mf-hero-compact h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem) !important;
  margin: 12px 0 14px !important;
}
.mf-hero-compact__lead {
  font-size: 1.12rem;
  margin-bottom: 26px;
  max-width: 46ch;
}
@media (max-width: 991.98px) {
  .mf-hero-compact {
    padding: 38px 0 48px !important;
    min-height: 240px;
  }
}

.mf-home-store-grid,
.mf-store-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible !important;
}
.mf-store-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 110, 102, 0.08);
  box-shadow: 0 8px 22px rgba(16, 36, 33, 0.06);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mf-store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(15, 110, 102, 0.14);
}
.mf-store-card__media {
  aspect-ratio: 16 / 11;
  background: #eef3f1;
}
.mf-store-card__media img {
  transition: transform .35s ease;
}
.mf-store-card:hover .mf-store-card__media img {
  transform: scale(1.04);
}
.mf-store-card__body {
  padding: 14px 15px 16px;
  text-align: start;
}
.mf-store-card__body h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #102421;
  margin: 2px 0 6px;
  line-height: 1.35;
}
.mf-store-card__body > p {
  color: #667773;
  font-size: .9rem;
  margin: 0 0 12px;
  min-height: 1.3em;
}
.mf-store-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 110, 102, 0.08);
  color: #0b534c;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.mf-store-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 36, 33, 0.06);
  color: #5d6f6b;
  font-size: .8rem;
  font-weight: 700;
}
.mf-chip {
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.mf-chip--open { background: #0f6e66; }
.mf-chip--closed { background: #6a7774; }
.mf-chip--featured { background: #e4c98a; color: #172421; }

@media (max-width: 1199.98px) {
  .mf-home-store-grid,
  .mf-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .mf-home-store-grid,
  .mf-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .mf-home-store-grid,
  .mf-store-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Keep old banner slider also +20% if present */
.banner_slick_thumb,
.banner_slick .slick-slide > div,
.banner_slick .slick-slide .banner_slick_thumb {
  height: clamp(528px, 81.6vh, 768px) !important;
  min-height: 528px;
}
@media (max-width: 991.98px) {
  .banner_slick_thumb,
  .banner_slick .slick-slide > div,
  .banner_slick .slick-slide .banner_slick_thumb {
    height: 336px !important;
    min-height: 336px !important;
  }
}
@media (max-width: 575.98px) {
  .banner_slick_thumb,
  .banner_slick .slick-slide > div,
  .banner_slick .slick-slide .banner_slick_thumb {
    height: 288px !important;
    min-height: 288px !important;
  }
}

/* ========== 2026-11-07: contact + hero search + popular cards ========== */
.mf-hero-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.mf-hero-search input {
  flex: 1;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  min-height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #102421;
}
.mf-hero-search button {
  border-radius: 999px !important;
  min-width: 96px;
  white-space: nowrap;
}
html[dir="rtl"] .mf-hero-search { padding: 6px 8px 6px 6px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.mf-page-hero__lead {
  color: rgba(255,255,255,.88);
  max-width: 40rem;
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mf-contact { padding: 48px 0 72px; background: #f7f4ee; }
.mf-contact__intro { text-align: center; max-width: 40rem; margin: 0 auto 28px; }
.mf-contact__intro h2 { color: #102421; font-weight: 900; margin: 10px 0; }
.mf-contact__intro p { color: #5d6f6b; margin: 0; line-height: 1.7; }
.mf-contact__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.mf-contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(15,110,102,.08);
  border-radius: 18px;
  padding: 18px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 10px 24px rgba(16,36,33,.05);
}
.mf-contact-card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15,110,102,.1); color: #0f6e66; flex-shrink: 0;
}
.mf-contact-card h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 900; color: #102421; }
.mf-contact-card p { margin: 0 0 8px; color: #667773; font-size: .92rem; }
.mf-contact-card strong { color: #0b534c; font-weight: 800; word-break: break-word; }
.mf-contact__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
  align-items: start;
}
.mf-contact-form,
.mf-contact-side__box {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15,110,102,.08);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(16,36,33,.06);
}
.mf-contact-form h3,
.mf-contact-side__box h3 { margin: 0 0 8px; font-weight: 900; color: #102421; }
.mf-contact-form__hint { color: #667773; margin: 0 0 18px; }
.mf-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mf-field { margin-bottom: 14px; }
.mf-field label {
  display: block; margin-bottom: 6px; font-weight: 800; color: #243532; font-size: .92rem;
}
.mf-field input,
.mf-field textarea {
  width: 100%;
  border: 1px solid rgba(16,36,33,.14);
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
  color: #102421 !important;
  font-family: inherit;
  font-size: 1rem;
}
.mf-field textarea { min-height: 140px; resize: vertical; }
.mf-field input::placeholder,
.mf-field textarea::placeholder { color: #8a9894; }
.mf-contact-side__box ul { padding: 0 1.1rem; margin: 0 0 18px; color: #51615d; line-height: 1.8; }
.mf-contact-map {
  margin-top: 16px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,110,102,.08);
  min-height: 240px;
  background: #fff;
}
.mf-contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

.mf-popular-section { padding: 48px 0; }
.mf-popular-section .titel { color: #102421; font-weight: 900; margin-bottom: 22px; }
.mf-food-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.mf-food-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,110,102,.08);
  box-shadow: 0 10px 24px rgba(16,36,33,.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.mf-food-card__media {
  position: relative;
  aspect-ratio: 16/11;
  background: #eef3f1;
  overflow: hidden;
}
.mf-food-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mf-food-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: #0f6e66; color: #fff; border-radius: 999px;
  padding: 4px 10px; font-size: .75rem; font-weight: 800;
}
.mf-food-wish {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #0f6e66;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.mf-food-wish.is-active { background: #0f6e66; color: #fff; }
.mf-food-card__body {
  padding: 14px 15px 16px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.mf-food-card__top {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  color: #0b534c; font-weight: 800; font-size: .92rem;
}
.mf-food-card__title {
  color: #102421 !important; font-weight: 900; text-decoration: none !important;
  font-size: 1.05rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mf-food-card__tags {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px;
}
.mf-food-card__tags li {
  background: #eef4f2; color: #5a6a66; border-radius: 999px; padding: 4px 8px; font-size: .78rem;
}
.mf-food-add {
  margin-top: auto; border: 0; border-radius: 999px; background: #0f6e66; color: #fff;
  font-weight: 800; padding: 10px 14px; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}

.mf-apply-intro h2 { color: #102421; font-weight: 900; }
.mf-apply-intro > p { color: #5d6f6b; line-height: 1.7; }

@media (max-width: 991.98px) {
  .mf-contact__cards,
  .mf-contact__grid,
  .mf-contact-form__row,
  .mf-food-grid { grid-template-columns: 1fr; }
  .mf-hero-search { max-width: 100%; border-radius: 18px; flex-wrap: wrap; padding: 10px; }
  .mf-hero-search button { width: 100%; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .mf-food-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .mf-contact__cards { grid-template-columns: 1fr 1fr; }
}


/* ========== 2026-11-07 RESTAURANT PROFILE UX BOOST ========== */
.mf-restaurant-page .mf-rest-hero {
  background: radial-gradient(1200px 420px at 10% -10%, rgba(15,110,102,.18), transparent 60%),
              linear-gradient(180deg, #12312e 0%, #0f6e66 42%, #f7f4ee 42.1%);
  padding: 28px 0 18px;
}
.mf-rest-hero__card {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(11,83,76,.18);
  overflow: hidden;
  background: #fff;
}
.mf-rest-hero__cover {
  height: clamp(220px, 34vw, 360px);
}
.mf-rest-hero__cover::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,49,46,.05), rgba(11,83,76,.55));
}
.mf-rest-status {
  z-index:2;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.mf-rest-hero__info {
  padding: 22px 22px 26px;
  gap: 18px;
  position: relative;
}
.mf-rest-hero__logo {
  width: 104px; height: 104px; border-radius: 28px; margin-top: -62px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(11,83,76,.2);
}
.mf-rest-hero__meta h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  letter-spacing: -.02em;
}
.mf-rest-hero__row {
  background: #f4faf8;
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(15,110,102,.1);
}
.mf-mini-btn {
  transition: transform .2s ease, box-shadow .2s ease;
}
.mf-mini-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15,110,102,.16);
}
.mf-rest-cats a {
  transition: all .2s ease;
}
.mf-food-card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.mf-food-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16,36,33,.12);
}
.mf-food-add {
  background: linear-gradient(135deg, #148077, #0b534c);
}
@media (max-width: 575.98px) {
  .mf-rest-hero__logo { width:88px; height:88px; border-radius:22px; margin-top:-48px; }
}
