/* ── Belle Beauty design system ─────────────────────────────── */
:root {
  --bg: #FAF6F1;
  --surface: #FFFFFF;
  --ink: #241D18;
  --ink-soft: #6B5D52;
  --ink-faint: #9C8D80;
  --line: #EBE2D8;
  --accent: #B26B4C;
  --accent-deep: #96543A;
  --accent-soft: #F3E4DC;
  --gold: #B8860B;
  --gold-soft: #F7EDD8;
  --green: #4C7A5C;
  --green-soft: #E3EFE7;
  --red: #B04A4A;
  --red-soft: #F6E4E4;
  --blue: #4C6E8F;
  --blue-soft: #E2ECF4;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(36,29,24,.05), 0 8px 24px -12px rgba(36,29,24,.18);
  --shadow-lg: 0 2px 4px rgba(36,29,24,.06), 0 20px 48px -16px rgba(36,29,24,.25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: 84px; /* room for bottom nav */
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* ── Typography ── */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.page-title { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; }
.section-title { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.tiny { font-size: .75rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,241,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #D9A184);
  display: grid; place-items: center; color: #fff;
  font-size: 1rem; font-weight: 700;
}
.top-nav { display: none; align-items: center; gap: 4px; }
.top-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: .95rem; color: var(--ink-soft);
  transition: all .15s;
}
.top-nav a:hover { background: var(--accent-soft); color: var(--ink); }
.top-nav a.active { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .top-nav { display: flex; } }

/* ── Bottom nav (mobile) ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: .68rem; color: var(--ink-faint); min-width: 58px;
  padding: 4px 6px; border-radius: 12px; transition: color .15s;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--accent-deep); }
.bottom-nav a.active svg { stroke-width: 2.4; }
@media (min-width: 900px) { .bottom-nav { display: none; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-size: .95rem; font-weight: 600;
  padding: 12px 24px; transition: all .18s; line-height: 1.2;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3A2F27; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); background: #fff; }
.btn-soft { background: var(--accent-soft); color: var(--accent-deep); }
.btn-soft:hover { background: #EDD6CA; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Cards ── */
.card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.card-pad { padding: 20px; }

/* Artist card */
.artist-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.artist-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.artist-cover {
  position: relative; height: 132px;
  display: flex; align-items: flex-end; padding: 14px;
}
.artist-avatar {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  border: 2px solid #fff;
}
.artist-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.artist-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.artist-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.artist-footer {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price-from .amt { font-weight: 700; font-size: 1.05rem; }

/* ── Badges & chips ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.badge-gold { background: var(--gold-soft); color: var(--gold); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-neutral { background: var(--bg); color: var(--ink-soft); border: 1px solid var(--line); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: all .15s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-faint); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── Rating ── */
.stars { color: var(--gold); letter-spacing: 1px; font-size: .9rem; }
.rating-row { display: flex; align-items: center; gap: 6px; font-size: .85rem; }

/* ── Forms ── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.input, textarea.input, select.input {
  width: 100%; padding: 13px 16px; font-size: .98rem; font-family: inherit;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.error-text { color: var(--red); font-size: .82rem; margin-top: 5px; }

/* ── Search bar ── */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 6px 8px 6px 18px;
  box-shadow: var(--shadow);
}
.search-bar input { flex: 1; border: none; background: none; font-size: .98rem; font-family: inherit; color: var(--ink); }
.search-bar input:focus { outline: none; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #2E241D 0%, #4A362A 55%, #6E4A37 100%);
  color: #F7F0E8; border-radius: 0 0 32px 32px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(217,161,132,.28), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(178,107,76,.22), transparent 60%);
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 1; padding: 56px 0 64px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.08; max-width: 620px; }
.hero h1 em { font-style: italic; color: #E4B79A; }
.hero p.lead { margin-top: 14px; font-size: 1.05rem; color: rgba(247,240,232,.78); max-width: 480px; }

/* ── Slots ── */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.slot {
  padding: 11px 6px; text-align: center; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: .9rem; font-weight: 600; transition: all .15s;
}
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--ink); border-color: var(--ink); color: #fff; }

.day-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-pill {
  flex: 0 0 auto; width: 62px; padding: 10px 0; text-align: center;
  border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface);
  transition: all .15s;
}
.day-pill .dow { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.day-pill .num { font-size: 1.15rem; font-weight: 700; font-family: var(--font-display); }
.day-pill .mon { font-size: .68rem; color: var(--ink-faint); }
.day-pill.selected { background: var(--ink); border-color: var(--ink); }
.day-pill.selected .dow, .day-pill.selected .num, .day-pill.selected .mon { color: #fff; }

/* ── Misc layout ── */
.grid-artists { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .grid-artists { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-artists { grid-template-columns: repeat(3, 1fr); } }

.section { padding: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }

.flash {
  padding: 13px 18px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500;
  margin: 16px 0;
}
.flash-success { background: var(--green-soft); color: var(--green); }
.flash-error { background: var(--red-soft); color: var(--red); }

.empty-state { text-align: center; padding: 64px 24px; }
.empty-state .icon { font-size: 2.6rem; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--ink-soft); max-width: 340px; margin: 0 auto 20px; }

.divider { border: none; border-top: 1px solid var(--line); margin: 24px 0; }

.avatar-lg {
  width: 84px; height: 84px; border-radius: 26px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  box-shadow: var(--shadow);
}

.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.stat-tile .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.stat-tile .lbl { font-size: .78rem; color: var(--ink-soft); }

.list-row {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .15s;
}
.list-row:hover { transform: translateY(-2px); }

/* Save heart */
.heart-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line);
  background: rgba(255,255,255,.92); display: grid; place-items: center;
  transition: all .15s; font-size: 1.1rem;
}
.heart-btn:hover { transform: scale(1.08); }
.heart-btn.saved { background: var(--red-soft); border-color: transparent; }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px;
}

/* Review */
.review-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: none; }

/* Star input */
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 1.6rem; color: #DDD2C4; cursor: pointer; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; margin-top: 40px; color: var(--ink-faint); font-size: .85rem; }
@media (max-width: 899px) { .site-footer { display: none; } }
