/* Shalom Total Body Sculpting & Spa
   Palette: soft lavender + white + light gray, with a little logo turquoise. */
:root {
  --white: #ffffff;
  --gray-50: #f7f7fa;
  --gray-100: #efeff4;
  --gray-200: #e2e2ea;
  --gray-500: #6f6c80;
  --ink: #2a2540;
  --lav-50: #f6f3fd;
  --lav-100: #ece6fa;
  --lav-200: #ddd2f5;
  --lav-300: #c9bbee;
  --purple: #6b52b5;         /* buttons, links (AA with white text) */
  --purple-dark: #55409a;
  --turq: #62c0ba;           /* logo turquoise: accents only */
  --turq-ink: #2c7f7a;       /* turquoise for small text on white */
  --ok: #2c7f5a;
  --err: #b3362b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(85, 64, 154, .10);
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(48px, 9vw, 96px);
  --scroll-pad: 76px;        /* room for the sticky header when jumping to anchors */
  color-scheme: light;
}
/* Headings: Cormorant Infant SemiBold, self-hosted (SIL Open Font License 1.1, see IMAGE-CREDITS.md) */
@font-face { font-family: "Cormorant Infant"; src: url("/fonts/cormorant-infant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root { --serif: "Cormorant Infant", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-pad); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 16px/1.6 ui-sans-serif, "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.9rem, 8vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: var(--purple); }
.muted { color: var(--gray-500); }
.small { font-size: .88rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 650; color: var(--turq-ink); margin: 0 0 .9em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--purple); background: var(--purple); color: #fff; font: 650 1rem/1 inherit; text-decoration: none; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); box-shadow: 0 8px 20px rgba(85, 64, 154, .25); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-ghost:hover { background: var(--lav-100); color: var(--purple-dark); box-shadow: none; }
.link { background: none; border: 0; color: var(--purple); cursor: pointer; padding: 4px 0; font: inherit; text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.link-back { display: inline-flex; align-items: center; gap: 10px; padding: 2px 0; }
.link-back:hover { text-decoration: none; color: var(--purple-dark); }
.back-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lav-100); color: var(--purple); transition: transform .2s, background-color .2s, color .2s; }
.back-ic .ic { width: 16px; height: 16px; stroke-width: 2.2; transform: scaleX(-1); }
.link-back:hover .back-ic { background: var(--purple); color: #fff; transform: translateX(-3px); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; }

/* ---------- welcome screen (logo on purple; the site slides up over it) ---------- */
.splash {
  --p: 0;
  position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 50% 38%, #7b63c6 0%, #6b52b5 46%, #4d3995 100%);
}
.splash::after { content: ""; position: absolute; inset: 0; background: #1d1440; opacity: calc(var(--p) * .45); pointer-events: none; }
.splash.is-covered { visibility: hidden; background: none; }
.splash.is-covered .splash-logo { will-change: auto; animation: none; }
.splash-logo { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; width: min(560px, 80vw); padding-bottom: 4vh;
  opacity: calc(1 - var(--p) * 1.15); transform: translateY(calc(var(--p) * -48px)) scale(calc(1 - var(--p) * .12));
  animation: splash-in 1s ease-out backwards; will-change: transform, opacity; }
.splash-logo img { display: block; width: min(100%, 62vh); height: auto; margin-inline: auto; }
.splash-more { position: absolute; z-index: 1; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); width: 48px; height: 48px; margin-left: -24px;
  display: grid; place-items: center; color: #fff; border-radius: 50%; opacity: calc(1 - var(--p) * 2.5);
  animation: splash-bob 2.2s ease-in-out 1.2s infinite; }
.splash-more:hover { background: rgba(255, 255, 255, .14); }
.splash-more:focus-visible { outline-color: #fff; }
.page { scroll-margin-top: calc(-1 * var(--scroll-pad)); position: relative; z-index: 1; background: var(--white); }
/* soft edge where the site slides over the welcome screen (only drawn above the page's top edge) */
.page::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 48px; background: linear-gradient(0deg, rgba(29, 20, 64, .24), rgba(29, 20, 64, 0)); pointer-events: none; }
@keyframes splash-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }
@keyframes splash-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) {
  .splash-logo, .splash-more { animation: none; opacity: 1; transform: none; }
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .2s, border-color .2s; background: #fff; border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { display: block; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.2rem; letter-spacing: .01em; }
.brand-text small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-top: 3px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover { background: var(--lav-100); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.header-call { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 2px solid transparent; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.header-call:hover { color: var(--purple); }

/* over the welcome screen: transparent bar, white text, no small logo (the big one is on screen) */
/* first load: the menu stays hidden, then eases in (nav first, then the buttons) after 2 seconds, or sooner when the visitor moves, touches or scrolls */
.header-inner > .main-nav, .header-inner > .header-actions { transition: opacity 1.3s ease, transform 1.5s cubic-bezier(.16, 1, .3, 1); }
.header-inner > .header-actions { transition-delay: .22s; }
.site-header.is-hidden .header-inner > .main-nav, .site-header.is-hidden .header-inner > .header-actions { opacity: 0; transform: translateY(-14px); transition-delay: 0s; pointer-events: none; }
.site-header.over-splash { background: transparent; border-bottom-color: transparent; }
/* menu split: links on the left, Call us + Book now on the right */
.site-header.over-splash .brand { display: none; }
.site-header.over-splash .main-nav { margin-right: auto; margin-left: -12px; }
.site-header.over-splash .main-nav a, .site-header.over-splash .header-call { color: #fff; }
.site-header.over-splash .header-call { border-color: rgba(255, 255, 255, .85); }
.site-header.over-splash .header-call:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.site-header.over-splash .main-nav a:hover { background: rgba(255, 255, 255, .16); }
.site-header.over-splash .btn-small { background: #fff; border-color: #fff; color: var(--purple-dark); }
.site-header.over-splash .btn-small:hover { background: var(--lav-100); border-color: var(--lav-100); box-shadow: none; }
.splash-book { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; margin-top: clamp(22px, 4vh, 40px); padding: 0 14px 0 26px; border-radius: 999px; background: #fff; color: var(--purple-dark); font-size: 1rem; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgba(29, 20, 64, .28); transition: background .2s, transform .2s, box-shadow .2s; }
.splash-book > .ic { width: 22px; height: 22px; }
.splash-book-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; transition: transform .2s; }
.splash-book-arrow .ic { width: 18px; height: 18px; stroke-width: 2; }
.splash-book:hover { background: var(--lav-50); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(29, 20, 64, .34); }
.splash-book:hover .splash-book-arrow { transform: translateX(3px); }
.splash-book:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); min-height: clamp(580px, 45vw, 700px); background: linear-gradient(135deg, #f1ecfb, #e3f4f2); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
/* Photo: public/images/hero.jpg (credit in IMAGE-CREDITS.md), a wide 16:9 spa scene. Positioned on the woman (about 58% across, 55% down), so she stays centred on her wherever the crop changes. */
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("/images/hero.jpg") 58% 55% / cover no-repeat;
}
/* soft lavender veil on the left keeps the headline readable; the woman on the right stays clear */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(246, 243, 253, .95) 0%, rgba(246, 243, 253, .88) 36%, rgba(246, 243, 253, .55) 50%, rgba(246, 243, 253, .12) 62%, rgba(246, 243, 253, 0) 72%);
}
.hero-inner { padding-block: calc(clamp(56px, 12vw, 150px) + 68px) clamp(40px, 7vw, 76px); max-width: 1120px; }
.hero h1 { max-width: 12ch; }
.hero h1 span { color: var(--turq-ink); }
.lede { max-width: 34em; color: #4a4560; font-size: clamp(1.02rem, 2.2vw, 1.25rem); margin-bottom: 1.6em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-onhero { background: rgba(255, 255, 255, .7); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0 0 clamp(26px, 4vw, 44px); margin-block: 0; font-size: .92rem; font-weight: 550; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--turq); flex: none; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 40rem; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 0; }

/* ---------- Treatments: photo cards ---------- */
.tx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.tx-head h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; max-width: 14em; text-wrap: balance; }
.tx-all { margin-bottom: .35em; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--purple-dark); font-size: .95rem; font-weight: 600; text-decoration: none; }
.tx-all::after { content: "\2192"; margin-left: .4em; }
.tx-all:hover { color: var(--purple); }
.tx-learn { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tx-learn p { margin: 0; color: var(--gray-500); font-size: .95rem; }
.tx-learn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-learn a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--lav-50); border: 1px solid var(--lav-200); color: var(--purple-dark); font-size: .92rem; font-weight: 600; text-decoration: none; }
.tx-learn a:hover { background: var(--lav-100); }
.tx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.6vw, 46px) clamp(18px, 2.4vw, 32px); }
.tx-card { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.tx-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--lav-100); }
.tx-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.tx-card:hover .tx-photo img, .tx-card:focus-visible .tx-photo img { transform: scale(1.04); }
.tx-card:focus-visible { outline: 2px solid var(--purple); outline-offset: 6px; border-radius: 4px; }
.tx-text { display: grid; gap: 6px; min-width: 0; }
.tx-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tx-name { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.tx-from { flex: none; font-size: .92rem; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.tx-sub { color: var(--gray-500); font-size: .92rem; line-height: 1.5; }
.tx-more { margin-top: 2px; color: var(--purple-dark); font-size: .9rem; font-weight: 600; }
.tx-more::after { content: "\2192"; display: inline-block; margin-left: .4em; transition: transform .25s; }
.tx-card:hover .tx-more::after, .tx-card:focus-visible .tx-more::after { transform: translateX(4px); }
@media (max-width: 899px) { .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .tx-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--lav-200); }
  .tx-grid > li { border-bottom: 1px solid var(--lav-200); }
  .tx-card { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; }
  .tx-top { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .tx-photo img, .tx-more::after { transition: none; } .tx-card:hover .tx-photo img, .tx-card:hover .tx-more::after { transform: none; } }

.about { background: var(--lav-50); }
.about-inner { display: grid; gap: clamp(28px, 5vw, 64px); padding-block: var(--section-y); align-items: center; }
@media (min-width: 860px) { .about-inner { grid-template-columns: 1.15fr 1fr; } }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-points li { background: var(--white); border: 1px solid var(--lav-200); border-left: 4px solid var(--turq); border-radius: 0; padding: 20px 26px; display: grid; gap: 3px; }
.about-points b { font-size: 1.05rem; }
.about-points span { color: var(--gray-500); }

/* ---------- booking ---------- */
.booking { background: transparent; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.steps li { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--gray-200); color: var(--gray-500); font-size: .9rem; background: var(--white); }
.steps li.active { background: var(--purple); border-color: var(--purple); color: #fff; font-weight: 650; }
.steps li.done { color: var(--turq-ink); border-color: var(--turq); }
.status { min-height: 1.4em; margin: 0 0 12px; }
.status.error { color: var(--err); font-weight: 600; }
.panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); --pad: clamp(18px, 3vw, 32px); padding: var(--pad); box-shadow: var(--shadow); }
.panel[hidden], .cat-grid[hidden], .list-head[hidden], .service-list[hidden] { display: none; }
.field { display: block; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-row .field { min-width: 0; }
.consent { margin: -6px 0 16px; font-size: .8rem; line-height: 1.45; color: var(--gray-500); max-width: 60ch; }
button.btn { font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1; }
.field span { display: block; font-size: .85rem; color: var(--gray-500); margin-bottom: 5px; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--gray-50); color: var(--ink); font: inherit; }
input:focus, textarea:focus, select:focus { background: var(--white); border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px var(--lav-200); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b6480' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
/* ---- treatment list + spotlight panel: compact rows on the left, full breakdown on the right ---- */
.svc-split { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; margin-top: 6px; }
.svc-split[hidden] { display: none; }
.service-list { list-style: none; padding: 2px 6px 2px 2px; margin: 0; display: grid; gap: 10px; max-height: min(78vh, 760px); overflow: auto; align-content: start; }
.svc-item { margin: 0; }
.svc-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.svc-row:hover { border-color: var(--lav-300); background: var(--lav-50); }
.svc-row[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple), 0 8px 20px rgba(85, 64, 154, .12); background: var(--white); }
.svc-row-main { display: grid; gap: 3px; min-width: 0; }
.svc-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--turq-ink); }
.svc-name { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.svc-meta { font-size: .88rem; color: var(--gray-500); }
.svc-blurb { font-size: .86rem; line-height: 1.35; color: #4a4468; }
.svc-item.is-pinned .svc-row { background: var(--lav-50); border-color: var(--lav-300); }
.svc-item.is-pinned .svc-eyebrow { color: var(--purple); }
.svc-item.is-pinned { margin-bottom: 6px; }
.svc-row-side { display: grid; justify-items: end; gap: 4px; flex: none; text-align: right; }
.svc-price { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.svc-view { font-size: .82rem; font-weight: 600; color: var(--gray-500); }
.svc-row[aria-pressed="true"] .svc-view { color: var(--purple); }
.svc-detail { position: sticky; top: calc(var(--scroll-pad) + 12px); display: flex; flex-direction: column; max-height: calc(100vh - var(--scroll-pad) - 28px); overflow: hidden; }
.detail-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px clamp(10px, 1.6vw, 22px) 8px 6px; }
.detail-name { margin: 22px 0 18px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.08; text-wrap: balance; }
.detail-label { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-dark); }
.detail-desc { margin: 0 0 26px; color: #35304c; font-size: 1.06rem; line-height: 1.72; max-width: 64ch; }
.detail-desc p { margin: 0 0 .8em; white-space: pre-line; }
.detail-desc p:last-child { margin-bottom: 0; }
.detail-empty { color: var(--gray-500); }
.detail-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.detail-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.detail-checks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--lav-100); color: var(--purple); stroke-width: 2.4; margin-top: 1px; }
.detail-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.detail-tile { display: grid; gap: 5px; padding: 15px 16px; border: 1px solid var(--lav-200); border-radius: var(--radius-sm); background: var(--white); }
.detail-v { font-size: 1.02rem; line-height: 1.3; }
.detail-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.detail-facts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; color: #35304c; font-size: .97rem; line-height: 1.5; }
.fact-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lav-100); color: var(--purple); }
.fact-ic .ic { width: 17px; height: 17px; stroke-width: 2; }
.detail-actions { flex: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 18px clamp(10px, 1.6vw, 22px) 6px 6px; }
.svc-detail[hidden] { display: none; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--gray-200); }
.detail-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--lav-100); color: var(--purple-dark); font-size: .85rem; font-weight: 650; }
.detail-tp { display: flex; align-items: baseline; gap: 14px; }
.detail-dur { color: var(--gray-500); font-weight: 600; font-size: .95rem; }
.detail-price { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 750; line-height: 1; }
.detail-k { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
.detail-actions .btn { font-family: inherit; font-size: 1rem; font-weight: 600; flex: 1 1 220px; justify-content: center; text-align: center; }
.service-list li.svc-group { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px 8px; border-top: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-dark); position: sticky; top: 0; background: var(--white); z-index: 1; }
.service-list li.svc-group span { font-weight: 600; letter-spacing: 0; color: var(--gray-500); }
/* custom scrollbars: slim lavender track with a rounded purple thumb (same family as the round back-arrow icon) */
.service-list::-webkit-scrollbar, .detail-scroll::-webkit-scrollbar { width: 14px; }
.service-list::-webkit-scrollbar-track, .detail-scroll::-webkit-scrollbar-track { background: var(--lav-100); border-radius: 999px; border: 4px solid var(--white); margin-block: 4px; }
.service-list::-webkit-scrollbar-thumb, .detail-scroll::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 999px; border: 3px solid var(--lav-100); min-height: 56px; }
.service-list::-webkit-scrollbar-thumb:hover, .detail-scroll::-webkit-scrollbar-thumb:hover { background: var(--purple-dark); }
.service-list::-webkit-scrollbar-button, .detail-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
/* Firefox */
@supports not selector(::-webkit-scrollbar) { .service-list, .detail-scroll { scrollbar-width: thin; scrollbar-color: var(--purple) var(--lav-100); } }
@media (max-width: 900px) {
  .svc-split { grid-template-columns: 1fr; }
  .service-list { max-height: none; overflow: visible; padding: 0; }
  .svc-detail { position: static; max-height: none; margin-top: 10px; overflow: visible; border: 1px solid var(--lav-200); border-radius: var(--radius); background: linear-gradient(180deg, var(--lav-50), var(--white) 30%); }
  .detail-scroll { overflow: visible; padding: 18px 16px 6px; }
  .detail-actions { padding: 14px 16px 18px; }
  .svc-item.is-open .svc-row { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .service-list li.svc-group { position: static; }
  .detail-tiles { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .detail-tile { padding: 10px 10px; }
  .detail-desc { font-size: 1rem; }
  .detail-v { font-size: .9rem; }
}
@media (max-width: 480px) { .detail-tiles { grid-template-columns: 1fr; } }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 6px 0 4px; }
.cat-btn { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; text-align: left; padding: 20px 22px; border: 1px solid var(--lav-200); border-radius: var(--radius-sm); background: var(--lav-50); color: var(--ink); font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.cat-btn:hover { background: var(--lav-100); border-color: var(--purple); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(85, 64, 154, .14); }
.cat-btn-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.1; color: var(--purple-dark); }
.cat-btn-meta { grid-column: 1; font-size: .88rem; color: var(--gray-500); }
.cat-btn-peek { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; max-height: 64px; overflow: hidden; }
.cat-btn-peek span { max-width: 100%; padding: 4px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--lav-200); color: #4a4468; font-size: .82rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-btn-peek .cat-btn-more { background: transparent; border-color: transparent; color: var(--purple); font-weight: 600; padding-inline: 4px; }
.cat-btn-go { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 1.3rem; line-height: 1; padding-bottom: 3px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin: 8px 0 6px; }
.list-head .muted { font-size: .88rem; margin-left: 4px; }

.selected { font-weight: 650; margin: 4px 0 6px; }
/* date and details steps: a grey banner across the very top of the box, edge to edge, with what is being booked (and when) */
.booking-for { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 18px; padding: 22px var(--pad); border-bottom: 1px solid var(--gray-200); border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--gray-100); }
.booking-for:empty { display: none; }
.booking-for + .link-back { display: flex; width: fit-content; margin: 0 0 16px; }
.bf-main { min-width: 0; }
.bf-label { display: block; margin-bottom: 5px; font-size: .72rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--gray-500); }
.bf-name { display: block; font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.12; color: var(--ink); overflow-wrap: anywhere; }
.bf-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.bf-facts li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid var(--gray-200); border-radius: 999px; background: var(--white); font-size: .97rem; font-weight: 600; line-height: 1.2; }
.bf-facts .ic { width: 18px; height: 18px; color: var(--purple); stroke-width: 2; }
@media (max-width: 900px) { .booking-for { padding-block: 16px; } .bf-facts li { padding: 9px 13px; font-size: .92rem; } }
.tz-note { margin: 0 0 14px; font-size: .88rem; }
/* ---- step 2: month calendar (left) + the chosen day and the next open day side by side (right) ---- */
.cal-wrap { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 34px); align-items: start; }
.cal { background: var(--white); border: 1px solid var(--gray-100); border-radius: 0; padding: 24px 24px 18px; box-shadow: 0 14px 36px rgba(85, 64, 154, .14); }
.cal-title { margin: 0 0 16px; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.cal-month { font-size: 1.05rem; font-weight: 600; }
.cal-nav { display: inline-flex; gap: 4px; }
.cal-nav button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.cal-nav button .ic { width: 20px; height: 20px; stroke-width: 2; }
.cal-nav button:hover:not(:disabled) { background: var(--lav-100); color: var(--purple-dark); }
.cal-nav button:disabled { opacity: .28; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px 2px; justify-items: center; align-items: center; }
.cal-dow { padding: 2px 0 6px; font-size: .8rem; font-weight: 600; color: var(--gray-500); }
.cal-day { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; font: inherit; font-size: .95rem; cursor: pointer; }
/* a day with nothing open: a quiet grey pill */
.cal-day:disabled { width: 34px; height: 24px; margin: 9px 0; border-radius: 999px; background: var(--gray-100); color: #a5a2b3; font-size: .8rem; cursor: default; }
.cal-day.open { background: var(--lav-100); color: var(--purple-dark); font-weight: 650; }
.cal-day.open:hover { background: var(--lav-200); }
.cal-day.today:not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1.5px var(--lav-300); }
.cal-day[aria-pressed="true"] { background: var(--purple); color: #fff; box-shadow: 0 6px 14px rgba(107, 82, 181, .35); }
.cal-note { min-height: 1.3em; margin: 12px 0 0; font-size: .88rem; text-align: center; }
.slots-box { border: 1px solid var(--gray-200); border-radius: 0; padding: 20px clamp(14px, 2.4vw, 30px) 24px; min-height: 180px; }
.slot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px clamp(12px, 2.4vw, 30px); align-items: center; }
.slot-cols.one { grid-template-columns: minmax(0, 320px); justify-content: center; }
.slot-head { display: grid; justify-items: center; align-content: center; gap: 3px; width: 66px; height: 66px; margin: 0 auto 8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.slot-head small { font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); line-height: 1; }
.slot-head b { font-size: 1.45rem; font-weight: 500; line-height: 1; }
.slot-head:not(.is-sel):hover { background: var(--lav-100); }
.slot-head.is-sel { background: var(--purple); color: #fff; cursor: default; }
.slot-head.is-sel small { color: #fff; }
.slot-cols .time { width: 100%; padding: 13px 8px; color: var(--purple-dark); font-weight: 600; text-align: center; }
.slot-none { display: block; padding: 13px 0; text-align: center; color: var(--gray-500); }
.slot-title { margin: 0 0 14px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.time-wheels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(12px, 3vw, 28px); max-width: none; }
.wheel-col { min-width: 0; --wh: 52px; }
.wheel-label { display: block; margin-bottom: 2px; text-align: center; font-size: .85rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
.wheel-step { display: grid; place-items: center; width: 100%; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--purple); cursor: pointer; }
.wheel-step .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wheel-step:hover:not(:disabled) { background: var(--lav-100); }
.wheel-step:disabled { opacity: .3; cursor: default; }
.wheel-step:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
.wheel-box { position: relative; }
.wheel-box::before { content: ""; position: absolute; left: 0; right: 0; top: var(--wh); height: var(--wh); border-radius: 14px; background: var(--lav-100); border: 1px solid var(--lav-200); pointer-events: none; }
.wheel { position: relative; z-index: 1; height: calc(var(--wh) * 3); overflow-y: auto; scroll-snap-type: y mandatory; padding-block: var(--wh); scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); border-radius: 14px; }
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.wheel-item { height: var(--wh); display: grid; place-items: center; scroll-snap-align: center; font-size: 1.3rem; color: var(--gray-500); cursor: pointer; user-select: none; -webkit-user-select: none; }
.wheel-item.is-on { color: var(--purple-dark); font-size: 1.7rem; font-weight: 700; }
.time-go { display: block; margin: 14px 0 0 auto; }
.time-go:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 900px) { .time-go { width: 100%; justify-content: center; } .time-wheels { max-width: none; } }
/* wide screens: the calendar stays in view while a long list of times scrolls past */
@media (min-width: 901px) { .cal { position: sticky; top: calc(var(--scroll-pad, 84px) + 10px); } }
@media (max-width: 900px) {
  .cal-wrap { grid-template-columns: minmax(0, 1fr); }
  .cal { padding: 18px 14px 14px; }
  .cal-day { width: 38px; height: 38px; }
  .cal-day:disabled { margin: 7px 0; }
}
.time { padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); cursor: pointer; font: inherit; font-weight: 550; }
.time:hover { border-color: var(--purple); background: var(--lav-50); }
.pay-note { background: var(--lav-50); padding: 12px 14px; border-radius: 10px; margin: 6px 0 16px; }
.done h3 { color: var(--ok); font-size: 1.9rem; }

/* ---------- visit ---------- */
.visit-grid { display: grid; gap: clamp(14px, 2vw, 22px); }
@media (min-width: 760px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
/* equal room on every side; the address block sits in the middle of its card (left-aligned text), the hours fill theirs edge to edge */
.visit-card { --pad: clamp(26px, 3.4vw, 44px); }
.visit-card > :last-child { margin-bottom: 0; }
@media (min-width: 760px) { .visit-card:first-child { display: grid; justify-content: center; align-content: center; } }
.visit-card address { font-style: normal; font-size: 1.08rem; margin-bottom: 8px; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.hours-title { margin-bottom: 8px; }
.hours { border-collapse: collapse; width: 100%; margin-bottom: 14px; }
.hours th { text-align: left; font-weight: 500; padding: 9px 12px 9px 0; }
.hours td { padding: 9px 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px solid var(--gray-100); }

/* ---------- footer ---------- */
.site-footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 28px 0; color: var(--gray-500); font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: clamp(16px, 4vw, 40px); row-gap: 26px; }
.footer-logo { width: min(300px, 78vw); height: auto; flex: none; }
.footer-address { display: grid; gap: 2px; font-style: normal; line-height: 1.6; color: var(--ink); font-size: .95rem; text-align: left; }
.footer-addr { display: block; margin-bottom: 12px; }
/* square map, exactly as tall as the address block (6 text lines + the gap + the spacing between lines) */
.site-footer { --map-gap: 22px; --map-size: calc(6 * 1.6 * .95rem + 12px + 4px); }
.footer-contact { display: flex; align-items: flex-start; gap: var(--map-gap); }
.footer-map { position: relative; flex: none; display: block; width: var(--map-size); height: var(--map-size); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--gray-200); }
.footer-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.footer-map::after { content: ""; position: absolute; inset: 0; background: rgba(109, 78, 181, .3); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.footer-map:hover::after, .footer-map:focus-visible::after { opacity: 1; }
.footer-credit { margin-left: calc(var(--map-size) + var(--map-gap)) !important; }
.footer-address a { text-decoration: none; }
.footer-address a:hover { color: var(--purple); }
/* footer runs wider than the page content: logo and address sit closer to the screen edges */
.site-footer .wrap { width: min(1560px, 100% - 2 * clamp(28px, 3.5vw, 64px)); }
.footer-copy, .footer-credit { margin: 0; color: var(--ink); font-size: .95rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; row-gap: 18px; justify-items: start; } .footer-contact { flex-direction: column; } .footer-map { width: min(100%, 240px); height: auto; aspect-ratio: 1; } .footer-credit { margin-left: 0 !important; } }
.site-footer a { color: inherit; transition: color .2s; }
.footer-credit a:hover { color: var(--purple); }

/* ---------- phones ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .main-nav, .header-call, .header-actions { display: none; }
  .brand-text small { letter-spacing: .08em; font-size: .62rem; white-space: nowrap; }
  .hero h1 { max-width: 10ch; }
  /* phones: the photo is a band at the top (whole photo, centred), the text sits below it on lavender */
  .hero { background: var(--lav-50); min-height: 0; }
  .hero-bg { inset: 0 0 auto 0; height: calc(min(66vw, 340px) + 68px); }
  .hero-bg::before { background-image: url("/images/hero-960.jpg"); background-position: 75% 52%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(246, 243, 253, 0) 58%, var(--lav-50) 100%); }
  .hero-inner { padding-top: calc(min(66vw, 340px) + 60px); }
  .cta .btn { flex: 1 1 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .service-list li.svc-group { flex-direction: row; align-items: center; gap: 12px; }
  /* phones: on the welcome screen the one Book button sits right under the logo (no bar); once the site has scrolled over it, the same single button rides along the bottom */
  .splash-logo { padding-bottom: 0; }
  .mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; justify-content: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--gray-200); transition: transform .25s ease, visibility .25s; }
  .splash:not(.is-covered) ~ .mobile-bar { transform: translateY(110%); visibility: hidden; }
  .mobile-bar .btn { flex: 1; max-width: 440px; min-height: 48px; }
  body { padding-bottom: 72px; }
}
/* ---------- the Book choice (call or online) ---------- */
.book-sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gutter); background: rgba(29, 20, 64, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: sheet-fade .18s ease-out; }
.book-sheet[hidden] { display: none; }
/* the white card alone is centered in the screen; the title and close button hang just above it */
.book-sheet-wrap { position: relative; width: min(100%, 380px); animation: sheet-up .22s ease-out; }
.book-sheet-head { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-left: 6px; }
.book-sheet-head h2 { margin: 0; font: 600 clamp(1.15rem, 5.4vw, 1.5rem)/1.2 var(--serif, Georgia, serif); color: #fff; text-wrap: balance; text-shadow: 0 1px 12px rgba(29, 20, 64, .45); }
.book-sheet-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 3px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.book-sheet-x:hover, .book-sheet-x:active { background: rgba(255, 255, 255, .18); }
.book-sheet-x:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.book-sheet-card { padding: 14px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(29, 20, 64, .35); display: grid; gap: 12px; }
.book-opt { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--lav-100); background: var(--lav-50); color: var(--purple-dark); text-decoration: none; }
.book-opt:hover { border-color: var(--purple); background: var(--lav-100); }
.book-opt .ic { flex: none; width: 26px; height: 26px; }
.book-opt span { display: grid; gap: 3px; }
.book-opt b { font-size: 1.05rem; }
.book-opt small { font-size: .9rem; color: var(--gray-600, #5b5b6b); }
@keyframes sheet-fade { from { opacity: 0; } }
@keyframes sheet-up { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .book-sheet, .book-sheet-wrap { animation: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- FULL-SCREEN BOOKING (desktop) ----------
   The box hugs its content (category tiles, date and time, your details). Only the treatment list + detail view,
   which needs the room, makes the section exactly one screen tall (below the fixed menu) with the box filling it.
   Phones and short windows keep the normal flowing layout. */
@media (min-width: 901px) and (min-height: 700px) {
  html { scroll-snap-type: y proximity; }
  #book, #visit { scroll-snap-align: start; }
  #book { height: auto; min-height: 0; padding-block: 84px 48px; scroll-margin-top: calc(-1 * var(--scroll-pad)); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 24px; align-content: start; }
  #book:has(#step1:not([hidden]) #svc-split:not([hidden])) { height: 100svh; padding-block: 84px 22px; grid-template-rows: auto auto minmax(0, 1fr); }
  #book:has(#step1:not([hidden]) #svc-split:not([hidden])) > .panel { align-self: stretch; overflow: auto; }
  #book .section-head { margin: 0 0 14px; }
  #book .section-head h2 { font-size: clamp(1.9rem, 2.9vw, 2.5rem); }
  #book .section-head .eyebrow { margin-bottom: .4em; }
  #book .steps { margin: 0 0 14px; align-self: end; }
  #book .status { grid-column: 1 / -1; margin: 0 0 10px; }
  #book .status:empty { display: none; }
  #book > .panel { grid-column: 1 / -1; grid-row: 3; min-height: 0; align-self: start; --pad: clamp(16px, 2vw, 26px); }
  #step1:not([hidden]) { display: flex; flex-direction: column; }
  #step1 .field { flex: none; margin-bottom: 10px; }
  #step1 .list-head { flex: none; margin: 4px 0; }
  #step1 .cat-grid:not([hidden]) { flex: none; gap: 16px; margin: 4px 0 0; }
  #step1 .cat-btn { min-height: 0; align-content: center; row-gap: 6px; padding: 24px clamp(22px, 2.4vw, 32px); }
  #step1 .cat-btn-name { font-size: clamp(1.4rem, 1.9vw, 1.75rem); }
  #step1 .cat-btn-meta { font-size: .95rem; }
  #step1 .cat-btn-go { width: 40px; height: 40px; font-size: 1.5rem; }
  #step1 .svc-split:not([hidden]) { flex: 1 1 0; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; margin-top: 4px; }
  #step1 .service-list { max-height: none; min-height: 0; }
  #step1 .svc-detail { position: static; max-height: none; min-height: 0; }
  #book > .panel::-webkit-scrollbar { width: 14px; }
  #book > .panel::-webkit-scrollbar-track { background: var(--lav-100); border-radius: 999px; border: 4px solid var(--white); margin-block: 8px; }
  #book > .panel::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 999px; border: 3px solid var(--lav-100); min-height: 56px; }
  #book > .panel::-webkit-scrollbar-thumb:hover { background: var(--purple-dark); }
}
/* browsers that cannot do :has() (Firefox before 121, Chrome before 105, Safari before 15.4) ignore the rules that fix the booking box to one screen,
   so the treatment list gets its own height instead of collapsing */
@media (min-width: 901px) and (min-height: 700px) {
  @supports not selector(:has(*)) {
    #step1 .svc-split:not([hidden]) { flex: none; }
    #step1 .service-list, #step1 .svc-detail { max-height: 62vh; overflow-y: auto; }
  }
}
@supports not selector(::-webkit-scrollbar) { #book > .panel { scrollbar-width: thin; scrollbar-color: var(--purple) var(--lav-100); } }

/* ---------- CUSTOM SCROLLBAR ELEMENTS (scrollbar.js) ----------
   The script hides the browser's own bar (class has-sb) and draws this track + thumb on top, so every browser looks the same.
   Without the script the earlier CSS-styled native scrollbars still apply. */
.sb-host { position: relative; }
.has-sb { scrollbar-width: none !important; }
.has-sb::-webkit-scrollbar { display: none; width: 0; height: 0; }
.service-list.sb-on { padding-right: 20px; }
.detail-scroll.sb-on { padding-right: 24px; }
.sb-track { position: absolute; z-index: 4; width: 12px; border-radius: 999px; background: var(--lav-100); }
.sb-track[hidden] { display: none; }
.sb-x { width: auto; height: 12px; }
.sb-track.sb-flush { border-radius: 0; }
.sb-thumb { width: 100%; height: 100%; border-radius: 999px; background: var(--purple); border: 2px solid var(--lav-100); box-sizing: border-box; touch-action: none; transition: background-color .2s; will-change: transform; }
.sb-x .sb-thumb { width: auto; }
.sb-track:hover .sb-thumb, .sb-drag .sb-thumb { background: var(--purple-dark); }

/* ---------- card to hold the booking (shown only when the site asks for a card) ---------- */
.card-section { margin: 4px 0 18px; padding: 18px 20px; border: 1px solid var(--lav-200); border-radius: var(--radius-sm); background: var(--lav-50); }
.card-title { margin: 0 0 6px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--purple-dark); }
.card-note { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; color: var(--gray-500); max-width: 60ch; }
/* Square keeps empty room under the card fields for its own error line. Pull the next line up into it, and give the room back when an error shows. */
.card-container { min-height: 92px; margin: 0 0 -24px; }
.card-container.has-err { margin-bottom: 4px; }
.card-status { margin: 0 0 10px; font-size: .9rem; color: var(--gray-500); }
.card-status:empty { display: none; }
.card-status.is-err { color: var(--err); font-weight: 600; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
/* cash is fine: one line inside the card box */
.card-cash { margin: -4px 0 14px; font-size: .92rem; line-height: 1.5; color: var(--ink); max-width: 60ch; }
/* no card at all: a quiet link under the card box that swaps the box for "call us" */
.no-card-row { margin: -6px 0 16px; text-align: center; font-size: .95rem; }
.no-card { display: none; margin: 0 0 18px; padding: 18px 20px; border: 1px solid var(--lav-200); border-radius: var(--radius-sm); background: var(--lav-50); }
.no-card p { margin: 0 0 14px; line-height: 1.5; }
.no-card .btn { justify-content: center; }
.no-card-ask:empty { display: none; }
.no-card-ask { font-weight: 600; }
.no-card .no-card-back { margin: 0; font-size: .95rem; }
#book-form.is-nocard .no-card { display: block; }
#book-form.is-nocard .pay-note, #book-form.is-nocard .card-section, #book-form.is-nocard .no-card-row, #book-form.is-nocard .human-check, #book-form.is-nocard #submit-btn { display: none; }
@media (min-width: 901px) { #book-form.is-nocard .no-card { margin-top: 0; } #book-form.is-nocard .no-card .btn { width: 100%; } }
/* the security check only takes room when Cloudflare needs the visitor to do something */
.human-check { display: flex; justify-content: center; }
.human-check:not(:empty) { margin: 2px 0 16px; }
/* wide screens: the details on the left; on the right the card (when there is one), the security check and the button, always in the same place */
@media (min-width: 901px) {
  #book-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 0 clamp(24px, 3vw, 44px); align-items: start; }
  #book-form .card-section, #book-form .pay-note { margin-top: 0; }
  #book-form .form-side .btn { width: 100%; justify-content: center; }
  #book-form .form-main textarea { min-height: 132px; }
  /* the right column is as tall as the details; the note / card stays at the top and the call link, security check and button sit at the bottom, where a form ends */
  #book-form .form-side { align-self: stretch; display: flex; flex-direction: column; }
  #book-form .no-card-row:not([hidden]), #book-form .no-card-row[hidden] + .human-check { margin-top: auto; }
}
.consent-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--purple); }

/* ---- phones: finishing touches (checked at 375px wide) ---- */
@media (max-width: 900px) {
  /* the main button of the booking form is as wide as the form */
  #book-form #submit-btn, #book-form .no-card .btn { width: 100%; justify-content: center; }
  /* thumb-sized links */
  .no-card-row .link, .no-card-back .link, #all-cats, .link-back { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-address a { display: inline-block; padding: 6px 0; }
  .footer-credit a { display: inline-block; padding: 6px 0; }
  /* the fixed "Book now" bar steps aside while the booking section itself is on screen */
  .in-booking .mobile-bar { transform: translateY(110%); visibility: hidden; }
}

/* ---- bug review fixes ---- */
#form-status:empty { display: none; }
#form-status { margin: 0 0 12px; text-align: center; }
[tabindex="-1"]:focus { outline: none; }
/* the footer address and e-mail wrap instead of pushing the page sideways (iPad portrait) */
.footer-contact, .footer-address { min-width: 0; }
.footer-address { overflow-wrap: anywhere; }

/* ---------- language button: a round button at the bottom right switches between English and Spanish (i18n.js) ---------- */
.lang-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 52px; height: 52px; padding: 0; display: grid; place-items: center; border: 1px solid var(--lav-200); border-radius: 50%; background: #fff; color: var(--purple-dark); box-shadow: 0 6px 20px rgba(42, 37, 64, .22); font: 700 .92rem/1 ui-sans-serif, "Avenir Next", "Segoe UI", system-ui, sans-serif; letter-spacing: .05em; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.lang-fab:hover { background: var(--lav-50); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42, 37, 64, .26); }
.lang-fab:active { transform: none; }
.lang-fab:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
@media (max-width: 760px) { .lang-fab { right: max(12px, env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom)); width: 46px; height: 46px; font-size: .85rem; } }  /* above the "Book now" bar, a little smaller */
@media (prefers-reduced-motion: reduce) { .lang-fab { transition: none; } .lang-fab:hover { transform: none; } }

/* ---------- phones: use the whole screen width ----------
   No framed box inside another box: the booking steps, the cards and the lists run from edge to edge, with the text kept 16px from the glass. */
@media (max-width: 700px) {
  #book > .panel, .visit-card.panel { --pad: 16px; margin-inline: calc(-1 * var(--gutter)); border-inline: 0; border-radius: 0; box-shadow: none; }
  #book > .panel { padding-block: 18px; }
  .visit-card.panel { padding-block: 26px; }
  /* boxes inside the steps become full-width bands */
  #book .svc-detail, #book .cal, #book .slots-box, #book .card-section, #book .no-card { margin-inline: calc(-1 * var(--pad)); border-inline: 0; border-radius: 0; box-shadow: none; }
  #book .svc-detail { border-block: 1px solid var(--lav-200); }
  #book .service-list .svc-detail { margin-inline: 0; }  /* already inside the full-width list */
  #book .cal { padding-inline: var(--pad); border-block: 1px solid var(--gray-200); }
  #book .slots-box { padding-inline: var(--pad); border-block: 1px solid var(--gray-200); }
  #book .card-section, #book .no-card { padding-inline: var(--pad); }
  #book .svc-detail .detail-scroll { padding-inline: var(--pad); }
  #book .svc-detail .detail-actions { padding-inline: var(--pad); }
  #book .service-list, #book .cat-grid { margin-inline: calc(-1 * var(--pad)); }
  #book .svc-row, #book .cat-btn { border-inline: 0; border-radius: 0; }
  #book .service-list li.svc-group { padding-inline: var(--pad); }
  /* the form: every box is exactly as wide as its column and no wider; 16px text so a phone does not zoom in when a box is tapped */
  #book-form, #book-form .form-main, #book-form .form-side, #book-form .field, #book-form .field-row { min-width: 0; max-width: 100%; }
  input, textarea, select { box-sizing: border-box; min-width: 0; max-width: 100%; font-size: 16px; }
  #book-form .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
  /* Square's card box never grows past its column */
  .card-container, .card-container > *, .card-container iframe { min-width: 0; max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 359px) { #book-form .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- phones and tablets (900px and narrower): the booking is a full-screen sheet ----------
   The booking section leaves the page. "Book" opens it over everything, edge to edge and top to bottom: a slim bar (Back, title, language, Close), a progress line,
   then one screen at a time: treatment, date, time, details. */
.sheet-bar { display: none; }
@media (max-width: 900px) {
  #book { display: none; }
  body.book-open { overflow: hidden; }
  body.book-open .lang-fab, body.book-open .mobile-bar, body.book-open .site-header { display: none; }   /* the sheet has its own language button */
  body.book-open #book { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 80; width: auto; max-width: none; margin: 0; padding: 0; background: var(--white); overflow: hidden; }
  #book .section-head, #book .steps { display: none; }
  .sheet-bar { position: relative; flex: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px; align-items: center; gap: 4px; padding: calc(8px + env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 11px max(8px, env(safe-area-inset-left)); background: var(--white); border-bottom: 1px solid var(--gray-200); }
  .sheet-title { margin: 0; padding: 0 4px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--ink); text-wrap: balance; }
  .sheet-title:focus { outline: none; }
  .sheet-back, .sheet-x, .sheet-lang { display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--purple-dark); font: inherit; cursor: pointer; }
  .sheet-back, .sheet-x { width: 44px; }
  .sheet-back .ic { width: 22px; height: 22px; stroke-width: 2.2; transform: scaleX(-1); }
  .sheet-back.is-off { visibility: hidden; }
  .sheet-x { font-size: 2rem; line-height: 1; padding-bottom: 3px; }
  .sheet-lang { min-width: 44px; padding: 0 10px; border: 1px solid var(--lav-200); border-radius: 999px; background: var(--white); font: 700 .8rem/1 ui-sans-serif, "Avenir Next", "Segoe UI", system-ui, sans-serif; letter-spacing: .05em; }
  .sheet-back:active, .sheet-x:active, .sheet-lang:active { background: var(--lav-100); }
  .sheet-back:focus-visible, .sheet-x:focus-visible, .sheet-lang:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; }
  .sheet-prog { position: absolute; left: 0; right: 0; bottom: -1px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; height: 3px; }
  .sheet-prog i { background: var(--lav-200); transition: background-color .25s; }
  .sheet-prog i.on { background: var(--purple); }
  /* messages sit right under the bar */
  body.book-open #book > .status { flex: none; margin: 0; padding: 10px 16px 0; }
  body.book-open #book > .status:empty { display: none; }
  /* one screen at a time, scrolling inside the sheet */
  body.book-open #book > .panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin: 0; padding: 0 var(--pad) calc(28px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; --pad: 16px; }
  body.book-open #book > .panel[hidden] { display: none; }
  body.book-open #book > #step1, body.book-open #book > #book-paused { padding-top: 14px; }
  body.book-open #book .booking-for { margin: 0 calc(-1 * var(--pad)) 12px; padding: 14px var(--pad); }
  body.book-open #book .booking-for + .link-back { display: none; }   /* the bar's Back does this */
  body.book-open #book .tz-note { margin: 0 0 6px; }
  body.book-open #book .cal-title { display: none; }
  /* step 2 is two screens: the calendar, then the times of the chosen day */
  body.book-open #step2 .cal-wrap { display: block; }
  body.book-open #step2:not(.pick-time) #time-grid { display: none; }
  body.book-open #step2.pick-time .cal { display: none; }
  body.book-open #step2 .cal { margin: 0; padding: 6px 0 4px; border: 0; background: transparent; box-shadow: none; }
  body.book-open .cal-head { margin: 4px 0 10px; }
  body.book-open .cal-month { font-size: 1.25rem; }
  body.book-open .cal-nav button { width: 46px; height: 46px; }
  body.book-open .cal-grid { gap: 6px 2px; }
  body.book-open .cal-dow { font-size: .85rem; padding-bottom: 8px; }
  body.book-open .cal-day:not(:disabled) { width: min(100%, 54px); height: auto; aspect-ratio: 1; font-size: 1.05rem; }
  body.book-open .cal-day:disabled { width: 38px; height: 26px; margin: 12px 0; }
  body.book-open .cal-note { font-size: .95rem; }
  body.book-open #step2.pick-time .slots-box { margin: 0; padding: 4px 0 0; border: 0; min-height: 0; }
  .slot-title { margin: 8px 0 16px; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
  body.book-open .slot-head { display: none; }
  body.book-open .slot-cols, body.book-open .slot-cols.one { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; justify-content: stretch; }
  body.book-open .slot-cols .time { min-height: 56px; font-size: 1.08rem; }
}
@media (min-width: 560px) and (max-width: 900px) { body.book-open .slot-cols, body.book-open .slot-cols.one { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* tablets: the screens keep a comfortable reading width in the middle of the sheet */
@media (min-width: 701px) and (max-width: 900px) {
  body.book-open #book > .panel { --pad: 24px; padding-inline: max(24px, calc((100% - 680px) / 2)); }
  body.book-open #book > .status { padding-inline: max(24px, calc((100% - 680px) / 2)); }
  body.book-open #book .booking-for { margin-inline: 0; }
  body.book-open .sheet-title { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .sheet-prog i { transition: none; } }

/* ---------- booking sheet: choosing a treatment is its own screen ---------- */
@media (max-width: 900px) {
  body.book-open #step1.is-detail { padding-top: 0; }
  body.book-open #step1.is-detail > .field, body.book-open #step1.is-detail > .list-head, body.book-open #step1.is-detail #service-list { display: none; }
  body.book-open #step1.is-detail #svc-split { margin-top: 0; }
  body.book-open #step1.is-detail .svc-detail { margin-top: 0; margin-inline: calc(-1 * var(--pad)); border: 0; background: var(--white); }
  body.book-open #step1 .svc-detail { top: 0; }
  /* the Book button is a normal rounded button like Call: it floats at the same spot Call has at the end of the page, and rests just above Call when you scroll there */
  body.book-open #step1.is-detail .detail-actions { display: contents; }
  body.book-open #step1.is-detail .detail-actions .btn { flex: none; margin-inline: var(--pad); }
  body.book-open #step1.is-detail .detail-actions .btn:first-child { position: sticky; bottom: -10px; z-index: 2; margin-top: 16px; box-shadow: 0 8px 20px rgba(42, 37, 64, .22); }
  body.book-open #step1.is-detail .detail-actions .btn:last-child { margin-top: 14px; }
}

/* ---------- booking sheet: the date screen fits the screen, no scrolling ---------- */
@media (max-width: 900px) {
  body.book-open #step2 { --vh: 100vh; --day: clamp(36px, calc((var(--vh) - 345px) / 6.4), 52px); padding-bottom: 12px; }
  @supports (height: 100dvh) { body.book-open #step2 { --vh: 100dvh; } }
  /* what is being booked: one slim row, the name on the left and the length and price on the right */
  body.book-open #selected-service { flex-wrap: nowrap; align-items: center; gap: 10px; padding: 10px var(--pad); margin-bottom: 8px; }
  body.book-open #selected-service .bf-main { flex: 1 1 auto; }
  body.book-open #selected-service .bf-label { margin-bottom: 2px; font-size: .64rem; }
  body.book-open #selected-service .bf-name { font-size: 1.25rem; line-height: 1.15; }
  body.book-open #selected-service .bf-facts { flex: none; flex-wrap: nowrap; gap: 6px; }
  body.book-open #selected-service .bf-facts li { gap: 6px; padding: 6px 10px; font-size: .85rem; }
  body.book-open #selected-service .bf-facts .ic { width: 15px; height: 15px; }
  body.book-open #step2 .tz-note { margin: 0 0 2px; font-size: .75rem; }
  body.book-open #step2 .cal { padding-top: 0; }
  body.book-open #step2 .cal-head { margin: 0 0 2px; }
  body.book-open #step2 .cal-grid { gap: 4px 2px; }
  body.book-open #step2 .cal-dow { padding-bottom: 2px; }
  body.book-open #step2 .cal-day:not(:disabled) { width: min(100%, var(--day)); height: auto; aspect-ratio: 1; font-size: 1rem; }
  body.book-open #step2 .cal-day:disabled { height: 26px; margin: calc((var(--day) - 26px) / 2) 0; }
  body.book-open #step2 .cal-note { margin: 4px 0 0; min-height: 0; }
  body.book-open #step2 .cal-note:empty { display: none; }
}

/* ---------- booking sheet: the "you are booking" banner stays on one line and slides sideways when it is longer than the screen ---------- */
@media (max-width: 900px) {
  body.book-open #book .booking-for { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  body.book-open #book .booking-for > * { flex: none; }
  body.book-open #book .bf-name { white-space: nowrap; overflow-wrap: normal; }
  body.book-open #book .bf-label { white-space: nowrap; }
  body.book-open #book .bf-facts { flex-wrap: nowrap; }
  body.book-open #book .bf-facts li { white-space: nowrap; }
  /* a thin lavender track with a purple thumb, like the one on the right edge */
  body.book-open #book .booking-for::-webkit-scrollbar { height: 14px; }
  body.book-open #book .booking-for::-webkit-scrollbar-track { background: var(--lav-100); background-clip: padding-box; border: 5px solid transparent; border-radius: 999px; margin-inline: 16px; }
  body.book-open #book .booking-for::-webkit-scrollbar-thumb { background: var(--purple); background-clip: padding-box; border: 4px solid transparent; border-radius: 999px; min-width: 56px; }
  body.book-open #book .booking-for::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  @supports not selector(::-webkit-scrollbar) { body.book-open #book .booking-for { scrollbar-width: thin; scrollbar-color: var(--purple) var(--lav-100); } }
}

/* ---------- booking sheet: length and price sit above the calendar, the banner keeps only the name ---------- */
.sheet-facts { display: none; }
@media (max-width: 900px) {
  body.book-open #step2 { --day: clamp(36px, calc((var(--vh) - 395px) / 6.4), 52px); }
  body.book-open #selected-service .bf-facts { display: none; }
  body.book-open #step2 .sheet-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; padding: 0; list-style: none; }
  body.book-open #step2 .sheet-facts li { padding: 8px 14px; font-size: .95rem; }
}

/* ---------- booking sheet on phones: text is centred with equal room on both sides (clear of the scroll bar), the input boxes run edge to edge ---------- */
@media (max-width: 700px) {
  body.book-open #book > .panel { --pad: 24px; }
  body.book-open #book .field > input, body.book-open #book .field > textarea { display: block; box-sizing: border-box; width: calc(100% + 2 * var(--pad)); max-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); border-inline: 0; border-radius: 0; }
  body.book-open #book-form .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- booking sheet: the Mountain Time note belongs to the time screen only ---------- */
@media (max-width: 900px) {
  body.book-open #step2:not(.pick-time) .tz-note { display: none; }
  body.book-open #step2 { --day: clamp(36px, calc((var(--vh) - 375px) / 6.4), 52px); }
  body.book-open #step2.pick-time .sheet-facts { margin-top: 4px; }
}

/* ---------- booking sheet, details screen: the banner is the name and an arrow; the arrow opens the full list (treatment, date, time, length, price) ---------- */
.bf-toggle, .bf-more { display: none; }
@media (max-width: 900px) {
  body.book-open #book #selected-summary { flex-wrap: wrap; overflow: visible; padding-block: 10px; row-gap: 0; }
  body.book-open #book #selected-summary .bf-facts { display: none; }
  body.book-open #book #selected-summary .bf-main { flex: 1 1 0; min-width: 0; }
  body.book-open #book #selected-summary .bf-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.25rem; line-height: 1.2; }
  body.book-open #book #selected-summary .bf-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--gray-200); border-radius: 50%; background: var(--white); color: var(--purple-dark); cursor: pointer; }
  body.book-open #book #selected-summary .bf-toggle:active { background: var(--lav-100); }
  body.book-open #book #selected-summary .bf-toggle:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
  .bf-toggle .ic { width: 20px; height: 20px; stroke-width: 2.2; transition: transform .2s; }
  #selected-summary.is-open .bf-toggle .ic { transform: rotate(180deg); }
  body.book-open #book #selected-summary.is-open .bf-more { display: block; flex: 1 0 100%; margin: 10px 0 0; }
  .bf-more > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--gray-200); }
  .bf-more dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
  .bf-more dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .bf-toggle .ic { transition: none; } }

/* ---------- booking sheet, treatment screen: length and price are shown once (in the tiles below); the category title fills the top ---------- */
@media (max-width: 900px) {
  body.book-open #svc-detail .detail-tp { display: none; }
  body.book-open #svc-detail .detail-top { padding-top: 6px; }
  body.book-open #svc-detail .detail-pill { flex: 1 1 100%; justify-content: flex-start; padding: 11px 18px; font-size: 1rem; }
}

/* ---------- booking sheet, treatment screen: the category title is a square band from edge to edge ---------- */
@media (max-width: 900px) {
  body.book-open #svc-detail .detail-top { padding-top: 0; padding-bottom: 0; border-bottom: 0; }
  body.book-open #svc-detail .detail-pill { flex: 0 0 auto; width: calc(100% + 2 * var(--pad)); box-sizing: border-box; margin: -32px calc(-1 * var(--pad)) 0; padding: 16px var(--pad); border-radius: 0; background: var(--lav-100); }
}

/* the two text-message boxes on the booking form, and the pop-up that explains them */
.sms-tick { margin: 0 0 8px; font-size: .9rem; line-height: 1.4; align-items: center; }
.sms-tick input { margin: 0; }
.sms-tick span { color: var(--ink); }
.sms-links { margin: 4px 0 16px; }
.sms-links a { color: var(--purple); font-weight: 600; white-space: nowrap; }
dialog.sms-info { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px 24px 24px; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 20px 60px rgba(42, 37, 64, .35); }
dialog.sms-info::backdrop { background: rgba(42, 37, 64, .45); }
dialog.sms-info h3 { margin: 0 0 12px; font-size: 1.2rem; }
dialog.sms-info p { margin: 0 0 12px; font-size: .95rem; line-height: 1.55; }
dialog.sms-info a { color: var(--purple); }
dialog.sms-info .btn { margin-top: 4px; }
.sms-tick[hidden], #sms-info-mkt[hidden] { display: none; }
/* a field that stopped the booking */
.field.is-bad span { color: var(--err); font-weight: 600; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad input:focus { border-color: var(--err); background: #fdf3f2; box-shadow: 0 0 0 3px rgba(179, 54, 43, .14); }
.consent-check.is-bad { padding: 8px 10px; border-radius: var(--radius-sm); background: #fdf3f2; box-shadow: 0 0 0 1px var(--err); }
.consent-check.is-bad span { color: var(--err); }

/* a price that covers several treatments (EMSculpt: 4 treatments) */
.svc-pkg { font-size: .82rem; font-weight: 600; color: var(--purple); white-space: nowrap; }
.detail-pkg { font-size: .9rem; font-weight: 600; color: var(--purple); align-self: flex-end; padding-bottom: 2px; }

/* a package (EMSculpt: 4 sessions chosen at once) */
.pkg-bar { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--lav-200); border-radius: 14px; background: var(--lav-50); }
.pkg-bar[hidden], .pkg-list[hidden] { display: none; }
.pkg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pkg-head strong { font-size: 1.05rem; color: var(--purple-dark); }
.pkg-head span { font-size: .92rem; color: var(--ink); opacity: .8; }
.pkg-done, .pkg-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.pkg-done li, .pkg-list li { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .95rem; }
.pkg-done li b, .pkg-list li b { min-width: 5.6em; color: var(--purple-dark); }
.pkg-undo { margin-top: 8px; font-size: .92rem; }
.pkg-list { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--lav-200); border-radius: 14px; background: var(--white); }
