/* =========================================================================
   Kuaför Randevu - tasarım sistemi
   Yön: logodaki siyah + şampanya altını. Nötr zeminler (krem değil), tek vurgu rengi (altın).
   Köşe sistemi: kontroller 12px, kartlar 18px, rozet/çip tam yuvarlak.
   Font: Geist (fonts/, kendi sunucumuzdan). İkonlar: Phosphor (vendor/phosphor/).
   ========================================================================= */

@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin-ext.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: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/geist-latin.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;
}

:root {
  --bg: #f3f3f1;
  --surface: #fcfcfb;
  --surface-2: #ececea;
  --surface-3: #e3e3e0;
  --text: #151515;
  --muted: #64635e;
  --border: #dfdeda;
  --border-strong: #c9c8c3;
  /* altın: metin olarak okunabilir koyu ton (beyaz üstünde AA) */
  --accent: #8a6620;
  --accent-ink: #ffffff;
  --accent-soft: #f1ead9;
  /* ana düğme: aydınlıkta mürekkep siyahı, karanlıkta altın */
  --primary: #161616;
  --primary-ink: #f6f4ef;
  --gold: #c9a24f;
  --ok: #1f7a46;      --ok-soft: #e3f1e8;
  --warn: #8f6510;    --warn-soft: #f7efd9;
  --info: #2c55a8;    --info-soft: #e6ecf8;
  --bad: #b3261e;     --bad-soft: #f8e5e3;
  --r-sm: 10px;
  --radius: 18px;
  --r-ctl: 12px;
  --shadow: 0 1px 0 rgba(20, 20, 18, .04), 0 10px 30px -18px rgba(20, 20, 18, .18);
  --shadow-lg: 0 24px 60px -28px rgba(20, 20, 18, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --topbar-h: 64px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0e0e0f;
  --surface: #161618;
  --surface-2: #1e1e21;
  --surface-3: #27272b;
  --text: #f1efe9;
  --muted: #9f9c95;
  --border: #29292d;
  --border-strong: #3a3a3f;
  --accent: #d8b468;
  --accent-ink: #17130a;
  --accent-soft: #2a2416;
  --primary: #d8b468;
  --primary-ink: #17130a;
  --gold: #d8b468;
  --ok: #5fc38a;      --ok-soft: #16261c;
  --warn: #e3b955;    --warn-soft: #2b2412;
  --info: #8fb0f0;    --info-soft: #18213a;
  --bad: #f08b80;     --bad-soft: #321a18;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: 28px; letter-spacing: -.03em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; letter-spacing: -.01em; }
p { margin: 0; }
b, strong { font-weight: 620; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; letter-spacing: .02em; }
::selection { background: var(--gold); color: #141414; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.ph, .ph-fill { line-height: 1; vertical-align: -.125em; }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--border); isolation: isolate;
}
/* Cam efekti sözde öğede: .topbar'ın kendisinde backdrop-filter olursa içindeki sabit (fixed) alt menü
   ekrana değil üst çubuğa göre yerleşir ve üst çubuğu örter. */
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.topbar-in { display: flex; align-items: center; gap: 20px; height: var(--topbar-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 162, 79, .35); }
#nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
#nav::-webkit-scrollbar { display: none; }
#nav a { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-ctl); color: var(--muted); white-space: nowrap; font-weight: 520; font-size: 14px; transition: color .2s var(--ease), background .2s var(--ease); }
#nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
#nav a.active { color: var(--text); background: var(--surface-2); }
#nav a.active .ico { color: var(--accent); }
#nav .ico { font-size: 18px; display: inline-flex; }
#nav .nav-more { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
#userbox { display: flex; align-items: center; gap: 10px; }
.user-name { font-weight: 600; font-size: 14px; white-space: nowrap; }
.role-chip { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-weight: 520; }

main#app { padding-top: 28px; padding-bottom: 56px; }

/* ---------- Genel bileşenler ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--muted); margin-top: 6px; }
.grid { display: grid; gap: 14px; }
.grid.c2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px; border-radius: var(--r-ctl); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn .ph, .btn .ph-fill { font-size: 1.15em; }
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .55); }
.btn.primary:hover { background: color-mix(in srgb, var(--primary) 88%, var(--surface)); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.danger { color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn.ok { color: var(--ok); }
.btn.ok:hover { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: 13px; border-radius: var(--r-sm); gap: 6px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-ctl); border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; font-size: 18px; display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; letter-spacing: .01em; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.muted { background: var(--surface-2); color: var(--muted); }

.tabs { display: inline-flex; gap: 2px; padding: 4px; background: var(--surface-2); border-radius: 14px; flex-wrap: wrap; }
.tab { padding: 8px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--border); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 520; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.chip:hover { border-color: var(--border-strong); background: var(--surface-2); }
.chip.on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* formlar */
.form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 560; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-ctl); padding: 11px 13px; width: 100%; min-width: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--gold); padding: 0; box-shadow: none; }
textarea { resize: vertical; min-height: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form label { flex: 1 1 150px; }
.check { flex-direction: row; align-items: center; gap: 10px; color: var(--text); font-weight: 500; font-size: 14px; }

/* ---------- Giriş ekranı ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 440px); gap: 56px; align-items: center; min-height: calc(100dvh - 180px); }
.auth-hero { position: relative; }
.auth-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.045em; margin-top: 22px; max-width: 13ch; }
.auth-hero h1 em { font-style: normal; color: var(--accent); }
.auth-hero > p { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 44ch; }
.demo-bar { background: var(--surface-2); color: var(--muted); border-bottom: 1px solid var(--border); padding: 8px 20px; font-size: 12.5px; text-align: center; }
.demo-bar b { color: var(--text); }
.demo-bar-links { white-space: nowrap; margin-left: 6px; }
.auth-hero p.auth-contact { font-size: 14px; margin-top: 18px; }
.auth-feats { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 460px; }
.auth-feats li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; color: var(--text); font-weight: 520; }
.auth-feats li > div > span { color: var(--muted); font-weight: 400; display: block; font-size: 13.5px; }
.feat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--accent); font-size: 20px; }
.auth-biz { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 460px; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.auth-biz .ph { font-size: 20px; color: var(--accent); margin-top: 1px; }
.auth-biz b { color: var(--text); }
.logo-big { display: block; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 162, 79, .4), 0 18px 40px -18px rgba(201, 162, 79, .55); }
.auth-card { padding: 26px; box-shadow: var(--shadow-lg); }
.auth-card .tabs { margin-bottom: 20px; display: flex; }
.auth-card .tabs .tab { flex: 1; }
.auth-single { max-width: 440px; margin: 32px auto; }
.demo { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; }

/* işlem sürerken */
body.busy { cursor: progress; }
body.busy #app { opacity: .65; pointer-events: none; transition: opacity .2s; }

/* ---------- Arama, uyarı bandı, çağrı kartı ---------- */
.hero.col { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input { flex: 1 1 220px; }
.search select { flex: 0 1 190px; width: auto; }
.banner { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; border: 0; font-weight: 500; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.bad { background: var(--bad-soft); color: var(--bad); }
.cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cta > :first-child:not(.grow) { font-size: 24px !important; color: var(--accent); width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.cta > .grow { flex: 1 1 220px; }
a.pick { color: var(--text); }
a.pick:hover { text-decoration: none; }

/* ---------- Randevu taşıma ---------- */
.moved-note { color: var(--info); background: var(--info-soft); padding: 4px 9px; border-radius: 8px; align-self: flex-start; }
#modal .days { padding-bottom: 6px; }
td .btn.sm { margin-left: 6px; }
/* pencere kaydırılsa da onay düğmesi altta görünür kalsın */
.sticky-bar { position: sticky; bottom: -24px; margin: 14px -24px -24px; padding: 14px 24px 18px; background: var(--surface); border-top: 1px solid var(--border); }

/* ---------- Hesap silme ---------- */
.danger-zone { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-color: color-mix(in srgb, var(--bad) 30%, var(--border)); }

/* ---------- Hukuki metinler ---------- */
.legal { max-width: 780px; margin: 0 auto; line-height: 1.7; padding: 28px; }
.legal h1 { font-size: 26px; margin: 16px 0 6px; }
.legal h2 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal ul { margin: 0 0 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
mark.todo { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.legal-links { margin-top: 18px; text-align: center; }
.check span { font-weight: 400; }
.check input[type="checkbox"], .check input[type="radio"] { flex: none; width: 17px; height: 17px; margin-top: 2px; }
form .check { align-items: flex-start; }

/* ---------- Telefona yükleme (PWA) ---------- */
.install { display: flex; align-items: center; gap: 14px; margin: 20px 0 14px; }
.auth-hero .install { max-width: 460px; }
.install-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 20px; flex: none; }

/* ---------- Müşteri ana sayfa ---------- */
.hero {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  position: relative; overflow: hidden; padding: 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gold) 22%, transparent) 0%, transparent 55%),
    var(--surface);
}
.hero h1 { font-size: 28px; }
.hero > * { position: relative; }
.reminder { display: flex; gap: 12px; align-items: center; background: var(--info-soft); color: var(--info); border: 0; margin-bottom: 14px; }
.reminder b { color: var(--text); }
.loyalty .dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 14px 0 10px; }
.loyalty .dot { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--border-strong); display: grid; place-items: center; font-size: 12px; color: var(--primary-ink); }
.loyalty .dot.on { background: var(--gold); border: 1.5px solid var(--gold); color: #17130a; }
.loyalty .dot.gift { border-style: solid; border-color: var(--gold); color: var(--accent); }

.barber { display: flex; flex-direction: column; gap: 12px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.barber.selectable { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.barber.selectable:hover { border-color: var(--border-strong); }
.barber.selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.barber-head { display: flex; gap: 14px; align-items: center; }
.barber-head > div:nth-child(2) { flex: 1; min-width: 0; }
.avatar {
  width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center;
  font-weight: 650; font-size: 15px; letter-spacing: .02em;
  background: color-mix(in srgb, var(--c, var(--gold)) 18%, var(--surface-2));
  color: color-mix(in srgb, var(--c, var(--gold)) 75%, var(--text));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--gold)) 30%, transparent);
}
.avatar.sm { width: 36px; height: 36px; font-size: 12.5px; border-radius: 11px; }
.fav { font-size: 18px; color: var(--muted); }
.fav.on { color: #d6455d; border-color: color-mix(in srgb, #d6455d 45%, transparent); }
.stars { color: var(--gold); letter-spacing: 1px; }
.barber-foot { display: flex; gap: 6px; align-items: center; }

.svc-list { display: flex; flex-direction: column; }
.svc { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: 0; }
.svc .price { font-weight: 650; font-variant-numeric: tabular-nums; }
.info-list { display: grid; gap: 10px; margin: 12px 0 16px; }

/* ---------- Randevu alma ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
/* grid sütunu, içindeki yatay kaydırmalı gün şeridi yüzünden ekrandan genişlemesin */
.book > *, .dash-grid > * { min-width: 0; }
.step { margin-bottom: 16px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-num { width: 28px; height: 28px; border-radius: 9px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-size: 13px; font-weight: 650; flex: none; font-variant-numeric: tabular-nums; }
.step.locked { opacity: .78; }
.step.locked .step-num { background: var(--surface-2); color: var(--muted); }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pick {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pick:hover { border-color: var(--border-strong); background: color-mix(in srgb, var(--surface-2) 50%, var(--surface)); }
.pick.selected { border-color: var(--gold); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.pick .meta { font-size: 12.5px; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day {
  flex: none; width: 64px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--border); scroll-snap-align: start;
  background: var(--surface); color: var(--muted); font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 520;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.day b { font-size: 20px; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.day:hover:not(:disabled) { border-color: var(--border-strong); }
.day.selected { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.day.selected b { color: var(--primary-ink); }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { padding: 11px 4px; border-radius: var(--r-ctl); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.slot:hover:not(:disabled) { border-color: var(--gold); }
.slot.selected { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.slot:disabled { background: transparent; color: color-mix(in srgb, var(--muted) 60%, transparent); text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.hint { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.summary { position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.sum-path { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-weight: 600; padding: 14px; background: var(--surface-2); border-radius: 14px; font-size: 14px; }
.sum-path .arrow { color: var(--accent); }
.sum-rows { display: grid; gap: 8px; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; }
.sum-row.total { font-size: 19px; font-weight: 650; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sum-row.discount { color: var(--ok); }
.err { color: var(--bad); font-size: 13px; }
.okmsg { color: var(--ok); font-size: 13px; }
.radio-group { display: grid; gap: 8px; }

/* ---------- Randevu kartları ---------- */
.appt { display: flex; gap: 16px; }
.appt-date { flex: none; align-self: flex-start; width: 60px; height: 68px; border-radius: 14px; background: var(--surface-2); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--border), inset 0 3px 0 var(--gold); }
.appt-date b { font-size: 24px; line-height: 1; font-weight: 650; font-variant-numeric: tabular-nums; }
.appt-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.appt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.appt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.appt-body .btn-row { margin-top: 8px; }
.appt-row { display: flex; gap: 16px; align-items: center; position: relative; padding-left: 22px; }
.appt-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--border-strong); }
.appt-row.status-pending::before { background: var(--warn); }
.appt-row.status-confirmed::before { background: var(--info); }
.appt-row.status-completed::before { background: var(--ok); }
.appt-row.status-cancelled::before { background: var(--bad); }
.appt-row.status-cancelled, .appt-row.status-noshow { opacity: .72; }
.appt-row .time { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.appt-row .time b { font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.appt-row .time span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.appt-row .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .big { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--surface-2); color: var(--accent); }

/* ---------- Haftalık takvim ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week-col { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px; min-height: 200px; display: flex; flex-direction: column; gap: 6px; }
.week-col.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.week-col.closed { background: var(--surface-2); }
.week-head { font-size: 12px; color: var(--muted); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.week-head b { display: block; font-size: 15px; color: var(--text); }
.mini { font-size: 12px; padding: 6px 8px; border-radius: 9px; background: var(--surface-2); border-left: 3px solid var(--border-strong); }
.mini b { display: block; }
.mini.pending { border-left-color: var(--warn); }
.mini.confirmed { border-left-color: var(--info); }
.mini.completed { border-left-color: var(--ok); }
.mini.cancelled, .mini.noshow { border-left-color: var(--bad); opacity: .6; text-decoration: line-through; }

/* ---------- Çalışma saatleri ---------- */
.hours-table { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 130px 120px 1fr 1fr; gap: 10px; align-items: center; }
.hours-row.off input[type="time"] { opacity: .4; }
.leave-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.leave { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 600; }
.leave button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 14px; }

/* ---------- İşletme paneli ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { padding: 16px 18px; }
.stat .lbl { font-size: 12.5px; color: var(--muted); font-weight: 520; }
.stat .val { font-size: 30px; font-weight: 650; margin-top: 4px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat.accent { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.stat.accent .lbl { color: inherit; opacity: .75; }
.stat .val.ok { color: var(--ok); }
.stat .val.warn { color: var(--warn); }
.stat .val.bad { color: var(--bad); }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 14px; }
.bars { display: flex; gap: 10px; height: 190px; align-items: stretch; margin-top: 16px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bar-track { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bar { width: 62%; max-width: 40px; background: var(--text); border-radius: 8px 8px 3px 3px; min-height: 3px; opacity: .88; }
.bar-col.today .bar { background: var(--gold); opacity: 1; }
.bar-val { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-lbl { font-size: 12px; color: var(--muted); }
.top-item { display: flex; align-items: center; gap: 14px; }
.top-item .big { font-size: 18px; font-weight: 650; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; padding: 0; }
.table-wrap table { min-width: 720px; }
td input, td select { padding: 7px 9px; }
td input[type="number"] { max-width: 110px; }

/* kuponlar */
.coupon { display: flex; flex-direction: column; gap: 10px; border-style: dashed; border-width: 1.5px; border-color: var(--border-strong); }
.coupon-code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 20px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }

/* ---------- Pencere ve bildirim ---------- */
.modal { position: fixed; inset: 0; background: rgba(8, 8, 9, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; width: 100%; max-width: 480px; max-height: 86vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.star-pick { display: flex; gap: 4px; font-size: 32px; }
.star-pick button { border: 0; background: none; cursor: pointer; color: var(--border-strong); padding: 0; font-size: inherit; line-height: 1; }
.star-pick button.on { color: var(--gold); }
.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 60; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.toast.bad { background: var(--bad); color: #fff; }

/* ---------- Mobil menü ("Daha fazla" sayfası) ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.more-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 14px; background: var(--surface-2); color: var(--text); font-size: 12.5px; font-weight: 560; text-align: center; }
.more-grid a .ph { font-size: 22px; color: var(--accent); }
.more-grid a:hover { text-decoration: none; background: var(--surface-3); }
.more-grid a.active { box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- Duyarlı yerleşim ---------- */
@media (max-width: 960px) {
  .book, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .week { grid-template-columns: 1fr; }
  .week-col { min-height: 0; }
  .auth { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .auth-hero { display: contents; }
  .auth-hero h1 { max-width: 16ch; }
  .auth-hero > .auth-feats, .auth-hero > .auth-biz, .auth-hero > .auth-contact, .auth-hero > #install-slot { order: 2; }
  .auth-hero > .logo-big, .auth-hero > h1, .auth-hero > p:not(.auth-contact) { order: 0; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 56px; }
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  h1, .page-head h1 { font-size: 25px; }
  main#app { padding-top: 20px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .card { padding: 16px; border-radius: 16px; }
  .auth-hero h1 { font-size: 38px; margin-top: 18px; }
  .auth-hero > p { font-size: 16px; }
  .auth-feats { margin-top: 22px; gap: 12px; }
  .auth-card { padding: 20px; }
  .user-name, .role-chip { display: none; }
  .brand > span { font-size: 15px; }
  /* alt sekme çubuğu */
  #nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; flex: none; overflow: visible;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
    border-top: 1px solid var(--border); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 0;
  }
  #nav a { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; font-size: 10.5px; font-weight: 560; padding: 7px 2px 5px; border-radius: 12px; color: var(--muted); }
  #nav a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  #nav a.active { background: transparent; color: var(--text); }
  #nav a.active .ico { color: var(--accent); }
  #nav .ico { font-size: 23px; }
  #nav a.nav-extra { display: none; }
  #nav .nav-more { display: flex; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .hours-row { grid-template-columns: 1fr 1fr; }
  .appt-row { flex-wrap: wrap; padding-left: 18px; }
  .appt-row .actions { width: 100%; justify-content: flex-start; }
  .row2 { grid-template-columns: 1fr; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; }
  .stat .val { font-size: 24px; }
  .hero { padding: 20px; }
  .hero h1 { font-size: 24px; }
  .page-head { margin-bottom: 18px; }
  .modal { place-items: end center; padding: 0; }
  .modal-card { max-width: none; border-radius: 22px 22px 0 0; max-height: 90dvh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-bottom: 0; }
  .sticky-bar { bottom: calc(-22px - env(safe-area-inset-bottom)); margin: 14px -18px -22px; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: no-preference) {
  #app > * { animation: rise .45s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Randevu tamamlandı penceresi */
.done-head { text-align: center; margin-bottom: 14px; }
.done-ico { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; line-height: 1; background: var(--ok-soft); color: var(--ok); }
.done-head h2 { margin-bottom: 6px; }
.done-when { font-size: 17px; margin-bottom: 2px; }
.done-q { text-align: center; margin-bottom: 10px; }
.done-q + .chips { justify-content: center; }
.done-note { text-align: center; margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }

/* İşletmenin elle eklediği randevu */
.tag-guest { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); vertical-align: middle; }
.setting { padding: 14px; border: 1px solid var(--border); border-radius: 14px; display: grid; gap: 4px; }

/* Öğle arası / saat kapatma */
.rest-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-left: 4px; margin-top: -2px; }
.rest-row input[type="time"] { max-width: 130px; }
.hours-row.off .rest-row { opacity: .4; }
.closed-row { background: var(--surface-2); border-style: dashed; }
.mini.closed { background: var(--surface-2); color: var(--muted); border-left-color: var(--muted); }

/* Ödeme ve müşteri kartı */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cust-link { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.cust-link:hover { color: var(--accent); }
.cust-card .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cust-card .stat .val { font-size: 18px; }
.cust-card .stat { padding: 10px 12px; }
@media (max-width: 520px) { .cust-card .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.txt-warn { color: var(--warn); font-weight: 600; }

/* Raporlar */
.rbars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-bottom: 18px; }
.rbar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.rbar span { display: block; background: var(--text); opacity: .85; border-radius: 4px 4px 0 0; min-height: 2px; }
.rbar em { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; font-style: normal; color: var(--muted); }
.table-wrap table.fit, .table-wrap table.heat { min-width: 0; }
table.fit th, table.fit td { padding: 8px 6px; }
table.heat { border-collapse: separate; border-spacing: 3px; width: auto; }
table.heat th { font-size: 11px; color: var(--muted); font-weight: 600; padding: 2px; border: 0; text-transform: none; letter-spacing: 0; }
table.heat td { width: 32px; min-width: 26px; height: 26px; text-align: center; font-size: 11px; border-radius: 6px; padding: 0; border: 0;
  background: color-mix(in srgb, var(--gold) calc(var(--h) * 85%), var(--surface-2)); color: var(--text); }
tr.total td { font-weight: 700; border-top: 2px solid var(--border); }
.prim-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.prim-row input { width: 70px; text-align: right; }

/* Geri çağırma */
.wb-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wb-row .btn-row { margin: 0; }
#wb-msg { width: 100%; margin-top: 4px; }

/* Bekleme listesi */
.wait-note { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.wait-staff summary { cursor: pointer; list-style: none; }
.wait-staff summary::-webkit-details-marker { display: none; }
.wait-staff .svc .btn { margin-left: 4px; }

/* çıkış düğmesi: telefonda yalnızca ikon */
@media (max-width: 760px) { .logout-txt { display: none; } }

/* =========================================================================
   Fotoğraflar (stok: img/stok/ · STOCK listesi boşsa bu kurallar etkisiz kalır)
   ========================================================================= */
/* fotoğraf üstündeki içerik: her temada açık renk metin, yarı saydam koyu kontroller */
.on-photo {
  --text: #f5f2ec; --muted: rgba(245, 242, 236, .74); --border: rgba(255, 255, 255, .16); --border-strong: rgba(255, 255, 255, .28);
  --surface: rgba(18, 18, 20, .42); --surface-2: rgba(255, 255, 255, .1); --accent: #e2c27c;
  --primary: #d8b468; --primary-ink: #17130a;
  color: var(--text); background: #121214; border-color: transparent; isolation: isolate;
}
.on-photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.on-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 10, 11, .9) 0%, rgba(10, 10, 11, .7) 45%, rgba(10, 10, 11, .35) 100%);
}
.on-photo input, .on-photo select { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.on-photo select option { color: #151515; }
.hero.on-photo { padding: 32px; min-height: 220px; }
.hero.on-photo.col { justify-content: flex-end; }
.shop-hero.on-photo { min-height: 260px; align-items: flex-end; }
.shop-hero.on-photo .avatar { --c: #d8b468; }

/* dükkân kartı kapağı */
.shop-card.has-cover { padding-top: 0; overflow: hidden; }
.shop-cover { display: block; margin: 0 -20px 2px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.shop-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.shop-card:hover .shop-cover img { transform: scale(1.03); }
.shop-card.has-cover .barber-head .avatar { margin-top: -30px; box-shadow: 0 0 0 4px var(--surface), inset 0 0 0 1px color-mix(in srgb, var(--c, var(--gold)) 30%, transparent); background: color-mix(in srgb, var(--c, var(--gold)) 22%, var(--surface)); }

/* giriş ekranı fotoğrafı */
.auth-side { position: relative; }
.auth-side.has-photo { padding: 56px 0; }
.auth-photo { position: absolute; top: 0; bottom: 0; right: 0; left: 34%; width: 66%; height: 100%; object-fit: cover; border-radius: 28px; }
.auth-side.has-photo::after { content: ""; position: absolute; inset: 0 0 0 34%; border-radius: 28px; background: linear-gradient(180deg, rgba(10, 10, 11, .1), rgba(10, 10, 11, .45)); pointer-events: none; }
.auth-side.has-photo .auth-card { position: relative; z-index: 1; max-width: 420px; }
.auth { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }

@media (max-width: 960px) {
  .auth-side { display: contents; }
  .auth-side.has-photo::after { display: none; }
  .auth-photo {
    position: static; order: -1; display: block; width: calc(100% + 40px); max-width: none; margin: -28px -20px 0;
    height: 230px; border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .auth-side.has-photo .auth-card { margin-left: 0; }
  .auth-side ~ * , .auth-hero > .logo-big { position: relative; }
  .auth:has(.auth-photo) .auth-hero > .logo-big { margin-top: -54px; }
  .auth .auth-card { order: 1; margin: 24px 0 8px; }
}
@media (max-width: 760px) {
  .auth-photo { width: calc(100% + 32px); margin: -20px -16px 0; height: 200px; }
  .hero.on-photo { padding: 22px; min-height: 0; }
  .shop-hero.on-photo { min-height: 230px; }
  .shop-cover { margin: 0 -16px 2px; }
}

/* Kasa işlem satırı */
.tx { align-items: flex-start; gap: 14px; }
.tx-time { font-weight: 650; font-variant-numeric: tabular-nums; min-width: 46px; padding-top: 1px; }
.tx-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
.tx-amt .btn { margin: 0; }

/* Telefonda tablolar kart olur (.table-wrap.rwd) */
@media (max-width: 760px) {
  .table-wrap.rwd { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .rwd table, .table-wrap.rwd table { min-width: 0; display: block; }
  .rwd thead { display: none; }
  .rwd tbody { display: grid; gap: 10px; }
  .rwd tr {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; row-gap: 3px;
    grid-template-areas: "time cust price" "date svc svc" "date barber barber" "phone phone phone" "act act act";
    padding: 14px 16px 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; position: relative;
  }
  .rwd tr::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--border-strong); }
  .rwd tr.status-pending::before { background: var(--warn); }
  .rwd tr.status-confirmed::before { background: var(--info); }
  .rwd tr.status-completed::before { background: var(--ok); }
  .rwd tr.status-cancelled::before { background: var(--bad); }
  .rwd td { border: 0; padding: 0; min-width: 0; }
  .rwd .c-time { grid-area: time; font-size: 19px; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .rwd .c-date { grid-area: date; font-size: 12px; color: var(--muted); }
  .rwd .c-cust { grid-area: cust; font-weight: 600; }
  .rwd .c-price { grid-area: price; text-align: right; font-weight: 650; }
  .rwd .c-svc { grid-area: svc; font-size: 13px; color: var(--muted); }
  .rwd .c-barber { grid-area: barber; font-size: 13px; color: var(--muted); }
  .rwd .c-phone { grid-area: phone; font-size: 13px; }
  .rwd .c-act { grid-area: act; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
  .rwd .c-act select { width: auto; flex: 1 1 140px; padding: 8px 10px; }
  .rwd td.c-act .btn.sm { margin-left: 0; }
}

/* Dükkân Bilgileri: kapak fotoğrafı */
.cover-edit { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.cover-preview { flex: 0 0 220px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-size: 32px; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
@media (max-width: 760px) { .cover-preview { flex-basis: 100%; } }
.file-btn { flex-direction: row; }

/* Değerlendirmeler */
.rv-sum { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 6px 0 14px; border-bottom: 1px solid var(--border); }
.rv-avg { display: grid; justify-items: start; gap: 2px; min-width: 120px; }
.rv-avg b { font-size: 44px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rv-avg .stars { font-size: 17px; }
.rv-dist { flex: 1 1 220px; display: grid; gap: 5px; }
.rv-bar { display: grid; grid-template-columns: 12px 14px 1fr 28px; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-bar .ph-fill { color: var(--gold); font-size: 12px; }
.rv-bar i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p), var(--surface-2) var(--p)); }
.rv-bar em { font-style: normal; text-align: right; }
.rv-list .review:first-child { padding-top: 16px; }
.rv-head { display: flex; gap: 12px; align-items: center; }
.rv-head .avatar { --c: var(--gold); }
.rv-text { margin: 8px 0 0 48px; font-size: 14px; line-height: 1.55; }
.rv-link { color: inherit; display: inline-flex; gap: 6px; align-items: center; }
.rv-link:hover { text-decoration: none; opacity: .85; }
@media (max-width: 760px) { .rv-text { margin-left: 0; } .rv-avg b { font-size: 38px; } }

.account-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* İşletme cevabı */
.rv-reply { margin: 10px 0 0 48px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--gold); }
.rv-reply .ph { color: var(--accent); }
.rv-reply p { margin-top: 4px; font-size: 14px; line-height: 1.55; }
.rv-actions { margin: 8px 0 0 48px; }
@media (max-width: 760px) { .rv-reply, .rv-actions { margin-left: 0; } }
