.product-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.slideshow {
  width: 50%;
  flex-shrink: 0;
}
.slideshow-main img {
  display: none;
}
.slideshow-main img.active {
  display: block !important;
}
.slideshow-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.slideshow-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 0;
  opacity: 0.7;
  transition: opacity 0.2s, border 0.2s;
}
.slideshow-thumbs img:hover,
.slideshow-thumbs img:focus {
  opacity: 1;
  border: 1px solid #000;
}
.product-info {
  flex: 1;
}

.slideshow-thumbs img.active {
  opacity: 1;
  border: 1px solid #000;
}



.slideshow-main {
  width: 45vw;
  max-width: 600px;
  height: 45vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* Bild bleibt ganz sichtbar, zentriert */
  object-position: center center;
  position: absolute;
  top: 0; left: 0;
  display: none;
}



/* Responsive: untereinander auf kleinen Bildschirmen */
@media (max-width: 800px) {
  .product-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .slideshow {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

.slideshow-main {
  width: 90vw;
  height: 90vw;

}

}




.color-combos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.combo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.combo-colors {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.color-name {
  display: inline-block;
}

.color-preview-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
}

.color-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  display: block;
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin: 0 auto 16px auto;
  object-fit: cover;
}

.color-names-svg {
  position: absolute;
  top: 0; left: 0;
  width: 140px;
  height: 140px;
  pointer-events: none;
  z-index: 2;
}

.combo-info, .button-info {
  margin-top: 3rem;
}

button,
.personalize-link {
  display: block;
  margin: 0 auto;
}



/* Button standardmäßig ausblenden */
.combo-block button {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -75%); /* über dem Canvas, mittig */
  z-index: 3;
  opacity: 1;
}

/* Button bei Hover auf Combo-Block anzeigen */
.combo-block:hover button,
.combo-block:focus-within button {
  display: block;
}



.button {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #ccc;
  background-color: white;
}


.extra {
  margin-top: 40px;
}

.extra h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.extra h3 {
  margin-top: 20px;
}