/* Shared order-page primitives used by brookie, cookie, and lucky flows. */
:where(input, textarea, select).is-invalid {
  border-color: var(--danger, var(--red, #ff4d3d));
  box-shadow: 0 0 0 4px rgba(255, 77, 61, 0.14);
}

.fieldError {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  color: var(--danger, var(--red, #ff4d3d));
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.fieldError[hidden] {
  display: none;
}

.useCasePills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.useCasePills button {
  border: 1px solid var(--line, #eadfd5);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #171313);
  padding: 10px 14px;
  font-weight: 850;
  box-shadow: var(--soft-shadow, 0 10px 24px rgba(40, 27, 18, 0.07));
}

.useCasePills button:hover,
.useCasePills button:focus-visible {
  border-color: var(--orange, #ff7a00);
  outline: none;
  transform: translateY(-1px);
}

.presetPills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.presetPills button {
  border: 1px solid var(--line, #eadfd5);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #171313);
  padding: 10px 14px;
  font-weight: 850;
  box-shadow: var(--soft-shadow, 0 10px 24px rgba(40, 27, 18, 0.07));
}

.presetPills button:hover,
.presetPills button:focus-visible {
  border-color: var(--orange, #ff7a00);
  background: rgba(255, 122, 0, 0.1);
  outline: none;
}
