/* Hemenbook — application stylesheet.
   Customer-facing pages are light, photo-led and black-and-white with a teal
   accent; dashboard pages (html.theme-auto) also follow the device's dark mode.
   Components follow a light BEM convention: .block, .block__element,
   .block--modifier, .is-state. */

/* ==========================================================================
   Fonts (self-hosted so no visitor IP goes to a third party; SIL OFL, see fonts/)
   ========================================================================== */

@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/figtree-latin-ext.eca8d8b337ff.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/figtree-latin.202cfb54d4e6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.c4c7bb6a8d9b.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.ad33cbc6d232.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f4f1;
  --color-text: #151515;
  --color-muted: #5e6166;
  --color-border: #e5e5e1;
  /* Primary buttons and selected states. */
  --color-ink: #151515;
  --color-on-ink: #ffffff;
  --color-accent: #0f766e;
  --color-accent-strong: #0b5d57;
  --color-accent-soft: #e2f2ef;
  --color-on-accent: #ffffff;
  --color-danger: #b42318;
  --color-danger-soft: #fdeceb;
  --color-success: #067647;
  --color-success-soft: #e5f5ec;
  --color-warning: #9a4a06;
  --color-warning-soft: #fff3e2;
  --color-star: #f2a10a;
  --shadow-card: 0 1px 2px rgb(20 20 20 / 0.04), 0 8px 24px rgb(20 20 20 / 0.06);
  --shadow-raised: 0 16px 40px rgb(10 10 10 / 0.28);
  --radius-lg: 14px;
  --radius-md: 8px;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Figtree", -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root.theme-auto {
    color-scheme: dark;
    --color-bg: #111312;
    --color-surface: #191c1b;
    --color-surface-alt: #222624;
    --color-text: #ecefed;
    --color-muted: #a0a8a4;
    --color-border: #2e3331;
    --color-ink: #ecefed;
    --color-on-ink: #111312;
    --color-accent: #2fb5a6;
    --color-accent-strong: #62d2c5;
    --color-accent-soft: #12332f;
    --color-on-accent: #05211d;
    --color-danger: #ff7b6e;
    --color-danger-soft: #3a1714;
    --color-success: #5bd69a;
    --color-success-soft: #10301f;
    --color-warning: #ffb260;
    --color-warning-soft: #33230f;
    --shadow-card: 0 1px 2px rgb(0 0 0 / 0.3), 0 6px 20px rgb(0 0 0 / 0.25);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 16px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent-strong); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-md);
  background: var(--color-ink); color: var(--color-on-ink); font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.text-muted { color: var(--color-muted); }
.text-small { font-size: 0.9rem; }
.tabular { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.print-only { display: none; }
.eyebrow { display: block; margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-strong); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 600px; }
.container--medium { max-width: 760px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ==========================================================================
   Site header and footer
   ========================================================================== */

.site-header { position: sticky; top: 0; z-index: 20; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.site-header__nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.site-header__nav form { margin: 0; }
.site-header__discover svg { width: 18px; height: 18px; flex: none; }
.site-header__cta { margin-left: 6px; }
/* Over a full-bleed photo (home page): transparent, white text. */
.site-header--overlay { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.site-header--overlay .logo, .site-header--overlay .btn--ghost { color: #fff; }
.site-header--overlay .btn--ghost:hover { background: rgb(255 255 255 / 0.14); color: #fff; }
.site-header--overlay .site-header__cta { background: #fff; color: #151515; }
.site-header--overlay .site-header__cta:hover { background: #ececea; }
/* Phones: the directory link shrinks to its icon and the sign-up button (repeated on the page) is dropped. */
@media (max-width: 520px) {
  .site-header__nav .site-header__label, .site-header__nav .site-header__cta { display: none; }
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.035em; color: var(--color-text); text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.wordmark { letter-spacing: -0.02em; }
.wordmark__accent { color: var(--color-accent); }

.site-footer { margin-top: 72px; padding: 48px 0 28px; background: var(--color-surface-alt); color: var(--color-muted); font-size: 0.93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand p { margin: 12px 0 0; max-width: 22em; }
.site-footer__column { display: flex; flex-direction: column; gap: 8px; }
.site-footer__title { margin: 0 0 4px; color: var(--color-text); font-weight: 700; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--color-text); text-decoration: underline; }
.site-footer .logo { color: var(--color-text); }
.site-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 0.85rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Buttons, cards, badges, alerts
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-md);
  background: var(--color-ink); color: var(--color-on-ink);
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { background: color-mix(in srgb, var(--color-ink) 82%, var(--color-bg)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--accent:hover { background: var(--color-accent-strong); }
.btn--light { background: #fff; color: #151515; }
.btn--light:hover { background: #ececea; }
.btn--secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.btn--secondary:hover { background: var(--color-surface-alt); }
.btn--ghost { background: transparent; color: var(--color-text); }
.btn--ghost:hover { background: var(--color-surface-alt); }
.btn--danger { background: transparent; color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 35%, transparent); }
.btn--danger:hover { background: var(--color-danger-soft); }
.btn--whatsapp { background: transparent; color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 35%, transparent); }
.btn--whatsapp:hover { background: var(--color-success-soft); }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 0.9rem; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px; }
.card + .card { margin-top: 16px; }
.card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__header h2, .card__header h3 { margin: 0; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 650; background: var(--color-surface-alt); color: var(--color-muted); vertical-align: middle; }
.badge--accent { background: var(--color-accent-soft); color: var(--color-accent-strong); }
.badge--danger { background: var(--color-danger-soft); color: var(--color-danger); }
.badge--warning { background: var(--color-warning-soft); color: var(--color-warning); }
.badge--success { background: var(--color-success-soft); color: var(--color-success); }

.messages { margin: 16px 0; }
.alert { padding: 12px 14px; border-radius: var(--radius-md); margin-bottom: 8px; border: 1px solid; font-weight: 500; }
.alert--success { background: var(--color-success-soft); color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 25%, transparent); }
.alert--error { background: var(--color-danger-soft); color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 25%, transparent); }
.alert--info, .alert--warning { background: var(--color-accent-soft); color: var(--color-accent-strong); border-color: color-mix(in srgb, var(--color-accent) 25%, transparent); }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label { font-weight: 600; font-size: 0.95rem; }
.field__help { color: var(--color-muted); font-size: 0.85rem; }
.field__error { color: var(--color-danger); font-size: 0.85rem; font-weight: 500; }
.field--checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.field--checkbox input[type="checkbox"] { margin-top: 2px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
input[type="date"], input[type="time"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--color-text); font: inherit;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-ink) 12%, transparent); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--color-danger); }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--color-accent); margin: 0; flex: none; }

/* CheckboxSelectMultiple / RadioSelect rendered as pills */
.field--choices > div { display: flex; flex-wrap: wrap; gap: 8px; }
.field--choices > div > div { margin: 0; }
.field--choices > div label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); font-weight: 500; cursor: pointer; }
.field--choices > div label:has(input:checked) { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-on-ink); }
.field--choices input[type="checkbox"] { width: 16px; height: 16px; }

.form-errors { padding: 12px 14px; border-radius: var(--radius-md); margin-bottom: 16px; background: var(--color-danger-soft); color: var(--color-danger); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Dashboard
   ========================================================================== */


.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--color-border); margin: 8px 0 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 12px 14px; color: var(--color-muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs a:hover { color: var(--color-text); }
.tabs a.is-active { color: var(--color-text); border-bottom-color: var(--color-ink); }

.segmented { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); margin-bottom: 14px; }
.segmented a { padding: 6px 16px; border-radius: 999px; color: var(--color-muted); text-decoration: none; font-weight: 650; font-size: 0.92rem; }
.segmented a.is-active { background: var(--color-ink); color: var(--color-on-ink); }

.chip-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.chip-filter a:hover { border-color: var(--color-ink); }
.chip-filter a.is-active { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.color-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dot-color); margin-right: 6px; }
.chip-filter a.is-active .color-dot { box-shadow: 0 0 0 2px var(--color-on-ink); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px 18px; }
.stat__value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--color-muted); font-size: 0.9rem; }

.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; color: var(--color-accent-strong); font-weight: 600; }
@media (max-width: 520px) { .copy-field { flex-wrap: wrap; } .copy-field .btn { flex: 1; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist__item { display: flex; align-items: center; gap: 12px; }
.checklist__mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 0.85rem; font-weight: 700; border: 2px solid var(--color-border); color: var(--color-muted); }
.checklist__item.is-done .checklist__mark { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.checklist__item.is-done .checklist__text { color: var(--color-muted); text-decoration: line-through; }

.list { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.list__heading { padding: 10px 18px; background: var(--color-surface-alt); color: var(--color-muted); font-size: 0.85rem; font-weight: 650; border-top: 1px solid var(--color-border); }
.list__heading:first-child { border-top: 0; }
.list-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--color-border); }
.list-row:hover { background: color-mix(in srgb, var(--color-ink) 3%, var(--color-surface)); }
.list-row:first-child, .list__heading + .list-row { border-top: 0; }
.list-row:target { background: var(--color-accent-soft); box-shadow: inset 3px 0 0 var(--color-accent); }
.list-row__time { min-width: 56px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.list-row__end { display: block; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; color: var(--color-muted); }
.list-row__body { flex: 1; min-width: 0; }
.list-row__title { font-weight: 650; overflow-wrap: anywhere; }
.list-row__title a { color: inherit; text-decoration: none; }
.list-row__title a:hover { color: var(--color-accent-strong); text-decoration: underline; }
.list-row__meta { color: var(--color-muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.list-row__note { margin-top: 4px; font-size: 0.88rem; color: var(--color-muted); font-style: italic; }
.list-row__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.list-row__actions form { margin: 0; }
.list-row.is-inactive .list-row__time, .list-row.is-inactive .list-row__body { opacity: 0.55; }
.list-row.is-inactive .list-row__title { text-decoration: line-through; }
/* "Yarını hatırlat": a sent reminder fades its row but stays readable */
.list-row.is-done .list-row__time, .list-row.is-done .list-row__body { opacity: 0.7; }
.reminder-progress { margin: 0 0 8px; color: var(--color-muted); }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) {
  .list-row { flex-wrap: wrap; }
  .list-row__actions { width: 100%; justify-content: flex-start; padding-left: 66px; }
}
.empty-state { text-align: center; padding: 36px 16px; color: var(--color-muted); }
.empty-state .btn { margin-top: 12px; }

.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar__title { margin: 0 8px 0 0; }
.toolbar form { display: flex; gap: 6px; margin: 0; }
.toolbar input[type="date"] { width: auto; min-height: 36px; padding: 4px 8px; }
.toolbar__end { margin-left: auto; }
@media (max-width: 600px) { .toolbar__end { margin-left: 0; } }

.search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.search-bar input { flex: 1; }

.hours-row { display: grid; grid-template-columns: 130px repeat(4, minmax(0, 1fr)); gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--color-border); }
.hours-row:first-child { border-top: 0; }
.hours-row--head { color: var(--color-muted); font-size: 0.82rem; font-weight: 650; padding: 0 0 8px; }
.hours-row input[type="time"] { min-height: 40px; padding: 6px 8px; }
.hours-row__day label { display: flex; align-items: center; gap: 10px; font-weight: 650; cursor: pointer; }
.hours-row:has(.hours-row__day input:not(:checked)) .hours-row__input { opacity: 0.35; }
.hours-row__error { grid-column: 1 / -1; color: var(--color-danger); font-size: 0.88rem; }

/* Staff form: working days with an optional own shift, same look as the opening hours rows */
.staff-hours { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.staff-hours legend { margin-bottom: 4px; padding: 0; font-weight: 650; }
.staff-hours > .field__help { display: block; margin-bottom: 8px; }
.staff-hours__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 10px 0; border-top: 1px solid var(--color-border); }
.staff-hours__day { display: flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 650; cursor: pointer; }
.staff-hours__shop { color: var(--color-muted); font-size: 0.85rem; text-align: right; }
.staff-hours__times { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.staff-hours__times input[type="time"] { flex: 1 1 0; min-width: 0; max-width: 10rem; min-height: 40px; padding: 6px 8px; }
.staff-hours__row:has(.staff-hours__day input:not(:checked)) .staff-hours__times { opacity: 0.35; }
.staff-hours__error { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .staff-hours__row { grid-template-columns: 8.5rem 1fr auto; }
  .staff-hours__shop { text-align: left; }
  .staff-hours__times { grid-column: 3; grid-row: 1; }
}
.hours-row__label { display: none; }
@media (max-width: 640px) {
  .hours-row { grid-template-columns: 1fr 1fr; }
  .hours-row__day { grid-column: 1 / -1; }
  .hours-row--head { display: none; }
  .hours-row__label { display: block; font-size: 0.78rem; color: var(--color-muted); margin-bottom: 2px; }
}

.customer-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.customer-header h2 { margin: 0; }

.cover-card__preview { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 14px; background: var(--color-surface-alt); }

.push-card__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.push-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-accent-soft); color: var(--color-accent-strong); font-size: 1.3rem; flex: none; }
.push-card__body { flex: 1; min-width: 200px; }
.push-card__body h3 { margin: 0 0 2px; }
.push-card__body p { margin: 0; }

/* ==========================================================================
   Dashboard shell: sidebar on wide screens; drawer and bottom tab bar on phones
   ========================================================================== */

.app { min-height: 100vh; min-height: 100dvh; }
.app-sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 40; width: 256px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--color-surface-alt); border-right: 1px solid var(--color-border);
}
.app-sidebar__top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.app-sidebar__close { display: none; }
.app-business { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: inherit; text-decoration: none; }
.app-business:hover { border-color: var(--color-ink); }
.app-business img { width: 44px; height: 44px; flex: none; border-radius: 8px; object-fit: cover; }
.app-business__text { display: flex; flex-direction: column; min-width: 0; }
.app-business__name { overflow: hidden; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.app-business__link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--color-muted); }
.app-nav { display: flex; flex-direction: column; gap: 2px; }
.app-nav__section { margin: 14px 10px 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.app-nav__item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 0 10px;
  border: 0; border-radius: var(--radius-md); background: transparent; color: var(--color-text);
  font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
.app-nav__item .icon { width: 19px; height: 19px; color: var(--color-muted); }
.app-nav__item:hover { background: color-mix(in srgb, var(--color-ink) 7%, transparent); }
.app-nav__item.is-active { background: var(--color-ink); color: var(--color-on-ink); }
.app-nav__item.is-active .icon { color: inherit; }
.app-nav__label { flex: 1; }
.app-nav__badge { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--color-accent); color: var(--color-on-accent); font-size: 0.75rem; font-weight: 700; text-align: center; }
.app-sidebar__footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-border); }
.app-sidebar__footer form { margin: 0; }
.app-sidebar__email { display: block; overflow: hidden; padding: 0 10px 6px; font-size: 0.82rem; color: var(--color-muted); text-overflow: ellipsis; white-space: nowrap; }

.app-main { min-width: 0; margin-left: 256px; }
.app-topbar, .app-tabbar { display: none; }
.app-content { max-width: 1120px; margin: 0 auto; padding: 32px 32px 64px; }
.app-backdrop { position: fixed; inset: 0; z-index: 35; background: rgb(0 0 0 / 0.42); }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 24px; }
.page-head__text { min-width: 0; }
.page-head__eyebrow { margin: 0 0 4px; font-weight: 600; color: var(--color-muted); }
.page-head__eyebrow a { color: inherit; text-decoration: none; }
.page-head__eyebrow a:hover { color: var(--color-text); }
.page-head__title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.3rem); overflow-wrap: anywhere; }
.page-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

@media (max-width: 960px) {
  .app-sidebar { width: min(300px, 86vw); visibility: hidden; transform: translateX(-100%); transition: transform 0.22s ease, visibility 0.22s; box-shadow: var(--shadow-raised); }
  /* Visible at once when opening (so focus can move in), hidden only after the slide-out. */
  .app-sidebar.is-open { visibility: visible; transform: none; transition: transform 0.22s ease, visibility 0s; }
  .app-sidebar__close { display: inline-flex; }
  .app-main { margin-left: 0; }
  .app-topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
  }
  .app-topbar__title { flex: 1; min-width: 0; overflow: hidden; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .app-content { padding: 20px 16px calc(92px + env(safe-area-inset-bottom, 0px)); }
  .app-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--color-bg); border-top: 1px solid var(--color-border);
  }
  .app-tabbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 50px; padding: 0; border: 0; background: none; color: var(--color-muted); font: inherit; font-size: 0.7rem; font-weight: 650; text-decoration: none; cursor: pointer; }
  .app-tabbar__item .icon { width: 22px; height: 22px; }
  .app-tabbar__item.is-active { color: var(--color-text); }
  body.has-drawer { overflow: hidden; }
}

/* Overview ("Bugün") */
.overview { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.overview__side { display: grid; gap: 16px; }
.overview__side .card + .card { margin-top: 0; }
@media (max-width: 1100px) { .overview { grid-template-columns: minmax(0, 1fr); } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.kpi { padding: 16px 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.kpi__label { font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }
.kpi__value { margin-top: 6px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi__hint { margin-top: 4px; font-size: 0.82rem; color: var(--color-muted); }
.kpi--link { display: block; color: inherit; text-decoration: none; }
.kpi--link:hover { border-color: var(--color-ink); }

/* Kasa: "Ödeme al" opens inline under the row's buttons (details/summary, no JavaScript) */
.pay > summary { list-style: none; cursor: pointer; }
.pay > summary::-webkit-details-marker { display: none; }
.pay[open] { flex-basis: 100%; }
.pay__form { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.pay__amount { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.pay__amount input { width: 7rem; min-height: 40px; padding: 6px 10px; }
.pay__methods { display: inline-flex; gap: 4px; margin: 0; padding: 0; border: 0; }
.pay__methods label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.pay__methods label:has(input:checked) { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-on-ink); }
.pay__methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay__methods label:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.list-row__amount { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
/* Prim raporu */
.kpis--fit { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.commission-row { align-items: flex-start; flex-wrap: wrap; row-gap: 2px; }
.commission-row .list-row__body { flex-basis: 0; }
.commission-row__figure { text-align: right; }
.commission-row__nobody { background: var(--color-surface-alt); color: var(--color-muted); }
/* Full width under the row, so the list has room on a phone. */
.commission-sales { flex: 0 0 100%; padding-left: 56px; }
@media (max-width: 520px) { .commission-sales { padding-left: 0; } }
.commission-sales > summary { cursor: pointer; width: fit-content; font-size: 0.85rem; font-weight: 650; color: var(--color-accent-strong); }
.commission-sales ol { list-style: none; margin: 8px 0 0; padding: 0; font-size: 0.88rem; }
.commission-sales li { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--color-border); }
.commission-sales__when { flex: none; min-width: 84px; color: var(--color-muted); }
.commission-sales__what { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.commission-sales__amount { flex: none; font-weight: 650; }
.commission-unpaid > summary { cursor: pointer; }
.commission-unpaid .list { color: var(--color-text); }
@media (max-width: 600px) { .pay__form { justify-content: flex-start; } }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.next-up { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 28px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--color-ink); color: var(--color-on-ink); }
.next-up__time { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.next-up__body { flex: 1; min-width: 180px; }
.next-up__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.next-up__name { font-size: 1.2rem; font-weight: 700; }
.next-up__meta { opacity: 0.78; }
.next-up .btn { background: var(--color-on-ink); color: var(--color-ink); }
.next-up .btn--secondary { background: transparent; color: var(--color-on-ink); border-color: color-mix(in srgb, var(--color-on-ink) 35%, transparent); }
.directory-stat { margin: 0 0 6px; font-size: 1.05rem; }
.directory-stat strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.section-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.section-title h2 { margin: 0; font-size: 1.3rem; }
.section-title + .list { margin-bottom: 28px; }

/* Value report ("Bu ay Hemenbook ile") */
.value-card { margin-bottom: 24px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--color-accent-soft); color: var(--color-accent-strong); }
.value-card__label { display: block; margin-bottom: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.value-card__figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; }
.value-card__figures div { display: flex; flex-direction: column; min-width: 0; }
.value-card__figures strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--color-text); }
.value-card__figures span { font-size: 0.85rem; }
@media (max-width: 760px) { .value-card__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Loyalty stamp card */
.stamp-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stamp-card__head h3 { margin: 0; }
.stamp-card__stamps { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.stamp { width: 34px; height: 34px; display: grid; place-items: center; border: 2px dashed var(--color-border); border-radius: 50%; color: var(--color-muted); font-size: 0.9rem; }
.stamp.is-stamped { border: 0; background: var(--color-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.stamp.is-reward { border-style: solid; border-color: var(--color-star); color: var(--color-star); }
.loyalty-pill { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 5px 12px; border-radius: 999px; background: var(--color-warning-soft); color: var(--color-warning); font-size: 0.9rem; font-weight: 650; }
.tile__perk { align-self: flex-start; margin-bottom: 2px; padding: 1px 8px; border-radius: 999px; background: var(--color-warning-soft); color: var(--color-warning); font-size: 0.75rem; font-weight: 700; }
.waitlist-card h3 { margin-bottom: 4px; }

/* Billing */
.billing-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; padding: 12px 14px 12px 16px; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent-strong); }
.billing-banner--warning { background: var(--color-warning-soft); color: var(--color-warning); }
.billing-banner--danger { background: var(--color-danger-soft); color: var(--color-danger); }
.plan-status { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.plan-status h2 { margin: 0 0 4px; font-size: 1.6rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; }
.plan-card { margin: 0; padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
/* Floated so the legend sits inside the card instead of on its border. */
.plan-card__name { float: left; width: 100%; padding: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.plan-card__summary { clear: both; margin: 2px 0 12px; padding-top: 2px; color: var(--color-muted); font-size: 0.92rem; }
.plan-option { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.plan-option + .plan-option { margin-top: 8px; }
.plan-option:has(input:checked) { border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }
.plan-option:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.plan-option input { accent-color: var(--color-ink); width: 18px; height: 18px; margin: 0; }
.plan-option__label { flex: 1; font-weight: 600; }
.plan-option__price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bank-card .summary-list { margin-bottom: 12px; }
.bank-card .summary-list dd { overflow-wrap: anywhere; }
.closed-notice { margin-bottom: 28px; border-color: var(--color-warning); background: var(--color-warning-soft); }
.closed-notice h2 { margin-bottom: 6px; }

/* Sales team and claim pages */
.sales { padding-top: 32px; }
.claim-qr { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.claim-qr__code { flex: 0 0 auto; width: 220px; max-width: 100%; padding: 8px; background: #fff; border-radius: var(--radius-md); }
.claim-qr__code svg { display: block; width: 100%; height: auto; }
.claim-qr__body { flex: 1 1 260px; min-width: 0; }
.claim-qr__body h2 { margin-bottom: 6px; }
.claim-card { display: grid; gap: 14px; margin-bottom: 18px; }
.claim-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.auth-page .claim-card h1 { margin: 0 0 4px; text-align: left; }
.claim-card p { margin: 0; }

/* ==========================================================================
   Calendar (day/week grid; height = minutes * --minute-px)
   ========================================================================== */

.calendar-scroll { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.calendar { --minute-px: 1.2px; --axis-width: 52px; min-width: calc(var(--axis-width) + var(--column-count) * 120px); }
.calendar__head, .calendar__body { display: grid; grid-template-columns: var(--axis-width) repeat(var(--column-count), minmax(120px, 1fr)); }
.calendar__head { border-bottom: 1px solid var(--color-border); background: var(--color-surface-alt); }
.calendar__column-head { padding: 10px 8px; text-align: center; font-weight: 700; border-left: 1px solid var(--color-border); line-height: 1.25; }
.calendar__column-head a { color: inherit; text-decoration: none; }
.calendar__column-head small { display: block; font-weight: 500; color: var(--color-muted); font-size: 0.78rem; }
.calendar__column-head .calendar__column-note { color: var(--color-warning); font-weight: 650; }
.calendar__column-head.is-today { color: var(--color-accent-strong); box-shadow: inset 0 -2px 0 var(--color-accent); }
.calendar__axis { position: relative; height: calc(var(--total) * var(--minute-px)); }
.calendar__axis span { position: absolute; right: 8px; top: calc(var(--offset) * var(--minute-px)); transform: translateY(-50%); font-size: 0.75rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.calendar__axis span:first-child { transform: none; }
.calendar__column {
  position: relative; height: calc(var(--total) * var(--minute-px)); border-left: 1px solid var(--color-border); cursor: copy;
  background-image:
    repeating-linear-gradient(to bottom, var(--color-border) 0 1px, transparent 1px calc(60 * var(--minute-px))),
    repeating-linear-gradient(to bottom, transparent 0 calc(30 * var(--minute-px)), color-mix(in srgb, var(--color-border) 45%, transparent) calc(30 * var(--minute-px)) calc(30 * var(--minute-px) + 1px), transparent calc(30 * var(--minute-px) + 1px) calc(60 * var(--minute-px)));
}
.calendar__closed {
  position: absolute; left: 0; right: 0; top: calc(var(--offset) * var(--minute-px)); height: calc(var(--length) * var(--minute-px));
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--color-muted) 10%, transparent) 0 6px, transparent 6px 12px);
  pointer-events: none;
}
.calendar__now { position: absolute; left: 0; right: 0; top: calc(var(--offset) * var(--minute-px)); height: 2px; background: var(--color-danger); z-index: 3; pointer-events: none; }
.calendar__now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-danger); }
.calendar__ghost {
  position: absolute; left: 2px; right: 2px; top: calc(var(--offset) * var(--minute-px)); height: calc(var(--length) * var(--minute-px));
  border: 1px dashed var(--color-accent); border-radius: 6px; background: var(--color-accent-soft); color: var(--color-accent-strong);
  font-size: 0.75rem; font-weight: 700; padding: 0 6px; pointer-events: none; display: flex; align-items: center;
}
.calendar-event {
  position: absolute; z-index: 1; overflow: hidden;
  top: calc(var(--offset) * var(--minute-px) + 1px);
  height: calc(var(--length) * var(--minute-px) - 2px);
  left: calc(100% * var(--lane) / var(--lane-count) + 2px);
  width: calc(100% / var(--lane-count) - 4px);
  padding: 3px 6px; border-radius: 6px; border-left: 3px solid var(--event-color);
  background: color-mix(in srgb, var(--event-color) 16%, var(--color-surface));
  color: var(--color-text); text-decoration: none; font-size: 0.78rem; line-height: 1.25; cursor: pointer;
}
.calendar-event:hover { background: color-mix(in srgb, var(--event-color) 26%, var(--color-surface)); z-index: 2; }
.calendar-event__time { font-weight: 750; font-variant-numeric: tabular-nums; margin-right: 4px; }
.calendar-event__title { font-weight: 650; }
.calendar-event__meta { display: block; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-event--compact { display: flex; gap: 4px; align-items: center; padding-top: 0; padding-bottom: 0; white-space: nowrap; }
.calendar-event--compact .calendar-event__meta { display: none; }
.calendar-event--no-show { opacity: 0.5; text-decoration: line-through; }

/* ==========================================================================
   Public booking pages
   ========================================================================== */

.storefront { padding-bottom: 40px; }
.storefront__cover { max-width: 960px; margin: 0 auto; padding: 16px 16px 0; }
/* Language switch on customer pages (TR · EN · RU), over the cover photo */
.storefront__cover { position: relative; }
.language-switch { position: absolute; top: 28px; right: 28px; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--color-surface) 92%, transparent); box-shadow: 0 2px 12px rgb(0 0 0 / 0.18); backdrop-filter: blur(6px); }
.language-switch a { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; color: var(--color-muted); text-decoration: none; }
.language-switch a:hover { color: var(--color-text); }
.language-switch a.is-active { background: var(--color-ink); color: var(--color-on-ink); }
.language-suggestion { display: block; margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent-strong); font-weight: 650; text-decoration: none; }
.language-suggestion:hover { text-decoration: underline; }
.demo-notice { margin: 14px 0 0; }
/* Two-factor setup */
.two-factor__steps { margin: 0 0 18px; padding-left: 1.2em; display: grid; gap: 10px; }
.two-factor__qr { width: 200px; max-width: 100%; margin: 10px 0 6px; }
.two-factor__qr svg { display: block; width: 100%; height: auto; }
.two-factor-off { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.two-factor-off input { width: 12em; }
.two-factor__secret { display: block; margin-top: 4px; font-size: 0.95rem; letter-spacing: 0.06em; overflow-wrap: anywhere; }
.storefront__cover img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-surface-alt); }
@media (max-width: 600px) {
  .storefront__cover { padding: 0; }
  .language-switch { top: 12px; right: 12px; }
  .storefront__cover img { aspect-ratio: 16 / 10; border-radius: 0; }
}
.business-header { margin: 22px 0 26px; }
.business-header h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 8px; }
.business-header p { margin: 10px 0 0; color: var(--color-muted); }
.business-header__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--color-muted); }
.business-header__facts > * + *::before { content: "·"; margin-right: 10px; color: var(--color-border); }
.business-header__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 0.93rem; }
.business-header__meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text); text-decoration: none; }
.business-header__meta a:hover { text-decoration: underline; }
.avatar { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--color-accent); color: var(--color-on-accent); font-size: 1.6rem; font-weight: 750; }
.avatar--round { width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; }
.avatar--sm { width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; }

.step { margin-bottom: 30px; scroll-margin-top: 16px; }
.step__header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step__header h2 { margin: 0; font-size: 1.25rem; }
.step__number { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink); color: var(--color-on-ink); font-size: 0.82rem; font-weight: 750; flex: none; }

.option-list { display: grid; gap: 8px; }
.option-card { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.option-card:hover { border-color: var(--color-ink); }
.option-card.is-selected { border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }
.option-card__name { font-weight: 650; flex: 1; }
.option-card__duration { color: var(--color-muted); font-size: 0.9rem; white-space: nowrap; }
.option-card__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.staff-picker { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; }
.staff-option { flex: 0 0 auto; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; text-align: center; }
.staff-option:hover { border-color: var(--color-ink); }
.staff-option.is-selected { border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }
.staff-option__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface-alt); color: var(--color-text); font-weight: 750; font-size: 1.1rem; }
.staff-option__avatar--any { color: var(--color-muted); }
.staff-option__name { font-weight: 650; font-size: 0.92rem; line-height: 1.2; }
.staff-option__title { font-size: 0.76rem; color: var(--color-muted); }

.day-picker { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day-chip { flex: 0 0 64px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 1px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; color: var(--color-text); text-decoration: none; }
.day-chip:hover { border-color: var(--color-ink); }
.day-chip__weekday { font-size: 0.72rem; color: var(--color-muted); font-weight: 650; text-transform: uppercase; letter-spacing: 0.03em; }
.day-chip__number { font-size: 1.3rem; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.2; }
.day-chip__month { font-size: 0.72rem; color: var(--color-muted); }
.day-chip.is-selected { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.day-chip.is-selected .day-chip__weekday, .day-chip.is-selected .day-chip__month { color: inherit; opacity: 0.8; }
.day-chip.is-closed { opacity: 0.4; background: transparent; border-style: dashed; }
.day-chip.is-closed .day-chip__number { text-decoration: line-through; }

.slot-group + .slot-group { margin-top: 14px; }
.slot-group h3 { font-size: 0.85rem; color: var(--color-muted); font-weight: 650; margin-bottom: 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.slot { display: flex; align-items: center; justify-content: center; min-height: 46px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; transition: border-color 0.15s, background-color 0.15s; }
.slot:hover { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-on-ink); }

.summary-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.summary-list dt { color: var(--color-muted); }
.summary-list dd { margin: 0; font-weight: 650; }

.status-header { text-align: center; padding: 8px 0 4px; }
.status-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.6rem; background: var(--color-success-soft); color: var(--color-success); }
.status-icon--cancelled { background: var(--color-danger-soft); color: var(--color-danger); }

.powered-by { text-align: center; color: var(--color-muted); font-size: 0.85rem; margin-top: 36px; }
.powered-by a { color: inherit; font-weight: 700; }

/* ==========================================================================
   Business tiles and carousels (home page, directory)
   ========================================================================== */

/* Positioned so absolutely placed children (e.g. .visually-hidden) stay inside a scrolling carousel. */
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile__link { display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.tile__media { position: relative; aspect-ratio: 4 / 3; margin-bottom: 8px; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-alt); }
.tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.tile__link:hover .tile__media img { transform: scale(1.03); }
.tile__link:hover .tile__name { text-decoration: underline; }
.tile__rating { position: absolute; top: 0; right: 0; min-width: 64px; padding: 7px 10px 6px; text-align: center; line-height: 1.1; color: #fff; background: rgb(18 18 18 / 0.66); border-bottom-left-radius: var(--radius-md); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile__rating b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.tile__rating span { font-size: 0.68rem; font-weight: 600; opacity: 0.9; }
.tile__name { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tile__place { margin: 0; font-size: 0.9rem; color: var(--color-muted); overflow-wrap: anywhere; }
.tile__footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tile__slot { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--color-accent-soft); color: var(--color-accent-strong); font-size: 0.85rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.tile__slot:hover { background: var(--color-accent); color: var(--color-on-accent); }
.tile__slot--none { background: var(--color-surface-alt); color: var(--color-muted); font-weight: 600; }
.tile__price { margin-left: auto; font-size: 0.88rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 20px; }

.carousel {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .carousel { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 700px) { .carousel { grid-auto-columns: 78%; gap: 14px; } }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.carousel-controls button:hover:not(:disabled) { border-color: var(--color-ink); }
.carousel-controls button:disabled { opacity: 0.35; cursor: default; }
.carousel-controls svg { width: 18px; height: 18px; }
@media (pointer: coarse) { .carousel-controls { display: none; } }

.section-block { padding-top: 56px; }
.section-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-block__head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-block__link { font-weight: 650; color: var(--color-text); white-space: nowrap; }

.place-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.place-links a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--color-border); color: var(--color-text); font-weight: 650; text-decoration: none; }
.place-links a:hover { color: var(--color-accent-strong); }
.place-links span { color: var(--color-muted); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Business directory ("İşletme bul")
   ========================================================================== */

.directory { padding-top: 32px; }
.directory__header { margin-bottom: 20px; }
.directory__header h1 { margin-bottom: 4px; font-size: clamp(2rem, 5vw, 2.8rem); }
.directory__header p { margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 18px; padding: 14px; background: var(--color-surface-alt); border-radius: var(--radius-lg); }
.filter-bar__field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; min-width: 0; }
.filter-bar__field--wide { flex-basis: 260px; }
.filter-bar__field label { font-size: 0.8rem; font-weight: 700; color: var(--color-muted); }
.filter-bar input, .filter-bar select { border-color: transparent; }

.chip-filter__label { align-self: center; margin-right: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.chip-filter__count { margin-left: 4px; font-weight: 500; opacity: 0.7; font-variant-numeric: tabular-nums; }
.directory .tile-grid { margin-top: 26px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }

.dark-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 36px 32px; background: #151515; color: #fff; border-radius: var(--radius-lg); }
.dark-band h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); color: #fff; }
.dark-band p { margin: 0; max-width: 36em; color: rgb(255 255 255 / 0.78); }

/* ==========================================================================
   Home page
   ========================================================================== */

.hero-search { position: relative; color: #fff; background: #1a1a1a var(--hero-image) center 40% / cover no-repeat; }
.hero-search::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 8 8 / 0.62) 0%, rgb(8 8 8 / 0.42) 45%, rgb(8 8 8 / 0.72) 100%); }
.hero-search__inner { position: relative; padding-top: 136px; padding-bottom: 26px; text-align: center; }
.hero-search__title { max-width: 13em; margin: 0 auto 16px; color: #fff; font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero-search__lead { max-width: 34em; margin: 0 auto 30px; font-size: clamp(1rem, 2.2vw, 1.2rem); color: rgb(255 255 255 / 0.86); }
.search-box { display: flex; align-items: stretch; gap: 6px; max-width: 780px; margin: 0 auto; padding: 6px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-raised); color: #151515; }
.search-box__field { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; padding-left: 14px; color: #6b6e73; }
.search-box__field--place { flex: 0 1 230px; border-left: 1px solid #e5e5e1; }
.search-box__field .icon { width: 20px; height: 20px; }
.search-box input, .search-box select { min-height: 50px; padding: 0; border: 0; background: transparent; color: #151515; color-scheme: light; }
.search-box input:focus, .search-box select:focus { box-shadow: none; }
.search-box__field:focus-within { box-shadow: inset 0 -2px 0 var(--color-accent); }
.search-box__submit { min-height: 50px; padding: 0 28px; }
.hero-search__categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; margin-top: 64px; }
.hero-search__categories a { padding: 8px 0; color: #fff; font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.hero-search__categories a:hover { border-bottom-color: #fff; }
@media (max-width: 640px) {
  .hero-search__inner { padding-top: 104px; }
  .search-box { flex-direction: column; }
  .search-box__field--place { flex-basis: auto; border-left: 0; border-top: 1px solid #e5e5e1; }
  .hero-search__categories { flex-wrap: nowrap; justify-content: flex-start; gap: 22px; margin: 36px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
}

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split__body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.split__body p { color: var(--color-muted); font-size: 1.08rem; }
.tick-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--color-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   For business owners (/isletmeler-icin/)
   ========================================================================== */

.owner-hero { padding-top: 48px; padding-bottom: 24px; }
.owner-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 18px; }
.owner-hero__lead { max-width: 30em; font-size: 1.15rem; color: var(--color-muted); margin-bottom: 26px; }
.owner-hero__note { margin: 14px 0 0; font-size: 0.9rem; color: var(--color-muted); }
.owner-hero__media { position: relative; padding-bottom: 40px; }
.owner-hero__media > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.owner-hero__media .phone-mockup { position: absolute; left: -48px; bottom: 0; width: 250px; }
@media (max-width: 860px) {
  .owner-hero__media > img { aspect-ratio: 4 / 3; }
  .owner-hero__media .phone-mockup { left: 16px; width: 210px; }
}

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.feature-list__item { padding: 24px 0; border-top: 1px solid var(--color-border); }
.feature-list__item h3 { margin-bottom: 6px; font-size: 1.15rem; }
.feature-list__item p { margin: 0; color: var(--color-muted); }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price-card__amount { margin: 6px 0 0; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-card__amount span { margin-left: 2px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--color-muted); }
.price-card__note { margin: 6px 0 14px; color: var(--color-muted); }
.price-card .tick-list { margin-bottom: 0; }
.price-card--trial { background: #151515; border-color: #151515; color: #fff; }
.price-card--trial .price-card__note { color: rgb(255 255 255 / 0.75); }
.price-card--trial .btn { margin-top: auto; align-self: flex-start; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.4rem; line-height: 1; color: var(--color-muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--color-muted); max-width: 40em; }

.phone-mockup { width: 290px; max-width: 100%; border-radius: 38px; padding: 10px; background: #111; box-shadow: var(--shadow-raised); }
.phone-mockup__screen { border-radius: 30px; background: #fff; color: #151515; padding: 20px 14px 16px; overflow: hidden; font-size: 13px; }
.phone-mockup__header { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.phone-mockup__avatar { width: 34px; height: 34px; border-radius: 10px; background: #151515; color: #fff; display: grid; place-items: center; font-weight: 750; }
.phone-mockup__name { font-weight: 750; font-size: 14px; }
.phone-mockup__meta { color: #6b6e73; font-size: 11px; }
.phone-mockup__label { font-size: 11px; font-weight: 700; color: #6b6e73; margin: 10px 0 6px; }
.phone-mockup__service { display: flex; justify-content: space-between; padding: 8px 10px; border: 1px solid #e5e5e1; border-radius: 8px; margin-bottom: 6px; }
.phone-mockup__service.is-selected { border-color: #151515; box-shadow: inset 0 0 0 1px #151515; }
.phone-mockup__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.phone-mockup__slot { text-align: center; padding: 7px 0; border: 1px solid #e5e5e1; border-radius: 7px; font-weight: 650; font-size: 11.5px; }
.phone-mockup__slot.is-taken { opacity: 0.35; text-decoration: line-through; }
.phone-mockup__slot.is-selected { background: #151515; border-color: #151515; color: #fff; }
.phone-mockup__cta { margin-top: 12px; text-align: center; padding: 10px; background: var(--color-accent); color: #fff; border-radius: 8px; font-weight: 700; }

.auth-page { padding-top: 40px; padding-bottom: 24px; }
.auth-page h1 { font-size: 2rem; text-align: center; }
.auth-page__footer { text-align: center; margin-top: 18px; color: var(--color-muted); }

/* ==========================================================================
   Ratings and reviews
   ========================================================================== */

.stars { color: var(--color-star); letter-spacing: 1px; white-space: nowrap; }
.stars__empty { color: color-mix(in srgb, var(--color-muted) 40%, transparent); }
.rating-summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--color-text); text-decoration: none; }
.rating-summary .text-muted { font-weight: 500; }

/* Radios are in 5..1 order and displayed reversed, so "~" highlights the lower stars. */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.1rem; line-height: 1; color: color-mix(in srgb, var(--color-muted) 40%, transparent); cursor: pointer; padding: 2px; transition: color 0.1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--color-star); }
.star-input input:focus-visible + label { outline: 2px solid var(--color-accent); border-radius: 6px; }

.review { padding: 16px 0; border-top: 1px solid var(--color-border); }
.review:first-child { border-top: 0; padding-top: 0; }
.review__header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.review__author { font-weight: 650; }
.review__meta { color: var(--color-muted); font-size: 0.88rem; }
.review p { margin: 4px 0 0; overflow-wrap: anywhere; }
.review__reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--color-accent); background: var(--color-surface-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 0.93rem; }
.review__reply b { display: block; font-size: 0.82rem; color: var(--color-muted); margin-bottom: 2px; }

/* ==========================================================================
   Printable poster
   ========================================================================== */

.poster { max-width: 148mm; margin: 24px auto 0; padding: 28px 24px; background: #fff; color: #111; border-radius: 16px; text-align: center; border: 1px solid var(--color-border); }
.poster__brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 750; font-size: 1.3rem; }
.poster__brand svg { width: 36px; height: 36px; }
.poster__title { margin: 18px 0 20px; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.poster__qr { width: 70%; margin: 0 auto; }
.poster__qr svg { display: block; width: 100%; height: auto; }
.poster__instruction { font-size: 1.1rem; font-weight: 650; margin: 18px 0 6px; }
.poster__instruction .icon { margin-right: 0.4em; }
.poster__url { font-size: 0.95rem; color: #0f766e; font-weight: 650; overflow-wrap: anywhere; margin: 0; }
.poster__footer { font-size: 0.8rem; color: #666; margin: 16px 0 0; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal { padding-top: 32px; padding-bottom: 32px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { font-size: 1.15rem; margin-top: 28px; }
.legal h3 { font-size: 1rem; margin-top: 20px; }
.legal p, .legal li { color: var(--color-text); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal-card h3 { margin-top: 22px; }
.legal-card h4 { margin: 16px 0 6px; font-size: 0.95rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.legal-nav a { padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.legal-nav a.is-active { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.93rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--color-border); }
.legal-table th { background: var(--color-surface-alt); font-weight: 650; white-space: nowrap; }
.legal-table thead th { white-space: normal; }
@media (max-width: 560px) { .legal-table th { white-space: normal; } }
.legal ul.lettered-list { list-style: none; padding-left: 4px; }

.request-form { margin-top: 24px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.request-form h3 { margin-top: 20px; }
.request-form h3:first-of-type { margin-top: 0; }
.request-form__field { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; }
.request-form__field input, .request-form__field textarea { font-weight: 400; }
.request-form__options { display: grid; gap: 8px; margin-bottom: 12px; }
.request-form__options--inline { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.request-form__options label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.request-form__options input { margin-top: 2px; width: 18px; height: 18px; }
.signature-line { display: block; height: 44px; border-bottom: 1px solid var(--color-text); }

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  @page { size: A5; margin: 10mm; }
  body { background: #fff; }
  .site-header, .site-footer, .app-sidebar, .app-topbar, .app-tabbar, .page-head, .messages, .no-print, .legal-nav, .legal > .alert, .legal > .last-updated { display: none !important; }
  .app-main { margin-left: 0; }
  .app-content { padding: 0; }
  .print-only { display: block; }
  .poster { border: 0; margin: 0 auto; padding: 0; max-width: none; }
  .request-form { border: 0; padding: 0; margin: 0; background: #fff; color: #000; font-size: 11pt; }
  .request-form input, .request-form textarea { border: 0; border-bottom: 1px solid #000; border-radius: 0; background: transparent; color: #000; min-height: 28px; padding: 2px 0; }
  .request-form textarea { border: 1px solid #000; }
}

/* ==========================================================================
   Portfolio ("Çalışmalar"): dashboard grid, storefront strip, lightbox
   ========================================================================== */

.page-intro { max-width: 62ch; margin: -6px 0 18px; }
.portfolio-upload { margin-bottom: 20px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.portfolio-card { display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); scroll-margin-top: 16px; }
.portfolio-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); background: var(--color-surface-alt); }
.portfolio-card__caption { display: grid; gap: 6px; }
.portfolio-card__caption input { width: 100%; min-width: 0; }
.portfolio-card__actions { display: flex; gap: 6px; }
.portfolio-card__actions .btn { flex: 1; }

.portfolio-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.portfolio-strip__item { display: block; overflow: hidden; border-radius: var(--radius-md); scroll-snap-align: start; }
.portfolio-strip__item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--color-surface-alt); transition: transform 0.2s ease; }
@media (hover: hover) { .portfolio-strip__item:hover img { transform: scale(1.04); } }
@media (min-width: 600px) { .portfolio-strip { grid-auto-columns: 160px; } }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 60px 12px 20px; border: 0; background: #0a0a0a; color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox::backdrop { background: rgb(10 10 10 / 0.6); }
.lightbox__figure { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 0; margin: 0; }
.lightbox__image { max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; border-radius: var(--radius-md); }
.lightbox__caption { color: rgb(255 255 255 / 0.85); font-size: 0.95rem; text-align: center; }
.lightbox__close { position: absolute; top: 10px; right: 10px; }
.lightbox__close, .lightbox__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: #fff; cursor: pointer; }
.lightbox__close:focus-visible, .lightbox__nav button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox .icon { width: 22px; height: 22px; }
.lightbox__nav { display: flex; align-items: center; gap: 16px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__counter { min-width: 5ch; color: rgb(255 255 255 / 0.75); font-size: 0.9rem; text-align: center; }

/* Google Maps step on the overview, visit checklist in the sales tool */
.maps-card h3 { display: flex; align-items: center; gap: 8px; }
.maps-card__steps, .visit-checklist ol { margin: 0 0 12px; padding-left: 20px; }
.maps-card__steps li + li, .visit-checklist li + li { margin-top: 6px; }
.visit-checklist { margin-top: 16px; }
.visit-checklist ol { margin-bottom: 0; }

/* ==========================================================================
   Input and motion preferences (last, so they win over component rules)
   ========================================================================== */

/* Touch screens: every control gets a 44px target (Apple HIG; Material asks 48dp)
   and chips keep 8px apart. Mouse users keep the denser layout. */
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .chip-filter { gap: 8px; }
  .chip-filter a, .segmented a, .field--choices > div label { display: inline-flex; align-items: center; min-height: 44px; }
  .star-input label { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
