.elementor-widget-mederi-live-search{width:100%;max-width:100%;min-width:0;overflow:visible}
.elementor-widget-mederi-live-search>.elementor-widget-container{width:100%;max-width:100%;min-width:0;overflow:visible}
.mws-live{position:relative;width:100%;max-width:100%;min-width:0}
.mws-live__field{display:flex;width:100%;min-width:0;align-items:stretch;border:1px solid #d5d5d5;border-radius:6px;background:#fff;overflow:hidden;transition:background-color .2s,border-color .2s,box-shadow .2s}
.mws-live__field--icon-start .mws-live__input{order:2}
.mws-live__field--icon-start .mws-live__icon{order:1}
.mws-live__input{min-width:0;width:100%;height:auto!important;min-height:inherit;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;padding:12px;box-shadow:none!important}
.mws-live__input:focus{box-shadow:none!important}
.mws-live__field:focus-within{outline:2px solid currentColor;outline-offset:2px}
.mws-live__icon{display:flex;flex:0 0 auto;align-items:center;justify-content:center;padding:0 12px;font:inherit;font-size:1.2em;appearance:none;-webkit-appearance:none;border:0;margin:0;cursor:pointer}
.mws-live__icon:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.mws-live__icon svg{display:block;width:1em;height:1em}
.mws-live__dropdown{position:absolute;z-index:101;top:calc(100% + 6px);left:0;width:100%;min-width:280px;max-width:min(100vw,520px);background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 12px 30px rgba(0,0,0,.18);overflow:hidden}
.mws-live__status{min-height:1.5em;padding:8px 12px}
.mws-live__status:empty{display:none}
.mws-live__result{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:10px 12px;color:inherit;text-decoration:none;border-bottom:1px solid #eee;line-height:1.25}
.mws-live__result:hover,.mws-live__result[aria-selected=true]{background:#f5f5f5}
.mws-live__image{display:block;width:52px;height:52px;max-width:none!important;object-fit:contain}
.mws-live__body{display:flex;min-width:0;flex-direction:column;gap:3px}
.mws-live__title{display:block;min-width:0;font-weight:600;overflow-wrap:anywhere}
.mws-live__format{display:block;font-size:.875em;opacity:.75}
.mws-live__price{display:block;max-width:130px;text-align:right;white-space:normal;line-height:1.25}
.mws-live__price .woocommerce-Price-amount{white-space:nowrap}
.mws-live__all{display:block;padding:12px;color:inherit;text-decoration:none;font-weight:600;line-height:1.35}
.elementor-widget-mederi-live-search:has(.mws-live.is-open){z-index:100}
/* Méderi's desktop header has two sibling stacking contexts. A dropdown cannot
   escape its parent by increasing its own z-index. Keep the search/cart row above
   the navigation/mega-menu row even when the cart is closed. The cart lightbox
   retains Elementor's higher layer inside the search/cart row. Do not change
   positioning, layout, pointer events or the sticky header's outer layer. */
.elementor-location-header .elementor-element-fde3de1{z-index:1000!important}
.elementor-location-header .elementor-element-391ecb2{z-index:1001!important}
@media(max-width:767px){.mws-live__dropdown{min-width:min(280px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.mws-live__result{grid-template-columns:auto minmax(0,1fr)}.mws-live__price{grid-column:2;text-align:left;max-width:none}}

/* Compact presentation retains the existing search field and results. */
.mws-live__panel[hidden],.mws-live__dropdown[hidden],.mws-live__all[hidden]{display:none!important}
.mws-live--compact{width:auto!important;max-width:100%}
.mws-live--compact>.mws-live__toggle{min-width:44px;min-height:44px;border-radius:6px}
.elementor-location-header .elementor-widget-mederi-live-search:has(.mws-live--compact){
  width:auto;
  flex:0 0 auto;
  align-self:center;
}
/* Match the size and spacing of the adjacent Elementor icon widgets. */
:where(.elementor-location-header) .mws-live--compact>.mws-live__toggle{
  min-width:0;
  min-height:0;
  padding:0;
  font-size:25px;
  line-height:1;
}
.mws-live--compact>.mws-live__panel{position:absolute;top:calc(100% + 8px);left:0;width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);z-index:101}
.mws-live--compact .mws-live__dropdown{min-width:0;max-width:100%}
.elementor-widget-mederi-live-search:has(.mws-live.is-expanded){z-index:100}

/* Keep the header trigger plain in every state, including theme button styles. */
.mws-live--icon-transparent>.mws-live__toggle,
.mws-live--icon-transparent>.mws-live__toggle:hover,
.mws-live--icon-transparent>.mws-live__toggle:focus,
.mws-live--icon-transparent>.mws-live__toggle:active{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit}
