:root{--pg:#0066cc;--pgl:#e8f1fb;--tx:#1e293b;--mu:#64748b;--bg:#f8fafc;--wh:#fff;--bd:#e2e8f0;--r:12px;--nh:60px;--nb:calc(var(--nh) + min(env(safe-area-inset-bottom,0px),10px))}
/* Anti-shake: no sideways scroll / rubber-band, no scroll-lock jump, GPU layers for the fixed bars */
html{overflow-x:hidden;overscroll-behavior-x:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@supports (overflow:clip){html{overflow-x:clip}}
html.mf-lock{overflow:hidden!important}
body.mediflow-app{overflow:visible!important;max-width:100%;padding-bottom:calc(var(--nb) + 12px)!important;background:var(--bg);font-family:Cairo,sans-serif;margin:0}
body.mediflow-app.single-product{padding-bottom:calc(var(--nb) + 72px)!important}
.mf-cartmap{display:none!important}
.site-content,.ast-container,#content,.entry-content,main,#main,.woocommerce,.ast-woocommerce-container{padding-bottom:12px!important}
.ast-desktop-header-content,.site-header .ast-search-box,.ast-header-search,.ast-search-menu-icon,header.site-header .search-form,.site-header .ast-search-icon{display:none!important}
/* Hide Astra mobile header + logo + cart – keep ONLY #mf-h */
body.mediflow-app #ast-mobile-header,
body.mediflow-app .ast-mobile-header-wrap,
body.mediflow-app #masthead,
body.mediflow-app header.site-header,
body.mediflow-app .ast-primary-header-bar,
body.mediflow-app .ast-above-header-bar,
body.mediflow-app .ast-below-header-bar,
body.mediflow-app .ast-main-header-wrap,
body.mediflow-app .main-header-bar,
body.mediflow-app .main-header-bar-wrap,
body.mediflow-app .ast-hfb-header,
body.mediflow-app .ast-sticky-main-header,
body.mediflow-app .site-header .site-branding,
body.mediflow-app .site-header .custom-logo-link,
body.mediflow-app .site-header .ast-site-identity,
body.mediflow-app .site-header .ast-header-woo-cart,
body.mediflow-app .site-header .ast-cart-menu-wrap,
body.mediflow-app .site-header .ast-site-header-cart,
body.mediflow-app .site-header .ast-header-cart,
body.mediflow-app .site-header .ast-mobile-menu-buttons,
body.mediflow-app .site-header .menu-toggle,
body.mediflow-app .site-header .ast-button-wrap,
body.mediflow-app .site-header .ast-header-account-wrap,
body.mediflow-app .site-header .ast-builder-layout-element,
body.mediflow-app .site-header .site-header-focus-item,
body.mediflow-app .ast-mobile-header-wrap .ast-builder-layout-element,
body.mediflow-app .ast-mobile-header-wrap .site-header-focus-item,
body.mediflow-app .ast-mobile-header-wrap .custom-logo-link,
body.mediflow-app .ast-mobile-header-wrap .ast-header-woo-cart,
body.mediflow-app .ast-mobile-header-wrap .ast-cart-menu-wrap{display:none!important;height:0!important;min-height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* Force plugin header visible */
body.mediflow-app #mf-h,
body.mediflow-app .mf-h{display:block!important;visibility:visible!important;opacity:1!important;position:sticky!important;top:0!important;z-index:999999!important;width:100%!important;height:auto!important;max-height:none!important;pointer-events:auto!important;background:var(--pg)!important;color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.1);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.mf-top{display:flex;align-items:center;justify-content:space-between;height:34px;padding:0 10px}
.mf-top-spacer{flex:1}
.mf-ib{background:0;border:0;color:#fff;padding:6px;position:relative;cursor:pointer}
.mf-brand{display:flex!important;align-items:center;justify-content:center;gap:8px;padding:0 12px 2px;text-decoration:none;color:#fff}
.mf-brand-logo{width:32px;height:32px;border-radius:9px;object-fit:contain;background:#fff;padding:2px;flex-shrink:0;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.mf-brand-t{display:flex;flex-direction:column;line-height:1.2;text-align:right}
.mf-brand-t strong{font-size:14.5px;color:#fff;font-weight:700}
.mf-brand-t span{font-size:10px;color:rgba(255,255,255,.92)}
.mf-cc{position:absolute;top:1px;right:1px;background:#ef4444;color:#fff;font-size:9px;font-weight:700;border-radius:9px;padding:1px 4px;min-width:14px;text-align:center}
.mf-cc.z{display:none}
.mf-sb{padding:0 10px 7px;position:relative}
.mf-sf{display:flex!important;align-items:center;background:#fff;border-radius:18px;padding:0 10px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.mf-si{color:#64748b;margin-left:4px;display:flex;align-items:center}
.mf-sin{width:100%;height:32px;border:0!important;outline:0!important;background:transparent!important;font-size:13.5px;color:#1e293b;padding:0 5px!important}
.mf-trust,.mf-trust-i{display:none!important}
.mf-sbn{background:0;border:0;color:#475569;padding:4px;cursor:pointer;display:flex;align-items:center}
.mf-live{position:absolute;top:100%;left:12px;right:12px;background:var(--wh);border-radius:var(--r);box-shadow:0 8px 24px rgba(0,0,0,.12);max-height:340px;overflow-y:auto;z-index:99999;margin-top:4px}
.mf-li-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid var(--bd);text-decoration:none;color:var(--tx)}
.mf-li-img{width:40px;height:40px;margin-left:10px;flex-shrink:0}.mf-li-img img{width:100%;height:100%;object-fit:contain;border-radius:6px}
.mf-li-t{display:flex;flex-direction:column;font-size:13px}.mf-li-p{color:var(--pg);font-weight:700;margin-top:2px}
.mf-la{display:block;text-align:center;padding:10px;background:var(--pgl);color:var(--pg);font-weight:700;text-decoration:none;font-size:13px}
.mf-nr{padding:20px;text-align:center;color:var(--mu)}
/* ===== Product cards (v3.25.3): tight Amazon-style — image → title → price → ATC, no empty voids ===== */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px!important;margin:0!important;align-items:stretch}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important;content:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{position:relative;display:flex!important;flex-direction:column!important;min-width:0;min-height:0!important;height:auto!important;width:auto!important;float:none!important;margin:0!important;padding:0!important;overflow:hidden;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06);text-align:right}
/* theme wrappers flattened */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,.woocommerce ul.products li.product .astra-shop-summary-wrap,.woocommerce ul.products li.product .ast-loop-product__link{display:contents!important}
/* Image: fixed square, tight padding, placeholder when missing — NO extra vertical space */
.woocommerce ul.products li.product img{order:1;display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:1/1!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:6px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center center!important;background-color:#f8fafc!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect width='120' height='120' fill='%23f1f5f9'/%3E%3Crect x='35' y='28' width='50' height='64' rx='6' fill='%23fff' stroke='%2394a3b8' stroke-width='2'/%3E%3Cpath d='M60 48v28M46 62h28' stroke='%2394a3b8' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:40%!important}
.woocommerce ul.products li.product img[src]:not([src=""]):not([src*="placeholder"]):not([src*="woocommerce-placeholder"]){background-image:none!important}
.woocommerce ul.products li.product img~img{display:none!important}
.woocommerce ul.products li.product .onsale,.woocommerce span.onsale,.woocommerce ul.products li.product .ast-woo-product-category,.woocommerce ul.products li.product .ast-woo-shop-product-description{display:none!important}
/* Title right under image — Amazon tightness */
.woocommerce ul.products li.product .woocommerce-loop-product__title{order:2;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 8px 0!important;padding:0!important;font-size:12.5px!important;font-weight:600!important;line-height:1.35!important;height:2.7em!important;min-height:2.7em!important;max-height:2.7em!important;color:#0f172a!important;word-break:break-word;text-align:start}
.woocommerce ul.products li.product .woocommerce-loop-product__title:empty{display:none!important;height:0!important;min-height:0!important;margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title a{color:inherit!important;font-size:inherit!important}
/* Price tight under title */
.woocommerce ul.products li.product .price{order:3;display:flex!important;align-items:baseline;flex-wrap:wrap;gap:0 5px;margin:3px 8px 2px!important;padding:0!important;min-height:20px;font-size:15px!important;font-weight:800!important;line-height:1.3;color:var(--pg)!important}
.woocommerce ul.products li.product .price ins{order:1;background:none;text-decoration:none;color:var(--pg)}
.woocommerce ul.products li.product .price del{order:2;color:#94a3b8!important;font-size:11px!important;font-weight:400!important;opacity:1}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product a.button,.woocommerce ul.products li.product .add_to_cart_button,.woocommerce ul.products li.product .added_to_cart,.woocommerce ul.products li.product .ast-loop-product__link .button,.woocommerce ul.products li.product a.ajax_add_to_cart,.woocommerce ul.products li.product .ast-button{display:none!important}
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,.woocommerce ul.products li.product a.add_to_wishlist,.woocommerce ul.products li.product .add-to-wishlist-before_image,.woocommerce ul.products li.product .tinv-wraper,.woocommerce ul.products li.product .woosw-btn,.woocommerce ul.products li.product a[href*="add_to_wishlist"]{display:none!important}
/* meta row compact */
.mf-meta{order:4;display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-height:0;margin:0 8px 4px;font-size:10.5px;color:#64748b}
.mf-ing{flex:1 0 100%;color:var(--pg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mf-av{display:inline-flex;align-items:center;gap:4px;color:#15803d;font-size:10.5px;font-weight:700}
.mf-av::before{content:"";width:6px;height:6px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 2px rgba(22,163,74,.18)}
.mf-urg{background:#ffedd5;color:#c2410c;padding:2px 7px;border-radius:5px;font-size:10px;font-weight:700;display:inline-block}
.mf-rx{background:#fef3c7;color:#b45309;padding:2px 7px;border-radius:5px;font-size:10px;font-weight:700;display:inline-block;border:1px solid #fde68a}
/* round action buttons on the image (hardened against theme button styles) */
.woocommerce ul.products li.product .mf-act{position:absolute!important;left:8px!important;right:auto!important;z-index:3;display:flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;box-shadow:0 1px 3px rgba(0,0,0,.16)!important;color:var(--mu)!important;font-size:0!important;line-height:1!important;box-sizing:border-box!important;float:none!important;transform:none!important;text-decoration:none!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
.woocommerce ul.products li.product .mf-act svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor}
.woocommerce ul.products li.product .mf-wish{top:8px!important}
.woocommerce ul.products li.product .mf-qvb{top:42px!important;color:var(--pg)!important}
.woocommerce ul.products li.product .mf-saveb{top:76px!important}
.woocommerce ul.products li.product .mf-wish.on{color:#ef4444!important}
.woocommerce ul.products li.product .mf-wish.on svg{fill:#ef4444}
.woocommerce ul.products li.product .mf-saveb.on{color:var(--pg)!important}
.woocommerce ul.products li.product .mf-saveb.on svg{fill:var(--pg)}
.mf-sale{position:absolute;top:8px;right:8px;z-index:3;background:#dc2626;color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px;line-height:1.25;box-shadow:0 1px 3px rgba(220,38,38,.25)}
/* cart control: a single "add" button that becomes a - n + counter once the item is in the cart */
.woocommerce ul.products li.product .mf-qty-wrap,.woocommerce ul.products li.product .mf-opts{order:5;margin:auto 10px 0!important;flex-shrink:0}
.mf-qty-wrap{position:relative;height:42px;border-radius:11px;overflow:hidden;background:var(--pg);flex-shrink:0;box-shadow:0 1px 3px rgba(0,102,204,.2)}
.mf-qty-wrap.in{background:var(--pgl);box-shadow:none}
.mf-qty-wrap .mf-qty-add{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%!important;height:100%!important;min-width:0!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:var(--pg)!important;color:#fff!important;box-shadow:none!important;font:650 13px/1 Cairo,sans-serif!important;white-space:nowrap;cursor:pointer;transition:filter .15s}
.mf-qty-wrap .mf-qty-add svg{width:16px;height:16px;flex-shrink:0;stroke:#fff}
.mf-qty-wrap .mf-stp{display:none;align-items:center;justify-content:space-between;width:100%;height:100%;direction:ltr}
.mf-qty-wrap.in .mf-qty-add{display:none!important}
.mf-qty-wrap.in .mf-stp{display:flex}
.mf-qty-wrap .mf-qty-btn{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--pg)!important;box-shadow:none!important;font-size:22px!important;font-weight:700;line-height:1!important;cursor:pointer;flex-shrink:0;transition:background .12s}
.mf-qty-wrap .mf-qty-del{display:flex!important;align-items:center;justify-content:center;width:34px!important;height:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-right:1px solid rgba(0,0,0,.06)!important;border-radius:0!important;background:transparent!important;color:#dc2626!important;box-shadow:none!important;cursor:pointer;flex-shrink:0}
.mf-qty-wrap .mf-qty-del svg{width:14px;height:14px;stroke:#dc2626}
.mf-qty-wrap .mf-qty-val{flex:1;text-align:center;font-size:15px;font-weight:800;color:var(--tx);pointer-events:none}
.mf-qty-btn,.mf-qty-del,.mf-qty-add,.mf-sq,.single_add_to_cart_button,.mf-st-b,.mf-act{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.mf-qty-btn:active,.mf-qty-del:active,.mf-sq:active{background:rgba(0,102,204,.14)!important}
.mf-qty-del:active{background:rgba(220,38,38,.12)!important}
.mf-qty-add:active{filter:brightness(.9)}
.woocommerce ul.products li.product .mf-opts{display:flex!important;align-items:center;justify-content:center;height:42px;border-radius:11px;background:var(--pgl);color:var(--pg)!important;font-size:13px;font-weight:700;text-align:center;text-decoration:none!important;flex-shrink:0}
.mf-qty-wrap .added_to_cart,ul.products li.product .added_to_cart,.mf-qv-a+.added_to_cart{display:none!important}
.single_add_to_cart_button.added::after{content:none!important}
.woocommerce div.product form.cart .quantity.mf-qx{display:inline-flex;align-items:stretch;margin:0 0 0 8px;border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;float:none}
.mf-qx .qty{width:46px;height:42px;border:0!important;text-align:center;font-weight:700;-moz-appearance:textfield;appearance:textfield;margin:0!important;padding:0!important;background:#fff}
.mf-qx .qty::-webkit-outer-spin-button,.mf-qx .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mf-sq{width:38px;border:0;background:var(--pgl);color:var(--pg);font-size:20px;font-weight:700;cursor:pointer;line-height:1;padding:0}
.single_add_to_cart_button.mf-load{opacity:.7;pointer-events:none}
#review_form_wrapper,#review_form,.woocommerce-noreviews,.woocommerce-verification-required,
#tab-reviews,#reviews,.woocommerce-Reviews,.woocommerce-Tabs-panel--reviews,
.woocommerce-product-rating,.star-rating,.woocommerce-review-link,
li.reviews_tab,li#tab-title-reviews,.wc-tabs li.reviews_tab,
.comment-respond,.commentlist,#comments,.woocommerce-Reviews-title,
p.woocommerce-noreviews,.woocommerce #reviews{display:none!important;height:0!important;overflow:hidden!important;visibility:hidden!important}
html.mf-fs-lg{font-size:112%}
html.mf-fs-xl{font-size:125%}
html.mf-en{direction:ltr}
html.mf-en .mf-h,html.mf-en .mf-bot,html.mf-en .mf-ly,html.mf-en .mf-sh,html.mf-en .mf-st{direction:ltr}
html.mf-en .mf-li,html.mf-en .mf-brand-t{text-align:left}
html.mf-en .mf-note-in{direction:ltr}
.mf-save-btn{background:0;border:0;color:var(--pg);cursor:pointer;padding:0;text-decoration:none}
.mf-share.mf-save-big{font-size:13px;padding:8px 14px;background:var(--pgl);color:var(--pg)}
.mf-sfl-item{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--bd)}
.mf-sfl-item .mf-mc{flex:1;border-bottom:0}
.mf-sfl-rm{background:0;border:0;color:#ef4444;font-size:15px;cursor:pointer;padding:8px}
.stock.in-stock,.stock.out-of-stock{display:none!important}
.price:empty,p.price:empty,.woocommerce-Price-amount:empty{display:none!important}
body.mediflow-app .price{font-size:inherit}
.single-product .button.buy-now,button.buy-now,.wc-buy-now-button,.single_add_to_cart_button+.button,.single-product form.cart .button.alt:not(.single_add_to_cart_button){display:none!important}
.mf-mcart .woocommerce-mini-cart__buttons,.mf-mcart .buttons{display:none!important}
/* ===== Bottom nav (v3.10.1) - always visible, theme-proof: Home | Category | "اطلب دواءك" (center) | Profile | Cart ===== */
body.mediflow-app .mf-bot,.mf-bot{position:fixed!important;bottom:0!important;left:0!important;right:0!important;top:auto!important;height:var(--nb)!important;min-height:var(--nb);padding-bottom:env(safe-area-inset-bottom,0px)!important;box-sizing:border-box!important;-webkit-transform:translateZ(0);transform:translateZ(0);background:#fff!important;border-top:1px solid #e2e8f0!important;display:flex!important;flex-direction:row!important;justify-content:space-around;align-items:center;z-index:9990;box-shadow:0 -2px 12px rgba(0,0,0,.08);visibility:visible!important;opacity:1!important;overflow:visible!important;pointer-events:auto!important;margin:0!important}
body.mediflow-app .mf-bot .mf-tab,.mf-bot .mf-tab{flex:1 1 0!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;color:#475569!important;text-decoration:none!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0;margin:0!important;padding:4px 2px!important;font-family:Cairo,sans-serif!important;font-size:11px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;line-height:1.1!important;min-height:44px;height:100%;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;visibility:visible!important;opacity:1!important;transition:color .15s}
body.mediflow-app .mf-bot .mf-tab:hover,body.mediflow-app .mf-bot .mf-tab:focus,body.mediflow-app .mf-bot .mf-tab:active{background:transparent!important;color:#0066cc!important;box-shadow:none!important;text-decoration:none!important}
body.mediflow-app .mf-bot .mf-tab-ico,.mf-bot .mf-tab-ico{display:flex!important;align-items:center;justify-content:center;width:auto;height:26px;line-height:0;visibility:visible!important;opacity:1!important}
body.mediflow-app .mf-bot .mf-tab svg,.mf-bot .mf-tab svg{display:block!important;width:24px!important;height:24px!important;min-width:24px;flex-shrink:0;visibility:visible!important;opacity:1!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round;stroke-linejoin:round;color:inherit!important;overflow:visible}
body.mediflow-app .mf-bot .mf-tab svg path,.mf-bot .mf-tab svg path{fill:none!important;stroke:currentColor!important;opacity:1!important;visibility:visible!important}
body.mediflow-app .mf-bot .mf-tab .mf-tl,.mf-bot .mf-tl{display:block!important;visibility:visible!important;opacity:1!important;color:inherit!important;font-size:11px!important;font-weight:600!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px;margin:0!important;letter-spacing:-0.01em}
body.mediflow-app .mf-bot .mf-tab.on{color:#0066cc!important;font-weight:800!important}
body.mediflow-app .mf-bot .mf-tab.on .mf-tl{font-weight:800!important}
/* Center button: اطلب دواءك (raised round button) */
body.mediflow-app .mf-bot .mf-tab-rx{color:#0066cc!important;overflow:visible!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tab-ico{width:48px!important;height:48px!important;margin-top:-22px!important;border-radius:50%!important;background:linear-gradient(135deg,#1a7fe0,#0057b8)!important;border:3px solid #fff!important;box-shadow:0 4px 12px rgba(0,102,204,.45)!important;box-sizing:border-box}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tab-ico svg{color:#fff!important;width:24px!important;height:24px!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tl{color:#0066cc!important;font-weight:800!important;font-size:11px!important;overflow:visible!important;text-overflow:clip!important}
/* v3.12 – bigger, duotone, expressive icons */
body.mediflow-app .mf-bot,.mf-bot{padding-bottom:min(env(safe-area-inset-bottom,0px),10px)!important}
body.mediflow-app .mf-bot .mf-tab-ico{position:relative;height:30px!important}
body.mediflow-app .mf-bot .mf-tab svg,.mf-bot .mf-tab svg{width:28px!important;height:28px!important;min-width:28px}
body.mediflow-app .mf-bot .mf-tab svg .s{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
body.mediflow-app .mf-bot .mf-tab svg .d{fill:currentColor!important;fill-opacity:.15!important;stroke:none!important}
body.mediflow-app .mf-bot .mf-tab svg .f{fill:currentColor!important;stroke:none!important}
body.mediflow-app .mf-bot .mf-tab.on svg .d{fill-opacity:.3!important}
body.mediflow-app .mf-bot .mf-tab .mf-tl,.mf-bot .mf-tl{font-size:12px!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tab-ico{width:56px!important;height:56px!important;margin-top:-28px!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tab-ico svg{width:30px!important;height:30px!important}
body.mediflow-app .mf-bot .mf-tab-rx svg .d{fill:#fff!important;fill-opacity:.25!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tl{font-size:12px!important}
body.mediflow-app .mf-bot .mf-cc{top:-5px!important;right:-9px!important;left:auto!important;font-size:10px!important;min-width:16px;line-height:1.3;box-shadow:0 0 0 2px #fff}
/* Standalone WhatsApp FAB */
/* Contact hierarchy: WhatsApp remains available in the menu; the prescription/consult FAB is the only persistent action. */
/* 3.23.2: WhatsApp FAB is visible again (styled in the 3.23.2 block) */
/* Hide legacy float only; #ph-open-btn is the green استشرني FAB from prescription module */
#sma-h10-float{position:fixed!important;left:-9999px!important;top:0!important;opacity:0!important;pointer-events:none!important;visibility:hidden!important}
.mf-ov{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9995;opacity:0;pointer-events:none;transition:opacity .2s}
.mf-ov.is-on{opacity:1;pointer-events:auto}
.mf-ly{position:fixed;z-index:99999;background:var(--wh);transition:transform .25s ease;display:flex;flex-direction:column;overflow:hidden}
.mf-dr{top:0;bottom:0;width:86%;max-width:360px;padding-top:env(safe-area-inset-top,0px)}
#mf-layer-menu{right:0;transform:translateX(105%);box-shadow:-4px 0 24px rgba(0,0,0,.12)}#mf-layer-cart{left:0;transform:translateX(-105%);box-shadow:4px 0 24px rgba(0,0,0,.12)}
.mf-ly.is-open{transform:translateX(0)!important}
.mf-sh{left:0;right:0;bottom:0;max-height:90vh;max-height:90dvh;border-radius:18px 18px 0 0;transform:translateY(100%);z-index:99999}
.mf-sh.is-open{transform:translateY(0)!important}
.mf-hd{width:36px;height:4px;background:var(--bd);border-radius:2px;margin:10px auto;flex-shrink:0}
.mf-lh{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--bd);font-weight:700;font-size:15px;color:var(--tx);flex-shrink:0;background:var(--wh)}
.mf-x{background:0;border:0;color:var(--mu);cursor:pointer;padding:6px}.mf-lb{padding:14px 16px;overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.mf-lf{padding:12px 14px;border-top:1px solid var(--bd);flex-shrink:0}
.mf-li{display:flex;align-items:center;gap:10px;padding:12px 0;text-decoration:none;color:var(--tx);background:0;border:0;width:100%;font-size:14px;cursor:pointer;text-align:right;border-bottom:1px solid var(--bd)}
.mf-user{padding:14px;background:var(--pgl);border-radius:var(--r);margin-bottom:14px}
.mf-btn{display:block;width:100%;background:var(--pg);color:#fff;border:0;border-radius:10px;padding:14px;font-weight:700;text-align:center;text-decoration:none;font-size:15px;cursor:pointer;margin-bottom:8px;box-sizing:border-box}
.mf-bs{display:inline-block;background:var(--pg);color:#fff;padding:7px 12px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:600;margin-top:6px}
.mf-em{text-align:center;color:var(--mu);padding:24px 0}.mf-last{background:var(--pgl);padding:12px;border-radius:10px;margin-top:12px}
.mf-ship{background:var(--pgl);padding:10px;border-radius:10px;margin-bottom:10px;font-size:12px}.mf-ship.done{background:#dcfce7}
.mf-ship-t{color:var(--pg);font-weight:600;margin-bottom:5px}.mf-ship.done .mf-ship-t{color:#15803d}
.mf-ship-b{height:5px;background:#cbd5e1;border-radius:3px;overflow:hidden}.mf-ship-b span{display:block;height:100%;background:var(--pg);transition:width .3s;border-radius:3px}.mf-ship.done .mf-ship-b span{background:#16a34a}
.mf-cshare{background:var(--pg);color:#fff;border:0;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.mf-cshare[hidden]{display:none}
.mf-cp{display:flex;gap:8px;margin-bottom:10px}.mf-cp-in{flex:1;border:1px solid var(--bd);border-radius:8px;padding:8px 10px;font-size:13px}
.mf-cp-btn{background:var(--pgl);color:var(--pg);border:0;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.mf-note-box{margin:12px 0;padding:10px;background:var(--bg);border-radius:10px;border:1px solid var(--bd)}
.mf-note-lbl{display:block;font-size:12px;font-weight:600;color:var(--tx);margin-bottom:6px}
.mf-note-in{width:100%;border:1px solid var(--bd);border-radius:8px;padding:8px 10px;font-size:13px;font-family:inherit;resize:vertical;min-height:52px;box-sizing:border-box;direction:rtl}
.mf-note-btn{margin-top:6px;background:var(--pgl);color:var(--pg);border:0;border-radius:8px;padding:7px 12px;font-size:12px;font-weight:600;cursor:pointer}
.mf-recs{margin:14px 0 8px}
.mf-recs-t{font-size:14px;font-weight:700;color:var(--tx);margin-bottom:8px}
.mf-recs-list{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px}
.mf-recs-list .mf-mc{flex:0 0 120px;display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--tx);background:#fff;border:1px solid var(--bd);border-radius:10px;padding:8px;font-size:11px}
.mf-recs-list .mf-mc-img{width:70px;height:70px}.mf-recs-list .mf-mc-img img{width:100%;height:100%;object-fit:contain}
.mf-recs-list .mf-mc strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0;line-height:1.3}
.mf-recs-list .mf-mc-p{color:var(--pg);font-weight:700;font-size:12px}
.mf-del{display:flex;align-items:center;gap:6px;font-size:13px;margin:10px 0;color:var(--tx);flex-wrap:wrap}
.mf-cod{background:#dcfce7;color:#15803d;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}
.mf-acts{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}
.mf-share{display:inline-flex;align-items:center;gap:5px;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:600;border:0;cursor:pointer;background:var(--pg);color:#fff}
.mf-st{position:fixed;bottom:var(--nb);left:0;right:0;background:var(--wh);border-top:1px solid var(--bd);padding:8px 12px;display:flex;align-items:center;z-index:9980;box-shadow:0 -2px 10px rgba(0,0,0,.06)}
.mf-st-i{width:38px;height:38px;margin-left:10px;flex-shrink:0}.mf-st-i img{width:100%;height:100%;object-fit:contain;border-radius:6px}
.mf-st-n{flex:1;display:flex;flex-direction:column;font-size:12px}.mf-st-n span{color:var(--pg);font-weight:700}
.mf-st-b{background:var(--pg);color:#fff;border:0;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:700;cursor:pointer}
.mf-toast{position:fixed;bottom:calc(var(--nb) + 16px);left:50%;transform:translateX(-50%);background:#1e293b;color:#fff;padding:9px 18px;border-radius:18px;font-size:13px;z-index:999999;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.mf-toast[hidden]{display:none}
.woocommerce-checkout [id$="_area_field"]{display:none!important}
.mf-sk{height:100px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:pgsk 1.1s infinite;border-radius:10px}
@keyframes pgsk{0%{background-position:200% 0}100%{background-position:-200% 0}}
.mf-i{display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;color:inherit}
.mf-qv{position:relative}.mf-qv-img img{width:100%;max-height:200px;object-fit:contain}
.mf-qv-b{padding:10px 0}.mf-qv-b h2{font-size:16px;margin:0 0 6px;color:var(--tx)}
.mf-qv-pr{color:var(--pg);font-weight:700;font-size:17px;margin:6px 0}
.mf-qv-a{display:block;text-align:center;margin-top:10px}.mf-qv-l{display:block;text-align:center;margin-top:8px;color:var(--pg);font-size:13px}
.mf-mc{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid var(--bd);text-decoration:none;color:var(--tx)}
.mf-mc-img{width:46px;height:46px;flex-shrink:0}.mf-mc-img img{width:100%;height:100%;object-fit:contain;border-radius:6px}
.mf-mc-p{color:var(--pg);font-weight:700;font-size:13px}
/* v3.20.15: compact header, accessible search suggestions and cleaner floating-action hierarchy */
body.mediflow-app #mf-h{padding-bottom:8px!important;box-shadow:0 3px 14px rgba(15,23,42,.08)}
body.mediflow-app .mf-top{min-height:34px!important}
body.mediflow-app .mf-brand{padding:5px 12px 9px!important;gap:9px!important}
body.mediflow-app .mf-brand-logo{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;object-fit:contain!important;border:2px solid rgba(255,255,255,.92)!important;border-radius:13px!important;background:#fff!important;padding:2px!important;box-shadow:0 3px 10px rgba(0,35,90,.2)!important}
body.mediflow-app #mf-coll-slot:empty{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
body.mediflow-app .mf-brand-t strong{font-size:clamp(18px,4.8vw,23px)!important;line-height:1.2!important}
body.mediflow-app .mf-brand-t span{font-size:12px!important;line-height:1.35!important}
body.mediflow-app .mf-sb{padding:0 12px 3px!important}
body.mediflow-app .mf-sf{min-height:48px!important;border-radius:18px!important;box-shadow:0 2px 10px rgba(15,23,42,.08)!important}
body.mediflow-app .mf-sin{font-size:15px!important;min-width:0!important}
body.mediflow-app .mf-live{z-index:10010!important;max-height:min(58vh,440px)!important;overflow:auto!important;border:1px solid #e2e8f0!important;border-radius:0 0 16px 16px!important;box-shadow:0 12px 28px rgba(15,23,42,.16)!important;background:#fff!important}
body.mediflow-app .mf-li-item{min-height:66px!important;gap:10px!important;padding:10px 12px!important}
body.mediflow-app .mf-li-ing{display:block;color:#64748b;font-size:11px;line-height:1.4;margin-top:2px}
body.mediflow-app .mf-li-p{display:block;margin-top:3px}
body.mediflow-app .mf-la{display:block;padding:12px;text-align:center;font-weight:800;color:#075fba;background:#f1f7ff}
body.mediflow-app .mf-bot{box-shadow:0 -3px 18px rgba(15,23,42,.09)!important}
body.mediflow-app #ph-consult-btn{max-width:min(168px,44vw)!important;padding:11px 14px!important;font-size:13px!important;white-space:nowrap!important}
@media(min-width:768px){body.mediflow-app #mf-h{max-width:100%;}body.mediflow-app .mf-live{max-width:720px;margin-inline:auto}}
@media(max-width:380px){body.mediflow-app .mf-brand-t span{display:none!important}body.mediflow-app .mf-bot .mf-tab .mf-tl{font-size:10px!important}}
/* ===== 3.25.0 share cart ===== */
.mf-cshare-bar{display:flex;width:100%;justify-content:center;padding:10px 12px;font-size:13px;margin:0 0 8px;border-radius:10px;background:#e8f1fb;color:var(--pg)}
.mf-cshare-bar[hidden]{display:none}
.mf-sh-lbl{display:block;font-size:13px;font-weight:600;margin:12px 0 4px}
.mf-sh-in{display:block;width:100%;padding:11px 12px;border:1px solid var(--bd);border-radius:10px;font-size:15px;direction:ltr;text-align:left;background:#fff;box-sizing:border-box}
.mf-sh-chk{display:flex;gap:8px;align-items:center;font-size:13px;margin:12px 0}
.mf-sh-hint{font-size:12px;color:var(--mu);margin:6px 0 0;line-height:1.6}
.mf-sh-msg{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#e8f5e9;color:#1b5e20;font-size:13px;line-height:1.7}
.mf-sh-msg.bad{background:#fff3e0;color:#e65100}
.mf-sh-msg[hidden],.mf-sh-out[hidden],#mf-sh-native[hidden]{display:none}
.mf-sh-out{margin-top:12px}
.mf-sh-row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.mf-sh-row .mf-btn{flex:1;min-width:90px;text-align:center;text-decoration:none;margin:0}
.mf-pend{display:block;background:#e8f5e9;color:#1b5e20;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;margin-bottom:10px;text-decoration:none;line-height:1.6}
/* ===== 3.25.3 Amazon-style product cards (tight stack) ===== */
.woocommerce ul.products{gap:8px!important;padding:8px!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{height:auto!important;padding:0 0 8px!important;border-radius:12px!important}
.woocommerce ul.products li.product img{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:1/1!important;padding:6px!important;object-fit:contain!important;background-color:#f8fafc!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{height:2.7em!important;min-height:2.7em!important;max-height:2.7em!important;margin:4px 8px 0!important;line-height:1.35!important;font-size:12.5px!important}
.woocommerce ul.products li.product .price{margin:3px 8px 2px!important;min-height:20px!important;font-size:15px!important}
.woocommerce ul.products li.product .mf-meta{margin:0 8px 4px!important;min-height:0!important}
.woocommerce ul.products li.product .mf-qty-wrap,.woocommerce ul.products li.product .mf-opts{margin:auto 8px 0!important;margin-top:auto!important}
.woocommerce ul.products li.product .mf-qty-wrap{padding-top:0;height:40px!important;border-radius:10px!important}.hp-grid-wrap{width:100%!important;max-width:100%!important;margin:16px 0 22px;padding:0 8px;box-sizing:border-box;direction:rtl}
.hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important;padding:8px 4px 14px;direction:rtl}
.hp-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;background:transparent;border:0;box-shadow:none;text-decoration:none!important;color:#1a2f38!important;-webkit-tap-highlight-color:transparent;transition:transform .2s ease}
.hp-card:active{transform:scale(.96)}
.hp-img{width:100%;max-width:110px;aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:#fff;border:3px solid #fff;box-shadow:0 0 0 2px #dbe9ee,0 6px 14px rgba(13,71,161,.12);transition:box-shadow .2s ease,transform .2s ease}
.hp-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%;transition:transform .35s ease}
.hp-card span{text-align:center;font-weight:700;font-size:13px;line-height:1.4;min-height:2.8em;font-family:"Cairo","Tajawal",system-ui,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.hp-cnt{display:inline-block;padding:2px 10px;border-radius:999px;background:#eaf3ff;color:#0d47a1;font-size:11px;font-weight:700;line-height:1.6;font-family:"Cairo","Tajawal",system-ui,sans-serif;white-space:nowrap}
@media(min-width:640px){.hp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 14px}.hp-img{max-width:116px}.hp-card span{font-size:14px}}
@media(min-width:960px){.hp-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 18px}.hp-img{max-width:128px}.hp-card span{font-size:14.5px}}
@media(hover:hover) and (pointer:fine){.hp-card:hover .hp-img{box-shadow:0 0 0 2px #0d47a1,0 8px 18px rgba(13,71,161,.2);transform:translateY(-2px)}.hp-card:hover .hp-img img{transform:scale(1.08)}}
.hp-ch{margin:12px 8px 16px;direction:rtl;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.hp-ch-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hp-ch h1{margin:0;font-size:22px;font-weight:800;line-height:1.3;color:#14323f}
.hp-ch-n{padding:3px 12px;border-radius:999px;background:#eaf3ff;color:#0d47a1;font-size:13px;font-weight:700;white-space:nowrap}
.hp-chips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hp-chips::-webkit-scrollbar{display:none}
.hp-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:#fff;border:1px solid #dbe9ee;color:#1a2f38!important;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none!important;white-space:nowrap}
.hp-chip small{color:#6b7f88;font-size:11.5px;font-weight:600}
.hp-chip.is-on{background:#0d47a1;border-color:#0d47a1;color:#fff!important}.hp-chip.is-on small{color:#cfe0ff}
.hp-flt{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.hp-flt select,.hp-flt input[type=number]{height:40px;min-width:0;padding:0 10px;border:1px solid #dbe9ee;border-radius:12px;background:#fff;color:#1a2f38;font:600 13px "Cairo","Tajawal",system-ui,sans-serif}
.hp-flt select{flex:1 1 140px}
.hp-stk{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#1a2f38}
.hp-pr{display:flex;align-items:center;gap:6px;flex:1 1 100%}.hp-pr input{flex:1 1 0;width:100%}
.hp-flt button,.hp-rst{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:12px;font:700 13px "Cairo","Tajawal",system-ui,sans-serif;text-decoration:none!important;cursor:pointer}
.hp-flt button{border:0;background:#0d47a1;color:#fff}.hp-rst{background:#f1f5f7;color:#1a2f38!important}
@media(min-width:640px){.hp-pr{flex:0 0 auto}.hp-flt select{flex:0 0 auto}}
.woocommerce-result-count,.woocommerce-ordering,.woocommerce-loop-category__title .count,.woocommerce-loop-category__title mark,.product-category .count{display:none!important}
.hp-prob{margin:12px 8px 4px;direction:rtl;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.hp-prob h3{margin:0 0 8px;font-size:15px;font-weight:800;color:#14323f}
.hp-pchips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hp-pchips::-webkit-scrollbar{display:none}
.hp-pchip{flex:0 0 auto;padding:8px 16px;border-radius:999px;background:#eaf3ff;border:1px solid #cfe0ff;color:#0d47a1!important;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none!important;white-space:nowrap}
.hp-pchip:active{background:#0d47a1;color:#fff!important}
.hp-flt .hp-q{flex:1 1 100%;height:42px;padding:0 14px;border:1px solid #dbe9ee;border-radius:12px;background:#fff;color:#1a2f38;font:600 13px "Cairo","Tajawal",system-ui,sans-serif;box-sizing:border-box}
.hp-pchip small{margin-inline-start:6px;font-size:11px;font-weight:700;opacity:.75}
.hp-quick{display:flex;gap:8px;margin:12px 8px 6px;direction:rtl;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.hp-q-i{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 8px;border-radius:14px;font-size:13px;font-weight:800;line-height:1.2;text-decoration:none!important;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:transform .15s ease}
.hp-q-i:active{transform:scale(.97)}
.hp-q-offers{background:#fff1f0;color:#c62828!important;border:1px solid #ffd4d0}
.hp-q-best{background:#fff7e6;color:#b45309!important;border:1px solid #ffe2b0}
.hp-q-new{background:#eaf3ff;color:#0d47a1!important;border:1px solid #cfe0ff}

/* ===== 3.21.1 UX polish ===== */
/* 1) compact header on scroll */
html,body.mediflow-app{overflow-anchor:none}
body.mediflow-app .mf-brand{transition:opacity .15s ease;max-height:90px;overflow:hidden}
body.mediflow-app #mf-h{will-change:transform;contain:layout;overflow:visible!important}
/* 3.53.2 responsive pharmacy identity: crisp logo sizing from phone to desktop */
body.mediflow-app #mf-h .mf-brand{width:100%;min-width:0;min-height:54px;justify-content:flex-start;gap:clamp(8px,1.5vw,14px);padding:7px clamp(12px,2.5vw,24px) 9px!important}
body.mediflow-app #mf-h .mf-brand-logo{display:block;width:clamp(38px,5vw,58px)!important;height:clamp(38px,5vw,58px)!important;max-width:58px!important;max-height:58px!important;flex:0 0 auto;object-fit:contain!important;border-radius:clamp(10px,1.2vw,15px)!important;background:#fff!important;padding:3px!important}
body.mediflow-app #mf-h .mf-brand-t{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;text-align:right}
body.mediflow-app #mf-h .mf-brand-t strong{font-size:clamp(16px,2vw,24px)!important;line-height:1.18!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mediflow-app #mf-h .mf-brand-t span{font-size:clamp(10px,1.1vw,13px)!important;line-height:1.35!important;white-space:normal}
@media(min-width:768px){body.mediflow-app #mf-h .mf-brand{max-width:1180px;margin-inline:auto;min-height:68px}body.mediflow-app #mf-h .mf-brand-logo{width:58px!important;height:58px!important}}
@media(max-width:380px){body.mediflow-app #mf-h .mf-brand-t span{display:none!important}body.mediflow-app #mf-h .mf-brand-logo{width:36px!important;height:36px!important}}
/* 3.22.5: 3 categories per row, larger circles, ordered by demand */
.hp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 10px!important}
.hp-img{max-width:110px!important}
.hp-card span{font-size:13.5px!important}
@media(min-width:640px){.hp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.hp-img{max-width:120px!important}}
@media(min-width:960px){.hp-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.hp-img{max-width:130px!important}}
/* 3) product card icons: heart + eye + bookmark stacked on the left; sale badge stays on the right */
.woocommerce ul.products li.product .mf-act{width:28px!important;height:28px!important}
.woocommerce ul.products li.product .mf-sale{top:8px;right:8px;left:auto}
/* 4) full product name, no dead space above the add button */
.woocommerce ul.products li.product .woocommerce-loop-product__title{-webkit-line-clamp:3!important;height:auto!important;min-height:3.9em!important;max-height:none!important;font-size:13px!important}
.woocommerce ul.products li.product .mf-qty-wrap,.woocommerce ul.products li.product .mf-opts{margin:8px 10px 0!important}
.woocommerce ul.products{align-items:stretch}
/* hide product counts */
.hp-cnt,.hp-ch-n,.hp-chip small,.hp-pchip small{display:none!important}
/* 7) remove the empty gap above quick-view pages */
body.mediflow-app .woocommerce-products-header{margin:0!important;padding:0!important}
.hp-ch{margin-top:6px}
/* ===== 3.21.2 ===== */
.woocommerce ul.products li.product .mf-wish{top:8px!important}
.woocommerce ul.products li.product .mf-qvb{top:40px!important}
.woocommerce ul.products li.product .mf-saveb{top:72px!important}
.woocommerce ul.products li.product .mf-qvb,.woocommerce ul.products li.product .mf-saveb{display:flex!important}
.mf-av,.mf-urg{display:none!important}
.mf-meta{min-height:0}/* ===== 3.25.4 MediFlow card: li.mf-card > .mf-c-img (square) + .mf-c-body ===== */
.woocommerce ul.products,ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px!important;margin:0!important;list-style:none!important;align-items:stretch}
@media(min-width:700px){.woocommerce ul.products,ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}}
@media(min-width:1000px){.woocommerce ul.products,ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
body ul.products li.product.mf-card:not(#mfc){position:relative!important;display:flex!important;flex-direction:column!important;float:none!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important;text-align:right!important;list-style:none!important;top:auto!important;bottom:auto!important;transform:none!important;animation:none!important;opacity:1!important;visibility:visible!important}
body ul.products li.product.mf-card:not(#mfc)::before,body ul.products li.product.mf-card:not(#mfc)::after{content:none!important;display:none!important}
/* picture box: always a perfect square (padding-top trick, works on every WebView) */
body ul.products li.product.mf-card:not(#mfc) .mf-c-img{position:relative!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border-radius:0!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-img::before{content:""!important;display:block!important;width:100%!important;padding-top:100%!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-link{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:block!important;margin:0!important;padding:0!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-img img.mf-c-pic{position:absolute!important;top:0!important;left:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:8px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:transparent!important;font-size:0!important;line-height:0!important}
/* missing / broken picture: neutral placeholder, never a broken icon or alt text */
body ul.products li.product.mf-card:not(#mfc) .mf-c-img.mf-noimg{background:#f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='35' y='28' width='50' height='64' rx='6' fill='%23fff' stroke='%2394a3b8' stroke-width='2'/%3E%3Cpath d='M60 48v28M46 62h28' stroke='%2394a3b8' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/42% no-repeat!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-img.mf-noimg img.mf-c-pic{visibility:hidden!important}
/* text block */
body ul.products li.product.mf-card:not(#mfc) .mf-c-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:6px 8px 8px!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-t{order:1!important;display:block!important;margin:0!important;padding:0!important;color:inherit!important;text-decoration:none!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-c-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;margin:0!important;padding:0!important;height:auto!important;min-height:2.8em!important;max-height:none!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;color:#0f172a!important;text-align:start!important;word-break:break-word!important;text-transform:none!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-c-price{order:2!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:0 6px!important;margin:4px 0 0!important;padding:0!important;min-height:20px!important;font-size:15px!important;font-weight:800!important;line-height:1.3!important;color:var(--pg,#0066cc)!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-c-price:empty{display:none!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-c-price ins{order:1;background:none!important;text-decoration:none!important;color:var(--pg,#0066cc)!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-c-price del{order:2;color:#94a3b8!important;font-size:11px!important;font-weight:400!important;opacity:1!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-meta{order:3!important;display:flex!important;margin:2px 0 0!important;padding:0!important;min-height:0!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-meta:empty{display:none!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-body .mf-ing{flex:1 0 100%!important;max-width:100%!important;font-size:10.5px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
/* cart control sits at the bottom of every card, so buttons line up in a row */
body ul.products li.product.mf-card:not(#mfc) .mf-c-act{order:4!important;margin:auto 0 0!important;padding:8px 0 0!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-act .mf-qty-wrap,body ul.products li.product.mf-card:not(#mfc) .mf-c-act .mf-opts{margin:0!important;height:40px!important;border-radius:10px!important}
/* badges + round action buttons are positioned against the picture box */
body ul.products li.product.mf-card:not(#mfc) .mf-c-img .mf-sale{top:8px!important;right:8px!important;left:auto!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-img .mf-act{z-index:4!important}
.mf-sale{direction:ltr;unicode-bidi:isolate}
/* floating buttons: on product grids the green "استشرني" pill shrinks to an icon and every floating button hides while scrolling, so they never cover titles / prices / cart buttons */
body.mediflow-app.mf-has-grid #ph-consult-btn,body.mediflow-app.mf-has-grid #ph-open-btn{font-size:0!important;gap:0!important;padding:8px!important;width:auto!important;max-width:none!important;border-radius:999px!important}
body.mediflow-app.mf-has-grid #hp-wa-fab{width:44px!important;height:44px!important;opacity:.72!important}
body.mediflow-app.mf-has-grid #hp-wa-fab svg{width:25px!important;height:25px!important}
body.mediflow-app.mf-has-grid #ph-consult-btn,body.mediflow-app.mf-has-grid #ph-open-btn{opacity:.72!important;transform:scale(.88);transform-origin:left bottom}
body.mediflow-app.mf-has-grid .mf-stacked{width:38px!important;height:38px!important;min-width:0!important;opacity:.72!important}
body.mediflow-app.mf-has-grid #ph-consult-btn>*,body.mediflow-app.mf-has-grid #ph-open-btn>*{display:none!important}
body.mediflow-app #ph-consult-btn,body.mediflow-app #ph-open-btn,body.mediflow-app #hp-wa-fab,body.mediflow-app .mf-lifted,body.mediflow-app .mf-stacked{transition:opacity .15s ease}
body.mediflow-app.mf-scrolling #ph-consult-btn,body.mediflow-app.mf-scrolling #ph-open-btn,body.mediflow-app.mf-scrolling #hp-wa-fab,body.mediflow-app.mf-scrolling .mf-lifted,body.mediflow-app.mf-scrolling .mf-stacked,body.mediflow-app.mf-scrolling #ast-scroll-top{opacity:0!important;pointer-events:none!important}
/* 3.25.8 */
body ul.products li.product.mf-card:not(#mfc) .mf-c-img::before{padding-top:88%!important}
body ul.products li.product.mf-card:not(#mfc) .mf-c-img img.mf-c-pic{padding:4px!important}
body.mediflow-app.mf-has-grid #ast-scroll-top,body.mediflow-app.mf-has-grid .ast-scroll-top-icon,body.mediflow-app.mf-has-grid .scrollToTop,body.mediflow-app.mf-has-grid #scroll-top{display:none!important}
body.mediflow-app.mf-has-grid #hp-wa-fab{right:4px!important;width:40px!important;height:40px!important;opacity:.6!important}
body.mediflow-app.mf-has-grid #hp-wa-fab svg{width:22px!important;height:22px!important}
body.mediflow-app.mf-has-grid #ph-consult-btn,body.mediflow-app.mf-has-grid #ph-open-btn{left:4px!important;opacity:.6!important}
/* 3.23.1: protect home category content from fixed controls and phone safe areas */
body.mediflow-app .hp-grid-wrap{padding-bottom:8px!important}
body.mediflow-app .hp-grid-wrap:not(:has(+ .mf-brands)),body.mediflow-app .mf-brands{padding-bottom:8px!important}
body.mediflow-app .mf-brands:last-child{padding-bottom:calc(var(--nb,66px) + 24px + env(safe-area-inset-bottom,0px))!important}
body.mediflow-app .hp-grid{padding-bottom:24px!important}
body.mediflow-app .hp-card{min-width:0}
body.mediflow-app .hp-img{aspect-ratio:1/1;overflow:hidden;border-radius:50%;display:flex;align-items:center;justify-content:center}
body.mediflow-app .hp-img img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}
body.mediflow-app .mf-bot{padding-bottom:env(safe-area-inset-bottom,0px)!important}
body.mediflow-app #ph-open-btn,body.mediflow-app #ph-consult-btn{z-index:9975!important;max-width:min(190px,48vw)!important}
@media(max-width:480px){body.mediflow-app #ph-open-btn,body.mediflow-app #ph-consult-btn{font-size:14px!important;padding:12px 16px!important}}
/* 3.23.2: floating buttons always sit ABOVE the bottom nav: WhatsApp (right), loyalty gift (right, above WhatsApp), استشرني (left, with logo) */
body.mediflow-app{--mf-fab-gap:14px;--mf-fab-bottom:calc(var(--nb,66px) + 14px)}
body.mediflow-app #hp-wa-fab{display:flex!important;align-items:center;justify-content:center;position:fixed!important;right:var(--mf-fab-gap)!important;left:auto!important;bottom:var(--mf-fab-bottom)!important;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#2fe074,#12b04a)!important;color:#fff;box-shadow:0 6px 18px rgba(18,176,74,.5),0 0 0 3px #fff;z-index:9978!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
body.mediflow-app #hp-wa-fab svg{width:30px;height:30px;fill:#fff}
body.mediflow-app #hp-wa-fab:active{transform:scale(.94)}
body.mediflow-app.mf-has-ext-wa #hp-wa-fab{display:none!important}
body.mediflow-app .mf-lifted{position:fixed!important;top:auto!important;bottom:var(--mf-fab-bottom)!important;z-index:9977!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;display:flex!important}
/* استشرني: bright, high-contrast colour + pharmacy logo */
body.mediflow-app #ph-consult-btn,body.mediflow-app #ph-open-btn{display:inline-flex!important;align-items:center!important;gap:9px!important;flex-direction:row!important;position:fixed!important;left:var(--mf-fab-gap)!important;right:auto!important;bottom:var(--mf-fab-bottom)!important;background:linear-gradient(135deg,#ff9a1f 0%,#ff5a36 100%)!important;color:#fff!important;border:2.5px solid #fff!important;border-radius:999px!important;box-shadow:0 6px 18px rgba(255,90,54,.5)!important;font-weight:800!important;text-shadow:0 1px 1px rgba(0,0,0,.18);opacity:1!important;visibility:visible!important;pointer-events:auto!important;font-family:"Cairo","Tajawal",system-ui,sans-serif!important}
body.mediflow-app #ph-consult-btn>svg,body.mediflow-app #ph-consult-btn>img,body.mediflow-app #ph-consult-btn>i,body.mediflow-app #ph-open-btn>svg,body.mediflow-app #ph-open-btn>img,body.mediflow-app #ph-open-btn>i{display:none!important}
body.mediflow-app #ph-consult-btn::before,body.mediflow-app #ph-open-btn::before{content:"";order:2;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#fff url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0MCA0MCc+PGNpcmNsZSBjeD0nMjAnIGN5PScyMCcgcj0nMTknIGZpbGw9J3doaXRlJy8+PHBhdGggZD0nTTIwIDdhMTMgMTMgMCAxIDAgMCAyNmgxLjJMMjcgMzZ2LTQuNEExMyAxMyAwIDAgMCAyMCA3eicgZmlsbD0nIzAwNjZjYycvPjxyZWN0IHg9JzE4JyB5PScxMi41JyB3aWR0aD0nNCcgaGVpZ2h0PScxNScgcng9JzEuMicgZmlsbD0nd2hpdGUnLz48cmVjdCB4PScxMi41JyB5PScxOCcgd2lkdGg9JzE1JyBoZWlnaHQ9JzQnIHJ4PScxLjInIGZpbGw9J3doaXRlJy8+PGNpcmNsZSBjeD0nMzEnIGN5PSc5JyByPSc0LjInIGZpbGw9JyMxMmIwNGEnLz48cGF0aCBkPSdNMjkuMiA5bDEuNCAxLjQgMi40LTIuNicgc3Ryb2tlPSd3aGl0ZScgc3Ryb2tlLXdpZHRoPScxLjMnIGZpbGw9J25vbmUnIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPjwvc3ZnPg==") center/26px 26px no-repeat;box-shadow:0 1px 4px rgba(0,0,0,.25)}
body.mediflow-app #ph-consult-btn:active{transform:scale(.96)}
/* 3.23.2b: bottom-nav labels fully visible (Cairo needs taller line boxes), roomier nav, tidier grid spacing */
:root{--nh:68px}
body.mediflow-app .mf-bot,.mf-bot{align-items:stretch!important;overflow:visible!important}
body.mediflow-app .mf-bot .mf-tab,.mf-bot .mf-tab{justify-content:flex-start!important;padding:9px 2px 4px!important;gap:3px!important;height:100%!important;overflow:visible!important;line-height:1.5!important}
body.mediflow-app .mf-bot .mf-tab .mf-tl,.mf-bot .mf-tl{overflow:visible!important;text-overflow:clip!important;line-height:1.7!important;height:auto!important;min-height:20px!important;padding:0 2px 2px!important;font-size:12px!important;white-space:nowrap!important;display:block!important}
body.mediflow-app .mf-bot .mf-tab-ico,.mf-bot .mf-tab-ico{flex:0 0 auto!important;height:30px!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tab-ico{margin-top:-26px!important;margin-bottom:0!important}
body.mediflow-app .mf-bot .mf-tab-rx .mf-tl{overflow:visible!important;font-size:12px!important;line-height:1.7!important}
@media(max-width:380px){body.mediflow-app .mf-bot .mf-tab .mf-tl{font-size:10.5px!important}}
body.mediflow-app .hp-grid{row-gap:26px!important;column-gap:12px!important}
body.mediflow-app .hp-card span{min-height:2.9em!important;line-height:1.45!important;padding:0 2px}
body.mediflow-app .mf-stacked{display:flex}
body.mediflow-app [class*="wlr-launcher"] [class*="close"],body.mediflow-app [id*="wlr-launcher"] [class*="close"],body.mediflow-app [class*="launcher"][class*="close"]{display:none!important}
body.mediflow-app #ph-consult-btn,body.mediflow-app #ph-open-btn{z-index:9979!important}
/* 3.27.0: stable first paint (reserved boxes + soft placeholder instead of white), demand sections, search suggestions */
body.mediflow-app .hp-img{background:#eaf2f8}
body.mediflow-app .mf-bimg{background:#eaf2f8;aspect-ratio:1/1}
body.mediflow-app .mf-bimg img{opacity:1}
body.mediflow-app .hp-card{contain:layout style}
.mf-hot{margin:6px 0 4px;direction:rtl}
.mf-hot-h{display:flex;align-items:center;justify-content:space-between;margin:16px 10px 6px;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.mf-hot-h h3{margin:0;font-size:16px;font-weight:800;color:#14323f}
.mf-hot-h a{font-size:13px;font-weight:700;color:#075fba;text-decoration:none}
.mf-hot-wrap{padding-bottom:calc(var(--nb,66px) + 24px + env(safe-area-inset-bottom,0px))}
.mf-pop-h{padding:10px 14px 2px;font-size:12px;font-weight:800;color:#64748b;direction:rtl}
/* 3.28.0: bigger brand tiles, products open under the strip, collections in one swipe rail */
body.mediflow-app .mf-brands .mf-bscroll{gap:12px;padding:6px 10px 12px}
body.mediflow-app .mf-brands .mf-bcard{flex:0 0 clamp(150px,44vw,210px);gap:8px}
body.mediflow-app .mf-brands .mf-bimg{width:100%;height:auto;aspect-ratio:1/1;border-radius:20px}
body.mediflow-app .mf-brands .mf-bcard b{font-size:16px;font-weight:800;max-width:100%}
body.mediflow-app .mf-brands .mf-bcard.is-on b{color:#075fba}
body.mediflow-app .mf-brands .mf-bcard.is-on .mf-bimg{box-shadow:0 0 0 3px #075fba,0 8px 20px rgba(7,95,186,.25)}
.mf-bpanel{margin:2px 8px 6px;padding:10px 8px 12px;background:#fff;border:1px solid #dbe9ee;border-radius:18px;box-shadow:0 6px 18px rgba(13,71,161,.08);direction:rtl}
.mf-bpanel[hidden]{display:none}
.mf-bp-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 6px 8px;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.mf-bp-h b{font-size:16px;font-weight:800;color:#14323f}
.mf-bp-h a{font-size:13px;font-weight:700;color:#075fba;text-decoration:none;white-space:nowrap}
.mf-bp-more{display:block;width:calc(100% - 12px);margin:10px 6px 0;padding:12px;border:1px solid #075fba;border-radius:12px;background:#f1f7ff;color:#075fba;font-weight:800;font-size:14px;font-family:inherit}
.mf-bp-load{padding:26px;text-align:center;color:#64748b;font-size:14px}
.mf-coll{margin:4px 0 6px;direction:rtl}
.mf-coll-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 8px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mf-coll-rail::-webkit-scrollbar{display:none}
.mf-coll-rail>.hsc-wrap,.mf-coll-rail>.eoc-wrap{flex:0 0 86%;max-width:420px;scroll-snap-align:center;margin:0}
.mf-coll-rail .hsc-slider,.mf-coll-rail .eoc-slider{margin:0!important;border-radius:18px;box-shadow:0 5px 14px rgba(15,40,80,.16)}
.mf-coll-rail .hsc-slide,.mf-coll-rail .eoc-slide{min-height:116px;padding:14px 16px 26px}
.mf-coll-rail .hsc-wrap .hsc-t,.mf-coll-rail .eoc-wrap .eoc-t{font-size:clamp(16px,4.6vw,21px)}
.mf-coll-rail .hsc-wrap .hsc-s,.mf-coll-rail .eoc-wrap .eoc-s{font-size:clamp(11px,3.1vw,13px);margin-bottom:8px}
.mf-coll-rail .hsc-ico,.mf-coll-rail .eoc-ico{width:clamp(44px,12vw,70px)}
.hsc-sheet .hsc-panel,.eoc-sheet .eoc-panel{height:92vh;max-height:92vh}
.hsc-body ul.products{gap:8px}
/* 3.30.0: collections first, tidy professional cards, position dots */
.mf-coll{margin:10px 0 4px}
.mf-coll>.hp-sec{margin:6px 12px 8px}
body.mediflow-app .mf-coll-rail{gap:12px;padding:2px 12px 6px;scroll-padding-inline:12px;align-items:stretch}
body.mediflow-app .mf-coll-rail>.hsc-wrap,body.mediflow-app .mf-coll-rail>.eoc-wrap{flex:0 0 min(86%,340px)!important;max-width:none!important;display:flex}
body.mediflow-app .mf-coll-rail .hsc-slider,body.mediflow-app .mf-coll-rail .eoc-slider{width:100%;height:100%;border-radius:20px}
body.mediflow-app .mf-coll-rail .hsc-slide,body.mediflow-app .mf-coll-rail .eoc-slide{min-height:0!important;height:100%;padding:14px 14px 26px!important;box-sizing:border-box}
body.mediflow-app .mf-coll-rail .hsc-t,body.mediflow-app .mf-coll-rail .eoc-t{font-size:clamp(15px,4.4vw,19px)!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:normal;overflow-wrap:anywhere}
body.mediflow-app .mf-coll-rail .hsc-s,body.mediflow-app .mf-coll-rail .eoc-s{font-size:clamp(11.5px,3.2vw,13px)!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px!important}
body.mediflow-app .mf-coll-rail .hsc-slide [class*="btn"],body.mediflow-app .mf-coll-rail .eoc-slide [class*="btn"],body.mediflow-app .mf-coll-rail .hsc-slide [class*="cta"],body.mediflow-app .mf-coll-rail .eoc-slide [class*="cta"]{padding:7px 14px!important;font-size:12.5px!important;line-height:1.3!important;min-height:0!important;width:auto!important;max-width:100%}
.mf-coll-dots{display:flex;justify-content:center;gap:6px;padding:4px 0 2px}
.mf-coll-dots button{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:#c5d6e4;cursor:pointer;transition:width .2s,background .2s}
.mf-coll-dots button.on{width:20px;background:#075fba}
/* 3.31.0: one header row (menu beside search), one set of dots on the collections, skeleton while images load, brand names never break */
body.mediflow-app .mf-sb{display:flex!important;align-items:center;gap:6px;padding:8px 8px 6px 12px!important}
body.mediflow-app .mf-sb .mf-ib{flex:0 0 auto;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;margin:0}
body.mediflow-app .mf-sb .mf-sf{flex:1 1 0;min-width:0}
body.mediflow-app .mf-coll-rail .hsc-wrap [class*="dot"],body.mediflow-app .mf-coll-rail .eoc-wrap [class*="dot"],body.mediflow-app .mf-coll-rail .hsc-wrap [class*="pager"],body.mediflow-app .mf-coll-rail .eoc-wrap [class*="pager"],body.mediflow-app .mf-coll-rail .hsc-wrap [class*="bullet"],body.mediflow-app .mf-coll-rail .eoc-wrap [class*="bullet"]{display:none!important}
bdi.mf-lat{white-space:nowrap;unicode-bidi:isolate;direction:ltr}
@keyframes mfsh{0%{background-position:200% 0}100%{background-position:-200% 0}}
body.mediflow-app .hp-img.mf-sk,body.mediflow-app .mf-bimg.mf-sk{background:linear-gradient(100deg,#e3edf5 30%,#f5f9fc 50%,#e3edf5 70%)!important;background-size:200% 100%;animation:mfsh 1.3s linear infinite}
body.mediflow-app .hp-img.mf-sk img,body.mediflow-app .mf-bimg.mf-sk img{opacity:0}
@media(prefers-reduced-motion:reduce){body.mediflow-app .hp-img.mf-sk,body.mediflow-app .mf-bimg.mf-sk{animation:none}}
/* 3.32.0: sticky category chips, brand search / sort / badges, personalised collections */
body.mediflow-app .mf-chips{display:none}
body.mediflow-app #mf-h.mf-chips-on .mf-chips{display:block}
.mf-chips-in{display:flex;gap:8px;overflow-x:auto;padding:2px 12px 9px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mf-chips-in::-webkit-scrollbar{display:none}
.mf-chip{flex:0 0 auto;padding:6px 14px;border-radius:99px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);color:#fff!important;font-family:"Cairo","Tajawal",system-ui,sans-serif;font-size:13px;font-weight:700;line-height:1.4;text-decoration:none!important;white-space:nowrap}
.mf-chip.on{background:#fff;color:#075fba!important;border-color:#fff}
.mf-btools{display:flex;gap:8px;align-items:center;margin:0 12px 8px}
.mf-bq{flex:1 1 0;min-width:0;height:40px;border:1px solid #cfe0ea;border-radius:12px;padding:0 12px;font-size:16px;background:#fff;direction:rtl;font-family:"Cairo","Tajawal",system-ui,sans-serif}
.mf-bsort{flex:0 0 auto;height:40px;padding:0 14px;border:1px solid #075fba;border-radius:12px;background:#f1f7ff;color:#075fba;font-weight:800;font-size:13px;font-family:"Cairo","Tajawal",system-ui,sans-serif;cursor:pointer}
.mf-bsort.on{background:#075fba;color:#fff}
.mf-bempty{margin:2px 14px 10px;color:#64748b;font-size:13px}
.mf-bempty[hidden],.mf-bcard[hidden]{display:none!important}
body.mediflow-app .mf-bimg{position:relative}
.mf-bdg{position:absolute;top:8px;inset-inline-start:8px;z-index:2;font-style:normal;font-weight:800;font-size:11px;line-height:1;padding:5px 9px;border-radius:99px;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.22);font-family:"Cairo","Tajawal",system-ui,sans-serif}
.mf-bdg-best{background:linear-gradient(135deg,#ff9a1f,#ff5a36)}
.mf-bdg-new{background:#12b04a}
.mf-for-you{position:absolute;top:10px;left:10px;z-index:5;background:#fff;color:#075fba;font-family:"Cairo","Tajawal",system-ui,sans-serif;font-size:11px;font-weight:800;line-height:1;padding:5px 10px;border-radius:99px;box-shadow:0 2px 8px rgba(0,0,0,.2)}
/* 3.33.0: product pictures never stay as an empty grey box */
ul.products li.product.mf-card .mf-c-img.mf-sk{background:linear-gradient(100deg,#e3edf5 30%,#f5f9fc 50%,#e3edf5 70%)!important;background-size:200% 100%!important;animation:mfsh 1.3s linear infinite}
ul.products li.product.mf-card .mf-c-img.mf-sk img.mf-c-pic{opacity:0!important}
@media(prefers-reduced-motion:reduce){ul.products li.product.mf-card .mf-c-img.mf-sk{animation:none}}
/* 3.29.0: smaller category circles (4 per row, 5 on wide phones / foldables), single cart, labelled chat button */
body.mediflow-app .hp-grid{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:14px 0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:6px 0 20px!important;box-sizing:border-box}
body.mediflow-app .hp-grid .hp-card{flex:0 0 25%!important;max-width:25%!important;padding:0 4px!important;box-sizing:border-box;gap:4px}
body.mediflow-app .hp-grid .hp-img{width:100%!important;max-width:78px!important;margin-inline:auto!important}
body.mediflow-app .hp-grid .hp-card span{font-size:12px!important;font-weight:700;min-height:2.7em!important;line-height:1.4!important}
@media(min-width:520px){body.mediflow-app .hp-grid .hp-card{flex-basis:20%!important;max-width:20%!important}body.mediflow-app .hp-grid .hp-img{max-width:84px!important}}
@media(min-width:960px){body.mediflow-app .hp-grid .hp-card{flex-basis:12.5%!important;max-width:12.5%!important}body.mediflow-app .hp-grid .hp-img{max-width:100px!important}}
body.mediflow-app .mf-top{justify-content:flex-start}
body.mediflow-app.home.mf-has-grid #ph-consult-btn,body.mediflow-app.home.mf-has-grid #ph-open-btn{font-size:12.5px!important;gap:6px!important;padding:5px 12px 5px 5px!important;opacity:1!important;transform:none!important;white-space:nowrap!important;line-height:1.3!important}
body.mediflow-app.home.mf-has-grid #ph-consult-btn>span,body.mediflow-app.home.mf-has-grid #ph-open-btn>span{display:inline!important}
/* 3.53.3: responsive smart sticky header – keep identity visible while compacting on scroll */
body.mediflow-app #mf-h{position:sticky!important;top:0!important;z-index:999999!important;display:grid!important;grid-template-columns:minmax(0,1fr);gap:0!important;padding:4px 0 0!important;isolation:isolate;background:linear-gradient(135deg,#0868c8 0%,#075bb4 100%)!important;box-shadow:0 3px 14px rgba(5,45,95,.14)!important;transition:box-shadow .2s ease}
body.mediflow-app #mf-h .mf-brand{display:flex!important;visibility:visible!important;opacity:1!important;max-height:100px!important;min-height:48px!important;height:auto!important;overflow:hidden!important;pointer-events:auto!important;box-sizing:border-box!important;padding:5px 14px 7px!important;gap:10px!important;transition:min-height .2s ease,padding .2s ease,opacity .2s ease}
body.mediflow-app #mf-h .mf-brand-logo{display:block!important;width:clamp(38px,5vw,62px)!important;height:clamp(38px,5vw,62px)!important;max-width:62px!important;max-height:62px!important;object-fit:contain!important;flex:0 0 auto!important;border:2px solid rgba(255,255,255,.95)!important;border-radius:14px!important;background:#fff!important;padding:3px!important;box-shadow:0 3px 10px rgba(0,35,90,.2)!important}
body.mediflow-app #mf-h .mf-brand-t{min-width:0!important;flex:1 1 auto!important;text-align:right!important}
body.mediflow-app #mf-h .mf-brand-t strong{font-size:clamp(16px,2vw,24px)!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.mediflow-app #mf-h .mf-brand-t span{font-size:clamp(10px,1.1vw,13px)!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.mediflow-app #mf-h .mf-sb{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;padding:3px 12px 9px!important;box-sizing:border-box!important}
body.mediflow-app #mf-h .mf-sb .mf-ib{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:13px!important;background:rgba(255,255,255,.12)!important;color:#fff!important}
body.mediflow-app #mf-h .mf-sb .mf-sf{flex:1 1 0!important;min-width:0!important;min-height:48px!important;border:1px solid rgba(255,255,255,.6)!important;border-radius:17px!important;padding:0 12px!important;background:#fff!important;box-shadow:0 3px 12px rgba(0,35,90,.12)!important;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease!important}
body.mediflow-app #mf-h .mf-sb .mf-sf:focus-within{border-color:#b9dcff!important;box-shadow:0 0 0 3px rgba(255,255,255,.2),0 5px 18px rgba(0,35,90,.2)!important}
body.mediflow-app #mf-h .mf-sin{height:44px!important;min-width:0!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;color:#172b45!important;padding:0 7px!important}
body.mediflow-app #mf-h .mf-sin::placeholder{color:#8492a5!important;opacity:1!important;font-weight:500!important}
body.mediflow-app #mf-h .mf-si{color:#075fba!important;flex:0 0 auto!important}
body.mediflow-app #mf-h .mf-sbn{width:34px!important;height:36px!important;flex:0 0 34px!important;border-radius:10px!important;color:#52657b!important;justify-content:center!important}
body.mediflow-app #mf-h .mf-sbn:active,body.mediflow-app #mf-h .mf-ib:active{background:#e8f2ff!important}
body.mediflow-app #mf-h .mf-live{left:64px!important;right:12px!important;top:calc(100% - 4px)!important;border:1px solid #dbe7f4!important;border-radius:0 0 16px 16px!important;box-shadow:0 14px 28px rgba(12,45,85,.18)!important;z-index:1000000!important}
body.mediflow-app.mf-scrolled #mf-h{box-shadow:0 5px 18px rgba(5,45,95,.22)!important}
body.mediflow-app.mf-scrolled #mf-h .mf-brand{display:flex!important;max-height:52px!important;min-height:38px!important;padding:2px 12px 3px!important;opacity:1!important;pointer-events:auto!important}
body.mediflow-app.mf-scrolled #mf-h .mf-brand-logo{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;border-radius:10px!important;padding:2px!important}
body.mediflow-app.mf-scrolled #mf-h .mf-brand-t strong{font-size:14px!important}
body.mediflow-app.mf-scrolled #mf-h .mf-brand-t span{display:none!important}
body.mediflow-app.mf-scrolled #mf-h .mf-sb{padding:1px 10px 5px!important}
body.mediflow-app.mf-scrolled #mf-h .mf-sb .mf-sf{min-height:42px!important;border-radius:14px!important}
body.mediflow-app.mf-scrolled #mf-h .mf-sin{height:38px!important}
@media(min-width:768px){
 body.mediflow-app #mf-h{grid-template-columns:minmax(210px,300px) minmax(360px,1fr);align-items:center;column-gap:clamp(12px,2vw,28px);padding:8px clamp(18px,3vw,42px) 0!important}
 body.mediflow-app #mf-h .mf-brand{grid-column:1;grid-row:1;min-height:70px!important;padding:4px 0 8px!important;justify-content:flex-start!important}
 body.mediflow-app #mf-h .mf-brand-logo{width:clamp(54px,5vw,68px)!important;height:clamp(54px,5vw,68px)!important;max-width:68px!important;max-height:68px!important;border-radius:16px!important}
 body.mediflow-app #mf-h .mf-brand-t strong{font-size:clamp(20px,1.8vw,26px)!important}
 body.mediflow-app #mf-h .mf-brand-t span{font-size:clamp(11px,1vw,14px)!important}
 body.mediflow-app #mf-h .mf-sb{grid-column:2;grid-row:1;padding:0 0 7px!important;max-width:100%!important}
 body.mediflow-app #mf-h .mf-sb .mf-sf{min-height:54px!important;border-radius:18px!important;padding-inline:16px!important}
 body.mediflow-app #mf-h .mf-sin{height:50px!important;font-size:17px!important}
 body.mediflow-app #mf-h .mf-sb .mf-ib{width:48px!important;height:48px!important;flex-basis:48px!important}
 body.mediflow-app #mf-h .mf-chips{grid-column:1/-1;grid-row:2}
 body.mediflow-app.mf-scrolled #mf-h .mf-brand{min-height:46px!important;max-height:48px!important;padding:1px 0 4px!important}
 body.mediflow-app.mf-scrolled #mf-h .mf-brand-logo{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important}
 body.mediflow-app.mf-scrolled #mf-h .mf-brand-t strong{font-size:17px!important}
 body.mediflow-app.mf-scrolled #mf-h .mf-sb .mf-sf{min-height:44px!important}
 body.mediflow-app.mf-scrolled #mf-h .mf-sin{height:40px!important}
}
@media(max-width:380px){body.mediflow-app #mf-h .mf-brand-t span{display:none!important}body.mediflow-app #mf-h .mf-brand-logo{width:36px!important;height:36px!important}body.mediflow-app #mf-h .mf-sb{gap:5px!important;padding-inline:8px!important}body.mediflow-app #mf-h .mf-sb .mf-ib{width:40px!important;height:42px!important;flex-basis:40px!important}body.mediflow-app #mf-h .mf-sbn{width:30px!important;flex-basis:30px!important}}
@media(prefers-reduced-motion:reduce){body.mediflow-app #mf-h,body.mediflow-app #mf-h *{transition:none!important}}
/* 3.53.4: accessible predictive search and recent-search panel */
body.mediflow-app #mf-h .mf-sb{position:relative!important}
body.mediflow-app #mf-h .mf-live{position:absolute!important;top:calc(100% - 3px)!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;max-height:min(62vh,480px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:#fff!important;color:#172b45!important;direction:rtl!important;border:1px solid #d9e5f2!important;border-radius:0 0 17px 17px!important;box-shadow:0 16px 34px rgba(12,45,85,.2)!important;z-index:1000001!important}
body.mediflow-app #mf-h .mf-live[hidden]{display:none!important}
body.mediflow-app #mf-h .mf-rc{padding:9px 10px 11px!important;direction:rtl!important}
body.mediflow-app #mf-h .mf-rc-h{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:3px 5px 8px!important;color:#53677e!important;font-size:12px!important}
body.mediflow-app #mf-h .mf-rc-clr{border:0!important;background:#eef5fc!important;color:#075fba!important;border-radius:9px!important;padding:6px 10px!important;font-size:12px!important;font-weight:700!important}
body.mediflow-app #mf-h .mf-rc-i{display:flex!important;width:100%!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:10px 9px!important;margin:2px 0!important;border:0!important;border-radius:10px!important;background:#f6f9fd!important;color:#24384e!important;text-align:right!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important}
body.mediflow-app #mf-h .mf-rc-i:before{content:'↶';color:#7a8da4;font-size:17px}
body.mediflow-app #mf-h .mf-rc-i:focus,body.mediflow-app #mf-h .mf-rc-i:hover{background:#eaf3ff!important;outline:2px solid #b9d7fa!important}
body.mediflow-app #mf-h .mf-li-item:focus,body.mediflow-app #mf-h .mf-la:focus{outline:2px solid #83baff!important;outline-offset:-2px!important;background:#f0f7ff!important}
@media(min-width:768px){body.mediflow-app #mf-h .mf-live{left:0!important;right:0!important;max-width:100%!important}}