/* Forms managed in the admin backend, styled to sit inside the original page design
   and to be comfortable with a thumb: 16px text (no zoom on focus), 48px controls. */
.om-form { font-family: inherit; color: inherit; max-width: 100%; text-align: left; -webkit-tap-highlight-color: transparent; }
.om-form-intro { margin: 0 0 20px; }
.om-form-grid { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.om-form-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; min-width: 0; scroll-margin-top: 120px; }
.om-form-field[hidden] { display: none; }
.om-form-half { flex: 1 1 calc(50% - 12px); min-width: 220px; }
.om-form-label { font-size: 14px; letter-spacing: 0.02em; font-weight: 500; line-height: 1.4; }
.om-form-label span { color: #7a6e63; }
.om-form input[type="text"], .om-form input[type="email"], .om-form input[type="tel"], .om-form input[type="number"],
.om-form input[type="date"], .om-form input[type="datetime-local"], .om-form select, .om-form textarea {
  width: 100%; min-height: 48px; box-sizing: border-box; margin: 0; padding: 11px 14px; font: inherit; font-size: 16px !important; line-height: 1.4;
  color: #1c2c34; background-color: #fff; border: 1px solid #b9b2a8; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.om-form input[type="date"], .om-form input[type="datetime-local"] { display: block; text-align: left; }
.om-form select { background-image: linear-gradient(45deg, transparent 50%, #1c2c34 50%), linear-gradient(135deg, #1c2c34 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.om-form textarea { resize: vertical; min-height: 140px; }
.om-form input[type="file"] { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 15px; color: #1c2c34; background: #fff; border: 1px dashed #b9b2a8; }
.om-form input[type="file"]::file-selector-button { margin-right: 12px; min-height: 40px; padding: 8px 14px; font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: #1c2c34; border: 0; cursor: pointer; }
/* Amounts: what is ordered on the left, fewer / more on the right, in one box like the other fields. */
.om-form-amount { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; align-self: flex-end; min-height: 48px; box-sizing: border-box;
  padding: 7px 7px 7px 14px; background: #fff; border: 1px solid #b9b2a8; }
.om-form-amount .om-form-label { flex: 1 1 auto; min-width: 0; margin: 0; color: #1c2c34; cursor: pointer; }
.om-form-label .om-form-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: #5f5f5f; }
.om-form-stepper { display: flex; flex: none; align-items: stretch; }
.om-form .om-form-step { flex: none; width: 44px; min-height: 44px; margin: 0; padding: 0; font: inherit; font-size: 22px; line-height: 1; color: #1c2c34; background: #f3f0ec;
  border: 0; border-radius: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: background-color 0.2s, color 0.2s; }
.om-form .om-form-step:hover { color: #fff; background: #1c2c34; }
.om-form .om-form-step[disabled] { color: #a9a39b; background: #f3f0ec; cursor: default; }
.om-form .om-form-stepper input[type="number"] { width: 52px; min-height: 44px; padding: 0 2px; text-align: center; font-variant-numeric: tabular-nums; border: 0; background: transparent; -moz-appearance: textfield; }
.om-form-stepper input::-webkit-outer-spin-button, .om-form-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.om-form-stepper input::placeholder { color: #8a8a8a; opacity: 1; }
.om-form-amount[data-chosen] { border-color: #1c2c34; box-shadow: inset 3px 0 0 #1c2c34; }
.om-form-amount:has(.om-invalid) { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.om-form .om-form-stepper .om-invalid { box-shadow: none; }
.dd-form-wrapper .om-form-note { color: #5f5f5f; }
.om-form-hint { font-size: 12px; color: #5f5f5f; }
/* A date and time: the day and the time side by side, the day wider. */
.om-form-when { display: flex; gap: 12px; }
.om-form-when > input[type="date"] { flex: 3 1 0; min-width: 0; }
.om-form-when > select, .om-form-when > input[type="time"] { flex: 2 1 0; min-width: 0; }
.om-form input[type="time"] { width: 100%; min-height: 48px; box-sizing: border-box; margin: 0; padding: 11px 14px; font: inherit; font-size: 16px !important; line-height: 1.4;
  color: #1c2c34; background-color: #fff; border: 1px solid #b9b2a8; border-radius: 0; appearance: none; -webkit-appearance: none; display: block; text-align: left; }
.om-form-when-note { color: #b3261e; font-size: 13px; }
.om-form-when-note[hidden] { display: none; }
.dd-form-wrapper .om-form-when-note { color: #ffb4ab; }
.dd-form-wrapper .om-form-hint { color: #e6e6e6; }
.om-form input:focus-visible, .om-form select:focus-visible, .om-form textarea:focus-visible, .om-form button:focus-visible { outline: 2px solid #7a6e63; outline-offset: 2px; }
.om-form-options { display: flex; flex-direction: column; }
/* The whole row is the target, not just the little box. */
.om-form-options label, .om-form-consent label { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; margin: 0; padding: 10px 0; box-sizing: border-box; font-size: 15px; line-height: 1.45; cursor: pointer; }
.om-form-options input, .om-form-consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #1c2c34; }
.om-form-consent label span span { color: #7a6e63; }
.om-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.om-form-submit { margin-top: 26px; min-height: 52px; padding: 16px 34px; font: inherit; font-size: 12px; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; background: #1c2c34; border: 0; border-radius: 0; cursor: pointer; transition: background-color 0.2s; touch-action: manipulation; }
.om-form-submit:hover { background: #7a6e63; }
.om-form-submit[disabled] { opacity: 0.6; cursor: progress; }
.om-form-status { margin: 16px 0 0; min-height: 1.4em; font-size: 15px; scroll-margin-top: 140px; }
.om-form-status[data-state="error"] { color: #b3261e; }
.om-form[data-sent] .om-form-grid, .om-form[data-sent] .om-form-submit, .om-form[data-sent] .om-form-intro { display: none; }
.om-form .om-invalid { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
/* The newsletter sits on a dark photo: light copy, and the accent colour for the button. */
.dd-form-wrapper .om-form, .dd-form-wrapper .om-form-field:not(.om-form-amount) > .om-form-label, .dd-form-wrapper .om-form-consent label, .dd-form-wrapper .om-form-status { color: #fff; }
.dd-form-wrapper .om-form-submit { background: #7a6e63; }
.dd-form-wrapper .om-form-submit:hover { background: #fff; color: #1c2c34; }
.dd-form-wrapper .om-form-status[data-state="error"] { color: #ffb4ab; }
@media (max-width: 600px) {
  .om-form-half { flex-basis: 100%; min-width: 0; }
  .om-form-submit { width: 100%; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .om-form-submit, .om-form .om-form-step { transition: none; } }
/* On the dark panel the accents use a light sand so they stay readable. */
.dd-form-wrapper .om-form-field:not(.om-form-amount) > .om-form-label span, .dd-form-wrapper .om-form-consent label span span { color: #d8cdc2; }
