.thanksliving-section {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f4f4f9;
}

.thanksliving-section legend {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 0.5rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.form-field input,
.form-field select {
  width: 100%;
  max-width: 320px;
  padding: 0.4rem 0.5rem;
  margin-right: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.field-ingredients {
  font-size: 0 nine rem;
  font-style: italic;
  color: #555;
  margin-top: 0.2rem;
}

.required {
  color: #d00;
  font-weight: 700;
}

.nested-object {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nested-field {
  min-width: 140px;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit button {
  padding: 0.6rem 1.8rem;
  background: #c66b1e;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.form-submit button:hover {
  background: #a95617;
}

.thank-you-message {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  background: #e5f8ea;
  border: 1px solid #b9e7c5;
  color: #236234;
}

/* Prices block that appears after size dropdown */
.item-prices {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.2rem;

  /* Make it behave like a flex item within .nested-object */
  flex-basis: 100%; /* take full row under the inputs */
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  background: #fbf1e8;
  border: 1px solid #f3f2f0ff;
}

.item-prices h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 400;
}

.item-prices ul {
  margin: 0;
  padding-left: 1.1rem;
}

.item-prices li {
  margin: 0.1rem 0;
  line-height: 1.3;
}

.order-summary {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  background: #f4f4f9;
  border: 1px solid #ddd;
}

/* Header with toggle + total */
.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #333;
}

.order-summary-total-label {
  font-weight: 600;
}

/* Collapsible body */
.order-summary-body {
  margin-top: 0.6rem;
}

.order-summary.collapsed .order-summary-body {
  display: none;
}

/* Table styling */
.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.order-summary-table th,
.order-summary-table td {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid #e2e2e2;
  text-align: left;
}

.order-summary-table th {
  font-weight: 600;
}
