/* ---- Zemin */

body {
  background:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100dvh;
}

.eyebrow, .sum-eyebrow, .cta-peek-k, .steps, .ticket-k {
  font-family: var(--mono);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { color: var(--muted); }

/* ---- Üst çubuk ve menü */

.appbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.appbar-in {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--wrap); margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; text-decoration: none; }
.mark {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary); color: var(--on-primary);
}
.mark svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.brand-text { min-width: 0; display: grid; }
.brand-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.brand-sub { font-size: .8rem; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.nav { display: none; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: .93rem; text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link[aria-current='page'] { color: var(--text); }

.nav-cancel {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
  font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s;
}
.nav-cancel:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.nav-cancel[aria-current='page'] { background: var(--accent); color: #17130b; box-shadow: none; }
.nav-cancel svg { width: 18px; height: 18px; flex: none; }
.nav-cancel .lg { display: none; }

.menu-btn svg path { transition: transform .25s var(--ease); transform-origin: center; }
.menu-btn[aria-expanded='true'] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .l2 { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - 64px); overflow: auto;
  padding: 8px var(--gutter) 24px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
  animation: menu-in .22s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu-links { display: grid; }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; border-bottom: 1px solid var(--line);
  font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; text-decoration: none;
}
.menu-links a svg { width: 18px; height: 18px; color: var(--muted); }
.menu-links a[aria-current='page'] { color: var(--accent); }
.menu-info { margin-top: 22px; display: grid; gap: 12px; }
.menu-addr { color: var(--muted); font-size: .9rem; }
body.menu-open { overflow: hidden; }

.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .93rem; font-variant-numeric: tabular-nums; }
.hours-row span:first-child { color: var(--muted); }
.hours-row.is-closed span:last-child { color: var(--faint); }
.hours-row.is-today span { color: var(--text); font-weight: 600; }
.hours-row.is-today span:first-child::after { content: ' · bugün'; color: var(--accent); font-weight: 500; }

@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; margin-right: 8px; }
  .menu-btn, .menu { display: none !important; }
  .nav-cancel { min-height: 44px; padding: 0 18px 0 14px; font-size: .93rem; }
  .nav-cancel .lg { display: inline; }
  .nav-cancel .sm { display: none; }
  .mark { width: 44px; height: 44px; border-radius: 13px; }
  .brand-name { font-size: 1.1rem; }
}

/* ---- Yerleşim */

:root { --wrap: 1200px; }
.shell { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page { min-width: 0; padding: 4px 0 40px; }
.has-cta .page { padding-bottom: 24px; }
/* Alt bilgi gizliyse sabit eylem çubuğu son alanı örtmesin. */
body.has-cta:has(#foot[hidden]) .page { padding-bottom: 170px; }
.side { display: none; }

@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .shell:not(.narrow) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
  .shell.is-solo { grid-template-columns: minmax(0, 640px); justify-content: center; }
  .side:not([hidden]) { display: block; position: sticky; top: 96px; padding-top: 28px; }
  .side-in { display: grid; gap: 14px; }
  .has-cta .page { padding-bottom: 72px; }
  .cta-slot .cta { position: static; max-width: none; margin: 0; padding: 0; background: none; transform: none; }
  .cta-slot .cta-peek { display: none; }
  .sheet { display: none; }
  .inline-summary { display: none; }
  .title { font-size: 1.9rem; }
  .screen { padding-top: 12px; }
}

.loading { display: grid; place-items: center; padding: 96px 0; }

.screen { padding-top: 8px; animation: enter .32s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

.title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.lede { color: var(--muted); margin-top: 6px; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }

.block { margin-top: 28px; }
.label { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.month, .free-count { font-size: .85rem; color: var(--muted); }

/* ---- Karşılama */

.hero { animation: enter .4s var(--ease); }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 4px; }
.hero-title {
  margin-top: 14px;
  font-size: clamp(2.3rem, 9vw, 4.6rem); font-weight: 750;
  letter-spacing: -.05em; line-height: .98;
}
.hero-lede { margin-top: 14px; max-width: 40ch; color: var(--muted); font-size: 1.02rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); font-size: .87rem; font-weight: 500; text-decoration: none;
  max-width: 100%; transition: box-shadow .15s, color .15s;
}
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--faint); }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip-cancel b { color: var(--accent); font-weight: 600; }
.hero-card { display: none; }

@media (min-width: 960px) {
  .hero-in {
    display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: end;
    padding-top: 64px; padding-bottom: 24px;
  }
  .hero-lede { font-size: 1.15rem; }
  .hero-card {
    display: grid; gap: 12px; padding: 22px 24px;
    border-radius: 22px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  }
  .hero-card .eyebrow { color: var(--muted); }
  .hero-card-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .93rem; }
  .hero-card-row a { font-weight: 600; text-decoration: none; }
  .hero + .shell .steps { margin-top: 36px; }
}

.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint);
}
.status.is-open { color: var(--free); }
.status.is-open::before { background: var(--free); box-shadow: 0 0 0 4px color-mix(in srgb, var(--free) 20%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--free) 0%, transparent); } }

/* ---- Adımlar */

.steps {
  display: flex; gap: 6px; list-style: none;
  margin: 24px 0 20px; padding: 0;
  color: var(--faint);
}
.steps li { flex: 1; min-width: 0; }
.step {
  display: grid; gap: 8px; width: 100%;
  padding: 0; border: 0; background: none; text-align: left;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.step::before { content: ''; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .3s var(--ease); }
.step span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.is-done { color: var(--muted); }
.step.is-done::before { background: var(--muted); }
.step.is-current { color: var(--text); }
.step.is-current::before { background: var(--accent); }
button.step { cursor: pointer; }
button.step:hover span { color: var(--text); }

/* Ortak: görünmez radio, etiket görsel seçim */
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.opt input:disabled { cursor: not-allowed; }
.opt input:focus-visible + .face { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Hizmetler */

.services { display: grid; gap: 8px; }
@media (min-width: 560px) { #mainServices { grid-template-columns: 1fr 1fr; } }
.service .face {
  display: flex; align-items: center; gap: 12px;
  min-height: 68px; padding: 12px 16px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transition: box-shadow .18s, background-color .18s, transform .12s var(--ease);
}
.service input:active + .face { transform: scale(.985); }
@media (hover: hover) { .service:hover .face { box-shadow: var(--shadow), inset 0 0 0 1px var(--faint); } }
.radio-mark { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); flex: none; transition: box-shadow .18s; }
.service-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.service-name { font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.service-meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); line-height: 1.3; }
.service-price { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.service input:checked + .face { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.service input:checked + .face .radio-mark { box-shadow: inset 0 0 0 6px var(--accent); }
.check-mark { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--faint); flex: none; display: grid; place-items: center; color: var(--on-primary); transition: background-color .18s, box-shadow .18s; }
.check-mark svg { width: 14px; height: 14px; opacity: 0; }
.service input:checked + .face .check-mark { background: var(--accent); box-shadow: none; color: #17130b; }
.service input:checked + .face .check-mark svg { opacity: 1; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice .face {
  display: grid; place-items: center; min-height: 52px; border-radius: 16px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; transition: background-color .18s, color .18s, box-shadow .18s;
}
.choice input:checked + .face { background: var(--primary); color: var(--on-primary); box-shadow: none; }
#serviceMsg { margin-top: 20px; }

/* ---- Berberler */

.barbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.barber .face {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 84px; padding: 14px 16px; border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transition: box-shadow .18s, background-color .18s, transform .12s var(--ease);
}
.barber input:active + .face { transform: scale(.985); }
@media (hover: hover) { .barber:hover .face { box-shadow: var(--shadow), inset 0 0 0 1px var(--faint); } }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface-2); color: var(--text);
  font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
  transition: background-color .18s, color .18s;
}
.barber-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.barber-name { font-weight: 650; font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barber-role { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.barber-check {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line); color: #17130b;
  transition: background-color .18s, box-shadow .18s;
}
.barber-check svg { width: 13px; height: 13px; opacity: 0; transform: scale(.5); transition: opacity .18s, transform .25s var(--ease); }
.barber input:checked + .face { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); box-shadow: inset 0 0 0 2px var(--accent); }
.barber input:checked + .face .avatar { background: var(--accent); color: #17130b; }
.barber input:checked + .face .barber-check { background: var(--accent); box-shadow: none; }
.barber input:checked + .face .barber-check svg { opacity: 1; transform: none; }

.req { font-size: .82rem; font-weight: 600; color: var(--muted); }
.is-required .req {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.is-required .barber .face { box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, var(--line)); }

/* ---- Günler */

.days {
  display: grid; grid-auto-flow: column; grid-auto-columns: 66px; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px;
  scrollbar-width: none;
}
@media (min-width: 960px) { .days { grid-auto-columns: minmax(66px, 1fr); margin: 0; padding: 2px 0 4px; } }
.days::-webkit-scrollbar { display: none; }
.day { scroll-snap-align: start; }
.day .face {
  display: grid; justify-items: center; gap: 2px;
  padding: 12px 0 11px; border-radius: 18px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .18s, color .18s;
}
.day-name { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day-num { font-size: 1.4rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.day-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--free); margin-top: 2px; }
.day input:checked + .face { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.day input:checked + .face .day-name { color: inherit; opacity: .65; }
.day input:checked + .face .day-dot { background: var(--accent); }
.day input:disabled + .face { background: transparent; color: var(--faint); opacity: .55; }
.day input:disabled + .face .day-num { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.day input:disabled + .face .day-name { color: var(--faint); }
.day input:disabled + .face .day-dot { visibility: hidden; }

/* ---- Saatler */

.slot-group + .slot-group { margin-top: 18px; }
.slot-group-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 400px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .slot-grid { grid-template-columns: repeat(5, 1fr); } }
.slot .face {
  display: grid; place-items: center;
  min-height: 48px; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  transition: background-color .18s, color .18s, transform .12s var(--ease);
}
@media (hover: hover) { .slot input:not(:disabled):not(:checked):hover + .face { box-shadow: inset 0 0 0 1px var(--faint); } }
.slot input:active + .face { transform: scale(.95); }
.slot input:checked + .face { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.slot input:disabled + .face {
  background: transparent; box-shadow: none;
  color: var(--faint); text-decoration: line-through; text-decoration-color: var(--faint); opacity: .7;
}
.slot.just-taken .face { animation: taken .7s var(--ease); }
@keyframes taken { 0% { background: var(--danger-bg); color: var(--danger); } }

.skeleton .slot-grid > span {
  display: block; height: 48px; border-radius: 14px;
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.empty { padding: 28px 16px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); }
.empty:empty { display: none; }
.empty.is-alert { background: var(--danger-bg); color: var(--danger); box-shadow: none; font-weight: 500; }
#slots:not(:empty) + .empty { margin-top: 16px; padding: 14px 16px; }

/* ---- Bilgiler */

.inline-summary { margin-top: 20px; }
.fields { display: grid; gap: 16px; }
.fine { font-size: .85rem; color: var(--muted); }
.fields .fine { display: flex; gap: 8px; align-items: flex-start; }
.fields .fine svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#formError { margin-top: 20px; }
.input:focus { box-shadow: inset 0 0 0 2px var(--accent); }

/* ---- Randevu özeti */

.sum {
  position: relative; overflow: hidden;
  padding: 18px 20px 20px; border-radius: 22px;
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.sum-head { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.sum-eyebrow { color: var(--muted); }
.sum-close {
  display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -10px -6px 0;
  border: 0; border-radius: 50%; background: none; color: var(--muted);
}
.sum-close svg { width: 18px; height: 18px; transform: rotate(90deg); }
.side .sum-close { display: none; }
.inline-summary .sum-close { display: none; }

.sum-rows { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.sum-row {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 10px 0; border: 0; background: none; text-align: left; color: inherit;
  border-radius: 12px; cursor: default;
}
.sum-row.can-go { cursor: pointer; }
@media (hover: hover) { .sum-row.can-go:hover .sum-value { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); } }
.sum-ico { width: 20px; height: 20px; flex: none; margin-top: 10px; color: var(--muted); }
.sum-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sum-label { font-size: .8rem; color: var(--faint); }
.sum-value { font-weight: 650; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.35; overflow-wrap: anywhere; }
.sum-value small { display: block; font-weight: 450; font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.is-empty .sum-value { color: var(--muted); font-weight: 500; }
.sum-tick { width: 18px; height: 18px; flex: none; margin-top: 12px; color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.is-set .sum-tick { opacity: 1; transform: none; }

.sum-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .95rem;
}
.sum-price { font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sum-price.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: translateY(-2px); color: var(--accent); } }
.sum-tag { margin-top: 22px; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Mobil alt panel */
.sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; margin: 0 auto;
  max-height: 88dvh; padding: 8px 12px max(12px, env(safe-area-inset-bottom));
  border: 0; border-radius: 26px 26px 0 0;
  background: var(--bg); color: var(--text);
  overflow: auto;
}
.sheet[open] { animation: sheet-in .32s var(--ease); }
.sheet::backdrop { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes sheet-in { from { transform: translateY(100%); } }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 4px auto 10px; }

/* ---- Alt eylem çubuğu */

.cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  max-width: 560px; margin: 0 auto;
  padding: 24px var(--gutter) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) calc(100% - 24px), transparent);
  display: grid; gap: 10px;
}
@starting-style { .cta { transform: translateY(100%); } }
.cta { transition: transform .25s var(--ease); }
.cta-peek {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 48px; padding: 0 14px 0 16px;
  border: 0; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  text-align: left; color: var(--text);
}
.cta-peek-k { color: var(--muted); flex: none; font-size: .62rem; }
.cta-peek-v { flex: 1; min-width: 0; text-align: right; font-size: .9rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-peek-v b { color: var(--text); font-weight: 650; }
.cta-peek svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.cta .btn-primary[disabled] { opacity: 1; background: var(--surface-2); color: var(--faint); }
.cta .btn, .side .btn-primary { min-height: 56px; font-size: 1.05rem; border-radius: 16px; }
.btn-primary .arrow { transition: transform .2s var(--ease); }
.btn-primary:not([disabled]):hover .arrow { transform: translateX(3px); }


/* ---- Yaklaşan randevu */

.upcoming {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 14px 16px;
  background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
.upcoming-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--free); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--free) 18%, transparent); }
.upcoming-body { flex: 1; min-width: 0; display: grid; }
.upcoming-title { font-size: .8rem; color: var(--muted); }
.upcoming-when { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upcoming-action { font-size: .85rem; font-weight: 600; color: var(--muted); }

.closed { margin-top: 20px; padding: 24px; display: grid; gap: 12px; }

/* ---- Onay */

.done { display: grid; gap: 20px; outline: none; padding-top: 36px; }
.done .eyebrow { color: var(--free); margin-bottom: 6px; }
.done .title { font-size: 2.2rem; }
.check {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--free); color: #08130c;
  animation: pop .45s var(--ease);
}
.check svg { width: 30px; height: 30px; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .4s .15s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ticket { border-radius: 22px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.ticket-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px 20px 18px; }
.ticket-k { color: var(--muted); }
.ticket-date { margin-top: 6px; font-weight: 650; font-size: 1.05rem; }
.ticket-time { font-size: 1.9rem; font-weight: 750; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-cut { position: relative; height: 0; margin: 0 20px; border-top: 1.5px dashed var(--line); }
.ticket-cut::before, .ticket-cut::after {
  content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.ticket-cut::before { left: -31px; clip-path: inset(0 0 0 50%); }
.ticket-cut::after { right: -31px; clip-path: inset(0 50% 0 0); }
.ticket-body { padding: 6px 20px 8px; }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.ticket-row + .ticket-row { border-top: 1px solid var(--line); }
.ticket-row span { color: var(--muted); }
.ticket-row b { font-weight: 600; text-align: right; }

#doneCancelHelp a { color: var(--text); font-weight: 500; }
.stack { display: grid; gap: 10px; }

/* ---- Alt bilgi */

.site-foot { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 45%, var(--bg)); }
.has-cta .site-foot { padding-bottom: 150px; }
.foot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) max(36px, env(safe-area-inset-bottom));
  display: grid; gap: 28px;
}
.foot-in > div { display: grid; gap: 10px; align-content: start; }
.foot-in .eyebrow { margin-bottom: 2px; }
.foot-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.foot-brand .muted { font-size: .93rem; line-height: 1.55; }
.foot-text { color: var(--muted); font-size: .93rem; }
.foot-link { color: var(--text); font-weight: 500; font-size: .95rem; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; justify-self: start; }
.foot-link:hover { color: var(--accent); }
@media (min-width: 640px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .foot-in { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .has-cta .site-foot { padding-bottom: 0; }
}

/* ---- İptal sayfası */

.narrow { max-width: 640px; }
.shell.narrow { display: block; }
.back {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 40px; padding: 0 10px 0 4px; margin: 12px 0 10px -4px;
  border: 0; border-radius: 999px; background: none; text-decoration: none;
  color: var(--muted); font-weight: 500; font-size: .95rem;
}
.back svg { width: 20px; height: 20px; }
.stack-form { display: grid; gap: 16px; margin-top: 24px; }
.found-item { display: grid; gap: 12px; }
.found-item .ticket { padding: 4px 20px; }
.call-line { margin-top: 24px; }
body.menu-open .cta { visibility: hidden; }

/* Kısa sayfalarda alt bilgi en altta dursun. */
body { display: flex; flex-direction: column; }
body > .shell, body > .hero { width: 100%; }
.site-foot { margin-top: auto; }
.page { flex: none; }
body > .shell { padding-bottom: 24px; }
.hours-row span { white-space: nowrap; }
.site-foot .hours-row.is-today span:first-child::after { content: none; }

@media (min-width: 960px) {
  .shell.narrow { padding-top: 56px; padding-bottom: 72px; }
  .shell.narrow .page > .screen {
    padding: 36px 40px 40px; border-radius: 26px;
    background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  }
  .shell.narrow .back { margin-top: 0; }
}

/* ---- Logo */

.mark.has-logo { background: none; border-radius: 50%; overflow: visible; }
.mark.has-logo img { width: 100%; height: 100%; object-fit: contain; transform: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.hero-logo { display: block; width: 96px; height: 96px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35)); animation: enter .5s var(--ease); }
.foot-logo { width: 72px; height: 72px; object-fit: contain; }
@media (min-width: 960px) {
  .hero-main { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
  .hero-main > :not(.hero-logo) { grid-column: 2; }
  .hero-logo:not([hidden]) { grid-row: 1 / span 4; width: 176px; height: 176px; margin: 0; }
}
@media (max-width: 959px) { .hero-logo { display: none; } }
@media (min-width: 960px) { .hero-logo:not([hidden]) ~ .hero-title { font-size: clamp(3rem, 4.6vw, 4rem); white-space: nowrap; } }
