/* FSPV COMMERCE · MOBILE OPTIMIZATION · LIVE SEARCH V2
   Store 1, mobile only. Presentation only: keep existing live-search engine unchanged.
*/
@media (max-width: 900px) {
  html[data-fspv-mobile-opt="v1"] .fspv-w7-wrap--header:has(.csh-live-search-results:not([hidden])) {
    z-index: 450 !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header:has(.csh-live-search-results:not([hidden])) {
    position: relative !important;
    z-index: 450 !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header .csh-search.csh-live-search-form {
    overflow: visible !important;
  }
  html.wx-enabled[data-seasonal-event="winter_christmas"][data-fspv-mobile-opt="v1"] .csh-header .csh-search.csh-live-search-form input[type="search"] {
    padding-left: 44px !important;
    padding-right: 10px !important;
    font-size: 16px !important;
    text-overflow: ellipsis !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header .csh-search::before {
    left: 13px !important;
    pointer-events: none !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header .csh-search .csh-live-search-results {
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 7px) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: min(440px, calc(100dvh - 190px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background: #fff !important;
    border-radius: 13px !important;
    z-index: 9999 !important;
    box-shadow: 0 16px 38px rgba(6,24,47,.27) !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header .csh-search .csh-live-search-item {
    min-height: 60px !important;
    box-sizing: border-box !important;
  }
  html[data-fspv-mobile-opt="v1"] .csh-header .csh-search .csh-live-search-all {
    min-height: 44px !important;
  }
}
