/* Search dropdown/overlay */
/* (head removed from dropdown rendering; keep styles for other contexts if needed) */
.nb-search__head {
  display: none;
}
.nb-search__count {
  font-family: "DM Sans";
  font-size: 13px;
  color: #555;
}
.nb-search__all {
  font-family: "DM Sans";
  font-size: 13px;
  font-weight: 600;
  color: var(--darkBlue);
  text-decoration: none;
}
.nb-search__grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 0;
}
.nb-search__col {
  padding: 12px;
  max-height: 60vh;
  overflow: auto;
  min-width: 0;
}
.nb-search__col + .nb-search__col {
  border-left: 1px solid #eee;
}

.nb-search__col--suggest {
  background: #f5f5f5;
  padding: 8px;
}
.nb-search__block + .nb-search__block {
  margin-top: 10px;
}
.nb-search__label {
  font-family: "DM Sans";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  padding: 10px 12px 6px;
}

.nb-search__cats a {
  grid-template-columns: 40px 1fr;
}
.nb-search__brands a {
  grid-template-columns: 28px 1fr;
}
.nb-search__col--products {
  background: #fff;
  padding: 8px;
}

.nb-search__footer {
  position: sticky;
  bottom: 0;
  padding: 10px 8px 8px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 35%);
}
.nb-search__allbtn {
  width: 100%;
  height: 44px;
  border-radius: 30px;
  background: #1e1e1e;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 14px/1.2 "DM Sans";
}
.nb-search__allbtn:hover {
  filter: brightness(1.05);
}
.nb-search__section {
  margin: 0 0 8px;
}
.nb-search__section h4 {
  margin: 0 0 6px;
  font-family: "DM Sans";
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.nb-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.nb-search__list span {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #404040;
}
.nb-search__list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
}
.nb-search__list a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nb-search__ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.55);
}

.nb-search__suggest .nb-search__ico {
  color: rgba(0, 0, 0, 0.45);
}
.nb-search__cat-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
  border: 1px solid #eee;
}
.nb-search__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
}
.nb-search__item:hover {
  background: #f7f7f7;
}
.nb-search__thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #f5f5f5;
}
.nb-search__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nb-search__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.nb-search__products li a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
}
.nb-search__products li a:hover {
  background: #f7f7f7;
}
.nb-search__prod-thumb {
  width: 64px;
  height: 64px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f5f5f5;
  display: block;
  overflow: hidden;
}
.nb-search__prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nb-search__prod-body {
  display: grid;
  gap: 6px;
  align-items: center;
}
.nb-search__prod-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
span.nb-search__prod-title {
  font-family: "DM Sans";
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  min-width: 0;
}

.nb-search__price {
  font-family: "DM Sans";
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nb-search__price .amount,
.nb-search__price bdi,
.nb-search__price ins,
.nb-search__price del {
  font: inherit;
}
.nb-search__price del {
  opacity: 0.6;
}
.nb-search__price ins {
  text-decoration: none;
}

.nb-search__meta {
  font-family: "DM Sans";
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.55);
}
.nb-search__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.nb-search__card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f5f5;
}
.nb-search__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nb-search__card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}
.nb-search__card-title {
  font-family: "DM Sans";
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
@media (max-width: 1200px) {
  .nb-search__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nb-search__grid {
    grid-template-columns: 1fr;
  }
  .nb-search__col + .nb-search__col {
    border-left: 0;
    border-top: 1px solid #eee;
  }
  .nb-search__cards {
    grid-template-columns: 1fr;
  }
}

/* Search overlay */
#nb-search-overlay[hidden] {
  display: none;
}
#nb-search-overlay {
  position: fixed;
  inset: 90px 0 0 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1001;
  backdrop-filter: blur(1px);
}
