﻿/* گفتگوی آنلاین + بخش تماس + فیلدهای سفید + حذف سایه‌ها */
#sjChat { position: fixed; left: 22px; bottom: 22px; z-index: 9998; font-family: 'Estedad', Tahoma, sans-serif; direction: rtl; }
.ch-launch { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; background: #c9456f; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.ch-launch:hover { transform: scale(1.1) rotate(-6deg); }
.ch-launch svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-launch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #c9456f; opacity: 0; animation: chPing 2.8s ease-out infinite; }
@keyframes chPing { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
#sjChat.open .ch-launch::after { display: none; }
.ch-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #fff; color: #c9456f; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #c9456f; }
.ch-badge[hidden] { display: none; }
.ch-panel { position: absolute; left: 0; bottom: 74px; width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 140px)); display: flex; flex-direction: column; overflow: hidden;
    background: #fff; color: #2b1a1d; border-radius: 22px; border: 1px solid rgba(201,69,111,.25); transform-origin: 0 100%; opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.22,.75,.25,1); }
#sjChat.open .ch-panel { opacity: 1; transform: none; pointer-events: auto; }
.ch-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #c9456f; color: #fff; }
.ch-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: cover; }
.ch-head b { display: block; font-size: 15px; } .ch-head small { font-size: 11.5px; opacity: .9; }
.ch-head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7dffb0; margin-inline-end: 6px; }
.ch-close { margin-inline-start: auto; background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.ch-name { padding: 8px 14px; border-bottom: 1px solid #f3dfe3; }
.ch-name.done { display: none; }
.ch-name input { width: 100%; border: 0; outline: 0; font: inherit; font-size: 13px; background: #fff; color: #2b1a1d; }
.ch-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fdf3f5; }
.ch-msg { max-width: 82%; padding: 9px 13px 6px; border-radius: 16px; font-size: 13.5px; line-height: 1.9; word-wrap: break-word; animation: chIn .35s cubic-bezier(.22,.75,.25,1); }
@keyframes chIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.ch-msg small { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.ch-msg.me { align-self: flex-start; background: #c9456f; color: #fff; border-end-start-radius: 4px; }
.ch-msg.ag { align-self: flex-end; background: #fff; color: #2b1a1d; border: 1px solid #f0d6dc; border-end-end-radius: 4px; }
.ch-msg.fail { background: #b33b3b; }
.ch-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid #f3dfe3; background: #fff; }
.ch-input { flex: 1; resize: none; border: 1px solid #ecd0d7; border-radius: 18px; padding: 9px 14px; font: inherit; font-size: 13.5px; background: #fff; color: #2b1a1d; outline: 0; max-height: 110px; height: 40px; }
.ch-input:focus { border-color: #c9456f; }
.ch-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #c9456f; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ch-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
@media (max-width: 900px) { #sjChat { bottom: 88px; } }

/* چت هیچ‌وقت زیر هدر نمی‌رود */
#sjChat { z-index: 10030; }
.ch-panel { height: min(520px, calc(100dvh - 230px)); max-height: calc(100dvh - 230px); }
@media (max-width: 900px) {
    #sjChat.open .ch-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; top: 86px; width: auto; height: auto; max-height: none; border-radius: 20px; }
    #sjChat.open .ch-launch { visibility: hidden; }
}

/* بخش تماس با ما */
.lx-ct-list { display: grid; gap: 12px; margin-top: 22px; }
.lx-ct { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--lx-line-soft); background: var(--lx-card); text-decoration: none; color: var(--lx-ink) !important; transition: border-color .3s, transform .35s cubic-bezier(.22,.75,.25,1), background .3s; }
a.lx-ct:hover { border-color: var(--m-accent, #d9667a); transform: translateX(-6px); background: var(--lx-card-hi); }
.lx-ct .ic { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--m-accent, #d9667a); color: var(--m-accent, #d9667a); }
.lx-ct .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lx-ct .ic svg.fill, .lx-ct .ic .fill { fill: currentColor; stroke: none; }
.lx-ct .tx { display: grid; gap: 2px; }
.lx-ct b { font-size: 15px; font-weight: 700; color: var(--lx-ink) !important; }
.lx-ct small { font-size: 13px; color: var(--lx-muted) !important; letter-spacing: .02em; }

/* فاصله‌ی کارت باشگاه از دکمه‌های هیرو */
html body .sj-hero-actions { margin-bottom: 0; }
html body .sj-club-teaser { margin-top: 32px !important; }

/* فیلدها همیشه سفید */
html[data-theme] body input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]),
html[data-theme] body select, html[data-theme] body textarea,
html[data-theme] body .sj-form-group input, html[data-theme] body .sj-form-group select, html[data-theme] body .sj-form-group textarea, html[data-theme] body .sj-article-search input {
    background: #fff !important; color: #2b1a1d !important; border: 1px solid #e6cdd4 !important; border-radius: 14px !important; box-shadow: none !important;
}
html[data-theme] body input::placeholder, html[data-theme] body textarea::placeholder { color: #a8949a !important; }
html[data-theme] body select option { background: #fff !important; color: #2b1a1d !important; }
html[data-theme] body input:focus, html[data-theme] body select:focus, html[data-theme] body textarea:focus { border-color: #c9456f !important; box-shadow: 0 0 0 3px rgba(201,69,111,.15) !important; outline: 0; }

/* بدون سایه‌ی زشت */
html[data-theme] body .sj-spa-section :where(div, article, li, a, section, img, form):not([class*="btn"]):not(.wz-card.on) { box-shadow: none !important; text-shadow: none !important; }
html[data-theme] body .sj-btn-primary, html[data-theme] body .sj-btn-light, html[data-theme] body .sj-blue-reserve-btn, html[data-theme] body .wz-next, html[data-theme] body .wz-submit,
html[data-theme] body .sj-btn-gold, html[data-theme] body #appointmentSubmit, html[data-theme] body #clubSubmit, html[data-theme] body #contactSubmit { box-shadow: none !important; }
html[data-theme] body .lx-float, html[data-theme] body .lx-iconnav { box-shadow: none !important; }
html[data-theme] body .sj-blue-header, html[data-theme] body .sj-blue-header.lx-compact { box-shadow: none !important; border-bottom: 1px solid var(--lx-line-soft); }
html[data-theme] body .wz-card.on { box-shadow: none !important; }
html[data-theme] body .sj-mobile-dock { box-shadow: none !important; }

/* دکمه‌های مراحل فرم: «قبلی» یک سمت، «بعدی/ثبت» سمت دیگر؛ در هر گام فقط یکی از بعدی/ثبت دیده می‌شود */
html body .wz-off { display: none !important; }
html body .wz-invisible { visibility: hidden; }
html[data-theme] body .wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
html[data-theme] body .wz-nav .wz-next, html[data-theme] body .wz-nav .wz-submit { min-width: 170px; margin: 0 !important; }
html[data-theme] body .wz-nav .wz-prev { min-width: 90px; }

/* هدر موبایل/تبلت: لوگو و عنوان از سقف فاصله دارند */
@media (max-width: 900px) {
    html[data-theme] body .sj-blue-header { padding-top: env(safe-area-inset-top, 0px); }
    html[data-theme] body .sj-blue-header-inner { height: 74px !important; padding: 10px 14px !important; align-items: center; }
    html[data-theme] body .sj-logo-icon { width: 46px !important; height: 46px !important; background-size: 44px !important; margin: 0 !important; }
    html[data-theme] body .sj-blue-logo { padding-top: 0; gap: 10px; align-items: center; }
    html[data-theme] body .sj-spa-section { padding-top: 100px; }
    html[data-theme] body .sj-design-hero { padding-top: 96px; }
}

html[data-theme] body #appointmentSubmit.wz-off, html[data-theme] body #clubSubmit.wz-off, html[data-theme] body #contactSubmit.wz-off,
html[data-theme] body button.wz-next.wz-off, html[data-theme] body button.wz-submit.wz-off { display: none !important; }

/* ===== طراحی جدید چت: شیشه‌ای، حباب‌های نرم، چیپ پیشنهادی ===== */
.ch-launch { width: 62px; height: 62px; background: linear-gradient(135deg, #e0577f, #b33b5e); }
.ch-panel { border: 0; border-radius: 26px; background: linear-gradient(180deg, #fff 0%, #fff6f8 100%); box-shadow: 0 30px 80px -20px rgba(120, 30, 60, .45), 0 0 0 1px rgba(201,69,111,.12) !important; }
.ch-head { position: relative; padding: 18px 18px 22px; background: linear-gradient(135deg, #e0577f 0%, #b33b5e 100%); overflow: hidden; }
.ch-head::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -50px; top: -80px; background: rgba(255,255,255,.14); }
.ch-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: #fdf3f5; border-radius: 22px 22px 0 0; }
.ch-av { position: relative; width: 46px; height: 46px; flex: none; }
.ch-av img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover; border: 2px solid rgba(255,255,255,.85); }
.ch-av i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: #3ddc84; border: 2px solid #c9456f; animation: chOnline 2s ease-in-out infinite; }
@keyframes chOnline { 0%,100% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 50% { box-shadow: 0 0 0 6px rgba(61,220,132,0); } }
.ch-who { position: relative; z-index: 1; } .ch-who b { display: block; font-size: 16px; } .ch-who small { font-size: 11.5px; opacity: .92; }
.ch-head small::before { display: none; }
.ch-close { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); transition: background .2s, transform .3s; }
.ch-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.ch-close svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.ch-name { background: #fdf3f5; border: 0; padding: 4px 16px 0; }
.ch-name input { background: #fff; border: 1px solid #f0d6dc; border-radius: 12px; padding: 8px 12px; font-size: 12.5px; }
.ch-list { background: #fdf3f5; padding: 10px 16px 8px; gap: 10px; scroll-behavior: smooth; }
.ch-list::-webkit-scrollbar { width: 4px; } .ch-list::-webkit-scrollbar-thumb { background: #ecc6d0; border-radius: 4px; }
.ch-msg { padding: 10px 14px 7px; border-radius: 20px; font-size: 13.5px; }
.ch-msg.me { background: linear-gradient(135deg, #e0577f, #c9456f); border-end-start-radius: 6px; }
.ch-msg.ag { border: 0; background: #fff; border-end-end-radius: 6px; }
.ch-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 16px 10px; background: #fdf3f5; }
.ch-chips.gone { display: none; }
.ch-chips button { border: 1px solid #ecc6d0; background: #fff; color: #b33b5e; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 12px; cursor: pointer; transition: all .25s; }
.ch-chips button:hover { background: #c9456f; color: #fff; border-color: #c9456f; transform: translateY(-2px); }
.ch-form { background: #fff; border-top: 0; padding: 10px 12px 12px; box-shadow: 0 -10px 24px -14px rgba(120,30,60,.25); }
.ch-input { background: #fdf3f5; border: 0; border-radius: 20px; padding: 10px 16px; }
.ch-input:focus { background: #fff; box-shadow: 0 0 0 2px #e0577f inset; }
.ch-send { background: linear-gradient(135deg, #e0577f, #b33b5e); transition: transform .25s; }
.ch-send:hover { transform: scale(1.1) rotate(-8deg); }
html[data-theme] body #sjChat input, html[data-theme] body #sjChat textarea { border-radius: 20px !important; box-shadow: none !important; }
html[data-theme] body #sjChat .ch-name input { border: 1px solid #f0d6dc !important; border-radius: 12px !important; }
html[data-theme] body #sjChat .ch-input { border: 0 !important; background: #fdf3f5 !important; }

/* تیتر بخش‌ها وسط‌چین */
html[data-theme] body .sj-section-title, html[data-theme] body .sj-section-title h2, html[data-theme] body .sj-section-title p, html[data-theme] body .sj-section-title .sj-eyebrow { text-align: center !important; margin-inline: auto; }
html[data-theme] body .sj-section-title h2 { max-width: 900px; text-wrap: balance; }

/* پاراگراف‌های مقاله هیچ‌وقت نامرئی نمی‌مانند: اگر ناظر اسکرول کار نکرد، بعد از ۲٫۵ ثانیه خودبه‌خود دیده می‌شوند */
.sj-flow { animation: sjFlowIn .2s 2.5s forwards; }
@keyframes sjFlowIn { to { opacity: 1; transform: none; } }

/* صفحه‌های مقاله/دوره/محله در حالت روشن: متن تیره و خوانا */
html[data-theme="light"] body :is([class*="sj-article"], [class*="sj-landing"], [class*="sj-course"], .sj-breadcrumb, .sj-related-articles, .sj-back-link, .sj-empty-box, .sj-testimonial-card) :is(p, li, span, blockquote, td, th, small, time, div, label):not([class*="btn"]):not(.sj-article-tag):not(.sj-article-readmore):not(button *) { color: var(--lx-muted) !important; }
html[data-theme="light"] body :is([class*="sj-article"], [class*="sj-landing"], [class*="sj-course"], .sj-related-articles, .sj-empty-box) :is(h1, h2, h3, h4, h5, strong, b, th) { color: var(--lx-ink) !important; text-shadow: none !important; }
html[data-theme="light"] body :is([class*="sj-article"], [class*="sj-landing"], [class*="sj-course"], .sj-breadcrumb, .sj-related-articles) a:not([class*="btn"]):not(.sj-article-readmore):not([class*="cta"] a) { color: var(--lx-pink-2) !important; }
html[data-theme="light"] body .sj-article-content, html[data-theme="light"] body .sj-article-content p, html[data-theme="light"] body .sj-article-content li { color: #3b2a2e !important; line-height: 2.2; }
html[data-theme="light"] body .sj-article-content h2, html[data-theme="light"] body .sj-article-content h3 { color: var(--lx-ink) !important; }
html[data-theme="light"] body .sj-article-content blockquote { border-inline-start: 3px solid var(--m-accent); background: rgba(255,255,255,.55); padding: 12px 18px; border-radius: 12px; }
html[data-theme="light"] body :is(.sj-article-card, .sj-article-featured, .sj-article-popular, .sj-article-toc, .sj-article-share, .sj-article-cta-box, .sj-article-band, .sj-landing-block, .sj-landing-cta) { background: var(--lx-card) !important; border-color: var(--lx-line-soft) !important; }
html[data-theme="light"] body .sj-article-detail { background: rgba(255,255,255,.55) !important; }
html[data-theme="light"] body :is(.sj-article-hero, .sj-article-hero *) { text-shadow: none !important; }

/* هیرو در ارتفاع‌های معمول مرورگر (۶۰۰ تا ۹۰۰ پیکسل): همه‌چیز جا می‌شود، چیزی زیر هدر یا نوار پایین نمی‌رود */
@media (min-width: 1100px) {
    html[data-theme] body .lx-hero-nav { left: 13%; bottom: 172px; z-index: 5; }
}
@media (min-width: 1100px) and (max-height: 900px) {
    html[data-theme] body .sj-hero-content { inset: 150px 6% 168px 6%; align-items: center; }
    html[data-theme] body .sj-hero-highlight, html[data-theme] body .sj-hero-highlight .sj-w { font-size: clamp(40px, min(4.6vw, 8vh), 76px) !important; line-height: 1.2; }
    html[data-theme] body .sj-hero-info h1 { font-size: clamp(15px, 2.1vh, 21px); line-height: 1.7; }
    html[data-theme] body .sj-hero-info p { font-size: 13px; line-height: 1.9; margin-block: 10px 16px; }
    html[data-theme] body .lx-eyebrow { margin-bottom: 8px; }
    html[data-theme] body .lx-iconnav { bottom: 44px; padding: 6px 12px; }
    html[data-theme] body .lx-iconnav svg { width: 28px; height: 28px; }
    html[data-theme] body .lx-iconnav a { font-size: 11.5px; gap: 6px; }
    html[data-theme] body .lx-float.f1 { top: 26%; } html[data-theme] body .lx-float.f2 { top: 40%; }
    html[data-theme] body .lx-float.f3 { bottom: 150px; }
}
@media (min-width: 1100px) and (max-height: 760px) {
    html[data-theme] body .sj-hero-model-ref { height: 74%; bottom: 20%; }
    html[data-theme] body .lx-hero-nav { bottom: 150px; }
    html[data-theme] body .lx-iconnav a span.c svg { width: 24px; height: 24px; }
    html[data-theme] body .lx-float.f3 { display: none; }
}

/* بخش آموزش: کارت‌های منظم و هم‌اندازه */
html[data-theme] body .sj-education-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; align-items: stretch; max-width: 1100px; margin: 34px auto 0; }
html[data-theme] body .sj-education-card {
    display: flex !important; flex-direction: column; gap: 12px; padding: 22px !important; text-align: right;
    background: var(--lx-card) !important; border: 1px solid var(--lx-line-soft) !important; border-radius: 24px !important; height: 100%;
    transition: transform .45s cubic-bezier(.22,.75,.25,1), border-color .3s;
}
html[data-theme] body .sj-education-card:hover { transform: translateY(-5px); border-color: var(--m-accent) !important; }
html[data-theme] body .sj-education-card .sj-education-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px !important; margin: 0 0 4px; }
html[data-theme] body .sj-education-card h3 { margin: 0; font-size: 21px; font-weight: 800 !important; line-height: 1.6; color: var(--lx-ink) !important; }
html[data-theme] body .sj-education-card h3 a { color: inherit !important; }
html[data-theme] body .sj-education-card .sj-education-duration { align-self: flex-start; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: rgba(var(--m-accent-rgb), .12); color: var(--lx-pink-2) !important; }
html[data-theme] body .sj-education-card p { margin: 0; font-size: 14.5px; line-height: 2; color: var(--lx-muted) !important; flex: 1; }
html[data-theme] body .sj-education-card .sj-education-price { font-size: 24px; font-weight: 800; color: var(--lx-pink-2) !important; margin-top: 4px; }
html[data-theme] body .sj-education-card .sj-education-more, html[data-theme] body .sj-education-card .sj-education-toggle { width: 100% !important; margin: 0 !important; text-align: center; }
html[data-theme] body .sj-education-card .sj-education-more { margin-top: auto !important; }
html[data-theme] body .sj-education-section .sj-section-title { margin-bottom: 8px; }
html[data-theme] body .sj-w { color: inherit !important; }

/* صفحه‌ی پکیج خودآرایی: سرفصل‌ها */
.sj-curriculum { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sj-curriculum-item { position: relative; padding: 22px 22px 20px; border-radius: 22px; background: var(--lx-card); border: 1px solid var(--lx-line-soft); }
.sj-curriculum-item h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 800; color: var(--lx-ink); }
.sj-curriculum-item p { margin: 0 0 10px; font-size: 14px; color: var(--lx-muted); line-height: 2; }
.sj-curriculum-item ul { margin: 0; padding: 0 18px 0 0; font-size: 13.5px; line-height: 2; color: var(--lx-muted); }
.sj-curriculum-no { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c9456f; color: #fff; font-weight: 700; }
/* کارت پکیج خودآرایی در بخش آموزش: دو ستون (تصویر | متن)، بدون اسکرول اضافه */
html[data-theme] body .sj-education-grid:has(.sj-featured-course) { display: block !important; max-width: 1000px; }
html[data-theme] body .sj-featured-course {
    display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto); column-gap: 32px; row-gap: 12px; align-content: center; align-items: center; height: auto; padding: 22px !important;
}
html[data-theme] body .sj-featured-course .sj-education-image { grid-row: 1 / span 4; grid-column: 1; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px !important; margin: 0; }
html[data-theme] body .sj-featured-course > :not(.sj-education-image) { grid-column: 2; }
html[data-theme] body .sj-featured-course .sj-education-more { margin-top: 6px !important; width: auto !important; justify-self: start; }
@media (max-width: 820px) {
    html[data-theme] body .sj-featured-course { grid-template-columns: 1fr; grid-template-rows: none; }
    html[data-theme] body .sj-featured-course .sj-education-image, html[data-theme] body .sj-featured-course > :not(.sj-education-image) { grid-column: 1; grid-row: auto; }
    html[data-theme] body .sj-featured-course .sj-education-more { justify-self: stretch; width: 100% !important; }
}
@media (min-width: 900px) { html[data-theme] body #education.sj-spa-section { padding-bottom: 52px; padding-top: 150px; } }
/* اسکرول‌بار باریک و هماهنگ با تم در همه‌ی بخش‌ها */
html[data-theme] body .sj-spa-section { scrollbar-width: thin; scrollbar-color: rgba(var(--m-accent-rgb), .45) transparent; }
html[data-theme] body .sj-spa-section::-webkit-scrollbar { width: 6px; }
html[data-theme] body .sj-spa-section::-webkit-scrollbar-thumb { background: rgba(var(--m-accent-rgb), .45); border-radius: 6px; }
html[data-theme] body .sj-spa-section::-webkit-scrollbar-track { background: transparent; }
.sj-course-landing .sj-landing-hero-image { border-radius: 24px !important; mask-image: none !important; -webkit-mask-image: none !important; width: 100% !important; max-width: 620px !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; align-self: center; }
.sj-course-landing .sj-landing-hero { align-items: center; }
.sj-course-landing p strong { color: var(--lx-ink); }
html[data-theme="light"] body .sj-course-landing :is(.sj-curriculum-item h3) { color: var(--lx-ink) !important; }
html[data-theme="light"] body .sj-course-landing :is(.sj-curriculum-item p, .sj-curriculum-item li) { color: var(--lx-muted) !important; }

/* ایلاستریشن اختصاصی هر سبک میکاپ */
html[data-theme] body .sj-style-card { text-align: center; padding: 26px 22px 24px; transition: transform .45s cubic-bezier(.22,.75,.25,1), border-color .3s; }
html[data-theme] body .sj-style-card:hover { transform: translateY(-6px); border-color: var(--m-accent); }
html[data-theme] body .sj-style-icon { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; font-size: 0;
    background: radial-gradient(circle at 30% 25%, rgba(var(--m-accent-rgb), .22), rgba(var(--m-accent-rgb), .06)); color: var(--m-accent); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
html[data-theme] body .sj-style-card:hover .sj-style-icon { transform: scale(1.08) rotate(-6deg); }
html[data-theme] body .sj-style-icon svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme] body .sj-style-icon svg * { stroke-dasharray: 220; stroke-dashoffset: 220; }
html[data-theme] body .sj-style-card.sj-reveal-in .sj-style-icon svg * { animation: sjDraw 1.6s .2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes sjDraw { to { stroke-dashoffset: 0; } }
html[data-theme] body .sj-style-card strong { display: block; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { html[data-theme] body .sj-style-icon svg * { stroke-dashoffset: 0; animation: none !important; } }

/* پیام موفقیت فرم‌های مرحله‌ای */
.wz-success { display: none; text-align: center; padding: 18px 8px 8px; }
.wz.wz-done > :not(.wz-success):not(.wz-head) { display: none !important; }
.wz.wz-done .wz-success { display: block; animation: wzPop .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes wzPop { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
.wz-ok-ic { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: rgba(61,196,120,.14); display: grid; place-items: center; }
.wz-ok-ic svg { width: 64px; height: 64px; fill: none; stroke: #23b26a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wz-ok-ic circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: wzDraw .8s .1s ease forwards; }
.wz-ok-ic path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: wzDraw .5s .7s ease forwards; }
@keyframes wzDraw { to { stroke-dashoffset: 0; } }
.wz-success h3 { font-size: 22px; font-weight: 800; color: var(--lx-ink) !important; margin: 0 0 8px; }
.wz-success p { font-size: 14.5px; line-height: 2; color: var(--lx-muted) !important; max-width: 420px; margin: 0 auto 20px; }
.wz-success .wz-again { min-height: 46px; padding: 0 34px; border-radius: 999px; border: 1.5px solid var(--wz-pink, #c9456f); background: transparent; color: var(--lx-ink); font: inherit; font-weight: 600; cursor: pointer; transition: all .25s; }
.wz-success .wz-again:hover { background: var(--wz-pink, #c9456f); color: #fff; }
html[data-theme] body .sj-form-message.error { text-align: center; color: #b3263e !important; background: rgba(179,38,62,.08); border: 1px solid rgba(179,38,62,.25); border-radius: 14px; padding: 10px 14px; margin-top: 14px; font-weight: 600; }
html[data-theme] body .sj-form-message.success { display: none; }

/* عنوان بخش‌ها پررنگ‌تر */
html[data-theme] body .sj-spa-section h2, html[data-theme] body .sj-appointment-info h2, html[data-theme] body .sj-contact-info h2, html[data-theme] body .sj-club-info h2, html[data-theme] body .sj-section-title h2 { font-weight: 800 !important; letter-spacing: -.01em; line-height: 1.5; font-size: clamp(26px, 2.6vw, 38px); }
html[data-theme] body .sj-spa-section h3 { font-weight: 700; }

/* صفحه‌ی تماس: دو ستون هم‌تراز؛ کارت‌ها یک‌شکل */
@media (min-width: 1000px) {
    html[data-theme] body #contact.sj-contact-page { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
    html[data-theme] body #contact .sj-contact-info, html[data-theme] body #contact .sj-contact-card { width: auto; max-width: none; margin: 0; }
}
html[data-theme] body #contact .sj-contact-card { padding: 30px; border-radius: 26px; border: 1px solid var(--lx-line-soft); background: var(--lx-card); }
html[data-theme] body #contact .sj-contact-info h2 { text-align: right; }

/* دکمه‌های هیرو کنار هم و هم‌تراز */
@media (min-width: 700px) {
    html[data-theme] body .sj-hero-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
    html[data-theme] body .sj-hero-actions > * { flex: 0 1 auto; white-space: nowrap; padding-inline: 22px !important; margin: 0 !important; }
}
@media (max-width: 699px) {
    html[data-theme] body .sj-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    html[data-theme] body .sj-hero-actions > * { margin: 0 !important; padding-inline: 12px !important; }
}

/* امضای وب مهراز: یک خط کامل پایین صفحه (دسکتاپ) */
@media (min-width: 900px) {
    html body .lx-credit:not(.lx-credit-menu) {
        display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 32px; margin: 0; padding: 0 16px; justify-content: center; align-items: center; gap: 10px;
        border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--lx-line-soft) !important; background: var(--m-head, rgba(250,232,233,.97)) !important;
        backdrop-filter: blur(10px); box-shadow: none !important; font-size: 12px; z-index: 9990;
    }
    html body .lx-credit:not(.lx-credit-menu) img { width: 20px; height: 20px; padding: 2px; }
    html[data-theme] body .sj-spa-section { padding-bottom: 122px; }
    #sjChat { bottom: 50px; }
}

/* ===== خدمات: کارت‌های بازطراحی‌شده ===== */
html[data-theme] body .sj-service-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; max-width: 1150px; margin: 30px auto 0; }
html[data-theme] body .sj-service-card {
    display: flex !important; flex-direction: column; gap: 10px; padding: 26px 24px 24px !important; text-align: right; height: 100%;
    background: var(--lx-card) !important; border: 1px solid var(--lx-line-soft) !important; border-radius: 26px !important;
    transition: transform .45s cubic-bezier(.22,.75,.25,1), border-color .3s, background .3s;
}
html[data-theme] body .sj-service-card:hover { transform: translateY(-6px); border-color: var(--m-accent) !important; background: var(--lx-card-hi) !important; }
html[data-theme] body .sj-service-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin-bottom: 4px; color: var(--m-accent);
    background: radial-gradient(circle at 30% 25%, rgba(var(--m-accent-rgb), .22), rgba(var(--m-accent-rgb), .06)); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
html[data-theme] body .sj-service-card:hover .sj-service-ic { transform: rotate(-8deg) scale(1.1); }
html[data-theme] body .sj-service-ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme] body .sj-service-card h3 { margin: 0; font-size: 20px; font-weight: 800 !important; line-height: 1.6; color: var(--lx-ink) !important; }
html[data-theme] body .sj-service-card p { margin: 0; flex: 1; font-size: 14px; line-height: 2; color: var(--lx-muted) !important; }
html[data-theme] body .sj-service-card .sj-select-service,
html[data-theme] body .sj-spa-section .sj-service-card a.sj-select-service {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; align-self: stretch; min-height: 46px; margin-top: 8px; padding: 0 22px;
    border-radius: 999px !important; background: #c9456f !important; color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none; border: 0 !important;
    transition: background .25s, transform .25s;
}
html[data-theme] body .sj-service-card .sj-select-service:hover { background: #b33b5e !important; transform: translateY(-2px); }
html[data-theme] body .sj-service-card .sj-select-service * { color: #fff !important; }

/* متن alt هیچ‌وقت به‌جای عکس دیده نشود؛ تا لود شدن، اسکلت صورتی نرم */
html[data-theme] body .sj-gallery-card img { color: transparent !important; font-size: 0 !important; min-height: 160px; }
html[data-theme] body .sj-gallery-card img:not([data-ok]) {
    background: linear-gradient(110deg, rgba(var(--m-accent-rgb), .10) 8%, rgba(var(--m-accent-rgb), .22) 18%, rgba(var(--m-accent-rgb), .10) 33%) !important;
    background-size: 220% 100% !important; animation: sjSkel 1.3s linear infinite;
}
@keyframes sjSkel { to { background-position-x: -220%; } }

/* ===== تب‌های گالری و اسلایدر قبل/بعد ===== */
.sj-gtabs { display: flex; justify-content: center; gap: 8px; margin: 6px auto 26px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--lx-card); border: 1px solid var(--lx-line-soft); }
.sj-gtabs button { border: 0; background: transparent; color: var(--lx-muted); font: inherit; font-size: 14.5px; font-weight: 600; padding: 10px 26px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, transform .3s; white-space: nowrap; }
.sj-gtabs button:hover { color: var(--lx-ink); }
.sj-gtabs button.active { background: #c9456f; color: #fff; }
@media (max-width: 520px) { .sj-gtabs button { padding: 9px 16px; font-size: 13px; } }
.sj-gallery-card.is-hidden, .sj-ba-panel.is-hidden { display: none !important; }
.sj-ba-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.sj-ba-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border-radius: 22px; border: 1px dashed var(--lx-line); color: var(--lx-muted) !important; line-height: 2; }
.sj-ba { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; --pos: 50%; touch-action: pan-y; }
.sj-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sj-ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sj-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sj-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.sj-ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #c9456f; display: grid; place-items: center; font-size: 18px; }
.sj-ba-tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; pointer-events: none; }
.sj-ba-tag.b { left: 12px; } .sj-ba-tag.a { right: 12px; }

/* ===== گالری: چهار عکس کنار هم ===== */
@media (min-width: 1100px) { html[data-theme] body .sj-gallery-masonry { columns: auto !important; column-count: 4 !important; column-gap: 20px; } }
@media (min-width: 700px) and (max-width: 1099px) { html[data-theme] body .sj-gallery-masonry { columns: auto !important; column-count: 3 !important; } }
@media (max-width: 699px) { html[data-theme] body .sj-gallery-masonry { columns: auto !important; column-count: 2 !important; column-gap: 12px; } }
html[data-theme] body .sj-gallery-card img { height: auto; aspect-ratio: 4 / 5; border-radius: 18px; object-fit: cover; object-position: 50% 28%; }

/* فرم ثبت‌نام پکیج خودآرایی */
.sj-reg { max-width: 760px; margin-inline: auto; }
.sj-reg-price { font-size: 16px; color: var(--lx-muted); }
.sj-reg-price strong { color: var(--lx-pink-2); font-size: 22px; }
.sj-reg-form { display: grid; gap: 14px; margin-top: 16px; padding: 24px; border-radius: 24px; background: var(--lx-card); border: 1px solid var(--lx-line-soft); }
.sj-reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .sj-reg-row { grid-template-columns: 1fr; } }
.sj-reg-form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--lx-muted); }
.sj-reg-form label em { color: #c9456f; font-style: normal; }
.sj-reg-form input[type=file] { padding: 10px; }
.sj-pay-methods { display: grid; gap: 10px; }
.sj-pay-opt { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--lx-line-soft); cursor: pointer; transition: border-color .25s, background .25s; }
.sj-pay-opt:has(input:checked) { border-color: #c9456f; background: rgba(201,69,111,.08); }
.sj-pay-opt.off { opacity: .55; cursor: not-allowed; }
.sj-pay-opt input[type=radio] { width: 18px; height: 18px; accent-color: #c9456f; flex: none; }
.sj-pay-opt span { display: grid; gap: 2px; } .sj-pay-opt b { color: var(--lx-ink); font-size: 14.5px; } .sj-pay-opt small { font-size: 12px; }
.sj-card-info { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 14px 16px; margin-bottom: 12px; border-radius: 16px; background: rgba(var(--m-accent-rgb), .08); border: 1px dashed var(--lx-line); }
.sj-card-info strong { display: block; font-size: 20px; letter-spacing: .06em; color: var(--lx-ink); }
.sj-card-info small { display: block; color: var(--lx-muted); }
.sj-reg-note { font-size: 12.5px; color: var(--lx-muted); }
.sj-reg-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sj-reg-captcha img { border-radius: 12px; background: #fff; }
.sj-reg-captcha input { flex: 1 1 140px; }
.sj-reg-msg { min-height: 22px; font-size: 14px; text-align: center; }
.sj-reg-msg.ok { color: #1e8f57; font-weight: 600; } .sj-reg-msg.err { color: #b3263e; font-weight: 600; }

/* درباره‌ی ساناز */
.sj-about-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; padding: 0; }
.sj-about-facts li { flex: 1 1 150px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--lx-line-soft); background: var(--lx-card); display: grid; gap: 2px; text-align: center; }
.sj-about-facts strong { font-size: 18px; font-weight: 800; color: var(--lx-pink-2); }
.sj-about-facts span { font-size: 12.5px; color: var(--lx-muted); }
@media (min-width: 900px) { html[data-theme] body #team.sj-spa-section { padding-bottom: 52px; } }
