:root {
  --bg: #0f1115;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e7e8ec;
  --accent: #111827;
  --accent-ink: #ffffff;
  --gold: #c8a24a;
  --ok: #15803d;
  --ok-bg: #dcfce7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 30px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
/* Baglanti sifirlamasi. Bu dosyada global reset YOKTU: text-decoration:none
   yalnizca birkac sinifa tek tek verilmisti, kalan her <a> tarayicinin
   `underline` varsayilanini aliyordu. Sonuc: vitrindeki sekmeler ve butonlar
   (.c-chip .c-cta .c-btn-ghost .c-quick-b .c-promo-btn .c-bb-btn) alti cizili
   render ediliyordu -- olculdu, 10 adet. Gercek METIN baglantilari alt cizgiyi
   korur (ornek .c-consent a), cunku sinif secicisi bu kuraldan daha ozgul. */
a { text-decoration: none; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #12141a 0, #12141a 190px, #f4f5f7 190px, #f4f5f7 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.c-container {
  max-width: 560px; margin: 0 auto;
  padding: 20px 16px calc(40px + env(safe-area-inset-bottom));
}
a { color: inherit; }

/* Hero */
.c-hero { text-align: center; color: #fff; padding: 8px 0 22px; }
.c-avatar {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 20px; display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 700; color: #12141a;
  background: linear-gradient(160deg, #e9d9a8, var(--gold));
  box-shadow: 0 8px 24px rgba(200,162,74,.35);
  text-transform: uppercase;
}
.c-shop { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.c-addr { margin: 4px 0 0; color: #c7cad2; font-size: .9rem; }
.c-tagline { margin: 8px 0 0; color: #9aa0ac; font-size: .85rem; }

.c-hero-badges { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.c-badge { font-size: .78rem; color: #e7d9b0; background: rgba(200,162,74,.14); border: 1px solid rgba(200,162,74,.3); padding: 4px 10px; border-radius: 999px; }

/* Sheet: iceriği yukari kaldiran beyaz panel */
.c-sheet {
  background: #f4f5f7;
  border-radius: 22px 22px 0 0;
  margin: 4px -16px -40px; padding: 22px 16px calc(40px + env(safe-area-inset-bottom));
}
.c-selected + .c-sheet, .c-topline + .c-sheet { margin-top: 8px; }

/* Sections + steps */
.c-section { font-size: 1.02rem; font-weight: 700; margin: 0; }
.c-step { display: flex; align-items: center; gap: 10px; margin: 4px 2px 14px; }
.c-step-tight { margin-top: 22px; }
.c-step-no {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: 0 0 24px;
}

/* Kategori gruplari */
.c-cat { margin-bottom: 18px; }
.c-cat-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 4px 8px; }

/* Personel secimi */
.c-staff { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
.c-staffchip { position: relative; flex: 0 0 auto; }
.c-staffchip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-staffchip > span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.c-staff-av {
  width: 28px; height: 28px; border-radius: 50%; background: #12141a; color: #fff;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; text-transform: uppercase;
}
.c-staff-any { background: linear-gradient(160deg, #e9d9a8, var(--gold)); color: #12141a; }
.c-staffchip input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }

/* Service list */
.c-list { display: flex; flex-direction: column; gap: 10px; }
.c-service {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 16px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .06s ease;
}
.c-service:active { transform: scale(.99); }
.c-service-main { display: flex; flex-direction: column; }
.c-service-name { font-weight: 650; font-size: 1.02rem; }
.c-service-meta { color: var(--muted); font-size: .85rem; }
.c-service-right { display: flex; align-items: center; gap: 10px; }
.c-price { font-weight: 700; }
.c-chev { color: var(--muted); font-size: 1.3rem; }

/* Selected service bar */
.c-topline { margin-bottom: 12px; }
.c-back { color: #c7cad2; text-decoration: none; font-weight: 600; font-size: .95rem; }
.c-selected {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 18px;
}

/* Day navigation */
.c-daybar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.c-daybar-center { text-align: center; }
.c-date { font-weight: 700; }
.c-weekday { font-size: .82rem; color: var(--muted); text-transform: capitalize; }
.c-nav {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center;
  font-size: 1.4rem; text-decoration: none; border-radius: 12px; background: #f1f2f5;
}
.c-nav:active { background: var(--line); }

/* Form + slots */
.c-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.c-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.c-slot { position: relative; }
.c-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-slot span {
  display: block; text-align: center; padding: 11px 0; font-weight: 650;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.c-slot input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.c-slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.c-fields { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.c-fields label > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.c-fields input[type=text], .c-fields input[type=tel] {
  width: 100%; padding: 12px; font-size: 1rem; border: 1px solid var(--line);
  border-radius: 12px; background: #fff;
}
.c-fields input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.c-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #374151; }
.c-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; }
.c-consent a { color: var(--accent); text-decoration: underline; }
.c-kvkk {
  display: none; font-size: .82rem; color: var(--muted);
  background: #f6f7f9; border-radius: 10px; padding: 12px; margin-top: -4px;
}
.c-kvkk.open { display: block; }

/* Buttons */
.c-btn {
  display: inline-flex; width: 100%; align-items: center; justify-content: center;
  padding: 14px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer;
}
.c-btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.c-btn:active { transform: translateY(1px); }
.c-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }

/* Empty / alerts */
.c-empty {
  text-align: center; color: var(--muted); background: var(--panel);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px 16px;
}
.c-messages { margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.c-alert { padding: 12px 14px; border-radius: 12px; font-size: .9rem; font-weight: 500; }
.c-alert-error { background: var(--danger-bg); color: var(--danger); }
.c-alert-success { background: var(--ok-bg); color: var(--ok); }
.c-alert-warning { background: var(--warn-bg); color: var(--warn); }

/* Success */
.c-success { text-align: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 20px; box-shadow: var(--shadow); }
.c-check {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok); display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 800;
}
.c-success h1 { font-size: 1.3rem; margin: 0 0 6px; }
.c-sub { color: var(--muted); margin: 0 0 20px; }
.c-receipt { text-align: left; border-top: 1px solid var(--line); margin-bottom: 20px; }
.c-receipt > div { display: flex; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.c-receipt span { color: var(--muted); }

/* Footer */
.c-footer { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 26px; }
.c-footer a { color: var(--muted); }

/* ============ Salon profili (T-W02) ============ */
.c-body-light { background: #f4f5f7 !important; }
.c-body-light .c-container { padding-top: 0; }

.c-profile { padding: 0 0 8px; }
.c-cover {
  height: 190px; border-radius: 18px; margin: 16px 0 14px;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.c-cover-empty {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1c2230, #2b3448);
}
.c-cover-mono { font-family: Georgia, serif; font-size: 3rem; font-weight: 700; color: #fff; opacity: .85; }
.c-shop { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; }
.c-meta-row { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.c-star { color: var(--gold); font-weight: 700; }
.c-muted { color: var(--muted); }
.c-status { font-weight: 600; }
.c-open { color: var(--ok); } .c-closed { color: var(--danger); }
.c-actions { display: flex; gap: 9px; margin: 14px 0 4px; flex-wrap: wrap; }
.c-act {
  flex: 1; min-width: 90px; text-align: center; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 8px; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.c-act:active { background: #f3f4f6; }

/* Ekip */
.c-team { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.c-member { flex: 0 0 auto; width: 66px; text-align: center; }
.c-member-av {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 6px;
  background: #eef0f3; display: grid; place-items: center; overflow: hidden;
  font-weight: 700; color: var(--muted); border: 2px solid var(--line);
}
.c-member-av img { width: 100%; height: 100%; object-fit: cover; }
.c-member-nm { font-size: .8rem; font-weight: 600; }

/* Yorumlar */
.c-rating-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.c-rating-big { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.c-rating-big span { font-size: 1rem; color: var(--gold); }
.c-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.c-rating-bar { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.c-rb-star { width: 24px; }
.c-rb-track { flex: 1; height: 6px; background: #eef0f3; border-radius: 4px; overflow: hidden; }
.c-rb-fill { display: block; height: 100%; background: var(--gold); }
.c-reviews { display: flex; flex-direction: column; gap: 12px; }
.c-review { border-top: 1px solid var(--line); padding-top: 12px; }
.c-review:first-child { border-top: 0; padding-top: 0; }
.c-review-top { display: flex; justify-content: space-between; align-items: center; }
.c-review-nm { font-weight: 700; font-size: .9rem; }
.c-review-st { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.c-review-cm { margin: 6px 0 0; font-size: .9rem; color: #374151; }
.c-review-reply { margin-top: 8px; background: #f6f7f9; border-radius: 10px; padding: 8px 11px; font-size: .85rem; color: var(--muted); }

/* Saatler */
.c-hours { display: flex; flex-direction: column; }
.c-hour-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.c-hour-row:last-child { border-bottom: 0; }
.c-hour-today { font-weight: 700; }
.c-hour-closed { color: var(--danger); }

/* Hakkinda */
.c-about { font-size: .92rem; color: #374151; margin: 0 0 10px; }
.c-social { display: flex; gap: 12px; margin-top: 8px; }
.c-social a { color: var(--gold); font-weight: 600; font-size: .9rem; }

/* ============ Randevu bileti (T-W05) ============ */
.c-ticket-link { margin: 18px 0 10px; }
.c-btn-danger { background: var(--danger-bg); color: var(--danger); }
.c-ticket-status { border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 14px 0; text-align: center; }
.c-ticket-cancelled { background: var(--danger-bg); color: var(--danger); }
.c-ticket-done { background: var(--ok-bg); color: var(--ok); }
.c-ticket-card { margin-top: 4px; }
.c-ticket-actions { display: flex; gap: 10px; margin: 6px 0 10px; }
.c-ticket-actions > * { flex: 1; margin: 0; }
.c-ticket-actions form { display: flex; }
.c-ticket-actions .c-btn { width: 100%; }
.c-ticket-lock { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 12px 14px; text-align: center; }
