/* Operate inside the established brand: no new palette, imagery or motion.
   Form labels and states use the existing body face; the hero is untouched. */
.custom-order { max-width: 480px; margin-top: 30px; padding: 24px 0; border-block: 1px solid var(--forest); }
.custom-order h3 { font: 400 var(--order-title-size)/1.3 var(--display); letter-spacing: -.028em; }
.custom-order p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.custom-order a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 14px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
@media (hover: hover) {
  .custom-order a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.order-form { margin-top: 30px; }
.order-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.order-form legend { margin-bottom: 18px; font-size: 17px; font-weight: 700; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.request-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.request-field-wide { grid-column: 1 / -1; }
.request-field label { font-size: 14px; font-weight: 700; line-height: 1.4; }
.request-field label span { font-weight: 400; color: var(--muted); }
.request-field input, .request-field textarea, .request-field select {
  display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--forest); border-radius: 12px; background: var(--paper);
  color: var(--forest); caret-color: var(--forest); font: 400 16px/1.5 var(--body);
}
.request-field textarea { min-height: 98px; resize: vertical; }
.request-field select { appearance: auto; }
.request-field input::placeholder, .request-field textarea::placeholder { color: #596551; opacity: 1; }
.request-field input:focus-visible, .request-field textarea:focus-visible, .request-field select:focus-visible, .request-consent input:focus-visible {
  outline: 2px solid var(--forest); outline-offset: 3px;
}
.request-field [aria-invalid="true"] { border-width: 2px; padding: 11px 13px; }
.field-error, .request-help { font-size: 12px; line-height: 1.5; color: var(--forest); }
.field-error:empty { display: none; }
.field-error { font-weight: 700; }
.request-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 12px; margin-top: 22px; }
.request-consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--forest); }
.request-consent label { font-size: 12px; line-height: 1.6; cursor: pointer; }
.request-consent .field-error { grid-column: 2; }
.request-consent label a { text-decoration: underline; text-underline-offset: 3px; }
.request-consent-optional { margin-top: 14px; }
.field-hint { font-size: 12px; line-height: 1.5; color: var(--forest); }
.field-hint[data-state="warn"] { font-weight: 700; }
.checkout-summary { margin: 30px 0 28px; padding: 22px; border: 1px solid var(--forest); border-radius: 18px; }
.checkout-summary > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.checkout-summary h3 { font: 700 17px/1.4 var(--body); }
.checkout-summary button { flex-shrink: 0; }
.checkout-lines { margin-top: 16px; }
.checkout-lines ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.checkout-lines li { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; line-height: 1.5; }
.checkout-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout-total { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.checkout-total strong { font: 400 21px/1.35 var(--display); font-variant-numeric: tabular-nums; }
#checkout-delivery-note { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.payment-note { max-width: 520px; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.order-form .button { margin-top: 24px; min-width: 220px; justify-content: center; }
.order-form .button:disabled { opacity: .5; cursor: not-allowed; }
.order-form fieldset:disabled { opacity: .75; }
.request-status { margin-top: 16px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.request-status:empty { display: none; }
.request-status:focus { outline: 2px solid var(--forest); outline-offset: 6px; }
.request-status[data-state="success"] { font-weight: 700; }
.request-alternative { margin-top: 20px; font-size: 13px; }
.request-alternative a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 850px) {
  .order-form { max-width: 620px; }
}
@media (max-width: 450px) {
  .custom-order { margin-top: 24px; padding-block: 20px; }
  .request-fields { grid-template-columns: minmax(0, 1fr); }
  .order-form .button { width: 100%; }
}
