/* Ömer Kılıç Hair Studio — demo site
   Renkler :root içinde, içerik index.html içinde. */

/* ---------- Yazı tipleri (siteyle birlikte barındırılır, Google'a istek gitmez) ---------- */
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BA, U+2122, U+2212; }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BA, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Great Vibes"; font-display: block; src: url(fonts/great-vibes-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Great Vibes"; font-display: block; src: url(fonts/great-vibes-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+1E00-1EFF; }

:root {
  --tile: #eef1f3;     /* zemin: berber dükkânı fayansı */
  --white: #ffffff;
  --navy: #14233a;     /* ana renk: yazı, butonlar, fiyat panosu */
  --navy-2: #1f3252;
  --red: #c2362b;      /* berber direği kırmızısı, az kullanılır */
  --steel: #556070;    /* ikincil yazı */
  --line: #d6dce2;
  --wa: #1fa855;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bar-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--tile);
  color: var(--navy);
  font: 400 16px/1.6 var(--body);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

button, a, [role="button"] { touch-action: manipulation; }
.btn, .bar a, .bar button { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section h2 { font-size: clamp(38px, 10.5vw, 64px); margin-bottom: 14px; }
.intro { color: var(--steel); max-width: 52ch; font-size: 17px; }

/* ---------- Logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.lockup .words { display: flex; flex-direction: column; }
.lockup .mark { width: 42px; height: 42px; color: var(--navy); flex: none; }
.lockup .name { font: 32px/1 var(--script); color: var(--navy); white-space: nowrap; }
.lockup small { font: 700 10px/1 var(--body); letter-spacing: .32em; color: var(--steel); margin: 2px 0 0 18px; }
.badge { display: block; width: 100%; height: auto; color: var(--navy); overflow: visible; }
.badge text.script { font-family: var(--script); font-size: 58px; }
.badge text.sub { font-family: var(--body); font-weight: 700; font-size: 11.5px; letter-spacing: 4.6px; }

/* ---------- Üst bar ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(238, 241, 243, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav { display: none; gap: 30px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--steel); transition: color .15s; }
.top .btn { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--navy); background: transparent; color: var(--navy);
  transition: transform .12s var(--ease), background-color .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn, .bar a, .bar button { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 8px; }
.hero .wrap { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(50px, 14.6vw, 124px); line-height: .96; letter-spacing: -.015em; font-weight: 650; }
.hero .intro { margin: 20px 0 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .actions .btn { flex: 1 1 150px; }
.addr { margin-top: 22px; font-size: 15px; color: var(--steel); display: flex; gap: 8px; align-items: flex-start; }
.addr svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 2px; }

.shot { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 12px; }
.pole { /* berber direği: sitenin imzası */
  border-radius: 7px; border: 1.5px solid var(--navy);
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--white) 10px 20px, var(--navy) 20px 30px, var(--white) 30px 40px);
  background-size: 100% 56.57px;
  animation: pole 3.2s linear infinite;
}
@keyframes pole { to { background-position: 0 56.57px; } }
.shot .photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--line); }
.shot .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.rating {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--white); border-radius: 12px; padding: 12px 14px;
}
.rating b { font: 600 30px/1 var(--display); }
.rating .stars { color: var(--red); font-size: 15px; letter-spacing: 1px; line-height: 1; }
.rating span small { display: block; font-size: 13px; color: var(--steel); margin-top: 3px; }

/* ---------- Hikaye ---------- */
.story .wrap { display: grid; gap: 28px; }
.story .portrait { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--line); }
.story .portrait img { width: 100%; height: 100%; object-fit: cover; }
.story p + p { margin-top: 12px; }
.story blockquote {
  margin: 26px 0 0; padding: 0;
  font: 500 26px/1.15 var(--display); color: var(--navy);
}
.story blockquote::before { content: ""; display: block; width: 40px; height: 4px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }

/* ---------- Fiyat panosu ---------- */
.board {
  background: var(--navy); color: var(--white); border-radius: 20px;
  padding: 30px 20px 24px; margin: 0 -4px;
}
.board h2 { color: var(--white); }
.board .intro { color: #b9c3d2; }
.menu { margin-top: 18px; display: grid; gap: 4px 56px; }
.menu-group h3 { font-size: 22px; font-weight: 500; color: #b9c3d2; margin: 22px 0 2px; }
.item { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.item .name { font-weight: 600; font-size: 17px; }
.item .name small { display: block; font-weight: 400; font-size: 14px; color: #9eabbd; margin-top: 2px; }
.item .dots { flex: 1; border-bottom: 2px dotted rgba(255, 255, 255, .25); transform: translateY(-5px); min-width: 12px; }
.item .price { font: 500 24px/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.board .note { margin-top: 18px; font-size: 13px; color: #9eabbd; }

/* ---------- Galeri ---------- */
.gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery figure { margin: 0; }
.tile {
  display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 12px; overflow: hidden; background: var(--line); transition: transform .15s var(--ease);
}
.tile:active { transform: scale(.98); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.more { margin-top: 16px; }

/* ---------- Yorumlar ---------- */
.reviews {
  margin: 24px -20px 0; padding: 0 20px 4px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-padding: 0 20px; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--white); border-radius: 16px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
}
.review .stars { color: var(--red); letter-spacing: 2px; font-size: 15px; }
.review p { font-size: 17px; line-height: 1.55; flex: 1; }
.review footer { font-size: 14px; color: var(--steel); }
.review footer b { color: var(--navy); }
.swipe { margin-top: 10px; font-size: 13px; color: var(--steel); }

/* ---------- Ziyaret ---------- */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hours { list-style: none; margin: 18px 0 0; background: var(--white); border-radius: 16px; padding: 6px 18px; }
.hours li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { color: var(--steel); font-variant-numeric: tabular-nums; }
.hours li.today { font-weight: 800; }
.hours li.today span:first-child::after {
  content: "Bugün"; margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--white);
  background: var(--red); border-radius: 6px; padding: 2px 7px; vertical-align: 2px;
}
.hours li.today span:last-child { color: var(--navy); }
.map {
  aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--white);
  display: grid; place-items: center; text-align: center; padding: 20px;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map:has(iframe) { padding: 0; }
.map p { font-size: 14px; color: var(--steel); margin: 10px auto 16px; max-width: 30ch; }
.map > div > svg { width: 30px; height: 30px; color: var(--red); margin: 0 auto; }
.contact { margin-top: 14px; display: grid; gap: 8px; }
.contact a {
  text-decoration: none; display: flex; gap: 14px; align-items: center; min-height: 60px;
  padding: 10px 16px; border-radius: 14px; background: var(--white); font-weight: 700;
  transition: transform .12s var(--ease);
}
.contact a:active { transform: scale(.98); }
.contact svg { width: 22px; height: 22px; color: var(--navy); flex: none; }
.contact small { display: block; color: var(--steel); font-size: 13px; font-weight: 500; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: #b9c3d2; padding: 44px 0 32px; font-size: 14px; }
.foot .badge { width: 150px; color: var(--white); margin-bottom: 18px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0 14px; }
.foot .links a, .foot .links button {
  color: var(--white); background: none; border: 0; padding: 8px 0; font: 600 14px var(--body);
  cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35);
}
.foot .demo { margin-top: 12px; font-size: 12px; color: #8a97aa; }

/* ---------- Alt sabit bar (telefon) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.bar a, .bar button {
  min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy); font: 700 14px/1 var(--body); text-decoration: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: transform .12s var(--ease);
}
.bar a:active, .bar button:active { transform: scale(.96); }
.bar svg { width: 19px; height: 19px; flex: none; }
.bar .wa svg { color: var(--wa); }
.bar .book { background: var(--navy); border-color: var(--navy); color: var(--white); font-size: 15px; }

/* ---------- Randevu penceresi ---------- */
dialog {
  border: 0; background: var(--white); color: var(--navy);
  border-radius: 22px 22px 0 0; padding: 0; width: 100%; max-width: 100%;
  margin: auto 0 0; max-height: 92dvh;
}
dialog::backdrop { background: rgba(20, 35, 58, .45); }
dialog[open] { animation: sheet .32s var(--ease); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--tile); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer;
}

/* ---------- Çerez bandı ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; z-index: 50;
  bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom, 0px));
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; font-size: 14px; color: var(--steel); box-shadow: 0 16px 40px -12px rgba(20, 35, 58, .35);
}
.cookie[hidden] { display: none; }
.cookie p { margin-bottom: 12px; }
.cookie a { color: var(--navy); font-weight: 700; }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn { min-height: 46px; flex: 1; font-size: 14px; padding: 0 12px; }

/* ---------- Yasal sayfalar ---------- */
.legal { padding-top: 36px; padding-bottom: 80px; max-width: 760px; }
.legal h1 { font-size: clamp(38px, 10vw, 54px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal p, .legal li { color: #2f3b4c; margin-bottom: 10px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; background: var(--white); border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .fill { background: #fde6e3; color: var(--red); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.back { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole { animation: none; }
  dialog[open] { animation: none; }
}

/* ---------- Hover (yalnızca fare) ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--navy); }
  .tile:hover img { transform: scale(1.03); }
  .lb-btn:hover { background: rgba(255,255,255,.22); }
  .btn:hover { background: var(--navy); color: var(--white); }
  .btn-navy:hover { background: var(--navy-2); }
  .contact a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
  .foot .links a:hover, .foot .links button:hover { text-decoration-color: var(--white); }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .board { padding: 44px 40px 32px; margin: 0; }
  .gallery { gap: 12px; }
  .reviews { grid-auto-columns: 46%; margin: 24px -32px 0; padding: 0 32px 4px; scroll-padding: 0 32px; }
  .cookie { left: auto; right: 24px; max-width: 400px; }
  dialog { max-width: 520px; border-radius: 22px; margin: auto; }
  dialog[open] { animation-name: pop; }
  @keyframes pop { from { transform: scale(.96); opacity: 0; } }
  }

/* ---------- Masaüstü ---------- */
@media (min-width: 960px) {
  :root { --bar-h: 0px; }
  .bar { display: none; }
  .nav, .top .btn { display: flex; }
  .top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .top .wrap { height: 76px; }
  section { padding: 96px 0; }
  .hero { padding: 48px 0 80px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .hero .actions .btn { flex: 0 0 auto; }
  .hero h1 { font-size: clamp(68px, 7vw, 100px); }
  .story .wrap { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .menu { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 24px 0 0; padding: 0; }
  .swipe { display: none; }
  .visit .wrap { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .map { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .cookie { bottom: 24px; }
}

/* ---------- Geniş ekran: kenar boşluklarını azalt ---------- */
@media (min-width: 960px) {
  .wrap { max-width: 1360px; padding: 0 48px; }
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero h1 { font-size: clamp(72px, 7.2vw, 112px); }
  .shot .photo { aspect-ratio: 5 / 5.4; }
  section { padding: 80px 0; }
  .lockup .mark { width: 48px; height: 48px; }
}
@media (min-width: 1440px) { .wrap { padding: 0 64px; } }

/* ---------- Şu an açık mı ---------- */
.status { margin-top: 10px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.status.closed::before { background: var(--red); box-shadow: 0 0 0 4px rgba(194,54,43,.15); }
.status[hidden] { display: none; }

/* ---------- Menüde aktif bölüm ---------- */
.nav a.active { color: var(--navy); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* ---------- Başa dön ---------- */
.totop {
  position: fixed; right: 14px; z-index: 35; width: 46px; height: 46px; border-radius: 50%;
  bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; background: var(--white); color: var(--navy);
  border: 1.5px solid var(--line); box-shadow: 0 8px 24px -10px rgba(20,35,58,.4);
  transition: opacity .2s, transform .2s var(--ease);
}
.totop svg { width: 22px; height: 22px; }
.totop[hidden] { display: grid; opacity: 0; transform: translateY(10px); pointer-events: none; }
@media (min-width: 960px) { .totop { right: 28px; bottom: 28px; } }

/* ---------- Galeri büyütme (lightbox) ---------- */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: rgba(10, 16, 28, .96); color: var(--white);
}
.lb::backdrop { background: rgba(10, 16, 28, .96); }
.lb[open] { animation: lbIn .22s var(--ease); display: grid; place-items: center; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 12px 72px; touch-action: pan-y; overflow: hidden; }
.lb-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; user-select: none; -webkit-user-drag: none;
  transition: transform .28s var(--ease), opacity .2s;
}
.lb-stage img.out-l { transform: translateX(-40px); opacity: 0; }
.lb-stage img.out-r { transform: translateX(40px); opacity: 0; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center;
  font-size: 28px; line-height: 1; transition: background-color .15s, transform .12s var(--ease);
}
.lb-btn:active { transform: scale(.92); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); text-align: center; font: 500 16px var(--display); letter-spacing: .08em; color: #c6cfdb; }
@media (min-width: 960px) { .lb-prev { left: 28px; } .lb-next { right: 28px; } .lb-btn { width: 56px; height: 56px; } .lb-stage { padding: 56px 110px; } }
@media (prefers-reduced-motion: reduce) { .lb[open] { animation: none; } .lb-stage img, .tile img, .totop { transition: none; } }

@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- Randevu akışı ---------- */
dialog.bk { padding: 0; height: 90dvh; max-height: 90dvh; }
.bk-form { position: relative; height: 100%; display: flex; flex-direction: column; }
.bk .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; flex: none; }
.bk-head { padding: 12px 20px 14px; border-bottom: 1px solid var(--line); flex: none; }
.bk-head h2 { font-size: 34px; margin-bottom: 12px; }
.bk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-steps li { font-size: 12px; font-weight: 700; color: var(--steel); padding-top: 8px; border-top: 3px solid var(--line); transition: border-color .25s, color .25s; }
.bk-steps li.on { color: var(--navy); border-color: var(--navy); }
.bk-steps li.done { color: var(--navy); border-color: var(--red); }
.bk-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 24px; }
.bk-pane[hidden] { display: none; }
.bk-pane { animation: paneIn .28s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } }
.bk-q { font: 600 22px/1.15 var(--display); margin: 4px 0 12px; }
.bk-q span { display: block; font: 500 14px/1.4 var(--body); color: var(--steel); margin-top: 4px; }
.bk-pane .bk-q ~ .bk-q { margin-top: 22px; }
.bk-small { font-size: 13px; color: var(--steel); margin-top: 12px; }
.bk-small a { color: var(--navy); font-weight: 700; }

/* günler */
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.days::-webkit-scrollbar { display: none; }
.day {
  scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy);
  font: 600 12px/1.2 var(--body); cursor: pointer; transition: background-color .15s, border-color .15s, transform .12s var(--ease);
}
.day b { font: 600 24px/1 var(--display); }
.day:active { transform: scale(.95); }
.day[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.day:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* saatler */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot {
  min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy);
  font: 700 15px var(--body); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .12s var(--ease);
}
.slot:active { transform: scale(.95); }
.slot[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.slots .empty { grid-column: 1 / -1; color: var(--steel); font-size: 14px; padding: 8px 0; }

/* bilgiler */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 500; color: var(--steel); }
.field input {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--navy); font: 500 16px var(--body); transition: border-color .15s;
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,35,58,.12); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .err { display: block; color: var(--red); font-size: 13px; font-weight: 600; margin-top: 6px; }
.field .err:empty { display: none; }

/* özet */
.sum { margin: 0; background: var(--tile); border-radius: 16px; padding: 6px 16px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum div:last-child { border-bottom: 0; }
.sum dt { color: var(--steel); font-size: 14px; flex: none; }
.sum dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.sum .tot dd { font: 600 24px/1 var(--display); }

/* tamam ekranı */
.bk-done { text-align: center; padding-top: 12px; }
.bk-done h3 { font-size: 34px; margin: 14px 0 8px; }
.bk-done > p { color: var(--steel); max-width: 34ch; margin: 0 auto; }
.tick { width: 76px; height: 76px; margin: 0 auto; }
.tick svg { width: 100%; height: 100%; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke: #1f9d55; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .5s var(--ease) forwards; }
.tick path { stroke: #1f9d55; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .35s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket {
  margin: 22px auto 0; max-width: 340px; text-align: left; background: var(--navy); color: var(--white);
  border-radius: 16px; padding: 20px; position: relative; overflow: hidden;
}
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, var(--white) 8px 16px, var(--navy-2) 16px 24px, var(--white) 24px 32px); }
.ticket .when { font: 600 28px/1.1 var(--display); margin-top: 6px; }
.ticket .what { color: #b9c3d2; font-size: 14px; margin-top: 6px; }
.ticket .where { color: #b9c3d2; font-size: 13px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.25); }

/* alt çubuk */
.bk-foot {
  flex: none; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white);
}
.bk-total { font-size: 13px; color: var(--steel); line-height: 1.25; min-width: 0; }
.bk-total b { display: block; color: var(--navy); font: 600 22px/1.1 var(--display); }
.bk-foot .btn { min-height: 50px; padding: 0 18px; }
.bk-foot .btn[hidden] { display: none; }
.bk-next:disabled { opacity: .4; cursor: not-allowed; }

/* bildirim */
.toast {
  position: fixed; left: 50%; z-index: 60; transform: translateX(-50%);
  bottom: calc(var(--bar-h) + 18px + env(safe-area-inset-bottom, 0px));
  width: max-content; max-width: calc(100% - 32px); background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px;
  padding: 12px 16px; border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(20,35,58,.5);
  animation: toastIn .25s var(--ease);
}
.toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (min-width: 640px) {
  dialog.bk { height: auto; max-height: 88vh; width: 560px; }
  .bk-form { max-height: 88vh; }
  .slots { grid-template-columns: repeat(5, 1fr); }
}
@media (hover: hover) and (pointer: fine) {
  .day:not(:disabled):hover, .slot:not(:disabled):hover { border-color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  .bk-pane, .toast { animation: none; }
  .tick circle, .tick path { animation: none; stroke-dashoffset: 0; }
}



/* ---------- Sıranı ayırt: saat aralıkları ---------- */
.bk-steps.three { grid-template-columns: repeat(3, 1fr); }
.hours-grid { grid-template-columns: repeat(2, 1fr); }
.hslot { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.hslot b { font: 600 18px/1 var(--display); letter-spacing: .01em; }
.hslot small { font: 600 12px/1 var(--body); color: #1f9d55; }
.hslot.last small { color: #b7791f; }
.hslot:disabled small { color: var(--steel); }
.hslot[aria-checked="true"] small { color: #cfe9d9; }
.hours-grid .slot:disabled { text-decoration: none; }
.hours-grid .slot:disabled b { text-decoration: line-through; }
.field-label { font-weight: 700; font-size: 14px; margin: 4px 0 8px; }
.field-label em { font-style: normal; font-weight: 500; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy); font: 600 14px var(--body); cursor: pointer; transition: background-color .15s, border-color .15s, transform .12s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.chip:active { transform: scale(.96); }
.chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (min-width: 640px) { .hours-grid { grid-template-columns: repeat(3, 1fr); } }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--navy); } }

/* ---------- Demo işaretleri (yayına alınınca DEMO = false) ---------- */
.demo-strip { background: #fde68a; color: #422006; text-align: center; font: 700 13px/1.3 var(--body); padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
.demo-strip + .top { padding-top: 0; }
.demo-tag { display: inline-block; background: #fde68a; color: #422006; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 4px 10px; margin: 0 0 6px; }
.demo-warn { background: #fef3c7; color: #422006; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Denetim düzeltmeleri ---------- */
section.bk-pane { padding: 0; }
.chip { min-height: 44px; }
.foot .links a, .foot .links button { min-height: 44px; display: inline-flex; align-items: center; }
.hours-grid .slot:disabled { opacity: .6; background: var(--tile); }
.hours-grid .slot:disabled small { color: #3f4a5a; }
dialog .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

.cal-add { display: grid; gap: 8px; max-width: 340px; margin: 16px auto 0; }
.cal-add .bk-small { text-align: center; margin-top: 2px; }
