/* utilities (from filters.css / cards.css) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
/* style.css */
/* Public site – same visual language as the admin/salon panels */
:root {
  /* WCAG AA contrast (>= 4.5:1): muted was #7A6E66 (4.27 on brand-soft), ok was #2fb344 (2.74 on white);
     --accent-strong is the background for white badge text (accent itself gives 3.94) */
  --bg: #FAF6F3; --card: #ffffff; --ink: #2E241F; --muted: #6B5F57; --line: #EDE5DF; --hover: #FBF7F4;
  --brand: #8A6343; --brand-ink: #ffffff; --brand-soft: #F6EDE6;
  --accent: #D2557A; --accent-soft: #FCEEF2; --accent-strong: #C2456B;
  --ok: #1E7B34; --ok-soft: #e9f7ec; --warn: #b45309; --danger: #d63939;
  --radius: 10px; --shadow: 0 1px 2px rgba(16, 24, 40, .05); --shadow-lg: 0 10px 30px rgba(16, 24, 40, .10);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A1512; --card: #241D19; --ink: #F1EAE4; --muted: #A89A90; --line: #3A302A; --hover: #2B231E;
    /* dark brand: a lighter tone of the same brown so brand-coloured text passes on cards too (6.5:1 on --card,
       5.3:1 on --brand-soft; #A57A55 gave 4.36 / 3.53); text on brand buttons is dark (7.1:1) */
    --brand: #C49A74; --brand-ink: #1A1512; --brand-soft: #3A2C22; --accent-soft: #3d2129; --ok-soft: #173323; --ok: #3fbf55;
    --warn: #F0A45B; --danger: #F07A7A; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; } a:hover { text-decoration: underline; }
/* WCAG 1.4.1: a link inside running text is not told apart by colour alone */
p a:not(.btn):not([class*="chip"]), dd a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: .2em 0 .45em; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: .2em 0 .8em; } h3 { margin: .4em 0 .2em; font-size: 1.05rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 22px; padding-bottom: 48px; min-height: 70vh; }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #E9A3B5); color: #fff; font-size: 17px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .94rem; }
.nav > a { color: var(--ink); padding: 7px 10px; border-radius: 8px; font-weight: 500; }
.nav > a:hover { background: var(--hover); text-decoration: none; }
.nav > a.active { color: var(--brand); background: var(--brand-soft); }
.nav > a.btn { color: var(--brand-ink); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-left: 6px; }
.langs a { padding: 5px 9px; font-size: 12px; font-weight: 600; color: var(--muted); }
.langs a + a { border-left: 1px solid var(--line); }
.langs a:hover { background: var(--hover); text-decoration: none; }
.langs a.on { background: var(--brand); color: var(--brand-ink); }
.demo-bar { background: #fff4e0; color: #8a5a00; text-align: center; font-size: .84rem; padding: 7px 16px; border-bottom: 1px solid #fde3b5; }

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: 16px; padding: 34px 28px 24px; margin-bottom: 18px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(120deg, #5C3F2A 0%, #9A7455 55%, #E9A3B5 100%); }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 6px 0 8px; }
.hero p { margin: 0; opacity: .92; max-width: 560px; }
.hero-kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; }
.cat-tiles { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cat-tile { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.cat-tile:hover, .cat-tile.on { background: #fff; color: var(--ink); text-decoration: none; }
.cat-tile span { font-size: 1.2rem; }

/* Cards & layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.narrow { max-width: 540px; margin: 0 auto 16px; }
.two { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 820px) { .two { grid-template-columns: 1.45fr 1fr; } }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Offer cards */
.offer { position: relative; display: block; color: inherit; margin: 0; padding: 18px; transition: transform .12s, box-shadow .12s, border-color .12s; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; text-decoration: none; }
.offer .cover-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.offer .salon-link { position: relative; z-index: 2; color: inherit; font-weight: 500; }
.offer .salon-link:hover { color: var(--brand); }
.offer h3 { font-size: 1.08rem; }
.offer-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); font-weight: 700; }
.badge { background: var(--accent-strong, #C2456B); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: .82rem; box-shadow: 0 2px 6px rgba(210, 85, 122, .3); }
.when { margin: 10px 0 6px; font-size: .9rem; color: var(--ink); background: var(--hover); padding: 6px 10px; border-radius: 8px; display: inline-block; }
.price { margin-top: 4px; } .price s { color: var(--muted); margin-right: 6px; font-size: .9rem; } .price strong { font-size: 1.3rem; color: var(--ink); }
.price.big strong { font-size: 2.2rem; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.warn { color: var(--warn); font-weight: 600; } .ok-text { color: var(--ok); font-weight: 600; } .danger-text { color: var(--danger); }
.lead { font-size: 1.12rem; margin: 0 0 .6em; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); border-radius: 8px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: filter .1s, background .1s; }
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--hover); filter: none; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.block { display: flex; width: 100%; }
.btn-sm, .small-btn { padding: 6px 12px; font-size: .88rem; border-radius: 8px; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; }
.inline { display: inline; }
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; background: var(--card); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(138, 99, 67, .15); }
input[type=checkbox], input[type=radio] { display: inline; width: auto; margin: 0 6px 0 0; box-shadow: none; }
.check { display: flex !important; align-items: flex-start; font-weight: 400 !important; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > select, .row > input { width: auto; flex: 1 1 160px; margin: 0; }
.grow1 { flex: 1 1 100px; } .grow2 { flex: 2 1 180px; }

/* Filters */
.filters { padding: 18px; }
.search-row { display: flex; gap: 8px; margin-bottom: 14px; }
.search-row input { margin: 0; flex: 1; padding: 12px 14px; font-size: 1rem; }
.filters .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; background: var(--card); }
.chip:hover { border-color: var(--brand); }
.chip input[type=radio], .chip input[type=checkbox] { display: none; }
.chip input[type=date] { margin: 0; padding: 2px 6px; width: auto; border-radius: 6px; }
.chip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.view-bar { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 14px; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.seg a { padding: 7px 13px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.seg a + a { border-left: 1px solid var(--line); }
.seg a:hover { background: var(--hover); text-decoration: none; }
.seg a.on { background: var(--brand); color: var(--brand-ink); }
.map { height: 540px; padding: 0; overflow: hidden; }

/* Messages, facts */
.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid transparent; }
.flash.ok { background: var(--ok-soft); color: #1c7a2d; border-color: rgba(47,179,68,.25); }
.flash.err { background: #fbebeb; color: #a82727; border-color: rgba(214,57,57,.25); }
.flash.info { background: var(--brand-soft); color: #6E4E35; border-color: rgba(138,99,67,.2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.policy { padding-left: 18px; margin-top: 16px; }
.code { font: 700 2rem/1 ui-monospace, monospace; text-align: center; letter-spacing: .18em; background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 16px; border: 1px dashed var(--brand); }
.code-inline { font-family: ui-monospace, monospace; color: var(--muted); font-size: 1rem; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 1.9rem; margin: 0 auto 8px; box-shadow: 0 6px 18px rgba(47,179,68,.35); }
.st { display: inline-block; font-size: .76rem; padding: 3px 9px; border-radius: 999px; background: #F2ECE7; color: #4b5563; font-weight: 600; }
.st-confirmed, .st-active { background: #e9f7ec; color: #1c7a2d; } .st-completed { background: #F6EDE6; color: #6E4E35; }
.st-pending_payment, .st-paused { background: #fff4e0; color: #9a6400; } .st-refunded, .st-cancelled, .st-no_show, .st-expired { background: #fbebeb; color: #a82727; }
.list .item { display: block; color: inherit; position: relative; transition: box-shadow .12s; }
.list .item:hover { box-shadow: var(--shadow-lg); text-decoration: none; }
.list .item .st { position: absolute; right: 18px; top: 18px; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; background: var(--hover); padding: 4px; border-radius: 10px; }
.tabs a { flex: 1; text-align: center; padding: 8px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; }
/* visit / group cart, visit page, its demo payment (round 23): fit a 375px phone in every language */
.vt th, .vt td { overflow-wrap: anywhere; hyphens: auto; }
.vt .num { text-align: right; white-space: nowrap; }
.facts-wrap { grid-template-columns: minmax(0, max-content) minmax(0, 1fr); }
.facts-wrap dt, .facts-wrap dd { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 600px) {
  .vt { font-size: .86rem; }
  .vt th, .vt td { padding: 7px 4px; }
  .vt th { text-transform: none; font-size: .76rem; }
  .vt .num { white-space: normal; }
  /* the visit page: one block per appointment (time + service, then status and the cancel button) */
  .vt-stack thead { display: none; }
  .vt-stack tr { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .vt-stack td { border: 0; padding: 0; }
  .vt-stack td:nth-child(n+3) { grid-column: 1 / -1; }
  .vt-stack td:empty { display: none; }
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; }
.empty { text-align: center; color: var(--muted); padding: 34px 18px; }
.empty-compact { text-align: left; padding: 0; }   /* round 20: inline "no results" line (was .help-empty) */

/* Salon page, reviews, misc */
.rating { color: #b45309; font-weight: 700; }   /* was #d97706: 3.18:1 on white */
.fav-mark { color: #e03131; }
.stars { --r: 0; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px;
  background: linear-gradient(90deg, #f59f00 calc(var(--r) / 5 * 100%), #d0d5dd 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }
.stars-line { margin-top: 8px; }
.salon-hero { border-top: 4px solid var(--brand); }
.salon-hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.fav-btn.on { color: #e03131; border-color: #e03131; }
.salon-meta { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pre { white-space: pre-line; }
.plain-table { width: 100%; border-collapse: collapse; } .plain-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.plain-table tr:last-child td { border-bottom: 0; } .plain-table .right { text-align: right; font-weight: 700; }
.review p { margin: 6px 0; } .review-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.review-form { margin-top: 16px; background: var(--hover); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin-bottom: 12px; }
/* the radios stay in the tab order and the accessibility tree (arrow keys, "4 stars"), only visually hidden */
.star-input input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }
.star-input input:focus-visible + label { outline: 3px solid var(--brand, #b4235a); outline-offset: 2px; border-radius: 4px; }
.star-input .sr-star, .stars .sr-star { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.star-input label { font-size: 2.1rem; color: #d0d5dd; cursor: pointer; margin: 0; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59f00; }
.promo-box { margin-bottom: 12px; font-size: .92rem; } .promo-box summary { cursor: pointer; color: var(--brand); margin-bottom: 6px; font-weight: 600; }
.buy { position: sticky; top: 80px; align-self: start; }
/* "any specialist" chooser on the offer page (spec 3) */
.any-pick { margin: 0 0 var(--sp-3, 12px); }
.any-pick-t { display: block; font-size: .9rem; margin-bottom: 6px; }
.any-pick ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.any-pick a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.any-pick a.on { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); font-weight: 700; }
.any-pick a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.share-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 999px; z-index: 50; font-size: .9rem; }

/* Footer */
.foot { background: var(--card); border-top: 1px solid var(--line); padding: 34px 0 20px; font-size: .9rem; margin-top: 20px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); padding: 3px 0; }
.foot-grid a:not(.brand):hover { color: var(--brand); }
.foot-title { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; }
  .hero { padding: 26px 18px 20px; border-radius: 12px; }
  .map { height: 420px; }
  .buy { position: static; }
  .nav { width: 100%; justify-content: flex-start; }
  .brand small { display: none; }
}

/* Flag language switcher */
.langs a { display: inline-flex; align-items: center; gap: 5px; }
.flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
.langs a.on .flag { box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
@media (max-width: 760px) { .langs a span { display: none; } .langs a { padding: 6px 8px; } }

/* BELLOO brand: blush pink (her) + weathered oak (him) */
:root { --bl-ink: #3E2C23; --bl-pink: #F46E98; --bl-wood: #9A7455; --bl-cream: #FBF3EE; }
@media (prefers-color-scheme: dark) { :root { --bl-ink: #F5EFEA; } }
.brand { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand .bl-logo { display: block; height: 46px; width: auto; color: var(--bl-ink); }
.brand small { font-size: 10.5px; letter-spacing: .04em; }
.foot .brand .bl-logo { height: 36px; }
@media (max-width: 640px) { .brand .bl-logo { height: 36px; } }

/* cancellation policy box on the booking page */
.policy-box { border: 1px solid var(--line, #EDE5DF); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.policy-box .policy { margin: 6px 0 8px; }
.policy ul { margin: 4px 0 0; padding-left: 18px; }

/* ---- customer dashboard (/my) ---- */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dash-head h1 { margin-bottom: .15em; }
.dash-head p { margin: 0; }
.dash-next { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; color: inherit; text-decoration: none;
  border-left: 4px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), var(--card) 55%); }
.dash-next:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.dash-next-when { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 10px 12px;
  border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.dash-day { font-size: .85rem; color: var(--muted); text-transform: capitalize; }
.dash-time { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.dash-next-svc { font-size: 1.15rem; display: block; margin: 2px 0; }
.dash-next-code { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.code-big { font-family: ui-monospace, monospace; font-size: 1.25rem; font-weight: 800; letter-spacing: .12em; color: var(--brand); }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dash-kpi { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; margin: 0; }
.dash-kpi-v { font-size: 1.45rem; font-weight: 800; }
.dash-kpi-l { font-size: .85rem; color: var(--muted); }
.dash-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.dash-sec-h h2 { margin: 0; font-size: 1.15rem; }
.dash-sec-h a { font-size: .9rem; }
.dash-list { display: flex; flex-direction: column; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.dash-row:first-child { border-top: 0; }
.dash-row:hover { background: var(--hover); text-decoration: none; }
.dash-row-date { display: flex; flex-direction: column; min-width: 92px; text-transform: capitalize; }
.dash-row-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dash-row-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-fav-img { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft) center / cover no-repeat; flex: none; }
.dash-progress { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 8px 0; }
.dash-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--brand)); border-radius: 999px; }
.dash-links { display: grid; gap: 4px; padding: 10px; }
.dash-links a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.dash-links a:hover { background: var(--hover); text-decoration: none; }
.dash-links a > span:first-child { font-size: 1.3rem; width: 28px; text-align: center; }
.dash-links a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.dash-links .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-next { grid-template-columns: auto 1fr; }
  .dash-next-code { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .dash-row-date { min-width: 74px; }
}
.dash-sec-h a { white-space: nowrap; }

/* language picker on the login form */
.lang-pick { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 8px; margin: 0 0 14px; }
.lang-pick legend { padding: 0 6px; font-size: .9rem; font-weight: 600; }
.lang-pick-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.lang-chip { display: block; margin: 0; cursor: pointer; }
.lang-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lang-chip span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; }
.lang-chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.lang-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }

/* ---- gift cards ---- */
.gift-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; }
.gift-points { margin: 6px 0 0; padding-left: 18px; }
.gift-visual { position: relative; aspect-ratio: 1.586; border-radius: 16px; padding: 16px; color: #3E2C23;
  background: linear-gradient(135deg, #FFE1EA 0%, #FBF3EE 45%, #E8D3BF 100%); border: 1px solid #F1D9CF;
  box-shadow: 0 10px 30px rgba(62, 44, 35, .15); display: flex; flex-direction: column; justify-content: space-between; }
.gift-visual .bl-logo { height: 34px; width: auto; color: #3E2C23; }
.gift-visual-amount { align-self: flex-end; font-size: 1.6rem; font-weight: 800; color: #8A6343; }
.gift-visual.small { aspect-ratio: auto; min-height: 110px; padding: 12px; }
.gift-visual.small .bl-logo { height: 26px; }
.gift-amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin-bottom: 8px; }
.gift-card-item.is-new { outline: 2px solid var(--accent); }
@media (max-width: 760px) { .gift-hero { grid-template-columns: 1fr; } .gift-visual:not(.small) { max-width: 320px; } }

.review-reply { margin: 8px 0 4px; padding: 8px 12px; border-left: 3px solid var(--accent, #8A6343); background: rgba(138,99,67,.06); border-radius: 6px; font-size: 14px; }
.review-reply p { margin: 4px 0 0; white-space: pre-line; }

.pkg-list { display: grid; gap: 10px; }
.pkg-card { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; }
.pkg-card > div { flex: 1 1 240px; }
.pkg-use { margin-bottom: 6px; padding: 10px; border: 1px dashed var(--accent, #8A6343); border-radius: 10px; }

.social-login { display: grid; gap: 10px; margin: 4px 0 16px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.social-btn:focus-visible { outline: 2px solid var(--accent, #8A6343); outline-offset: 2px; }
.sb-google { background: #fff; color: #1f1f1f; border-color: #dadce0; } .sb-google:hover { background: #f8f9fa; }
.sb-apple { background: #000; color: #fff; } .sb-apple:hover { background: #222; }
.sb-facebook { background: #1877F2; color: #fff; } .sb-facebook:hover { background: #166fe0; }
.social-or { display: flex; align-items: center; gap: 10px; color: var(--muted, #7A6E66); font-size: 13px; margin-top: 4px; }
.social-or::before, .social-or::after { content: ''; flex: 1; height: 1px; background: var(--border, #E8E0D9); }

.foot-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; } .foot-social a { font-size: 13px; }

/* Popup (data-popup links: terms, privacy …) */
.popup { width: min(720px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); overflow: hidden; }
.popup[open] { display: flex; flex-direction: column; animation: popupIn .2s ease; }
.popup::backdrop { background: rgba(30,20,14,.45); backdrop-filter: blur(2px); }
.popup-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 99px; background: var(--hover); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.popup-x:hover { background: var(--line); }
.popup-body { overflow-y: auto; padding: 24px 24px 20px; overscroll-behavior: contain; }
.popup-body > .card, .popup-body .card:first-child { border: 0; box-shadow: none; padding: 0; margin: 0; }
.popup-body h1 { padding-right: 40px; }
.popup-loading { height: 120px; margin: 20px auto; width: 32px; background: radial-gradient(circle, var(--brand) 40%, transparent 42%) center / 32px 32px no-repeat; animation: popupPulse 1s ease-in-out infinite; }
html.popup-open { overflow: hidden; }
@keyframes popupIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes popupPulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .popup[open], .popup-loading { animation: none; } }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; }
.pages { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }

/* booking page: salon questions and rescheduling */
.intake-form { margin: 16px 0; }
.intake-form.intake-todo { border: 2px solid #f59f00; }
.intake-yn { border: 0; padding: 0; margin: 0 0 10px; }
.intake-yn legend { font-weight: 600; margin-bottom: 4px; }
.form .intake-yn label.check { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 18px 0 0; }
.form .intake-yn label.check input { margin: 0; width: auto; }
.resched { margin-top: 12px; }
.resched > summary { list-style: none; display: inline-block; cursor: pointer; }
.resched > summary::-webkit-details-marker { display: none; }
.resched-list { display: grid; gap: 6px; max-height: 320px; overflow: auto; margin: 8px 0; }
.resched-opt { border: 1px solid #e5e5ea; border-radius: 10px; padding: 8px 10px; align-items: flex-start; }
.resched-opt:has(input:checked) { border-color: var(--brand, #6d28d9); background: #faf8ff; }

/* ---- For salons: hub, feature and business-type pages ---- */
.pro { max-width: 1120px; margin: 0 auto; padding-bottom: 24px; }
.pro h2 { font-size: 1.55rem; margin: 0 0 6px; letter-spacing: -.01em; }
.pro h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.pro .pro-card h2.pro-card-t { font-size: 1.05rem; margin: 6px 0 6px; letter-spacing: 0; }   /* feature/business cards: h2 for the outline (h1 → h2), h3 look */
.pro p { margin: 0 0 8px; }
.pro-crumbs { margin: 18px 0 0; color: var(--muted); }
/* small text links that stand alone: at least 24 px tall to tap (WCAG 2.5.8) */
.pro-crumbs a, .pro-back a { display: inline-block; padding: 4px 0; min-height: 24px; }
.pro-hero { text-align: center; padding: 56px 20px 36px; margin: 16px 0 8px; border-radius: 22px;
  background: radial-gradient(1200px 420px at 50% -10%, var(--accent-soft), transparent 70%), linear-gradient(180deg, var(--brand-soft), var(--card)); border: 1px solid var(--line); }
.pro-hero-sm { padding: 40px 20px 30px; }
.pro-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; margin: 10px auto 14px; max-width: 820px; letter-spacing: -.02em; }
.pro-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--brand); font-weight: 600; font-size: .85rem; }
.pro-lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; margin: 0 auto 8px !important; }
.pro-hero-ico { display: block; font-size: 2.6rem; margin-bottom: 6px; }
.pro-hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pro-hero-btns .btn { padding: 12px 22px; font-size: 1rem; }
.pro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 30px auto 0; }
.pro-stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; }
.pro-stats strong { display: block; font-size: 1.6rem; color: var(--brand); line-height: 1.1; }
.pro-stats span { font-size: .85rem; color: var(--muted); }
.pro-section { margin: 44px 0; }
.pro-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.pro-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.pro-card p { color: var(--muted); }
.pro-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.pro-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.pro-feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pro-feature { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: transform .12s, box-shadow .12s, border-color .12s; }
.pro-feature:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #d9cdc4; }
.pro-ico { font-size: 1.6rem; }
.pro-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.pro-type { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 18px; border-radius: 16px; color: var(--ink);
  background: linear-gradient(160deg, var(--brand-soft), var(--card) 70%); border: 1px solid var(--line); transition: transform .12s, box-shadow .12s; }
.pro-type:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pro-type-ico { font-size: 2rem; }
.pro-arrow { position: absolute; right: 16px; top: 18px; color: var(--brand); font-weight: 700; }
.pro-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pro-steps li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.pro-steps p { color: var(--muted); }
.pro-step-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.pro-pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.pro-pricing .pro-lead { margin: 0 !important; text-align: left; }
.pro-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pro-checks li { padding-left: 28px; position: relative; }
.pro-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pro-faq { display: grid; gap: 8px; margin-top: 14px; }
.pro-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pro-faq summary { cursor: pointer; font-weight: 600; }
.pro-faq details p { margin: 10px 0 0; color: var(--muted); }
.pro-where { margin-top: 14px; }
.pro-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 44px 0 8px; padding: 28px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--brand), #b9837a 60%, var(--accent)); }
.pro-cta h2 { color: #fff; }
.pro-cta p { color: rgba(255, 255, 255, .88); max-width: 640px; }
.pro-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* /for-salons/compare: first column = criterion, second = BELLOO (highlighted) */
.cmp-table { min-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cmp-table th, .cmp-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-weight: 700; }
.cmp-table tbody th { font-weight: 600; width: 18%; }
/* one-to-one page (3 columns): fits a phone, no sideways scrolling that hides the competitor */
.cmp-table.cmp-one { min-width: 0; width: 100%; }
@media (max-width: 480px) { .cmp-table.cmp-one th, .cmp-table.cmp-one td { padding: 8px; font-size: 14px; overflow-wrap: anywhere; } .cmp-table.cmp-one tbody th { width: 32%; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; letter-spacing: 0; } }
.cmp-table td:nth-child(2), .cmp-table th:nth-child(2) { background: rgba(244, 110, 152, .08); }
/* /blog?page=N: plain links between list pages */
.blog-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0 8px; }
/* booking page: optional Google review invite (src/google-profile.js) */
.google-invite { margin: 14px 0; padding: 16px 18px; }
.google-invite h3 { margin: 0 0 6px; font-size: 1.05rem; }
/* city page: salons beyond the cards, as plain links (views/landing.ejs) */
.salon-links { columns: 3 200px; gap: 18px; padding: 0; margin: 14px 0 0; list-style: none; font-size: .92rem; }
.salon-links li { break-inside: avoid; padding: 3px 0; }
.more-refine { text-align: center; margin: 6px 0 0; }
/* all-platforms table on a phone scrolls sideways: the criterion column stays in view */
@media (max-width: 760px) {
  .cmp-table:not(.cmp-one) tbody th, .cmp-table:not(.cmp-one) thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
  .cmp-table:not(.cmp-one) tbody th { width: 112px; min-width: 112px; hyphens: auto; -webkit-hyphens: auto; }
}
.pro-cta .btn { background: #fff; color: #8A6343; border-color: #fff; }   /* fixed brown: the white button stays white in dark mode (5.3:1) */
.pro-cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (max-width: 980px) {
  .pro-feature-grid, .pro-type-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-grid3, .pro-steps, .pro-feature-grid-3 { grid-template-columns: 1fr; }
  .pro-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pro-feature-grid, .pro-type-grid { grid-template-columns: 1fr; }
  .pro-stats { grid-template-columns: 1fr; }
  .pro-hero { padding: 36px 16px 26px; }
}
.pro-feature.pro-feature-cta { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); justify-content: center; }
.pro-feature.pro-feature-cta .small { color: inherit; }   /* full opacity: .85 gave 4.36:1 */
/* "New" features (pro.js isNew) and their small illustrations (views/pro/_visual.ejs) */
.pro-new { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; vertical-align: 1px; }
.pro-feature-new { position: relative; border-color: var(--brand); }
.pro-feature-new .pro-new { position: absolute; top: 14px; right: 14px; }
.pro-vis { max-width: 520px; margin: 26px auto 0; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pv-chips span { padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); font-size: .82rem; font-weight: 600; }
.pv-day { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.pv-h { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--muted); }
.pv-slot { padding: 8px 10px; border-radius: 10px; font-size: .88rem; }
.pv-slot.busy { background: var(--bg, rgba(0, 0, 0, .04)); color: var(--muted); border: 1px solid var(--line); }
.pv-slot.gap { background: #E6F4E8; color: #1B5E28; border: 1px dashed #237032; font-weight: 700; }
.pv-modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pv-modes li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .92rem; }
.pv-modes li.on { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.pv-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); }
.pv-modes li.on .pv-dot { border: 5px solid var(--brand); }
.pv-mail { position: relative; }
.pv-ex { position: absolute; top: 0; right: 0; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pv-big { display: block; font-size: 1.25rem; color: var(--brand); margin: 0 70px 12px 0; line-height: 1.25; }
.pv-mail dl { margin: 0; display: grid; gap: 6px; }
.pv-mail dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); font-size: .9rem; }
.pv-mail dt { color: var(--muted); } .pv-mail dd { margin: 0; font-weight: 700; }
.pro-feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pv-warn { margin: 0 70px 12px 0 !important; padding: 6px 10px; border-radius: 8px; background: #FFF4DE; color: #8A4B08; font-size: .85rem; font-weight: 700; display: inline-block; }
.pv-low { color: #B42318; }
.pv-code { margin: 22px 0 0; padding: 12px; border-radius: 10px; background: var(--hover); font: 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.pv-wallet { position: relative; }
.pv-pass { display: grid; gap: 2px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #3E2C23, #8A6343); color: #fff; }
.pv-pass span { font-size: .8rem; opacity: .9; } .pv-pass b { font-size: 1.5rem; }
.pv-insta { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; margin-top: 22px; }
.pv-insta-img { display: flex; align-items: flex-end; height: 120px; padding: 8px; border-radius: 10px; background: linear-gradient(135deg, #8A6343, #D9B79A); }
.pv-insta-img b { background: #fff; color: #2B2420; border-radius: 6px; padding: 2px 6px; font-size: .78rem; }
@media (prefers-color-scheme: dark) { .pv-warn { background: #3a2d12; color: #F5C35A; } .pv-low { color: #F07A7A; } }
.pv-name { display: block; font-size: 1.05rem; margin: 0 70px 6px 0; }
.pv-price strong { font-size: 1.5rem; color: var(--brand); } .pv-price span { color: var(--muted); font-size: .9rem; }
.pv-checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.pv-checks li::before { content: '✓ '; color: #237032; font-weight: 700; }
.pro-vis .pv-below { margin-top: 24px; }   /* clears the "Example" tag (.pv-ex) */
.pv-acts.pv-beside { margin: 0 72px 12px 0; }   /* first row next to the "Example" tag */
.pv-checks li.pv-off::before { content: '✕ '; color: #B42318; }
/* round 24: Faz H visuals (views/pro/_visual.ejs) */
.pv-mail dd s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.pv-mail dd.pv-muted { color: var(--muted); font-weight: 600; }
.pv-mail dt, .pv-mail dd { min-width: 0; overflow-wrap: anywhere; }
.pv-line { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.pv-modes li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.pv-url { margin: 0 70px 0 0; font: 600 .92rem/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--brand); overflow-wrap: anywhere; }
.pv-swatches { display: flex; gap: 8px; margin: 4px 0 2px; }
.pv-swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.pv-sw-brown { background: #8A6343; } .pv-sw-rose { background: #B4235A; } .pv-sw-teal { background: #1F6F5C; }
.pv-sw-navy { background: #2F4B8F; } .pv-sw-plum { background: #6B3FA0; } .pv-sw-ink { background: #2B2B2B; }
@media (prefers-color-scheme: dark) { .pv-checks li.pv-off::before { color: #F07A7A; } }
.pv-phone { position: relative; max-width: 320px; border-radius: 26px; border-width: 6px; display: grid; gap: 4px; }
.pv-phone .pv-big { margin: 2px 60px 2px 0; }
.pv-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pv-acts span { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.pv-acts span.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
@media (max-width: 520px) { .pro-feature-grid-2 { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { .pv-slot.gap { background: #1E3323; color: #A8E0B2; border-color: #4E9A5C; } }

/* WhatsApp */
.wa-btn { border-color: #25D366 !important; color: #128C7E !important; }
.wa-btn::before { content: ""; width: 16px; height: 16px; background: #25D366; border-radius: 50%; display: inline-block;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 0 0-8.7 14.9L2 22l5.3-1.3A10 10 0 1 0 12 2z'/></svg>") center/contain no-repeat; }
.wa-optin { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #ecfdf3; border: 1px solid #b7ebc6; border-radius: 10px; padding: 10px 12px; margin: 12px 0; }
.wa-optin span { flex: 1 1 200px; }

/* Deal cards: three per row on desktop, two on tablets, one on phones */
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-grid .offer-thumb { height: 190px; }
.offer-rating { font-size: .88rem; color: #d97706; white-space: nowrap; }
.offer-rating strong { color: var(--ink); }
.offer-rating .muted { font-size: .82rem; }

/* consent forms */
.sign-doc h1 { margin-top: 4px; }
.sign-body { white-space: pre-wrap; background: var(--hover); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 12px 0 18px; max-height: 50vh; overflow: auto; font-size: .95rem; }
.sign-pad-wrap { margin: 8px 0 14px; }
.sign-pad { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; border: 2px dashed #c9bcb1; border-radius: 12px; background: #fff; touch-action: none; margin: 6px 0; }
.sign-img { max-width: 320px; width: 100%; border-bottom: 1px solid var(--line); background: #fff; }
.sign-done { border-top: 1px solid var(--line); padding-top: 12px; }
.consent-todo { border: 2px solid #f59f00; border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
@media print { .top, footer, .sign-done .btn, .ann-wrap { display: none !important; } .sign-body { max-height: none; } }

/* SEO breadcrumbs on salon / expert / service pages */
.crumbs { margin: 14px 0 10px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--text, inherit); }
.svc-page-link { font-weight: 600; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 18px; margin: 10px 0 4px; }
.svc-facts div { display: flex; flex-direction: column; }
.svc-facts span { color: var(--muted); font-size: .85em; }
.svc-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Local SEO pages */
details.faq { border-top: 1px solid var(--line, #e7e1da); padding: 10px 0; }
details.faq summary { cursor: pointer; }
details.faq p { margin: 8px 0 0; }

/* corporate benefit next to deal prices (corporate.js) */
.corp-perk { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #E8F0FE; color: #0B50C8; font-size: 12px; font-weight: 600; white-space: nowrap; }

.more-wrap { text-align: center; margin: 18px 0 8px; }

/* WCAG 2.4.1: "skip to content" link, visible only when it gets keyboard focus */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10000; background: #14171F; color: #fff !important; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; outline: 3px solid #fff; outline-offset: 2px; }
main:focus { outline: none; }

/* a11y-focus-ring: WCAG 2.4.7 - a clear, consistent keyboard focus ring on links, buttons and summaries */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:not(main):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Help centre for salons (/for-salons/help, src/help.js): 375 px first */
.help .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-search { margin: 18px auto 0; max-width: 560px; }
.help-search input { width: 100%; min-height: 48px; font-size: 16px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: inherit; box-sizing: border-box; }
.help-search input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-count { text-align: center; min-height: 1.4em; margin: 8px 0 0; }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.help-card { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; padding: 16px 18px; }
.help-card:hover, .help-card:focus-visible { border-color: var(--brand); }
.help-card[hidden] { display: none; }
.help-ico { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.help-article { max-width: 720px; margin: 24px auto 0; }
.help-head h1 { margin: 8px 0; }
.help-where { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: inline-block; }
.help-step { margin: 26px 0; }
.help-step h2 { display: flex; gap: 10px; align-items: center; font-size: 19px; margin: 0 0 8px; }
.help-step ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; line-height: 1.55; }
.help-notes { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 14px 18px; margin: 26px 0; }
.help-notes h2 { font-size: 16px; margin: 0 0 6px; }
.help-notes ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.help-cta { margin: 20px 0; }
.help-more { max-width: 720px; margin-left: auto; margin-right: auto; }
.help-grid-sm .help-card { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; }
.help-grid-sm .help-ico { font-size: 20px; margin: 0; }
.help-contact { text-align: center; }
@media (min-width: 640px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Salon page: "our other branches" (src/branches.js) */
.sp-branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sp-branches a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: inherit; text-decoration: none; min-height: 44px; }
.sp-branches a:hover, .sp-branches a:focus-visible { border-color: var(--brand); }
@media (min-width: 640px) { .sp-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a link inside an alert sentence (e.g. the expired hold page): not by colour only (WCAG 1.4.1) – round 14 */
.alert a:not(.btn), .flash a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
/* hold page (/h/…): the terms checkbox meets the 24px target size with its spacing (WCAG 2.5.8) – round 14 */
.hold-details .check { padding-top: 6px; }
.hold-details .check input[type=checkbox] { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* round 18 (a11y): the map credit link is underlined (leaflet.css loads later, so one class more); lone "all features" back-link gets a 24px target (2.5.8) */
.leaflet-container .leaflet-control-attribution a { text-decoration: underline; }
p > a[href$="for-salons#features"] { display: inline-block; padding: 4px 0; min-height: 24px; }

/* "Invite a friend" card (views/partials/invite_card.ejs: /my, /my/rewards) and the invitation page (views/invite.ejs) */
.inv-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 8px 24px rgba(46, 36, 31, .07); }
.inv-head { display: flex; gap: 14px; align-items: center; }
.inv-head h2 { margin: 0 0 2px; font-size: 1.15rem; }
.inv-head p { margin: 0; }
.inv-amt { flex: none; min-width: 78px; height: 78px; padding: 0 8px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; text-align: center;
  color: #fff; background: #C93468; box-shadow: 0 0 0 6px var(--accent-soft, #fde8ef); }   /* white on #C93468: 5.3:1 */
.inv-gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inv-gets li { background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; font-size: .9rem; }
.inv-who { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.inv-field { display: grid; gap: 4px; margin: 0; }
.inv-row { display: flex; gap: 8px; }
.inv-row input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: .88rem; background: var(--hover); }
.inv-code { margin: 0; }
.inv-code .code-inline { font-weight: 800; letter-spacing: .08em; color: var(--brand); }
.inv-share { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-share .btn { display: inline-flex; align-items: center; gap: 6px; }
.btn.inv-wa { background: #117A4E; border-color: #117A4E; color: #fff; }   /* WhatsApp green, darkened for 5.4:1 white text */
.btn.inv-wa:hover { background: #0D6440; }
.inv-terms { margin: 0; }
.inv-hist { margin-top: 18px; }
.inv-hist table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.inv-hist th, .inv-hist td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-hist th { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.inv-st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--hover); color: var(--muted); }
.inv-st.ok { background: var(--ok-soft, #e7f6ea); color: #1D6B32; }
.auth-ref { margin: 4px 0; }
.auth-ref summary { cursor: pointer; font-size: .9rem; color: var(--brand); font-weight: 600; }
.auth-ref input { margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.inv-page { max-width: 640px; margin: 24px auto; padding: 0 16px; display: grid; gap: 16px; text-align: center; }
.inv-page .inv-amt { margin: 0 auto; width: 120px; height: 120px; font-size: 1.35rem; }
.inv-page h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); }
.inv-page .inv-gets { text-align: left; }
.inv-page .inv-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .inv-gets { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { .inv-st.ok { color: #7BC88A; } }
/* e-mail verification line (partials/verify_banner.ejs; was an inline style, round 25) */
.verify-banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .verify-banner form { margin: 0; }

/* dropdown.css */
/* Header dropdowns (language with flags, currency) – shared by site and panels */
.switchers { display: inline-flex; gap: 6px; align-items: center; margin-left: 4px; }
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink); user-select: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary:hover { background: var(--hover); }
.dd[open] > summary { border-color: var(--brand, var(--primary)); box-shadow: 0 0 0 3px rgba(138, 99, 67, .12); }
.dd-caret::before { content: "▾"; font-size: 11px; color: var(--muted); display: inline-block; transition: transform .15s; }
.dd[open] .dd-caret::before { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(16, 24, 40, .16); padding: 6px; z-index: 60; }
.dd-menu.dd-right { left: auto; right: 0; }
.dd-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 6px 10px 4px; }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.dd-menu a:hover { background: var(--hover); text-decoration: none; }
.dd-menu a.on { background: var(--brand-soft, var(--primary-soft)); color: var(--brand, var(--primary)); font-weight: 600; }
.dd-check { margin-left: auto; }
.dd-foot { font-size: 11.5px; color: var(--muted); padding: 8px 10px 4px; border-top: 1px solid var(--line); margin-top: 4px; line-height: 1.4; }
.cur-sym { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 4px; background: var(--hover); border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; flex: none; }
.cur-note { margin: -6px 0 10px; }
@media (max-width: 760px) {
  .dd-code { display: none; }
  .dd-menu { left: auto; right: 0; }
}
.dd-menu.filter-menu { width: 360px; min-width: 0; }
@media (max-width: 640px) { .dd-menu.filter-menu { width: auto; } }

/* messages.css */
/* Messaging (customer pages + salon/staff panels) */
.msg-card { padding: 0; overflow: hidden; }
.msg-list { display: flex; flex-direction: column; }
.msg-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.msg-item:first-child { border-top: 0; }
.msg-item:hover { background: var(--hover); text-decoration: none; }
.msg-item.unread .msg-preview { color: var(--ink); font-weight: 600; }
.msg-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, #FFA3C0, #C29A74); color: #fff; }
.msg-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.msg-top { display: flex; justify-content: space-between; gap: 10px; }
.msg-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-time, .msg-sub { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.msg-preview { font-size: .9rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #D2557A; color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
/* empty state with a large icon (round 20: was .msg-empty) – a modifier of .empty */
.empty-icon { font-size: 2rem; }
.empty-icon p { font-size: .95rem; }
.msg-thread-card { padding: 0; }
.msg-thread-card > .card-body, .msg-thread-card { display: flex; flex-direction: column; }
.msg-thread-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.msg-thread { display: flex; flex-direction: column; gap: 10px; padding: 16px; max-height: 60vh; min-height: 220px; overflow-y: auto; background: var(--bg); }
.msg-bubble { max-width: min(78%, 560px); padding: 9px 12px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); align-self: flex-start; }
.msg-bubble.mine { align-self: flex-end; background: #FCEEF2; border-color: #F6C9D7; }
.msg-bubble.theirs.role-staff, .msg-bubble.theirs.role-salon { border-left: 3px solid #9A7455; }
.msg-who { font-size: .75rem; color: var(--muted); margin-bottom: 3px; }
.msg-body { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; line-height: 1.45; }
.msg-compose { padding: 12px 16px; border-top: 1px solid var(--line); margin: 0; }
.msg-compose textarea { width: 100%; resize: vertical; min-height: 70px; margin: 0 0 8px; }
.msg-compose-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.msg-thread-card > p, .msg-thread-card .card-body > p { padding: 0 16px 12px; margin: 0; }
.user-btn { position: relative; }
.user-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #D2557A; color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--card); }
@media (prefers-color-scheme: dark) {
  .msg-bubble.mine { background: #3d2129; border-color: #5a2f3b; }
}
@media (max-width: 640px) { .msg-bubble { max-width: 90%; } .msg-thread { max-height: 55vh; } }
.msg-share { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.msg-share.on { background: #FFF6E5; }
.msg-readonly { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); }
@media (prefers-color-scheme: dark) { .msg-share.on { background: #3a2d12; } }

/* mobile.css */
/* Header layout: brand | nav | switchers (+ burger on mobile) */
.top-in { flex-wrap: nowrap; }
.top-in .brand { order: 1; flex: none; }
.top-in .nav { order: 2; margin-left: auto; flex-wrap: nowrap; }
.top-in .top-right { order: 3; display: flex; align-items: center; gap: 6px; }
input.mnav-toggle { display: none !important; }
.burger { display: none; width: 40px; height: 38px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; background: var(--card); }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .15s, opacity .15s; }
.mnav-toggle:checked ~ .top-right .burger span:nth-child(1),
.top-in:has(.mnav-toggle:checked) .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top-in:has(.mnav-toggle:checked) .burger span:nth-child(2) { opacity: 0; }
.top-in:has(.mnav-toggle:checked) .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .top-in .top-right { margin-left: auto; }
  .burger { display: inline-flex; }
  .top-in .nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 8px 0 4px; padding-top: 8px; border-top: 1px solid var(--line); }
  .mnav-toggle:checked ~ .nav { display: flex; }
  .top-in .nav > a, .top-in .nav form { width: 100%; }
  .top-in .nav > a { padding: 11px 12px; font-size: 1rem; }
  .top-in .nav > a.btn { justify-content: center; margin-top: 6px; }
  .top-in .nav form button { width: 100%; justify-content: center; padding: 10px; margin-top: 6px; }
  .brand small { display: none; }
  .logo { width: 32px; height: 32px; }
}

/* Toolbar day selector on phones: 4 equal parts, date as a calendar button */
@media (max-width: 640px) {
  main.wrap { padding-top: 14px; }
  .day-seg { display: grid; grid-template-columns: repeat(3, 1fr) 46px; width: 100%; overflow: visible; }
  .day-seg label { padding: 8px 4px; font-size: .85rem; justify-content: center; }
  .day-date { position: relative; }
  .day-date input[type=date] { position: absolute; inset: 0; opacity: 0; width: 100%; max-width: none; cursor: pointer; }
  .toolbar-right { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }
  .sort-select select { font-size: .85rem; padding: 8px 26px 8px 8px; }
  .filter-pop > summary { padding: 8px 10px; }
  /* long placeholders ("Hizmet, salon, şehir veya posta kodu…") fit; the typed text stays 16px (no iOS zoom) */
  .hs-field input::placeholder { font-size: .875rem; }
  .results-line { margin: 12px 2px; }
  h1 { font-size: 1.5rem; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dt { margin-top: 8px; font-size: .82rem; }
  .row > .btn { flex: 1 1 auto; }
}

/* Sticky booking bar on phones (offer page) */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.08); }
  .mobile-cta strong { font-size: 1.25rem; }
  .mobile-cta .btn { padding: 12px 22px; }
  body:has(.mobile-cta) .foot { padding-bottom: 90px; }
  .offer-staff .muted.small[style] { display: none; }
  .offer-cover { height: 180px; border-radius: 12px; }
}
@media (max-width: 520px) {
  .profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .profile-stats div { border-left: 0 !important; border-top: 1px solid var(--line); padding: 10px 4px; }
  .profile-stats div:nth-child(odd) { border-right: 1px solid var(--line); }
  .profile-stats div:nth-child(-n+2) { border-top: 0; }
  .profile-stats span { font-size: .7rem; letter-spacing: .02em; }
  .profile-head { padding: 16px 16px 0; }
  .profile-hero { height: 170px; }
  .staff-hero-bg { height: 110px; }
  .gallery { grid-auto-rows: 110px; }
  .team-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .member { padding: 14px 10px; }
  .member-photo { width: 76px; height: 76px; font-size: 28px; }
  .member p.muted { display: none; }
}
.list .item { padding-right: 130px; }
@media (max-width: 640px) {
  .list .item { padding-right: 16px; }
  .list .item .st { position: static; display: inline-block; margin-top: 8px; }
  .review-form .star-input label { font-size: 2.4rem; }
}
.top-in .nav > a { white-space: nowrap; }

/* Last-minute info: inline, not a warning box */
.lm-note { background: none !important; border: 0 !important; padding: 0 !important; margin: -6px 0 12px !important; font-size: .86rem; font-weight: 600; color: var(--muted); }
.lm-note.on { color: var(--accent-strong, #C2456B); }   /* accent text was 3.94:1 */

/* Dark mode: soften the light-only status colours */
@media (prefers-color-scheme: dark) {
  .flash.ok { background: #173323; color: #8ce0a4; border-color: #1f4d32; }
  .flash.err { background: #3b1d1f; color: #f5a3a3; border-color: #5a2a2d; }
  .flash.info { background: #3A2C22; color: #E2C3A6; border-color: #5A4332; }
  .st { background: #3A302A; color: #c3cad6; }
  .st-confirmed, .st-active { background: #173323; color: #8ce0a4; }
  .st-completed { background: #3A2C22; color: #E2C3A6; }
  .st-pending_payment, .st-paused { background: #3a2d12; color: #f5c35a; }
  .st-refunded, .st-cancelled, .st-no_show, .st-expired { background: #3b1d1f; color: #f5a3a3; }
  .lm-badge { background: #fcc419; color: #2E241F; }
  .code { background: #3A2C22; color: #E2C3A6; border-color: #D2A984; }
  .hs-field input, .hs-loc-btn, .hs-field select { color: #2E241F; }
  .cat-pill.on { background: #F1EAE4; color: #1A1512; border-color: #F1EAE4; }
  .pill-link.on { background: #F1EAE4; color: #1A1512; border-color: #F1EAE4; }
}

/* User icon + account menu */
.user-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; list-style: none; padding: 0; }
.user-btn::-webkit-details-marker { display: none; }
.user-btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.user-btn.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.user-dd > summary.user-btn { padding: 0; gap: 0; }
.user-initial { font-weight: 700; font-size: 15px; }
.user-menu { min-width: 240px; }
.user-head { display: grid; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-head strong { font-size: 14px; }
.mi { width: 22px; text-align: center; }
.user-logout { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.user-logout button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: none; color: var(--danger); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; }
.user-logout button:hover { background: var(--hover); }

/* Category bar under the header */
.cat-nav { border-top: 1px solid var(--line); background: var(--card); }
.cat-nav-in { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.cat-nav-in::-webkit-scrollbar { display: none; }
.cat-nav-in a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 8px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9rem; border: 1px solid transparent; }
.cat-nav-in a span { width: 26px; height: 26px; border-radius: 50%; background: var(--hover); display: grid; place-items: center; font-size: .95rem; }
.cat-nav-in a:hover { border-color: var(--line); text-decoration: none; }
.cat-nav-in a.on { background: var(--ink); color: var(--card); }
.cat-nav-in a.on span { background: rgba(255,255,255,.15); }
@media (prefers-color-scheme: dark) { .cat-nav-in a.on { background: #F1EAE4; color: #1A1512; } }
@media (max-width: 640px) { .cat-nav-in { padding-top: 6px; padding-bottom: 6px; } .cat-nav-in a { font-size: .85rem; padding: 5px 12px 5px 6px; } }
.user-dd > summary.user-btn { border-radius: 50%; width: 38px; height: 38px; display: inline-grid; place-items: center; font-size: 15px; }
@media (max-width: 440px) {
  .top-right { gap: 4px; }
  .switchers { gap: 4px; margin-left: 0; }
  .switchers .dd > summary { padding: 6px 7px; gap: 4px; }
  .switchers .dd-caret { display: none; }
  .switchers .cur-sym { min-width: 26px; }
  .user-btn, .user-dd > summary.user-btn, .burger { width: 36px; height: 36px; }
  .brand { font-size: 1rem; gap: 8px; }
  .logo { width: 30px; height: 30px; font-size: 15px; }
  /* sort gets its own full-width row so its label is not cut ("En yakın za…") */
  .toolbar-right { grid-template-columns: 1fr auto; }
  .toolbar-right .sort-select { grid-column: 1 / -1; grid-row: 2; }
}

/* ---- Installed app (PWA), round 17 ----
   Bottom tab bar (views/partials/app_tabbar.ejs): only in the installed app on a phone. `display-mode: standalone`
   works before any script; html.is-standalone (public/pwa.js) also covers older iPhones (navigator.standalone). */
.app-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); border-top: 1px solid var(--line);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); justify-content: space-around; box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
.app-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 4px 2px;
  font-size: .72rem; line-height: 1.2; color: var(--muted); text-decoration: none; border-radius: var(--radius); text-align: center; }
.app-tabbar a span { font-size: 1.25rem; line-height: 1; }
.app-tabbar a[aria-current="page"] { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.app-tabbar a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
@media (max-width: 760px) and (display-mode: standalone) {
  .app-tabbar { display: flex; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .as-root, .share-toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  html.is-standalone .app-tabbar { display: flex; }
  html.is-standalone body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  html.is-standalone .as-root, html.is-standalone .share-toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* "Install the app" card after the first booking (views/partials/install_card.ejs) */
.install-card { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 18px 0 0; padding: 16px 44px 14px 16px; background: var(--brand-soft); border: 1px solid var(--line); text-align: left; }
.install-card img { flex: none; border-radius: 12px; }
.install-card h2 { font-size: 1.05rem; margin: 0 0 4px; }
.install-card p { margin: 0 0 6px; }
.install-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.install-card-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; border-radius: 50%; cursor: pointer; }
.install-card-x:hover { background: var(--hover); color: var(--ink); }
@media (max-width: 420px) { .install-card { flex-direction: column; } }

/* header.css */
/* Site header – one row: logo | categories + More | search | flag & currency | account buttons */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .top-in { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; min-height: 70px; padding-top: 10px; padding-bottom: 10px; max-width: 1600px; }
.top .brand { order: 0; flex: none; }
.top-sep { width: 1px; height: 26px; background: var(--line); flex: none; }

.top-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.top-nav > a, .top-more > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .97rem; white-space: nowrap; border: 0; background: none; }
.top-nav > a:hover, .top-more > summary:hover { background: var(--hover); text-decoration: none; }
.top-nav > a.on { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.top-more > summary { box-shadow: none !important; }
.top-more[open] > summary { background: var(--hover); }
.top-chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .15s; flex: none; }
details[open] > summary .top-chev { transform: translateY(1px) rotate(-135deg); }
.top-more .dd-menu { min-width: 230px; }
.top-more .dd-title:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px; }

.top .top-right { order: 1; margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.top-search { position: relative; display: flex; align-items: center; width: 200px; }
@media (min-width: 1600px) { .top-search { width: 260px; } }
.top-search svg { position: absolute; left: 13px; color: var(--muted); pointer-events: none; }
.top-search input { margin: 0; height: 42px; padding: 0 14px 0 40px; border-radius: 12px; background: var(--hover); border: 1px solid var(--line); font-size: .92rem; }
.top-search input::placeholder { color: var(--muted); }
.top-search input:focus { background: var(--card); }

/* Flag + currency pill */
.loc-pill > summary { justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); gap: 0; }
.loc-pill > summary:hover, .loc-pill[open] > summary { background: var(--hover); color: var(--brand); border-color: #d9cdc4; }
.loc-flag { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 35% center; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); display: block; flex: none; }
.loc-flag.sm { width: 20px; height: 20px; box-shadow: 0 0 0 1px var(--line); }
.loc-cur { display: inline-flex; align-items: baseline; gap: 4px; line-height: 1; }
.loc-cur b { font-size: 15px; font-weight: 700; color: var(--ink); }
.loc-cur small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.loc-menu { min-width: 340px; }
.loc-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4px; }
.loc-cols > div + div { border-left: 1px solid var(--line); padding-left: 4px; }

/* Account buttons */
.top-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; white-space: nowrap; border: 1px solid transparent; }
.top-btn:hover { text-decoration: none; }
.top-btn-ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.top-btn-ghost:hover { background: var(--hover); border-color: #d9cdc4; }
.top-btn-solid { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
.top-btn-solid:hover { filter: brightness(1.08); }
.top .user-dd > summary.user-btn { width: 42px; height: 42px; }

/* Narrower screens: hide search, then the salon button, then the nav moves to its own scrollable row */
@media (max-width: 1479px) { .top-search, .top-sep-r { display: none; } }
@media (max-width: 1289px) and (min-width: 1100px) { .top-btn-ghost { display: none; } }
@media (max-width: 1099px) {
  .top .top-in { flex-wrap: wrap; row-gap: 6px; min-height: 0; }
  .top .top-in > .top-sep { display: none; }
  .top-nav { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 6px 12px 2px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav > a, .top-more > summary { font-size: .9rem; padding: 7px 11px; }
  .top-more { position: static; }
  .top-more .dd-menu { left: auto; right: 12px; top: auto; margin-top: 6px; }
  /* fade the edge that has more items behind it (classes set by app.js) */
  .top-nav.more-right { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .top-nav.more-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
  .top-nav.more-left.more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
}
@media (max-width: 640px) {
  .top .top-right { gap: 6px; }
  .top-btn-ghost { display: none; }
  .top-btn { height: 38px; padding: 0 12px; }
  .loc-pill > summary { width: 38px; height: 38px; }
  .loc-pill { position: static; }
  .loc-menu.dd-right { min-width: 0; width: auto; left: 12px; right: 12px; top: auto; margin-top: 8px; }
  .top .user-dd > summary.user-btn { width: 38px; height: 38px; }
}
@media (max-width: 380px) { .top-btn-solid svg { display: none; } }

/* "For salons" link: opens the salons home page (/for-salons) */
.top-nav > a.top-pro-link { color: var(--brand); font-weight: 600; }
.top-nav > a.top-pro-link.on { background: var(--brand-soft); }

/* profile photo in the header user button */
.user-btn .user-photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.user-btn:has(.user-photo) { padding: 0; overflow: visible; }

/* "More" menu items */
.top-more .dd-menu a .mm-ico { width: 22px; text-align: center; flex: none; }
.top-more .mm-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* "Free today" link: first item of the header nav, with a live dot */
.top-nav > a.top-today { color: #1A7A50; font-weight: 700; }   /* was #1F8A5B: 4.33 on white, 3.91 on #e9f7ec */
.top-nav > a.top-today.on { background: #e9f7ec; }
@media (prefers-color-scheme: dark) { .top-nav > a.top-today { color: #4CC38A; } .top-nav > a.top-today.on { background: #173323; } }   /* 7.5:1; here, not in cards.css, so the for-salons bundle (no cards.css) gets it too */
.top-today-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FB344; box-shadow: 0 0 0 3px rgba(47,179,68,.2); flex: none; }

/* announce.css */
/* Announcement bar above the site header (also used for the admin preview) */
.ann-wrap { position: relative; display: grid; overflow: hidden; }
.ann-wrap[hidden] { display: none; }
.ann-wrap > .ann-bar { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
.ann-wrap > .ann-bar.on { opacity: 1; visibility: visible; transform: none; }
.ann-bar { --ann-mark: #FFD36E; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 8px 48px; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35; text-align: center;
  background: linear-gradient(100deg, #5C3F2A 0%, #8A6343 55%, #C47F8F 100%); }
.ann-in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ann-text { color: inherit; }
a.ann-text:hover { text-decoration: none; } a.ann-text:hover .ann-arrow { transform: translateX(3px); }
.ann-arrow { display: inline-block; transition: transform .15s; opacity: .85; }
.ann-text mark { background: none; color: var(--ann-mark); font-weight: 800; }
.ann-code { font: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: inherit; background: rgba(255,255,255,.14); border: 1.5px dashed rgba(255,255,255,.55); border-radius: 8px; padding: 3px 10px; cursor: pointer; white-space: nowrap; }
.ann-code:hover { background: rgba(255,255,255,.24); }
.ann-code.copied { border-style: solid; }
.ann-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .8; }
.ann-x:hover { opacity: 1; background: rgba(255,255,255,.15); }

.ann-dark  { background: linear-gradient(100deg, #1E1612, #3A2C22); --ann-mark: #F2B8C6; }
.ann-rose  { background: linear-gradient(100deg, #B23A62, #D2557A 55%, #E9A3B5); --ann-mark: #FFF1A8; }
.ann-green { background: linear-gradient(100deg, #1C5A6E, #1F8A5B 60%, #2FB344); --ann-mark: #B8F26A; }
.ann-gold  { background: linear-gradient(100deg, #7A4A0E, #B7791F 55%, #E0A21B); --ann-mark: #FFF6D6; }

.ann-mini { min-height: 0; padding: 7px 10px; border-radius: 8px; font-size: 13px; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
[data-ann-preview] { border-radius: 10px; padding: 10px 14px; }
[data-ann-preview] .ann-code[hidden] { display: none; }

@media (max-width: 640px) {
  /* one flowing paragraph: the code chip sits inline right after the text */
  .ann-bar { display: block; font-size: 12.5px; line-height: 1.4; padding: 7px 36px 7px 12px; min-height: 0; text-align: left; }
  .ann-in { display: block; }
  .ann-code { display: inline-block; margin-left: 6px; padding: 0 7px; font-size: 11px; line-height: 18px; border-width: 1px; border-radius: 6px; vertical-align: 1px; }
  .ann-x { right: 4px; width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ann-wrap > .ann-bar { transition: none; } }
