/* Mohr Flames compact header product search — v0.9.3.
   The theme visually hides the input with clip/position !important, so the open
   state must explicitly undo those properties. */
.mf-site-header .mfops-product-search,
header .mfops-product-search { display:flex;align-items:center;justify-content:flex-end;gap:6px; }
.mf-site-header .mfops-product-search .wp-block-search__inside-wrapper,
header .mfops-product-search .wp-block-search__inside-wrapper { display:flex;align-items:center;justify-content:flex-end;overflow:visible; }

.mf-site-header .mfops-product-search .wp-block-search__button,
header .mfops-product-search .wp-block-search__button { flex:0 0 auto;position:relative;z-index:3;pointer-events:auto!important;cursor:pointer; }

.mf-site-header .mfops-product-search.mfops-search-open .wp-block-search__input,
header .mfops-product-search.mfops-search-open .wp-block-search__input {
  position:static!important;
  clip:auto!important;
  clip-path:none!important;
  white-space:normal!important;
  overflow:visible!important;
  width:min(240px,42vw)!important;
  min-width:140px!important;
  height:auto!important;
  margin:0!important;
  padding:8px 10px!important;
  opacity:1!important;
  border:1px solid currentColor!important;
  pointer-events:auto!important;
}
@media(max-width:600px){
  .mf-site-header .mfops-product-search.mfops-search-open .wp-block-search__input,
  header .mfops-product-search.mfops-search-open .wp-block-search__input { width:min(180px,48vw)!important;min-width:110px!important; }
}

/* v0.9.7 live search suggestions */
.mfops-product-search { position:relative!important; }
.mfops-product-search .wp-block-search__input { user-select:text!important; -webkit-user-select:text!important; }
.mfops-product-search .mfops-live-results { position:absolute; top:calc(100% + 9px); right:0; z-index:99999; width:min(390px,92vw); max-height:440px; overflow-y:auto; background:#faf7f2; border:1px solid #d9d0c7; box-shadow:0 12px 28px rgba(35,25,18,.14); padding:9px; text-align:left; color:#211b17; }
.mfops-product-search .mfops-live-results[hidden] { display:none!important; }
.mfops-product-search .mfops-live-product { display:flex; align-items:center; gap:12px; padding:8px; text-decoration:none!important; color:inherit!important; border-bottom:1px solid #e8e1da; }
.mfops-product-search .mfops-live-product:hover, .mfops-product-search .mfops-live-product:focus-visible { background:#f0e8df; }
.mfops-product-search .mfops-live-product img { width:58px; height:58px; object-fit:cover; flex:none; }
.mfops-product-search .mfops-live-info { display:flex; flex-direction:column; gap:3px; min-width:0; font-size:14px; line-height:1.35; }
.mfops-product-search .mfops-live-info strong { font-weight:600; }
.mfops-product-search .mfops-live-info small { font-size:12px; }
.mfops-product-search .mfops-live-stock { color:#655b54; font-weight:600; }
.mfops-product-search .mfops-live-all { display:block; padding:12px 8px 5px; color:#482c1e!important; font-size:13px; font-weight:600; text-decoration:none!important; }
.mfops-product-search .mfops-live-message { margin:6px 8px; font-size:13px; }
