/* =========================================================
   Bluefish Produktseite
   Ruhige Kartenoptik passend zur bestehenden Webseite
   ========================================================= */

.bf-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* Kategorienbereich passend zur weißen Hauptseite */
.bf-sidebar-box {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 18px 18px 20px 18px;
}

.bf-sidebar-title {
  margin-top: 0;
}

.bf-filter-list li {
  margin-bottom: 12px;
}

.bf-filter-btn {
  width: 100%;
  display: block;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  color: #666;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  border-radius: 4px;
}

.bf-filter-btn:hover,
.bf-filter-btn.active {
  color: #0086cb;
  border-color: #0086cb;
  background: #f8fcff;
}

.bf-trefferanzeige {
  margin: 10px 0 0 0;
  color: #666;
  font-size: 15px;
}

.bf-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.bf-product-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.bf-product-image {
  width: 100%;
  height: 200px;
  background: #e3e3e3;
  overflow: hidden;
}

.bf-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Falls ein Bild fehlt, bleibt wenigstens eine ruhige Fläche stehen */
.bf-product-image img.bf-image-missing {
  object-fit: contain;
  padding: 20px;
  background: #efefef;
}

.bf-product-caption {
  padding: 16px 18px 18px 18px;
}

.bf-product-name {
  margin: 0 0 8px 0;
  color: #0086cb;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
}

.bf-product-text {
  margin: 0;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.6;
}

.bf-varianten {
  margin-top: 14px;
}

.bf-variante {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 5px 10px;
  background: #eaf5fb;
  color: #0086cb;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.2;
}

.bf-no-results {
  margin-top: 20px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  color: #666;
  border-radius: 6px;
}

#suche.form-control {
  border-radius: 4px;
  border: 1px solid #d8d8d8;
  padding: 10px 14px;
  box-shadow: none;
}

#suche.form-control:focus {
  border-color: #0086cb;
  box-shadow: 0 0 0 0.1rem rgba(0, 134, 203, 0.12);
}

/* Optional: Karten komplett klickbar vorbereiten */
.bf-product-link-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.bf-product-link-wrap:hover {
  color: inherit;
  text-decoration: none;
}

.bf-product-link-wrap:hover .bf-product-name {
  color: #006fa8;
}
/* Mittlere Bildschirmgrößen */
@media (max-width: 991px) {
  .bf-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
  }

  .bf-product-image {
    height: 210px;
  }

  .bf-product-name {
    font-size: 20px;
  }
}

/* Handy */
@media (max-width: 575px) {
  .bf-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bf-product-image {
    height: 220px;
  }

  .bf-product-caption {
    padding: 15px 16px 16px 16px;
  }

  .bf-filter-btn {
    text-align: center;
  }
}
.bf-detail-image-wrap {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
}

.bf-detail-image {
  display: block;
  width: 100%;
  height: auto;
}

.bf-detail-block {
  margin-top: 24px;
}

.bf-detail-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.bf-detail-list li {
  margin-bottom: 6px;
}

/* Kleinere Vorschaubilder in der Produktübersicht */
@media (max-width: 991px) {
  .bf-product-image {
    height: 190px;
  }
}

@media (max-width: 575px) {
  .bf-product-image {
    height: 210px;
  }
}
.bf-admin-link {
  margin-top: 30px;
  font-size: 13px;
  text-align: right;
  opacity: 0.75;
}

.bf-admin-link a {
  color: #666;
  text-decoration: none;
}

.bf-admin-link a:hover {
  color: #0086cb;
  text-decoration: underline;
}

.bf-variante-btn {
  border: none;
  cursor: pointer;
}

.bf-variante-btn.active {
  background: #0086cb;
  color: #ffffff;
}

.bf-varianten-info-box {
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px;
}

.bf-varianten-info-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.bf-varianten-label {
  color: #777777;
}

.bf-varianten-actions {
  margin-top: 14px;
}

.bf-image-placeholder {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #efefef;
  color: #777777;
  text-align: center;
}

/* Startansicht: Produkte erst nach Kategorieauswahl oder Suche anzeigen */
.bf-start-hinweis {
  margin-top: 4px;
  margin-bottom: 28px;
  padding: 24px 26px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  color: #666;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.bf-start-hinweis h3 {
  margin: 0 0 10px 0;
  color: #0086cb;
  font-size: 24px;
  font-weight: 400;
}

.bf-start-hinweis p {
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.bf-start-hinweis p:last-child {
  margin-bottom: 0;
}

.bf-start-hint-small {
  font-size: 14px;
  color: #777;
}

.bf-filter-loading {
  padding: 12px 16px;
  color: #777;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
}

.bf-filter-all {
  font-weight: 600;
}

/* Scroll-Fix: Produktinhalt darf nicht in den Parallax-/Hero-Bildbereich laufen */
.tm-welcome-row {
  position: relative;
  z-index: 1;
}

.bf-produkte-section {
  position: relative;
  z-index: 5;
  clear: both;
  background: #ffffff;
}

.bf-produkte-layout,
.bf-produkte-sidebar,
.bf-produkte-main {
  position: relative;
  z-index: 6;
  background: #ffffff;
}

.bf-page-intro,
.bf-toolbar-row,
.bf-products-grid,
.bf-start-hinweis,
.bf-no-results {
  position: relative;
  z-index: 7;
}


/* Bio-Hinweise */
.bf-bio-card-badge {
  display: inline-block;
  margin: 0 0 10px 0;
  padding: 4px 9px;
  background: #f2f9df;
  border: 1px solid #9ac31c;
  color: #527800;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.bf-bio-box {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 0 4px 0;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #d6e6aa;
  border-radius: 6px;
}

.bf-bio-logo {
  width: 92px;
  max-width: 34%;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.bf-bio-text {
  color: #222;
  font-size: 15px;
  line-height: 1.35;
  padding-top: 2px;
}

.bf-bio-text strong,
.bf-bio-text span {
  display: block;
}

.bf-bio-text strong {
  font-weight: 700;
  margin-bottom: 4px;
}

@media (max-width: 575px) {
  .bf-bio-box {
    align-items: flex-start;
  }

  .bf-bio-logo {
    width: 78px;
  }
}
