table {
    padding: 5px 15px 5px 10px;
}

td, th {
    padding: 0 5px 5px 5px;
}

.prd-detail-breadcrumbs {
    /* margin-top: 12px;
    left: -170px; */
    position: relative;
    z-index: 10;
    text-align: left !important;
}
ul.contentnav-2 li span.zurück {
    background: url(./../images/nav-3ebene.jpg) no-repeat;
    background-position: 0 0;
    width: 15px;
    height: 23px;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    z-index: 0;
}

.breadcrumb {
    list-style: none; display: flex; gap: 8px; padding: 0;
}
#backToCategoryBtn {
    width: 75px;
    text-align: center;
    text-indent: 0;
    float: left;
    padding: 0px !important;
    border-radius: 7px;
}
#backToCategoryBtn:hover,
#backToCategoryBtn:hover #backSpan {
    color: white !important;
}

.prd-detail-container {
    display: flex;
    flex-direction: row;
    padding: 10px;
    width: 100%;
    margin-top: 20px;
}
.prd-detail-img {
    padding: 5px;
    /* margin-right: 20px; */
    position: relative;
    z-index: -1;
}

.prd-detail-container-right p, .prd-detail-container-right li {
    padding: 0 20px 0 0 !important;
}

.prd-detail-container-left p, .prd-detail-container-left span  {
    padding: 0 0 0 10px !important;
}
.angabe {
    margin-top: 5px;;
}
.prd-detail-price-left {
    width: 60%;
    margin-top: 7px;
}
.boxwrap {
    padding: 0px !important;
}
.prd-detail-container-left {
    width: 55%;
    text-align: center;
}
.prd-detail-container-right {
    width: 45%;
    padding: 5px;
}
.aktionspreis {
    position: relative;
    top: 40px;
}

.prd-detail-span {
    display: block;
    margin-top: 5px;
}

.prd-detail-price-container {
    margin-top: 15px;
    padding: 0px 0px 0px 10px;

}

.flex-container-col {
    display:flex;
    flex-direction: column;
}
.flex-container-row {
    display:flex;
    flex-direction: row;
}
/* Der Container, der alles in eine Zeile zwingt */
.einheitsSelektion-detail {
    display: flex;           /* Aktiviert das Flexbox-Layout */
    align-items: center;     /* Zentriert alles vertikal */
    gap: 8px;                /* Fügt Abstände zwischen den Elementen hinzu */
}

/* Container für die Plus/Minus Pfeile */
.pfeile {
    display: flex;
    flex-direction: column;  /* Pfeile übereinander (oder 'row' für nebeneinander) */
    justify-content: center;
}

/* Optional: Styling für die Pfeile, damit sie klickbar aussehen */
.quantity-plus, .quantity-minus {
    cursor: pointer;
    line-height: 1;          /* Verhindert unnötige Höhe */
}

.einheitsSelektion-detail {
    display: flex;
    flex-direction: row;
}

/* .line {
    height: 1px;
    background-color: lightgray;
} */
.prd-detail-h1 {
    padding: 5px 15px 5px 0px !important;
    margin: 5px 15px 5px 0px !important;
}
.prd-detail-p {
    padding: 5px 15px 5px 0px !important;
    margin: 5px 15px 5px 0px !important;
}

/* TABS */
/* Container Styling */
.tab-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  font-family: sans-serif;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  overflow: hidden;
}

/* Navigation Leiste */
.tab-nav {
  display: flex;
  /* background-color: #f5f5f5; */
  border-bottom: 1px solid #ddd;
}

/* Die Buttons */
.tab-btn {
  flex: 1; /* Alle Buttons gleich breit */
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #745E52;
  transition: all 0.3s ease;
  hyphens: auto;
}

.tab-btn:hover {
  background-color: #e9e9e9;
  color: #745E52;
}

/* Der aktive Button */
.tab-btn.active {
  /*background-color: #fff;*/
  color: #f19612; /* Deine Primärfarbe */
  border-bottom: 2px solid #f19612;
}

/* Content Bereich */
.tab-body {
  padding: 20px;
  /* background-color: #fff; */
}

/* Standardmäßig alle Inhalte ausblenden */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s;
}

/* Nur den aktiven Inhalt anzeigen */
.tab-pane.active {
  display: block;
}

/* Kleine Animation beim Wechseln */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SIMILAR PRODUCTS */

.section {
    width: 100%;
    /* 3. WICHTIG: Stapelreihenfolge erhöhen */
    position: relative; 
    margin-top: 30px;
    
}
/* 1. Der Container: Das Grid */
.sim-products-container {
    display: grid;
    /* Mobile First: Erstmal 1 Spalte */
    grid-template-columns: 1fr; 
    gap: 20px; /* Abstand zwischen den Karten */
    margin-top: 20px;
    width: 100%;
}

.sim-product img.biologo {
    padding: 0;
}
.sim-product div.has-text-centered {
    justify-items: center;
}
.badges {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}
.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge img{
    max-height: 70px;
    
}
.badge .icon-tag {
    text-align: center;
}

.faq-question {
    display: block;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    padding: 5px 15px 5px 10px;
}



/* 2. Responsive Breakpoints */

/* Tablet: 2 Spalten */
@media (min-width: 600px) {
    .sim-products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 Spalten (Wie gewünscht) */
@media (min-width: 1024px) {
    .sim-products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 3. Der Link-Wrapper (<a> Tag) */
.sim-products-container > a {
    text-decoration: none; /* Unterstreichung weg */
    color: inherit; /* Textfarbe vom Body erben */
    display: flex; /* Damit das Kind (.sim-product) die volle Höhe nutzt */
    margin-left: 15px;
    margin-right: 15px;
}

/* 4. Die Produktkarte (.sim-product) */
.sim-product {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* Leicht abgerundete Ecken */
    padding: 15px;
    text-align: center !important;
    width: 100%;
    max-width: 100%;
    
    /* Flexbox für vertikale Ausrichtung */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Schiebt Inhalt auseinander */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effekt: Leichtes Anheben */
.sim-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #f19612; /* Natur-Grün passend zum Thema */
}

/* 5. Bild Styling */
.sim-product > img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Verhindert Verzerren */
    margin-bottom: 0px;
    max-height: 150px; /* Optional: Begrenzt Bildhöhe */
}

/* 6. Typografie */
.sim-product-h3 {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.4;
    color: #333;
    text-align: center !important;
    /* Optional: Titel nach 2 Zeilen abschneiden (modernes CSS) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sim-product-price {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Siegel Bilder (klein machen) */
.sim-product img[src*="siegel"], /* Falls Siegel spezifische Namen haben */
.sim-product img:not(:first-child) { 
    max-height: 30px;
    width: auto;
    margin: 0 2px;
    display: inline-block;
}

/* Product Picture Slider */
/* Container */
.css-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
}

/* Radio Buttons verstecken */
.css-slider input[type="radio"] {
  display: none;
}

/* Slide-Container */
.css-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 300px; /* Höhe anpassen */
  margin: auto;
  overflow: hidden;
}

.css-slider input[type="radio"] { display: none; }

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  width: 33.333%;
  height: 100%;
  position: relative;
}

/* Das entscheidende Styling für das <img> Tag */
.slide img {

  object-fit: cover; /* Verhält sich wie background-size: cover */
  display: block;
  margin: auto;
  height: auto;
}


/* Navigations-Logik */
#slide-1:checked ~ .slides { transform: translateX(0%); }
#slide-2:checked ~ .slides { transform: translateX(-33.333%); }
#slide-3:checked ~ .slides { transform: translateX(-66.666%); }

/* Dots Styling */
.dots {
  position: relative;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dots label {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,0.1);
}

#slide-1:checked ~ .dots label[for="slide-1"],
#slide-2:checked ~ .dots label[for="slide-2"],
#slide-3:checked ~ .dots label[for="slide-3"] {
  background: #f19612; /* Deine Markenfarbe */
}