
.wcpls {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.wcpls__form {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.wcpls__input,
input[type="search"].wcpls__input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0;
  line-height: 1.2;
  background: #fff !important;
  color: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none !important;
}

.wcpls__input::placeholder,
input[type="search"].wcpls__input::placeholder {
  opacity: 1;
}

.wcpls__input:focus,
input[type="search"].wcpls__input:focus {
  outline: none;
  border-color: #cfcfcf !important;
  background: #fff !important;
  box-shadow: none !important;
}

.wcpls__results {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 100%;
}

.wcpls__list {
  max-height: 420px;
  overflow: auto;
}

.wcpls__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
}

.wcpls__item:hover {
  background: #fafafa;
}

.wcpls__thumb {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  background: #f8f8f8;
}

.wcpls__thumb img,
.wcpls__thumb .wc-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wcpls__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wcpls__title {
  font-size: 14px;
  line-height: 1.35;
}

.wcpls__price {
  font-size: 13px;
  opacity: 0.8;
}

.wcpls__loading,
.wcpls__empty,
.wcpls__all {
  display: block;
  padding: 14px;
  background: #fff;
}

.wcpls__all {
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid #f2f2f2;
}
