/* Live Search Pro v1.1.0 – Floating Minimalist Style */
.lsp-wrap {
  position: relative;
  width: var(--lsp-width-desktop, 80%);
  max-width: 100%;
  margin: 15px auto;
  direction: inherit;
}
.lsp-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--lsp-height, 56px);
  background: #f9f9f9;
  border: none;
  border-radius: var(--lsp-radius, 30px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding-inline: 20px;
  gap: 10px;
  transition: all .25s ease;
}
.lsp-container:focus-within {
  box-shadow: 0 5px 14px rgba(0,0,0,0.12);
  background: #fff;
}
.lsp-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
  color: #222;
  font-family: 'Poppins','Cairo',sans-serif;
}
.lsp-icon {
  background: #014421;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.lsp-icon:hover {
  background: #FFDD70;
  color: #014421;
  transform: scale(1.05);
}
.lsp-svg {
  width: var(--lsp-icon-size, 22px);
  height: var(--lsp-icon-size, 22px);
  fill: currentColor;
}

/* Results dropdown */
.lsp-results {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 8px);
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  padding: 10px;
  z-index: 9999;
  max-height: 65vh;
  overflow: auto;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.lsp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background .2s;
  text-decoration: none;
  color: #111;
}
.lsp-item:hover {
  background: #f3f3f3;
}
.lsp-item-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
}
.lsp-item-title {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
}
.lsp-item-price {
  font-size: 14px;
  opacity: .85;
}
.lsp-no-results {
  text-align: center;
  padding: 12px;
  color: #777;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .lsp-wrap { width: var(--lsp-width-mobile, 95%); }
  .lsp-container { height: 50px; padding-inline: 15px; }
  .lsp-icon { width: 34px; height: 34px; }
}
