/* Müşteri randevu sayfası — salonun rengi (--accent) sayfayı boyar. */

body.book-body { background: var(--paper); }

.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: calc(30px + var(--safe-t)) 20px 30px; }
.hero-in { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.8rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.04; max-width: 14ch; }
.hero-loc { margin-top: 10px; opacity: .88; }
.hero-about { margin-top: 12px; max-width: 46ch; opacity: .94; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.hero-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; }
.hero-links a:hover { background: rgba(255, 255, 255, .26); }
.hero-bars { position: absolute; right: 16px; bottom: 0; top: 18px; display: flex; align-items: flex-end; gap: 6px; opacity: .11; pointer-events: none; }
.hero-bars i { width: 12px; background: #fff; border-radius: 6px 6px 0 0; }
.hero-bars i:nth-child(1) { height: 42%; } .hero-bars i:nth-child(2) { height: 70%; } .hero-bars i:nth-child(3) { height: 54%; }
.hero-bars i:nth-child(4) { height: 92%; } .hero-bars i:nth-child(5) { height: 64%; } .hero-bars i:nth-child(6) { height: 80%; }
.hero.compact { padding-top: calc(16px + var(--safe-t)); padding-bottom: 16px; }
.hero.compact h1 { font-size: 1.15rem; max-width: none; font-weight: 700; }
.hero.compact .hero-bars { display: none; }
@media (min-width: 700px) { .hero { padding-top: 44px; padding-bottom: 40px; } .hero-bars { right: calc(50% - 280px); } }

.flow { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(120px + var(--safe-b)); }
.q { font-size: 1.4rem; margin: 6px 0 16px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 2px -6px; padding: 8px 10px 8px 6px; border: 0; background: none; color: var(--ink-2); font-weight: 600; }

.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; }
.prog li { display: flex; flex-direction: column; gap: 5px; font-size: .76rem; font-weight: 600; color: var(--ink-3); }
.prog i { height: 4px; border-radius: 2px; background: var(--line); }
.prog li.done i, .prog li.cur i { background: var(--accent); }
.prog li.cur { color: var(--ink); }

.cat { margin-bottom: 22px; }
.cat h3 { font-size: .95rem; color: var(--ink-2); margin: 0 0 8px; font-weight: 650; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--accent-line); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .grow { display: flex; flex-direction: column; min-width: 0; }
.opt .grow b { font-weight: 650; }
.opt .grow small { color: var(--ink-2); }
.opt .price { font-weight: 650; white-space: nowrap; }
.opt .box, .opt .radio { flex: none; width: 24px; height: 24px; border: 1.5px solid #B3A2CC; background: var(--surface); display: grid; place-items: center; color: transparent; }
.opt .box { border-radius: 7px; }
.opt .radio { border-radius: 50%; }
.opt input:checked ~ .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt input:checked ~ .radio { border-color: var(--accent); box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 12px var(--accent); }
.opt .swatch { flex: none; width: 10px; align-self: stretch; border-radius: 5px; background: var(--c); }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; scroll-snap-align: center; width: 60px; padding: 8px 0 7px; display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); line-height: 1.2; }
.day b { font-family: var(--f-display); font-size: 1.3rem; }
.day small { font-size: .72rem; color: var(--ink-3); min-height: 1em; }
.day.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.day.on small { color: rgba(255, 255, 255, .82); }
.datelabel { margin: 6px 0 14px; color: var(--ink-2); font-weight: 600; }
.slotgroup { margin-bottom: 16px; }
.slotgroup h3 { font-size: .9rem; color: var(--ink-2); font-weight: 650; margin: 0 0 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 650; font-variant-numeric: tabular-nums; transition: border-color .1s, background .1s; }
.slot:hover { border-color: var(--accent); }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.summary { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.summary .when { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.summary .when b { font-family: var(--f-display); font-size: 1.1rem; }
.summary .when .time { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--accent-text); }
.summary ul { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; }
.summary .sumfoot { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink-2); }
.summary .sumfoot b { color: var(--ink); }
.legal { font-size: .82rem; color: var(--ink-3); }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(42, 18, 69, .08); padding: 12px 16px calc(12px + var(--safe-b)); }
.bar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.bar-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.bar-sum small { color: var(--ink-2); }
.bar .btn { min-width: 132px; }

.flow > div.done { text-align: center; padding: 10px 0 18px; }
div.done h2 { margin: 14px 0 6px; font-size: 1.6rem; }
.done-mark { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; animation: pop-in .5s cubic-bezier(.2, 1.4, .4, 1); }
.done-mark .ico { width: 34px; height: 34px; stroke-width: 2.2; }
.done-mark.ok { background: var(--teal-soft); color: var(--teal); }
.done-mark.wait { background: var(--henna-soft); color: var(--henna); }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }
.actions { margin: 4px 0 16px; }

.powered { text-align: center; font-size: .78rem; color: var(--ink-3); padding: 0 0 calc(100px + var(--safe-b)); margin-top: -90px; position: relative; }
.manage-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero.compact .hero-in { padding-right: 112px; }
