/* ORDERA-MENU-002 RC8: Isolated dark configurator recovery. */
/* These are local fallbacks; no global theme or management rules are changed. */
.ordera-selection-group {
  box-sizing: border-box;
  min-inline-size: 0;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--ordera-selection-border, #49444a);
  border-radius: 12px;
  background: var(--ordera-selection-surface, #252329);
  color: var(--ordera-selection-text, #f5f2ed);
  font: inherit;
}
.ordera-selection-group *, .ordera-selection-group *::before,
.ordera-selection-group *::after { box-sizing: border-box; }
.ordera-selection-group legend {
  display: table;
  float: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 8px;
  color: inherit;
  background: var(--ordera-selection-surface, #252329);
  font: inherit;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ordera-selection-group-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
  min-width: 0;
}
.ordera-selection-group-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ordera-selection-badge-surface, #413328);
  color: var(--ordera-selection-badge-text, #ffc07b);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
}
.ordera-selection-group-hint,
.ordera-selection-group-description {
  color: var(--ordera-selection-muted-text, #ded6ce);
  font-size: .9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ordera-selection-group-description { margin: 0 0 12px; }
.ordera-selection-group-options { display: grid; gap: 8px; min-width: 0; }
.ordera-selection-group .ordera-selection-option {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--ordera-selection-option-border, #565057);
  border-radius: 10px;
  background: var(--ordera-selection-option-surface, #302d33);
  color: var(--ordera-selection-text, #f5f2ed);
  font: inherit;
  line-height: 1.45;
  cursor: pointer;
}
.ordera-selection-group .ordera-selection-option:hover {
  border-color: var(--ordera-selection-accent, #ed9335);
}
.ordera-selection-group .ordera-selection-option:has(input:checked) {
  border-color: var(--ordera-selection-accent, #ed9335);
  background: var(--ordera-selection-selected-surface, #443529);
}
.ordera-selection-group .ordera-selection-option:has(input:disabled) {
  opacity: .65;
  cursor: not-allowed;
}
.ordera-selection-group .ordera-selection-option input[type="checkbox"],
.ordera-selection-group .ordera-selection-option input[type="radio"] {
  display: inline-block;
  position: static;
  opacity: 1;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  accent-color: var(--ordera-selection-accent, #ed9335);
  cursor: inherit;
}
.ordera-selection-option-label {
  display: inline;
  flex: 1 1 140px;
  min-width: 0;
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}
.ordera-selection-option-price {
  flex: 0 0 auto;
  margin-left: auto;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.ordera-selection-group .ordera-selection-option:focus-within {
  outline: 2px solid var(--ordera-selection-accent, #ed9335);
  outline-offset: 2px;
}
.ordera-selection-group :focus-visible {
  outline: 2px solid var(--ordera-selection-accent, #ed9335);
  outline-offset: 3px;
}
.ordera-selection-group[aria-invalid="true"] {
  border-color: var(--ordera-selection-error, #ffaaa0);
}
.ordera-selection-group .ordera-group-error {
  color: var(--ordera-selection-error, #ffaaa0);
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ordera-selection-group .ordera-group-error:not([hidden]) {
  display: block;
  margin: 10px 0 0;
}
@media (max-width: 520px) {
  .ordera-selection-group { padding: 12px; margin: 14px 0; }
  .ordera-selection-group .ordera-selection-option { padding: 10px; gap: 8px; }
  .ordera-selection-option-label { flex-basis: 100px; }
}
