/* نوبت‌آرا — سایت مشتری (نسخهٔ ۳: کاغذ کرم، جوهر نفتی، طلایی)
   موبایل‌محور، راست‌به‌چپ، بدون وابستگی بیرونی.
   فونت‌ها از /panel/css/vazirmatn.css: Vazirmatn (متغیر) برای متن و عنوان‌های سبک،
   Estedad برای اعداد درشت. */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9de;
  --cream: #e7e1d5;
  --card: #fbf8f2;
  --card-2: #ffffff;
  --ink: #0d2a35;
  --ink-2: #33505b;
  --muted: #61757d;
  --faint: #93a2a7;
  --petrol: #033b4f;
  --petrol-2: #022c3b;
  --petrol-3: #0a4c63;
  --gold: #b9730e;
  --gold-2: #9a5f08;
  --gold-bright: #e9a441;
  --gold-soft: rgb(185 115 14 / .12);
  --line: rgb(13 42 53 / .1);
  --line-2: rgb(13 42 53 / .18);
  --grid: rgb(13 42 53 / .055);
  --on-dark: #f6f2ea;
  --on-dark-2: rgb(246 242 234 / .74);

  --accent: var(--gold);
  --accent-strong: var(--gold-2);
  --accent-soft: var(--gold-soft);

  --ok: #1f7a55;
  --ok-50: #e2f1e8;
  --warn: #9a5f08;
  --warn-50: #f8ecd6;
  --danger: #b4321f;
  --danger-50: #f8e5df;

  --r-xs: 10px; --r-sm: 16px; --r: 24px; --r-lg: 32px; --r-xl: 56px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(13 42 53 / .05);
  --sh-2: 0 1px 2px rgb(13 42 53 / .04), 0 10px 24px -14px rgb(13 42 53 / .18);
  --sh-3: 0 2px 6px rgb(13 42 53 / .05), 0 24px 48px -24px rgb(13 42 53 / .3);
  --sh-4: 0 6px 12px rgb(13 42 53 / .06), 0 40px 80px -30px rgb(2 44 59 / .45);
  --ring: 0 0 0 3px rgb(185 115 14 / .4);

  --topbar-h: 84px;
  --tabbar-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #021e29;
    --paper-2: #03242f;
    --cream: #0b3442;
    --card: #062b38;
    --card-2: #08313f;
    --ink: #efe9dd;
    --ink-2: #c9d3d2;
    --muted: #93a8ad;
    --faint: #5f7a82;
    --petrol: #011a24;
    --petrol-2: #01141c;
    --petrol-3: #04303e;
    --gold: #e0a43a;
    --gold-2: #f0b552;
    --gold-bright: #f0b552;
    --gold-soft: rgb(224 164 58 / .14);
    --line: rgb(231 225 213 / .1);
    --line-2: rgb(231 225 213 / .2);
    --grid: rgb(231 225 213 / .045);
    --ok: #5fc59a;
    --ok-50: #0b3328;
    --warn: #f0b552;
    --warn-50: #33270e;
    --danger: #f08a77;
    --danger-50: #3a1a14;
    --sh-1: 0 1px 2px rgb(0 0 0 / .4);
    --sh-2: 0 1px 2px rgb(0 0 0 / .3), 0 10px 24px -12px rgb(0 0 0 / .6);
    --sh-3: 0 2px 6px rgb(0 0 0 / .3), 0 24px 48px -20px rgb(0 0 0 / .7);
    --sh-4: 0 6px 12px rgb(0 0 0 / .35), 0 40px 80px -30px rgb(0 0 0 / .8);
    --ring: 0 0 0 3px rgb(224 164 58 / .5);
    color-scheme: dark;
  }
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; min-height: 100vh;
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif; font-size: 15px; line-height: 1.85;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: Vazirmatn, sans-serif; line-height: 1.3; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ltr { direction: ltr; unicode-bidi: isolate; }
bdi { unicode-bidi: isolate; direction: ltr; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; right: 12px; z-index: 100; background: var(--petrol); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 8px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 18px; }
.page { padding-block: 28px 56px; }
.page--narrow { max-width: 680px; }
#view { display: block; min-height: 60vh; }
#view:focus { box-shadow: none; }

/* ---------- واژگان تصویری ---------- */
.display { font-family: Vazirmatn, sans-serif; font-weight: 450; font-size: clamp(2.5rem, 9vw, 5.6rem); line-height: 1.12; letter-spacing: -.03em; }
.display--md { font-size: clamp(2.1rem, 6vw, 3.8rem); }
.display--sm { font-size: clamp(1.9rem, 5vw, 3.3rem); line-height: 1.2; }
.gold, .accent { color: var(--accent); }
.gold-dot { color: var(--accent); }
.lead { color: var(--ink-2); font-size: 1rem; line-height: 2; max-width: 60ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: Vazirmatn, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .32em; line-height: 1;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink-2); direction: ltr;
}
.kicker--light { color: var(--on-dark); border-color: rgb(246 242 234 / .35); background: rgb(2 44 59 / .2); backdrop-filter: blur(6px); }
.kicker--num { direction: rtl; border: 0; padding: 0; letter-spacing: 0; font-size: .86rem; font-weight: 600; color: var(--accent); gap: 12px; }
.kicker--num::before { content: ''; width: 34px; height: 1.5px; background: currentColor; order: 1; }
.kicker--num.kicker--light { background: none; color: var(--gold-bright); }
.kicker__n { font-family: Estedad, sans-serif; font-weight: 300; font-size: 1.9rem; line-height: 1; color: var(--ink); opacity: .85; }
.kicker--light .kicker__n { color: var(--on-dark); }

.gridlines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(to left, var(--grid) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%; background-position: right top; }
.gridlines--light { background-image: linear-gradient(to left, rgb(246 242 234 / .07) 1px, transparent 1px); }

.frame { position: absolute; inset: 22px; pointer-events: none; z-index: 2; }
.frame__c { position: absolute; width: 30px; height: 30px; border: 0 solid rgb(246 242 234 / .55); }
.frame__c--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.frame__c--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.frame__c--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.frame__c--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }

.stamp { position: absolute; width: 132px; height: 132px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-3); display: grid; place-items: center; }
.stamp__n { font-family: Estedad, sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--petrol); line-height: 1; }
@media (prefers-color-scheme: dark) { .stamp__n { color: var(--gold); } }
.stamp--accent .stamp__n { color: var(--accent); }
.stamp::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed var(--line-2); }
.stamp__ring { position: absolute; bottom: 26%; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: .34em; color: var(--muted); direction: ltr; }
.stamp__n { transform: translateY(-6px); }

/* ---------- نوار ناوبری شیشه‌ای (پلتفرم) ---------- */
.topbar { position: sticky; top: 0; z-index: 60; padding-top: 12px; pointer-events: none; }
.topbar__wrap { pointer-events: auto; }
.topbar__inner {
  height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 10px 0 16px;
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-2);
  transition: background-color .35s var(--ease), border-color .35s, color .35s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-height: 44px; flex: none; }
.brand__mark { color: var(--petrol); display: inline-flex; }
@media (prefers-color-scheme: dark) { .brand__mark { color: var(--gold); } }
.brand__mark svg { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: Vazirmatn, sans-serif; font-weight: 700; font-size: 1.12rem; }
.brand__sub { font-size: 8.5px; letter-spacing: .42em; color: var(--accent); direction: ltr; margin-top: 3px; }
.topnav { display: none; gap: 4px; margin-inline-start: 18px; }
.topnav a { position: relative; color: var(--ink-2); padding: 8px 14px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; transition: color .2s; }
.topnav a:hover { color: var(--ink); }
.topnav a.is-active { color: var(--ink); font-weight: 700; }
.topnav a.is-active::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.topbar__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.owner-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: .84rem; transition: border-color .2s, background-color .2s; }
.owner-btn .ic { width: 18px; height: 18px; color: var(--accent); }
.owner-btn:hover { border-color: var(--accent); }
.owner-btn__long { display: none; }
.account-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 4px 16px 4px 4px; border-radius: var(--r-pill); background: var(--petrol); color: var(--on-dark); font-weight: 600; font-size: .86rem; }
.account-btn .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--gold); color: #fff; order: 2; }
.account-btn .label { order: 1; }

body[data-route~="landing"] .topbar { position: fixed; inset-inline: 0; }
body.on-hero .topbar__inner { background: rgb(2 30 41 / .32); border-color: rgb(246 242 234 / .16); box-shadow: none; }
body.on-hero .brand, body.on-hero .topnav a, body.on-hero .owner-btn { color: var(--on-dark); }
body.on-hero .topnav a:hover, body.on-hero .topnav a.is-active { color: #fff; }
body.on-hero .brand__mark { color: var(--gold); }
body.on-hero .owner-btn { border-color: rgb(246 242 234 / .3); }
body.on-hero .account-btn { background: #f6f2ea; color: #033b4f; }

/* صفحهٔ شخصی آرایشگاه: پوستهٔ پلتفرم پنهان */
body.salon-site .topbar, body.salon-site .tabbar, body.salon-site .footer { display: none; }
body.salon-site { padding-bottom: 0; }

/* ---------- نوار پایین (موبایل) ---------- */
.tabbar { position: fixed; inset-inline: 12px; bottom: calc(10px + var(--safe-b)); z-index: 50; display: grid; grid-template-columns: repeat(3, 1fr);
  height: var(--tabbar-h); background: color-mix(in srgb, var(--petrol-2) 92%, transparent); backdrop-filter: blur(18px); border-radius: var(--r-pill); box-shadow: var(--sh-4); padding: 0 6px; }
.tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--on-dark-2); font-size: .7rem; font-weight: 500; min-height: 44px; transition: color .2s; }
.tabbar__item .ic { width: 22px; height: 22px; }
.tabbar__item.is-active { color: var(--gold-bright); }
.tabbar__item.is-active::after { content: ''; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-bright); }
body { padding-bottom: calc(var(--tabbar-h) + 22px + var(--safe-b)); }

/* ---------- پاورقی پلتفرم ---------- */
.footer { position: relative; color: var(--on-dark-2); font-size: .86rem; padding-top: 56px; margin-top: 64px; background: var(--petrol-2); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer .brand { color: var(--on-dark); }
.footer .brand__mark { color: var(--gold-bright); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.footer__brand .brand__mark svg { width: 34px; height: 34px; }
.footer__col { display: flex; flex-direction: column; gap: 2px; }
.footer__col h2 { font-size: .82rem; color: var(--gold-bright); margin-bottom: 6px; font-weight: 600; }
.footer__col a { color: var(--on-dark-2); min-height: 34px; display: inline-flex; align-items: center; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 12px; padding-block: 18px 24px; margin-top: 32px; border-top: 1px solid rgb(246 242 234 / .1); font-size: .78rem; color: rgb(246 242 234 / .5); }
.footer__kicker { letter-spacing: .3em; font-size: 10px; direction: ltr; }

/* ---------- دکمه‌ها ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: .94rem; line-height: 1.2; white-space: nowrap; text-decoration: none; user-select: none;
  transition: background-color .2s, border-color .2s, transform .12s var(--ease), box-shadow .2s, color .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .86rem; }
.btn--lg { --h: 56px; font-size: 1rem; padding: 0 28px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--petrol); color: var(--on-dark); box-shadow: 0 14px 30px -16px rgb(2 44 59 / .8); }
.btn--primary:hover:not(:disabled) { background: var(--petrol-3); }
@media (prefers-color-scheme: dark) { .btn--primary { background: var(--gold); color: #1d1404; } .btn--primary:hover:not(:disabled) { background: var(--gold-2); } }
.btn--gold, .btn--accent { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--gold:hover:not(:disabled), .btn--accent:hover:not(:disabled) { background: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .btn--gold, .btn--accent { color: #1d1404; } }
.btn--primary:disabled, .btn--gold:disabled, .btn--accent:disabled { background: var(--cream); color: var(--faint); box-shadow: none; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover:not(:disabled) { border-color: var(--ink); }
.btn--ghost:disabled { opacity: .5; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger-ghost { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.btn--danger-ghost:hover:not(:disabled) { background: var(--danger-50); }
.btn--glass { background: rgb(246 242 234 / .1); color: var(--on-dark); border-color: rgb(246 242 234 / .35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgb(246 242 234 / .18); }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #fff; border-color: #fff #fff transparent transparent; animation: spin .7s linear infinite; }
.btn--ghost.is-loading::after, .btn--danger-ghost.is-loading::after { border-color: var(--accent) var(--accent) transparent transparent; }

.arrow-btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 24px 6px 6px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .2s, background-color .2s;
}
.arrow-btn__icon { order: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .3s var(--spring); }
.arrow-btn__icon .ic { width: 18px; height: 18px; transform: rotate(45deg); }
.arrow-btn__text { order: 1; }
.arrow-btn:hover .arrow-btn__icon { transform: translateX(-4px); }
.arrow-btn--glass { color: var(--on-dark); border-color: rgb(246 242 234 / .35); background: rgb(2 30 41 / .25); backdrop-filter: blur(8px); }
.arrow-btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.arrow-btn--gold .arrow-btn__icon { background: #fff; color: var(--gold-2); }
.arrow-btn--accent { background: rgb(2 30 41 / .3); color: var(--on-dark); border-color: rgb(246 242 234 / .35); backdrop-filter: blur(8px); }
.arrow-btn--dark { background: var(--petrol); color: var(--on-dark); border-color: var(--petrol); }
@media (prefers-color-scheme: dark) { .arrow-btn--dark { background: var(--card-2); border-color: var(--line-2); } }

.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--accent); font-weight: 600; min-height: 32px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link-btn:disabled { color: var(--muted); text-decoration: none; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; padding-block: 6px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); transition: transform .15s, border-color .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn--sm { width: 42px; height: 42px; }
.icon-btn--soft { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.icon-btn--glass { background: rgb(246 242 234 / .9); color: #033b4f; border: 0; }

/* ---------- کارت، برچسب، تراشه ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.card--pad { padding: 22px; }
.card--warn { border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: linear-gradient(180deg, var(--warn-50), var(--card) 70%); }
.badge, .tag { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 2px 11px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; line-height: 1.95; background: var(--paper-2); color: var(--ink-2); }
.badge--ok { background: var(--ok-50); color: var(--ok); }
.badge--warn { background: var(--warn-50); color: var(--warn); }
.badge--danger { background: var(--danger-50); color: var(--danger); }
.badge--brand { background: var(--accent-soft); color: var(--accent); }
.badge--muted { background: var(--paper-2); color: var(--muted); }
.badge--warm, .tag--accent { background: var(--accent-soft); color: var(--accent); }
.tag--glass { background: rgb(246 242 234 / .9); color: #033b4f; backdrop-filter: blur(8px); }
.tag--live { background: var(--ok-50); color: var(--ok); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-weight: 500; transition: all .2s var(--ease); }
.chip .ic { width: 18px; height: 18px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--on-dark); }
.chip.is-loading .ic { animation: spin 1s linear infinite; }
.chip--sm { min-height: 34px; padding: 0 12px; font-size: .8rem; }
.chip--sm .ic { width: 15px; height: 15px; }
.chip--glass { color: var(--on-dark); border-color: rgb(246 242 234 / .35); background: rgb(2 30 41 / .25); backdrop-filter: blur(8px); }
.chip--glass:hover { border-color: var(--on-dark); }
.chip--glass[aria-pressed="true"] { background: #f6f2ea; color: #033b4f; border-color: #f6f2ea; }
.chip--area { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip--drawn { background: var(--petrol); color: var(--on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.meta { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .84rem; min-width: 0; }
.meta .ic { width: 16px; height: 16px; flex: none; }
.meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta--light { color: var(--on-dark-2); }
.rating { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: .84rem; padding: 2px 11px 2px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
.rating b { font-weight: 700; font-family: Estedad, sans-serif; color: var(--ink); }
.rating__star { width: 14px; height: 14px; color: var(--accent); }
.rating__count { color: var(--muted); font-size: .8em; }
.rating--sm { font-size: .76rem; padding: 1px 9px 1px 7px; }
.rating--new { font-weight: 600; }
.shero .rating, .lhero .rating { background: rgb(246 242 234 / .14); color: var(--gold-bright); backdrop-filter: blur(6px); }
.shero .rating b, .shero .rating__count { color: var(--on-dark); }
.avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--paper-2); color: var(--petrol); font-family: Estedad, sans-serif; font-weight: 700; font-size: 1.2rem; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .avatar { color: var(--gold); } }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 34px; height: 34px; font-size: .9rem; }
.avatar--lg { width: 64px; height: 64px; }
.avatar--xl { width: 78px; height: 78px; font-size: 1.7rem; }
.avatar--xl .ic { width: 32px; height: 32px; }
.avatar--any { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* ---------- فرم ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-weight: 600; font-size: .86rem; color: var(--ink-2); }
.field__hint { font-size: .8rem; color: var(--muted); }
.input, .select { width: 100%; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card-2); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:hover, .select:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: var(--ring); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[readonly] { background: var(--paper-2); color: var(--ink-2); }
textarea.input { resize: vertical; min-height: 80px; line-height: 1.8; }
.input--lg { min-height: 56px; font-size: 1.02rem; }
.input--ltr { direction: ltr; text-align: center; letter-spacing: .05em; }
.input--code { font-size: 1.5rem; letter-spacing: .55em; font-weight: 700; padding-inline: 8px; text-indent: .28em; font-family: Estedad, sans-serif; }
.input--readonly { display: flex; align-items: center; background: var(--paper-2); color: var(--ink-2); }
.input::placeholder { color: var(--faint); }
.select, .searchbar__select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361757d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: left 12px center; background-size: 16px 16px; background-repeat: no-repeat; padding-left: 36px; }
.form-error { color: var(--danger); font-size: .88rem; font-weight: 600; }
.form-error:empty { display: none; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fineprint { font-size: .8rem; color: var(--muted); }

/* ---------- هشدار، خالی، اسکلت ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); font-size: .9rem; border: 1px solid transparent; }
.alert > .ic, .alert__icon { flex: none; margin-top: 1px; }
.alert__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 14%, transparent); }
.alert__icon .ic { width: 18px; height: 18px; }
.alert__body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; padding-top: 4px; }
.alert--error { background: var(--danger-50); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 18%, transparent); }
.alert--error .alert__body p { color: var(--ink); }
.alert--info { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 16%, transparent); }
.alert--info .alert__body p { color: var(--ink-2); }
.alert--info > .ic { margin-top: 3px; }
.empty { text-align: center; padding: 32px 16px 36px; display: flex; flex-direction: column; align-items: center; gap: 8px; grid-column: 1 / -1; }
.empty__art { width: 160px; max-width: 70%; margin-bottom: 4px; }
.empty__title { font-size: 1.1rem; font-weight: 600; }
.empty__text { color: var(--muted); max-width: 38ch; font-size: .9rem; }
.empty .btn { margin-top: 8px; }
.art svg { width: 100%; height: auto; display: block; }
.art .a-shadow { fill: var(--petrol); opacity: .1; }
.art .a-soft { fill: var(--cream); }
.art .a-card { fill: var(--card-2); stroke: var(--line-2); stroke-width: 3; }
.art .a-stroke { stroke: var(--petrol); fill: var(--petrol); }
.art .a-line { stroke: var(--accent); }
.art .a-brand { fill: var(--petrol); }
.art .a-accent { fill: var(--accent); }
.art .a-accent2 { fill: var(--accent); opacity: .5; }
@media (prefers-color-scheme: dark) { .art .a-stroke { stroke: var(--gold); fill: var(--gold); } .art .a-brand { fill: var(--gold); } }
.skel { background: linear-gradient(90deg, var(--paper-2) 25%, color-mix(in srgb, var(--paper-2) 40%, var(--card)) 50%, var(--paper-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--r-sm); }
.skel--card { height: 96px; margin-bottom: 12px; }
.skel--cover { aspect-ratio: 4 / 3; border-radius: var(--r) var(--r) var(--r) 8px; }
.skel--line { height: 12px; border-radius: 6px; margin-bottom: 10px; }
.skel--head { height: 132px; margin-bottom: 16px; border-radius: var(--r); }
.skel--block { height: 320px; margin-bottom: 16px; border-radius: var(--r-lg); }
.skel--appt { height: 156px; margin-bottom: 12px; border-radius: var(--r); }
.skel--chip { height: 48px; border-radius: var(--r-pill); }
.skel--day { width: 76px; height: 100px; flex: none; border-radius: 22px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { transform: translateY(14px); } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { transform: scale(1.08); } }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.redirecting { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; color: var(--muted); }
.toast { position: fixed; z-index: 90; inset-inline: 16px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); max-width: 420px; margin-inline: auto; padding: 13px 20px; border-radius: var(--r-pill); background: var(--petrol-2); color: var(--on-dark); font-weight: 500; font-size: .9rem; box-shadow: var(--sh-4); text-align: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast--show { opacity: 1; transform: none; }
.toast--ok { background: #155c41; }
.toast--error { background: #8e2716; }
body.salon-site .toast { bottom: calc(110px + var(--safe-b)); }
.backdrop { position: fixed; inset: 0; z-index: 80; background: rgb(1 20 28 / .55); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; padding: 16px; animation: fade .2s; }
.dialog { width: 100%; max-width: 460px; background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-4); display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--safe-b); animation: rise .25s var(--ease); }
.dialog__title { font-size: 1.2rem; font-weight: 600; }
.dialog__text { color: var(--ink-2); font-size: .92rem; }
.dialog__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

/* ================= خانه ================= */
.lhero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--on-dark); border-radius: 0 0 0 var(--r-xl); background: var(--petrol-2); }
.lhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; z-index: -2; animation: zoom 1.6s var(--ease) both; }
.lhero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgb(1 22 30 / .9) 0%, rgb(1 22 30 / .62) 48%, rgb(1 22 30 / .28) 100%), linear-gradient(0deg, rgb(1 22 30 / .7), transparent 45%); }
.lhero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 18px; padding-block: 120px 60px; }
.lhero__title { color: var(--on-dark); text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.lhero__title .gold, .lhero__title .gold-dot { color: var(--gold-bright); }
.lhero__sub { color: var(--on-dark-2); font-size: 1rem; max-width: 46ch; line-height: 2; }
.searchbar { display: grid; grid-template-columns: 1fr; margin-top: 6px; background: color-mix(in srgb, var(--paper) 95%, transparent); color: var(--ink); border-radius: var(--r); padding: 6px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); max-width: 760px; }
.searchbar__field { display: flex; align-items: center; gap: 12px; padding: 6px 14px; min-height: 60px; border-radius: 18px; cursor: text; transition: background-color .2s; }
.searchbar__field:focus-within { background: var(--paper-2); }
.searchbar__icon { color: var(--accent); width: 22px; height: 22px; }
.searchbar__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.searchbar__label { font-size: .72rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.searchbar__input, .searchbar__select { border: 0; background-color: transparent; padding: 0; min-height: 28px; font-size: .95rem; color: var(--ink-2); width: 100%; min-width: 0; }
.searchbar__input:focus, .searchbar__select:focus { box-shadow: none; }
.searchbar__input::placeholder { color: var(--faint); }
.searchbar__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.searchbar__select { cursor: pointer; background-position: left 0 center; padding-left: 22px; }
.searchbar__select option { color: #0d2a35; background: #fff; }
.searchbar__divider { height: 1px; background: var(--line); margin-inline: 14px; }
.searchbar__btn { --h: 54px; margin-top: 6px; }
.hero__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper-2); border: 1px solid var(--line); padding: 4px; border-radius: var(--r-pill); }
.seg__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); border-radius: var(--r-pill); font-weight: 600; font-size: .86rem; transition: background-color .2s, color .2s; }
.seg__btn .ic { width: 17px; height: 17px; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--petrol); color: var(--on-dark); }
@media (prefers-color-scheme: dark) { .seg__btn[aria-pressed="true"] { background: var(--gold); color: #1d1404; } }
.seg--glass { background: rgb(2 30 41 / .3); border-color: rgb(246 242 234 / .25); backdrop-filter: blur(8px); }
.seg--glass .seg__btn { color: var(--on-dark-2); }
.seg--glass .seg__btn:hover { color: #fff; }
.seg--glass .seg__btn[aria-pressed="true"] { background: #f6f2ea; color: #033b4f; }
.lhero__map { display: none; }

.cats { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.cats__label { display: none; font-size: .82rem; color: var(--muted); white-space: nowrap; font-weight: 600; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 18px 8px; margin-inline: -18px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; flex: 1; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; scroll-snap-align: start; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-weight: 500; font-size: .86rem; transition: all .2s var(--ease); }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--on-dark); }

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.section-head--light, .section-head--light .display { color: var(--on-dark); }
.results { position: relative; padding-block: 44px 24px; scroll-margin-top: 90px; }
.results__container { position: relative; z-index: 1; }
.results__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.results__titles { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.results__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.results__status { color: var(--muted); font-size: .86rem; }
.results__more { margin-top: 20px; }
.seg--view { flex: none; }
.seg--view .seg__btn { padding: 0 14px; }
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 20px; transition: opacity .2s; }
.grid-cards.is-refreshing { opacity: .5; pointer-events: none; }

.salon-card { position: relative; display: flex; flex-direction: column; color: inherit; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 30px 30px 30px 10px; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; animation: rise .5s var(--ease) both; }
.salon-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.salon-card.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--sh-3); }
.salon-card--skel { animation: none; }
.salon-card--skel:hover { transform: none; box-shadow: var(--sh-1); }
.salon-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px 24px 24px 6px; background: var(--petrol); }
.salon-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.salon-card:hover .salon-card__img { transform: scale(1.05); }
.salon-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(1 22 30 / .45), transparent 45%); pointer-events: none; }
.salon-card__gender { position: absolute; top: 12px; right: 12px; z-index: 2; }
.salon-card__live { position: absolute; bottom: 12px; right: 12px; z-index: 2; background: rgb(246 242 234 / .92); color: #1f7a55; }
.salon-card__body { padding: 14px 10px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.salon-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.salon-card__title { font-size: 1.12rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.salon-card__tagline { color: var(--muted); font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.salon-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.salon-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price-chip { display: inline-flex; align-items: baseline; gap: 5px; }
.price-chip small { color: var(--muted); font-size: .78rem; }
.price-chip b { font-size: .98rem; font-weight: 700; font-family: Estedad, sans-serif; }
.salon-card__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .3s var(--spring); }
.salon-card__go .ic { width: 17px; height: 17px; transform: rotate(45deg); }
.salon-card:hover .salon-card__go { transform: translateX(-4px); }

/* ---------- نقشه ---------- */
.mapview { display: none; position: relative; overflow: hidden; background: var(--paper-2); }
.mapview__canvas { position: absolute; inset: 0; direction: ltr; z-index: 0; background: var(--paper-2); }
.mapview.is-loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 50%; border: 3px solid var(--cream); border-top-color: var(--accent); animation: spin .8s linear infinite; z-index: 5; }
.map-tools { position: absolute; z-index: 500; top: 14px; inset-inline: 70px 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; pointer-events: none; }
.map-tools > * { pointer-events: auto; }
.map-fab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .86rem; box-shadow: var(--sh-3); transition: transform .2s var(--spring), background-color .2s, color .2s; }
.map-fab .ic { width: 18px; height: 18px; color: var(--accent); }
.map-fab:active { transform: scale(.96); }
.map-draw-toggle.is-on { background: var(--petrol); color: var(--on-dark); border-color: var(--petrol); }
.map-draw-toggle.is-on .ic { color: var(--gold-bright); }
.map-search-area { background: var(--petrol); color: var(--on-dark); border-color: var(--petrol); animation: rise .3s var(--ease); }
.map-search-area .ic { color: var(--gold-bright); }
.map-fab--dark { position: absolute; z-index: 500; background: var(--petrol); color: var(--on-dark); border-color: var(--petrol); }
.map-fab--dark .ic { color: var(--on-dark); }
.map-round { position: absolute; z-index: 500; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--card); color: var(--accent); box-shadow: var(--sh-3); top: 14px; right: 14px; }
.map-round.is-loading .ic { animation: spin 1s linear infinite; }
.map-back { display: none; }
.map-msg { position: absolute; z-index: 500; inset-inline: 16px; top: 50%; transform: translateY(-50%); background: var(--card); padding: 16px; border-radius: var(--r-sm); box-shadow: var(--sh-3); text-align: center; color: var(--ink-2); font-weight: 600; }
.carousel { display: none; }
.drawbar { position: absolute; z-index: 600; inset-inline: 12px; bottom: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: 14px 16px; box-shadow: var(--sh-4); display: flex; flex-direction: column; gap: 8px; animation: rise .3s var(--ease); max-width: 560px; margin-inline: auto; }
.drawbar__top { display: flex; align-items: center; gap: 10px; }
.drawbar__top b { font-size: 1rem; }
.drawbar__count { font-family: Estedad, sans-serif; font-size: .8rem; padding: 1px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
.drawbar__cancel { margin-inline-start: auto; }
.drawbar__hint { font-size: .84rem; color: var(--muted); }
.drawbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drawbar__search { flex: 1 1 100%; }
.drawbar__undo, .drawbar__clear { flex: 1 1 0; padding: 0 10px; font-size: .8rem; }
.mapview.is-drawing .leaflet-container { cursor: crosshair; }
.mapview.is-drawing .map-near, .mapview.is-drawing .map-back { display: none !important; }

.mpin-wrap { background: none; border: 0; }
.mpin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 4px)); white-space: nowrap; font-family: Vazirmatn, sans-serif; direction: rtl; cursor: pointer; }
.mpin__label { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill); background: #fbf8f2; color: #0d2a35; font-weight: 700; font-size: 13px; line-height: 1.4; box-shadow: 0 0 0 1px rgb(13 42 53 / .14), 0 8px 16px -6px rgb(2 44 59 / .5); transition: transform .2s var(--spring), background-color .2s, color .2s; }
.mpin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fbf8f2; transform: translateX(-50%) rotate(45deg); box-shadow: 2px 2px 3px rgb(13 42 53 / .15); border-radius: 2px; z-index: -1; transition: background-color .2s; }
.mpin.is-hover .mpin__label, .mpin:hover .mpin__label { transform: scale(1.08); }
.mpin.is-active .mpin__label { background: #033b4f; color: #f6f2ea; transform: scale(1.12); }
.mpin.is-active::after { background: #033b4f; }
.mpin-me { width: 22px; height: 22px; border-radius: 50%; background: #b9730e; border: 4px solid #fff; box-shadow: 0 0 0 7px rgb(185 115 14 / .25), 0 4px 10px rgb(0 0 0 / .3); }
.leaflet-container { font-family: Vazirmatn, sans-serif; background: var(--paper-2); }
.leaflet-control-attribution { font-size: 10px !important; border-radius: 8px 0 0 0; }
.leaflet-bar { border: 0 !important; box-shadow: var(--sh-3) !important; border-radius: 16px !important; overflow: hidden; }
.leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--ink) !important; background: var(--card) !important; border-color: var(--line) !important; }
.map-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-4); background: var(--card); color: var(--ink); }
.map-popup .leaflet-popup-content { margin: 0; width: auto !important; direction: rtl; font-size: 14px; line-height: 1.7; }
.map-popup .leaflet-popup-tip { background: var(--card); }
.map-card { display: flex; flex-direction: column; color: var(--ink) !important; width: 260px; }
.map-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.map-card__media img { width: 100%; height: 100%; object-fit: cover; }
.map-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 14px; }
.map-card__title { font-weight: 700; font-size: 1rem; }
.map-card__meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.map-card__price { font-weight: 700; font-size: .86rem; color: var(--accent); }
.ccard { flex: none; width: 82%; max-width: 340px; scroll-snap-align: center; display: flex; gap: 12px; align-items: stretch; background: var(--card); color: var(--ink); border-radius: 24px 24px 24px 8px; padding: 8px; box-shadow: var(--sh-4); border: 2px solid transparent; transition: border-color .2s; }
.ccard.is-active { border-color: var(--accent); }
.ccard__media { width: 88px; height: 88px; border-radius: 18px 18px 18px 6px; flex: none; overflow: hidden; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.ccard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; justify-content: center; }
.ccard__title { font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; min-width: 0; }
.ccard__meta .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__price { font-weight: 700; font-size: .84rem; color: var(--accent); }

/* ---------- داستان، چطور، آرایشگاه‌دار ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 24px; }
.story__media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 380px; }
.story__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-2); }
.story__img--a { grid-row: 1 / 3; border-radius: 999px 999px var(--r) var(--r); }
.story__img--b { border-radius: var(--r) var(--r) var(--r) 6px; }
.story__img--c { border-radius: var(--r) 6px var(--r) var(--r); }
.story__media .stamp { left: -6px; bottom: -22px; width: 112px; height: 112px; }
.story__copy { display: flex; flex-direction: column; gap: 18px; }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.fact { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fact b { display: block; font-weight: 600; }
.fact small { color: var(--muted); font-size: .84rem; }
.fact__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); flex: none; }
.how { padding-block: 72px 16px; }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.how__step { display: grid; grid-template-columns: 74px 1fr; column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.how__num { grid-row: 1 / 3; font-family: Estedad, sans-serif; font-weight: 200; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.how__step h3 { font-size: 1.1rem; font-weight: 600; }
.how__step p { color: var(--muted); font-size: .9rem; grid-column: 2; }
.owner { margin-top: 72px; }
.owner__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 14px; background: radial-gradient(70% 90% at 100% 0%, #0a5068, transparent 60%), var(--petrol); color: var(--on-dark); padding: 36px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; box-shadow: var(--sh-4); }
@media (prefers-color-scheme: dark) { .owner__card { background: radial-gradient(70% 90% at 100% 0%, #063a4b, transparent 60%), #011820; border: 1px solid var(--line); } }
.owner__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.owner__title { color: var(--on-dark); }
.owner__title .gold, .owner__title .gold-dot { color: var(--gold-bright); }
.owner__sub { color: var(--on-dark-2); font-size: .98rem; max-width: 48ch; line-height: 2; }
.owner__benefits { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 14px; }
.owner__benefit { display: flex; gap: 14px; align-items: flex-start; }
.owner__benefit b { display: block; font-weight: 600; }
.owner__benefit small { color: var(--on-dark-2); font-size: .85rem; }
.owner__benefit-icon { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid rgb(246 242 234 / .25); color: var(--gold-bright); }
.owner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.owner__media { position: relative; z-index: 1; min-height: 260px; }
.owner__img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); }
.owner__badge { position: absolute; left: 12px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: var(--sh-4); font-size: .8rem; max-width: 86%; }
.owner__badge .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--ok-50); color: var(--ok); stroke-width: 2.4; }
.owner__badge b { display: block; font-weight: 700; }
.owner__badge small { color: var(--muted); }

/* ================= صفحهٔ شخصی آرایشگاه ================= */
.site { position: relative; }
.site-nav { position: fixed; inset-inline: 0; top: 0; z-index: 60; padding-top: 12px; pointer-events: none; }
.site-nav__wrap { display: flex; flex-direction: column; align-items: stretch; gap: 6px; pointer-events: auto; }
.site-nav__pill { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 10px; border-radius: var(--r-pill); background: rgb(2 38 51 / .88); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border: 1px solid rgb(246 242 234 / .14); color: var(--on-dark); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .6); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; padding: 0; min-width: 0; text-align: start; }
.site-logo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; font-family: Estedad, sans-serif; font-weight: 700; font-size: 1.15rem; overflow: hidden; }
.site-logo--img { background: var(--paper); }
.site-logo--img img { width: 100%; height: 100%; object-fit: cover; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.site-brand__text b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-brand__text small { font-size: .72rem; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-links { display: none; gap: 2px; margin-inline: auto; }
.site-links__a { background: none; border: 0; color: var(--on-dark-2); font-size: .88rem; padding: 8px 12px; border-radius: var(--r-pill); min-height: 40px; transition: color .2s; }
.site-links__a:hover { color: #fff; }
.site-nav__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex: none; }
.site-nav__call { background: rgb(246 242 234 / .1); color: var(--on-dark); border-color: rgb(246 242 234 / .2); }
.site-nav__book { padding: 0 14px; }
.site-nav__book .ic { display: none; }
.shero__top { position: absolute; top: 86px; inset-inline: 0; z-index: 4; }
.site-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--on-dark-2); padding: 3px 12px; border-radius: var(--r-pill); background: rgb(2 30 41 / .4); backdrop-filter: blur(8px); transition: color .2s; min-height: 30px; }
.site-back .ic { width: 13px; height: 13px; }
.site-back:hover { color: #fff; }

.shero { position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--on-dark); border-radius: 0 0 var(--r-xl) 0; background: var(--petrol-2); }
.shero--skel { min-height: 70svh; }
.shero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; z-index: -2; animation: zoom 1.6s var(--ease) both; }
.shero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(1 22 30 / .92) 0%, rgb(1 22 30 / .5) 45%, rgb(1 22 30 / .25) 100%), linear-gradient(270deg, rgb(1 22 30 / .5), transparent 70%); }
.shero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 16px; padding-block: 140px 64px; }
.shero__title { color: var(--on-dark); overflow-wrap: anywhere; }
.shero__title .accent-dot { color: var(--gold-bright); }
.site[style*="--accent"] .shero__title .accent-dot { color: var(--accent); filter: brightness(1.5); }
.shero__tagline { color: var(--on-dark-2); font-size: 1.05rem; max-width: 46ch; }
.shero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.shero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 80px 40px; }
.about__media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about__arch { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--petrol); box-shadow: var(--sh-4); }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.about__cap { position: absolute; inset-inline: 14px; bottom: 14px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 18px; background: rgb(2 30 41 / .7); backdrop-filter: blur(10px); color: var(--on-dark); font-size: .88rem; line-height: 1.8; }
.about__cap .ic { width: 18px; height: 18px; color: var(--gold-bright); margin-top: 4px; }
.about__media .stamp { left: -10px; bottom: 76px; width: 96px; height: 96px; }
.about__media .stamp .stamp__n { font-size: 1.9rem; }
@media (min-width: 768px) { .about__media .stamp { left: -40px; width: 124px; height: 124px; } .about__media .stamp .stamp__n { font-size: 2.4rem; } }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.about__facts li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about__facts li:nth-child(odd) { padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
.about__facts li:nth-child(even) { padding-inline-start: 18px; }
.about__facts b { font-family: Estedad, sans-serif; font-weight: 300; font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.about__facts small { color: var(--muted); font-size: .8rem; }
.about__facts .fact--sm b { font-size: 1.15rem; padding-block: 8px 4px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.dark-sec { position: relative; overflow: hidden; isolation: isolate; background: var(--petrol); color: var(--on-dark); padding-block: 72px; }
@media (prefers-color-scheme: dark) { .dark-sec { background: #011820; } }
.dark-sec .display { color: var(--on-dark); }
.dark-sec .accent, .dark-sec .accent-dot { color: var(--gold-bright); }
.site[style*="--accent"] .dark-sec .accent, .site[style*="--accent"] .dark-sec .accent-dot { color: var(--accent); filter: brightness(1.6) saturate(.9); }
.dark-sec > .container { position: relative; z-index: 1; }
.services-sec { border-radius: var(--r-xl) 0 var(--r-xl) var(--r-xl); margin-inline: 8px; }
.pricelist { display: grid; grid-template-columns: 1fr; gap: 32px 56px; }
.pricelist__cat { font-size: .82rem; color: var(--gold-bright); font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.pricelist ul { list-style: none; margin: 0; padding: 0; }
.pricelist__row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgb(246 242 234 / .12); }
.pricelist__name { display: flex; flex-direction: column; min-width: 0; }
.pricelist__name b { font-weight: 500; font-size: 1.04rem; }
.pricelist__name small { color: var(--on-dark-2); font-size: .78rem; }
.pricelist__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgb(246 242 234 / .3); transform: translateY(6px); }
.pricelist__price { font-family: Estedad, sans-serif; font-weight: 400; white-space: nowrap; font-size: .98rem; }
.pricelist__add { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(246 242 234 / .3); background: transparent; color: var(--on-dark); display: grid; place-items: center; flex: none; transition: all .2s var(--spring); }
.pricelist__add .ic { width: 16px; height: 16px; }
.pricelist__add:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.pricelist__add.is-on { background: var(--gold-bright); border-color: var(--gold-bright); color: #1d1404; }

.booking-sec { position: relative; padding-block: 80px 40px; scroll-margin-top: 80px; }
.booking-sec > .container { position: relative; z-index: 1; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.booking-side { min-width: 0; }

.gallery-sec, .team-sec, .reviews-sec { padding-block: 72px 16px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 1; background: var(--paper-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--lg { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px; }
.gallery__note { margin-top: 12px; }
.team { display: grid; grid-template-columns: 1fr; gap: 16px; }
.member { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.member__photo { width: 96px; height: 120px; flex: none; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--petrol); display: grid; place-items: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__mono { font-family: Estedad, sans-serif; font-size: 2rem; color: var(--on-dark); font-weight: 600; }
.member__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; align-items: flex-start; }
.member__body h3 { font-size: 1.1rem; font-weight: 600; }
.member__title { color: var(--accent); font-size: .84rem; }
.member__bio { color: var(--muted); font-size: .86rem; }
.reviews { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; border-radius: var(--r-xl) var(--r-xl) 12px var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.reviews__score { display: flex; flex-direction: column; gap: 10px; }
.reviews__big { font-family: Estedad, sans-serif; font-weight: 200; font-size: 4.6rem; line-height: 1.1; color: var(--ink); }
.reviews__of { font-size: 1rem; color: var(--muted); margin-inline-start: 8px; font-weight: 400; }
.reviews__stars { display: flex; gap: 4px; direction: ltr; justify-content: flex-end; }
.reviews__stars .ic, .recent__stars .ic { width: 20px; height: 20px; color: var(--cream); fill: currentColor; stroke: none; }
.reviews__stars .ic.on, .recent__stars .ic.on { color: var(--accent); }
.reviews__list { display: flex; flex-direction: column; gap: 18px; }
.dist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dist li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-family: Estedad, sans-serif; }
.dist .ic { width: 14px; height: 14px; color: var(--accent); fill: currentColor; stroke: none; }
.dist__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.dist__bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.dist__n { width: 28px; text-align: left; color: var(--muted); }
.recent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recent li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 16px; background: var(--paper); }
.recent__stars { display: flex; gap: 2px; direction: ltr; justify-content: flex-end; }
.recent__stars .ic { width: 14px; height: 14px; }
.visually-strong { display: flex; align-items: baseline; }
.reviews__empty { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--paper); color: var(--ink-2); font-size: .92rem; }
.reviews__empty .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }

.contact-sec { margin-top: 72px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.contact__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact__addr { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-2); }
.contact__addr .ic { color: var(--gold-bright); margin-top: 5px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__h { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.contact .hours__row { color: var(--on-dark); }
.contact .hours__row.is-today { background: rgb(246 242 234 / .08); }
.contact .hours__day { color: var(--on-dark-2); }
.contact .hours__time.is-closed { color: #f3a08f; }
.contact .tag--accent { background: rgb(233 164 65 / .18); color: var(--gold-bright); }
.bullets--light { color: var(--on-dark-2); margin-top: 18px; }
.contact .minimap { border-color: rgb(246 242 234 / .15); }
.site-foot { background: var(--petrol-2); color: var(--on-dark-2); padding-block: 26px calc(26px + var(--safe-b)); border-top: 1px solid rgb(246 242 234 / .08); }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-foot__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.site-foot__brand .site-logo { width: 36px; height: 36px; font-size: .95rem; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; }
.site-foot__links a { color: var(--on-dark-2); min-height: 32px; display: inline-flex; align-items: center; }
.site-foot__links a:hover { color: #fff; }
.float-book { position: fixed; z-index: 55; left: 16px; bottom: calc(16px + var(--safe-b)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 22px; border-radius: var(--r-pill); border: 0; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 18px 32px -14px rgb(0 0 0 / .55); animation: rise .3s var(--ease); }
@media (prefers-color-scheme: dark) { .float-book { color: #1d1404; } }

/* ---------- فرم رزرو ---------- */
.booking { padding: 22px 16px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 12px; }
.booking__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.booking__title { font-size: 1.2rem; font-weight: 600; }
.progress__label { font-size: .78rem; color: var(--muted); font-weight: 600; font-family: Vazirmatn, sans-serif; }
.booking__msg:not(:empty) { margin-bottom: 14px; }
.stepper { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper__item { min-width: 0; }
.stepper__btn { width: 100%; display: flex; flex-direction: column; gap: 8px; background: none; border: 0; padding: 0; min-height: 44px; color: var(--faint); text-align: start; border-radius: 8px; }
.stepper__btn:disabled { cursor: default; }
.stepper__bar { display: block; height: 3px; border-radius: 3px; background: var(--cream); overflow: hidden; position: relative; }
.stepper__bar::after { content: ''; position: absolute; inset: 0; transform-origin: right; transform: scaleX(0); background: var(--accent); border-radius: inherit; transition: transform .45s var(--ease); }
.stepper__text { display: flex; align-items: center; gap: 5px; min-width: 0; }
.stepper__dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 700; border: 1px solid var(--line-2); color: var(--muted); flex: none; font-family: Estedad, sans-serif; }
.stepper__dot .ic { width: 12px; height: 12px; stroke-width: 3; }
.stepper__label { font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-done .stepper__bar::after, .is-current .stepper__bar::after { transform: scaleX(1); }
.is-done .stepper__btn { color: var(--ink-2); cursor: pointer; }
.is-done .stepper__btn:hover .stepper__label { color: var(--accent); }
.is-done .stepper__dot { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.is-current .stepper__btn { color: var(--ink); }
.is-current .stepper__dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.booking__body { animation: rise .3s var(--ease); }
.step__head { margin-bottom: 18px; }
.step__title { font-size: 1.15rem; font-weight: 600; }
.step__sub { color: var(--muted); font-size: .86rem; }
.note-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); padding: 8px 14px; border-radius: var(--r-sm); font-size: .85rem; margin-bottom: 12px; }
.note-chip .ic { width: 16px; height: 16px; }
.svc-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.svc-group__title { font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.svc-group__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.svc { display: flex; align-items: center; gap: 14px; text-align: start; width: 100%; padding: 14px 16px; min-height: 70px; background: var(--card-2); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .12s; }
.svc:hover:not(:disabled) { border-color: var(--line-2); box-shadow: var(--sh-1); }
.svc:active:not(:disabled) { transform: scale(.99); }
.svc.is-on { border-color: var(--accent); background: var(--accent-soft); }
.svc:disabled { opacity: .5; }
.svc__check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; color: transparent; transition: all .2s var(--spring); }
.svc__check .ic { width: 14px; height: 14px; stroke-width: 3; }
.svc.is-on .svc__check { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc__main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.svc__name { font-weight: 600; overflow-wrap: anywhere; }
.svc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .8rem; }
.svc__price { font-weight: 600; font-size: .92rem; white-space: nowrap; text-align: left; font-family: Estedad, sans-serif; }
.staff-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.staff-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 10px 16px; min-height: 150px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r); transition: all .2s var(--ease); }
.staff-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.staff-opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.staff-opt .avatar { width: 62px; height: 62px; }
.staff-opt__name { font-weight: 600; font-size: .94rem; }
.staff-opt__sub { font-size: .78rem; color: var(--muted); }
.staff-opt__tick { position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--spring); }
.staff-opt__tick .ic { width: 13px; height: 13px; stroke-width: 3; }
.staff-opt.is-on .staff-opt__tick { transform: scale(1); }
.days-wrap { margin-inline: -16px; position: relative; }
.days { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 4px 16px 12px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 76px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px 999px 22px 22px; line-height: 1.45; transition: all .2s var(--ease); }
.day:hover:not(:disabled):not(.is-on) { border-color: var(--line-2); transform: translateY(-2px); }
.day__wd { font-size: .7rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.day__num { font-family: Estedad, sans-serif; font-size: 1.55rem; font-weight: 300; line-height: 1.3; }
.day__mon { font-size: .7rem; color: var(--ink-2); }
.day__free { font-size: .64rem; color: var(--ok); font-weight: 700; margin-top: 3px; }
.day:disabled { opacity: .45; background: transparent; border-style: dashed; }
.day:disabled .day__free { color: var(--muted); }
.day.is-on { background: var(--petrol); border-color: var(--petrol); color: var(--on-dark); box-shadow: 0 16px 28px -16px rgb(2 44 59 / .8); }
@media (prefers-color-scheme: dark) { .day.is-on { background: var(--gold); border-color: var(--gold); color: #1d1404; } .day.is-on .day__wd, .day.is-on .day__mon, .day.is-on .day__free { color: #3b2a08 !important; } }
.day.is-on .day__wd, .day.is-on .day__mon { color: var(--on-dark-2); }
.day.is-on .day__free { color: var(--gold-bright); }
.slots { margin-top: 12px; min-height: 120px; }
.slots__skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.slots__group { margin-bottom: 18px; }
.slots__title { font-size: .84rem; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.slots__title .ic { width: 18px; height: 18px; color: var(--accent); }
.slots__title small { color: var(--muted); font-weight: 500; margin-inline-start: auto; font-size: .76rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card-2); font-weight: 500; font-size: 1rem; font-family: Estedad, sans-serif; font-variant-numeric: tabular-nums; transition: all .18s var(--ease); }
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot:active { transform: scale(.96); }
.slot.is-on { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.details { display: flex; flex-direction: column; gap: 14px; }
.codebox { display: flex; flex-direction: column; gap: 8px; align-items: stretch; padding: 16px; border-radius: 20px; background: var(--accent-soft); animation: rise .25s var(--ease); }
.codebox .link-btn { align-self: flex-start; font-size: .82rem; }
.pay-salon { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 20px; background: var(--paper-2); margin-bottom: 16px; border: 1px dashed var(--line-2); }
.pay-salon .ic { width: 28px; height: 28px; color: var(--accent); }
.pay-salon b { display: block; }
.pay-salon small { color: var(--muted); }
.summary { margin: 0 0 16px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card-2); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: .9rem; }
.summary__row + .summary__row { border-top: 1px solid var(--line); }
.summary__row dt { color: var(--muted); flex: none; }
.summary__row dd { margin: 0; text-align: left; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.summary__row--strong { background: var(--paper); }
.summary__row--strong dd { font-size: 1.05rem; font-weight: 700; color: var(--accent); font-family: Estedad, sans-serif; }
.summary__row--code dd { font-family: ui-monospace, monospace; letter-spacing: .14em; direction: ltr; }
.pay-opts { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.pay-opts legend { margin-bottom: 8px; padding: 0; }
.pay-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; cursor: pointer; border: 1px solid var(--line); border-radius: 20px; background: var(--card-2); transition: border-color .2s, background-color .2s; }
.pay-opt:hover { border-color: var(--line-2); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt__radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.pay-opt__main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pay-opt__main small { color: var(--muted); font-size: .78rem; }
.pay-opt__amount { font-weight: 700; white-space: nowrap; font-family: Estedad, sans-serif; }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pay-opt:has(input:checked) .pay-opt__radio { border-color: var(--accent); }
.pay-opt:has(input:checked) .pay-opt__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pop .25s var(--spring); }
.pay-opt:has(input:focus-visible) { box-shadow: var(--ring); }
.booking__body > .field { margin-bottom: 14px; }
.booking__body > .alert { margin-bottom: 12px; }
.booking__body > .fineprint { margin-bottom: 8px; }
.inline-login { margin-top: 18px; padding: 20px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }

.sumcard { display: contents; }
.sumcard__head, .sumcard__body { display: none; }
.bookbar { position: fixed; inset-inline: 10px; bottom: calc(10px + var(--safe-b)); z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; padding-inline-start: 20px; background: var(--petrol-2); color: var(--on-dark); border-radius: var(--r-pill); box-shadow: var(--sh-4); }
.site.booking-visible:not(.booked) .bookbar { display: flex; }
.bookbar__summary { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.bookbar__count { font-size: .74rem; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar__total { font-size: 1rem; white-space: nowrap; font-family: Estedad, sans-serif; font-weight: 500; }
.bookbar__actions { display: flex; gap: 8px; flex: none; }
.bookbar__back { padding: 0 12px; color: var(--on-dark); border-color: rgb(246 242 234 / .3); }
.bookbar__back-text { display: none; }
.bookbar__next { min-width: 120px; }
.bookbar .btn--accent:disabled { background: rgb(246 242 234 / .12); color: rgb(246 242 234 / .45); }
.sumcard__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 8px; color: var(--muted); font-size: .86rem; }
.sumcard__empty .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); box-sizing: content-box; }
.sumcard__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sumcard__lines li { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.sumcard__lines li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.sumcard__lines small { color: var(--muted); font-size: .76rem; }
.sumcard__price { font-weight: 600; white-space: nowrap; font-family: Estedad, sans-serif; }
.sumcard__facts { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.sumcard__facts div { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; }
.sumcard__facts dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.sumcard__facts dt .ic { width: 16px; height: 16px; }
.sumcard__facts dd { margin: 0; font-weight: 600; text-align: left; }
.sumcard__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sumcard__total span { font-weight: 600; color: var(--ink-2); }
.sumcard__total b { font-family: Estedad, sans-serif; font-size: 1.25rem; font-weight: 500; }
.sumcard__deposit { display: flex; justify-content: space-between; margin-top: 8px; font-size: .84rem; color: var(--accent); background: var(--accent-soft); padding: 8px 14px; border-radius: var(--r-pill); }

.success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 0; }
.success .summary { width: 100%; margin-top: 12px; text-align: start; }
.success__icon { position: relative; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-50); color: var(--ok); animation: pop .45s var(--spring); }
.success__icon::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid currentColor; opacity: .25; }
.success__icon .ic { width: 38px; height: 38px; stroke-width: 2.2; }
.success__icon--warn { background: var(--warn-50); color: var(--warn); }
.success__icon--error { background: var(--danger-50); color: var(--danger); }
.success__title { font-size: 1.5rem; font-weight: 600; }
.success__sub { color: var(--muted); font-size: .92rem; max-width: 40ch; }
.success__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.success--sm .success__icon { width: 60px; height: 60px; }

.info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.info__title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 600; }
.info__title .ic { color: var(--accent); width: 20px; height: 20px; }
.info__text { color: var(--ink-2); font-size: .9rem; white-space: pre-line; }
.hours { list-style: none; padding: 0; margin: 0; width: 100%; }
.hours__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; font-size: .9rem; }
.hours__row.is-today { background: var(--accent-soft); font-weight: 700; }
.hours__day { color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hours__time { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; text-align: left; font-variant-numeric: tabular-nums; }
.hours__time span { white-space: nowrap; }
.hours__time.is-closed { color: var(--danger); font-weight: 600; }
.bullets { margin: 0; padding-inline-start: 20px; color: var(--ink-2); font-size: .88rem; display: flex; flex-direction: column; gap: 6px; }
.bullets li::marker { color: var(--gold-bright); }
.minimap { width: 100%; height: 200px; border-radius: var(--r); overflow: hidden; direction: ltr; background: var(--paper-2); border: 1px solid var(--line); position: relative; z-index: 0; }

/* ---------- صفحه‌های حساب ---------- */
.page-intro { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.login { display: flex; flex-direction: column; gap: 18px; }
.login__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.login__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: var(--gold-bright); margin-bottom: 6px; }
.login__icon .ic { width: 28px; height: 28px; }
.login__title { font-size: 1.35rem; font-weight: 600; }
.login__sub { color: var(--muted); font-size: .88rem; }
.login__form { display: flex; flex-direction: column; gap: 12px; }
.login__resend { text-align: center; font-size: .85rem; }
.page--narrow > .card:has(> .login) { padding: 30px 22px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 14px; }
.page__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.page__title { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 450; letter-spacing: -.02em; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border: 1px solid var(--line); padding: 4px; border-radius: var(--r-pill); margin-bottom: 20px; }
.tabs__btn { min-height: 44px; border: 0; background: transparent; border-radius: var(--r-pill); font-weight: 600; color: var(--muted); transition: all .2s; }
.tabs__btn[aria-selected="true"] { background: var(--petrol); color: var(--on-dark); }
@media (prefers-color-scheme: dark) { .tabs__btn[aria-selected="true"] { background: var(--gold); color: #1d1404; } }
.appt-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.appt { display: flex; flex-direction: column; gap: 10px; padding: 18px; color: inherit; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 10px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; animation: rise .35s var(--ease) both; }
.appt:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--sh-3); }
.appt__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.appt__salon { display: flex; align-items: center; gap: 10px; min-width: 0; }
.appt__salon b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.appt__when { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; background: var(--paper); padding: 9px 14px; border-radius: var(--r-pill); }
.appt__when .ic { color: var(--accent); width: 18px; height: 18px; }
.appt__services { color: var(--ink-2); font-size: .86rem; }
.appt__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .86rem; padding-top: 10px; border-top: 1px solid var(--line); }
.appt__foot b { font-family: Estedad, sans-serif; font-weight: 500; }
.appt__cta { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: .84rem; font-weight: 600; }
.appt__cta .ic { width: 16px; height: 16px; }
.appt__cta--warn { background: var(--warn-50); color: var(--warn); }
.page__head--back .icon-btn { flex: none; }
.appt-detail { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 12px; }
.appt-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.appt-detail__salon { font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.appt-detail__when { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.appt-detail__when .ic { width: 18px; height: 18px; color: var(--accent); }
.appt-detail__code { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-radius: var(--r-pill); background: var(--paper); border: 1px dashed var(--line-2); font-size: .88rem; color: var(--muted); }
.appt-detail__code b { color: var(--ink); font-size: 1.15rem; letter-spacing: .16em; font-family: ui-monospace, monospace; }
.appt-detail .summary { margin: 0; }
.svc-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.svc-lines li > span:first-child { display: flex; flex-direction: column; }
.svc-lines small { color: var(--muted); font-size: .78rem; }
.pay-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.pay-box p { font-size: .9rem; color: var(--ink-2); }
.pay-box p .ic { width: 18px; height: 18px; vertical-align: -4px; color: var(--warn); }
.page--narrow > .alert, .page--narrow > .card, .page--narrow > .info { margin-bottom: 16px; }
.danger-zone { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 8px; }
.review { margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.review__form { display: flex; flex-direction: column; gap: 14px; }
.stars-input { display: flex; justify-content: center; gap: 4px; }
.star-btn { width: 54px; height: 54px; border: 0; background: none; color: var(--cream); border-radius: 14px; display: grid; place-items: center; transition: transform .2s var(--spring), color .2s; }
.star-btn .ic { width: 40px; height: 40px; }
.star-btn:hover { transform: scale(1.1); }
.star-btn.is-on { color: var(--accent); }
.review__caption { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: -6px; }
.reasons { display: flex; flex-direction: column; gap: 8px; }
.reasons:empty { display: none; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.page--narrow > .card + .card, .page--narrow > .card + .btn, .page--narrow > nav + .btn { margin-top: 16px; }
.menu-list { display: flex; flex-direction: column; overflow: hidden; }
.menu-list__item { display: flex; align-items: center; gap: 12px; padding: 14px 20px; min-height: 56px; color: var(--ink); font-weight: 500; transition: background-color .2s; }
.menu-list__item:hover { background: var(--paper); }
.menu-list__item + .menu-list__item { border-top: 1px solid var(--line); }
.menu-list__item .ic { color: var(--accent); }
.menu-list__item span { flex: 1; }
.menu-list__chev { color: var(--faint) !important; width: 18px; height: 18px; }
.result { margin-top: 8px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 12px; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.credit { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.credit__img { width: 120px; height: 84px; object-fit: cover; border-radius: 16px; flex: none; }
.credit__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .84rem; }
.credit__title { font-weight: 600; overflow-wrap: anywhere; direction: ltr; text-align: right; }
.credit__meta { color: var(--muted); }

/* ---------- نقشهٔ تمام‌صفحه در موبایل/تبلت ---------- */
@media (max-width: 1023px) {
  body.map-open { overflow: hidden; }
  body.map-open .topbar { position: fixed; inset-inline: 0; }
  .results.is-map .mapview { display: block; position: fixed; z-index: 40; inset: 0; animation: fade .2s; }
  .results.is-map .map-tools { top: 88px; inset-inline: 70px 14px; }
  .results.is-map .map-round { top: 88px; }
  .results.is-map .map-back { display: inline-flex; bottom: calc(var(--tabbar-h) + 140px + var(--safe-b)); left: 50%; transform: translateX(-50%); }
  .results.is-map .map-back:active { transform: translateX(-50%) scale(.96); }
  .results.is-map .carousel { display: flex; position: absolute; z-index: 500; inset-inline: 0; bottom: calc(var(--tabbar-h) + 24px + var(--safe-b)); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px; scrollbar-width: none; }
  .results.is-map .carousel::-webkit-scrollbar { display: none; }
  .results.is-map .drawbar { bottom: calc(var(--tabbar-h) + 24px + var(--safe-b)); }
  .results.is-map .leaflet-bottom.leaflet-left { bottom: calc(var(--tabbar-h) + 130px); }
}

/* ---------- عرض‌های بزرگ‌تر ---------- */
@media (max-width: 559px) {
  .stepper { display: flex; }
  .stepper__item { flex: 1; }
  .stepper__item.is-current { flex: 2.6; }
  .stepper__item:not(.is-current) .stepper__label { display: none; }
  .stepper__text { justify-content: flex-start; }
}
@media (min-width: 420px) {
  .owner-btn__long { display: inline; }
  .owner-btn__short { display: none; }
}
@media (min-width: 560px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .backdrop { align-items: center; }
  .dialog__actions { flex-direction: row-reverse; justify-content: flex-start; }
  .dialog__actions .btn { flex: 1; }
  .searchbar { grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) auto; align-items: center; border-radius: var(--r-pill); padding: 6px; padding-inline-start: 10px; }
  .searchbar__field { border-radius: var(--r-pill); padding: 4px 16px; }
  .searchbar__divider { width: 1px; height: 34px; margin: 0; }
  .searchbar__btn { margin: 0; padding: 0 26px; }
  .lhero__map { display: inline-flex; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .credits { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery__item--lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .drawbar__search { flex: 1 1 auto; }
  .drawbar__undo, .drawbar__clear { flex: 0 0 auto; padding: 0 14px; }
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .account-btn { display: inline-flex; }
  .toast { bottom: 28px; }
  .container { padding-inline: 28px; }
  .page { padding-block: 40px 64px; }
  .card--pad { padding: 28px; }
  .booking { padding: 28px; }
  .days-wrap { margin-inline: -28px; }
  .days { padding-inline: 28px; }
  .appt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lhero__inner { padding-block: 150px 90px; }
  .lhero__sub { font-size: 1.08rem; }
  .owner__card { padding: 56px 48px; }
  .bookbar__back-text { display: inline; }
  .site-links { display: flex; }
  .site-nav__book .ic { display: inline-block; }
  .shero__inner { padding-block: 180px 90px; }
  .reviews { grid-template-columns: 1fr 1.4fr; padding: 44px; align-items: center; }
  .pricelist { grid-template-columns: 1fr 1fr; }
  .how__steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 0; }
  .how__step { border-top: 1px solid var(--line); border-bottom: 0; }
  .services-sec { margin-inline: 16px; }
  .contact-sec { margin-inline: 16px; }
  .frame { inset: 26px; }
}
@media (min-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats__label { display: inline; }
  .pills { margin-inline: 0; padding-inline: 0; }
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding-block: 110px 40px; }
  .story__media { height: 520px; }
  .how__steps { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .how__step { grid-template-columns: 1fr; row-gap: 8px; padding: 26px 0; }
  .how__num { grid-row: auto; font-size: 3.2rem; margin-bottom: 8px; }
  .how__step p { grid-column: auto; }
  .owner__card { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; padding: 72px 64px; }
  .owner__media { min-height: 100%; }
  .owner__img { position: absolute; inset: 0; min-height: 0; }

  .results.is-map .results__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
  .results.is-map .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results.is-map .mapview { display: block; position: sticky; top: 96px; height: calc(100vh - 112px); min-height: 520px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 14px; border: 1px solid var(--line); box-shadow: var(--sh-3); }
  .results.is-map .map-round { right: auto; left: 14px; }
  .results.is-map .map-tools { inset-inline: 14px 70px; }
  .results.is-map .drawbar { bottom: auto; top: 70px; inset-inline: 14px; }

  .about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; padding-block: 120px 60px; }
  .about__media { order: 2; }
  .about__copy { order: 1; }
  .booking-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
  .booking-side { position: sticky; top: 100px; }
  .sumcard { display: block; background: var(--petrol); color: var(--on-dark); border-radius: var(--r-xl) var(--r-xl) 14px var(--r-xl); box-shadow: var(--sh-4); overflow: hidden; }
  @media (prefers-color-scheme: dark) { .sumcard { background: #011820; border: 1px solid var(--line); } }
  .sumcard__head { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 18px; border-bottom: 1px solid rgb(246 242 234 / .12); }
  .sumcard__head .kicker { color: var(--gold-bright); border-color: rgb(246 242 234 / .25); }
  .sumcard__head b { font-size: 1.35rem; font-weight: 450; }
  .sumcard__body { display: block; padding: 20px 26px; }
  .sumcard .sumcard__lines small, .sumcard .sumcard__facts dt, .sumcard .sumcard__empty { color: var(--on-dark-2); }
  .sumcard .sumcard__facts, .sumcard .sumcard__total { border-color: rgb(246 242 234 / .14); }
  .sumcard .sumcard__total span { color: var(--on-dark-2); }
  .sumcard .sumcard__deposit { background: rgb(233 164 65 / .16); color: var(--gold-bright); }
  .sumcard .sumcard__empty .ic { border-color: rgb(246 242 234 / .25); color: var(--gold-bright); }
  .bookbar { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 0 26px 26px; background: none; box-shadow: none; border-radius: 0; }
  .site.booked .bookbar { display: none; }
  .bookbar__summary { display: none; }
  .bookbar__actions { flex-direction: row-reverse; }
  .bookbar__next { flex: 1; }
  .float-book { display: none; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .member { flex-direction: column; align-items: stretch; text-align: start; padding: 10px 10px 18px; }
  .team--solo { grid-template-columns: minmax(0, 560px); }
  .team--solo .member { flex-direction: row; align-items: center; padding: 12px 12px 12px 28px; gap: 24px; }
  .team--solo .member__photo { width: 180px; height: 220px; }
  .member__photo { width: 100%; height: 300px; border-radius: 999px 999px var(--r) var(--r); }
  .member__body { padding: 4px 8px 0; }
  .contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; }
  .services-sec, .contact-sec { margin-inline: 24px; }
  .dark-sec { padding-block: 100px; }
}
@media (max-width: 359px) {
  .container { padding-inline: 12px; }
  .bookbar { inset-inline: 6px; gap: 8px; padding-inline-start: 14px; }
  .bookbar__next { min-width: 96px; padding: 0 14px; }
  .stepper__label { font-size: .7rem; }
  .booking { padding-inline: 12px; }
  .days-wrap { margin-inline: -12px; }
  .days { padding-inline: 12px; }
  .svc { padding: 12px; gap: 10px; }
  .pills { margin-inline: -12px; padding-inline: 12px; }
  .seg__btn { padding: 0 10px; }
  .seg--view .seg__btn span { display: none; }
  .owner__card { padding: 28px 16px; }
  .site-brand__text small { display: none; }
  .site-nav__book { padding: 0 12px; font-size: .8rem; }
  .topbar__inner { padding-inline: 10px 6px; gap: 8px; }
  .brand__sub { display: none; }
  .owner-btn { padding: 0 10px; }
  .frame { inset: 14px; }
  .arrow-btn { padding-inline-start: 18px; }
}
@media (prefers-color-scheme: dark) {
  .leaflet-tile-pane { filter: brightness(.72) saturate(.8) hue-rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .skel { animation: none; }
}

/* ================= صفحهٔ جست‌وجو، آرایشگاه‌های من، رضایت ================= */
.shead { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); background: radial-gradient(120% 140% at 85% 0%, var(--petrol-3), var(--petrol-2) 60%); border-radius: 0 0 0 var(--r-xl); }
.shead__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding-block: calc(var(--topbar-h) + 22px) 28px; }
.shead__title { color: var(--on-dark); }
.shead__title .gold, .shead__title .gold-dot { color: var(--gold-bright); }
.shead__sub { color: var(--on-dark-2); font-size: .95rem; line-height: 1.9; max-width: 56ch; }
.shead .searchbar { max-width: 860px; }
.shead__filters .seg--view { background: rgb(2 30 41 / .3); border-color: rgb(246 242 234 / .25); }
.shead__filters .seg--view .seg__btn { color: var(--on-dark-2); }
.shead__filters .seg--view .seg__btn[aria-pressed="true"] { background: var(--gold); color: #1d1404; }
.chip--draw .ic { width: 17px; height: 17px; }
.results--search { padding-top: 26px; }
.results__h { font-size: 1.15rem; font-weight: 700; }
.results--home .results__head { align-items: center; }

.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; color: inherit; }
.fav-btn .ic path { fill: none; stroke: currentColor; transition: fill .2s; }
.fav-btn[aria-pressed="true"] .ic path { fill: #e0475b; stroke: #e0475b; }
.fav-btn[aria-pressed="true"] { animation: heartpop .3s var(--ease); }
.fav-btn--on-media { position: absolute; top: 10px; left: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(246 242 234 / .92); color: var(--ink); box-shadow: var(--sh-2); }
.fav-btn--on-media .ic { width: 20px; height: 20px; }
.fav-btn--on-media:hover { transform: scale(1.06); }
.fav-btn--wide .ic { width: 20px; height: 20px; }
@keyframes heartpop { 50% { transform: scale(1.18); } }

.satisfy { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; font-size: .8rem; padding: 2px 10px; border-radius: var(--r-pill); background: var(--ok-50); color: var(--ok); }
.satisfy b { font-weight: 800; }
.satisfy.is-low { background: var(--warn-50); color: var(--warn); }
.satisfy--sm { font-size: .72rem; padding: 1px 8px; }
.shero__meta .satisfy { background: rgb(226 241 232 / .92); }
.reviews__satisfy { margin-top: 8px; color: var(--ok); }
.reviews__satisfy b { font-size: 1.3rem; }

.shelf { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.shelf[hidden] { display: none; }
.shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shelf__title { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 700; }
.shelf__title .ic { color: #e0475b; width: 20px; height: 20px; }
.shelf__title .ic path { fill: #e0475b; stroke: #e0475b; }
.shelf__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 10px; margin-inline: -18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.shelf__row::-webkit-scrollbar { display: none; }
.shelf__tip { margin-top: -4px; }
.shelf__guest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: .9rem; }
.shelf__guest > .ic { color: #e0475b; width: 22px; height: 22px; }
.shelf__guest p { flex: 1; min-width: 200px; }
.mini-card { flex: none; width: 240px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 8px; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 24px 24px 24px 8px; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.mini-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px 18px 18px 4px; background: var(--petrol); }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-card__body { display: flex; flex-direction: column; gap: 6px; padding: 2px 6px 6px; }
.mini-card__title { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mini-card__place { font-size: .78rem; }
.mini-card__badge { align-self: flex-start; font-size: .72rem; padding: 2px 10px; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-2); }
.mini-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--accent); font-weight: 700; font-size: .84rem; }
.mini-card__cta .ic { width: 16px; height: 16px; }

.review-nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border-radius: var(--r); color: var(--on-dark); background: linear-gradient(120deg, var(--petrol), var(--petrol-3)); box-shadow: var(--sh-3); }
.review-nudge__stars { display: inline-flex; gap: 2px; color: var(--gold-bright); }
.review-nudge__stars .ic { width: 16px; height: 16px; }
.review-nudge__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 180px; }
.review-nudge__text small { color: var(--on-dark-2); }
.page .shelf { margin-top: 0; margin-bottom: 22px; }
@media (min-width: 1024px) {
  .shead__inner { padding-block: calc(var(--topbar-h) + 34px) 36px; }
  .shelf__row { margin-inline: 0; padding-inline: 0; }
}
/* سربرگ جست‌وجو فشرده: نتیجه و نقشه زود دیده شوند */
.shead__title { font-size: clamp(1.45rem, 3.4vw, 2.3rem); }
.shead__inner { gap: 10px; padding-block: calc(var(--topbar-h) + 8px) 18px; }
.shead .searchbar { grid-template-columns: 1fr auto; margin-top: 2px; }
.shead .searchbar__field--q { grid-column: 1 / -1; }
.shead .searchbar__divider { grid-column: 1 / -1; }
.shead .searchbar__field { min-height: 50px; }
.shead .searchbar__btn { --h: 48px; margin-top: 0; align-self: center; }
.shead__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding: 2px 18px 4px; }
.shead__filters::-webkit-scrollbar { display: none; }
.shead__filters > * { flex: none; }
.shead + .shelf .shelf__guest { padding: 10px 14px; font-size: .84rem; }
@media (max-width: 600px) { .shead__sub { display: none; } }
@media (min-width: 1024px) {
  .shead__inner { padding-block: calc(var(--topbar-h) + 16px) 24px; }
  .shead .searchbar { grid-template-columns: 1.4fr auto 1fr auto; }
  .shead .searchbar__field--q { grid-column: auto; }
  .shead .searchbar__divider { grid-column: auto; width: 1px; height: auto; margin: 10px 0; }
  .shead__filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
}
.results--search .results__head { margin-bottom: 14px; }
.results--search .results__titles { flex-direction: row; align-items: baseline; gap: 12px; }
.shead ~ .cats { margin-top: 16px; }
.shead ~ .shelf { margin-top: 18px; }

/* ===================== فرم رزرو شیشه‌ای (پنجرهٔ روی صفحه) ===================== */
html.bmodal-open { overflow: hidden; }
.hero-book { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; font-size: 1.12rem; min-height: 62px; padding-inline: 30px 8px; box-shadow: 0 0 0 6px rgb(233 164 65 / .18), 0 22px 40px -18px rgb(0 0 0 / .6); animation: hero-pulse 2.6s var(--ease) infinite; }
.hero-book .arrow-btn__icon { background: #fff; color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .hero-book { color: #1d1404; } }
@keyframes hero-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(233 164 65 / .35), 0 22px 40px -18px rgb(0 0 0 / .6); } 50% { box-shadow: 0 0 0 10px rgb(233 164 65 / 0), 0 22px 40px -18px rgb(0 0 0 / .6); } }
@media (prefers-reduced-motion: reduce) { .hero-book { animation: none; } }

.bmodal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px;
  background: rgb(2 28 38 / .42); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  opacity: 0; transition: opacity .22s var(--ease);
}
.bmodal[hidden] { display: none; }
.bmodal.is-open { opacity: 1; }
.bmodal__panel {
  position: relative; width: min(1120px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: 22px 18px 0; border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgb(255 255 255 / .62), rgb(246 242 234 / .46));
  backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .6); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), var(--sh-4);
  transform: translateY(18px) scale(.985); transition: transform .26s var(--spring);
  outline: none;
}
.bmodal.is-open .bmodal__panel { transform: none; }
.bmodal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bmodal__title { margin: 8px 0 0; }
.bmodal__close { flex: none; background: rgb(255 255 255 / .55); border: 1px solid rgb(255 255 255 / .7); }
.bmodal .booking { background: rgb(255 255 255 / .5); border-color: rgb(255 255 255 / .65); box-shadow: none; }
.bmodal .booking-layout { padding-bottom: 18px; }
/* موبایل: نوار ادامه/قبلی پایین صفحه، روی پنجره */
.bmodal .bookbar { z-index: 81; }
.bmodal .booking-layout { padding-bottom: 96px; }
@media (prefers-color-scheme: dark) {
  .bmodal { background: rgb(0 10 14 / .55); }
  .bmodal__panel { background: linear-gradient(150deg, rgb(6 43 56 / .72), rgb(2 30 41 / .6)); border-color: rgb(246 242 234 / .14); box-shadow: inset 0 1px 0 rgb(246 242 234 / .08), var(--sh-4); }
  .bmodal__close { background: rgb(246 242 234 / .08); border-color: rgb(246 242 234 / .16); }
  .bmodal .booking { background: rgb(6 43 56 / .55); border-color: rgb(246 242 234 / .12); }
}
@media (max-width: 559px) {
  .bmodal { padding: 0; place-items: end stretch; }
  .bmodal__panel { max-height: 94dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-inline: 12px; }
}
@media (min-width: 1024px) {
  .bmodal__panel { padding: 30px 30px 0; }
  .bmodal .booking-side { top: 0; }
  .bmodal .booking-layout { padding-bottom: 30px; }
}
