.search-wrap {
  width: 270px;
  height: 42px;
}
.search-input {
  width: 100%;
  height: 100%;
  background: transparent !important;
  border: 1px solid transparent !important;
  padding-left: 45px;
  font-size: 13px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.search-input::placeholder {
  color: #999;
}
.search-input:focus {
  background-color: rgba(255, 140, 64, 0.1) !important;
  border-color: #ff8c40 !important;
  color: #000;
  box-shadow: none !important;
}
.search-btn {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-results-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 15px;
  margin-top: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.ajax-search-inner {
  max-height: 200px;
  overflow-y: auto;
}
.ajax-search-inner::-webkit-scrollbar {
  width: 4px;
}
.ajax-search-inner::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}
.search-results-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-results-box li {
  border-bottom: 1px solid #f9f9f9;
}
.search-item-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  transition: background 0.2s;
  gap: 12px;
}
.search-item-link:hover {
  background-color: #fcfcfc;
}
.search-item-thumb img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #eee;
}
.search-item-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}
.search-item-title {
  font-size: 12px;
  font-weight: 500;
  color: #444;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}
.search-item-price {
  font-size: 12px;
  color: #ff8c40;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.search-item-price ins {
  text-decoration: none;
  color: #ff8c40;
  font-weight: 700;
  background: transparent;
}
.search-item-price del {
  color: #aaa;
  font-size: 11px;
  display: inline-block !important;
  font-weight: 400;
}
.view-all-results {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 10px;
  text-align: center;
}
.view-all-results a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #ff8c40;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  background: #fffaf6;
}
.view-all-results a:hover {
  background: rgba(255, 140, 64, 0.1);
}
.view-all-keyword {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
  color: #333;
}
.no-results,
.loading-search {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
}
