.fvd-ais {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.fvd-ais__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.fvd-ais__input {
  width: 100%;
  height: 44px;
  border: 1px solid #d8dce2;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.fvd-ais__input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15);
}

.fvd-ais__button {
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
}

.fvd-ais__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
  max-height: 68vh;
  overflow: auto;
}

.fvd-ais__dropdown.fvd-ais__dropdown--floating {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 0;
  z-index: 2147483000;
}

.fvd-ais__panel {
  padding: 10px;
}

.fvd-ais__state {
  padding: 12px;
  font-size: 14px;
  color: #64748b;
}

.fvd-ais__heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 6px 6px 8px;
}

.fvd-ais__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fvd-ais__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  padding: 8px;
}

.fvd-ais__item:hover,
.fvd-ais__item.is-active {
  background: #f3f6fb;
}

.fvd-ais__item--cat {
  grid-template-columns: 1fr;
}

.fvd-ais__thumb {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.fvd-ais__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fvd-ais__meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.fvd-ais__title {
  font-size: 14px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fvd-ais__price {
  font-size: 13px;
  color: #0f766e;
  font-weight: 600;
}

.fvd-ais__stock {
  font-size: 12px;
  color: #b45309;
}

.fvd-ais__excerpt {
  font-size: 12px;
  color: #475569;
}

.fvd-ais__count {
  font-size: 12px;
  color: #64748b;
}

.fvd-ais__view-all {
  display: block;
  text-decoration: none;
  margin: 8px 6px 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
}

.fvd-ais__view-all:hover {
  background: #eff6ff;
}

@media (max-width: 680px) {
  .fvd-ais__form {
    grid-template-columns: 1fr;
  }

  .fvd-ais__button {
    width: 100%;
  }
}
