/* Root */
.wsws {
  width: 100%;
  position: relative;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Search bar */
.wsws__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 10px 12px;
}

.wsws__input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #666666;
  line-height: 1.2;
border:none !important;
}

.wsws__input::placeholder {
  color: #666666;
  opacity: 0.85;
}

/* SVG slot on the right */
.wsws__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

/* Panel under input */
.wsws__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9999;
}

/* White results surface */
.wsws__results {
  background: #ffffff;
  border: 1px solid #EFEFEF;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* List */
.wsws__list {
  display: flex;
  flex-direction: column;
}

.wsws__item {
  display: flex;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 140ms ease;
}

.wsws__item:hover {
  background: #FAFAFA;
}

/* Left image container */
.wsws__thumb {
  width: 72px;
  height: 72px;
  border: 1px dashed #E5E5E5;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 72px;
}

.wsws__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right meta */
.wsws__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
  gap: 4px;
}

.wsws__title {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wsws__cat {
  font-size: 12px;
  color: #777777;
  line-height: 1.2;
}

.wsws__price {
  font-size: 13px;
  color: #111111;
  line-height: 1.2;
}

.wsws__price del {
  opacity: 0.65;
  margin-right: 6px;
}

/* Empty */
.wsws__empty {
  padding: 14px 12px;
  font-size: 13px;
  color: #777777;
}

/* Responsive */
@media (max-width: 480px) {
  .wsws__thumb {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .wsws__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}
