.hs-search-dropdown {
  position: absolute;
  z-index: 99999;
  background: #ffffff;
  border: 1px solid #d9dee3;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
  font-family: inherit;
}

.hs-search-item {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.12s ease;
}

.hs-search-item:hover,
.hs-search-item.is-active {
  background-color: #f8fafc;
  color: #0f172a;
}

.hs-search-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.hs-search-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-search-all {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #0f766e;
  background: #f8fafc;
  text-decoration: none;
}

.hs-search-all:hover {
  background: #f1f5f9;
}

.hs-search-empty {
  padding: 14px;
  font-size: 13px;
  color: #475569;
  text-align: center;
}

.hs-search-fallback {
  margin-top: 8px;
  display: inline-block;
  background: #0f766e;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.hs-search-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.hs-search-input {
  flex: 1;
  min-width: 0;
}

.hs-menu-search-item {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hs-menu-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}

.hs-menu-search-toggle:hover {
  opacity: 0.75;
}

.hs-menu-search-mobile-label {
  display: none;
}

.sidr .sidr-class-hs-menu-search-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
}

.sidr .sidr-class-hs-menu-search-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.sidr .sidr-class-hs-menu-search-mobile-label {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-menu-search-bar-item {
  display: block;
  width: 100%;
  padding: 10px 16px 12px;
  box-sizing: border-box;
  list-style: none;
}

.hs-menu-search-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  box-sizing: border-box;
}

.hs-menu-search-bar-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-search-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
}

.hs-search-modal[hidden] {
  display: none;
}

.hs-search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.hs-search-modal-box {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hs-search-modal-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.hs-search-modal-icon {
  color: #64748b;
  flex-shrink: 0;
}

#hs-search-modal .hs-search-modal-input {
  flex: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 4px !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a !important;
}

#hs-search-modal .hs-search-modal-input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

.hs-search-modal-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  border: 0;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.hs-search-modal-clear[hidden] {
  display: none;
}

.hs-search-modal-clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.hs-search-modal-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  padding: 6px 10px;
  flex-shrink: 0;
}

.hs-search-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.hs-search-modal-results {
  max-height: 62vh;
  overflow-y: auto;
}

.hs-search-modal-input::-webkit-search-cancel-button,
.hs-search-modal-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.hs-search-popular {
  padding: 14px 16px 16px;
}

.hs-search-popular-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 10px;
}

.hs-search-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hs-search-chip {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.hs-search-chip:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.hs-search-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hs-search-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 4px;
  padding: 2px 6px;
}

.hs-search-snippet {
  font-size: 12px;
  color: #475569;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-search-hl {
  background: #fef08a;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.hs-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-search-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.hs-search-content {
  flex: 1;
  min-width: 0;
}
