/* TJZ Združeno iskanje */
.tjzus-form { width: 100%; }

.tjzus-field {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.tjzus-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7em 0.9em;
  border: 1px solid currentColor;
  border-color: rgba(0, 0, 0, 0.15);
  border-radius: 6px 0 0 6px;
  font: inherit;
  background: #fff;
}

.tjzus-input:focus {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 1px;
}

.tjzus-submit {
  flex: 0 0 auto;
  padding: 0.7em 1.1em;
  border: 0;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font: inherit;
}

/* Spustni seznam predlogov */
.tjzus-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.tjzus-results[hidden] { display: none; }

.tjzus-group { padding: 0.25rem 0 0.5rem; }

.tjzus-group-title {
  display: block;
  padding: 0.5rem 0.85rem 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.tjzus-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: inherit;
}

.tjzus-item:hover,
.tjzus-item:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.tjzus-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}

.tjzus-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }

.tjzus-title {
  font-size: 0.95rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tjzus-meta { font-size: 0.75rem; opacity: 0.6; }

.tjzus-price { flex: 0 0 auto; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.tjzus-price del { opacity: 0.5; font-weight: 400; margin-right: 0.25em; }

.tjzus-empty { padding: 0.9rem 0.85rem; font-size: 0.9rem; opacity: 0.7; }

.tjzus-all {
  display: block;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.tjzus-all:hover,
.tjzus-all:focus { background: rgba(0, 0, 0, 0.05); outline: none; }

@media (max-width: 600px) {
  .tjzus-results { max-height: 60vh; }
}
