/* Weekend Orders — online appointments.
 * Colours and fonts come from the theme when it sets these variables:
 * --wo-appt-accent, --wo-appt-soft, --wo-appt-ink, --wo-appt-paper, --wo-appt-mist, --wo-appt-line. */
.wo-appt, .wo-client {
	--a: var(--wo-appt-accent, #2F6F62);
	--soft: var(--wo-appt-soft, #DCEBE5);
	--ink: var(--wo-appt-ink, #1F2A2E);
	--paper: var(--wo-appt-paper, #FFFFFF);
	--mist: var(--wo-appt-mist, #F2F4F1);
	--line: var(--wo-appt-line, #D5DCD8);
	--muted: color-mix(in srgb, var(--ink) 58%, var(--paper));
	color: var(--ink);
	font: inherit;
	max-width: 1080px;
	margin-inline: auto;
}
.wo-appt *, .wo-appt *::before, .wo-appt *::after { box-sizing: border-box; }
.wo-appt button { font: inherit; cursor: pointer; }
.wo-appt :where(button) { color: inherit; }
.wo-appt :focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }

/* Steps: a real sequence, so numbered. */
.wo-appt__steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; counter-reset: none; }
.wo-appt__step { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 3px solid var(--line); color: var(--muted); font-size: .92rem; }
.wo-appt__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 2px solid currentColor; }
.wo-appt__step.is-done { color: var(--ink); border-bottom-color: var(--soft); }
.wo-appt__step.is-current { color: var(--ink); border-bottom-color: var(--a); font-weight: 600; }
.wo-appt__step.is-current .wo-appt__num { background: var(--a); border-color: var(--a); color: var(--paper); }
@media (max-width: 560px) { .wo-appt__steplabel { display: none; } .wo-appt__step.is-current .wo-appt__steplabel { display: inline; } }

.wo-appt__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.wo-appt__h { font-size: 1.45rem; line-height: 1.2; margin: 0 0 14px; outline: none; }
.wo-appt__h2 { font-size: 1.05rem; margin: 22px 0 8px; }

/* 1. The price list: name … length · price, with a dotted leader. */
.wo-appt__menu, .wo-appt__people { list-style: none; margin: 0; padding: 0; }
.wo-appt__svc { width: 100%; display: flex; align-items: baseline; gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 16px 6px; border-radius: 0; }
.wo-appt__svc:hover, .wo-appt__svc.is-on { background: var(--mist); }
.wo-appt__svcname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wo-appt__svctitle { font-size: 1.08rem; font-weight: 600; }
.wo-appt__svcdesc { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.wo-appt__leader { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.wo-appt__svcmeta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.wo-appt__svcprice { font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.wo-appt__svcdur { color: var(--muted); font-size: .88rem; white-space: nowrap; }

/* 2. People. */
.wo-appt__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.wo-appt__who { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.wo-appt__who:hover, .wo-appt__who.is-on { border-color: var(--a); background: var(--mist); }
.wo-appt__badge { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--a); font-weight: 700; letter-spacing: .02em; }
.wo-appt__badge.is-any { background: var(--a); color: var(--paper); }
.wo-appt__whotext { display: flex; flex-direction: column; gap: 2px; }
.wo-appt__whoname { font-weight: 600; }
.wo-appt__whotip { color: var(--muted); font-size: .85rem; line-height: 1.35; }

/* 3. Days and times. */
.wo-appt__days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.wo-appt__day { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; scroll-snap-align: start; }
.wo-appt__dow { font-size: .74rem; color: var(--muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.wo-appt__dnum { font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.wo-appt__dnote { font-size: .75rem; color: var(--muted); }
.wo-appt__day[aria-pressed="true"] { background: var(--a); border-color: var(--a); color: var(--paper); }
.wo-appt__day[aria-pressed="true"] .wo-appt__dow, .wo-appt__day[aria-pressed="true"] .wo-appt__dnote { color: var(--paper); }
.wo-appt__day:disabled { background: var(--mist); color: var(--muted); cursor: default; border-style: dashed; }
.wo-appt__day:disabled .wo-appt__dnum { font-weight: 500; }
.wo-appt__part { margin: 4px 0 12px; }
.wo-appt__partname { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }
.wo-appt__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.wo-appt__slot { min-height: 46px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.wo-appt__slot:hover { border-color: var(--a); background: var(--soft); }
.wo-appt__wait, .wo-appt__empty { color: var(--muted); margin: 8px 0; }

/* 4. Details. */
.wo-appt__form { display: grid; gap: 14px; }
.wo-appt__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wo-appt__field { display: grid; gap: 5px; font-weight: 600; font-size: .95rem; }
.wo-appt__field input, .wo-appt__field textarea { width: 100%; font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.wo-appt__field input:focus, .wo-appt__field textarea:focus { border-color: var(--a); outline: 2px solid var(--soft); }
.wo-appt__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wo-appt__deposit { background: var(--mist); border-radius: 12px; padding: 12px 14px; }
.wo-appt__deposit p { margin: 0 0 8px; }
.wo-appt__check, .wo-appt__news label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.wo-appt__check input, .wo-appt__news input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--a); }
.wo-appt__error { color: #A32020; background: #FBEAEA; border-radius: 10px; padding: 10px 12px; margin: 0; }
.wo-appt .wo-appt__book { justify-self: start; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--a); color: var(--paper); font-weight: 700; font-size: 1.02rem; }
.wo-appt .wo-appt__book:disabled { opacity: .7; cursor: progress; }

/* The appointment card: fills in as the client chooses. */
.wo-appt__card { position: sticky; top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--ink) 55%, transparent); }
.wo-appt__card::before { content: ""; display: block; height: 0; border-top: 2px dashed var(--line); margin: -6px -18px 14px; }
.wo-appt__cardtitle { margin: 0 0 10px; font-weight: 700; font-size: 1.02rem; }
.wo-appt__cardrows { margin: 0; display: grid; gap: 10px; }
.wo-appt__cardrow dt { font-size: .78rem; color: var(--muted); }
.wo-appt__cardrow dd { margin: 2px 0 0; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.wo-appt__cardrow.is-set dd { color: var(--ink); font-weight: 600; }
.wo-appt__change { background: none; border: 0; padding: 0; color: var(--a); font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wo-appt__cardprice { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.3rem; font-weight: 700; text-align: right; }

/* Phones: one column; the card becomes a bar at the bottom once a service is chosen. */
@media (max-width: 820px) {
	.wo-appt__grid { grid-template-columns: 1fr; }
	.wo-appt__two { grid-template-columns: 1fr; }
	.wo-appt__card { display: none; }
	.wo-appt.has-choice .wo-appt__card { display: block; position: fixed; left: 10px; right: 10px; bottom: 10px; top: auto; z-index: 50; padding: 10px 14px; border-radius: 14px; }
	.wo-appt.has-choice .wo-appt__card::before, .wo-appt.has-choice .wo-appt__cardtitle { display: none; }
	.wo-appt.has-choice .wo-appt__cardrows { grid-template-columns: repeat(3, auto); gap: 4px 12px; }
	.wo-appt.has-choice .wo-appt__cardrow:not(.is-set) { display: none; }
	.wo-appt.has-choice .wo-appt__cardrow dd { font-size: .86rem; }
	.wo-appt.has-choice .wo-appt__change { display: none; }
	.wo-appt.has-choice .wo-appt__cardprice { margin: 6px 0 0; padding-top: 6px; font-size: 1rem; }
	.wo-appt.has-choice { padding-bottom: 150px; }
	.wo-appt.has-choice .wo-appt__card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
	.wo-appt.has-choice .wo-appt__cardrows { flex: 1 1 100%; }
	.wo-appt.has-choice .wo-appt__cardprice { flex: 1; border-top: 0; text-align: right; }
	.wo-appt.is-done .wo-appt__card { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wo-appt * { scroll-behavior: auto !important; } }

/* The confirmation, inside the booking page. */
.wo-appt .wo-book__done { max-width: 560px; margin-inline: auto; text-align: center; }
.wo-appt .wo-book__details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.wo-appt .wo-book__details dt { color: var(--muted); margin: 0; }
.wo-appt .wo-book__details dd { margin: 0; font-weight: 600; text-align: right; }

/* "My appointments". */
.wo-client { max-width: 640px; }
.wo-client *, .wo-client *::before, .wo-client *::after { box-sizing: border-box; }
.wo-client :focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
.wo-client__h { font-size: 1.45rem; margin: 0 0 8px; outline: none; }
.wo-client__h2 { font-size: 1.05rem; margin: 22px 0 8px; }
.wo-client__intro { margin: 0 0 16px; color: var(--muted); }
.wo-client__form { display: grid; gap: 12px; justify-items: start; }
.wo-client__field { display: grid; gap: 5px; font-weight: 600; width: 100%; max-width: 380px; }
.wo-client__field input { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.wo-client__code { font-size: 1.5rem !important; letter-spacing: .3em; text-align: center; max-width: 220px; }
.wo-client__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wo-client .wo-client__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--a); color: var(--paper); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.wo-client .wo-client__btn:disabled { opacity: .7; }
.wo-client .wo-client__link { background: none; border: 0; padding: 0; color: var(--a); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wo-client__small { font-size: .88rem; color: var(--muted); margin: 0; }
.wo-client__note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.wo-client__note.is-bad { background: #FBEAEA; color: #A32020; }
.wo-client__head { display: grid; gap: 4px; margin-bottom: 8px; }
.wo-client__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wo-client__item { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--a); border-radius: 12px; padding: 14px 16px; }
.wo-client__item.is-past { border-left-color: var(--line); color: var(--muted); }
.wo-client__when { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.wo-client__date { font-weight: 700; font-size: 1.05rem; }
.wo-client__time { font-weight: 700; color: var(--a); }
.wo-client__item.is-past .wo-client__date, .wo-client__item.is-past .wo-client__time { color: var(--muted); font-weight: 600; }
.wo-client__what { margin: 4px 0 0; }
.wo-client__meta { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.wo-client__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 10px; }
.wo-client .wo-client__cancel { background: none; border: 1px solid #C9A3A3; color: #8F2424; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.wo-client .wo-client__cancel.is-strong { background: #8F2424; color: #fff; border-color: #8F2424; margin-right: 12px; }
.wo-client__ask { margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--mist); }
.wo-client__ask p { margin: 0 0 8px; }
.wo-client__empty { color: var(--muted); }
