/* Rejuvenating Aesthetics, version 3: booking-first clinic profile */
:root {
  --bg: #fbf9f7;
  --surface: #ffffff;
  --soft: #f4ede8;
  --ink: #1c1a1b;
  --ink-2: #625b5f;
  --line: #e7e1dd;
  --accent: #6e4a63;
  --accent-soft: #f1e8ee;
  --ok: #2f7d4f;
  --warn: #a5552b;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(28, 26, 27, .05), 0 8px 24px rgba(28, 26, 27, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --top: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--top) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
p { margin: 0 0 12px; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.accent { color: var(--accent); font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stars { color: var(--ink); letter-spacing: 1px; font-size: .85em; }
.stars--lg { font-size: 1.4rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--surface); font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), background .2s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[aria-pressed="true"] svg { fill: #d0435c; stroke: #d0435c; }

/* Top bar with search */
.top { position: sticky; top: 0; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 16px; padding: 0 max(16px, (100% - 1220px) / 2); background: rgba(251, 249, 247, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__logo img { width: 112px; height: auto; }
.top__phone { margin-left: auto; font-weight: 500; text-decoration: none; font-size: .9rem; }
.search { position: relative; flex: 1; max-width: 460px; }
.search > svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 2; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px 0 40px; box-shadow: var(--shadow); }
.search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 6px; max-height: 60vh; overflow: auto; }
.search__results button { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.search__results button:hover, .search__results button.is-active { background: var(--soft); }
.search__results small { color: var(--ink-2); }
.search__results p { padding: 10px 12px; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .top__phone { display: none; } .top > .btn { display: none; } }
@media (max-width: 520px) { .top__logo img { width: 84px; } }

/* Venue header */
.venue { padding: 20px 0 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--ink-2); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.venue__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.venue h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 8px; }
.venue__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: .92rem; }
.rating { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.dot { color: var(--ink-2); }
.status { font-weight: 500; }
.status.is-open, [data-open-status].is-open { color: var(--ok); }
.status.is-closed, [data-open-status].is-closed { color: var(--warn); }
.venue__actions { display: flex; gap: 8px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 46vw, 520px); border-radius: 18px; overflow: hidden; }
.mosaic button { position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: #222; }
.mosaic__main { grid-row: 1 / 3; }
.mosaic video, .mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic button:hover img, .mosaic button:hover video { transform: scale(1.03); }
.mosaic__tag, .mosaic__all { position: absolute; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.95); font-size: .8rem; font-weight: 600; }
.mosaic__tag { left: 14px; }
.mosaic__all { right: 14px; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vh; margin-inline: -16px; border-radius: 0; }
  .mosaic__side:nth-of-type(2) { display: none; }
  .mosaic__side { position: absolute !important; right: 12px; bottom: 12px; width: 0; height: 0; overflow: visible !important; background: none !important; }
  .mosaic__side img { display: none; }
  .mosaic__all { position: absolute; right: 0; bottom: 0; white-space: nowrap; }
  .venue { position: relative; }
}

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.side { position: sticky; top: calc(var(--top) + 20px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.card__name { font: 500 1.5rem/1.1 var(--serif); margin-bottom: 6px; }
.card__rating { font-size: .9rem; margin-bottom: 18px; }
.card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.card__line { display: flex; gap: 12px; font-size: .9rem; margin-bottom: 12px; }
.card__line svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.card__basket { margin-top: 14px; font-size: .88rem; }
.card__basket li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.card__basket ul { list-style: none; margin: 0 0 10px; padding: 0; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } .side { display: none; } }

/* Section tabs (sticky, scroll-spy) */
.tabs { position: sticky; top: var(--top); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { position: relative; padding: 14px 12px; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.tabs a.is-active { color: var(--ink); }
.tabs a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.block--soft { background: var(--soft); border-radius: 22px; padding: 32px; margin: 24px 0; border: 0; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .block--soft { padding: 24px 18px; margin-inline: -8px; } }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 18px 0 6px; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .86rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder { background: var(--accent-soft); border-radius: var(--r); padding: 16px; }
.finder__q { font: 500 1.05rem/1.2 var(--serif); margin-bottom: 12px; }
.finder .chip { background: rgba(255,255,255,.7); }
.filter-note { font-size: .85rem; color: var(--ink-2); margin: 10px 0 0; }
.filter-note button { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Service rows */
.services { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: #cfc6c1; }
.svc.is-in { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.svc__main { flex: 1; min-width: 0; }
.svc__name { display: block; background: none; border: 0; padding: 0; text-align: left; font-weight: 600; font-size: 1rem; cursor: pointer; }
.svc__name:hover { text-decoration: underline; }
.svc__note { font-size: .84rem; color: var(--ink-2); margin: 2px 0 6px; }
.svc__desc { font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc__price { font-weight: 600; font-size: .92rem; }
.svc__price.is-ask { font-weight: 500; color: var(--ink-2); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .7rem; font-weight: 600; vertical-align: 2px; }
.add { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--ease); }
.add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.add[aria-pressed="true"] svg { transform: rotate(45deg); }
.empty { padding: 24px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--r); }

/* Team */
.team { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.member { text-align: center; }
.avatar { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 500 2rem/1 var(--serif); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member strong { display: block; }
.member span { font-size: .82rem; color: var(--ink-2); }

/* Reviews */
.rv-sum { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rv-sum strong { font: 500 1.6rem/1 var(--serif); }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-bottom: 20px; }
.review header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review .ini { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 600; }
.review p { font-size: .92rem; margin: 6px 0 0; }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* Bridal */
.bridal { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.bridal__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 160px 160px 14px 14px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.inline-form input { flex: 1 1 180px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.bridal__count { margin: 16px 0 0; font: 500 1.2rem/1.2 var(--serif); }
.bridal__count strong { font-size: 2.6rem; color: var(--accent); margin-right: 6px; }
.plan { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; counter-reset: p; }
.plan li { background: var(--surface); border-radius: var(--r); padding: 16px; animation: up .5s var(--ease) both; }
.plan li.is-past { opacity: .6; }
.plan time { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.plan strong { display: block; font: 500 1.05rem/1.2 var(--serif); margin-bottom: 4px; }
.plan span { font-size: .85rem; color: var(--ink-2); }
.plan .is-day { background: var(--ink); color: #fff; }
.plan .is-day span, .plan .is-day time { color: rgba(255,255,255,.75); }
.bridal__cta { margin-top: 18px; }
@keyframes up { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 760px) { .bridal { grid-template-columns: 1fr; } .bridal__img { order: -1; max-height: 260px; } }

/* Partners */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.partner { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.partner img, .partner__mono { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; }
.partner__mono { display: grid; place-items: center; background: var(--ink); color: #fff; font: italic 500 1.5rem/1 var(--serif); }
.partner h3 { font-size: 1rem; margin-bottom: 2px; }
.partner p { margin: 0; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 600px) { .partners { grid-template-columns: 1fr; } }

/* Gift card */
.gift { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.gift__preview { position: sticky; top: calc(var(--top) + 70px); perspective: 900px; }
.giftcard { aspect-ratio: 1.6; border-radius: 18px; padding: 22px; color: #fff; display: flex; flex-direction: column; background: radial-gradient(120% 140% at 0% 0%, #8b6280, #4b2f42 60%, #2b1b26); box-shadow: 0 30px 60px rgba(75, 47, 66, .35); transition: transform .6s var(--ease); }
.giftcard.is-printed { background: radial-gradient(120% 140% at 0% 0%, #fff, #f1e7e1 70%); color: var(--ink); }
.giftcard.is-printed img { filter: invert(1); }
.giftcard.flip { animation: flip .6s var(--ease); }
.giftcard img { width: 34px; height: auto; }
.giftcard__amt { font: 500 clamp(2.4rem, 5vw, 3.2rem)/1 var(--serif); margin: auto 0 6px; }
.giftcard__to { font-weight: 600; margin: 0; }
.giftcard__msg { font-size: .85rem; opacity: .8; margin: 2px 0 0; min-height: 1.3em; }
.giftcard__type { position: absolute; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin: 0; }
.giftcard { position: relative; }
.giftcard__type { top: 24px; right: 22px; }
@keyframes flip { 50% { transform: rotateY(90deg); } }
.gift__form { display: grid; gap: 14px; }
.gift__form fieldset { border: 0; padding: 0; margin: 0; }
.lbl, .field > span { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.field em { font-weight: 400; color: var(--ink-2); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.field textarea { resize: vertical; }
.field .is-bad, .is-bad { border-color: #c2412c !important; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px !important; background: var(--soft); border-radius: 999px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 999px; font-weight: 600; font-size: .86rem; cursor: pointer; transition: background .2s; }
.seg input:checked + span { background: var(--surface); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.form-error { color: #c2412c; font-size: .86rem; margin: 0; }
@media (max-width: 760px) { .gift { grid-template-columns: 1fr; } .gift__preview { position: static; } .grid2 { grid-template-columns: 1fr; } }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.reel { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #222; aspect-ratio: 9 / 16; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff; font-size: .82rem; font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
@media (max-width: 640px) { .reels { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; } .reel { scroll-snap-align: start; } }

/* About */
.standards { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.standards li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .88rem; color: var(--ink-2); }
.standards strong { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; margin-bottom: 28px; }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours td:last-child { text-align: right; }
.hours tr.is-today td { font-weight: 600; }
.hours tr.is-today td:first-child::before { content: "●"; color: var(--ok); margin-right: 6px; font-size: .7em; vertical-align: 2px; }
.map { width: 100%; height: 220px; border: 0; border-radius: var(--r); background: var(--soft); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }
@media (max-width: 760px) { .standards, .about-grid { grid-template-columns: 1fr; } }

.foot { padding: 40px 0 120px; display: grid; gap: 6px; }
.foot img { width: 120px; height: auto; margin-bottom: 8px; }

/* Mobile bottom bar */
.mbar { display: none; }
@media (max-width: 1000px) {
  .mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.06); }
  .mbar strong { display: block; font-size: .95rem; }
  .mbar span { font-size: .8rem; color: var(--ink-2); }
}

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: rgba(20, 16, 18, .5); backdrop-filter: blur(3px); }
body.is-locked { overflow: hidden; }

/* Booking flow (Fresha / Careem / IKEA patterns) */
.flow { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; display: none; flex-direction: column; background: var(--bg); }
.flow[open] { display: flex; animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.flow__top { display: flex; align-items: center; gap: 12px; padding: 14px max(16px, (100% - 1100px) / 2); }
.steps { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 6px; font-size: .82rem; color: #b3aaa6; }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: "›"; color: #c9c1bd; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-now { color: var(--ink); font-weight: 600; }
.flow__progress { height: 3px; background: var(--line); }
.flow__progress span { display: block; height: 100%; background: var(--accent); width: 20%; transition: width .4s var(--ease); }
.flow__body { flex: 1; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding: 28px max(16px, (100% - 1100px) / 2) 40px; align-items: start; }
.flow__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 4px; outline: none; }
.flow__next { font-size: .85rem; color: var(--ink-2); margin-bottom: 20px; }
.flow__sum { position: sticky; top: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.flow__bar { display: none; }
.sum__venue { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sum__venue img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.sum__venue strong { display: block; }
.sum__venue span { font-size: .82rem; color: var(--ink-2); }
.sum__meta { font-size: .86rem; color: var(--ink-2); margin-bottom: 12px; }
.sum__meta p { display: flex; gap: 8px; margin: 0 0 4px; }
.sum__list { list-style: none; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.sum__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9rem; }
.sum__list small { display: block; color: var(--ink-2); }
.sum__total { display: flex; justify-content: space-between; font-weight: 600; padding: 14px 0 4px; }
.sum__due { display: flex; justify-content: space-between; font-size: .86rem; color: var(--ok); }
.sum__later { display: flex; justify-content: space-between; font-size: .86rem; color: var(--ink-2); }
.sum .btn { margin-top: 18px; }
.sum__empty { color: var(--ink-2); font-size: .9rem; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .flow__body { grid-template-columns: 1fr; padding-bottom: 110px; }
  .flow__sum { display: none; }
  .flow__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .flow__bar strong { display: block; }
  .flow__bar span { font-size: .8rem; color: var(--ink-2); }
  .steps li:not(.is-now) { display: none; }
  .steps li.is-now::before { content: none; }
}

/* Flow: practitioner */
.pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pro { position: relative; padding: 20px 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.pro input { position: absolute; opacity: 0; }
.pro:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.pro:has(input:focus-visible) { outline: 2px solid var(--accent); }
.pro .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
.pro strong { display: block; }
.pro span { font-size: .8rem; color: var(--ink-2); }
.pro--any .avatar { background: var(--ink); color: #fff; }

/* Flow: date & time */
.week { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.week strong { font-size: 1rem; }
.week .icon-btn { width: 36px; height: 36px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 22px; }
.day { display: grid; justify-items: center; gap: 4px; padding: 6px 0; background: none; border: 0; cursor: pointer; font-size: .78rem; color: var(--ink-2); }
.day b { width: 52px; height: 52px; max-width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); background: var(--surface); }
.day i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.day.is-ask i { background: #d6a440; }
.day[disabled] { cursor: not-allowed; opacity: .4; }
.day[disabled] b { text-decoration: line-through; background: none; }
.day[disabled] i { visibility: hidden; }
.day[aria-pressed="true"] b { background: var(--accent); border-color: var(--accent); color: #fff; }
.legend { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-2); margin: -10px 0 18px; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.legend .ask { background: #d6a440; }
.slot-group { margin-bottom: 18px; }
.slot-group h3 { font: 600 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.note { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .86rem; margin-bottom: 18px; }

/* Flow: details + confirm */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.review-list { list-style: none; padding: 0; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.review-list li { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.review-list li:last-child { border-bottom: 0; }
.review-list b { width: 110px; flex: none; color: var(--ink-2); font-weight: 500; }
.review-list button { margin-left: auto; background: none; border: 0; color: var(--accent); font-weight: 600; cursor: pointer; }
.policy h3 { font-size: 1rem; margin: 18px 0 6px; }
.policy p { font-size: .88rem; color: var(--ink-2); }
.done { text-align: center; max-width: 560px; margin: 0 auto; }
.done__tick { width: 72px; height: 72px; margin: 10px auto 18px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; animation: pop .5s var(--ease); }
.done__tick svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .25s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done .review-list { text-align: left; }
.done h2 { outline: none; }
.done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
@media (max-width: 600px) { .form-grid, .done__actions { grid-template-columns: 1fr; } }

/* Service sheet */
.sheet { width: min(560px, 100%); max-height: min(88vh, 900px); border-radius: 22px; overflow: auto; }
.sheet[open] { animation: rise .3s var(--ease); }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.sheet__media { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.sheet__media video, .sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 24px; }
.sheet__body h2 { margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.facts div { background: var(--soft); border-radius: 12px; padding: 12px; font-size: .84rem; }
.facts b { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
@media (max-width: 600px) { .sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; } }

/* Lightbox */
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; background: var(--bg); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px max(16px, (100% - 1100px) / 2); border-bottom: 1px solid var(--line); }
.lightbox__top p { margin: 0; }
.lightbox__grid { flex: 1; overflow: auto; padding: 16px max(16px, (100% - 1100px) / 2) 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); gap: 10px; align-content: start; }
.lightbox__grid button { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--soft); }
.lightbox__grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.lightbox__grid button:hover img { transform: scale(1.03); }
.lightbox__view { flex: 1; position: relative; display: grid; place-items: center; background: #111; min-height: 0; }
.lightbox__view img { max-width: 100%; max-height: 100%; object-fit: contain; animation: fade .3s; }
.lightbox__view .icon-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 96px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
