:root {
  --bg: #fdf3f6;
  --surface: #ffffff;
  --ink: #1d1a1c;
  --muted: #8a7f85;
  --line: #f0e4e8;
  --soft: #fbe4ec;
  --peach: #fbd9cc;
  --accent: #e0668f;
  --accent-ink: #ffffff;
  --dark: #151314;
  --ok: #2f8f5b;
  --warn: #b7791f;
  --bad: #c0405a;
  --radius: 22px;
  --shadow: 0 2px 6px rgba(120, 40, 70, .04), 0 12px 32px rgba(120, 40, 70, .07);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: linear-gradient(180deg, #fbe3eb 0, var(--bg) 360px) no-repeat, var(--bg);
  color: var(--ink);
  font: 14.5px/1.55 Poppins, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 700; }
h2 { font-size: 24px; }
h3 { font-size: 17px; }
a { color: inherit; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
main { min-height: calc(100vh - 140px); padding-bottom: 56px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253, 243, 246, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; gap: 10px; height: 64px; }
.logo { font-weight: 700; font-size: 21px; text-decoration: none; margin-right: auto; letter-spacing: -.03em; }
.logo span { color: #e0668f; }
.lang { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.lang button { border: 0; background: none; padding: 5px 10px; font: 600 11.5px Poppins, sans-serif; cursor: pointer; color: var(--muted); border-radius: 999px; }
.lang button.on { background: var(--dark); color: #fff; }
.footer { padding: 24px 0; font-size: 12.5px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid transparent; border-radius: 999px; padding: 11px 20px;
  font: 600 14px Poppins, sans-serif; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); transition: filter .15s, background .15s, transform .1s;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--dark); color: #fff; }
.btn.outline { background: #fff; color: var(--dark); border-color: var(--dark); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.sm { padding: 6px 13px; font-size: 12.5px; }
.btn.danger { background: #fff; color: var(--bad); border-color: #f4d3da; }
.btn.ok { background: var(--ok); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

label { display: block; font-weight: 500; font-size: 12.5px; margin-bottom: 14px; }
.field-label { font-weight: 500; font-size: 12.5px; margin-bottom: 6px; }
input, textarea, select {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: 14.5px Poppins, sans-serif; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.err { color: var(--bad); font-size: 12.5px; margin: -4px 0 12px; }

.card { background: var(--surface); border: 0; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }

.notice { background: #fff6e8; color: #6d4f15; padding: 12px 16px; border-radius: 16px; font-size: 13.5px; margin-bottom: 16px; }
.notice.bad { background: #fdecef; color: #8a2d3a; }
.notice.ok { background: #e7f5ec; color: #1f6b42; }
.notice a { font-weight: 600; }

/* Home */
.hero { margin-top: 12px; padding: 48px; display: grid; gap: 40px; grid-template-columns: 1.15fr 1fr; align-items: center; background: #fff; border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.kicker { display: inline-block; background: var(--soft); color: #b03f68; font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero p { font-size: 16px; color: var(--muted); max-width: 500px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-art { display: grid; place-items: center; background: linear-gradient(160deg, #f8c9d9, #e98fae); border-radius: 28px; padding: 32px 0; min-height: 420px; }
.phone { width: 250px; background: #fff; border-radius: 34px; padding: 22px 16px 16px; box-shadow: 0 30px 60px rgba(140, 30, 70, .3); transform: rotate(-4deg); }
.phone-h { font-weight: 700; font-size: 20px; }
.phone-s { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.phone-search { background: var(--soft); border-radius: 999px; padding: 8px 12px; font-size: 10.5px; color: var(--muted); margin-bottom: 12px; }
.phone-body { display: grid; grid-template-columns: 38px 1fr; gap: 10px; }
.phone-cats { display: grid; gap: 10px; align-content: start; }
.phone-cats i { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-style: normal; font-size: 15px; }
.phone-cards { display: grid; gap: 10px; }
.phone-card { height: 120px; border-radius: 18px; position: relative; display: grid; place-items: center; font-size: 40px; }
.phone-card.c1 { background: linear-gradient(150deg, #e98fae, #c94d78); }
.phone-card.c2 { background: linear-gradient(150deg, #fcd6c4, #f2a585); }
.phone-card.c1::before { content: '💅'; } .phone-card.c2::before { content: '✨'; }
.phone-card span { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; background: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); border-radius: 10px; padding: 5px 8px; font-size: 9px; color: #fff; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--peach); border-radius: 22px; padding: 18px 22px; margin: 16px 0 28px; text-decoration: none; }
.promo strong { display: block; font-size: 17px; }
.promo span { font-size: 13px; color: #7d4a3a; }
.promo-go { width: 40px; height: 40px; border-radius: 50%; background: var(--dark); color: #fff !important; display: grid; place-items: center; font-size: 18px; flex: none; }
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 40px; }
.features .card h3 { margin-bottom: 4px; }
.ico { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.how { margin-bottom: 40px; }
.how ol { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; margin: 0; list-style: none; counter-reset: s; }
.how li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 18px 18px 18px 62px; position: relative; box-shadow: var(--shadow); }
.how li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.artist-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.artist-card { text-decoration: none; display: block; padding: 0; overflow: hidden; transition: transform .15s; }
.artist-card:hover { transform: translateY(-3px); }
.artist-card .body { padding: 0 16px 16px; }
.mini-banner { height: 100px; overflow: hidden; }
.mini-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-banner.empty, .banner.empty, .cover-img.empty { background: linear-gradient(130deg, color-mix(in srgb, var(--accent) 45%, #fff), var(--accent)); }
.mini-logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 20px Poppins, sans-serif; overflow: hidden; flex: none; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.mini-logo img, .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-card .mini-logo { margin-top: -26px; margin-bottom: 8px; position: relative; }

/* Plans */
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.plan { position: relative; text-align: left; font: inherit; color: inherit; border: 2px solid transparent; }
button.plan { cursor: pointer; }
.plan.on { border-color: var(--dark); }
.plan-price { font-weight: 700; font-size: 26px; margin: 4px 0; letter-spacing: -.02em; }
.plan .save { position: absolute; top: 14px; right: 14px; background: #e2f3e9; color: var(--ok); font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.plan-status { border-left: 5px solid var(--accent); }
.banks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bank { position: relative; }
.bank strong { display: block; margin-bottom: 6px; }
.usd { font-size: 12.5px; font-weight: 600; color: #2f6f8f; margin-top: 2px; }
.cur { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: #b03f68; vertical-align: middle; }
.cur.usd { background: #e3f0f6; color: #2f6f8f; margin: 0; }
.bank .cur { position: absolute; top: 16px; right: 16px; }

/* Auth */
.auth { max-width: 430px; margin: 40px auto; }
.note { background: #fff6e8; color: #7a5a1e; padding: 10px 14px; border-radius: 14px; font-size: 12.5px; margin-bottom: 16px; }

/* Dashboard */
.dash-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 24px 0 16px; }
.linkbox { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 5px 5px 5px 16px; max-width: 100%; box-shadow: var(--shadow); }
.linkbox code { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; padding: 4px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.tabs a { padding: 8px 16px; text-decoration: none; color: var(--muted); font-weight: 500; border-radius: 999px; white-space: nowrap; font-size: 13.5px; }
.tabs a.on { color: #fff; background: var(--dark); }
.count-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10.5px; padding: 0 5px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 20px; }
.stats.six { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.booking { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: start; }
.booking .when { text-align: center; background: var(--soft); border-radius: 16px; padding: 10px 6px; }
.booking .when b { display: block; font-size: 22px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.booking .actions { max-width: 300px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 11.5px; background: #f6eff1; border-radius: 8px; padding: 2px 8px; color: var(--muted); }
.tag.ok { background: #e2f3e9; color: var(--ok); }
.tag.bad { background: #fbe4e8; color: var(--bad); }
.ref-thumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.ref-thumbs button { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; }
.ref-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; vertical-align: middle; }
.badge.pending { background: #fdf1dc; color: var(--warn); }
.badge.confirmed { background: #e2f3e9; color: var(--ok); }
.badge.cancelled { background: #fbe4e8; color: var(--bad); }
.list-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; padding-top: 0; }
.svc-thumb { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex: none; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-thumb .ph { font-size: 22px; }
.two { display: grid; gap: 20px; grid-template-columns: 1.3fr 1fr; align-items: start; }
.day-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.day-row:first-of-type { border-top: 0; }
.day-row label { margin: 0; }
.day-row input[type=time] { margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.day-row .check, .checks.days .check { text-transform: capitalize; }
.check input { width: auto; margin: 0; accent-color: var(--accent); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.swatches label { margin: 0; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { display: block; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 12.5px; }
.chip button { border: 0; background: #f6eff1; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; }
.filter { border: 0; background: #fff; border-radius: 999px; padding: 7px 15px; font: 500 12.5px Poppins, sans-serif; cursor: pointer; color: var(--muted); box-shadow: var(--shadow); }
.filter.on { background: var(--dark); color: #fff; }
.account { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.receipt { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: zoom-in; background: #fff; flex: none; }
.receipt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.receipt.none { display: grid; place-items: center; text-align: center; cursor: default; font-size: 10px; padding: 4px; }

/* Uploads */
.img-grid { display: grid; gap: 20px; grid-template-columns: 180px 1fr; }
.img-preview { border: 1.5px dashed #ecc9d5; border-radius: 18px; background: #fffafb; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 8px; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview:has(img) { padding: 0; border-style: solid; }
.img-preview.logo { width: 140px; height: 140px; border-radius: 50%; }
.img-preview.banner { height: 140px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--line); margin: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 4px; right: 4px; border: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; line-height: 1; }
.thumb.add { display: grid; place-items: center; align-content: center; border: 1.5px dashed #ecc9d5; cursor: pointer; font-size: 24px; color: var(--accent); background: #fffafb; text-align: center; }
.thumb.add span { font-size: 10.5px; color: var(--muted); }

/* Public page */
.pub.has-bar { padding-bottom: 90px; }
.cover { position: relative; margin-top: 8px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.cover-img { height: clamp(190px, 30vw, 340px); }
.cover-img img, .banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.round-btn { position: absolute; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; font-size: 22px; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); color: var(--ink); }
.round-btn.back { left: 16px; }
.round-btn.share { right: 16px; font-size: 17px; }
.banner { height: clamp(150px, 26vw, 300px); overflow: hidden; }
.banner.short { height: clamp(120px, 18vw, 200px); }
.pub-hero { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; padding: 0 12px 20px; position: relative; }
.avatar { width: 116px; height: 116px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 700 42px Poppins, sans-serif; flex: none; overflow: hidden; border: 5px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.pub-hero .avatar { margin-top: -58px; }
.pub-title { padding-top: 12px; min-width: 0; flex: 1; }
.pub-title h1 { font-size: clamp(26px, 5vw, 38px); margin-bottom: 2px; }
.tagline { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.pub-hero .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pub-hero .meta a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pub-layout { display: grid; gap: 28px; grid-template-columns: 1fr 300px; align-items: start; }
.pub-layout > * { min-width: 0; }
.pub-layout aside h3 { font-size: 15px; }
.hours-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 4px 0; }
.hours-row > span:first-child { text-transform: capitalize; }
.hours-row > span:last-child { text-align: right; }
.hours-row .brk { display: block; font-size: 11px; color: var(--muted); text-transform: none; text-align: right; }
.discover h2 { font-size: 28px; font-weight: 700; margin: 0; }
.discover p { margin: 0 0 14px; font-size: 13px; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 4px 6px 4px 16px; margin: 0 0 16px; box-shadow: var(--shadow); }
.search input { border: 0; margin: 0; padding: 10px 4px; box-shadow: none !important; background: transparent; }
.cur-toggle { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--shadow); flex: none; }
.cur-toggle button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font: 600 12px Poppins, sans-serif; color: var(--muted); cursor: pointer; }
.cur-toggle button.on { background: var(--dark); color: #fff; }
.search-row { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.search-row .search { flex: 1; margin: 0; }
.cats { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; }
.cat { border: 0; background: none; padding: 0; display: grid; justify-items: center; gap: 6px; cursor: pointer; font: 500 12.5px Poppins, sans-serif; color: var(--muted); flex: none; }
.cat-img { width: 62px; height: 62px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 24px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat.on { color: var(--ink); font-weight: 600; }
.cat.on .cat-img { border-color: var(--accent); }
.step { margin-bottom: 28px; scroll-margin-top: 80px; }
.step h3 { margin-bottom: 12px; }
.svc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.svc { position: relative; border-radius: 24px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); background: #fff; transition: transform .15s, box-shadow .15s; outline: 3px solid transparent; outline-offset: -3px; }
.svc:hover { transform: translateY(-3px); }
.svc[hidden] { display: none; }
.svc.on { outline-color: var(--accent); }
.svc-img { aspect-ratio: 4 / 5; position: relative; background: var(--soft); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, #fff), color-mix(in srgb, var(--accent) 60%, #fff)); }
.svc .count { position: absolute; left: 12px; top: 12px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 10.5px; padding: 3px 9px; border-radius: 999px; }
.svc-label { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 12px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.svc-label strong { display: block; font-size: 14px; line-height: 1.2; }
.svc-label span { font-size: 11.5px; opacity: .95; }
.svc-label b { font-size: 15px; white-space: nowrap; }
.plus { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--accent); font: 600 22px/1 Poppins, sans-serif; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); display: grid; place-items: center; transition: transform .15s; }
.plus:hover { transform: scale(1.1); }
.check-mark { position: absolute; top: 10px; left: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.svc.on .count { display: none; }
.selection-bar { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 12px 16px; font-size: 13.5px; box-shadow: var(--shadow); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.date { flex: none; width: 66px; padding: 12px 0; text-align: center; border-radius: 20px; border: 0; background: #fff; cursor: pointer; font: inherit; color: inherit; scroll-snap-align: start; box-shadow: var(--shadow); }
.date small { display: block; font-size: 10.5px; text-transform: uppercase; color: var(--muted); }
.date b { display: block; font-size: 20px; }
.date.on { background: var(--dark); color: #fff; }
.date.on small { color: #d8cfd3; }
.date:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.slot { padding: 11px 0; border-radius: 999px; border: 0; background: #fff; cursor: pointer; font: 500 13.5px Poppins, sans-serif; color: inherit; box-shadow: var(--shadow); }
.slot.on { background: var(--dark); color: #fff; }
form[data-form=book] { max-width: 540px; }
.summary { background: var(--soft); border-radius: 18px; padding: 14px 16px; margin-bottom: 16px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.done { text-align: center; max-width: 560px; margin: 40px auto; }
.done .big { font-size: 48px; }
.bookbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; width: min(560px, calc(100% - 24px)); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 12px 40px rgba(120, 40, 70, .22); }
.bookbar div { min-width: 0; }
.bookbar strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar span { font-size: 12px; color: var(--muted); }

/* Team */
.staff-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.staff-pick { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px; cursor: pointer; font: inherit; color: inherit; border: 2px solid transparent; }
.staff-pick.on { border-color: var(--dark); }
.staff-ph { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font: 700 26px Poppins, sans-serif; flex: none; margin-bottom: 4px; }
.staff-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-ph.sm { width: 44px; height: 44px; font-size: 17px; margin: 0; }
.staff-ph.any { background: var(--soft); font-size: 28px; }
.thumb.round { border-radius: 50%; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 6px; }
.checks.days { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.checks .check { margin: 0; font-weight: 400; }
.team-list { display: grid; gap: 10px; }
.team-item { display: flex; gap: 10px; align-items: center; }
.lunch { background: #fffafb; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 14px; }

/* Appointment page */
.appt { max-width: 560px; margin: -48px auto 0; position: relative; }
.appt-head { display: flex; gap: 14px; align-items: center; }
.appt-when { display: grid; gap: 8px; font-size: 14px; background: var(--soft); border-radius: 18px; padding: 14px 16px; }
.appt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.appt .notice { margin: 14px 0 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(40, 18, 28, .5); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal-card { background: #fff; border-radius: 30px; width: min(520px, 100%); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal-x { position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; cursor: pointer; z-index: 41; }
.gallery { aspect-ratio: 1; background: var(--soft); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.big-ph { font-size: 72px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 14px 22px 0; overflow-x: auto; }
.gallery-thumbs button { width: 58px; height: 58px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 2px; cursor: pointer; flex: none; background: #f6eff1; }
.gallery-thumbs button.on { border-color: var(--dark); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.pd { padding: 18px 22px 22px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd h2 { margin: 2px 0 6px; font-size: 22px; }
.pd-price { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.pd-price b { color: var(--accent); font-size: 20px; }
.chip-soft { background: var(--soft); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.acc { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 500; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 18px; line-height: 1; }
.acc[open] summary::after { content: '−'; }
.acc p { margin: 0 0 12px; color: #4b4448; white-space: pre-line; }
.pd-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 10px; }

#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 860px) {
  .pub-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 26px; }
  .hero-art { min-height: 340px; }
  .two { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 72px 1fr; }
  .booking .actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .account .actions { width: 100%; justify-content: flex-start; }
  .day-row { grid-template-columns: 1fr 1fr; }
  .day-row .check { grid-column: 1 / -1; }
  .top .hide-sm { display: none; }
  .avatar { width: 92px; height: 92px; font-size: 34px; }
  .pub-hero .avatar { margin-top: -46px; }
  .pub-title { padding-top: 0; flex-basis: 100%; }
  .linkbox { width: 100%; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc { border-radius: 20px; }
  .svc-label { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; left: 6px; right: 6px; bottom: 6px; }
  .plus { width: 32px; height: 32px; font-size: 20px; }
  .cover { border-radius: 26px; }
}

/* Weekly hours with per-day break */
.day-row { grid-template-columns: 110px 1fr 1fr 1.7fr; }
.day-row.head { padding: 0 0 4px; border: 0; }
.brk-cell { display: flex; align-items: center; gap: 6px; }
.brk-cell input[type=time] { min-width: 0; padding: 9px 8px; font-size: 13px; }
.brk-on { flex: none; }
.brk-cell:has(.brk-on input:not(:checked)) input[type=time] { opacity: .35; }
@media (max-width: 760px) {
  .day-row { grid-template-columns: 1fr 1fr; }
  .day-row.head { display: none; }
  .brk-cell { grid-column: 1 / -1; }
}

/* Loyalty card */
.badge.completed { background: #ece6f7; color: #6a4fa3; }
.loyalty-card { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 45%, color-mix(in srgb, var(--accent) 60%, #000)); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 35%, transparent); max-width: 420px; }
.loyalty-card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255, 255, 255, .12); }
.lc-top { display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.lc-logo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 700; border: 2px solid rgba(255, 255, 255, .7); flex: none; }
.lc-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-biz { font-weight: 600; font-size: 16px; line-height: 1.2; }
.lc-kind { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.lc-count { font-size: 28px; font-weight: 700; line-height: 1; }
.lc-count small { font-size: 14px; opacity: .8; }
.lc-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 20px 0; position: relative; z-index: 1; }
.stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.stamp.on { background: #fff; border: 0; font-size: 20px; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }
.lc-bottom { display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.lc-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.lc-name { font-weight: 600; font-size: 14px; }
.card-page { max-width: 460px; padding-top: 24px; }
.card-page .loyalty-card { margin: 0 auto; }
.card-status { text-align: center; margin: 22px 0 6px; }
.card-status h2 { font-size: 20px; }
.save-help { margin-top: 14px; }
.client-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.client-row[hidden] { display: none; }
.client-av { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.client-row .actions { width: 100%; justify-content: flex-start; padding-left: 58px; }
.mini-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mini-stamps { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-stamps .stamp { width: 20px; height: 20px; border: 1.5px dashed #e6c3cf; color: transparent; font-size: 0; }
.mini-stamps .stamp.on { background: var(--accent); border: 0; box-shadow: none; }
@media (max-width: 760px) { .client-row .actions { padding-left: 0; } }
.win-dates { padding-left: 26px; }
.two > * { min-width: 0; }
.day-row > * { min-width: 0; }
.day-row input[type=time] { padding: 9px 8px; font-size: 13px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .day-row { grid-template-columns: 1fr 1fr 1fr; }
  .day-row.head span:last-child { display: none; }
  .brk-cell { grid-column: 2 / -1; }
}
.row > * { min-width: 0; }
input { min-width: 0; }
.boot { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
