.text-primary{
    color: #AE1B00!important;
}

.border-primary{
    border-color: #AE1B00!important;
}

.bestand-indikator {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.bestand-indikator::before {
  content: "●";
  font-size: 1rem;
  margin-right: 5px;
}
.bestand-gruen::before { color: #28a745; }
.bestand-gelb::before  { color: #ffc107; }
.bestand-rot::before   { color: #dc3545; }

.bestand-kugel {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* Text erstmal ausblenden */
.bestand-cell .bestand-text {
  display: none;
  font-size: 0.9rem;
  color: #333;
}

/* Beim Hover in der Zelle erst zeigen */
.bestand-cell:hover .bestand-text {
  display: inline-block;
}

#artikelImages img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.preis-box {
  font-size: 0.95rem;
  background-color: #f8f9fa !important;
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #555;
  cursor: pointer;
  user-select: none;
  padding: 0 10px;
}
.image-nav.left { left: 0; }
.image-nav.right { right: 0; }
.bestand-indikator {
  font-weight: bold;
}

.image-nav:hover {
  color: white;
  background: rgba(0,0,0,0.6);
}


/* Tabelle volle Breite */
#artikelsuche-ergebnisse .table {
  width: 100%;
  font-size: 0.95rem;
}

/* Tabellenzellen mit mehr Luft */
#artikelsuche-ergebnisse td,
#artikelsuche-ergebnisse th {
  padding: 1rem;
  vertical-align: middle;
}

/* Bild-Spalte immer weißer Hintergrund */
#artikelsuche-ergebnisse td img {
  max-height: 140px;
  object-fit: contain;
}

/* Details-Button */
#artikelsuche-ergebnisse .btn-outline-dark {
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}

/* Button für moderneren Look */
#artikelDetailsCollapse + .btn,
.btn[data-bs-toggle="collapse"] {
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn[data-bs-toggle="collapse"]:hover {
  background-color: #f0f0f0;
}

/* OE-Nummern kompakt in 3 Spalten */
.oe-list {
  list-style: none;
  padding-left: 0;
  column-count: 3;
  column-gap: 1.5rem;
}
.oe-list li {
  padding: 2px 0;
  font-size: 0.95rem;
}

.filter-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 1rem 0;
}

.filter-carousel .carousel-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem;
}

.filter-carousel .carousel-track::-webkit-scrollbar {
  display: none; /* optional scrollbar ausblenden */
}

.filter-carousel .hersteller-item {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.filter-carousel .hersteller-item.active {
  background: #888888;
  color: #fff;
  border-color: #ffcc00;
  font-weight: 600;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0 0.5rem;
  cursor: pointer;
  color: #333;
}

/* Gleiche Styles wie Hersteller */
.kategorie-item {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  background: #f8f9fa;
  transition: all 0.2s ease;
}

.kategorie-item.active {
  background: #888888;
  color: #fff;
  border-color: #ffcc00;
  font-weight: 600;
}

.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Exakte Treffer hervorheben */
.exact-match-row {
  background-color: #f8d7da !important;   /* helles rot (Bootstrap danger-bg) */
}

.exact-match-row:hover {
  background-color: #f5c2c7 !important;   /* etwas dunkler beim Hover */
}

/* Optional: Rahmen links, falls du es noch stärker willst */
.exact-match-row > td:first-child {
  border-left: 6px solid #AE1B00;
}
