/* HD Search Overlay styling (products only) */

.hd-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(255, 255, 255, 0.96);
}

.hd-search-overlay.is-open {
  display: block;
}

.hd-search-overlay__panel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.hd-search-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  color: #222;
}

.hd-search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

.hd-search-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 10px;
  text-transform: uppercase;
  color: #222;
}

.hd-search-rule {
  height: 1px;
  background: rgba(0, 0, 0, 0.22);
  margin: 0 0 20px;
}

.hd-search-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
  font-size: 18px;
  padding: 16px 0;
  outline: none;
}

.hd-search-results {
  margin-top: 18px;
}

.hd-search-hint {
  color: rgba(0, 0, 0, 0.55);
  font-size: 14px;
  margin-top: 8px;
}

/* Results list */
.hd-search-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hd-search-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.hd-search-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hd-search-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}

.hd-search-thumb--empty {
  display: block;
}

.hd-search-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hd-search-item-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hd-search-item-type {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .hd-search-title { font-size: 40px; }
  .hd-search-inner { padding-top: 64px; }
}