.md-button > img,
.md-button > svg {
  margin-right: 0.5em;
  height: 1.3em;
  vertical-align: middle;
}

.md-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.testimonial-carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 2em 0;
  border-radius: 8px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  position: relative;
}

/* Dark Mode Anpassung */
[data-md-color-scheme="slate"] .testimonial-carousel-container {
  background-color: var(--md-slate-bg-color, #2c3038);
  border: 1px solid var(--md-default-fg-color--lightest);
}

/* Textfarbe im Dark Mode anpassen */
[data-md-color-scheme="slate"] .testimonial-slide blockquote {
  color: var(--md-typeset-color);
}

[data-md-color-scheme="slate"] .rating-stars {
  color: #ffd700;
  font-style: normal;
  text-shadow: 0 0 2px #000000;
}

.rating-stars {
  text-align: center;
  color: #ffd700;
  display: block;
  margin-bottom: 0.5em;
  font-style: normal;
}

.testimonial-carousel {
  display: flex;
  width: 3100%;
}

.testimonial-slide {
  width: calc(100% / 31);
  padding: 2em 4em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.testimonial-slide blockquote {
  margin: 0;
  font-style: italic;
  display: inline-block;
  text-align: left;
  max-width: 100%;
  color: var(--md-typeset-color);
}

.testimonial-slide blockquote p {
  margin-bottom: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--md-default-fg-color--light);
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Style for the SVG icons within the buttons if needed, e.g., for size if not set in JS */
.carousel-btn svg {
  width: 24px; /* Ensure size, though also set in JS */
  height: 24px; /* Ensure size, though also set in JS */
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.prev-btn {
  left: 15px; /* Adjusted slightly, may need further tweaking based on new padding */
}

.next-btn {
  right: 15px; /* Adjusted slightly, may need further tweaking based on new padding */
}

[data-md-color-scheme="slate"] .carousel-btn {
  color: var(--md-default-fg-color--dark); /* SVG will inherit this color */
  background-color: rgba(255, 255, 255, 0.1);
}

[data-md-color-scheme="slate"] .carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Styles for Purchase Options */
.purchase-options-container {
  display: flex;
  flex-direction: column; /* Optionen untereinander anordnen */
  gap: 1.5em; /* Abstand zwischen den Kaufoptionen */
  margin: 2em auto; /* Zentriert den Container und gibt ihm Außenabstand */
  max-width: 600px; /* Begrenzt die maximale Breite für bessere Lesbarkeit */
  padding: 1em;
}

.purchase-option {
  display: flex;
  flex-direction: column; /* Stack button and logo vertically */
  align-items: center; /* Center items horizontally */
  gap: 0.8em; /* Vertical gap between button and logo */
  padding: 1.5em 1em; /* Adjusted padding */
  background-color: var(--md-surface-fg-color-hover);
  border-radius: 8px;
}

.purchase-option .md-button {
  /* flex-shrink: 0; */ /* Not strictly needed in a column layout */
  min-width: 200px; /* Ensure button has a good width */
  /* padding: 0.6em 1em; */ /* Default md-button padding might be fine now */
  text-align: center;
  /* white-space: normal; */ /* Default md-button might handle this */
  margin-bottom: 0.5em; /* Or use gap on parent, this gives explicit space after button */
}

.platform-logo {
  display: block;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* margin-left: 1em; */ /* No longer needed as it's centered below */
}

.kleinanzeigen-logo {
  max-width: 160px; /* Allow Kleinanzeigen to be reasonably wide */
}

.ebay-logo {
  max-width: 120px; /* Adjust max-width for eBay PNG */
}

/* Dark Mode Anpassung für den Hintergrund der Optionen */
[data-md-color-scheme="slate"] .purchase-option {
  background-color: var(--md-surface-fg-color);
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

/* Spezifische Anpassung für das Kleinanzeigen Logo, falls nötig */
.kleinanzeigen-logo {
  max-width: 100px;
}

.ebay-logo {
  max-width: 100px; /* Beispiel: Etwas schmaler, wenn es sonst zu breit würde */
}

#remark iframe {
  color-scheme: none;
}
