/* MEHFARO CUSTOMER EXPERIENCE V7 - single navigation/page/chat authority */

/* Header/menu */
.main-header .desktop-nav{display:none!important}
.main-header .header-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important}
.main-header .search-toggle{order:1!important}
.main-header .customer-chat-button{order:2!important}
.main-header .cart-button{order:3!important}
.main-header .menu-toggle{order:4!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;border:0!important;border-radius:14px!important;background:#124d43!important;color:#fff!important;font-size:20px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(18,77,67,.18)!important;cursor:pointer!important;transition:transform .14s ease,background .14s ease!important}
.main-header .menu-toggle[aria-expanded="true"]{background:#0a392f!important;transform:scale(.96)!important}
.main-header .customer-chat-button,.main-header .cart-button{background:#176f60!important;border-color:#176f60!important;color:#fff!important}

#mobileMenu.mobile-menu{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;z-index:9100!important;width:min(360px,90vw)!important;height:100dvh!important;display:flex!important;flex-direction:column!important;gap:9px!important;padding:18px!important;margin:0!important;border:0!important;border-left:1px solid #d7e6e1!important;background:#f7fbf9!important;box-shadow:-28px 0 70px rgba(8,35,29,.28)!important;overflow-y:auto!important;transform:translateX(105%)!important;transition:transform .2s ease!important}
#mobileMenu.mobile-menu.open{transform:translateX(0)!important}
.mf-customer-menu-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:8px 4px 16px!important;margin-bottom:2px!important;border-bottom:1px solid #dce9e5!important}
.mf-customer-menu-head small{display:block;color:#b47b08;font-size:9px;font-weight:950;letter-spacing:.16em}
.mf-customer-menu-head strong{display:block;margin-top:2px;color:#143d36;font-size:20px;font-weight:950}
.mf-customer-menu-head button{width:38px;height:38px;border:1px solid #cfe0da;border-radius:50%;background:#fff;color:#143d36;font-size:17px;cursor:pointer}
#mobileMenu.mobile-menu a{position:relative!important;display:flex!important;align-items:center!important;min-height:54px!important;padding:0 48px 0 17px!important;border:1px solid #d8e7e2!important;border-radius:14px!important;background:#fff!important;color:#173f38!important;font-size:14px!important;font-weight:850!important;text-decoration:none!important;cursor:pointer!important;transition:transform .12s ease,background .14s ease,border-color .14s ease,color .14s ease!important}
#mobileMenu.mobile-menu a::after{content:'›';position:absolute;right:18px;font-size:22px;line-height:1;color:#78938a}
#mobileMenu.mobile-menu a:hover,#mobileMenu.mobile-menu a:focus{background:#edf7f3!important;border-color:#a9cec3!important;outline:none!important}
#mobileMenu.mobile-menu a.is-active{background:#124d43!important;border-color:#124d43!important;color:#fff!important;box-shadow:0 8px 20px rgba(18,77,67,.15)!important}
#mobileMenu.mobile-menu a.is-active::after{content:'✓';font-size:14px;color:#fff}
#mobileMenu.mobile-menu a.is-clicked,.mobile-bottom-nav .is-clicked,.menu-toggle.is-clicked{transform:scale(.96)!important}
#mfCustomerNavBackdrop{position:fixed!important;inset:0!important;z-index:9050!important;background:rgba(10,30,25,.46)!important;opacity:0!important;pointer-events:none!important;transition:opacity .18s ease!important}
#mfCustomerNavBackdrop.open{opacity:1!important;pointer-events:auto!important}
body.mf-customer-nav-open{overflow:hidden!important}

/* Full visible Reviews/Why pages */
#mfCustomerPageView[hidden]{display:none!important}
#mfCustomerPageView{position:fixed!important;inset:0!important;z-index:9200!important;background:#f3f8f6!important;overflow:auto!important;overscroll-behavior:contain!important}
body.mf-customer-page-open{overflow:hidden!important}
.mf-customer-page-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px clamp(16px,4vw,48px);border-bottom:1px solid #d8e6e1;background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
.mf-customer-page-head small{display:block;color:#b47b08;font-size:9px;font-weight:950;letter-spacing:.17em}
.mf-customer-page-head h1{margin:2px 0 0;color:#143d36;font-size:clamp(24px,4vw,42px);font-weight:950;letter-spacing:-.035em}
.mf-customer-page-head button{width:42px;height:42px;border:1px solid #cfe0da;border-radius:50%;background:#f7fbf9;color:#143d36;font-size:18px;cursor:pointer}
.mf-customer-page-body{max-width:1180px;margin:0 auto;padding:28px clamp(14px,4vw,44px) 90px}
.mf-page-loading,.mf-page-empty{min-height:260px;display:grid;place-items:center;text-align:center;padding:32px;border:1px dashed #cbded7;border-radius:22px;background:#fff;color:#61736d}
.mf-page-empty span{font-size:38px;color:#b47b08}.mf-page-empty strong{font-size:20px;color:#143d36}.mf-page-empty p{margin:4px 0 0}
.mf-reviews-summary-v7{display:flex;align-items:center;gap:18px;margin-bottom:22px;padding:18px 20px;border:1px solid #d8e6e1;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(16,54,47,.06)}
.mf-reviews-summary-v7>strong{font-size:44px;color:#143d36}.mf-reviews-summary-v7 span{display:block;color:#d39921;font-size:20px;letter-spacing:2px}.mf-reviews-summary-v7 small{display:block;margin-top:5px;color:#64766f}
.mf-reviews-grid-v7{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mf-review-card-v7{padding:20px;border:1px solid #d9e7e2;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(16,54,47,.05)}.mf-review-stars-v7{color:#d39921;letter-spacing:2px}.mf-review-card-v7 p{color:#2b3b36;line-height:1.6}.mf-review-card-v7 strong{display:block;color:#143d36}.mf-review-card-v7 small{display:block;margin-top:5px;color:#70817b}
.mf-why-grid-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mf-why-grid-v7 article{padding:24px;border:1px solid #d6e6e0;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(16,54,47,.05)}.mf-why-grid-v7 article>span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f5f1;color:#176f60;font-weight:950}.mf-why-grid-v7 strong{display:block;margin-top:18px;color:#143d36;font-size:19px}.mf-why-grid-v7 p{margin:7px 0 0;color:#5e706a;line-height:1.6}
.mf-section-focus{animation:mfSectionFocus .9s ease}@keyframes mfSectionFocus{0%{box-shadow:0 0 0 0 rgba(23,111,96,.28)}45%{box-shadow:0 0 0 8px rgba(23,111,96,.12)}100%{box-shadow:0 0 0 0 rgba(23,111,96,0)}}

/* Chat: WhatsApp-like directions and order cards on the right */
body>#mehfaroOrderChatRoot{position:fixed!important;inset:0!important;z-index:9300!important;pointer-events:none!important}
body>#mehfaroOrderChatRoot .mf-order-chat-launcher{display:none!important}
body>#mehfaroOrderChatRoot .mf-order-chat-overlay{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;padding:0!important;margin:0!important;background:#eef5f2!important;pointer-events:auto!important;overflow:hidden!important}
body>#mehfaroOrderChatRoot .mf-order-chat-overlay.open{display:block!important}
body>#mehfaroOrderChatRoot .mf-order-chat-shell{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#eef5f2!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
body>#mehfaroOrderChatRoot .mf-order-chat-header,body>#mehfaroOrderChatRoot .mf-order-chat-conversation-head{display:none!important}
body>#mehfaroOrderChatRoot .mf-order-chat-single-head{flex:0 0 auto!important;min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:10px 18px!important;border-bottom:1px solid #d4e3de!important;background:#fff!important}
body>#mehfaroOrderChatRoot .mf-order-chat-single-head strong{color:#143d36!important;font-size:20px!important;font-weight:950!important}body>#mehfaroOrderChatRoot .mf-order-chat-single-head small{display:none!important}
body>#mehfaroOrderChatRoot .mf-order-chat-close{width:40px!important;height:40px!important;border:1px solid #c9ddd6!important;border-radius:50%!important;background:#f7fbf9!important;color:#143d36!important;font-size:18px!important}
body>#mehfaroOrderChatRoot .mf-order-chat-layout,body>#mehfaroOrderChatRoot .mf-order-chat-right{flex:1 1 auto!important;min-height:0!important;width:100%!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;margin:0!important;padding:0!important;border:0!important;background:#eef5f2!important;overflow:hidden!important}
body>#mehfaroOrderChatRoot .mf-order-chat-left{display:none!important}
body>#mehfaroOrderChatRoot .mf-order-chat-messages{width:100%!important;min-height:0!important;overflow:auto!important;margin:0!important;padding:18px max(18px,calc((100vw - 1100px)/2)) 24px!important;border:0!important;background:#eef5f2!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message{display:flex!important;width:100%!important;margin:7px 0!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.owner{justify-content:flex-start!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.customer{justify-content:flex-end!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.system{justify-content:center!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.owner .mf-order-chat-bubble:not(.order-card-bubble){max-width:min(68%,650px)!important;background:#fff!important;color:#263833!important;border:1px solid #d8e6e1!important;border-radius:7px 16px 16px 16px!important;box-shadow:0 3px 10px rgba(16,54,47,.05)!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.customer .mf-order-chat-bubble:not(.order-card-bubble){max-width:min(68%,650px)!important;background:#d9f5e9!important;color:#173f38!important;border:1px solid #bfe5d8!important;border-radius:16px 7px 16px 16px!important;box-shadow:0 3px 10px rgba(16,54,47,.05)!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.system .mf-order-chat-bubble{max-width:72%!important;background:#dfe9e5!important;color:#5a6d66!important;border:0!important;border-radius:12px!important;text-align:center!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.customer:has(.order-card-bubble){justify-content:flex-end!important;margin:12px 0 18px!important}
body>#mehfaroOrderChatRoot .mf-order-chat-message.customer .order-card-bubble{width:min(78%,860px)!important;max-width:860px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body>#mehfaroOrderChatRoot .order-card-bubble .mf-chat-order-card,body>#mehfaroOrderChatRoot .mf-chat-order-card,body>#mehfaroOrderChatRoot .mf-order-review-card{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
body>#mehfaroOrderChatRoot .mf-order-chat-form{width:100%!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;padding:9px max(12px,calc((100vw - 1100px)/2))!important;border-top:1px solid #d4e3de!important;background:#fff!important}
body>#mehfaroOrderChatRoot .mf-order-chat-attach-button{width:40px!important;height:40px!important;border:1px solid #cfe0da!important;border-radius:50%!important;background:#edf7f3!important;color:#176f60!important}
body>#mehfaroOrderChatRoot .mf-order-chat-form input[type="text"]{height:42px!important;padding:0 15px!important;border:1px solid #d1e1db!important;border-radius:22px!important;background:#fbfdfc!important}
body>#mehfaroOrderChatRoot .mf-order-chat-form button[type="submit"]{height:40px!important;min-width:70px!important;padding:0 16px!important;border:0!important;border-radius:20px!important;background:#176f60!important;color:#fff!important;font-weight:850!important}
body>#mehfaroOrderChatRoot .mf-order-chat-selected-file{grid-column:2/4!important}

/* Mobile bottom nav: exactly 5 in one row, Search in the middle */
.mobile-bottom-nav{display:none!important}
@media(max-width:780px){
  body{padding-bottom:68px!important}
  .mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:66px!important;z-index:9000!important;padding:0 3px max(0px,env(safe-area-inset-bottom))!important;border-top:1px solid #d6e5e0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -8px 24px rgba(16,54,47,.10)!important;overflow:hidden!important}
  .mobile-bottom-nav a,.mobile-bottom-nav button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;color:#2d453e!important;font-size:9.5px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important}
  .mobile-bottom-nav a>span,.mobile-bottom-nav button>span{font-size:18px!important;line-height:1!important}
  .mobile-bottom-nav .is-active{color:#176f60!important;background:#edf7f3!important;border-radius:12px!important}
  body.mf-customer-nav-open .mobile-bottom-nav,body.mf-customer-page-open .mobile-bottom-nav,body:has(#mehfaroOrderChatRoot .mf-order-chat-overlay.open) .mobile-bottom-nav,body:has(#cartDrawer.open) .mobile-bottom-nav{display:none!important}
  #mobileMenu.mobile-menu{width:min(330px,92vw)!important;padding:14px!important}
  .mf-reviews-grid-v7,.mf-why-grid-v7{grid-template-columns:1fr!important}
  .mf-customer-page-body{padding:18px 12px 84px!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-single-head{min-height:56px!important;padding:8px 10px 8px 13px!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-single-head strong{font-size:17px!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-messages{padding:10px 8px 14px!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-message.owner .mf-order-chat-bubble:not(.order-card-bubble),body>#mehfaroOrderChatRoot .mf-order-chat-message.customer .mf-order-chat-bubble:not(.order-card-bubble){max-width:86%!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-message.customer .order-card-bubble{width:96%!important;max-width:96%!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-form{grid-template-columns:40px minmax(0,1fr) auto!important;padding:7px!important}
  body>#mehfaroOrderChatRoot .mf-order-chat-form button[type="submit"]{min-width:58px!important;padding:0 12px!important}
  .main-header .header-actions{gap:6px!important}.main-header .menu-toggle,.main-header .customer-chat-button{width:42px!important;height:42px!important;min-width:42px!important}.main-header .cart-button{height:42px!important}
}
