/* Площадка WETOP Booking, макет B (владелец 11.11.2026): вид приложения как у beauty.wetop.ai, мята WETOP и стекло.
   Значения как у витрины салона (apps/showcase/beauty/style.css), шрифт не жирнее 700. */
:root {
  --bg: #e6eef8;
  --bg-deep: #d6e5f4;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.85);
  --border: rgba(151, 180, 212, 0.34);
  --text: #101827;
  --text-2: #4c5a6f;
  --muted: #53627a;
  --primary: #08736d;
  --primary-hover: #06554f;
  --primary-soft: #e6fbf8;
  --star: #8a5a14;
  --danger: #b42336;
  --shadow: 0 1px 2px rgba(26, 55, 96, 0.05), 0 18px 40px -20px rgba(26, 55, 96, 0.28);
  --r: 16px;
  --r-lg: 24px;
  --bar-h: 60px;
  --font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg) radial-gradient(120% 60% at 50% 0%, #f4f8fd 0%, var(--bg) 60%, var(--bg-deep) 100%) fixed;
  color: var(--text);
  font: 16px/1.5 var(--font);
}
h1, h2 { font-family: var(--font-head); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--primary); }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); font-size: 14px; }

.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0;
  max-width: 480px; margin: 0 auto;
  background: rgba(230, 238, 248, 0.86);
  backdrop-filter: blur(22px);
}
.back { flex: none; width: 44px; height: 44px; margin-inline-start: -8px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.logo span { color: var(--primary); }
.bar__title { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app { max-width: 480px; margin: 0 auto; padding: 8px 16px 40px; }
.screen { animation: slide-in 0.22s ease-out; }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }
h1 { font-size: 26px; line-height: 1.2; margin: 8px 0 6px; }
.lead { color: var(--text-2); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass-strong);
  color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--primary); border-color: var(--primary); color: #fff; }
.label { margin: 22px 0 10px; font-weight: 600; font-size: 15px; }
.empty, .error { margin-top: 18px; color: var(--muted); }
.error { color: var(--danger); }

.tiles { display: grid; gap: 12px; }
.tile {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 12px;
  border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: var(--glass); box-shadow: var(--shadow);
  color: var(--text); text-align: start; cursor: pointer;
}
.tile:disabled { cursor: default; opacity: 0.6; }
.tile:not(:disabled):hover { background: var(--glass-strong); }
.tile__text { display: grid; gap: 2px; }
.tile__text b { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.tile__text span { color: var(--muted); font-size: 14px; }
.tag { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.tag--soon { color: var(--muted); background: rgba(151, 180, 212, 0.18); }

.ph { display: grid; place-items: center; overflow: hidden; border-radius: 14px; font-size: 34px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--home { background: linear-gradient(135deg, #b9d8f0, #6fa9d6); }
.ph--food { background: linear-gradient(135deg, #f6d6b0, #d9905a); }
.ph--beauty { background: linear-gradient(135deg, #f3cfe0, #c77aa3); }
.tile__ph { width: 64px; height: 64px; font-size: 28px; }

.near { display: grid; gap: 10px; }
.mini {
  display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--text); text-decoration: none;
}
.mini__ph { width: 56px; height: 56px; font-size: 24px; }
.mini__text { display: grid; gap: 2px; min-width: 0; }
.mini b { font-size: 14px; line-height: 1.3; }
.rating { color: var(--star); font-weight: 600; font-size: 14px; white-space: nowrap; }
.rating--new { color: var(--primary); }

.list { display: grid; gap: 10px; }
.item {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
}
.item__ph { height: 96px; }
.item__body { display: grid; gap: 4px; min-width: 0; }
.item__line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.item h2 { font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; padding: 0 16px;
  border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; text-decoration: none;
}
.btn:hover { background: var(--primary-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Вариант A (владелец 11.11.2026): по шагу на экран, как приложение */
.hero { font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 8px; }
.hero span { color: var(--primary); }
.perks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.perks li { font-size: 13px; padding: 6px 10px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--border); white-space: nowrap; }
.note { margin-top: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.steps { display: flex; gap: 5px; margin-inline-start: auto; }
.steps i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.steps i.on { background: var(--primary); }
.screen.back-in { animation-name: slide-back; }
@keyframes slide-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
a.item { color: var(--text); text-decoration: none; }
.btn--sm { justify-self: start; min-height: 40px; }
.btn--wide { width: 100%; min-height: 52px; border: 0; font-size: 17px; cursor: pointer; }
.btn--wide:disabled { opacity: 0.5; cursor: default; }
.btn--ghost { background: var(--primary-soft); color: var(--primary); }
.btn--ghost:hover { background: var(--glass-strong); }
.stack { display: grid; gap: 10px; }

.venue { display: grid; gap: 10px; margin-bottom: 6px; }
.venue__ph { height: 168px; border-radius: var(--r-lg); font-size: 48px; }
.venue__body { display: grid; gap: 4px; }
.venue__name { font-size: 22px; }
.svc-list { display: grid; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); overflow: hidden; }
.svc {
  display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 10px; width: 100%; min-height: 60px;
  padding: 10px 14px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); text-align: start; cursor: pointer;
}
.svc:last-child { border-bottom: 0; }
.svc:hover { background: var(--glass-strong); }
.svc__text { display: grid; gap: 2px; min-width: 0; }
.svc__text b { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.price { font-weight: 700; white-space: nowrap; }
.plus { color: var(--primary); font-size: 22px; }

.sum { font-size: 14px; color: var(--text-2); background: var(--glass-strong); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; }
.mc {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 12px;
  border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
}
.mc__body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.mc__body b { font-family: var(--font-head); font-weight: 700; overflow-wrap: anywhere; }
.av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #f3cfe0, #c77aa3); color: #3a1630; font-family: var(--font-head); font-weight: 700; }
.av--any { background: var(--primary-soft); color: var(--primary); font-size: 20px; }
.av--big { width: 68px; height: 68px; font-size: 22px; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--primary); color: #fff; white-space: nowrap; }
.link { padding: 0; min-height: 44px; border: 0; background: none; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.pick { min-width: 88px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; cursor: pointer; }
.pick:hover { background: var(--primary-hover); }

.mhead { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 14px; }
.mhead > div { display: grid; gap: 4px; }
.mhead__name { font-family: var(--font-head); font-size: 20px; }
.rv { padding: 12px 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-border); }
.rv p { margin-top: 4px; font-size: 15px; line-height: 1.4; }
.stars { color: var(--star); letter-spacing: 1px; }

.with-dock { padding-bottom: 120px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day {
  display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 0; border-radius: 12px;
  border: 1px solid var(--border); background: var(--glass-strong); color: var(--text); cursor: pointer;
}
.day small { font-size: 11px; color: var(--muted); }
.day b { font-family: var(--font-head); font-size: 17px; }
.day[aria-pressed='true'] { background: var(--primary); border-color: var(--primary); color: #fff; }
.day[aria-pressed='true'] small { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--glass-strong); color: var(--text); font-weight: 600; cursor: pointer; }
.slot[aria-pressed='true'] { background: var(--primary); border-color: var(--primary); color: #fff; }
.slots > p { grid-column: 1 / -1; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 6px; justify-items: center;
  max-width: 480px; margin: 0 auto; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: rgba(230, 238, 248, 0.92); backdrop-filter: blur(22px); border-top: 1px solid var(--border);
}
.dock small { color: var(--muted); font-size: 12px; }

.ticket { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--glass-strong); border: 1px solid var(--border); border-inline-start: 4px solid var(--primary); margin-bottom: 14px; }
.ticket b { font-family: var(--font-head); font-size: 16px; }
.ticket small { color: var(--text-2); font-size: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; color: var(--text-2); }
.field input { min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 16px var(--font); }
.field input:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--primary); }

.done { display: grid; justify-items: center; gap: 10px; text-align: center; padding-top: 32px; }
.done .ticket { width: 100%; text-align: start; }
.ok { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 42px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.two .btn { margin: 0; }

/* окно согласия на cookies (как у beauty.wetop.ai), пиксели только после «Accept» */
.consent { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(16, 24, 39, 0); transition: background 0.2s; }
.consent.is-open { background: rgba(16, 24, 39, 0.32); }
.consent__card {
  width: 100%; max-width: 360px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s;
}
.consent.is-open .consent__card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .consent, .consent__card { transition: none; } }
.consent__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.consent__text { color: var(--text-2); font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__ok, .consent__no { min-height: 46px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.consent__ok { border: 0; background: var(--primary); color: #fff; }
.consent__no { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.consent__link { display: block; margin: 8px auto 0; min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.consent__row span { display: grid; gap: 2px; }
.consent__row b { font-size: 14px; }
.consent__row small { color: var(--muted); font-size: 13px; }
.consent__row input { flex: none; width: 22px; height: 22px; accent-color: var(--primary); }
.consent__card > .consent__ok { width: 100%; margin-top: 14px; }
.cookie-link { display: block; margin: 18px auto 0; min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.item--soon { opacity: 0.85; }
.item--soon .tag { justify-self: start; margin-top: 6px; }
