.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; justify-content: center; align-items: center;
  padding: 20px; box-sizing: border-box;
}

.product-detail-card {
  background: #ffffff;
  width: 100%; max-width: 900px;
  max-height: 90vh; overflow-y: auto;
  border-radius: 16px; padding: 30px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute; top: 15px; right: 20px;
  background: none; border: none; font-size: 2rem;
  cursor: pointer; color: #64748b;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* Galerie Styling */
.main-image-wrapper img {
  width: 100%; height: 350px;
  object-fit: cover; border-radius: 12px;
}

.thumbnail-list {
  display: flex; gap: 10px; margin-top: 12px; overflow-x: auto;
}

.thumbnail-list img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: 6px; cursor: pointer; opacity: 0.6;
  border: 2px solid transparent; transition: all 0.2s;
}

.thumbnail-list img.active, .thumbnail-list img:hover {
  opacity: 1; border-color: #10b981;
}

/* Produktdaten Styling */
.product-badge {
  background: #f1f5f9; color: #475569;
  padding: 4px 10px; border-radius: 12px; font-size: 0.8rem;
}

.product-price {
  font-size: 1.8rem; font-weight: 700; color: #10b981; margin: 15px 0;
}

.btn-large {
  width: 100%; padding: 14px; font-size: 1.1rem;
  background: #10b981; color: white; border: none;
  border-radius: 8px; cursor: pointer; font-weight: 600;
}

.product-meta-list {
  margin-top: 20px; padding-left: 0; list-style: none;
  font-size: 0.9rem; color: #64748b;
}