/* Styling für die Augment-Suche (Tabs und Ergebnisse) */

.asmi-tabs-nav {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 8px;
  gap: 5px; /* Fügt einen kleinen Abstand zwischen den Buttons hinzu */
}

/* Deine angepassten Stile für die Tab-Buttons */
.asmi-tabs-nav button.asmi-tab-btn {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--e-global-color-b2d1f5d);
  border-radius: 0px;
  background-color: var(--e-global-color-a509bde);
}

.asmi-tabs-nav button.asmi-tab-btn:hover {
  /* Hover-Zustand */
  background-color: var(--e-global-color-cd799f1);
  border-radius: 0px;
}

.asmi-tabs-nav button.asmi-tab-btn.active,
.asmi-tabs-nav button.asmi-tab-btn.active:focus {
  /* Aktiver Zustand */
  background-color: var(--e-global-color-8a73b34);
  border-radius: 0px;
  color: #fff;
}

.asmi-tabs-nav button.asmi-tab-btn:first-child, .asmi-tabs-nav button.asmi-tab-btn.active:first-child {
  border-top-left-radius: 20px;
}

.asmi-tab-pane {
  display: none;
}

.asmi-tab-pane.active {
  display: block;
}

.asmi-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}

.asmi-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.asmi-item a {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.asmi-item a:hover {
    text-decoration: underline;
}

.asmi-item .asmi-badge {
  font-size: 12px;
  opacity: 0.7;
}

.asmi-item .asmi-excerpt,
.asmi-item .asmi-price {
  font-size: 13px;
  opacity: 0.9;
  margin: 4px 0 0;
}

/* Kosmetische Anpassungen für Produktbilder */
.jet-ajax-search__results-item .jet-ajax-search__item-thumbnail-img {
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  height: auto !important; /* Stellt sicher, dass das Seitenverhältnis respektiert wird */
}

/* NEU: Titel auf eine Zeile beschränken und mit "..." abschneiden */
.jet-ajax-search__item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}