.nss-active .autocompleter-list { max-height: min(65vh, 620px); overflow: auto; overscroll-behavior: contain; }
.nss-active .search-item-title { padding: .55rem .85rem; font-weight: 700; }
.nss-active .nss-suggestion { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .7rem; align-items: center; padding: .55rem .8rem; }
.nss-active .nss-suggestion img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.nss-active .nss-suggestion-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nss-active .nss-price { display: block; font-weight: 700; margin-top: .2rem; }
.nss-active .nss-full .products-view-name-link, .nss-active .nss-full .prod-name { height: auto !important; min-height: 3em; overflow-wrap: anywhere; }
.nss-related { margin-block: 1rem; }
.nss-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .65rem; }
.nss-related li { border: 1px solid #ddd; border-radius: 6px; }
@media (max-width: 480px) {
  .nss-active .autocompleter-list { max-height: min(57dvh, var(--nss-panel-height, 420px), 420px); max-width: 100vw; }
  .nss-active .nss-suggestion { grid-template-columns: 55px minmax(0, 1fr); padding-inline: .5rem; }
  .nss-active .nss-suggestion img { width: 55px; height: 55px; }
}

.nss-result-categories { display: flex; flex-wrap: wrap; gap: .4rem .9rem; padding: .55rem .8rem; }
.nss-result-categories a { text-decoration: underline; overflow-wrap: anywhere; }
.nss-other-categories { margin: .8rem; }
.nss-other-categories summary { cursor: pointer; }

.nss-search-field { padding-right: 38px; }
.nss-search-field::-webkit-search-cancel-button { appearance: none; }
.nss-shade, .nss-panel, .nss-clear { position: fixed; }
.nss-shade[hidden], .nss-panel[hidden], .nss-clear[hidden] { display: none; }
.nss-shade { inset: 0; z-index: 4100; background: rgb(19 26 38 / 36%); }
.nss-panel {
  box-sizing: border-box;
  z-index: 4101;
  max-height: min(62dvh, var(--nss-panel-height, 480px), 590px);
  overflow: auto;
  overscroll-behavior: contain;
  color: #202935;
  background: #fff;
  border: 1px solid #dce2ea;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgb(14 27 47 / 24%);
}
.nss-panel-group {
  display: grid;
  grid-template-columns: minmax(115px, 19%) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid #edf0f4;
}
.nss-panel-label { padding-top: 9px; font-size: 13px; color: #536378; font-weight: 700; }
.nss-panel-rows { min-width: 0; }
.nss-panel-refinements .nss-panel-rows { display: flex; flex-wrap: wrap; gap: 3px; }
.nss-panel-refinements .nss-panel-option { border: 1px solid #e3e9f2; padding: 5px 8px; }
.nss-panel-option {
  display: grid;
  gap: 10px;
  padding: 7px 8px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.nss-panel-product { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 46px; }
.nss-panel-photo { width: 44px; height: 40px; object-fit: contain; }
.nss-panel-name { overflow-wrap: anywhere; line-height: 1.35; }
.nss-panel mark { background: #fff1b8; color: inherit; border-radius: 2px; font-weight: 650; }
.nss-panel-price { display: grid; gap: 2px; color: #34465d; text-align: right; font-size: 13px; }
.nss-current { color: #17283d; font-weight: 700; }
.nss-old, .nss-availability { font-size: 12px; color: #5d6a7a; }
.nss-panel-option:hover, .nss-panel-option[aria-selected="true"] { background: #edf4fd; }
.nss-panel-all {
  display: block;
  position: sticky;
  bottom: 0;
  padding: 12px 18px;
  color: #16548d;
  background: #f4f8fc;
  border-top: 1px solid #dce2ea;
  font-weight: 700;
  text-decoration: none;
}
.nss-panel-all:hover, .nss-panel-all[aria-selected="true"] { background: #e5effb; }
.nss-panel a:focus-visible, .nss-clear:focus-visible { outline: 2px solid #1c619a; outline-offset: -2px; }
.nss-panel-empty { margin: 0; padding: 18px; }
.nss-clear {
  z-index: 4102;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #33435a;
  background: #edf1f6;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
@media (max-width: 620px) {
  .nss-panel-group { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 7px 9px; }
  .nss-panel-label { padding: 2px 7px; }
  .nss-panel-product { grid-template-columns: 36px minmax(0, 1fr); column-gap: 7px; row-gap: 4px; }
  .nss-panel-photo { width: 36px; height: 36px; grid-row: span 2; }
  .nss-panel-price { grid-column: 2; display: flex; flex-wrap: wrap; gap: 3px 8px; text-align: left; }
}
