/**
 * DelightUniversalOptions – Frontend Styles
 * Enthält Presets: Modern, Classic, Minimal
 */

.duo-group {
  margin: 1.5em 0;
  padding: 1em;
}

.duo-group-title {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* --- Modern --- */
.duo-design-modern {
  background: #f8f8f8;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.duo-design-modern .duo-option-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #222;
}

.duo-design-modern .duo-suboption {
  display: inline-block;
  text-align: center;
  margin: 0.5em;
  padding: 0.5em 0.8em;
  border-radius: 1em;
  background: #fff;
  border: 1px solid #ddd;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.duo-design-modern .duo-suboption:hover {
  border-color: #6abf4b;
  box-shadow: 0 0 6px rgba(106,191,75,0.4);
}

.duo-design-modern input:checked + label {
  color: #fff;
  background: #6abf4b;
  border-radius: 1em;
}

/* --- Classic --- */
.duo-design-classic {
  border: 1px solid #ccc;
  padding: 1em;
  background: #fff;
}

.duo-design-classic .duo-option {
  margin-bottom: 0.8em;
}

.duo-design-classic .duo-suboption {
  margin: 0.2em 0;
}

.duo-design-classic input[type=radio],
.duo-design-classic input[type=checkbox] {
  margin-right: 0.4em;
}

.duo-design-classic label:hover {
  color: #333;
  text-decoration: underline;
}

/* --- Minimal --- */
.duo-design-minimal {
  padding: 0;
  border: none;
  background: transparent;
}

.duo-design-minimal .duo-option-label {
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  display: inline-block;
  margin-bottom: 0.3em;
}

.duo-design-minimal .duo-suboption {
  display: block;
  margin: 0.3em 0;
}

.duo-design-minimal input[type=radio]:checked + label,
.duo-design-minimal input[type=checkbox]:checked + label {
  border-bottom: 2px solid #6abf4b;
  font-weight: 600;
}

/* --- Gemeinsame Elemente --- */
.duo-suboption img.duo-suboption-img {
  max-width: 60px;
  height: auto;
  display: block;
  margin: 0 auto 0.3em auto;
  border-radius: 0.3em;
}

.duo-price {
  font-size: 0.9em;
  color: #666;
}

.duo-option {
  margin-bottom: 1em;
}

.duo-select,
.duo-multiselect {
  width: 100%;
  padding: 0.4em;
  border-radius: 0.3em;
  border: 1px solid #ccc;
}

/* --- Responsive Verhalten --- */
@media (max-width: 768px) {
  .duo-design-modern .duo-suboption {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .duo-design-modern .duo-suboption {
    width: 100%;
  }
}
