/* ==========================================================================
   صالوناتي — Main stylesheet (Direction B: "The Two Dots")
   Loaded after Bootstrap 5.3 RTL. Tokens first, then base, components, pages.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --mist: #F4F2F5;
  --blush-soft: #FFF1EC;
  --line: #E7E3EA;
  --control: #8F8898;
  --ink: #15121A;
  --ink-muted: #5E5866;
  --on-ink: #FFFFFF;
  --jade: #00A67E;
  --jade-deep: #00775B;
  --blush: #FFD3C9;
  --alert: #C2410C;
  --amber: #8A5A12;

  --font-display: "Alexandria", "Readex Pro", system-ui, sans-serif;
  --font-sans: "Readex Pro", "Noto Sans Arabic", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-xl: 32px;
  --shadow-float: 0 2px 4px rgba(21, 18, 26, .04), 0 12px 32px rgba(21, 18, 26, .10);

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-border-color: var(--line);
  --bs-link-color: var(--jade-deep);
  --bs-link-color-rgb: 0, 119, 91;
  --bs-link-hover-color: var(--ink);
  --bs-link-hover-color-rgb: 21, 18, 26;
  --bs-secondary-color: var(--ink-muted);
  --bs-emphasis-color: var(--ink);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: -0.005em; }
h1 { font-weight: 700; line-height: 1.15; }
h2 { font-weight: 700; line-height: 1.25; }
h3 { font-weight: 600; }
h4, h5, h6 { font-family: var(--font-sans); font-weight: 600; }
.text-muted, .text-secondary { color: var(--ink-muted) !important; }
.text-jade { color: var(--jade-deep) !important; }
.text-alert { color: var(--alert) !important; }
.bg-mist { background: var(--mist) !important; }
.bg-blush-soft { background: var(--blush-soft) !important; }
.bg-ink { background: var(--ink) !important; color: var(--on-ink); }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--jade-deep) !important; outline-offset: 2px; box-shadow: none !important; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.section { padding-block: 96px 0; }
.section-sm { padding-block: 64px 0; }
.page-end { padding-bottom: 96px; }
@media (max-width: 767.98px) { .section { padding-top: 64px; } .page-end { padding-bottom: 64px; } }
.container-xl { max-width: 1280px; }
.num { font-feature-settings: "tnum"; }

/* ---------- 3. Buttons & form controls ---------- */
.btn { border-radius: 999px; font-weight: 600; min-height: 48px; padding-inline: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-sm { min-height: 38px; padding-inline: 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding-inline: 30px; font-size: 17px; }
.btn-ink { background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: #2B2633; color: #fff; border-color: #2B2633; }
.btn-jade { background: var(--jade-deep); color: #fff; border: 1px solid var(--jade-deep); }
.btn-jade:hover { background: #005E48; color: #fff; }
.btn-outline-ink { border: 1px solid var(--control); color: var(--ink); background: transparent; }
.btn-outline-ink:hover, .btn-outline-ink.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light-pill { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn-light-pill:hover { background: var(--mist); }
.btn-icon { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-icon:hover { border-color: var(--ink); }
.btn-icon.is-active { color: var(--alert); border-color: var(--blush); background: var(--blush-soft); }
.form-control, .form-select { border-radius: var(--r-md); border-color: var(--control); min-height: 50px; padding-inline: 16px; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 166, 126, .18); }
.form-label { font-weight: 500; font-size: 14px; }
.form-check-input:checked { background-color: var(--jade-deep); border-color: var(--jade-deep); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(0, 166, 126, .2); }
.form-range::-webkit-slider-thumb { background: var(--jade-deep); }
.form-range::-moz-range-thumb { background: var(--jade-deep); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }
.chip.active, .btn-check:checked + .chip { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-soft { background: var(--blush); border-color: var(--blush); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--ink); line-height: 1.6; }
.tag-ink { background: var(--ink); color: #fff; }
.tag-blush { background: var(--blush); }
.tag-verified { background: #E6F6F1; color: var(--jade-deep); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); display: inline-block; flex: none; }
.dot-amber { background: #D9A23B; }
.dot-alert { background: var(--alert); }

/* ---------- 4. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .navbar { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.site-header .nav-link { color: var(--ink); font-weight: 500; padding-inline: 14px !important; border-radius: 999px; }
.site-header .nav-link:hover, .site-header .nav-link.active { background: var(--mist); text-decoration: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch__item { min-width: 36px; height: 32px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-muted); font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; }
.lang-switch__item:hover { color: var(--ink); text-decoration: none; }
.lang-switch__item.is-active { background: var(--ink); color: var(--on-ink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; background: var(--blush); color: var(--ink); flex: none; }
.avatar-lg { width: 96px; height: 96px; font-size: 36px; }
.avatar-jade { background: var(--jade); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blush-soft); border-radius: var(--r-xl); margin-inline: 16px; isolation: isolate; }
.hero-dot { position: absolute; border-radius: 50%; z-index: -1; }
.hero-dot.d1 { width: 380px; height: 380px; background: var(--jade); top: -160px; inset-inline-end: -100px; }
.hero-dot.d2 { width: 260px; height: 260px; background: var(--blush); top: 50px; inset-inline-end: 170px; }
.hero-dot.d3 { width: 200px; height: 200px; background: var(--blush); bottom: -90px; inset-inline-start: 6%; }
.hero-inner { max-width: 1000px; margin: 0 auto; padding: 96px 24px 88px; text-align: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-muted); max-width: 640px; margin-inline: auto; }
@media (max-width: 767.98px) {
  .hero { margin-inline: 8px; border-radius: 24px; }
  .hero-inner { padding: 64px 16px 56px; }
  .hero-dot.d1 { width: 220px; height: 220px; top: -110px; }
  .hero-dot.d2 { display: none; }
}
.page-hero { background: var(--blush-soft); border-radius: var(--r-xl); margin-inline: 16px; padding: 64px 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero-dot.d1 { width: 240px; height: 240px; top: -120px; inset-inline-end: -60px; }
@media (max-width: 767.98px) { .page-hero { margin-inline: 8px; border-radius: 24px; padding: 48px 0; } }

/* ---------- 6. Search pill ---------- */
.search-pill { background: #fff; border-radius: 40px; padding: 8px; display: flex; flex-wrap: wrap; gap: 4px; box-shadow: var(--shadow-float); text-align: start; }
.search-pill .field { flex: 1 1 150px; padding: 6px 20px; display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); position: relative; }
.search-pill .field:first-child { border-inline-start: 0; }
.search-pill .field label { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.search-pill .field input, .search-pill .field select { border: 0; padding: 0; background: transparent; font-weight: 500; font-size: 16px; color: var(--ink); outline: none; width: 100%; appearance: none; }
.search-pill .field:focus-within { background: var(--mist); border-radius: 999px; }
.search-pill .btn { flex: 0 0 auto; }
@media (max-width: 767.98px) {
  .search-pill { border-radius: 24px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .search-pill .field { flex: 0 0 auto; width: 100%; border-inline-start: 0; border-top: 1px solid var(--line); padding: 12px 16px; }
  .search-pill .field:first-child { border-top: 0; }
  .search-pill .field:focus-within { border-radius: 16px; }
  .search-pill .btn { width: 100%; }
}

/* ---------- 7. Cards ---------- */
.salon-card { display: flex; flex-direction: column; gap: 2px; color: var(--ink); height: 100%; }
.salon-card:hover { text-decoration: none; color: var(--ink); }
.salon-card:hover .media img { transform: scale(1.03); }
.media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--blush-soft); aspect-ratio: 4 / 3; margin-bottom: 10px; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media .tag { position: absolute; top: 10px; inset-inline-start: 10px; }
.media .fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; min-height: 40px; }
.media form.fav { margin: 0; display: grid; place-items: center; }
.media form.fav .btn-icon { width: 40px; height: 40px; min-height: 40px; padding: 0; }
.salon-card .name { font-size: 17px; font-weight: 600; }
.meta { font-size: 14px; color: var(--ink-muted); }
.meta b { color: var(--ink); font-weight: 600; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 80px) / 5)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .rail { grid-auto-columns: minmax(240px, 42%); } }
@media (max-width: 575.98px) { .rail { grid-auto-columns: 78%; } }
.artist-card { display: flex; gap: 14px; align-items: center; background: var(--mist); border-radius: var(--r-md); padding: 16px; color: var(--ink); height: 100%; }
.artist-card:hover { text-decoration: none; color: var(--ink); background: var(--blush-soft); }
.artist-card .avatar { width: 64px; height: 64px; font-size: 24px; }
.cat-tile { display: block; position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--blush-soft); color: #fff; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span { position: absolute; inset-inline-start: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.cat-tile:hover { text-decoration: none; }
.soft-card { background: var(--mist); border-radius: var(--r-md); padding: 24px; height: 100%; }
.line-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; height: 100%; }
.review-card { background: var(--mist); border-radius: var(--r-md); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.stars { letter-spacing: 2px; color: var(--ink); }

/* Queue level pill */
.q-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.q-meter { display: inline-flex; gap: 3px; }
.q-meter i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.q-quiet { color: var(--jade-deep); } .q-quiet .q-meter i:nth-child(1) { background: var(--jade); }
.q-moderate { color: var(--amber); } .q-moderate .q-meter i:nth-child(-n+2) { background: #D9A23B; }
.q-busy { color: var(--alert); } .q-busy .q-meter i { background: var(--alert); }

/* ---------- 8. Sections ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: 28px; font-weight: 600; margin: 0; }
.app-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 56px 48px 0; position: relative; overflow: hidden; isolation: isolate; }
.app-band .hero-dot { width: 240px; height: 240px; background: var(--jade); bottom: -120px; inset-inline-start: 38%; }
.app-band p { color: #B8B2BF; }
@media (max-width: 767.98px) { .app-band { padding: 40px 24px 0; border-radius: 24px; } }
.phone { width: 280px; max-width: 100%; height: 440px; margin-inline: auto; background: #fff; color: var(--ink); border: 10px solid #34303A; border-bottom: 0; border-radius: 40px 40px 0 0; padding: 24px 18px; display: flex; flex-direction: column; gap: 14px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
.biz-band { background: var(--blush-soft); border-radius: var(--r-xl); padding: 48px; }
@media (max-width: 767.98px) { .biz-band { padding: 28px 20px; border-radius: 24px; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jade); margin-top: 10px; flex: none; }
.mock-schedule { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow-float); }
.mock-slot { border-radius: var(--r-sm); padding: 10px; font-size: 13px; line-height: 1.5; background: var(--mist); }

/* ---------- 9. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 56px 0 32px; font-size: 14px; }
.site-footer h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- 10. Search page ---------- */
.filters-bar { position: sticky; top: 76px; z-index: 1020; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0; }
.filters-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.result-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.result-row:hover { text-decoration: none; color: var(--ink); }
.result-row .media { margin: 0; aspect-ratio: 4/3; }
@media (max-width: 575.98px) { .result-row { grid-template-columns: 1fr; } }
.svc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-top: 1px dashed var(--line); }
.map-box { position: sticky; top: 150px; height: calc(100vh - 180px); min-height: 420px; border-radius: var(--r-md); overflow: hidden; background: #EEF3F1; }
.map-box .sea { position: absolute; inset-block: 0; inset-inline-end: 0; width: 18%; background: #D8EAF0; }
.map-box .road { position: absolute; background: #fff; }
.map-pin { position: absolute; transform: translate(-50%, -100%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.map-pin:hover, .map-pin.is-hot { background: var(--jade-deep); color: #fff; text-decoration: none; z-index: 2; }
.empty-state { text-align: center; padding: 64px 16px; }
.empty-state .dots-pair { display: inline-flex; gap: 8px; margin-bottom: 16px; }
.empty-state .dots-pair i { width: 22px; height: 22px; border-radius: 50%; background: var(--blush); }
.empty-state .dots-pair i + i { background: var(--jade); }

/* ---------- 11. Salon & artist profile ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: var(--r-md); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--blush-soft); }
.gallery img:first-child { grid-row: span 2; }
.gallery img:nth-child(4) { grid-column: span 2; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; } .gallery img:first-child { grid-column: span 2; grid-row: auto; } .gallery img:nth-child(4) { display: none; } }
.profile-tabs { position: sticky; top: 76px; z-index: 1010; background: #fff; border-bottom: 1px solid var(--line); }
.profile-tabs .nav-link { color: var(--ink-muted); font-weight: 500; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 14px 4px; margin-inline-end: 24px; }
.profile-tabs .nav-link.active, .profile-tabs .nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); background: none; text-decoration: none; }
.side-card { position: sticky; top: 150px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.team-card { text-align: center; color: var(--ink); display: block; padding: 16px 8px; border-radius: var(--r-md); }
.team-card:hover { background: var(--mist); text-decoration: none; color: var(--ink); }
.team-card .avatar { width: 88px; height: 88px; font-size: 32px; margin-bottom: 10px; }
.policy-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.policy-item i { font-size: 22px; color: var(--jade-deep); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.work-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: var(--blush-soft); }
.mobile-cta { position: fixed; bottom: 0; inset-inline: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; }
@media (min-width: 992px) { .mobile-cta { display: none; } }

/* ---------- 12. Booking flow ---------- */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.stepper li { flex: 1; font-size: 13px; color: var(--ink-muted); }
.stepper li::before { content: ""; display: block; height: 4px; border-radius: 999px; background: var(--line); margin-bottom: 8px; }
.stepper li.done::before, .stepper li.current::before { background: var(--jade); }
.stepper li.current { color: var(--ink); font-weight: 600; }
.pick-row { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; margin-bottom: 10px; transition: border-color .15s; }
.pick-row:hover { border-color: var(--control); }
.pick-row:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--blush-soft); }
.pick-row input { flex: none; }
.day-chip { display: flex; flex-direction: column; align-items: center; min-width: 68px; padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer; font-size: 13px; color: var(--ink); }
.day-chip b { font-family: var(--font-display); font-size: 20px; }
.btn-check:checked + .day-chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot-grid .chip { justify-content: center; }
.btn-check:disabled + .chip { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.summary-card { position: sticky; top: 100px; background: var(--mist); border-radius: 20px; padding: 24px; }

/* ---------- 13. Queue ---------- */
.queue-hero { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 40px 32px 72px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.queue-hero .hero-dot { width: 220px; height: 220px; background: var(--jade); top: -110px; inset-inline-start: -60px; opacity: .9; }
.queue-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 18vw, 160px); line-height: .95; }
.queue-stats { margin-top: -48px; position: relative; }
.progress { height: 8px; border-radius: 999px; background: var(--mist); }
.progress-bar { background: var(--jade); border-radius: 999px; }
.progress-bar.bar-blush { background: #F5A897; }

/* ---------- 14. Auth & account ---------- */
.auth-wrap { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: var(--blush-soft); position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 48px; }
.auth-art .hero-dot.d1 { width: 360px; height: 360px; background: var(--jade); top: 10%; inset-inline-start: 10%; }
.auth-art .hero-dot.d2 { width: 360px; height: 360px; background: var(--blush); top: 10%; inset-inline-end: 10%; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }
.otp-inputs { display: flex; gap: 10px; direction: ltr; justify-content: center; }
.otp-inputs input { width: 56px; height: 64px; text-align: center; font-size: 26px; font-family: var(--font-display); }
.account-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--blush-soft); border-radius: var(--r-xl); padding: 28px 32px; margin-bottom: 20px; }
.account-hero .hero-dot.d1 { width: 180px; height: 180px; background: var(--jade); top: -80px; inset-inline-end: -50px; opacity: .9; }
.account-hero .hero-dot.d2 { width: 150px; height: 150px; background: var(--blush); bottom: -70px; inset-inline-start: 22%; }
.account-hero-row { position: relative; display: flex; align-items: center; gap: 20px; }
.account-kicker { font-size: 13px; font-weight: 600; color: var(--jade-deep); margin: 0; }
.account-stats { display: flex; gap: 10px; margin-inline-start: auto; }
.account-stat { background: #fff; border-radius: 16px; min-width: 92px; padding: 12px 14px; text-align: center; }
.account-stat b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.account-stat span { font-size: 12px; color: var(--ink-muted); }
.account-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--mist); padding: 6px; border-radius: 999px; margin-bottom: 28px; }
.account-tabs .nav-link { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 10px; color: var(--ink-muted); font-weight: 600; }
.account-tabs .nav-link:hover { color: var(--ink); background: transparent; text-decoration: none; }
.account-tabs .nav-link.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(21, 18, 26, .05), 0 8px 18px rgba(21, 18, 26, .06); }
.account-tabs .count { font-size: 12px; font-weight: 700; background: var(--blush); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
.account-tabs .nav-link.active .count { background: var(--ink); color: #fff; }
.pane-lead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.pane-lead h2 { font-family: var(--font-display); font-size: 26px; margin: 0; }
.pane-lead p { margin: 2px 0 0; color: var(--ink-muted); font-size: 14px; }
.bk-switch { display: inline-flex; gap: 4px; background: var(--mist); padding: 4px; border-radius: 999px; }
.bk-switch .chip { border-color: transparent; background: transparent; }
.bk-switch .chip:hover { border-color: transparent; }
.bk-switch .btn-check:checked + .chip { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 1px 2px rgba(21, 18, 26, .06), 0 6px 14px rgba(21, 18, 26, .06); }
.ticket-card { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: 20px; padding: 16px 18px; margin-bottom: 14px; }
.ticket-card:hover { color: #fff; text-decoration: none; }
.ticket-card .ticket-num { width: 72px; height: 72px; border-radius: 16px; background: var(--jade); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; flex: none; }
.ticket-card .ticket-kicker { font-size: 13px; color: #C9C3D0; }
.ticket-card .meta { color: #C9C3D0; }
.booking-card { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 12px; background: #fff; }
.booking-card .date-box { background: var(--blush-soft); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 84px; }
.booking-card .date-box b { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.booking-card .date-box span { font-size: 12px; color: var(--ink-muted); }
.booking-card.is-cancelled { background: var(--mist); }
.booking-card.is-cancelled .date-box { background: #fff; }
.booking-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.booking-who { display: flex; gap: 12px; min-width: 0; flex: 1; }
.booking-who > div { min-width: 0; }
.booking-thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; background: var(--blush-soft); }
.booking-salon { font-size: 17px; }
.booking-price { text-align: end; flex: none; white-space: nowrap; padding-top: 2px; }
.booking-price b { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.booking-card.is-cancelled .tag-muted { background: #fff; }
.booking-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.booking-foot .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.tag-muted { background: var(--mist); color: var(--ink-muted); }
.btn-quiet { background: transparent; border: 1px solid transparent; color: var(--ink-muted); }
.btn-quiet:hover { color: var(--alert); background: #FFF4EF; border-color: #F3D2C6; }
.empty-panel { border: 1px dashed var(--control); border-radius: 20px; background: var(--mist); }
.settings-card { border-radius: 20px; }
.settings-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.icon-bubble { width: 48px; height: 48px; border-radius: 50%; background: var(--blush-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; color: var(--ink); }
.notify-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.notify-row .icon-bubble { width: 42px; height: 42px; background: var(--mist); font-size: 17px; }
.notify-row .grow, .logout-row .grow { flex: 1; min-width: 0; }
.notify-row b { display: block; font-weight: 600; line-height: 1.4; }
.notify-row span { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.45; }
.logout-row { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; color: var(--alert); font-weight: 600; }
.logout-row:hover { border-color: #E8B5A4; background: #FFF6F2; color: var(--alert); }
@media (max-width: 767.98px) {
  .account-hero { padding: 20px; border-radius: 24px; }
  .account-hero .hero-dot.d2 { display: none; }
  .account-hero-row { flex-wrap: wrap; }
  .account-stats { width: 100%; margin-inline-start: 0; }
  .account-stat { flex: 1; min-width: 0; }
  .account-tabs { border-radius: 20px; }
  .account-tabs .nav-link { font-size: 13px; padding: 10px 6px; gap: 4px; }
  .booking-card { grid-template-columns: 68px 1fr; gap: 12px; }
  .booking-price { text-align: start; }
  .booking-foot { flex-direction: column; align-items: stretch; }
  .ticket-card { flex-wrap: wrap; }
  .ticket-card .btn { width: 100%; }
}

/* ---------- 15. Pricing & business ---------- */
.price-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; height: 100%; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card.featured .text-muted { color: #B8B2BF !important; }
.price-card.featured .check-list li::before { background: var(--blush); }
.price-card .amount { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; }
.mode-card { border-radius: 20px; padding: 28px; height: 100%; }
.mode-card .icon-dot { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; background: #fff; }

/* ---------- 16. Accordion (FAQ) ---------- */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(0,166,126,.2); --bs-accordion-active-bg: var(--blush-soft); --bs-accordion-active-color: var(--ink); --bs-accordion-border-radius: var(--r-md); --bs-accordion-inner-border-radius: var(--r-md); }
.accordion-button { font-weight: 600; }

/* ---------- 17. Toast ---------- */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; display: grid; gap: 8px; width: min(92vw, 420px); }
.app-toast { background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 20px; display: flex; gap: 10px; align-items: center; font-size: 15px; box-shadow: var(--shadow-float); animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 18. Image fallback ---------- */
img.img-fallback { object-fit: cover; }

/* ---------- 19. Legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: #2E2935; }

/* ---------- 20. 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 20vw, 200px); line-height: 1; display: inline-flex; align-items: center; gap: 12px; }
.notfound .big i { width: .7em; height: .7em; border-radius: 50%; background: var(--jade); display: inline-block; }

/* ---------- 21. Utilities ---------- */
.min-w-0 { min-width: 0; }
section[id], [data-panel] { scroll-margin-top: 140px; }
.site-footer .brand { color: var(--ink); }
.site-footer a.btn-ink { color: #fff; }
