:root { color-scheme: light; --ink: #302822; --accent: #7b302c; --paper: #fffdf9; --muted: #71645a; --line: #ded4c9; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4eee5; color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
.shell { max-width: 760px; margin: auto; padding: 20px 16px 32px; }
.brand-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.brand { font: 700 1.35rem Georgia, serif; overflow-wrap: anywhere; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 5vw, 42px); box-shadow: 0 8px 32px #30282208; }
h1 { font: 500 clamp(1.85rem, 5vw, 2.65rem)/1.12 Georgia, serif; margin: 24px 0 16px; }
h2 { font-size: 1.1rem; margin: 0 0 12px; }
p { margin: 12px 0; }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
input, select, textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #a8998b; border-radius: 8px; color: var(--ink); background: white; }
button { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; color: var(--ink); background: white; }
button.primary { background: var(--accent); color: white; border-color: var(--accent); font-weight: 650; }
button:hover { filter: brightness(.94); }
button:disabled { opacity: .38; cursor: not-allowed; }
:focus-visible { outline: 3px solid #ab671e; outline-offset: 3px; }
.small-button { padding: 8px 10px; }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 4px; margin: 0 0 28px; padding: 0; }
.progress li { text-align: center; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.progress span { display: block; margin: 0 auto 8px; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: #eee6dd; }
.progress [aria-current] { color: var(--accent); font-weight: 700; }
.progress [aria-current] span { color: white; background: var(--accent); }
.timezone, .hint { color: var(--muted); font-size: .9rem; }
.field { margin: 20px 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.booking-form input:is([type='date'], [type='time']) { display: block; max-width: 100%; min-height: 50px; }
@media (pointer: coarse) {
  /* Keep the native picker while sizing the field like the other inputs on iOS. */
  .booking-form input:is([type='date'], [type='time']) { -webkit-appearance: none; appearance: none; }
  .booking-form input:is([type='date'], [type='time'])::-webkit-date-and-time-value { min-width: 0; text-align: left; }
  .booking-form input:is([type='date'], [type='time'])::-webkit-datetime-edit { min-width: 0; padding: 0; }
}
.whatsapp-consent { margin-top: 28px; padding: 20px; border: 1px solid #b9d7c3; border-radius: 14px; background: #f1faf4; box-shadow: 0 8px 24px #2f70480d; }
.whatsapp-consent-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.whatsapp-consent-heading div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.whatsapp-consent-heading strong { color: #245d3b; font-size: 1rem; }
.whatsapp-consent-heading div > span { color: var(--muted); font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.whatsapp-consent-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: #287348; box-shadow: 0 4px 12px #2873482e; }
.whatsapp-consent-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.whatsapp-consent-icon svg path + path { fill: currentColor; stroke: none; }
.field .whatsapp-consent-choice { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 11px; margin: 0; cursor: pointer; font-weight: 650; line-height: 1.45; }
.whatsapp-consent-choice input[type='checkbox'] { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: #287348; }
.whatsapp-consent-help { margin: 10px 0 0 33px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.actions .primary { margin-left: auto; }
.error-summary, .notice { padding: 16px; border-radius: 8px; background: #f4e9dc; margin: 20px 0; }
.error-summary { border: 1px solid #a12722; color: #84241f; }
.time-window-error { margin: 12px 0 18px; padding: 12px 14px; border: 1px solid #d5a19a; border-left: 4px solid #a12722; border-radius: 8px; color: #84241f; background: #fff2ef; font-size: .92rem; }
.time-window-error[hidden] { display: none; }
.error-summary a, .errorlist { color: #84241f; }
.errorlist { padding-left: 20px; font-size: .9rem; }
[aria-invalid=true] { border-color: #a12722; }
.review-section { border-top: 1px solid var(--line); padding: 24px 0; }
.review-section a { display: inline-block; margin: 8px 20px 0 0; }
.receipt-next-step { margin-top: 28px; padding: 20px; border: 1px solid #b9d7c3; border-left: 5px solid #2f7048; border-radius: 12px; background: #eef8f1; box-shadow: 0 6px 20px #2f704812; }
.receipt-notification { display: flex; align-items: center; gap: 12px; }
.receipt-notification p { margin: 0; }
.receipt-icon { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #2f7048; color: white; font-size: 1.25rem; font-weight: 800; }
#redirect-message { margin: 18px 0 0; color: var(--muted); }
.countdown-badge { display: inline-grid; width: 42px; height: 42px; margin: 0 5px; place-items: center; vertical-align: middle; border: 2px solid #2f7048; border-radius: 50%; background: white; }
#redirect-countdown { color: #2f7048; font-size: 1.2rem; }
dl { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 2fr); gap: 12px 16px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
footer { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 24px; }
.calendar { margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.calendar-header h2 { margin: 0; text-align: center; font-size: 1rem; }
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.calendar-days button { padding: 4px 0; border-color: transparent; min-height: 44px; }
.calendar-days .weekday { color: var(--muted); font-size: .72rem; padding: 4px 0; }
.calendar-days [aria-pressed=true] { background: var(--accent); color: white; }
@media (max-width: 380px) {
  .shell { padding: 12px 8px; }
  .card { padding: 16px; }
  .calendar { padding: 6px; }
  .whatsapp-consent { padding: 16px; }
  .whatsapp-consent-help { margin-left: 0; }
}
