/* صفحه‌ی اختصاصی دوره */
body { overflow-y: scroll !important; }
.sj-spa-main { height: unset !important; overflow: visible; background: #fffafc; }
.sj-spa-main::before { display: none !important; }
body { background: #fffafc; }
.sj-course-page { max-width: 1100px; margin: 0 auto; padding: 96px 20px 70px; color: #2b2233; line-height: 1.95; }
.sj-c-crumb { font-size: 13px; color: #8a7a86; margin-bottom: 18px; }
.sj-c-crumb a { color: #d92f76; text-decoration: none; }

.sj-c-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding: 34px; border-radius: 30px;
    background: linear-gradient(135deg, #fff2f8, #fff 60%, #ffe9f3); border: 1px solid #f6d3e3; box-shadow: 0 24px 60px rgba(180,30,100,.12); }
.sj-c-eyebrow { display: inline-block; padding: 5px 16px; border-radius: 999px; background: rgba(217,47,118,.1); color: #d92f76; font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.sj-c-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.45; margin: 12px 0; }
.sj-c-lead { color: #5b4d58; font-size: 16px; margin: 0 0 18px; }
.sj-c-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sj-c-facts li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; border: 1px solid #f3dbe7; }
.sj-c-facts li > span { font-size: 22px; }
.sj-c-facts small { display: block; color: #8a7a86; font-size: 12px; line-height: 1.3; }
.sj-c-facts b { font-size: 14px; }
.sj-c-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sj-c-price { padding: 8px 18px; border-radius: 18px; background: #2b0f22; color: #fff; }
.sj-c-price small { display: block; opacity: .7; font-size: 11px; line-height: 1.2; }
.sj-c-price b { font-size: 22px; margin-inline-end: 4px; }
.sj-c-hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 26px; box-shadow: 0 22px 50px rgba(120,10,70,.28); display: block; }

.sj-c-block { padding: 42px 0 8px; }
.sj-c-block h2 { font-size: 24px; margin: 0 0 18px; position: relative; padding-inline-start: 16px; }
.sj-c-block h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 4px; background: linear-gradient(#ff62aa, #a80c4c); }
.sj-c-prose p { margin: 0 0 16px; font-size: 16.5px; }

.sj-c-video { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background: #1b0d17; box-shadow: 0 24px 60px rgba(40,5,25,.35); }
.sj-c-video iframe, .sj-c-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

.sj-c-outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.sj-c-outcomes li { position: relative; padding: 14px 52px 14px 16px; border-radius: 16px; background: #fff7fb; border: 1px solid #f6d3e3; }
.sj-c-outcomes li::before { content: "✓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff62aa, #d92f76); color: #fff; font-weight: 900; font-size: 14px; }

.sj-c-gallery { columns: 3 220px; column-gap: 12px; }
.sj-c-shot { display: block; margin: 0 0 12px; border-radius: 18px; overflow: hidden; break-inside: avoid; position: relative; }
.sj-c-shot img { width: 100%; display: block; transition: transform .5s cubic-bezier(.22,.75,.25,1); }
.sj-c-shot:hover img { transform: scale(1.05); }

.sj-c-syllabus { list-style: none; counter-reset: s; padding: 0; margin: 0; position: relative; }
.sj-c-syllabus::before { content: ""; position: absolute; right: 21px; top: 8px; bottom: 8px; width: 2px; background: #f3c5da; }
.sj-c-syllabus li { counter-increment: s; position: relative; padding: 8px 60px 8px 0; margin-bottom: 8px; }
.sj-c-syllabus li::before { content: counter(s); position: absolute; right: 0; top: 4px; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; border: 2px solid #ff62aa; color: #d92f76; font-weight: 900; }
.sj-c-syllabus li span { display: block; padding: 10px 16px; border-radius: 14px; background: #fff7fb; border: 1px solid #f6d3e3; }

.sj-c-enroll { margin-top: 26px; padding: 30px; border-radius: 28px; background: linear-gradient(135deg, #7d0a44, #d92f76); color: #fff; }
.sj-c-enroll h2 { color: #fff; }
.sj-c-enroll h2::before { background: #fff; }
.sj-c-muted { opacity: .92; }
.sj-c-form { display: grid; gap: 14px; max-width: 520px; }
.sj-c-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.sj-c-form em { color: #ffd6eb; }
.sj-c-form input { padding: 13px 16px; border: 0; border-radius: 14px; font: inherit; color: #2b2233; background: #fff; transition: box-shadow .25s; }
.sj-c-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,214,235,.55); }
.sj-c-form .sj-btn-primary { background: #fff; color: #a80c4c; border: 0; cursor: pointer; }
.sj-c-form .sj-btn-primary:disabled { opacity: .7; }
.sj-c-msg { min-height: 22px; font-weight: 700; }
.sj-c-msg.err { color: #ffe3ec; background: rgba(0,0,0,.25); padding: 8px 12px; border-radius: 12px; }

.sj-c-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sj-c-other { display: grid; gap: 4px; padding: 12px; border-radius: 20px; text-decoration: none; color: inherit; background: #fff; border: 1px solid #f3dbe7; transition: transform .3s, box-shadow .3s; }
.sj-c-other:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(180,30,100,.16); }
.sj-c-other img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; }
.sj-c-other span { color: #d92f76; font-weight: 800; }

.sj-c-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(15,4,11,.92); display: grid; place-items: center; cursor: pointer; }
.sj-c-lightbox[hidden] { display: none; }
.sj-c-lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 14px; }
.sj-c-lightbox button { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; font-size: 26px; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; }

@media (max-width: 800px) {
    .sj-course-page { padding: 92px 14px 60px; }
    .sj-c-hero { grid-template-columns: 1fr; padding: 20px; border-radius: 24px; }
    .sj-c-hero-media { order: -1; }
    .sj-c-hero-media img { aspect-ratio: 16/11; }
    .sj-c-enroll { padding: 22px 18px; }
}
@media (max-width: 900px) { .sj-course-page { padding-bottom: 130px; } }
