.wcfsh-search-container {
  direction: rtl;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.wcfsh-input-wrapper {
  position: relative;
  display: flex;
  height: 38px;
}

button.e-search-submit svg {
  margin-top: -4px;
}

.wcfsh-results-panel svg {
  fill: #f69475;
  width: 26px;
  margin-bottom: -16px;
  margin-left: 6px;
}

.wcfsh-status {
  font-size: 14px;
  font-weight: bold;
}

.wcfsh-img {
  margin-left: 18px;
}

.wcfsh-input-wrapper button.e-search-submit {
  border-radius: 15px 0px 0px 15px;
}

#wcfsh-input {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  text-align: right;
  border-radius: 0px 15px 15px 0px;
  background-color: var(--e-global-color-2c80f63);
  width: 279px;
}

#wcfsh-input:focus {
  outline: none;
}

.wcfsh-loader {
  position: absolute;
  left: 57px;
  top: 12px;
  width: 15px;
  height: 15px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wcfsh-results-panel {
  position: absolute;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-height: 400px;
  overflow-y: auto;
  top: 50px;
}

.wcfsh-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
}

.wcfsh-item:hover {
  background: #f9f9f9;
}

.wcfsh-info {
  flex: 1;
  padding-left: 10px;
}
.wcfsh-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--e-global-color-primary);
}

.wcfsh-price {
  font-size: 16px;
  color: var(--e-global-color-primary);
}

.wcfsh-meta {
  font-size: 12px;
  color: #666;
}

.wcfsh-img img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;
}

.wcfsh-other-common-names {
  font-size: 12px;
  margin-top: -7px;
}

@media all and (max-width: 1020px) {
  .wc_fuzzy_search {
    position: absolute;
    width: 100vw;
    max-width: 100vw !important;
    background: white;
    top: 60px;
    height: 56px;
    z-index: 99;
    padding-top: 10px;
    display: none;
  }
  .wc_fuzzy_search.active {
    display: block;
  }
  .wcfsh-results-panel {
    max-width: 90vw;
  }
  .wcfsh-loader {
    left: initial;
    right: 257px;
  }
}
