[data-catalog-search] { position: relative; }
.vs-suggestions {
  position: absolute;
  z-index: 110;
  inset: calc(100% + 4px) 0 auto;
  max-height: min(540px, 70dvh);
  overflow: auto;
  background: #fff;
  border: 1px solid #d1d3d5;
  color: #333;
  font: 14px/1.35 "Open Sans", sans-serif;
  text-align: left;
}
.vs-suggestions[hidden] { display: none; }
.vs-suggestion-heading { background: #eee; padding: 5px 10px; font-weight: 700; }
.vs-suggestions a {
  color: #333;
  border-top: 1px solid #dedede;
  text-decoration: none;
}
.vs-suggestions a:hover, .vs-suggestions a:focus-visible { background: #f1f4f9; }
.vs-suggestion-product {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 3px 10px;
  align-items: center;
}
.vs-suggestion-photo { width: 60px; height: 58px; display: grid; place-items: center; }
.vs-suggestion-photo img { width: 100%; height: 58px; object-fit: contain; }
.vs-suggestion-product small { display: block; color: #727272; font-size: 12px; }
.vs-suggestion-product > span > span { display: block; overflow-wrap: anywhere; }
.vs-suggestion-section { display: block; padding: 5px 10px; }
#mobile-search.active { overflow: visible; }
#mobile-search .vs-suggestions { max-height: min(440px, 62dvh); }

.vs-search-page .vc-layout { align-items: start; }
.vs-filters form { border: 1px solid #ddd; border-radius: 9px; background: #fff; overflow: hidden; }
.vs-filter-title { padding: 12px; font-weight: 700; color: #666; }
.vs-filters details { border-top: 1px solid #e8e8e8; padding: 16px 12px; }
.vs-filters summary { cursor: pointer; }
.vs-filters select, .vs-filters input[type=number] { width: 100%; box-sizing: border-box; margin-top: 8px; }
.vs-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.vs-price-range label { min-width: 0; }
.vs-filter-actions { padding: 14px 12px; border-top: 1px solid #e8e8e8; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.vs-filter-actions button { background: #293e70; color: #fff; border: 0; padding: 9px 16px; cursor: pointer; }
.vs-found-sections { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.vs-found-sections a { display: block; border: 1px solid #d9e0ed; background: #fff; color: #293e70; padding: 5px 10px; }

@media (max-width: 780px) {
  .vs-search-page .vc-layout { display: flex; flex-direction: column; }
  .vs-search-page .vc-main, .vs-filters { width: 100%; }
  .vs-filters:empty { display: none; }
}

/* Mobile search uses the full-height results panel from the source site. */
@media(max-width:780px){
 html.mobile-search-open,html.mobile-search-open body{overflow:hidden}
 .mobile-search-backdrop{display:block;position:fixed;inset:110px 0 0;width:100%;height:calc(100dvh - 110px);margin:0;padding:0;border:0;border-radius:0;background:rgba(15,25,36,.7);z-index:2000;cursor:pointer}
 .mobile-search-backdrop[hidden]{display:none!important}
 #mobile-search{box-sizing:border-box;padding:4px;z-index:2001;background:#283e6f;height:55px;transition:none}
 #mobile-search.active{top:55px;overflow:visible}
 #mobile-search form{display:flex;height:47px;width:100%;gap:4px;margin:0;padding:0;font-size:14px;position:static}
 #mobile-search .msearch-input{display:block;flex:1;min-width:0;width:auto;height:47px;margin:0}
 #mobile-search input[type=search]{display:block;box-sizing:border-box;width:100%;height:47px;padding:0 16px;margin:0;border:0;border-radius:0;background:#fff;color:#111;font:15px/1.4 "Open Sans",sans-serif;appearance:auto;-webkit-appearance:auto;outline-offset:-2px}
 #mobile-search input[type=search]::placeholder{text-transform:uppercase;color:#999;font-size:13px;opacity:1}
 #mobile-search .msearch-btn{display:block;flex:0 0 52px;width:52px;height:47px}
 #mobile-search .msearch-btn::before{line-height:47px;color:#14213a;pointer-events:none}
 #mobile-search .msearch-btn input{display:block;position:relative;z-index:1;cursor:pointer}
 #mobile-search .vs-suggestions{position:fixed;inset:110px 0 0;width:100%;height:auto;max-height:none;margin:0;border:0;background:white;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;z-index:2001;white-space:normal;font:14px/1.35 "Open Sans",sans-serif}
 #mobile-search .vs-suggestions[hidden]{display:none!important}
 #mobile-search .vs-suggestions .vs-suggestion-product{display:grid!important;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:10px;padding:4px 10px;min-height:66px;box-sizing:border-box;white-space:normal;float:none;width:100%;height:auto;line-height:1.35;text-align:left}
 #mobile-search .vs-suggestion-photo{display:grid!important;width:50px;height:56px;place-items:center;float:none;margin:0}
 #mobile-search .vs-suggestion-photo img{display:block;width:50px;height:56px;max-width:100%;object-fit:contain;margin:0;float:none}
 #mobile-search .vs-suggestion-product>span:last-child{display:block;min-width:0;margin:0;float:none;white-space:normal}
 #mobile-search .vs-suggestion-product>span:last-child>span{display:block;white-space:normal;overflow-wrap:anywhere}
 #mobile-search .vs-suggestion-product small{display:block;line-height:1.35;color:#888}
 #mobile-search .vs-suggestion-heading{padding:6px 10px;line-height:1.35}
}

@media(min-width:781px){.mobile-search-backdrop{display:none!important}}
