/* =====================================================
   LIVE SEARCH DROPDOWN
   ===================================================== */
.livesearch-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  overflow: hidden;
  max-height: 480px;
  overflow-y: auto;
}

.livesearch-dropdown.active {
  display: block;
}

.ls-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

.ls-item:hover {
  background: var(--color-bg-hero);
}

.ls-img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ls-img img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.ls-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ls-nazev {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

.ls-cena {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-blue);
}

.ls-all {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-violet);
  text-decoration: none;
  background: var(--color-bg-search);
  transition: background 0.15s;
}

.ls-all:hover {
  background: var(--color-bg-hero);
}

.ls-noresult {
  padding: 16px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Zajistit position:relative na search kontejneru */
.header-search {
  position: relative;
}
