/* booking-page/public/assets/booking.css
   Suds & Seats Co booking wizard.
   Brand tokens are pinned verbatim from the live site's stylesheet
   (sudsandseatsco.com :root, captured 2026-07-05), and the component
   styling mirrors the client's Acuity scheduling page (acuity-custom.css):
   white cards on a cream canvas, small-caps section labels, pill buttons,
   blush calendar cells. Fonts are the site's own, self-hosted below.
   No color outside :root should ever be a raw hex; every rule reaches
   for a token. */

/* ---------- Brand fonts (same files the live site serves) ---------- */

@font-face {
  font-family: 'MADE Carving Soft';
  src: url('fonts/MADECarvingSoft-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretty Dahlia';
  src: url('fonts/PrettyDahlia.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url('fonts/Nunito-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url('fonts/Nunito-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url('fonts/Nunito-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette (live site) */
  --linen: #FAF7F2;
  --linen-warm: #F5EFE6;
  --linen-deep: #EDE5D8;
  --parchment: #FFF9F2;
  --cream: #FFFDFA;
  --blush: #D4A5A5;
  --blush-soft: #E8CECE;
  --blush-pale: #F9F0F0;
  --blush-deep: #8F5657;
  --blush-button: #8C5858;
  --blush-button-hover: #743F40;
  --sage: #A3B89C;
  --sage-muted: #8DA584;
  --sage-soft: #C8D5C3;
  --sage-pale: #EFF4ED;
  --sage-deep: #5A7350;
  --clay: #915828;
  --clay-soft: #E2C4A5;
  --clay-pale: #F7EDE2;
  --ink: #2F2B28;
  --ink-soft: #5C5550;
  --ink-muted: #6A635D;
  --white: #FFFFFF;

  /* Spacing (live site) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radii (live site) */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Fonts (live site, self-hosted above) */
  --font-serif: 'MADE Carving Soft', Georgia, 'Times New Roman', serif;
  --font-body: Nunito, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Pretty Dahlia', cursive;

  /* Elevation (live site) */
  --shadow-sm: 0 2px 8px rgba(47, 43, 40, 0.05);
  --shadow: 0 4px 20px rgba(47, 43, 40, 0.07);
  --shadow-md: 0 8px 30px rgba(47, 43, 40, 0.08);
  --shadow-btn: 0 2px 12px rgba(140, 88, 88, 0.25);
  --shadow-btn-hover: 0 6px 24px rgba(140, 88, 88, 0.3);
  --shadow-day: 0 2px 10px rgba(140, 88, 88, 0.3);

  /* Motion (live site) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition: 0.35s var(--ease-out);
}

/* ---------- Reset and base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
}

p { margin: 0 0 var(--space-md); color: var(--ink-soft); }

a { color: var(--blush-deep); text-underline-offset: 2px; }
a:hover { color: var(--blush-button-hover); }

/* [hidden] must always win, no matter what display rule a later class adds */
[hidden] { display: none !important; }

/* Focus ring, one rule for every interactive element on the page */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 2px;
}
/* Step headings receive programmatic focus on step change for screen
   readers; a visible ring on static text only reads as a glitch. */
.step h1:focus, .step h1:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Small-caps section label (Acuity .select-label) ---------- */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: var(--space-lg) 0 var(--space-sm);
}

/* ---------- Header and footer (live site) ---------- */

.site-topbar {
  background: var(--blush-button);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px var(--space-md);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--linen-deep);
  text-align: center;
  padding: var(--space-md) var(--space-lg) 10px;
}

.site-header .brand {
  font-family: var(--font-hand);
  font-size: 2rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}
.site-header .brand:hover { color: var(--blush-deep); }

.site-header .tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-align: center;
}
.site-footer p { color: var(--ink-muted); margin: 0; }
.site-footer a { color: var(--ink-muted); text-decoration: underline; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Wizard canvas ---------- */

.wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.step h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 var(--space-sm);
}

.step h1 + p {
  text-align: center;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 auto var(--space-lg);
}

/* White card, the Acuity .select-item / .custom-form surface */
.card {
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: 0 0 var(--space-md);
}

/* ---------- Progress ---------- */

.progress {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
  counter-reset: step;
}

.progress li {
  position: relative;
  padding-top: 32px;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.progress li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--linen-deep);
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.progress li.current { color: var(--blush-deep); }
.progress li.current::before {
  background: var(--blush-button);
  border-color: var(--blush-button);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.progress li.done { color: var(--sage-deep); }
.progress li.done::before {
  background: var(--sage-pale);
  border-color: var(--sage-soft);
  color: var(--sage-deep);
  content: '\2713';
}

/* ---------- Notice ---------- */

.notice {
  background: var(--blush-pale);
  border: 1px solid var(--blush-soft);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-lg);
  color: var(--ink);
  font-size: 0.9rem;
}

.notice.retry {
  background: var(--clay-pale);
  border-color: var(--clay-soft);
}

/* ---------- How Our Service Works ---------- */

.how-it-works {
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-lg);
}

.how-it-works-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-hand);
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--sage-deep);
  cursor: pointer;
  list-style: none;
  text-align: center;
  padding: var(--space-xs) 0;
}
.how-it-works-summary::-webkit-details-marker { display: none; }
.how-it-works-summary::after {
  content: '\25BE';
  font-family: var(--font-body);
  font-size: 0.55em;
  color: var(--sage-muted);
  transition: transform var(--transition-fast);
}
.how-it-works[open] .how-it-works-summary::after { transform: rotate(180deg); }

.how-it-works-body { margin-top: var(--space-sm); }
.how-it-works-body p { font-size: 0.9375rem; line-height: 1.65; }

.how-it-works-welcome { text-align: center; margin: 0 0 var(--space-xs); }
.how-it-works-muted { color: var(--ink-muted); }

.how-it-works-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--blush-deep);
  margin: var(--space-lg) 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed var(--linen-deep);
}
.how-it-works-heading:first-of-type { margin-top: var(--space-md); }

.how-it-works-closing {
  text-align: center;
  font-style: italic;
  color: var(--blush-deep);
  margin: var(--space-lg) 0 var(--space-xs);
}

/* ---------- Form elements ---------- */

label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  margin: 0 0 var(--space-xs);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input:not([type]),
textarea {
  display: block;
  width: 100%;
  padding: 12px var(--space-md);
  margin: 0 0 var(--space-md);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input:not([type]):focus,
textarea:focus {
  border-color: var(--blush);
  box-shadow: 0 0 0 3px var(--blush-pale);
  outline: none;
}

textarea { resize: vertical; min-height: 64px; }

input::placeholder, textarea::placeholder { color: var(--ink-muted); opacity: 0.7; }

fieldset {
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  margin: 0 0 var(--space-md);
}

fieldset legend {
  padding: 0 var(--space-xs);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-xs) var(--space-lg) 0 0;
  font-weight: 400;
  color: var(--ink-soft);
}

input[type="radio"], input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blush-button);
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: var(--space-md) 0;
}
.terms input { margin-top: 3px; flex-shrink: 0; }

/* Required-field marker; inputs carry the required attribute for AT, the
   asterisk is the visual signal (aria-hidden) */
.req { color: var(--blush-deep); margin-left: 2px; font-weight: 700; }
.req-hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: right;
  margin: 0 0 var(--space-sm);
}

.field-error {
  color: var(--blush-deep);
  font-size: 0.85rem;
  font-weight: 600;
  margin: calc(var(--space-xs) * -1) 0 var(--space-sm);
}

/* Fields flagged by client-side validation (aria-invalid set on submit) */
input[aria-invalid="true"],
textarea[aria-invalid="true"],
fieldset[aria-invalid="true"] {
  border-color: var(--blush-deep);
}
input[type="checkbox"][aria-invalid="true"] {
  outline: 2px solid var(--blush-deep);
  outline-offset: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-md);
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  min-height: 48px;
  padding: 13px 28px;
  background: var(--blush-button);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary:hover:not(:disabled) {
  background: var(--blush-button-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled {
  background: var(--linen-deep);
  color: var(--ink-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-link {
  display: inline-block;
  background: none;
  border: none;
  padding: var(--space-xs) 0;
  margin-top: var(--space-sm);
  color: var(--blush-deep);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.btn-link:hover { color: var(--blush-button-hover); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--blush-deep);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-icon:hover:not(:disabled) { background: var(--blush-pale); border-color: var(--blush-soft); }
.btn-icon:disabled { color: var(--ink-muted); cursor: not-allowed; opacity: 0.5; }

/* Step-level actions: primary centered, back link centered under it */
.step-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.step-actions .btn-primary { min-width: 240px; }

/* ---------- Items step (Acuity .select-item cards) ---------- */

/* Appointment summary on the schedule step (Acuity's APPOINTMENT card) */
.appt-summary {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--white);
  border: 1.5px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-md);
}
.appt-summary .btn-link { margin: 0; flex-shrink: 0; }

.items-section-optional {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.items-category-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-deep);
  margin: var(--space-lg) 0 var(--space-sm);
}
.main-items > .items-category-heading:first-child { margin-top: 0; }

.items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
}

.item-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1.5px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.item-row:hover { box-shadow: var(--shadow); }
.item-row.selected {
  border-color: var(--blush-button);
  box-shadow: 0 0 0 1px var(--blush-button), var(--shadow);
}

.item-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.item-row-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--ink);
}
.item-row-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clay);
}
.item-row-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}

/* The Select / Selected pill on main-item cards (Acuity "Book" button) */
.item-row-cta {
  flex-shrink: 0;
  align-self: center;
  padding: 9px 20px;
  border: 1.5px solid var(--blush-button);
  border-radius: var(--radius-full);
  color: var(--blush-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.item-row:hover .item-row-cta { background: var(--blush-pale); }
.item-row.selected .item-row-cta {
  background: var(--blush-button);
  color: var(--white);
}

/* Add-ons: one card, hairline-separated checkbox rows (Acuity add-ons) */
.addons-section { margin: 0 0 var(--space-md); }

.addon-items {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 var(--space-md);
}

.addon-items .item-row {
  border: none;
  border-bottom: 1px solid var(--linen-deep);
  border-radius: 0;
  padding: var(--space-md) var(--space-lg);
}
.addon-items .item-row:last-child { border-bottom: none; }
.addon-items .item-row:hover { box-shadow: none; background: var(--parchment); }
.addon-items .item-row.selected {
  box-shadow: none;
  background: var(--blush-pale);
}
.addon-items .item-row-name { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; }
.addon-items .item-row-price { white-space: nowrap; }

.item-row-addon { align-items: flex-start; }
.item-row-addon input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }

.items-total {
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-xs);
}

.suggestion {
  background: var(--clay-pale);
  border: 1px solid var(--clay-soft);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-md);
  color: var(--ink);
  font-size: 0.9375rem;
}
.suggestion strong { color: var(--clay); }
.suggestion .btn-link { margin-left: var(--space-xs); margin-top: 0; }

/* ---------- Service-area map (progressive enhancement) ---------- */

#service-map { height: 260px; border-radius: var(--radius-lg); border: 1px solid var(--linen-deep); margin: var(--space-lg) 0 0; }

/* ---------- Dropoff pivot ---------- */

/* Step-1 drop-off entry: a full card, deliberately unmissable */
.dropoff-entry {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--sage-pale);
  border: 1.5px solid var(--sage-soft);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.dropoff-entry:hover { border-color: var(--sage-deep); box-shadow: var(--shadow); }
.dropoff-entry:disabled { opacity: 0.6; cursor: wait; }
.dropoff-entry-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--sage-deep);
}
.dropoff-entry-desc { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }
.dropoff-entry-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

#dropoff-note {
  text-align: center;
  color: var(--sage-deep);
  background: var(--sage-pale);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  max-width: 46ch;
  margin: 0 auto var(--space-lg);
}

/* ---------- Schedule step: calendar + times (Acuity layout) ---------- */

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
  margin: 0 0 var(--space-sm);
}
@media (min-width: 700px) {
  .schedule-layout { grid-template-columns: 380px 1fr; }
  /* Until a day is picked there is no times panel; keep the calendar centered */
  .schedule-layout:has(#times-wrap[hidden]) { grid-template-columns: 1fr; }
  .schedule-layout:has(#times-wrap[hidden]) .cal-panel {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
}

.cal-panel {
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 var(--space-md);
}

#cal-label {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ink);
}

.cal-nav { display: flex; gap: var(--space-sm); }

#calendar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 var(--space-sm);
}

.cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-row.cal-dow span {
  display: block;
  text-align: center;
  padding: var(--space-xs) 0;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cal-cell {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: default;
  transition: background var(--transition-fast), color var(--transition-fast);
}

/* Available day (Acuity .activeday) */
.cal-cell.selectable {
  background: var(--blush-pale);
  color: var(--blush-deep);
  font-weight: 600;
  cursor: pointer;
}
.cal-cell.selectable:hover { background: var(--blush-soft); }

/* Selected day (Acuity .selectedday) */
.cal-cell.selected {
  background: var(--blush-button);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-day);
}

/* Unavailable days stay quiet; a small dot names the reason */
.cal-cell.blocked-capacity,
.cal-cell.not-offered,
.cal-cell.blocked-route {
  color: var(--ink-muted);
  opacity: 0.55;
  cursor: not-allowed;
}

.cal-cell.out { opacity: 0.25; }

.cal-cell.blocked-capacity::after,
.cal-cell.blocked-route::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
}
.cal-cell.blocked-capacity::after { background: var(--ink-muted); }
.cal-cell.blocked-route::after { background: var(--clay); }

.cal-cell.today:not(.selected) {
  box-shadow: inset 0 0 0 1.5px var(--sage-muted);
  font-weight: 700;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0 var(--space-xs);
  color: var(--ink-muted);
  font-size: 0.78rem;
}
.cal-legend-item { display: inline-flex; align-items: center; gap: var(--space-xs); }
.cal-legend-item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--ink-muted);
}
.cal-legend-item.legend-open::before { background: var(--blush-pale); box-shadow: inset 0 0 0 1px var(--blush); }
.cal-legend-item.legend-unavailable::before { background: var(--linen-deep); }
.cal-legend-item.legend-route::before { background: var(--clay-soft); }

#btn-next-available { margin-top: var(--space-xs); }

/* Times panel: vertical pill list beside the calendar (Acuity times) */
#times-wrap { min-width: 0; }

#times-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin: var(--space-xs) 0 var(--space-md);
  text-align: center;
}

#times {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
#times p { text-align: center; font-size: 0.9rem; color: var(--ink-muted); }

.time-btn {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--linen-deep);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.time-btn:hover {
  border-color: var(--blush);
  color: var(--blush-deep);
  background: var(--blush-pale);
}
.time-btn.selected {
  background: var(--blush-button);
  border-color: var(--blush-button);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.hold {
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 var(--space-md);
  background: var(--sage-pale);
  border: 1px solid var(--sage-soft);
  color: var(--sage-deep);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
}
.hold:empty { display: none; }

/* ---------- Review ---------- */

.summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: 0 0 var(--space-md);
}
.summary > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed var(--linen-deep);
}
.summary > div:last-child { border-bottom: none; padding-bottom: 0; }
.summary dt {
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 4px;
}
.summary dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Done ---------- */

#step-done { text-align: center; }
#step-done h1 {
  font-family: var(--font-hand);
  font-size: 2.6rem;
  color: var(--sage-deep);
  letter-spacing: 0;
}
#done-details {
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: 0 auto var(--space-lg);
  max-width: 440px;
}
#done-details p { margin: 0 0 var(--space-sm); }
#done-details p:last-child { margin: 0; }

/* ---------- Mobile ---------- */

@media (max-width: 520px) {
  .wizard { padding: var(--space-lg) var(--space-sm); }

  .site-header .brand { font-size: 1.7rem; }

  .progress { gap: var(--space-md); }
  /* Labels are hidden on small screens; keep each dot its full width so the
     absolutely-positioned circles don't collapse onto each other. */
  .progress li { font-size: 0; letter-spacing: 0; min-width: 24px; padding-top: 24px; }

  .step h1 { font-size: 1.5rem; }

  .grid-2 { grid-template-columns: 1fr; }

  .card, .cal-panel { padding: var(--space-md); }

  .cal-cell { min-width: 44px; min-height: 44px; font-size: 1rem; }

  .item-row { padding: var(--space-md); gap: var(--space-sm); flex-wrap: wrap; }
  .item-row-cta { align-self: flex-start; }

  .how-it-works { padding: var(--space-md); }
  .how-it-works-summary { font-size: 1.5rem; }

  .step-actions .btn-primary { width: 100%; }

  #service-map { height: 200px; }
}
