/* ==========================================================================
   سالنیار نگار نسخه 2.0 - ۵ قالب اختصاصی متفاوت + تجربه کاربری موبایلی + ۴ حالت TV
   ========================================================================== */

/* ---------- قالب ۱: رزگلد لوکس (rose-luxury) ---------- */
[data-site-theme="rose-luxury"] {
    --brand: #b76e79;
    --brand-dark: #8f4d57;
    --brand-soft: rgba(183, 110, 121, 0.13);
    --accent: #d4a373;
    --bg: #fdfaf9;
    --bg-card: #ffffff;
    --bg-soft: #f7eff0;
    --text: #261d20;
    --text-muted: #6e5f64;
    --border: #ecdde0;
    --radius: 18px;
}

/* ---------- قالب ۲: کلینیک زمردی (emerald-clinic) ---------- */
[data-site-theme="emerald-clinic"] {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-soft: rgba(15, 118, 110, 0.11);
    --accent: #14b8a6;
    --bg: #f6fbfa;
    --bg-card: #ffffff;
    --bg-soft: #eaf5f3;
    --text: #0f2926;
    --text-muted: #4b6b66;
    --border: #d3e7e4;
    --radius: 12px;
}

/* ---------- قالب ۳: مشکی و طلایی VIP (noir-gold) ---------- */
[data-site-theme="noir-gold"] {
    --brand: #d4af37;
    --brand-dark: #b59024;
    --brand-soft: rgba(212, 175, 55, 0.16);
    --accent: #f3e5ab;
    --bg: #111015;
    --bg-card: #1b1921;
    --bg-soft: #24212c;
    --text: #f7f4eb;
    --text-muted: #b0a999;
    --border: #322d3d;
    --radius: 16px;
}
[data-site-theme="noir-gold"] .site-header {
    background: rgba(17, 16, 21, 0.92);
}
[data-site-theme="noir-gold"] .btn-primary {
    color: #141218;
}

/* ---------- قالب ۴: اسپا اسطوخودوسی (lavender-spa) ---------- */
[data-site-theme="lavender-spa"] {
    --brand: #7c3aed;
    --brand-dark: #6d28d9;
    --brand-soft: rgba(124, 58, 237, 0.11);
    --accent: #c084fc;
    --bg: #faf8ff;
    --bg-card: #ffffff;
    --bg-soft: #f2ecff;
    --text: #1f1633;
    --text-muted: #655a7c;
    --border: #e5dcf7;
    --radius: 22px;
}

/* ---------- قالب ۵: مرجانی مدرن (coral-modern) ---------- */
[data-site-theme="coral-modern"] {
    --brand: #e05a47;
    --brand-dark: #c04332;
    --brand-soft: rgba(224, 90, 71, 0.12);
    --accent: #f59e0b;
    --bg: #fffcf9;
    --bg-card: #ffffff;
    --bg-soft: #fdf2ea;
    --text: #271b18;
    --text-muted: #725d57;
    --border: #f0dfd6;
    --radius: 14px;
}

/* ---------- بنرهای تصویری جذاب صفحه اصلی ---------- */
.hero-visual {
    position: relative;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-visual-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 12, 18, 0.88) 0%, rgba(15, 12, 18, 0.35) 60%, transparent 100%);
    color: #fff;
}
.hero-visual-overlay h1 { color: #fff; margin: .45rem 0; font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
.hero-visual-overlay p { color: rgba(255,255,255,.88); margin: 0 0 1rem; max-width: 640px; }

.banner-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 185px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform .2s ease;
}
.banner-card:hover { transform: translateY(-3px); }
.banner-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.banner-card-body {
    position: relative; z-index: 2; width: 100%; padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
    color: #fff;
}
.banner-card-body h3 { margin: 0; font-size: 1.05rem; }
.banner-card-body small { opacity: .88; font-size: .8rem; }

/* ---------- ویزارد رزرو بسیار ساده و روان (مخصوص گوشی) ---------- */
.wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .45rem;
    margin-bottom: 1.25rem;
}
.wizard-step-pill {
    padding: .55rem .4rem;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--border);
    cursor: pointer;
}
.wizard-step-pill.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
[data-site-theme="noir-gold"] .wizard-step-pill.active { color: #141218; }
.wizard-step-pill.done {
    border-color: var(--success);
    color: var(--success);
}
.wizard-pane { display: none; }
.wizard-pane.active { display: block; animation: fadeIn .22s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.mobile-sticky-bar {
    position: sticky;
    bottom: .75rem;
    z-index: 35;
    margin-top: 1.25rem;
    background: var(--bg-card);
    border: 2px solid var(--brand);
    border-radius: 16px;
    padding: .85rem 1.1rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.staff-choice-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: .9rem;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .8rem;
    transition: all .15s;
}
.staff-choice-card.selected {
    border-color: var(--brand);
    background: var(--brand-soft);
}

/* ---------- ۴ حالت مانیتور اعلام نوبت (TV Mode) ---------- */
.tv-minimal { background: #f8f6f7; color: #1e191c; }
.tv-minimal .tv-card { background: #ffffff; border: 1px solid #e7dfe3; color: #1e191c; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.tv-minimal .tv-row-item { background: #f4eff1 !important; color: #1e191c !important; }
.tv-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand);
    color: #fff;
    padding: .65rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
}
.tv-ticker-inner {
    display: inline-block;
    padding-left: 100%;
    animation: tvMarquee 26s linear infinite;
}
@keyframes tvMarquee {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 640px) {
    .wizard-steps { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { min-height: 290px; }
    .hero-visual-overlay { padding: 1.25rem; }
}
