/* NVI Shop: product suggestions for the existing desktop and mobile search. */
.nvi-header-search.nvi-search-enhanced,
.nvi-mobile-product-search.nvi-search-enhanced {
  position: relative;
  overflow: visible;
}
.nvi-smartsearch[hidden] {display: none !important;}
.nvi-smartsearch {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:999;
  width:min(440px,calc(100vw - 24px));
  max-height:min(480px,65vh);
  overflow-y:auto;
  padding:7px;
  background:#fff;
  border:1px solid #dce5f1;
  box-shadow:0 12px 30px rgba(13,31,66,.19);
  border-radius:12px;
  color:#18263f;
  text-align:left;
  font-size:13px;
}
.nvi-smartsearch-heading {
  padding:7px 10px 9px;
  color:#657287;
  font-size:12px;
  font-weight:700;
}
.nvi-smartsearch-item {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:59px;
  padding:7px;
  color:#16264b;
  text-decoration:none;
  border-radius:8px;
  border:1px solid transparent;
}
.nvi-smartsearch-item:hover,
.nvi-smartsearch-item:focus-visible {
  outline:0;
  background:#f0f5ff;
  border-color:#cfe0fc;
}
.nvi-smartsearch-item img,
.nvi-smartsearch-noimage {
  width:48px;
  height:48px;
  flex:0 0 48px;
  object-fit:contain;
  border-radius:7px;
  background:#f7f9fc;
}
.nvi-smartsearch-noimage {
  display:grid;
  place-items:center;
  font-size:20px;
  color:#8697ae;
}
.nvi-smartsearch-detail {
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1 1 auto;
}
.nvi-smartsearch-detail strong {
  font-size:12.5px;
  font-weight:700;
  line-height:1.28;
  overflow-wrap:anywhere;
}
.nvi-smartsearch-detail small {
  color:#6c7687;
  font-size:11px;
  overflow-wrap:anywhere;
}
.nvi-smartsearch-price {
  white-space:nowrap;
  flex:0 0 auto;
  font-weight:750;
  font-size:12px;
  color:#0848c8;
}
.nvi-smartsearch-all {
  display:block;
  padding:10px;
  margin-top:3px;
  color:#0748ca;
  font-weight:700;
  text-decoration:none;
  border-radius:8px;
  border-top:1px solid #edf1f6;
}
.nvi-smartsearch-all:hover,
.nvi-smartsearch-all:focus-visible {background:#f0f5ff;outline:0}
.nvi-mobile-product-search .nvi-smartsearch {
  left:0;
  right:0;
  width:100%;
  top:calc(100% - 5px);
  max-height:min(430px,60vh);
}
.nvi-search-empty-help {
  width:100%;
  margin:16px 0 28px;
  padding:20px;
  background:#f8faff;
  border:1px solid #dee8fb;
  border-radius:12px;
}
.nvi-search-empty-help h2 {font-size:20px;margin:0 0 5px}
.nvi-search-empty-help p {font-size:13px;color:#586577;margin:0 0 12px}
.nvi-search-empty-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.nvi-search-empty-grid a {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  padding:9px;
  min-width:0;
  border-radius:9px;
  background:#fff;
  border:1px solid #e6ecf5;
  text-align:center;
}
.nvi-search-empty-grid img {width:100%;height:90px;object-fit:contain}
.nvi-search-empty-grid span {font-size:12px;line-height:1.3}
.nvi-search-browse {display:inline-block;margin-top:12px;color:#0848c8;font-weight:700}
@media (max-width:768px) {
  .nvi-search-empty-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .nvi-smartsearch {font-size:13px}
}
@media (max-width:460px) {
  .nvi-smartsearch-item {gap:7px}
  .nvi-smartsearch-item img,.nvi-smartsearch-noimage {
    width:40px;height:40px;flex-basis:40px
  }
  .nvi-smartsearch-detail strong {font-size:12px}
  .nvi-smartsearch-price {font-size:11px}
}
