/* BookView business website. Four themes (data-theme on <html>); --brand is the business's colour. */
:root {
  --brand: #0b8f86; --on-brand: #fff; --brand-soft: color-mix(in srgb, var(--brand) 12%, transparent);
  --bg: #faf8f5; --bg-2: #f1ece4; --surface: #fff; --ink: #1d1a16; --muted: #6b645a; --line: #e5ded3;
  --f-head: "Playfair Display", Georgia, serif; --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-sm: 10px; --head-weight: 700; --head-case: none; --head-track: -.01em;
  --shadow: 0 1px 2px rgba(20, 16, 10, .05), 0 8px 24px rgba(20, 16, 10, .06);
  --ok: #15803d; --crit: #c2331f; --warn: #b45309;
  color-scheme: light;
}
html[data-theme="bold"] {
  --bg: #0f1115; --bg-2: #161a21; --surface: #1b2029; --ink: #f3f4f6; --muted: #9aa3b2; --line: #2a313d;
  --f-head: "Archivo", "Inter", system-ui, sans-serif; --head-weight: 800; --head-case: uppercase; --head-track: .01em;
  --r: 6px; --r-sm: 4px; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --brand-soft: color-mix(in srgb, var(--brand) 22%, transparent);
  --ok: #4ade80; --crit: #f87171; --warn: #fbbf24;
  color-scheme: dark;
}
html[data-theme="fresh"] {
  --bg: #f6f9fb; --bg-2: color-mix(in srgb, var(--brand) 7%, #fff); --surface: #fff; --ink: #14212b; --muted: #5d6b78; --line: #e1e8ee;
  --f-head: "Poppins", "Inter", system-ui, sans-serif; --head-weight: 600; --head-track: -.02em;
  --r: 22px; --r-sm: 14px;
}
html[data-theme="minimal"] {
  --bg: #ffffff; --bg-2: #f6f6f6; --surface: #fff; --ink: #111; --muted: #666; --line: #e6e6e6;
  --f-head: "Inter", system-ui, sans-serif; --head-weight: 600; --head-track: -.03em;
  --r: 2px; --r-sm: 2px; --shadow: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3 { font-family: var(--f-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); text-transform: var(--head-case); line-height: 1.15; margin: 0; text-wrap: balance; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.loading, .empty-site { min-height: 60vh; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: filter .15s, background .15s; }
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; border-color: currentColor; }
.btn.light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn.soft { background: var(--brand-soft); color: var(--ink); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn.block { width: 100%; }

/* Demo strip */
.demo-strip { background: repeating-linear-gradient(45deg, #fde68a, #fde68a 12px, #fcd34d 12px, #fcd34d 24px); color: #422006; font-size: .8rem; text-align: center; padding: 6px 12px; font-weight: 600; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.mark img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.mark .initial { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; }
.mark b { font-family: var(--f-head); font-weight: var(--head-weight); text-transform: var(--head-case); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.top-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.top .acct { border-color: var(--line); color: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } .top-actions { margin-left: auto; } }
@media (max-width: 480px) { .top .acct { padding: 0 11px; } .top .acct span { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1c2a26; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .68)); }
.hero .wrap { position: relative; z-index: 1; padding: 48px 0 56px; display: grid; gap: 16px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); max-width: 16ch; }
.hero p.tag { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 46ch; margin: 0; opacity: .92; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; opacity: .95; }
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.dot.closed { background: #fca5a5; box-shadow: 0 0 0 3px rgba(252, 165, 165, .25); }
html[data-theme="minimal"] .hero { min-height: auto; color: var(--ink); background: var(--bg); }
html[data-theme="minimal"] .hero::after { display: none; }
html[data-theme="minimal"] .hero > img { position: static; height: 46vh; border-radius: var(--r); order: 2; }
html[data-theme="minimal"] .hero .wrap { padding: 56px 0 32px; }
html[data-theme="minimal"] .hero .btn.light { color: var(--ink); border-color: var(--line); background: transparent; }
html[data-theme="minimal"] .hero-photo { width: min(1120px, 100% - 32px); margin: 0 auto 24px; }
html[data-theme="minimal"] .hero-photo img { width: 100%; height: 46vh; object-fit: cover; border-radius: var(--r); }

/* Sections */
section.block { padding: 72px 0; }
section.block:nth-of-type(even) { background: var(--bg-2); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); font-weight: 700; margin-bottom: 8px; }
html[data-theme="bold"] .eyebrow { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.muted { color: var(--muted); }
@media (max-width: 640px) { section.block { padding: 52px 0; } }

/* Services */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.filters button { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 99px; cursor: pointer; font-size: .875rem; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc h3 { font-size: 1.2rem; }
.svc .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.svc .facts span { display: inline-flex; align-items: center; gap: 5px; }
.svc .facts svg.i { width: 15px; height: 15px; }
.svc p { margin: 0; color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about .text { font-size: 1.05rem; white-space: pre-line; }
.about img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.facts-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; }
.facts-row div b { display: block; font-family: var(--f-head); font-size: 1.8rem; color: var(--brand); }
html[data-theme="bold"] .facts-row div b { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.facts-row div span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.person h3 { font-size: 1.1rem; }
.person .role { color: var(--brand); font-size: .85rem; font-weight: 600; }
html[data-theme="bold"] .person .role { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.person p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 86vh; border-radius: 8px; }
.lightbox p { color: #ddd; text-align: center; margin: 10px 0 0; }
.lightbox button { position: absolute; top: 16px; right: 16px; }

/* Location & contact */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; color: var(--brand); }
html[data-theme="bold"] .hours tr.today td { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.map { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--r); background: var(--bg-2); }
.contact-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.contact-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.contact-list a:hover span { text-decoration: underline; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
html[data-theme="bold"] .contact-list .ic { color: color-mix(in srgb, var(--brand) 70%, #fff); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 40px 0 100px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.powered { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .8rem; }
.powered b { color: var(--ink); }

/* Sticky book bar on phones */
.mobile-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: none; gap: 10px; }
@media (max-width: 760px) { .mobile-book { display: flex; } }

/* ---------- Booking sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(10, 12, 16, .55); display: flex; justify-content: center; align-items: center; padding: 24px; animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; } }
.panel { width: min(560px, 100%); max-height: min(860px, 100%); background: var(--surface); color: var(--ink); border-radius: calc(var(--r) + 4px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: rise .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
@media (max-width: 640px) {
  .sheet { padding: 0; align-items: stretch; }
  .panel { max-height: none; height: 100%; border-radius: 0; }
}
.panel header { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.panel header h2 { font-size: 1.15rem; text-transform: none; letter-spacing: -.01em; flex: 1; }
.iconbtn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; flex: none; }
.progress { height: 3px; background: var(--line); }
.progress i { display: block; height: 100%; background: var(--brand); transition: width .25s; }
.stepline { font-size: .78rem; color: var(--muted); padding: 10px 18px 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.panel .content { padding: 14px 18px 20px; overflow-y: auto; flex: 1; display: grid; gap: 12px; align-content: start; }
.panel footer.bar { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: var(--surface); }
.panel footer.bar .sum { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.35; }
.panel footer.bar .sum b { display: block; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.choice { width: 100%; text-align: left; display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.choice:hover { border-color: var(--brand); }
.choice[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.choice img, .choice .ph { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); font-weight: 700; font-size: 1.3rem; }
.choice .ph.round, .choice img.round { border-radius: 50%; width: 52px; height: 52px; }
.choice .t { flex: 1; min-width: 0; }
.choice .t b { display: block; }
.choice .t small { color: var(--muted); font-size: .85rem; }
.choice .p { font-weight: 700; white-space: nowrap; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.day { flex: none; width: 62px; padding: 8px 0; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); text-align: center; cursor: pointer; display: grid; gap: 2px; scroll-snap-align: start; }
.day small { font-size: .7rem; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.day b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.day i { font-style: normal; font-size: .68rem; color: var(--ok); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.day:disabled i { color: var(--muted); }
.day[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] i { color: inherit; }
.month { font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.slotgroup h4 { margin: 8px 0; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; display: grid; place-items: center; line-height: 1.15; }
.slot small { font-weight: 500; font-size: .7rem; color: var(--muted); }
.slot:hover { border-color: var(--brand); }
.slot[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.slot[aria-pressed="true"] small { color: inherit; }
.none { padding: 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-sm); }

.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.field textarea { min-height: 80px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.stepper output { min-width: 36px; text-align: center; font-weight: 700; }
.err { color: var(--crit); background: color-mix(in srgb, var(--crit) 10%, transparent); padding: 10px 12px; border-radius: var(--r-sm); font-size: .9rem; }

.summary { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: grid; gap: 8px; font-size: .94rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary div span:first-child { color: var(--muted); }
.summary div span:last-child { text-align: right; font-weight: 600; }
.summary .total { border-top: 1px solid var(--line); padding-top: 8px; font-size: 1.05rem; }

.done { text-align: center; display: grid; gap: 12px; justify-items: center; padding-top: 12px; }
.tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tick svg.i { width: 36px; height: 36px; stroke-width: 2.4; }
.ref { font-family: ui-monospace, Consolas, monospace; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; padding: 6px 14px; border-radius: var(--r-sm); background: var(--bg-2); }
.actions { display: grid; gap: 8px; width: 100%; }
.actions .btn { white-space: normal; text-align: center; line-height: 1.25; }
.panel .content > *, .done > * { min-width: 0; max-width: 100%; }
.done p { overflow-wrap: anywhere; }

/* Customer account */
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.danger { color: var(--crit); }
.lbl { font-size: .875rem; font-weight: 600; }
.me-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.me-card > svg.i { flex: none; color: var(--brand); }
.me-card div { flex: 1; min-width: 0; }
.me-card b { display: block; }
.me-card small { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; }
.pill small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.pill:hover { border-color: var(--brand); }
.pill[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pill.add { border-style: dashed; color: var(--brand); }
.ahead { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--f-body); font-weight: 600; margin: 10px 0 0; }
.bk-list { display: grid; border: 1px solid var(--line); border-radius: var(--r-sm); }
.bk-row { display: flex; gap: 14px; padding: 12px 14px; align-items: flex-start; }
.bk-row + .bk-row { border-top: 1px solid var(--line); }
.bk-row .when { width: 52px; flex: none; text-align: center; padding: 6px 0; border-radius: var(--r-sm); background: var(--brand-soft); display: grid; line-height: 1.2; }
.bk-row .when b { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.bk-row .when span { font-size: .84rem; font-weight: 600; }
.bk-row .what { flex: 1; min-width: 0; display: grid; gap: 3px; }
.bk-row .what small { color: var(--muted); font-size: .84rem; }
.row-acts { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .88rem; margin-top: 2px; }
.devcode { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--ink); padding: 10px 12px; border-radius: var(--r-sm); font-size: .88rem; }
.code-in { font-size: 1.5rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.save-acct { width: 100%; display: grid; gap: 6px; justify-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-sm); font-size: .9rem; }
.save-acct span { color: var(--muted); }
.note-line { font-size: .88rem; color: var(--muted); }
.summary .was { color: var(--muted); font-weight: 500; text-decoration: line-through; }

.terms { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: .9rem; }
.terms summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.terms-text { white-space: pre-wrap; max-height: 220px; overflow-y: auto; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.agree { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.agree.news { font-weight: 500; align-items: flex-start; font-size: .9rem; }
.agree.news small { display: block; font-size: .78rem; }
.acct { position: relative; }
.acct .dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #d4372c; }
.bk-row.msg { color: inherit; text-decoration: none; }
.bk-row.msg.unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 6px; vertical-align: middle; }
.agree input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }

/* Packages & memberships */
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.offer.member { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.offer .tagline { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand); }
.offer h3 { margin: 0; }
.offer .price { font-size: 1.5rem; font-weight: 700; }
.offer .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.offer p { margin: 0; color: var(--muted); font-size: .92rem; }
.offer .perk { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.offer .perk svg.i { color: var(--ok); flex: none; width: 18px; height: 18px; margin-top: 2px; }
.offer .foot { margin-top: 8px; }
.members-badge { display: inline-block; vertical-align: middle; font-size: .68rem; font-family: var(--f-body); text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; background: var(--brand); color: var(--on-brand); }

/* Paying */
.summary .minus span:last-child { color: var(--ok); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { text-transform: uppercase; letter-spacing: .05em; }
.payopts { display: grid; gap: 8px; }
.payopts .choice { padding: 10px 14px; }
.paynote { display: flex; gap: 10px; margin: 0; font-size: .9rem; padding: 10px 12px; border-radius: var(--r-sm); background: var(--brand-soft); }
.paynote svg.i { color: var(--brand); flex: none; }
.okmsg { display: flex; gap: 8px; align-items: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; }
.holdmsg { background: color-mix(in srgb, var(--warn) 12%, transparent); padding: 10px 12px; border-radius: var(--r-sm); font-size: .9rem; }

/* Repeat bookings, waiting list */
.repeat { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.repeat-row { display: flex; gap: 8px; flex-wrap: wrap; }
.repeat-row select { min-height: 42px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.repeat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.repeat-list span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 6px; border-radius: 99px; font-size: .82rem; font-weight: 600; }
.repeat-list span svg.i { width: 15px; height: 15px; }
.repeat-list .ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.repeat-list .no { background: var(--bg-2); color: var(--muted); text-decoration: line-through; }
.day.full i { color: var(--muted); }
.day.full:not([aria-pressed="true"]) { opacity: .6; }

/* Manage booking page */
.manage { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.manage .card { width: min(480px, 100%); display: grid; gap: 14px; }
.manage .card > * { min-width: 0; }
.manage .btn { white-space: normal; text-align: center; line-height: 1.25; }
.badge { display: inline-flex; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.badge.confirmed { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.badge.cancelled { background: color-mix(in srgb, var(--crit) 12%, transparent); color: var(--crit); }
.badge.completed, .badge.no_show { background: var(--bg-2); color: var(--muted); }
.badge.requested { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.badge.pending { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Several services in one visit */
.cartbox { display: grid; gap: 8px; }
.cartbox .lbl { font-weight: 600; font-size: .88rem; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.cart-row small { display: block; color: var(--muted); font-size: .8rem; }
.cart-row > span { font-weight: 600; font-variant-numeric: tabular-nums; }
.iconbtn.sm { width: 30px; height: 30px; }
.cartbox > .btn { justify-self: start; }
.iconbtn.back-me { margin-right: 4px; color: inherit; }
