/* MEDIBOOK portal (medicard.ge/ and medicard.ge/book/…) — the public booking site.
   Owner 2026-10-18: modern, compact, comfortable — „დიდი წარწერები საშინელებაა“. One family (FiraGO), headings 22–40 px,
   an 8 px rhythm. Every page opens on a soft lilac panel (the front page's hero; a place's panel takes its category
   tint); lists sit on white cards; the main action is the lilac button (.bp-btn.is-brand). Chosen days and times are
   ink. Category colours tint tiles, icons and dots — they are data. Light only, like every public page of the site. */

@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago/FiraGO-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("/fonts/exo2/Exo2-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --paper: #FBFAFE;
  --paper-2: #F3F0FA;
  --white: #FFFFFF;
  --ink: #1D1631;
  --ink-2: #5E5772;
  --ink-3: #8C8699;
  --lilac: #7A58C9;
  --lilac-2: #C6B2F5;
  --lilac-ink: #5B3FA8;
  --line: rgba(29, 22, 49, .1);
  --line-2: rgba(29, 22, 49, .18);
  --ok: #0F7A55;
  --warn: #93560E;
  --danger: #B42318;
  --sans: "FiraGO", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-float: 0 24px 60px -28px rgba(29, 22, 49, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.bp-locked { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
/* One-column grids whose children hold one-line ellipsis text: the column must be allowed to shrink. */
.bp-row-main, .bp-sum-place div, .bp-flow-place span, .bp-appt-main, .bp-pickbar-text, .bp-flow-bar-text, .bp-person-text, .bp-bookable-body, .bp-svc-main, .bp-team li div, .bp-branches a { grid-template-columns: minmax(0, 1fr); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }
.ic { display: inline-flex; flex: none; }
.ic svg { display: block; }

.bp-wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.bp-narrow { max-width: 720px; padding-top: 24px; padding-bottom: 72px; }
#portal { min-height: 60vh; outline: none; }

/* The module wordmark: upright MEDI in ink, BOOK skewed in lilac (the app's ModuleWordmark) */
.bp-wm { font-family: "Exo 2", var(--sans); font-weight: 800; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.bp-wm b { display: inline-block; color: var(--lilac); transform: skewX(-16deg); font-weight: 800; }

/* ── Buttons ── */
.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent; background: none; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.bp-btn:active { transform: scale(.98); }
.bp-btn.is-ink { background: var(--ink); color: #fff; }
.bp-btn.is-ink:hover { background: #2C2347; }
.bp-btn.is-line { border-color: var(--line-2); background: var(--white); color: var(--ink); }
.bp-btn.is-line:hover { border-color: var(--lilac); color: var(--lilac-ink); }
.bp-btn.is-danger { background: var(--danger); color: #fff; }
.bp-btn.is-danger-line { border-color: rgba(180, 35, 24, .35); color: var(--danger); background: var(--white); }
.bp-btn.is-danger-line:hover { border-color: var(--danger); }
.bp-btn.is-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.bp-btn.is-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.bp-btn.is-block { width: 100%; }
.bp-btn.is-icon { width: 46px; padding: 0; }
.bp-btn:disabled, .bp-btn.is-disabled { opacity: .42; cursor: not-allowed; transform: none; }
.bp-btn.is-busy { color: transparent !important; pointer-events: none; }
.bp-btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) transparent transparent; animation: bp-spin .7s linear infinite; }
.bp-btn.is-line.is-busy::after { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
.bp-textbtn, .bp-textlink {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none;
}
.bp-textbtn:hover, .bp-textlink:hover { color: var(--lilac-ink); }
.bp-textbtn:disabled { color: var(--ink-3); cursor: default; }
.bp-textlink { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }

/* ── Home (medicard.ge/) — owner 2026-10-18: modern and comfortable, no big serif lines. One family (FiraGO), an 8 px
   rhythm, headings 26–40 px. The hero is a soft lilac panel: the search bar is the one bold element, the live card
   (a real place's nearest free time over its week) sits beside it. ── */
.bp-btn.is-brand { background: var(--lilac); color: #fff; }
.bp-btn.is-brand:hover { background: #6A48BB; }
.bp-btn.is-brand:focus-visible { outline-color: var(--ink); }
.bp-hero { padding: 16px 0 0; }
.bp-hero-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); align-items: center; gap: 48px;
  padding: 32px 48px 48px; border-radius: 32px; overflow: hidden; isolation: isolate; border: 1px solid rgba(122, 88, 201, .12);
  background:
    radial-gradient(70% 90% at 94% 6%, #E6DBFF 0%, rgba(230, 219, 255, 0) 62%),
    radial-gradient(55% 75% at 0% 100%, #FBE6F1 0%, rgba(251, 230, 241, 0) 60%),
    linear-gradient(160deg, #FFFFFF 0%, #F5F1FF 100%);
}
.bp-hero-copy { min-width: 0; }
.bp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.bp-toplink { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.bp-toplink:hover { border-color: var(--lilac-2); background: #fff; }
.bp-hero h1 { max-width: 20em; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.bp-hero-lead { margin-top: 16px; max-width: 54ch; color: var(--ink-2); font-size: 17px; line-height: 1.6; }

/* The search bar: what · where · search */
.bp-searchbar {
  display: flex; align-items: center; margin-top: 32px; max-width: 720px; padding: 8px; border-radius: 24px; background: #fff;
  box-shadow: 0 24px 48px -28px rgba(61, 38, 120, .38), 0 0 0 1px rgba(29, 22, 49, .07);
}
.bp-what, .bp-where {
  min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 16px; border-radius: 16px; color: var(--ink-3);
  transition: background-color .15s;
}
.bp-what { flex: 1.35; cursor: text; }
.bp-where { flex: 1; min-width: 176px; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; }
.bp-what:hover, .bp-where:hover, .bp-what:focus-within { background: var(--paper); }
.bp-what-main, .bp-where-main { flex: 1; min-width: 0; display: grid; }
.bp-what small, .bp-where small { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); }
.bp-q { width: 100%; min-width: 0; height: 24px; padding: 0; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.bp-q::placeholder { color: var(--ink-3); }
.bp-q::-webkit-search-cancel-button { display: none; }
.bp-q-clear { display: inline-flex; padding: 6px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); cursor: pointer; }
.bp-where-text { font-size: 15px; line-height: 24px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-where.is-set .bp-where-text { color: var(--ink); font-weight: 500; }
.bp-where-chev { color: var(--ink-3); }
.bp-where:focus-visible { outline-offset: -2px; }
.bp-searchbar-sep { flex: none; width: 1px; height: 32px; background: var(--line); }
.bp-searchbar-go { flex: none; min-height: 52px; padding: 0 24px; border-radius: 18px; }

/* Quick categories under the bar */
.bp-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bp-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s, transform .15s var(--ease);
}
.bp-chip:hover { border-color: color-mix(in srgb, var(--cat, var(--lilac)) 45%, transparent); background: #fff; }
.bp-chip:active { transform: scale(.97); }
.bp-chip-ic { width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); }
.bp-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bp-chip.is-on .bp-chip-ic { background: rgba(255, 255, 255, .16); color: #fff; }
.bp-chip.is-more { gap: 6px; padding: 0 16px; color: var(--ink-2); }

/* The showcase: this week's free days behind the card with the nearest free time */
.bp-showcase { min-width: 0; }
.bp-show { position: relative; width: min(100%, 392px); margin: 0 auto; padding: 104px 0 24px; animation: bp-rise .6s var(--ease) both; }
@keyframes bp-rise { from { opacity: 0; transform: translateY(16px); } }
.bp-week {
  position: absolute; top: 0; left: -32px; right: 48px; padding: 16px 16px 48px; border-radius: 24px; transform: rotate(-3deg);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(122, 88, 201, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bp-week > p { margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bp-week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bp-week-day { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 12px; }
.bp-week-day small { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.bp-week-day b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-week-day i { position: relative; width: 18px; height: 3px; margin-top: 2px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.bp-week-day i::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--lilac); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.bp-week-day.is-on { background: var(--ink); color: #fff; }
.bp-week-day.is-on small { color: rgba(255, 255, 255, .7); }
.bp-week-day.is-on i { background: rgba(255, 255, 255, .2); }
.bp-week-day.is-on i::after { background: var(--lilac-2); }
.bp-week-day.is-none b { color: var(--ink-3); font-weight: 400; }
.bp-live {
  position: relative; z-index: 1; display: grid; gap: 4px; padding: 20px; border-radius: 24px; background: #fff;
  box-shadow: 0 32px 64px -32px rgba(61, 38, 120, .45), 0 0 0 1px rgba(29, 22, 49, .06);
}
.bp-live-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.bp-live-head > div { display: grid; gap: 2px; min-width: 0; }
.bp-live-head b { font-size: 16px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-live-head b a { text-decoration: none; }
.bp-live-head b a:hover { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-live-head > div > span { color: var(--ink-2); font-size: 13px; }
.bp-live-head .bp-facts { font-size: 13px; gap: 2px 12px; }
.bp-live-ic { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: color-mix(in srgb, var(--cat) 10%, white); color: var(--cat); }
.bp-live-label { font-size: 12px; color: var(--ink-3); }
.bp-live-day { font-size: 14px; color: var(--ink-2); }
.bp-live-day b { color: var(--ink); font-weight: 600; }
.bp-live-times { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.bp-live-clock { margin-right: 8px; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bp-live-times .bp-slot { min-width: 64px; text-decoration: none; }
.bp-live-svc { display: grid; gap: 2px; margin-bottom: 16px; font-size: 14px; }
.bp-live-svc b { font-weight: 600; }
.bp-live-svc span { color: var(--ink-2); font-size: 13px; }
.bp-live-ok { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ok); font-weight: 600; font-size: 14px; }
.bp-show-chip {
  position: absolute; z-index: 2; left: -24px; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 13px; box-shadow: 0 16px 32px -20px rgba(61, 38, 120, .5), 0 0 0 1px rgba(29, 22, 49, .06);
}
.bp-show-chip .ic { color: #F5A524; }
.bp-show-chip .ic svg { fill: currentColor; }
.bp-show-chip b { color: var(--ink); font-weight: 700; }
.bp-sk { display: block; height: 14px; width: 70%; border-radius: 8px; background: linear-gradient(90deg, #EFECF6 0%, #F7F5FB 50%, #EFECF6 100%); background-size: 200% 100%; animation: bp-shimmer 1.4s linear infinite; }
.bp-sk.is-thumb { width: 44px; height: 44px; border-radius: 12px; }
.bp-sk.is-short { width: 42%; }
.bp-sk.is-clock { width: 46%; height: 40px; margin: 8px 0; border-radius: 10px; }
.bp-sk.is-btn { width: 100%; height: 46px; border-radius: 999px; margin-top: 8px; }
.bp-sk.is-media { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; }
.bp-live.is-wait { gap: 8px; }
.bp-live.is-wait .bp-live-head > div { gap: 8px; }

/* ── Sections ── */
.bp-home-body { padding: 72px 0 96px; }
.bp-sec { margin-top: clamp(40px, 6vw, 72px); }
.bp-home-body > :is(section, aside):first-child { margin-top: 0; }
.bp-home-body > :is(section, aside):not(:first-child) { margin-top: 80px; }
.bp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bp-sec-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.bp-home-body .bp-sec-head { margin-bottom: 24px; }
.bp-home-body .bp-sec-head h2 { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; }
.bp-sec-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.bp-count { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.bp-empty-title { font-size: 22px; font-weight: 600; }

/* Place rows: a hairline list, two columns on wide screens */
.bp-rows { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .bp-home-body .bp-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; } .bp-home-body .bp-row:nth-child(-n+2) { border-top: 1px solid var(--line); } }
.bp-row { border-bottom: 1px solid var(--line); }
.bp-row-link { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 2px; text-decoration: none; }
.bp-row-link:hover .bp-row-name span { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-thumb { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--paper-2); }
.bp-thumb.is-tile { display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1.5px solid color-mix(in srgb, var(--cat) 32%, transparent); color: var(--cat); }
.bp-thumb.is-sm { width: 44px; height: 44px; border-radius: 11px; }
.bp-thumb.is-sm .ic svg { width: 18px; height: 18px; }
.bp-row-main { min-width: 0; display: grid; gap: 3px; }
.bp-row-name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.bp-row-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-check { color: var(--lilac); }
.bp-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--ink-2); font-size: 14px; }
.bp-facts.is-soft { font-size: 13.5px; }
.bp-facts.is-lg { font-size: 15px; gap: 6px 18px; }
.bp-cat { display: inline-flex; align-items: center; gap: 7px; }
.bp-cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); flex: none; }
.bp-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.bp-rating .ic svg { fill: currentColor; }
.bp-rating b { font-weight: 600; }
.bp-rating small { color: var(--ink-3); font-size: 1em; }
.bp-open { color: var(--ok); }
.bp-closed { color: var(--ink-3); }
.bp-online {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--lilac-2);
  color: var(--lilac-ink); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.bp-row-chev { color: var(--ink-3); }
.bp-more { display: flex; justify-content: center; margin-top: 24px; }

.bp-empty { padding: 40px 0; display: grid; gap: 10px; justify-items: start; }
.bp-empty p:not(.bp-empty-title) { color: var(--ink-2); }
.bp-empty .bp-btn { margin-top: 8px; }

/* Categories: tinted tiles, the category colour as data */
.bp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bp-tile {
  display: grid; align-content: space-between; gap: 16px; min-height: 112px; padding: 16px; border-radius: 20px; text-align: left; cursor: pointer; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--cat) 14%, transparent); background: color-mix(in srgb, var(--cat) 6%, white);
  transition: transform .18s var(--ease), box-shadow .18s, background-color .18s;
}
.bp-tile:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--cat) 10%, white); box-shadow: 0 16px 32px -24px color-mix(in srgb, var(--cat) 70%, transparent); }
.bp-tile:active { transform: scale(.98); }
.bp-tile-ic { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; color: var(--cat); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--cat) 60%, transparent); }
.bp-tile-label { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* Places as cards */
.bp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 24px 16px; }
.bp-card { display: grid; align-content: start; gap: 12px; color: inherit; text-decoration: none; border-radius: 20px; }
.bp-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.bp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.bp-card:hover .bp-card-media img { transform: scale(1.03); }
.bp-card-media.is-tile { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--cat) 16%, white) 0%, rgba(255, 255, 255, 0) 62%), color-mix(in srgb, var(--cat) 6%, white); }
.bp-card-ic { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; background: #fff; color: var(--cat); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--cat) 70%, transparent); transition: transform .3s var(--ease); }
.bp-card:hover .bp-card-ic { transform: translateY(-2px); }
.bp-card-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--lilac-ink); font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px -6px rgba(29, 22, 49, .3); }
.bp-card-body { display: grid; gap: 4px; padding: 0 4px; min-width: 0; }
.bp-card-name { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; min-width: 0; }
.bp-card-name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-card:hover .bp-card-name > span { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-card .bp-facts { font-size: 13.5px; gap: 2px 12px; }
.bp-card .bp-facts.is-soft { font-size: 13px; }
.bp-card.is-sk { gap: 10px; }

/* Towns */
.bp-town-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-town {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: border-color .15s, transform .15s var(--ease);
}
.bp-town .ic { color: var(--lilac); }
.bp-town:hover { border-color: var(--lilac-2); }
.bp-town:active { transform: scale(.97); }
.bp-town.is-all { padding: 0 12px 0 18px; color: var(--ink-2); }
.bp-town.is-all .ic { color: var(--ink-3); }

/* How it works: three steps */
.bp-steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bp-steps-row li { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.bp-step-ic { position: relative; width: 52px; height: 52px; margin-bottom: 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: #F1ECFC; color: var(--lilac-ink); }
.bp-step-ic b { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.bp-steps-row h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.bp-steps-row p { color: var(--ink-2); font-size: 15px; }

/* MEDICARD: what the portal is part of */
.bp-app {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 32px;
  padding: 48px 48px 0; border-radius: 32px; background: var(--paper-2); overflow: hidden;
}
.bp-app-copy { display: grid; justify-items: start; gap: 16px; padding-bottom: 48px; }
.bp-app-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.bp-app-mark img { border-radius: 8px; }
.bp-app h2 { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.bp-app p { color: var(--ink-2); max-width: 52ch; }
.bp-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.bp-store img { display: block; height: 48px; width: auto; }
.bp-app .bp-app-search { color: var(--ink-3); font-size: 13px; }
.bp-app-phones { display: flex; justify-content: center; align-items: flex-start; align-self: end; height: 360px; padding-top: 16px; }
/* Light frames (1 px line, 14 px corners) — what the owner approved on 2026-10-18. */
.bp-phone { flex: none; display: flex; width: 160px; aspect-ratio: 880 / 1904; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(29, 22, 49, .6); }
.bp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.bp-phone:nth-child(1) { transform: translate(18px, 32px) rotate(-6deg); }
.bp-phone:nth-child(2) { position: relative; z-index: 1; }
.bp-phone:nth-child(3) { transform: translate(-18px, 32px) rotate(6deg); }

/* Questions: the heading on the left, the answers on the right */
.bp-faq { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 24px 48px; align-items: start; }
.bp-faq .bp-sec-head { margin-bottom: 0; }
.bp-faq-list { border-top: 1px solid var(--line); }
.bp-faq-item { border-bottom: 1px solid var(--line); }
.bp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.45; }
.bp-faq-item summary::-webkit-details-marker { display: none; }
.bp-faq-item summary:hover > span { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-faq-ic { flex: none; color: var(--lilac); transition: transform .2s var(--ease); }
.bp-faq-item[open] .bp-faq-ic { transform: rotate(45deg); }
.bp-faq-item p { padding: 0 40px 24px 4px; color: var(--ink-2); max-width: 68ch; }

/* Businesses: the one ink panel on the page */
.bp-biz {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; overflow: hidden;
  padding: 56px 0 0 56px; border-radius: 32px; background: var(--ink); color: #fff;
}
.bp-biz-copy { display: grid; justify-items: start; gap: 16px; padding-bottom: 56px; }
.bp-wm.is-light { color: #fff; }
.bp-wm.is-light b { color: var(--lilac-2); }
.bp-biz h2 { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.bp-biz p { color: rgba(255, 255, 255, .74); max-width: 46ch; }
.bp-biz .bp-btn { margin-top: 8px; }
.bp-btn.is-light { border-color: rgba(198, 178, 245, .55); color: #fff; }
.bp-btn.is-light:hover { border-color: var(--lilac-2); background: rgba(255, 255, 255, .06); }
.bp-biz-shot { align-self: end; height: 360px; margin: 0; overflow: hidden; border-radius: 16px 0 0 0; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .6); }
.bp-biz-shot img { display: block; width: 780px; max-width: none; height: auto; }

/* ── Home on tablets and phones ── */
@media (max-width: 1080px) {
  .bp-hero-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 32px; }
  .bp-steps-row { grid-template-columns: minmax(0, 1fr); }
  .bp-app, .bp-biz { grid-template-columns: minmax(0, 1fr); }
  .bp-app-phones { justify-self: center; }
  .bp-faq { grid-template-columns: minmax(0, 1fr); }
  .bp-biz { padding: 40px 0 0 40px; }
  .bp-biz-copy { padding: 0 40px 0 0; }
}
@media (max-width: 760px) {
  .bp-hero { padding-top: 8px; }
  .bp-hero-panel { padding: 20px 16px 24px; border-radius: 28px; gap: 32px; }
  .bp-hero-top { margin-bottom: 24px; }
  .bp-hero h1 { font-size: 26px; }
  .bp-hero-lead { font-size: 15px; margin-top: 12px; }
  .bp-searchbar { flex-direction: column; align-items: stretch; margin-top: 24px; padding: 6px; border-radius: 22px; }
  .bp-searchbar-sep { width: auto; height: 1px; margin: 0 12px; }
  .bp-what, .bp-where { padding: 10px 12px; }
  .bp-searchbar-go { margin-top: 6px; width: 100%; }
  .bp-quick { flex-wrap: nowrap; overflow-x: auto; margin: 20px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .bp-quick::-webkit-scrollbar { display: none; }
  .bp-chip { flex: none; }
  .bp-show { width: 100%; padding-top: 96px; }
  .bp-week { left: -4px; right: 28px; }
  .bp-show-chip { left: -2px; }
  .bp-live-clock { font-size: 32px; margin-right: 4px; }
  .bp-live-times .bp-slot { min-width: 56px; padding: 4px 8px; }
  .bp-home-body { padding: 48px 0 72px; }
  .bp-home-body > :is(section, aside):not(:first-child) { margin-top: 56px; }
  .bp-home-body .bp-sec-head h2, .bp-sec-head.is-results h2 { font-size: 22px; }
  .bp-sec-head.is-results { flex-direction: column; align-items: flex-start; }
  .bp-tiles { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 136px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .bp-tiles::-webkit-scrollbar { display: none; }
  .bp-tile { min-height: 104px; scroll-snap-align: start; }
  .bp-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bp-card { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 14px; }
  .bp-card-media { aspect-ratio: 1; border-radius: 16px; }
  .bp-card-ic { width: 44px; height: 44px; border-radius: 14px; }
  .bp-card-ic .ic svg { width: 20px; height: 20px; }
  .bp-card-badge { left: 6px; top: 6px; padding: 4px; font-size: 0; gap: 0; }
  .bp-card-body { padding: 0; }
  .bp-sk.is-media { aspect-ratio: 4 / 1; }
  .bp-town-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 2px; scrollbar-width: none; }
  .bp-town-row::-webkit-scrollbar { display: none; }
  .bp-town { flex: none; }
  .bp-steps-row li { padding: 20px; }
  .bp-app { padding: 28px 20px 0; border-radius: 28px; }
  .bp-app-copy { padding-bottom: 8px; }
  .bp-app h2, .bp-biz h2 { font-size: 24px; }
  .bp-app-phones { height: 260px; }
  .bp-phone { width: 116px; }
  .bp-phone img { border-radius: 18px; }
  .bp-faq-item p { padding-right: 4px; }
  .bp-biz { padding: 28px 0 0 20px; border-radius: 28px; gap: 28px; }
  .bp-biz-copy { padding-right: 20px; }
  .bp-biz-shot { height: 220px; }
  .bp-biz-shot img { width: 560px; }
}

/* ── Sheets (pickers, confirmations) ── */
.bp-sheet-wrap {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(29, 22, 49, .38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s;
}
.bp-sheet-wrap.is-in { opacity: 1; }
.bp-sheet-wrap.is-out { opacity: 0; }
.bp-sheet {
  position: relative; width: min(560px, 100%); max-height: min(86vh, 860px); overflow: auto; padding: 24px;
  border-radius: 24px; background: var(--white); box-shadow: var(--shadow-float); outline: none;
  transform: translateY(10px); transition: transform .24s var(--ease);
}
.bp-sheet.is-wide { width: min(760px, 100%); }
.bp-sheet-wrap.is-in .bp-sheet { transform: none; }
.bp-sheet-x { position: absolute; top: 16px; right: 16px; display: inline-flex; padding: 9px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); cursor: pointer; }
.bp-sheet-x:hover { color: var(--ink); }
.bp-picker h2 { margin: 4px 56px 24px 0; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.bp-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bp-picker-grid.is-towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 10px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--white); text-align: left; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.25;
}
.bp-opt.is-plain { padding-left: 16px; }
.bp-opt:hover { border-color: var(--line-2); background: var(--paper); }
.bp-opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bp-opt-ic { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cat, var(--lilac)) 38%, transparent); color: var(--cat, var(--lilac-ink)); }

.bp-confirm h2 { margin: 4px 56px 8px 0; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.bp-confirm p { color: var(--ink-2); }
.bp-confirm p.is-warn { color: var(--warn); margin-top: 8px; }
.bp-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

/* ── Notes, errors, toasts, skeletons ── */
.bp-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); color: var(--ink-2); font-size: 14.5px; }
.bp-note .ic { margin-top: 2px; color: var(--lilac-ink); }
.bp-note.is-error { background: #FDF1EF; color: #7A271A; }
.bp-note.is-error .ic { color: var(--danger); }
.bp-note .bp-textbtn { padding-left: 0; }
.bp-toasts { position: fixed; z-index: 120; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.bp-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-float); animation: bp-in .22s var(--ease); transition: opacity .3s, transform .3s; }
.bp-toast.is-error .ic { color: #FDA29B; }
.bp-toast.is-ok .ic { color: #8CE1BF; }
.bp-toast.is-out { opacity: 0; transform: translateY(8px); }
@keyframes bp-in { from { opacity: 0; transform: translateY(8px); } }
.has-pickbar .bp-toasts, .has-flowbar .bp-toasts { bottom: 104px; }

.bp-skel-list { display: grid; }
.bp-skel-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bp-skel-row i, .bp-skel-row b, .bp-skel-row span, .bp-skel-cover, .bp-skel-title, .bp-skel-line { display: block; border-radius: 12px; background: linear-gradient(90deg, #EFECF6 0%, #F7F5FB 50%, #EFECF6 100%); background-size: 200% 100%; animation: bp-shimmer 1.4s linear infinite; }
.bp-skel-row i { width: 56px; height: 56px; border-radius: 16px; }
.bp-skel-row div { display: grid; gap: 8px; }
.bp-skel-row b { height: 16px; width: 55%; }
.bp-skel-row span { height: 12px; width: 35%; }
.bp-skel-cover { height: clamp(200px, 24vw, 300px); border-radius: 32px; margin: 8px 0 32px; }
.bp-skel-title { height: 32px; width: min(60%, 420px); margin: 0 0 16px; }
.bp-skel-line { height: 16px; width: min(40%, 280px); margin-bottom: 12px; }
@keyframes bp-shimmer { to { background-position: -200% 0; } }

/* ── Inner pages (place, booking steps, my bookings, map, not found) — owner 2026-10-18: the same product as the
   front page. FiraGO only, headings 22–36 px, an 8 px rhythm. Each page opens on a soft panel like the front page's
   hero (a place's panel takes its category tint); lists sit on white cards; the main action is the lilac button. ── */
.bp-panel {
  border: 1px solid rgba(122, 88, 201, .12);
  background:
    radial-gradient(70% 90% at 94% 6%, #E9E0FF 0%, rgba(233, 224, 255, 0) 62%),
    radial-gradient(55% 75% at 0% 100%, #FBE9F3 0%, rgba(251, 233, 243, 0) 60%),
    linear-gradient(160deg, #FFFFFF 0%, #F6F2FF 100%);
}
.bp-box { border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.bp-box > li + li, .bp-box > .bp-person + .bp-person { border-top: 1px solid var(--line); }

.bp-404 { display: grid; justify-items: start; gap: 16px; margin-top: 16px; margin-bottom: 96px; padding: 48px; border-radius: 32px; }
.bp-page-ic { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; background: #fff; color: var(--lilac-ink); box-shadow: 0 10px 24px -14px rgba(61, 38, 120, .5); }
.bp-404 h1 { max-width: 22em; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.bp-404 p { color: var(--ink-2); max-width: 52ch; }
.bp-404 .bp-note { max-width: 560px; background: rgba(255, 255, 255, .85); }
.bp-404 .bp-btn { margin-top: 8px; }

/* ── A place: its panel (name, facts, actions, photos), then services and the rest beside the booking card ── */
.bp-place { padding-bottom: 96px; }
.bp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 8px 0 16px; font-size: 14px; color: var(--ink-2); }
.bp-crumbs a { text-decoration: none; }
.bp-crumbs a:hover { color: var(--lilac-ink); text-decoration: underline; text-underline-offset: 3px; }
.bp-crumbs .ic { color: var(--ink-3); }
.bp-place-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 24px; border-radius: 32px;
  border: 1px solid color-mix(in srgb, var(--cat) 16%, transparent);
  background:
    radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--cat) 12%, white) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(60% 80% at 100% 100%, #EFE8FF 0%, rgba(239, 232, 255, 0) 60%),
    linear-gradient(160deg, #FFFFFF 0%, #F7F4FF 100%);
}
.bp-place-id { min-width: 0; display: grid; justify-items: start; gap: 16px; padding: 16px 0 16px 24px; }
/* The mark: the place's logo; the category icon only on a phone without photos (beside photos or the tile it repeats). */
.bp-place-mark { width: 64px; height: 64px; flex: none; border-radius: 20px; object-fit: cover; background: #fff; box-shadow: 0 10px 24px -14px rgba(29, 22, 49, .45); }
.bp-place-mark.is-tile { display: none; align-items: center; justify-content: center; color: var(--cat); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--cat) 70%, transparent); }
.bp-place-art {
  height: 280px; display: grid; place-items: center; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--cat) 12%, transparent);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--cat) 18%, white) 0%, rgba(255, 255, 255, 0) 62%), color-mix(in srgb, var(--cat) 6%, white);
}
.bp-place-art-ic { width: 88px; height: 88px; display: inline-flex; align-items: center; justify-content: center; border-radius: 28px; background: #fff; color: var(--cat); box-shadow: 0 16px 32px -18px color-mix(in srgb, var(--cat) 70%, transparent); }
.bp-place-title { display: grid; gap: 8px; }
.bp-place-title h1 { max-width: 24em; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
.bp-place-title h1 .bp-check { display: inline-flex; vertical-align: middle; margin-left: .25em; position: relative; top: -.06em; }
.bp-address { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.bp-address .ic { margin-top: 3px; color: var(--ink-3); }
.bp-place-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bp-place-actions .bp-btn.is-line { background: rgba(255, 255, 255, .86); border-color: var(--line); }
.bp-gallery { display: grid; gap: 8px; height: 360px; border-radius: 24px; overflow: hidden; }
.bp-gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.bp-gallery.is-2 { grid-template-columns: 2fr 1fr; }
.bp-gallery.is-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.bp-gallery.is-3 img:first-child { grid-row: 1 / 3; }

.bp-place-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; margin-top: 40px; align-items: start; }
.bp-place-main > .bp-sec { margin-top: 48px; }
.bp-place-main > .bp-sec:first-child { margin-top: 0; }
.bp-place-side { position: sticky; top: 100px; }
.bp-side-card { border: 1px solid var(--line); border-radius: 24px; background: var(--white); overflow: hidden; box-shadow: 0 32px 64px -44px rgba(61, 38, 120, .45); }
.bp-side-card > * + * { border-top: 1px solid var(--line); }
.bp-side-book { display: grid; gap: 16px; padding: 24px; background: radial-gradient(90% 80% at 100% 0%, #F0E9FF 0%, rgba(240, 233, 255, 0) 70%); }
.bp-side-kicker { display: flex; align-items: center; gap: 8px; color: var(--lilac-ink); font-weight: 600; font-size: 14px; }
.bp-side-next { display: grid; gap: 2px; color: var(--ink-3); font-size: 13px; }
.bp-side-next.is-wait { color: var(--ink-3); }
.bp-side-day { color: var(--ink); font-size: 15px; font-weight: 600; }
.bp-side-next b { margin-top: 2px; color: var(--ink); font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bp-side-fine { color: var(--ink-2); font-size: 13px; }
.bp-side-block { padding: 24px; }
.bp-side-block h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.bp-hours li { display: flex; justify-content: space-between; gap: 12px; margin: 0 -10px; padding: 5px 10px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); }
.bp-hours b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-hours li.is-closed b { color: var(--ink-3); font-weight: 400; }
.bp-hours li.is-today { background: #F3EEFD; color: var(--ink); font-weight: 600; }
.bp-hours li.is-today b { font-weight: 600; }
.bp-contacts { display: grid; gap: 10px; font-size: 14.5px; }
.bp-contacts li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.bp-contacts .ic { color: var(--ink-3); margin-top: 3px; }
.bp-contacts a { overflow-wrap: anywhere; text-decoration-color: var(--lilac-2); text-underline-offset: 3px; }
.bp-side-map { margin-top: 16px; }
.bp-side-map:empty { display: none; }
.bp-side-map img { width: 100%; height: auto; aspect-ratio: 56 / 30; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }

/* Services: a card of tick rows (one or several make one visit) */
.bp-svc-index { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; padding: 2px 2px 6px; }
.bp-svc-index::-webkit-scrollbar { display: none; }
.bp-svc-index a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.bp-svc-index a:hover { border-color: var(--lilac-2); color: var(--ink); }
.bp-svc-group { scroll-margin-top: 110px; }
.bp-svc-group + .bp-svc-group { margin-top: 24px; }
.bp-svc-group h3 { margin: 16px 0 8px 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.bp-svcs { overflow: hidden; }
.bp-svc {
  width: 100%; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 20px;
  border: 0; background: none; text-align: left; cursor: pointer; transition: background-color .15s;
}
.bp-svc:hover { background: #FBF9FF; }
.bp-svc:hover .bp-tick { border-color: var(--lilac); }
.bp-svc:focus-visible { outline-offset: -3px; border-radius: 0; }
.bp-tick { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1.5px solid var(--line-2); color: transparent; background: var(--white); transition: background-color .15s, border-color .15s; }
.bp-svc.is-on { background: #F7F3FF; }
.bp-svc.is-on .bp-tick { background: var(--lilac); border-color: var(--lilac); color: #fff; }
.bp-svc-main { display: grid; gap: 4px; min-width: 0; }
.bp-svc-main b { font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.bp-svc-main span { color: var(--ink-2); font-size: 13.5px; }
.bp-svc-price { display: grid; justify-items: end; gap: 2px; font-weight: 600; font-size: 15.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-svc-price small { padding: 1px 8px; border-radius: 999px; background: #F1ECFC; color: var(--lilac-ink); font-size: 12px; font-weight: 600; }

.bp-pickbar { position: fixed; z-index: 70; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(100% - 24px, 780px); animation: bp-in .22s var(--ease); }
.bp-pickbar-in { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 24px; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: var(--shadow-float); }
.bp-pickbar-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bp-pickbar-text b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-pickbar-text span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.bp-pickbar-text span.is-warn { color: #FFD3C9; }
.bp-pickbar .bp-textbtn { color: rgba(255, 255, 255, .78); }
.bp-pickbar .bp-textbtn:hover { color: #fff; }
.bp-pickbar .bp-btn.is-brand:focus-visible { outline-color: #fff; }
body.has-pickbar { padding-bottom: 100px; }

.bp-offline { display: grid; gap: 8px; padding: 24px; border-radius: 24px; border: 1px solid rgba(122, 88, 201, .16); background: #F8F5FE; }
.bp-offline h2 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.bp-offline p { color: var(--ink-2); }
.bp-offline-owner a { color: var(--lilac-ink); font-weight: 600; text-underline-offset: 3px; }

.bp-deals { display: grid; gap: 8px; }
.bp-deals li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.bp-deals li > b { flex: none; min-width: 64px; padding: 8px 10px; border-radius: 12px; background: #F1ECFC; color: var(--lilac-ink); text-align: center; font-size: 15px; font-weight: 700; }
.bp-deals li div { display: grid; gap: 2px; }
.bp-deals li div > span { font-weight: 600; }
.bp-deals small { color: var(--ink-2); font-size: 13px; }

.bp-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.bp-team li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 12px 12px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.bp-team li div { display: grid; gap: 2px; min-width: 0; }
.bp-team b { font-weight: 600; font-size: 15px; line-height: 1.35; }
.bp-team span:not(.bp-ava) { color: var(--ink-2); font-size: 13px; }
.bp-ava {
  width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0;
  background: color-mix(in srgb, var(--c, var(--lilac)) 16%, var(--white)); color: color-mix(in srgb, var(--c, var(--lilac)) 55%, var(--ink));
  font-weight: 700; font-size: 15px; object-fit: cover;
}
.bp-ava.is-any { border: 1.5px dashed var(--lilac-2); background: var(--white); color: var(--lilac-ink); }

.bp-about { max-width: 68ch; color: var(--ink); font-size: 16px; line-height: 1.7; }
.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bp-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); font-size: 13.5px; }
.bp-about + .bp-note, .bp-tags + .bp-note { margin-top: 16px; }

.bp-score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.bp-score b { color: var(--ink); font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.bp-stars { display: inline-flex; gap: 2px; color: var(--line-2); }
.bp-stars .ic.is-on { color: #F5A524; }
.bp-stars .ic svg { fill: currentColor; stroke: none; }
.bp-reviews li { display: grid; gap: 8px; padding: 20px; }
.bp-review-head { display: flex; align-items: center; gap: 12px; }
.bp-review-head time { color: var(--ink-3); font-size: 13px; }
.bp-reviews p { max-width: 68ch; }
.bp-reviews blockquote { margin-top: 4px; padding: 12px 16px; border-radius: 14px; background: #F7F4FD; color: var(--ink-2); font-size: 14.5px; }
.bp-reviews blockquote b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.bp-reviews + .bp-textbtn { margin-top: 12px; }

.bp-branches li { display: flex; align-items: center; padding-right: 16px; }
.bp-branches li .ic { color: var(--ink-3); }
.bp-branches a { flex: 1; display: grid; gap: 2px; padding: 16px 20px; text-decoration: none; }
.bp-branches a:hover b { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-branches b { font-weight: 600; }
.bp-branches span { color: var(--ink-2); font-size: 14px; }

/* ── Booking steps: the place and the steps on a soft panel, one step per screen, the summary beside it ── */
.bp-flow { padding-bottom: 96px; }
.bp-flow-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 8px 0 32px; padding: 16px 24px 16px 16px; border-radius: 24px; }
.bp-flow-place { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.bp-flow-place .bp-thumb { background: #fff; }
.bp-flow-place span { display: grid; line-height: 1.3; min-width: 0; }
.bp-flow-place small { color: var(--ink-2); font-size: 13px; }
.bp-flow-place b { font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-flow-place:hover b { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 3px; }
.bp-steps { display: flex; align-items: center; gap: 4px; }
.bp-steps li { display: flex; align-items: center; color: var(--ink-3); font-size: 14px; }
.bp-steps li + li::before { content: ""; width: 20px; height: 1px; background: var(--line-2); margin: 0 6px; }
.bp-steps li > span, .bp-steps li > button { display: inline-flex; align-items: center; gap: 8px; padding: 4px; border: 0; background: none; color: inherit; font: inherit; border-radius: 999px; }
.bp-steps li > button { cursor: pointer; }
.bp-steps li > button:hover .bp-step-label { color: var(--lilac-ink); }
.bp-step-n { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--white); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-steps li.is-now { color: var(--ink); font-weight: 600; }
.bp-steps li.is-now .bp-step-n { background: var(--lilac); border-color: var(--lilac); color: #fff; }
.bp-steps li.is-past { color: var(--ink-2); }
.bp-steps li.is-past .bp-step-n { background: #F1ECFC; border-color: transparent; color: var(--lilac-ink); }

.bp-flow-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.bp-flow.is-done .bp-flow-cols { grid-template-columns: minmax(0, 1fr); }
.bp-flow.is-done .bp-flow-side, .bp-flow.is-done .bp-steps { display: none; }
.bp-flow-side { position: sticky; top: 100px; }
.bp-step-title { display: grid; gap: 8px; margin-bottom: 24px; }
.bp-step-title h1 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
.bp-step-title p { color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.bp-step-foot { margin-top: 24px; }
.bp-warn { margin-top: 16px; color: var(--warn); font-size: 14.5px; }

.bp-summary { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 32px 64px -44px rgba(61, 38, 120, .45); }
.bp-summary:empty { display: none; }
.bp-sum-place { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bp-sum-place div { display: grid; min-width: 0; line-height: 1.35; }
.bp-sum-place b { font-weight: 600; }
.bp-sum-place span { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-sum { display: grid; gap: 16px; }
.bp-sum-row { display: grid; gap: 4px; }
.bp-sum dt { color: var(--ink-3); font-size: 12.5px; }
.bp-sum dd { font-size: 15px; display: grid; gap: 4px; }
.bp-sum dd.is-faint { color: var(--ink-3); }
.bp-sum dd small { color: var(--ink-2); font-size: 13.5px; }
.bp-sum-svc { display: grid; }
.bp-sum-svc small { color: var(--ink-2); font-size: 13px; }
.bp-sum-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.bp-sum-total span { color: var(--ink-2); font-size: 14px; }
.bp-sum-total b { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bp-sum-total small { grid-column: 1 / -1; justify-self: end; color: var(--ink-3); font-size: 13px; }
.bp-sum-fine { color: var(--ink-2); font-size: 13px; }
.bp-flow-bar { display: none; }

/* who */
.bp-people { overflow: hidden; }
.bp-person-main { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px 8px; border: 0; background: none; text-align: left; cursor: pointer; }
.bp-person-main:hover .bp-person-text b { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-person-main:focus-visible { outline-offset: -3px; border-radius: 0; }
.bp-person-text { display: grid; gap: 2px; min-width: 0; }
.bp-person-text b { font-weight: 600; font-size: 16px; }
.bp-person-text span { color: var(--ink-2); font-size: 13.5px; }
.bp-near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 20px 16px 82px; color: var(--ink-2); font-size: 13.5px; }
.bp-near small { font-size: 13px; color: var(--ink-2); margin-right: 2px; }
.bp-near.is-wait { color: var(--ink-3); }

/* when: the free times are the bold element of the booking */
.bp-when { padding: 24px; border-radius: 24px; }
.bp-days-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bp-month { font-weight: 600; font-size: 17px; }
.bp-daynavs { display: flex; gap: 8px; }
.bp-daynav { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; }
.bp-daynav:hover:not(:disabled) { border-color: var(--lilac); }
.bp-daynav:disabled { opacity: .35; cursor: default; }
.bp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 2px 0 4px; }
.bp-day {
  display: grid; justify-items: center; gap: 2px; padding: 10px 0 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; min-width: 0; transition: border-color .15s, background-color .15s, color .15s;
}
.bp-day:hover:not(:disabled) { border-color: var(--lilac); background: var(--white); }
.bp-day-wd { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.bp-day b { font-size: 20px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.bp-day-bar { width: 26px; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--paper-2); position: relative; overflow: hidden; }
.bp-day-bar::after { content: ""; position: absolute; inset: 0; background: var(--lilac); transform-origin: left; transform: scaleX(var(--fill, 0)); border-radius: 3px; }
.bp-day.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bp-day.is-on .bp-day-wd { color: rgba(255, 255, 255, .72); }
.bp-day.is-on .bp-day-bar { background: rgba(255, 255, 255, .18); }
.bp-day.is-on .bp-day-bar::after { background: var(--lilac-2); }
.bp-day.is-none { background: transparent; color: var(--ink-3); cursor: default; border-style: dashed; }
.bp-day.is-none b { font-weight: 400; }
.bp-day.is-wait { cursor: default; }
.bp-day.is-wait b, .bp-day.is-wait .bp-day-wd { color: var(--ink-3); }
.bp-times { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); min-height: 120px; }
.bp-times-wait { color: var(--ink-3); padding: 16px 0; }
.bp-times-day { font-size: 17px; font-weight: 600; line-height: 1.4; }
.bp-part { margin-top: 16px; }
.bp-part h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.bp-part h3 small { color: var(--ink-3); font-weight: 400; }
.bp-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bp-slot {
  min-height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 4px 10px;
  border-radius: 14px; border: 1.5px solid var(--lilac-2); background: var(--white); color: var(--ink); cursor: pointer;
  font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .12s, background-color .12s, color .12s;
}
.bp-slot:hover { border-color: var(--lilac); background: #FCFBFF; }
.bp-slot small { font-size: 11px; font-weight: 500; color: var(--ink-2); }
.bp-slot small.is-low { color: var(--warn); }
.bp-slot.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bp-slot.is-sm { min-height: 36px; min-width: 66px; font-size: 14.5px; border-radius: 11px; }

/* details */
.bp-review { margin-bottom: 32px; }
.bp-review-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 20px; }
.bp-review-row + .bp-review-row { border-top: 1px solid var(--line); }
.bp-review-row > span { color: var(--ink-2); font-size: 13.5px; }
.bp-review-row > b { font-weight: 600; font-size: 15px; }
.bp-form { display: grid; gap: 20px; max-width: 560px; }
.bp-field { display: grid; gap: 8px; }
.bp-field > span { font-weight: 600; font-size: 14px; }
.bp-field > small { color: var(--ink-2); font-size: 13px; }
.bp-input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bp-input.is-area { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.bp-input:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(122, 88, 201, .14); }
.bp-input::placeholder { color: var(--ink-3); }
/* The phone field (+995 and the number). Not .bp-phone — that is the front page's phone picture. */
.bp-tel { display: flex; align-items: stretch; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.bp-tel:focus-within { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(122, 88, 201, .14); }
.bp-tel > span { display: inline-flex; align-items: center; padding: 0 4px 0 16px; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.bp-tel .bp-input { border: 0; box-shadow: none; background: none; padding-left: 8px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bp-known { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 8px 0 16px; border-radius: 14px; background: var(--paper-2); }
.bp-known b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-form-error { color: var(--danger); font-size: 14.5px; }
.bp-form-error[hidden] { display: none; }
.bp-codearea:empty { display: none; }
.bp-code-box { display: grid; gap: 16px; padding: 24px; border-radius: 24px; }
.bp-code-box > p { display: grid; gap: 4px; }
.bp-code-box > p b { font-size: 16px; font-weight: 600; }
.bp-code-box > p span { color: var(--ink-2); font-size: 14px; }
.bp-code { width: 220px; max-width: 100%; height: 64px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--white); text-align: center; font-size: 30px; font-weight: 600; letter-spacing: .4em; padding-left: .4em; font-variant-numeric: tabular-nums; outline: none; }
.bp-code:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(122, 88, 201, .14); }
.bp-code-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bp-devcode { display: inline-block; padding: 6px 10px; border-radius: 10px; background: #FFF6E5; color: var(--warn); font-size: 13.5px; font-weight: 600; justify-self: start; }
.bp-legal { color: var(--ink-3); font-size: 12.5px; line-height: 1.6; max-width: 60ch; }
.bp-legal a { color: var(--ink-2); text-underline-offset: 2px; }

/* done + the ticket */
.bp-done { max-width: 640px; margin: 0 auto; display: grid; gap: 24px; }
.bp-done-mark { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--lilac); color: #fff; justify-self: center; box-shadow: 0 12px 28px -12px rgba(122, 88, 201, .7); animation: bp-pop .5s var(--ease) both; }
@keyframes bp-pop { from { transform: scale(.6); opacity: 0; } }
.bp-done-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.bp-ticket { border: 1px solid var(--line); border-radius: 28px; background: var(--white); overflow: hidden; box-shadow: 0 32px 64px -44px rgba(61, 38, 120, .45); }
.bp-ticket-top { display: grid; gap: 4px; padding: 28px 32px 24px; border: 0; }
.bp-ticket-title { margin-top: 12px; font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.bp-ticket-day { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.bp-ticket-title + .bp-ticket-day { margin-top: 4px; }
.bp-ticket-clock { display: flex; align-items: baseline; gap: 12px; }
.bp-ticket-clock b { font-size: 40px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bp-ticket-clock span { color: var(--ink-3); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bp-ticket-cut { position: relative; height: 0; margin: 0 28px; border-top: 2px dashed var(--line); }
.bp-ticket-cut::before, .bp-ticket-cut::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.bp-ticket-cut::before { left: -42px; }
.bp-ticket-cut::after { right: -42px; }
.bp-ticket-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px 32px 28px; }
.bp-ticket-facts > div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.bp-ticket-facts dt { color: var(--ink-3); font-size: 12.5px; }
.bp-ticket-facts dd { display: grid; gap: 4px; font-size: 15.5px; font-weight: 600; }
.bp-ticket-facts dd a { text-decoration-color: var(--lilac-2); text-underline-offset: 3px; }
.bp-ticket-facts dd small { color: var(--ink-2); font-size: 13px; font-weight: 400; }
.bp-ticket-svc { display: grid; }
.bp-ticket-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 32px 24px; padding: 12px 16px; border-radius: 14px; background: #FFF8EC; color: var(--warn); font-size: 14px; }
.bp-ticket.is-cancelled .bp-ticket-clock b, .bp-ticket.is-cancelled .bp-ticket-day { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.bp-status { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.bp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bp-status.is-confirmed { border-color: var(--lilac-2); color: var(--lilac-ink); }
.bp-status.is-pending { border-color: #EBCB9B; color: var(--warn); }
.bp-status.is-completed { border-color: #A6DCC6; color: var(--ok); }
.bp-status.is-cancelled, .bp-status.is-no_show { color: var(--ink-3); }
.bp-ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-done .bp-ticket-actions { justify-content: center; }

/* account */
.bp-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; margin-bottom: 16px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.bp-back:hover { color: var(--lilac-ink); }
.bp-signin { max-width: 480px; margin: 0 auto 40px; display: grid; gap: 16px; padding: 32px; border-radius: 28px; }
.bp-signin > .bp-back { justify-self: start; margin-bottom: 0; padding-top: 0; }
.bp-signin h1 { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.bp-signin .bp-form { margin-top: 8px; }
.bp-signin .bp-code { margin-top: 8px; }
.bp-signin > .bp-textbtn { justify-self: start; }
.bp-lead { color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.bp-mine-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 24px 24px 28px; border-radius: 28px; }
.bp-mine-head h1 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.bp-mine-head .bp-lead { margin-top: 4px; font-size: 15px; }
.bp-mine-head .bp-textbtn { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .86); color: var(--ink); }
.bp-mine-head .bp-textbtn:hover { border-color: var(--lilac-2); color: var(--ink); }
.bp-mine .bp-sec { margin-top: 40px; }
.bp-mine .bp-sec-head { margin-bottom: 16px; }
.bp-mine .bp-empty { margin-top: 32px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); }
.bp-narrow > .bp-empty { padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); }
.bp-appts { overflow: hidden; }
.bp-appt { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; text-decoration: none; transition: background-color .15s; }
.bp-appt:hover { background: #FBF9FF; }
.bp-appt:hover .bp-appt-main b { text-decoration: underline; text-decoration-color: var(--lilac-2); text-underline-offset: 4px; }
.bp-appt:focus-visible { outline-offset: -3px; border-radius: 0; }
.bp-appt-date { height: 56px; display: grid; justify-items: center; align-content: center; border-radius: 16px; background: color-mix(in srgb, var(--cat) 12%, var(--white)); }
.bp-appt-date b { font-size: 20px; line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-appt-date small { color: var(--ink-2); font-size: 12px; }
.bp-appt-main { display: grid; gap: 2px; min-width: 0; }
.bp-appt-main b { font-weight: 600; }
.bp-appt-main span { color: var(--ink-2); font-size: 14px; }
.bp-appt-main .bp-appt-when { color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-appts.is-past .bp-appt { opacity: .8; }
.bp-nudge { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 40px; padding: 20px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); }
.bp-nudge img { border-radius: 11px; }
.bp-nudge b { font-weight: 600; }
.bp-nudge p { color: var(--ink-2); font-size: 14px; }
.bp-done .bp-nudge { margin-top: 16px; }
.bp-cancel { margin-top: 32px; display: grid; gap: 8px; justify-items: start; }
.bp-cancel p { color: var(--ink-2); font-size: 14px; max-width: 56ch; }
.bp-narrow > .bp-ticket-actions { margin: 16px 0; }
.bp-narrow > .bp-note { margin-top: 16px; }

/* ── Map ── */
body[data-view="map"] .foot { display: none; }
.bp-map-page { position: relative; height: calc(100dvh - 92px); min-height: 460px; margin: 0 12px 12px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
/* Mapbox sets .mapboxgl-map { position: relative } on the container, so its size must not depend on inset. */
.bp-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.bp-map-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 2; }
/* A scroller: the right edge fades so a chip cut there reads as „more this way“. */
.bp-map-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 40px 2px 2px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.bp-map-chips::-webkit-scrollbar { display: none; }
.bp-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 6px 20px -12px rgba(29, 22, 49, .4); }
.bp-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); }
.bp-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bp-round { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; box-shadow: 0 6px 20px -12px rgba(29, 22, 49, .4); }
.bp-round.is-sm { width: 34px; height: 34px; box-shadow: none; }
.bp-map-count { position: absolute; z-index: 2; top: 66px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.bp-map-card { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 16px; margin: 0 auto; max-width: 600px; }
.bp-map-card-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 12px 0 16px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-float); }
.bp-map-card-in.is-wait { padding: 24px; display: block; color: var(--ink-3); }
.bp-map-card .bp-rows { border: 0; }
.bp-map-card .bp-row { border: 0; }
.bp-me { width: 16px; height: 16px; border-radius: 50%; background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37, 99, 235, .2); }
.bp-map-page + .bp-404, .bp-404.is-map { margin-top: 16px; }

/* ── Footer ── */
.foot { margin-top: 24px; background: var(--paper-2); padding: 0 0 36px; }
.foot .wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.foot .disclaimer { padding: 28px 0; color: var(--ink-2); font-size: 14.5px; max-width: 70ch; }
.foot .disclaimer strong { color: var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.foot-brand img { border-radius: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot-links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-copy { color: var(--ink-2); font-size: 14px; }

/* ── Phones and tablets ── */
@media (max-width: 1080px) {
  .bp-place-cols, .bp-flow-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bp-place-side, .bp-flow-side { position: static; }
  .bp-flow-side { display: none; }
  .bp-place-hero { gap: 24px; }
  .bp-place-id { padding-left: 8px; }
  .bp-gallery { height: 300px; }
  .bp-step-foot { display: none; }
  body.has-flowbar { padding-bottom: 96px; }
  .bp-flow-bar { display: block; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .bp-flow-bar[hidden] { display: none; }
  .bp-flow-bar-in { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; }
  .bp-flow-bar-text { flex: 1; min-width: 0; display: grid; }
  .bp-flow-bar-text b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bp-flow-bar-text span { color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
}
@media (max-width: 760px) {
  .bp-404 { padding: 32px 20px; border-radius: 28px; margin-bottom: 64px; }
  .bp-404 h1 { font-size: 24px; }
  .bp-place-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 8px 8px 20px; border-radius: 28px; }
  .bp-place-hero.is-plain { padding: 24px 16px; }
  .bp-place-hero .bp-gallery { order: -1; height: 220px; border-radius: 22px; }
  .bp-place-art { display: none; }
  .bp-place-id { padding: 0 8px; gap: 12px; }
  .bp-place-hero.is-plain .bp-place-id { padding: 0; }
  .bp-place-mark { width: 56px; height: 56px; border-radius: 18px; }
  .bp-place-hero.is-plain .bp-place-mark.is-tile { display: inline-flex; }
  .bp-svc-index { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .bp-place-title h1 { font-size: 26px; }
  .bp-place-actions { justify-self: stretch; }
  .bp-place-actions .bp-btn.is-lg { flex: 1 1 100%; }
  .bp-place-actions .bp-btn.is-line:not(.is-icon) { flex: 1 1 0; padding: 0 12px; }
  .bp-place-cols { margin-top: 32px; }
  .bp-place-main > .bp-sec { margin-top: 40px; }
  .bp-place-main > .bp-sec:first-child { margin-top: 0; }
  .bp-gallery.is-3 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .bp-gallery.is-3 img:not(:first-child), .bp-gallery.is-2 img:not(:first-child) { display: none; }
  .bp-gallery.is-2 { grid-template-columns: 1fr; }
  .bp-svc { padding: 16px; gap: 12px; }
  .bp-team { grid-template-columns: minmax(0, 1fr); }
  .bp-score b { font-size: 36px; }
  .bp-reviews li { padding: 16px; }
  .bp-branches a { padding: 16px; }
  .bp-steps .bp-step-label { display: none; }
  .bp-steps li.is-now .bp-step-label { display: inline; padding-right: 4px; }
  .bp-steps li + li::before { width: 12px; margin: 0 2px; }
  .bp-flow-head { gap: 12px; margin-bottom: 24px; padding: 12px; border-radius: 20px; }
  .bp-step-title h1 { font-size: 24px; }
  .bp-step-title { margin-bottom: 20px; }
  .bp-when { padding: 16px 12px; border-radius: 20px; }
  .bp-days-head { padding: 0 4px; }
  .bp-times { padding: 20px 4px 0; }
  .bp-person-main { padding: 16px 16px 8px; }
  .bp-near { padding: 0 16px 16px; }
  .bp-sec-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .bp-sec-head.is-results { flex-direction: row; align-items: flex-end; }
  .bp-row-link { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .bp-row-link > .bp-online, .bp-row-link > .bp-row-chev { grid-column: 2; justify-self: start; margin-top: -4px; }
  .bp-row-link > .bp-row-chev { display: none; }
  .bp-thumb { width: 60px; height: 60px; border-radius: 12px; }
  .bp-picker-grid, .bp-picker-grid.is-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-sheet-wrap { align-items: flex-end; padding: 0; }
  .bp-sheet, .bp-sheet.is-wide { width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); transform: translateY(24px); }
  .bp-picker h2 { font-size: 20px; }
  .bp-review-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 16px; }
  .bp-review-row > span { grid-column: 1 / -1; }
  .bp-review-row > b { grid-column: 1; }
  .bp-code-box { padding: 20px 16px; border-radius: 20px; }
  .bp-ticket { border-radius: 24px; }
  .bp-ticket-top { padding: 24px 20px 20px; }
  .bp-ticket-title { font-size: 24px; }
  .bp-ticket-clock b { font-size: 36px; }
  .bp-ticket-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .bp-ticket-cut { margin: 0 18px; }
  .bp-ticket-cut::before { left: -32px; }
  .bp-ticket-cut::after { right: -32px; }
  .bp-ticket-note { margin: 0 20px 20px; }
  .bp-ticket-actions .bp-btn { flex: 1 1 auto; }
  .bp-nudge { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; }
  .bp-nudge .bp-btn { grid-column: 1 / -1; justify-self: start; }
  .bp-map-page { margin: 0; border-radius: 0; border: 0; height: calc(100dvh - 80px); }
  .bp-signin { padding: 24px 20px; border-radius: 24px; }
  .bp-signin h1 { font-size: 24px; }
  .bp-mine-head { flex-wrap: wrap; padding: 20px; border-radius: 24px; }
  .bp-mine .bp-empty, .bp-narrow > .bp-empty { padding: 24px 20px; }
  .bp-appt { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; padding: 16px; }
  .bp-appt > .bp-status { grid-column: 2; justify-self: start; }
  .bp-appt-date { grid-row: span 2; align-self: start; }
  .bp-pickbar-in { padding-left: 16px; gap: 10px; }
  .bp-pickbar .bp-textbtn { display: none; }
  .foot-links { margin-left: 0; }
}
@media (max-width: 420px) {
  .bp-picker-grid.is-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-days { gap: 4px; }
  .bp-day { padding: 8px 0 10px; border-radius: 13px; }
  .bp-day b { font-size: 18px; }
  .bp-day-wd { font-size: 11.5px; }
  .bp-day-bar { width: 18px; }
}

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