/* Rezbee web booking — customer pages. Tokens follow the site (index.html). */
:root {
  --primary: #00BCD4;
  --primary-dark: #0097A7;
  --primary-ink: #00747F;
  --primary-light: #B2EBF2;
  --secondary: #1A1A2E;
  --text: #333333;
  --text-light: #666666;
  --muted: #8A9699;
  --line: #E3EBED;
  --bg: #F4F8F9;
  --card: #FFFFFF;
  --ok: #2E9E5B;
  --warn: #D97706;
  --bad: #D14343;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 30, 35, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; }
a { color: var(--primary-ink); }
.book { max-width: 720px; margin: 0 auto; padding-bottom: 120px; }

/* Hero */
.book-hero { position: relative; background: var(--secondary); color: #fff; overflow: hidden; }
.book-hero-cover {
  height: 200px; background: var(--cover) center/cover no-repeat, linear-gradient(160deg, #06222A, #00505C);
}
.book-hero-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(6,34,42,.85) 100%);
}
.book-hero-body { position: relative; padding: 0 20px 18px; margin-top: -56px; }
.book-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.book-address { margin: 0; color: rgba(255,255,255,.85); font-size: 14px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.9); align-items: center; }
.book-meta .star { color: #FFC857; }
.book-views { display: inline-flex; align-items: center; gap: .3rem; color: rgba(255,255,255,.85); }
.book-views svg { opacity: .85; }
.book-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 600; font-size: 12px; }
.book-badge.open { background: rgba(46,158,91,.85); }
.book-badge.closed { background: rgba(209,67,67,.85); }
.book-hours-toggle { background: none; border: 0; color: #fff; text-decoration: underline; padding: 0; cursor: pointer; font-size: 13px; }
.book-hours { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; color: rgba(255,255,255,.9); }
.book-hours li { display: flex; justify-content: space-between; }
.book-hours li.today { font-weight: 700; color: #fff; }
.book-topbar { position: absolute; top: 10px; right: 10px; left: 10px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.book-brand { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; text-decoration: none; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.book-brand img { width: 26px; height: 26px; border-radius: 7px; }
.rw-lang { display: inline-flex; background: rgba(0,0,0,.35); border-radius: 999px; padding: 3px; backdrop-filter: blur(6px); }
.rw-lang-btn { background: none; border: 0; color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer; opacity: .8; }
.rw-lang-btn.active { background: #fff; color: var(--secondary); opacity: 1; }

/* App banner */
.book-appbar { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--text-light); }
.book-appbar img { width: 32px; height: 32px; border-radius: 8px; }
.book-appbar span { flex: 1; }
.book-appbar a { font-weight: 700; color: var(--primary-ink); text-decoration: none; white-space: nowrap; }
.book-appbar button { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0 2px; }

/* Main */
.book-main { padding: 12px 16px 0; }
.book-loading { padding: 40px 0; text-align: center; color: var(--muted); }
.book-notice { padding: 14px 16px; border-radius: 12px; background: #FFF4E5; color: #7A4B00; font-size: 14px; margin-bottom: 12px; }
.book-notice.bad { background: #FDECEC; color: #8B1D1D; }
.book-error { padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #8B1D1D; font-size: 14px; margin: 10px 0; }

/* Steps */
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.step-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: default; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.step.active .step-num { background: var(--primary); color: #fff; }
.step.done .step-num { background: var(--ok); color: #fff; }
.step-title { font-weight: 700; font-size: 16px; margin: 0; flex: 1; }
.step-summary { font-size: 13px; color: var(--text-light); margin: 2px 0 0; }
.step-change { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 600; color: var(--primary-ink); cursor: pointer; }
.step-body { padding: 0 16px 16px; }
.step.collapsed .step-body { display: none; }
.step.locked { opacity: .55; }
.step-hint { color: var(--muted); font-size: 13px; margin: -4px 0 10px; }

/* Services */
.svc-group-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.svc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.svc:hover { border-color: var(--primary-light); }
.svc.selected { border-color: var(--primary); background: #F0FBFD; }
.svc-check { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; color: #fff; font-size: 13px; }
.svc.selected .svc-check { background: var(--primary); border-color: var(--primary); }
.svc-photo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg); }
.svc-body { flex: 1; min-width: 0; }
.svc-name { font-weight: 600; font-size: 15px; margin: 0; }
.svc-desc { font-size: 12px; color: var(--muted); margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-meta { font-size: 13px; color: var(--text-light); margin: 2px 0 0; }
.svc-price { font-weight: 700; color: var(--secondary); white-space: nowrap; font-size: 15px; }
.svc-price.soft { color: var(--primary-ink); font-size: 12px; font-weight: 600; }

/* Workers */
.workers { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.worker { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; cursor: pointer; }
.worker.selected { border-color: var(--primary); background: #F0FBFD; }
.worker.off { opacity: .45; }
.worker-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--primary-light); margin: 0 auto 8px; display: grid; place-items: center; font-weight: 800; color: var(--primary-ink); font-size: 20px; }
.worker-name { font-weight: 600; font-size: 14px; margin: 0; }
.worker-sub { font-size: 12px; color: var(--muted); margin: 3px 0 0; }

/* Dates and times */
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: none; width: 64px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; }
.date.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.date-dow { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.date.selected .date-dow { color: rgba(255,255,255,.85); }
.date-day { font-size: 20px; font-weight: 800; line-height: 1.1; }
.date-mon { font-size: 11px; color: var(--muted); }
.date.selected .date-mon { color: rgba(255,255,255,.85); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.time { padding: 10px 0; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; font-size: 14px; }
.time.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.times-empty { color: var(--muted); font-size: 14px; padding: 12px 0; }
.times-label { font-size: 12px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .06em; }

/* Confirm */
.summary { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary-row .k { color: var(--muted); }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.field { margin-top: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.field .sub { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field textarea { width: 100%; min-height: 80px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--primary); }
.pay-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--text-light); }
.hold { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #EAF8FB; color: var(--primary-ink); font-size: 13px; font-weight: 600; }
.hold.expired { background: #FDECEC; color: #8B1D1D; }
.signed-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #F0FBFD; font-size: 13px; }
.signed-in .rw-link { padding: 0; }
.signin-mount { margin-top: 14px; }

/* Phone sign-in */
.rw-signin { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.rw-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.rw-hint { margin: 0 0 12px; font-size: 13px; color: var(--text-light); }
.rw-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.rw-phone-row { display: flex; gap: 8px; }
.rw-select { flex: 0 0 44%; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 8px; background: #fff; }
.rw-input { flex: 1; min-width: 0; width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 16px; }
.rw-input:focus, .rw-select:focus { outline: none; border-color: var(--primary); }
.rw-code { letter-spacing: .4em; text-align: center; font-size: 22px; font-weight: 700; }
.rw-name-row { display: flex; gap: 8px; }
.rw-btn { display: block; width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.rw-btn:disabled { opacity: .6; cursor: default; }
.rw-btn.secondary { background: #fff; color: var(--primary-ink); border: 1.5px solid var(--primary-light); }
.rw-links { display: flex; justify-content: space-between; margin-top: 10px; }
.rw-link { background: none; border: 0; color: var(--primary-ink); font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.rw-error { margin: 10px 0 0; color: var(--bad); font-size: 13px; }

/* Sticky bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bar-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.bar-info { flex: 1; min-width: 0; font-size: 13px; color: var(--text-light); }
.bar-info strong { display: block; color: var(--secondary); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-btn { flex: none; padding: 12px 22px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.bar-btn:disabled { opacity: .5; cursor: default; }

/* Done */
.done { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 18px; text-align: center; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: #E8F7EE; color: var(--ok); display: grid; place-items: center; font-size: 30px; margin: 0 auto 12px; }
.done h2 { margin: 0 0 6px; font-size: 22px; }
.done p { margin: 0 0 16px; color: var(--text-light); font-size: 14px; }
.done .summary { text-align: left; }
.done-actions { display: grid; gap: 8px; margin-top: 16px; }
.done-actions a, .done-actions button { display: block; text-align: center; text-decoration: none; }

/* App CTA + locked cards */
.rw-app-cta { background: linear-gradient(135deg, #06222A, #00505C); color: #fff; border-radius: var(--radius); padding: 18px; margin-top: 12px; }
.rw-app-cta h3 { margin: 0 0 6px; }
.rw-app-cta p { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.rw-stores { display: flex; gap: 8px; }
.rw-store { flex: 1; text-align: center; padding: 10px; border-radius: 999px; background: #fff; color: var(--secondary); font-weight: 700; text-decoration: none; font-size: 14px; }
.locked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px dashed var(--line); margin-bottom: 8px; color: var(--text-light); font-size: 14px; }
.locked .lock { font-size: 18px; }
.locked strong { color: var(--secondary); display: block; }
.locked small { color: var(--muted); }

/* My bookings */
.mb-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.mb-head h1 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.mb-head-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.mb-head-links .rw-link { padding: 0; }
.mb-home { text-decoration: none; }
.mb-home:hover { text-decoration: underline; }
.mb-section { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.bk { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 10px; }
.bk-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.bk-name { font-weight: 700; font-size: 16px; margin: 0; }
.bk-when { color: var(--text-light); font-size: 14px; margin: 2px 0 0; }
.bk-sub { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip.pending { background: #FFF4E5; color: #7A4B00; }
.chip.accepted { background: #E8F7EE; color: #1E6F3F; }
.chip.refused, .chip.cancelled { background: #FDECEC; color: #8B1D1D; }
.chip.completed { background: #EEF1F3; color: #4B5A60; }
.bk-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.bk-actions a, .bk-actions button { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--primary-ink); cursor: pointer; text-decoration: none; }
.bk-actions button.danger { color: var(--bad); }
.confirm-row { display: flex; gap: 8px; margin-top: 8px; }
.book-noscript { padding: 20px; text-align: center; }
.book-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px 16px 0; }
.book-footer a { color: var(--muted); }

@media (min-width: 720px) {
  .book-hero { border-radius: 0 0 24px 24px; margin-top: 0; }
  .book-hero-cover { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* My bookings: what only the app does, with the store logos under it */
.mb-app { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mb-feats { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.mb-feats li { position: relative; padding-left: 18px; font-size: 15px; font-weight: 700; color: var(--primary-dark); line-height: 1.4; }
.mb-feats li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(0,188,212,.18); }
.mb-app p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--text); }
.mb-stores { display: flex; align-items: center; gap: 2px; }
.mb-stores-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-right: 8px; }
.mb-stores a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #111; }
.mb-stores a:hover { background: #F1F5F6; }
.mb-stores svg { width: 22px; height: 22px; fill: currentColor; }

/* ================================================================== */
/* Venue page layout (book.js builds this once the data is in)         */
/* ================================================================== */
.bp { max-width: none; margin: 0; padding-bottom: 110px; }
.bp-top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.bp-top-inner { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; }
.bp-brand { display: flex; align-items: center; gap: 8px; color: var(--secondary); font-weight: 800; text-decoration: none; font-size: 17px; }
.bp-brand img { width: 30px; height: 30px; border-radius: 8px; }
.bp-top .rw-lang { background: #F1F5F6; }
.bp-top .rw-lang-btn { color: var(--secondary); }
.bp-top .rw-lang-btn.active { background: var(--secondary); color: #fff; }
.bp .book-appbar { max-width: 1180px; margin: 12px auto 0; }

.bp-wrap { max-width: 1180px; margin: 0 auto; padding: 16px 20px 0; }
.bp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.bp-crumb a { color: var(--text-light); text-decoration: none; }
.bp-crumb a:hover { text-decoration: underline; }
.bp-crumb .cur { color: var(--secondary); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bp-title h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; font-weight: 800; color: var(--secondary); letter-spacing: -.01em; overflow-wrap: anywhere; }
.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 15px; color: var(--text-light); margin-bottom: 18px; }
.bp-rating { color: var(--secondary); font-weight: 700; }
.bp-rating .star { color: #F5A524; }
.bp-rating .muted { color: var(--muted); font-weight: 500; }
.bp-status { font-weight: 700; }
.bp-status.open { color: var(--ok); }
.bp-status.closed { color: var(--bad); }
.bp-dir { color: var(--primary-ink); font-weight: 700; text-decoration: none; }
.bp-cat { color: var(--text-light); text-decoration: none; }
.bp-cat:hover { color: var(--primary-ink); text-decoration: underline; }
.bp-dir:hover { text-decoration: underline; }
.bp-views { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }

/* Gallery: one large + two small on wide screens, a swipeable strip on phones */
.bp-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 250px 250px; gap: 8px; border-radius: 18px; overflow: hidden; margin-bottom: 26px; background: #E6EEF0; }
.bp-gallery .bp-shot { display: block; overflow: hidden; }
.bp-gallery .bp-shot:first-child { grid-row: 1 / 3; }
.bp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bp-gallery .bp-shot:hover img { transform: scale(1.03); }
.bp-gallery.one { grid-template-columns: 1fr; grid-template-rows: 420px; }
.bp-gallery.one .bp-shot:first-child { grid-row: auto; }
.bp-gallery.two { grid-template-rows: 380px; }
.bp-gallery.two .bp-shot:first-child { grid-row: auto; }
.bp-gallery-more { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--secondary); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.bp-carousel { display: none; }

.bp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.bp-main { min-width: 0; }
.bp-side { position: sticky; top: 76px; min-width: 0; }
.bp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.bp-card-name { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--secondary); line-height: 1.2; overflow-wrap: anywhere; }
.bp-rating.small { font-size: 14px; display: block; margin-bottom: 14px; }
.bp-cta { display: block; width: 100%; padding: 14px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 8px 22px rgba(0,188,212,.3); transition: background .15s; }
.bp-cta:hover { background: var(--primary-dark); }
.bp-cta:disabled { opacity: .5; cursor: default; box-shadow: none; }
.bp-cta-sub { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--text-light); }
.bp-fact { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-light); line-height: 1.45; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bp-fact svg { flex: none; margin-top: 2px; color: var(--primary); }
.bp-fact strong.ok { color: var(--ok); }
.bp-fact strong.bad { color: var(--bad); }

/* Service group chips under the services heading */
.bp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bp-chips::-webkit-scrollbar { display: none; }
.bp-chip { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--secondary); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.bp-chip.active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.step.collapsed .bp-chips { display: none; }

/* Service rows: name + duration on the left, price and "Select" on the right */
.bp .svc { align-items: center; padding: 14px; border-radius: 14px; }
.bp .svc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.bp .svc-pick { font-size: 12px; font-weight: 700; color: var(--primary-ink); border: 1.5px solid var(--primary-light); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.bp .svc.selected .svc-pick { background: var(--primary); border-color: var(--primary); color: #fff; }
.bp .svc-desc { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bp .svc-meta { color: var(--muted); }

/* Venue facts */
/* Sections are scrolled to with block: 'start'; the sticky top bar (about 52px)
 * would cover their heading, so they keep clear of it with a little breathing room. */
.bp .step, .bp .bp-sec { scroll-margin-top: 70px; }
.bp-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.bp-sec h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--secondary); }
.bp-team { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.bp-team::-webkit-scrollbar { display: none; }
.bp-member { flex: none; width: 92px; text-align: center; font-size: 13px; color: var(--text); }
.bp-member img, .bp-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary-ink); font-weight: 800; font-size: 20px; }
.bp-member span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-about { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.bp-hours { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.bp-hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #F0F4F5; color: var(--text); }
.bp-hours li:last-child { border-bottom: 0; }
.bp-hours li.today { font-weight: 700; color: var(--secondary); }
.bp-map { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 160px; border-radius: 12px; margin-bottom: 12px; text-decoration: none; color: var(--primary-ink); font-weight: 700; font-size: 15px;
  background: radial-gradient(circle at 30% 40%, rgba(0,188,212,.18), transparent 45%), radial-gradient(circle at 70% 65%, rgba(0,188,212,.12), transparent 40%), repeating-linear-gradient(0deg, #E8F1F3 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, #E8F1F3 0 1px, #F4F8F9 1px 28px); border: 1px solid var(--line); }
.bp-map svg { width: 22px; height: 22px; color: var(--primary); }
.bp-map:hover { border-color: var(--primary-light); }
.bp-addr-row { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; color: var(--text); line-height: 1.45; }
.bp-addr-row svg { flex: none; color: var(--primary); margin-top: 3px; }
.bp-addr-row span { flex: 1; }
.bp .done { margin-bottom: 12px; }

/* The bottom bar belongs to phones and tablets; wide screens have the side card */
@media (min-width: 1024px) {
  .bp ~ .bar, body:has(.bp) .bar { display: none; }
  .bp { padding-bottom: 40px; }
}
@media (max-width: 1023px) {
  .bp-cols { grid-template-columns: 1fr; gap: 0; }
  .bp-side { display: none; } /* the title block and the sections already say it all; the bottom bar books */
}
@media (max-width: 720px) {
  .bp-wrap { padding: 12px 14px 0; }
  .bp-title h1 { font-size: 24px; }
  .bp-meta { font-size: 14px; gap: 4px 10px; margin-bottom: 14px; }
  .bp-gallery { display: none; }
  .bp-carousel { display: block; position: relative; margin: 0 -14px 18px; }
  .bp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bp-track::-webkit-scrollbar { display: none; }
  .bp-track img { flex: none; width: 100%; height: 240px; object-fit: cover; scroll-snap-align: start; }
  .bp-count { position: absolute; right: 24px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
  .bp-top-inner { padding: 8px 14px; }
  .bp .svc { padding: 12px; }
  .bp .svc-right { gap: 4px; }
}

/* Reviews: the rating is a button, the section lists the latest, the panel lists all */
button.bp-rating { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
button.bp-rating:hover { text-decoration: underline; }
.bp-stars { color: #F5A524; letter-spacing: 1px; font-size: 14px; }
.bp-stars .off { color: #DCE3E6; }
.bp-reviews-sum { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bp-reviews-sum .big { font-size: 34px; font-weight: 800; color: var(--secondary); line-height: 1; }
.bp-reviews-sum small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.bp-review { padding: 12px 0; border-top: 1px solid #F0F4F5; }
.bp-review-top { display: flex; align-items: center; gap: 10px; }
.bp-review-top > div:nth-child(2) { flex: 1; min-width: 0; }
.bp-review-top strong { display: block; font-size: 14px; color: var(--secondary); }
.bp-review-top small { color: var(--muted); font-size: 12px; }
.bp-avatar.sm { width: 38px; height: 38px; font-size: 14px; margin: 0; flex: none; }
.bp-review p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--text); white-space: pre-line; }
.bp-review-meta { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.bp-review-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--primary-light); background: #F6FBFC; border-radius: 0 8px 8px 0; font-size: 13px; color: var(--text); }
.bp-review-reply small { display: block; color: var(--primary-ink); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.bp-more { display: block; width: 100%; margin-top: 10px; padding: 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--primary-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.bp-more:hover { border-color: var(--primary-light); }
.bp-muted { color: var(--muted); font-size: 14px; margin: 0; }

.bp-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bp-modal-back { position: absolute; inset: 0; background: rgba(26,26,46,.6); backdrop-filter: blur(3px); }
.bp-modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(10,30,35,.35); display: flex; flex-direction: column; overflow: hidden; }
.bp-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.bp-modal-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--secondary); }
.bp-modal-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F1F5F6; color: var(--secondary); font-size: 22px; line-height: 1; cursor: pointer; }
.bp-modal-body { padding: 14px 18px 18px; overflow: auto; }
body.bp-modal-open { overflow: hidden; }
@media (max-width: 480px) {
  .bp-modal { padding: 0; align-items: flex-end; }
  .bp-modal-card { max-width: none; max-height: 90vh; border-radius: 20px 20px 0 0; }
}

/* ================================================================== */
/* My bookings (/randevularim) in the venue page's dress (.bp.mb)      */
/* ================================================================== */
.mb-nav { display: flex; align-items: center; gap: 18px; }
.mb-nav a { color: var(--secondary); font-weight: 700; font-size: 14px; text-decoration: none; }
.mb-nav a:hover { color: var(--primary-ink); }
.mb .bp-title h1 { margin-bottom: 4px; }
.mb .bp-meta { margin-bottom: 22px; }
.mb-signout { padding: 0; font-weight: 700; }
.mb .bp-sec { padding: 20px; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.mb .bp-sec h2 { margin-bottom: 14px; }
.mb .bk { box-shadow: none; }
.bk-rich { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.bk-rich:last-child { margin-bottom: 0; }
.bk-body { flex: 1; min-width: 0; }
.bk-avatar { flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #E6EEF0; display: grid; place-items: center; color: var(--primary-ink); font-weight: 800; font-size: 22px; text-decoration: none; }
.bk-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-name a { color: var(--secondary); text-decoration: none; }
.bk-name a:hover { text-decoration: underline; }
.bk-when i { color: var(--primary); margin-right: 2px; }
.bk-actions a.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.bk-actions a.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.mb-empty { text-align: center; padding: 14px 10px 4px; }
.mb-empty i { font-size: 34px; color: var(--primary); margin-bottom: 8px; display: block; }
.mb-empty p { margin: 0 auto; max-width: 420px; color: var(--text-light); font-size: 15px; line-height: 1.5; }
.mb-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 12px 22px; text-decoration: none; }
.mb-new .bp-muted { margin: 0 0 14px; }
.mb-new .mb-cta { width: 100%; }
.mb-quick { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.mb-quick a { color: var(--primary-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mb-quick a:hover { text-decoration: underline; }
.mb-appcard { margin-top: 16px; }
.mb-appcard .mb-app { border: 0; padding: 0; }
.mb-signin { max-width: 520px; }
.mb .book-loading { padding: 40px 0; }
@media (max-width: 1023px) {
  .mb .bp-side { display: block; position: static; margin-top: 4px; }
  .mb .bp-cols { gap: 0; }
}
@media (max-width: 720px) {
  .bk-rich { padding: 12px; gap: 12px; }
  .bk-avatar { width: 52px; height: 52px; border-radius: 12px; font-size: 18px; }
  .mb-nav { gap: 12px; }
  .mb-nav a[data-nav="map"] { display: none; }
}

/* ================================================================== */
/* Business sign-up (/isletmemi-ekle), book/onboard.js (.bp.ob)        */
/* ================================================================== */
.ob .bp-title h1 { margin-bottom: 6px; }
.ob-lead { margin: 0 0 20px; color: var(--text-light); font-size: 15px; line-height: 1.55; max-width: 640px; }
.ob-progress { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ob-progress li { display: inline-flex; align-items: center; gap: 6px; }
.ob-progress li span { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: #E6EEF0; color: var(--muted); font-size: 11px; }
.ob-progress li.now { color: var(--secondary); }
.ob-progress li.now span { background: var(--primary); color: #fff; }
.ob-progress li.done { color: var(--primary-ink); }
.ob-progress li.done span { background: #D6F3F7; color: var(--primary-ink); }
.ob .bp-sec { padding: 22px; border-radius: 18px; box-shadow: var(--shadow); }
.ob-card h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--secondary); }
.ob-card .bp-muted { margin: 0 0 16px; }
.ob-card .rw-input, .ob-card .rw-select { margin-bottom: 10px; }
.ob-row { margin-bottom: 0; }
.ob-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ob-hint { margin: -4px 0 12px; font-size: 12.5px; color: var(--muted); }
.ob-label { margin: 14px 0 8px; font-size: 13px; font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: .04em; }
.ob-label small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.ob-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); margin: 6px 0 14px; line-height: 1.45; }
.ob-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--primary); }
.ob-check a { color: var(--primary-ink); }
.ob-switch { margin: 14px 0 0; font-size: 14px; color: var(--text-light); }
.ob-switch .rw-link { padding: 0; font-weight: 700; }
.ob-who { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.ob-who .rw-link { padding: 0; }
.ob-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ob-next { width: auto; min-width: 160px; }
.ob-back { background: #fff; border: 1.5px solid var(--line); color: var(--secondary); font: inherit; font-weight: 700; padding: 11px 18px; border-radius: 999px; cursor: pointer; }
.ob-back:hover { border-color: var(--primary-light); }
.ob-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--primary-ink); font: inherit; font-weight: 700; padding: 10px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.ob-ok { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #E8F7EE; color: #1E6F3F; font-weight: 700; font-size: 14px; }
.ob-ok i { font-size: 18px; }
.ob-ok .rw-link { padding: 0; margin-left: auto; }
/* Category chips: the home page's pills (directory.css is not loaded here) */
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.ob-chips .d-chip { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); background: #fff; color: var(--secondary); font: inherit; font-size: 14px; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ob-chips .d-chip i { color: var(--primary); font-size: 13px; }
.ob-chips .d-chip:hover { border-color: var(--primary-light); background: #F6FBFC; }
.ob-chips .d-chip.active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.ob-chips .d-chip.active i { color: #fff; }
.ob-chips .d-chip[disabled] { opacity: .45; cursor: not-allowed; }
.ob-chips .d-chip[disabled]:hover { border-color: var(--line); background: #fff; }
.ob-label-extra { margin-top: 26px; }
.ob-group-label { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--text-light); display: flex; align-items: center; gap: .4rem; }
.ob-group-label i { color: var(--primary); font-size: 12px; }
.ob-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.ob-photo { position: relative; width: 112px; height: 112px; margin: 0; border-radius: 14px; overflow: hidden; background: #E6EEF0; }
.ob-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-photo-pick { cursor: pointer; }
.ob-photo-pick .ob-photo-change { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px; background: rgba(26,26,46,.7); color: #fff; font-size: 12px; font-weight: 700; text-align: center; opacity: 0; transition: opacity .15s; }
.ob-photo-pick:hover .ob-photo-change, .ob-photo-pick:focus-within .ob-photo-change { opacity: 1; }
@media (hover: none) { .ob-photo-pick .ob-photo-change { opacity: 1; } }
.ob-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(26,26,46,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.ob-add { width: 112px; height: 112px; border-radius: 14px; border: 2px dashed var(--line); display: grid; place-items: center; align-content: center; gap: 6px; color: var(--primary-ink); font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; }
.ob-add i { font-size: 22px; }
.ob-add:hover { border-color: var(--primary-light); background: #F6FBFC; }
.ob-uploading { margin: 0; font-size: 13px; color: var(--muted); }
.ob-geo-row { display: flex; gap: 8px; margin-bottom: 10px; }
.ob-geo-row .rw-input { margin: 0; flex: 1; }
.ob-map { height: 320px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 14px; }
.ob-hours { display: grid; gap: 6px; margin-bottom: 14px; }
.ob-day { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #FAFCFC; }
.ob-day.on { background: #fff; border-color: #BFE9EF; }
.ob-day-name { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--secondary); font-size: 14px; cursor: pointer; }
.ob-day-name input { width: 18px; height: 18px; accent-color: var(--primary); }
.ob-day-times { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-light); }
.ob-day-times input { font: inherit; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--secondary); }
.ob-day-times input:disabled { opacity: .45; }
.ob-day-state { font-size: 12px; font-weight: 700; color: var(--muted); min-width: 48px; text-align: right; }
.ob-day.on .ob-day-state { color: var(--ok); }
.ob-auto { padding: 12px 14px; border-radius: 12px; background: #F6FBFC; border: 1px solid #D6F3F7; }
.ob-auto small { color: var(--text-light); font-weight: 500; }
.ob-promo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #E8F7EE; border: 1px solid #BFE6CC; color: #1E6F3F; font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
.ob-promo.soft { background: #F6FBFC; border-color: #D6F3F7; color: var(--text); }
.ob-promo i { font-size: 18px; margin-top: 2px; color: inherit; }
.ob-promo.soft i { color: var(--primary); }
.ob-summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.ob-summary dt { color: var(--muted); font-weight: 600; }
.ob-summary dd { margin: 0; color: var(--secondary); font-weight: 600; overflow-wrap: anywhere; }
.ob-preview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 6px; }
.ob-preview-shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 110px 110px; gap: 4px; background: #E6EEF0; position: relative; }
.ob-preview-shots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-preview-shots img.main { grid-row: 1 / 3; }
.ob-preview-shots.n1 { grid-template-columns: 1fr; grid-template-rows: 220px; }
.ob-preview-shots.n1 img.main { grid-row: auto; }
.ob-preview-shots.n2 { grid-template-rows: 220px; }
.ob-preview-shots.n2 img.main { grid-row: auto; }
.ob-preview-more { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--secondary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ob-preview-body { padding: 14px 16px 16px; }
.ob-preview-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.ob-preview-avatar { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.ob-preview-head h3 { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: var(--secondary); overflow-wrap: anywhere; }
.ob-preview-meta { margin: 0; font-size: 13.5px; color: var(--text-light); }
.ob-preview-meta i { color: var(--primary); margin-right: 3px; }
.ob-preview-desc { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--text); white-space: pre-line; }
.ob-preview-hours { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ob-preview-hours span { font-size: 12.5px; color: var(--text-light); background: #F1F5F6; border-radius: 999px; padding: 4px 10px; }
.ob-preview-hours b { color: var(--secondary); }
.ob-done { text-align: center; padding: 10px 0 4px; }
.ob-done > i { font-size: 54px; color: var(--ok); margin-bottom: 10px; display: block; }
.ob-done h2 { margin: 0 0 8px; }
.ob-done p { max-width: 520px; margin: 0 auto 14px; color: var(--text-light); font-size: 15px; line-height: 1.55; }
.ob-done .ob-label { text-align: center; }
.ob-pagelink { min-height: 24px; }
.ob-stores { justify-content: center; }
.ob-stores a { font-size: 22px; }
.ob-help a { display: flex; align-items: center; gap: 8px; color: var(--primary-ink); font-weight: 700; text-decoration: none; margin-top: 8px; font-size: 14px; }
.ob-help a:hover { text-decoration: underline; }
.ob-help { margin-top: 16px; }
@media (max-width: 1023px) {
  .ob .bp-side { display: block; position: static; margin-top: 16px; }
  .ob .bp-cols { gap: 0; }
}
@media (max-width: 720px) {
  .ob .bp-sec { padding: 16px; }
  .ob-day { grid-template-columns: 1fr auto; }
  .ob-day-state { display: none; }
  .ob-geo-row { flex-direction: column; }
  .ob-map { height: 260px; }
  .ob-next { min-width: 0; }
  .ob-nav a[href="/kategoriler"] { display: none; }
}
