/* MEHFARO customer header chat + cart notification polish */
.header-actions{gap:10px!important}
.customer-chat-button{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;min-width:46px;border-radius:16px;border:1px solid rgba(21,113,101,.22);
  background:#fff;color:#147565;cursor:pointer;box-shadow:0 7px 18px rgba(24,63,54,.08);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
.customer-chat-button:hover{transform:translateY(-1px);background:#f1fbf8;border-color:rgba(21,113,101,.38);box-shadow:0 10px 24px rgba(24,63,54,.13)}
.customer-chat-icon{display:grid;place-items:center}
.customer-chat-badge{
  position:absolute;top:-7px;right:-7px;display:none;min-width:20px;height:20px;padding:0 5px;border-radius:999px;
  place-items:center;background:#d94a3d;color:#fff;border:2px solid #fff;font-size:10px;line-height:1;font-weight:900;
  box-shadow:0 5px 13px rgba(126,38,31,.28)
}
.customer-chat-badge.is-visible{display:grid}
.customer-chat-button.has-unread{background:#edf9f6;border-color:#8fc9ba;animation:mfChatPulse 1.8s ease-in-out infinite}
@keyframes mfChatPulse{0%,100%{box-shadow:0 7px 18px rgba(24,63,54,.08)}50%{box-shadow:0 0 0 5px rgba(20,117,101,.12),0 9px 22px rgba(24,63,54,.15)}}
.cart-button{position:relative}
.cart-count{transition:transform .18s ease,background .18s ease,color .18s ease}
.cart-button.mf-cart-has-items .cart-count{background:#fff!important;color:#98630b!important;font-weight:900!important}
.cart-button.mf-cart-pulse{animation:mfCartPulse .55s ease}
@keyframes mfCartPulse{0%{transform:scale(1)}45%{transform:scale(1.06)}100%{transform:scale(1)}}
.mf-mobile-cart-icon-wrap{position:relative;display:inline-grid;place-items:center}
.mf-mobile-nav-count{display:none;position:absolute;top:-8px;right:-13px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#d99a17;color:#172025;border:2px solid #fff;font-size:9px;font-weight:900;line-height:14px}
.mf-mobile-nav-count.show{display:grid;place-items:center}
/* Cart must remain cart-only; chat lives from the separate header icon. */
#mfUnifiedCartChat{display:none!important}
#mfUnifiedOrderChatDock{display:none!important}
/* Standalone real order-chat overlay stays enabled outside the cart drawer. */
body > #mehfaroOrderChatRoot .mf-order-chat-launcher{display:none!important}
body > #mehfaroOrderChatRoot .mf-order-chat-overlay{z-index:4200!important}
@media(max-width:780px){
  .header-actions{gap:7px!important}
  .customer-chat-button{width:44px;height:44px;min-width:44px;border-radius:15px}
  .customer-chat-badge{top:-5px;right:-5px}
}
