.product {
  padding: 40px;
}

.product-headline {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.product-headline a {
  text-decoration: none;
  color: #333; /* Dark text color */
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.product-headline a:hover {
  color: #ff6600; /* Highlight color on hover */
}

.product-view
{
  width: 100%;
  display: flex;
  gap: 40px;
}

.product-gallery {
  width: 40%;
  top: 20px;
}

.product-main-image {
  width: 100%;

  display: block;
}

.product-gallery-container {
  position: relative;
  display: flex;
  align-items: center;
}

.product-gallery-images {
  gap: 10px;
  margin-top: 10px;
  margin-left: 24px;
  margin-right: 24px;
  display: flex;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.product-gallery-images img {
  width: 100px;
  height: 75px;
  margin-right: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
}

.product-gallery-images img:hover {
  opacity: 0.7;
}

.product-gallery-images img.selected {
  border: 1px solid #666; /* Dunkler Rahmen für ausgewähltes Bild */
}


.gallery-btn {
  background: none;
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: font-weight 0.3s ease;
}

.gallery-btn:hover {
  font-weight: bold;
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}


.product-description {
  width: 60%;
  padding-top: 0px;
  padding-left: 0px;
  font-size: 18px;
}

.product-description h1 {
  margin-top: 0px;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Abstand zur Beschreibung */
}

.stars {
  color: #FFD700; /* Goldene Sterne */
  margin-right: 10px; /* Abstand zwischen Sternen und Anzahl der Bewertungen */
}

.stars i {
  font-size: 18px;
}

.rating-count {
  color: #666;
  font-size: 16px;
}

.product-description p {
  color: #666; /* Medium text color */
  line-height: 1.2;
  text-align: left;
  margin-top: 15px;
}

.product-description a {
  text-decoration: none;
  color: #333; /* Dark text color */
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  
}

.product-description a:hover {
  color: #ff6600; /* Highlight color on hover */
}

.product-description table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f7f7f7;
}

.product-description th, td {
  border: 1px solid #ffffff;
  padding: 10px;
  text-align: left;
  font-size: 16px;
  vertical-align: top;
}

.product-description th {
  background-color: #e0e0e0;
}

.product-description tr:nth-child(even) {
  background-color: #f0f0f0;
}

.product-description tr:hover {
  background-color: #e8e8e8;
}

.product-description ul {
  list-style: none; /* Entfernt Standard-Aufzählungszeichen */
  padding: 0 20px; /* Entfernt Einrückung */
}

.product-description ul li {
  display: flex; /* Ermöglicht die Platzierung des Kästchens und des Texts nebeneinander */
  align-items: center; /* Vertikale Ausrichtung */
  padding: 4px 0; /* Vertikaler Abstand zwischen Listenelementen */
  color: #333; /* Dunkle Schriftfarbe */
  font-size: 16px; /* Angenehme Schriftgröße */
}

.product-description ul li::before {
  content: ""; /* Fügt ein leeres Kästchen ein */
  display: inline-block; /* Macht das Kästchen sichtbar */
  width: 8px; /* Breite des Kästchens */
  height: 8px; /* Höhe des Kästchens */
  margin-right: 10px; /* Abstand zwischen Kästchen und Text */
  background-color: #333; /* Farbe des Kästchens */
  border-radius: 2px; /* Leicht abgerundete Ecken für ein modernes Aussehen */
}




.product-price {
  color: #000;
  line-height: 1.2;
  text-align: left;
  margin-top: 20px;
  font-size: 28px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.quantity-btn {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 5px 15px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quantity-btn:hover {
  background-color: #ddd;
}

#quantity {
  margin: 0 15px;
  font-size: 18px;
}

.stock-info {
  margin-left: 20px;
  font-size: 16px;
  color: #666;
}

.add-to-cart-btn {
  background-color: #FF6347;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover {
  background-color: #e5533e;
}

.out-of-stock-msg {
  background-color: #d3d3d3; /* Leicht grauer Hintergrund, um inaktiv auszusehen */
  color: #666;
  padding: 10px 20px;
  font-size: 18px;
  margin-top: 10px;
  border: none;
  display: inline-block;
}

.payment-methods {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.payment-methods i {
  font-size: 28px; /* Größe der Symbole */
  color: #666; /* Farbe der Symbole */
}

.payment-methods i:hover {
  color: #333; /* Hover-Effekt */
}









.product-reviews {
  background-color: #f8f8f8; /* Heller Hintergrund für die Bewertungen */
  padding: 20px;
  border-radius: 8px;
  margin-top: 100px;
}

.product-reviews h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333; /* Dunkle Schriftfarbe */
}

.review {
  border-bottom: 1px solid #ccc; /* Trennlinie zwischen den Bewertungen */
  padding: 15px 0;
}

.review:last-child {
  border-bottom: none; /* Keine Linie nach der letzten Bewertung */
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.review-author {
  font-weight: bold;
  color: #333; /* Dunkle Schriftfarbe für den Autor */
}

.review-date {
  font-size: 12px;
  color: #888; /* Graue Schriftfarbe für das Datum */
}

.review-rating {
  margin-bottom: 10px;
}

.review-text {
  color: #666; /* Mittelgraue Schriftfarbe für den Bewertungstext */
  line-height: 1.5;
}

.no-review-text {
  color: #666; /* Mittelgraue Schriftfarbe für den Bewertungstext */
  line-height: 1.5;
  text-align: center;
}

.pagination {
  text-align: center; /* Zentriert die Seitenlinks */
  margin-top: 20px;
}

.review-button {
  background-color: #ff6600; /* Button-Hintergrundfarbe */
  color: white; /* Textfarbe */
  border: none;
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.review-button:hover {
  background-color: #e65c00; /* Button-Farbe bei Hover */
}










/* Responsive Anpassungen */
@media (max-width: 800px) {
  .product-view {
      flex-direction: column;
  }

  .product-gallery, .product-description {
      width: 100%;
  }

  .product-description {
      padding-left: 0;
  }
}

