/* Public booking pages. Every colour comes from the brand (set inline as --bg, --card, --text, --muted, --line,
   --accent, --accent-text, --font), so one stylesheet serves Deniz Sancar, Sancar Media, Yarigai and the rest. */
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg, #f7f7f5); color: var(--text, #111); font: 400 15px/1.5 var(--font, system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
em, i { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.book { max-width: 1040px; margin: 0 auto; padding: 40px 20px 56px; }
body.embed .book { padding: 0; max-width: none; }
body.embed { background: transparent; }

.card { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 560px; }
body.embed .card { border: 0; border-radius: 0; }
.side { padding: 28px 28px 24px; border-right: 1px solid var(--line); }
.card.lean { grid-template-columns: 1fr; min-height: 0; }
.card.lean .picked { margin: 0 0 18px; }
.main { padding: 28px; min-width: 0; }
.logo { height: 30px; width: auto; display: block; margin-bottom: 26px; max-width: 200px; object-fit: contain; object-position: left; }
.host { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.host img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.host span { color: var(--muted); font-size: 14px; }
.side h1 { font-size: 24px; line-height: 1.2; font-weight: 600; margin: 0 0 14px; letter-spacing: -0.01em; }
.facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.facts li { display: flex; gap: 10px; align-items: center; }
.facts svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facts b { color: var(--text); font-weight: 600; }
.desc { color: var(--muted); font-size: 14.5px; white-space: pre-line; }
.picked { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.picked b { display: block; color: var(--text); }

h2 { font-size: 18px; font-weight: 600; margin: 0 0 18px; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-h b { font-weight: 600; }
.nav { display: flex; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.grid .dow { font-size: 11.5px; color: var(--muted); padding: 6px 0; text-transform: uppercase; letter-spacing: .06em; }
.day { aspect-ratio: 1; max-height: 48px; border-radius: 50%; border: 0; background: none; cursor: default; color: var(--muted); opacity: .5; font-size: 14px; display: grid; place-items: center; margin: 0 auto; width: 100%; max-width: 48px; position: relative; }
.day.open { opacity: 1; color: var(--accent); font-weight: 600; cursor: pointer; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.day.open:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.day.on { background: var(--accent); color: var(--accent-text); }
.day.on.today::after { display: none; }
.day.today::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.book svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tz { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tz svg { width: 16px; height: 16px; flex: none; }
.btn svg { width: 17px; height: 17px; }
.tz select { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px 8px; max-width: 100%; }
.times h3 { font-size: 14.5px; font-weight: 600; margin: 4px 0 12px; }
.times .list { display: grid; gap: 8px; max-height: 400px; overflow-y: auto; padding-right: 4px; }
.time { border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); background: none; border-radius: 10px; padding: 11px 10px; font-weight: 600; cursor: pointer; }
.time:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.empty { color: var(--muted); font-size: 14px; }
.loading { color: var(--muted); font-size: 14px; padding: 20px 0; }

form { display: grid; gap: 14px; max-width: 520px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
label small { font-weight: 400; color: var(--muted); }
.field { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 11px 12px; outline: none; }
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
textarea.field { min-height: 96px; resize: vertical; }
.guests { display: grid; gap: 8px; }
.guest-row { display: flex; gap: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; justify-self: start; }
.btn { appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-text); border-radius: 999px; padding: 12px 22px; font-weight: 600; cursor: pointer; justify-self: start; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: none; color: var(--text); border-color: var(--line); }
.note { font-size: 12.5px; color: var(--muted); margin: 0; }
.err { color: #c2412d; font-size: 14px; margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.done { max-width: 560px; }
.done .tick { width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.done .tick svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.done h2 { font-size: 22px; margin-bottom: 8px; }
.done p { color: var(--muted); margin: 0 0 14px; }
.box { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 18px 0; display: grid; gap: 6px; }
.box b { font-weight: 600; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.addcal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.addcal > span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.addcal > span svg { width: 16px; height: 16px; }
.btn.sm { padding: 8px 16px; font-size: 14px; }

.types { display: grid; gap: 12px; }
.type { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; }
.type:hover { border-color: var(--accent); }
.type b { display: block; font-size: 16px; margin-bottom: 4px; }
.type span { color: var(--muted); font-size: 14px; }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.12); z-index: 5; }
.consent span { flex: 1 1 240px; color: var(--muted); }
.consent .btn { padding: 8px 16px; }
.gone { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.gone h1 { font-size: 20px; font-weight: 600; }
.brandfoot { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.brandfoot a { color: inherit; }

@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; min-height: 0; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px 18px; }
  .main { padding: 22px 20px; }
  .cal-wrap { grid-template-columns: 1fr; }
  .times .list { max-height: none; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .book { padding: 16px 12px 40px; }
  .logo { margin-bottom: 18px; }
}
