/* Algolia header search panel (Phase 2). Rendered into .smart-search-results-target.
   Plain CSS (valid SCSS) so the .scss and compiled .css stay identical. */
.ss-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  text-align: left;
  max-height: 70vh;
  overflow-y: auto;
}

.ss-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ss-col {
  flex: 1 1 0;
  min-width: 160px;
}

.ss-col-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

.ss-col-items {
  display: flex;
  flex-direction: column;
}

.ss-item {
  display: block;
  padding: 7px 0;
  text-decoration: none;
  border-bottom: 1px solid #f7f7f7;
}

.ss-item:hover {
  background: #f9fafb;
}

.ss-item-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.3;
}

.ss-item-sub {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

.ss-item-brand .ss-item-title {
  font-weight: 600;
}

.ss-col-empty {
  font-size: 12px;
  color: #9ca3af;
  padding: 7px 0;
}

.ss-viewall {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #00889d;
  text-decoration: none;
}

.ss-viewall:hover {
  text-decoration: underline;
}

.ss-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.ss-popular-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-right: 4px;
}

.ss-chip {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.ss-chip:hover {
  background: #00889d;
  border-color: #00889d;
  color: #ffffff;
}

@media (max-width: 640px) {
  .ss-col {
    flex-basis: 100%;
  }
}
