/* Private to cria-a-tua-festa.html; no dashboard or shared stylesheet changes. */
.form-card { min-width: 0; }
.wizard-step h2 { scroll-margin-top: 20px; }
.wizard-step h2:focus { outline: none; }
.wizard-step h2:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
button:focus-visible, a:focus-visible { outline: 3px solid #9d1556; outline-offset: 4px; }
.service-spec-grid { grid-template-columns: 1fr; }
.service-spec-card { padding: 24px; border-radius: 22px; }
.service-spec-card h3 { line-height: 1.35; }
.service-preferences { margin-top: 18px; }
.preference-help { color: #59657a; font-size: 13px; line-height: 1.6; }
.description-count { color: #59657a; font-size: 12px; line-height: 1.5; margin: 16px 0 0; }
.description-count.is-over-limit { padding: 12px; border: 1px solid #b32246; border-radius: 10px; background: #fff1f4; color: #8c1734; }
.description-count:focus { outline: 3px solid #b32246; outline-offset: 3px; }
.preference-group { min-width: 0; margin: 20px 0; padding: 0; border: 0; }
.preference-group legend { padding: 0 0 10px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.preference-group legend small { font-weight: 400; font-size: 12px; color: #59657a; }
.preference-options { display: flex; flex-wrap: wrap; gap: 8px; }
.preference-option { position: relative; display: flex; align-items: center; margin: 0; padding: 11px 14px; min-height: 44px; border: 1px solid #e7d7df; border-radius: 12px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; line-height: 1.35; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.preference-option:hover { border-color: #ef9abd; transform: translateY(-1px); }
.preference-option:has(:checked) { background: #fff0f6; border-color: var(--pink); color: #a30850; box-shadow: 0 7px 16px #ed0b7012; }
.preference-option:focus-within { outline: 3px solid #ed0b7029; outline-offset: 2px; }
.preference-option input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.preference-option span { display: block; }
.allergy-question { grid-column: 1 / -1; margin: 16px 0 4px; padding: 16px; border: 1px solid #f0d8e4; border-radius: 16px; background: linear-gradient(145deg,#fffafd,#fffaf5); }
.allergy-question legend { padding: 0 0 10px; font-size: 14px; font-weight: 900; }
.allergy-options { display: grid; grid-template-columns: repeat(2,minmax(0,140px)); }
.allergy-details { display: block; margin: 13px 0 0 !important; }
.allergy-details[hidden] { display: none; }
.allergy-details textarea { min-height: 82px; background: #fff; }
.preference-other { font-size: 12px; font-weight: 700; }
.preference-other span { font-weight: 400; color: #59657a; }
.preference-other input { font-weight: 400; }
.reference-image-previews figure { margin: 8px 0; aspect-ratio: auto; padding: 8px; }
.reference-image-previews img { height: 100px; border-radius: 8px; }
.reference-image-previews figcaption { position: static; overflow-wrap: anywhere; background: none; color: #536078; font-size: 12px; padding: 8px 0; border-radius: 0; }
.reference-remove { padding: 10px 14px; min-height: 44px; border: 1px solid #e2d5df; border-radius: 10px; background: white; color: #861343; cursor: pointer; }
.cake-choice { min-height: 44px; }
.cake-choice.selected { border-color: var(--pink); background: #fff7fa; color: #a30850; box-shadow: 0 0 0 1px #ed0b7020, 0 7px 16px #ed0b700d; }
.cake-choice.selected:before { content: none; }
.subcat { font-size: 13px; line-height: 1.4; }
.wizard-actions { position: sticky; bottom: 0; z-index: 4; padding: 14px 0 max(14px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #f1dce6; }
.wizard-actions .action { min-height: 48px; font-size: 14px; }
.hint, .service-spec-card-head p, .specification-tip { color: #536078; }
@media (max-width: 580px) {
  .wizard-shell { padding: 8px 10px 20px; }
  .brand { width: min(55vw, 195px); }
  .form-card { padding: 25px 16px 0; border-radius: 24px; }
  .intro h1 { font-size: clamp(30px, 8vw, 37px); letter-spacing: -1.4px; line-height: 1.08; }
  .step-track { margin: 24px 0; }
  .service-spec-card { padding: 16px; border-radius: 18px; }
  .service-spec-tag { font-size: 11px; line-height: 1.4; }
  .service-spec-grid textarea, .preference-other input { font-size: 16px; }
  .cake-other input { font-size: 16px; }
  .preference-options { display: grid; grid-template-columns: 1fr; }
  .allergy-options { grid-template-columns: 1fr 1fr; }
  .preference-option { font-size: 14px; }
  .subcat { font-size: 13px; min-height: 142px; }
  .subcategory-group-head h3 { font-size: 15px; }
  .subcategory-group-head p { font-size: 12px; }
  .choice-label { max-width: 82%; text-shadow: 0 1px 4px #fff; }
  .choice img { opacity: .35; }
  .wizard-actions { gap: 8px; margin-top: 24px; }
  .wizard-actions .action { padding: 13px 14px; }
  input[type=file] { max-width: 100%; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
