/* Публічна сторінка майстрині, запис і «мій запис». Поверх site.css.
   Телефон — головний: клієнтки приходять з Instagram. Від 960px — дві колонки. */
body.mp { background: var(--soft); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.mp .btn:disabled { opacity: .4; cursor: default; transform: none; }
.mp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Верхня смуга */
.mp-bar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mp-bar-in { display: flex; align-items: center; gap: 12px; height: 56px; }
.mp-bar .logo { font-size: 19px; color: var(--ink); }
.mp-bar-name { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.mp-bar.scrolled .mp-bar-name { opacity: 1; }
.rbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--soft); color: var(--ink); cursor: pointer; flex: none; }
.rbtn:hover { background: #eceef1; }
.rbtn svg, .cbtn svg, .mp-i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Шапка: обкладинка, фото, імʼя */
.mp-cover { height: 260px; background: #f1ddd8 center 35% / cover no-repeat; }
.mp-head { position: relative; padding: 0 0 20px; background: #fff; }
.mp-head-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mp-ava { width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; border: 5px solid #fff; overflow: hidden; background: #e9d5cf; box-shadow: 0 6px 20px rgba(18,20,23,.12); }
.mp-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-head h1 { margin-top: 12px; font-size: clamp(26px, 6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.mp-meta { margin-top: 4px; color: var(--muted); }
.mp-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--soft); font-size: 14px; font-weight: 600; }
.badge-rate { background: #fff6e5; color: #9a6200; }
.badge-free { background: var(--mint); color: var(--accent-d); }
.badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp-head .cta-row { justify-content: center; margin-top: 18px; }

/* Вкладки-якорі */
.mp-tabs { position: sticky; top: 56px; z-index: 25; background: #fff; border-bottom: 1px solid var(--line); }
.mp-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mp-tabs-in::-webkit-scrollbar { display: none; }
.mp-tabs a { flex: none; padding: 14px 12px; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.mp-tabs a.on { color: var(--ink); border-color: var(--ink); }

/* Колонки */
.mp-grid { display: grid; gap: 16px; padding-top: 16px; padding-bottom: 110px; }
.mp-grid > *, .bk-main > * { min-width: 0; }
.mp-sec { background: #fff; border-radius: var(--r-lg); padding: 20px 16px; scroll-margin-top: 120px; }
.mp-sec > h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.mp-sec-sub { color: var(--muted); font-size: 15px; }

/* Послуги */
.svc-chips { display: flex; gap: 8px; margin: 14px 0 4px; overflow-x: auto; scrollbar-width: none; }
.svc-chips::-webkit-scrollbar { display: none; }
.svc-chips button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--soft); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.svc-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.svc-cat { margin: 18px 0 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.svc { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc-b { flex: 1; min-width: 0; }
.svc-b b { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.svc-b p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.svc-b small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.svc-top { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--mint); color: var(--accent-d); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.svc-p { text-align: right; flex: none; }
.svc-p b { display: block; font-size: 16px; white-space: nowrap; }
.svc-p .btn { margin-top: 6px; }

/* Роботи */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.works button { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--soft); }
.works img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.works button:hover img { transform: scale(1.05); }
.works span { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; }
.lb { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 16px; background: rgba(12,13,15,.92); }
.lb.open { display: grid; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: 14px; }
.lb p { margin-top: 12px; color: #fff; text-align: center; }
.lb-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }

/* Відгуки */
.rv-sum { display: flex; gap: 20px; align-items: center; margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--soft); }
.rv-big { text-align: center; flex: none; }
.rv-big b { display: block; font-size: 40px; font-weight: 800; line-height: 1; }
.rv-big span { font-size: 13px; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 15px; }
.rv-bars { flex: 1; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.rv-bars div { display: grid; grid-template-columns: 12px 1fr 28px; gap: 8px; align-items: center; }
.rv-bars i { height: 6px; border-radius: 3px; background: #e6e8ec; overflow: hidden; }
.rv-bars i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--star); }
.rv { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rv:last-of-type { border-bottom: 0; }
.rv-hd { display: flex; align-items: center; gap: 10px; }
.rv-ava { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #efe3df; font-size: 13px; font-weight: 700; flex: none; }
.rv-hd b { display: block; font-size: 15px; }
.rv-hd small { color: var(--muted); font-size: 13px; }
.rv-hd .stars { margin-left: auto; font-size: 13px; }
.rv p { margin-top: 8px; font-size: 15px; }
.rv-ok { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; color: var(--accent-d); font-weight: 600; }
.rv-reply { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.rv-reply b { display: block; font-size: 13px; margin-bottom: 2px; }

/* Про мене */
.about p { margin-top: 10px; font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.facts div { padding: 12px; border-radius: 12px; background: var(--soft); text-align: center; }
.facts b { display: block; font-size: 20px; font-weight: 800; }
.facts span { font-size: 13px; color: var(--muted); }

/* Контакти й години */
.map { position: relative; height: 180px; margin-top: 14px; border-radius: var(--r); overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%) 0 0 / 140px 100%,
    linear-gradient(0deg, transparent 45%, #fff 45% 55%, transparent 55%) 0 0 / 100% 90px,
    linear-gradient(135deg, transparent 49%, #f6f1e7 49% 51%, transparent 51%) 0 0 / 220px 220px,
    #e9ede8; }
.map::before { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 26px; background: #cfe3ef; transform: rotate(-4deg); }
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--accent); box-shadow: 0 8px 20px rgba(16,179,156,.4); }
.map-pin::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.map a { position: absolute; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.addr { margin-top: 14px; }
.addr b { display: block; font-size: 16px; }
.addr span { color: var(--muted); font-size: 15px; }
.hours { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.now td { font-weight: 700; }
.hours tr.now td:first-child::after { content: " · сьогодні"; font-weight: 500; color: var(--accent-d); }
.hours .off { color: var(--muted); }
.cbtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.cbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 12px; background: var(--soft); font-size: 13px; font-weight: 600; }
.cbtn:hover { background: #eceef1; }

/* Правий стовпчик (десктоп) */
.mp-aside { display: none; }
.aside-card { background: #fff; border-radius: var(--r-lg); padding: 20px; }
.aside-card + .aside-card { margin-top: 12px; }
.aside-card h3 { font-size: 18px; }
.aside-free { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }
.aside-free b { color: var(--accent-d); }
.aside-row { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; }
.mp-i { color: var(--muted); flex: none; padding-top: 2px; }

/* Липка кнопка запису (телефон) */
.mp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,20,23,.06); }
.mp-cta-in { display: flex; align-items: center; gap: 12px; max-width: 1080px; margin: 0 auto; }
.mp-cta-t { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.mp-cta-t b { display: block; color: var(--ink); font-size: 15px; }
.mp-cta .btn { flex: none; min-width: 150px; }

.mp-ft { padding: 28px 16px 120px; text-align: center; font-size: 14px; color: var(--muted); }
.mp-ft a { color: var(--accent-d); font-weight: 600; }
.mp-ft .logo { font-size: 17px; color: var(--ink); }

/* ── Запис ── */
.bk-main { max-width: 1080px; margin: 0 auto; padding: 16px 16px 130px; display: grid; gap: 16px; }
.bk-steps { display: flex; gap: 6px; margin: 2px 0 14px; }
.bk-steps i { flex: 1; height: 4px; border-radius: 2px; background: #e1e4e8; }
.bk-steps i.on { background: var(--accent); }
.bk-step[hidden] { display: none; }
.bk-step > h1 { font-size: clamp(24px, 5vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.bk-step > .mp-sec-sub { margin-top: 4px; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pick:last-child { border-bottom: 0; }
.pick-c { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 2px #c6cad1; flex: none; transition: background .15s, box-shadow .15s; }
.pick[aria-pressed="true"] .pick-c { background: var(--accent); box-shadow: none; }
.pick[aria-pressed="true"] .pick-c::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
.bk-mon { margin-top: 14px; font-weight: 700; font-size: 15px; }
.bk-mon + .bk-days { margin-top: 8px; }
.bk-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px 4px; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 10px 0; border: 0; border-radius: 14px; background: var(--soft); font: inherit; cursor: pointer; color: var(--muted); }
.bk-day small { font-size: 12px; }
.bk-day b { font-size: 20px; color: var(--ink); }
.bk-day i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent-d); min-height: 14px; }
.bk-day:disabled { opacity: .45; cursor: default; }
.bk-day:disabled i { color: var(--muted); }
.bk-day[aria-pressed="true"] { background: var(--ink); color: rgba(255,255,255,.7); }
.bk-day[aria-pressed="true"] b, .bk-day[aria-pressed="true"] i { color: #fff; }
.slot-g { margin-top: 18px; }
.slot-g h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 46px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.slot[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.no-slots { margin-top: 18px; padding: 20px; border-radius: var(--r); background: var(--soft); text-align: center; color: var(--muted); }
.bk-f { display: grid; gap: 6px; margin-top: 14px; }
.bk-f > span { font-size: 14px; font-weight: 600; }
.bk-inp { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 17px; outline: 0; }
.bk-inp:focus { box-shadow: inset 0 0 0 2px var(--accent); }
textarea.bk-inp { height: 88px; padding: 12px 14px; resize: vertical; font-size: 16px; }
.bk-phone { display: flex; align-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.bk-phone:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.bk-phone b { padding-left: 14px; }
.bk-phone input { box-shadow: none !important; background: transparent; }
.bk-err { color: #c2392c; font-size: 14px; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 15px; cursor: pointer; }
.bk-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex: none; }
.bk-fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.bk-fine a { color: var(--accent-d); font-weight: 600; }
.prepay { margin-top: 14px; padding: 16px; border-radius: var(--r); background: #fff8e8; }
.prepay b { font-size: 22px; }
.pay-opts { display: grid; gap: 8px; margin-top: 14px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.pay-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); }
.card-num { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; font: 700 17px Onest, sans-serif; letter-spacing: .04em; }
.card-num button { margin-left: auto; }

/* Підсумок (десктоп — праворуч, телефон — смуга знизу) */
.sum-card { display: none; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.sum-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sum-row > span:last-child { text-align: right; }
.sum-row i { font-style: normal; color: var(--muted); }
.sum-total { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-weight: 800; font-size: 17px; }
.bk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,20,23,.06); }
.bk-bar-in { display: flex; align-items: center; gap: 12px; max-width: 1080px; margin: 0 auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bk-bar-t { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.bk-bar-t b { display: block; color: var(--ink); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-bar .btn { flex: none; min-width: 140px; }
.bk-bar .btn:disabled { opacity: .4; cursor: default; transform: none; }
.bk-back { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; flex: none; }

/* Готово / мій запис */
.done-top { text-align: center; padding: 8px 0 4px; }
.done-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--mint); color: var(--accent-d); }
.done-ic.wait { background: #fff4dc; color: #a86a00; }
.done-ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done-top h1 { margin-top: 14px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.done-top p { margin-top: 6px; color: var(--muted); }
.tk { margin-top: 18px; }
.tk .kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tk .kv:last-child { border-bottom: 0; }
.tk .kv i { font-style: normal; color: var(--muted); flex: none; }
.tk .kv b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.tk-m { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tk-m img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tk-m b { display: block; font-size: 17px; }
.tk-m span { color: var(--muted); font-size: 14px; }
.tk-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.tk-act { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border: 0; border-radius: 12px; background: var(--soft); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: center; }
.tk-act:hover { background: #eceef1; }
.tk-act svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-act.danger { color: #c2392c; }
.tg { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: #e8f3fc; color: #0f5d96; }
.tg b { display: block; color: #0b3f66; }
.tg span { font-size: 14px; }
.tg .btn { margin-left: auto; background: #229ed9; color: #fff; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { background: var(--mint); color: var(--accent-d); }
.st-wait { background: #fff4dc; color: #a86a00; }
.st-no { background: #fdeceb; color: #c2392c; }
.st-done { background: #eef0f3; color: var(--muted); }
.rate-in { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.rate-in button { border: 0; background: none; font-size: 38px; line-height: 1; color: #d5d9df; cursor: pointer; padding: 0 2px; }
.rate-in button.on { color: var(--star); }
.toast-m { position: fixed; z-index: 90; left: 50%; bottom: 100px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.toast-m.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 960px) {
  .mp-cover { height: 380px; border-radius: 0 0 var(--r-lg) var(--r-lg); max-width: 1080px; margin: 0 auto; }
  .mp-head { background: transparent; }
  .mp-head-in { flex-direction: row; align-items: flex-end; gap: 22px; text-align: left; }
  .mp-ava { width: 190px; height: 190px; margin-top: -95px; flex: none; }
  .mp-head-t { flex: 1; padding-bottom: 6px; }
  .mp-badges { justify-content: flex-start; }
  .mp-head .cta-row { margin-top: 0; padding-bottom: 6px; }
  .mp-tabs { background: rgba(246,247,249,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .mp-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-bottom: 40px; }
  .mp-sec { padding: 24px 28px; }
  .mp-aside { display: block; position: sticky; top: 124px; }
  .mp-cta { display: none; }
  .mp-ft { padding-bottom: 40px; }
  .bk-main { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-bottom: 40px; }
  .bk-main > .mp-sec { padding: 28px; }
  .sum-card { display: block; position: sticky; top: 72px; }
  .bk-bar { position: static; display: none; }
  .sum-card .btn { width: 100%; margin-top: 14px; }
  .sum-card .btn:disabled { opacity: .4; cursor: default; transform: none; }
  .bk-days { margin: 14px 0 0; padding: 0 0 4px; }
  .slots { grid-template-columns: repeat(6, 1fr); }
  .hide-desk { display: none !important; }
}
@media (max-width: 959px) { .hide-mob { display: none !important; } }
@media (max-width: 370px) {
  .slots { grid-template-columns: repeat(3, 1fr); }
  .mp-cta .btn, .bk-bar .btn { min-width: 0; }
}

/* ── Студія, запис через студію, рекомендація колег ── */
.studio-logo { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.who { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin-bottom: 8px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.who:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.who.on { box-shadow: inset 0 0 0 2px var(--accent); background: #f6fdfb; }
.who-ava { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; font-weight: 700; font-size: 15px; color: var(--ink); background: #e9d5cf; }
.who-ava.any { background: var(--mint); color: var(--accent-d); font-size: 18px; }
.who .svc-p small { display: block; font-size: 13px; }
.race { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--r); background: #fdf3f2; color: #8f2a20; font-size: 15px; }
.race b { color: #c2392c; }
.via { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--mint); font-size: 14px; }
.via .who-ava { width: 32px; height: 32px; font-size: 12px; }
.via span { flex: 1; min-width: 0; }
.via .link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent-d); cursor: pointer; }
.bk-day i.rec-i { color: #a86a00; }
.rec { margin-top: 18px; }
.rec-t { padding: 14px 16px; border-radius: var(--r); background: var(--soft); }
.rec-h { margin: 18px 0 10px; font-weight: 700; }
.rec-m { padding: 14px; margin-bottom: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.rec-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rec-hd .svc-p small { display: block; font-size: 13px; }
.rec-hd .up { color: #a86a00; }
.rec-hd .down { color: var(--accent-d); }
.rec-n { margin: -2px 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff8e8; color: #6b4a00; font-size: 14px; }
.tk-m .who-ava { width: 52px; height: 52px; font-size: 17px; }
.pick:disabled { opacity: .35; cursor: default; }
.st-badge { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 4px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.st-badge .studio-logo { width: 28px; height: 28px; border-radius: 50%; font-size: 11px; background: #fff; color: var(--ink); }
.st-badge:hover { background: var(--ink-2); }

/* ── Laravel: публічні сторінки (виконавець D) — стилі, що в макеті були в <style> сторінок ── */
.svc-chips a { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 99px; background: var(--soft); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.svc-chips a[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mcards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.mcard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.mcard .who-ava { width: 56px; height: 56px; font-size: 18px; }
.mcard .svc-b small { display: block; }
.mcard-act { display: flex; flex-direction: column; gap: 6px; flex: none; }
.svc-ms { display: flex; margin-top: 6px; }
.svc-ms .who-ava { width: 24px; height: 24px; font-size: 10px; margin-right: -6px; box-shadow: 0 0 0 2px #fff; }
.rv-to { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.rv-to a { color: var(--accent-d); font-weight: 600; }
@media (min-width: 640px) { .mcards { grid-template-columns: 1fr 1fr; } }
.link-c { display: block; margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.link-c:hover { color: var(--ink); }
.link-c:disabled { cursor: default; color: var(--accent-d); }
.fm { max-width: 560px; margin: 0 auto; padding: 40px 16px 60px; text-align: center; }
.fm-ava { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #eee; color: var(--muted); font-size: 30px; font-weight: 800; filter: grayscale(1); }
.fm h1 { margin-top: 16px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.fm p { margin-top: 8px; color: var(--muted); }
.fm .who { text-align: left; }
img.studio-logo { object-fit: cover; padding: 0; }
.bk-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.proposal { margin-top: 16px; padding: 16px; border-radius: var(--r); background: #fff8e8; color: #6b4a00; }
.proposal b { color: #4d3500; }
.late-c { margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); text-align: center; }
.late-c .cbtns { justify-content: center; }

/* Передоплата (§30): текст майстрині, як оплатити — після запису і в «Моєму записі» */
.pre-n { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #fff8e8; color: #6b4a00; font-size: 15px; }
.pre-n b { display: block; color: #a86a00; }
.pre-n p { margin-top: 4px; white-space: pre-line; overflow-wrap: anywhere; }

/* Віджет Instagram на сторінці майстрині */
.ig-sec { position: relative; overflow: hidden; }
.ig-sec::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.ig-head { display: flex; align-items: center; gap: 12px; }
.ig-logo { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ig-logo svg { width: 26px; height: 26px; }
.ig-who { flex: 1; min-width: 0; display: grid; }
.ig-who b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ig-who a { color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-follow { flex: none; }
.ig-posts { margin-top: 16px; }
.ig-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
.ig-carousel .ig-post { flex: 0 0 min(326px, 86%); scroll-snap-align: start; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ig-post .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border-radius: 14px !important; border: 1px solid var(--line) !important; box-shadow: none !important; background: #fff; }
.ig-ph { display: grid; place-items: center; min-height: 360px; border-radius: 14px; background: linear-gradient(135deg, #fdf2f8, #eef2ff); color: var(--muted); font-weight: 600; }
.ig-more { display: inline-block; margin-top: 12px; font-weight: 700; color: #d6249f; }
@media (max-width: 420px) { .ig-follow { padding: 0 12px; } .ig-who b { font-size: 16px; } }

/* Роботи: великі картки стрічкою — гортаються пальцем; на компʼютері — стрілки */
.works-wrap { position: relative; }
.works { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 0 16px 8px; scrollbar-width: none; grid-template-columns: none; }
.works::-webkit-scrollbar { display: none; }
.works button { flex: 0 0 76%; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 16px; }
.works span { left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 8px; font-size: 13px; }
.works-nav { display: none; position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 4px 16px rgba(18,20,23,.18); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.works-nav.prev { left: -6px; } .works-nav.next { right: -6px; }
@media (min-width: 700px) {
  .works { margin: 14px 0 0; padding: 0 0 8px; }
  .works button { flex-basis: calc((100% - 20px) / 3); }
  .works-nav { display: grid; place-items: center; }
}
/* перегляд на весь екран */
.lb-in { display: grid; justify-items: center; max-width: 100%; }
.lb-n { margin-top: 6px; color: rgba(255,255,255,.7); font-size: 14px; }
.lb-nav { position: absolute; top: calc(50% - 26px); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; cursor: pointer; z-index: 1; }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb.single .lb-nav { display: none; }
@media (max-width: 600px) { .lb-nav { display: none; } }

/* Студія: фото інтерʼєру — ширші картки 4:3 */
.works-place button { flex-basis: 88%; aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .works-place button { flex-basis: calc((100% - 10px) / 2); } }

/* підпис під імʼям: хто — одним рядком, де — наступним */
.mp-meta span { display: block; }

/* тексти, які вписують майстрині й клієнтки, — з їхніми переносами рядків */
.svc-b p, .rv > p, .addr span, .aside-row .muted { white-space: pre-line; }

/* Нагадування після запису: Telegram-бот або нік Instagram (remind.js) */
.rmd { margin-top: 14px; padding: 16px; border-radius: var(--r); background: #e8f3fc; }
.done-top + .rmd { margin: 0 0 14px; }
.rmd-top { display: flex; gap: 12px; align-items: flex-start; }
.rmd-top b { display: block; color: #0b3f66; font-size: 16px; }
.rmd-top span span { font-size: 14px; color: #0f5d96; }
.rmd-ic { font-size: 22px; line-height: 1.2; }
.rmd-tg { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; background: #229ed9; color: #fff; }
.rmd-tg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.rmd-hint { margin-top: 8px; font-size: 13px; color: #0f5d96; text-align: center; }
.rmd-or { margin: 14px 0 8px; font-size: 14px; color: #0f5d96; }
.rmd-ig { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.rmd-ig .bk-inp { height: 46px; background: #fff; }
.rmd-ig .btn { height: 46px; }
.rmd-ok { margin-top: 10px; font-size: 14px; font-weight: 600; color: #0d7a5f; }
.rmd-ok.err { color: #c2392c; }
.rmd [hidden], .rmd[hidden] { display: none !important; }

/* Передоплата: сума й кнопка «Оплатити» на посилання майстрині */
.pre-n [hidden] { display: none !important; }
.pre-pay { display: flex; justify-content: center; width: 100%; margin-top: 10px; background: #f0a400; color: #fff; }
.pre-pay:hover { background: #d99400; }
.pre-hint { font-size: 13px; opacity: .85; }
