/* ZB Beauty — Look C "Soft Glam": blush/cream base, black ink, deep red
   accents, gold hairlines. Elegant beauty-salon softness. Phone-first. */
:root {
  --cream: #fff6f1;
  --paper: #fffdfb;
  --blush: #f7e3dc;
  --blush-2: #f3d3c8;
  --ink: #191013;
  --ink-soft: #4a3a40;
  --red: #b3122f;
  --red-deep: #8c0e25;
  --gold: #c6a15b;
  --line: #ecd9d2;
  --ok: #1e7d4f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(140, 60, 60, 0.10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}
h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, serif; }
a { color: var(--red); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blush-2); border-color: var(--gold); }
label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin: 10px 0 4px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 36px; }
.wrap.wide { max-width: 880px; }

/* boot splash */
.boot { min-height: 40vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink-soft); }
.boot-mark { font-family: "Playfair Display", serif; font-size: 44px; border: 2px solid var(--gold); color: var(--ink); border-radius: 50%; width: 92px; height: 92px; display: flex; align-items: center; justify-content: center; background: var(--paper); }

/* header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 880px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { font-family: "Playfair Display", serif; font-size: 20px; border: 1.5px solid var(--gold); border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--blush); flex: none; }
.brand-name { font-family: "Playfair Display", serif; font-weight: 700; font-size: 19px; letter-spacing: .06em; line-height: 1; }
.brand-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.spacer { flex: 1; }
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-toggle button { border: 0; background: transparent; padding: 6px 12px; font-weight: 600; font-size: 13px; }
.lang-toggle button.on { background: var(--ink); color: var(--blush); }
.chip { display: inline-block; background: var(--blush); color: var(--red-deep); border: 1px solid var(--blush-2); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }

/* hero */
.hero { text-align: center; padding: 16px 8px 4px; }
.hero h1 { font-size: 40px; margin: 4px 0 0; letter-spacing: .05em; }
.hero .tagline { font-family: "Playfair Display", serif; font-style: italic; font-size: 20px; color: var(--red-deep); margin: 2px 0 4px; }
.hero .rule { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 8px auto; }
.hero p { color: var(--ink-soft); margin: 4px 0; }

/* sections & cards */
section.block { margin-top: 16px; }
section.block > h2 { font-size: 26px; text-align: center; margin: 0 0 4px; }
section.block > .sub { text-align: center; color: var(--ink-soft); margin: 0 0 10px; font-size: 14.5px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 13px; }
.service { display: flex; gap: 10px; align-items: flex-start; }
.service + .service { margin-top: 8px; }
.service .grow { flex: 1; }
.service h3 { margin: 0; font-size: 19px; }
.service p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.price { font-family: "Playfair Display", serif; font-size: 21px; color: var(--red-deep); white-space: nowrap; }
.dur { font-size: 12.5px; color: var(--ink-soft); }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 22px; font-size: 15.5px; font-weight: 600; letter-spacing: .02em; text-decoration: none; text-align: center; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--blush); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 10px 14px; font-size: 13.5px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* booking */
.steps { display: flex; gap: 6px; justify-content: center; margin: 4px 0 10px; flex-wrap: wrap; }
.steps span { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.steps span.on { background: var(--ink); color: var(--blush); border-color: var(--ink); }
.svc-pick { display: grid; gap: 8px; }
.svc-opt { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.svc-opt.on { border-color: var(--red); background: #fff7f3; }
.svc-opt b { font-family: "Playfair Display", serif; font-size: 17px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 6px; font-weight: 600; font-size: 14.5px; }
.slot.on { background: var(--red); border-color: var(--red); color: #fff; }
.slot.off { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.notice { background: var(--blush); border: 1px solid var(--blush-2); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.notice.gold { background: #fdf6e9; border-color: #e8d9ae; }
.error { background: #fdecec; border: 1px solid #f2b8b8; color: #7d1010; border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.success { text-align: center; }
.success .big { font-size: 44px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13.5px; }
.stripe-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
#card-element { padding: 6px 2px; }

/* ebook */
.ebook-card { background: linear-gradient(150deg, var(--ink) 0%, #2a1219 70%); color: var(--blush); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.ebook-card h3 { color: #fff; font-size: 23px; margin: 4px 0; }
.ebook-card .price { color: var(--gold); }
.ebook-card p { color: #e9d5cd; }

/* admin */
.admin-head { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; flex-wrap: wrap; }
.admin-head h2 { margin: 0; font-size: 27px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; }
.tabs button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.tabs button.on { background: var(--ink); color: var(--blush); border-color: var(--ink); }
.badge { background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; margin-left: 5px; vertical-align: 2px; }
.appt { display: flex; gap: 10px; align-items: flex-start; }
.appt + .appt { margin-top: 8px; }
.appt .time { font-family: "Playfair Display", serif; font-size: 18px; min-width: 86px; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; }
.pill.booked { background: #e8f2fd; color: #175a9e; }
.pill.completed { background: #e6f4ec; color: var(--ok); }
.pill.cancelled { background: #eee; color: #777; }
.pill.no_show { background: #fdecec; color: #a11717; }
.pill.card { background: var(--blush); color: var(--red-deep); text-transform: none; letter-spacing: 0; font-weight: 600; }
table.hours { width: 100%; border-collapse: collapse; }
table.hours td, table.hours th { padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
table.hours input[type="time"] { width: auto; padding: 6px 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .hero h1 { font-size: 33px; } }
.alert-row { display: flex; gap: 10px; align-items: flex-start; }
.alert-row + .alert-row { margin-top: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-top: 7px; flex: none; }
.dot.read { background: var(--line); }
footer.site { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 24px; }
footer.site .rule { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 8px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 60; background: var(--ink); color: var(--blush); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); max-width: min(92vw, 480px); font-size: 14.5px; }

/* ------------------------------------------------ ebook reader (v4)
   Near-full-bleed protected reader: one page at a time, the buyer's
   email watermarked over the page, save gestures blocked. */
.reader { position: fixed; inset: 0; z-index: 90; background: #14100f; display: flex; flex-direction: column; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.reader-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #14100f; color: #f3e2d3; }
.reader-count { font-weight: 600; font-size: 14px; white-space: nowrap; }
.reader-stage { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #201418; }
.reader-stage img { max-width: 100%; max-height: 100%; display: block; -webkit-user-drag: none; }
.reader-wm { position: absolute; inset: -30%; transform: rotate(-24deg); display: flex; flex-wrap: wrap; align-content: flex-start; pointer-events: none; overflow: hidden; }
.reader-wm span { color: rgba(20, 10, 14, .14); font-weight: 700; font-size: 15px; padding: 22px 30px; white-space: nowrap; }
.reader-tap { position: absolute; top: 0; bottom: 0; width: 28%; }
.reader-tap.left { left: 0; }
.reader-tap.right { right: 0; }
.reader-foot { padding: 5px 10px; text-align: center; font-size: 12.5px; color: #cbb3aa; background: #14100f; }
