/**
 * Catalogue T2 — Cinematic Showcase
 * All selectors use .sc-t2-* prefix for 100% isolation from T1
 */

/* ═══ CSS VARIABLES ═══ */
:root {
    --sc-t2-primary: #1e4dd8;
    --sc-t2-primary-hover: #1740b5;
    --sc-t2-text: #1f2937;
    --sc-t2-text-light: #6b7280;
    --sc-t2-text-lighter: #9ca3af;
    --sc-t2-border: #e5e7eb;
    --sc-t2-bg-subtle: #f9fafb;
    --sc-t2-bg-strip: #f1f3f9;
    --sc-t2-radius: 12px;
    --sc-t2-radius-lg: 16px;
    --sc-t2-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --sc-t2-shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --sc-t2-shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --sc-t2-container: 1200px;
}

/* ═══ CONTAINER ═══ */
.sc-t2-container {
    max-width: var(--sc-t2-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ SKELETON BASE ═══ */
.etinion-sc-t2-body .skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 75%);
    background-size: 200% 100%;
    animation: sc-t2-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.sc-t2-content-skeleton .skeleton,
.sc-t2-pricing-skeleton .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: sc-t2-shimmer 1.5s ease-in-out infinite;
}

@keyframes sc-t2-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══ HERO SECTION ═══ */
.sc-t2-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 48px 0;
    overflow: hidden;
}

.sc-t2-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* opacity controlled via inline style */
}

.sc-t2-hero > .sc-t2-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Skeleton */
.sc-t2-hero-skeleton {
    display: flex;
    gap: 40px;
    align-items: center;
}

.sc-t2-hero-skeleton-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-t2-hero-skeleton-left .skeleton-badge-row { width: 140px; height: 24px; }
.sc-t2-hero-skeleton-left .skeleton-title-lg { width: 90%; height: 40px; }
.sc-t2-hero-skeleton-left .skeleton-title-md { width: 60%; height: 32px; }
.sc-t2-hero-skeleton-left .skeleton-desc { width: 80%; height: 18px; }
.sc-t2-hero-skeleton-left .skeleton-meta-row { width: 50%; height: 20px; }

.sc-t2-hero-skeleton-right {
    width: 420px;
    flex-shrink: 0;
}

.sc-t2-hero-skeleton-right .skeleton-media-card {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--sc-t2-radius-lg);
}

/* Hero Content */
.sc-t2-hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.sc-t2-hero-info {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.sc-t2-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sc-t2-badge {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    color: #fff;
    letter-spacing: 0.02em;
}

.sc-t2-course-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #fff;
}

.sc-t2-course-excerpt {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-t2-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

.sc-t2-author-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sc-t2-author-chip img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.sc-t2-meta-dot {
    opacity: 0.5;
}

.sc-t2-meta-date,
.sc-t2-meta-update {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sc-t2-meta-date svg {
    opacity: 0.7;
}

/* ═══ MEDIA CARD ═══ */
.sc-t2-media-card {
    width: 420px;
    flex-shrink: 0;
}

.sc-t2-media-card-inner {
    background: #fff;
    border-radius: var(--sc-t2-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.sc-t2-media-cover {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}

.sc-t2-media-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-t2-media-cover .video-preview,
.sc-t2-media-cover .sc-t2-video-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.sc-t2-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.sc-t2-play-btn:hover {
    background: rgba(0,0,0,0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.sc-t2-media-stats {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.sc-t2-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #4b5563;
    white-space: nowrap;
}

.sc-t2-stat-chip svg {
    color: var(--sc-t2-primary);
    flex-shrink: 0;
}

.sc-t2-stat-chip strong {
    color: var(--sc-t2-text);
}

.sc-t2-stat-chip span {
    color: var(--sc-t2-text-light);
}

/* ═══ PRICING BAR ═══ */
.sc-t2-pricing-bar {
    background: #fff;
    padding: 16px 0;
    box-shadow: var(--sc-t2-shadow-md);
    border-bottom: 1px solid var(--sc-t2-border);
    position: relative;
    z-index: 50;
}

.sc-t2-pricing-skeleton .skeleton-price-bar {
    height: 48px;
    border-radius: 8px;
}

.sc-t2-pricing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sc-t2-pricing-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sc-t2-pricing-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sc-t2-pricing-access {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.sc-t2-pricing-sub-only {
    font-weight: 700;
    font-size: 16px;
    color: var(--sc-t2-primary);
}

.sc-t2-pricing-sub-note {
    font-size: 13px;
    color: var(--sc-t2-text-light);
}

.sc-t2-price-free {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
}

.sc-t2-price-sale {
    font-size: 24px;
    font-weight: 800;
    color: var(--sc-t2-text);
}

.sc-t2-price-original {
    font-size: 15px;
    color: var(--sc-t2-text-lighter);
    text-decoration: line-through;
}

.sc-t2-price-discount {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
}

.sc-t2-price-regular {
    font-size: 24px;
    font-weight: 800;
    color: var(--sc-t2-text);
}

.sc-t2-trial-badge {
    font-size: 13px;
    font-weight: 600;
    color: #d97706;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

/* Pricing tabs */
.sc-t2-pricing-tabs {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.sc-t2-pricing-tab {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--sc-t2-border);
    background: #fff;
    color: var(--sc-t2-text-light);
    transition: all 0.2s;
}

.sc-t2-pricing-tab.active {
    background: var(--sc-t2-primary);
    color: #fff;
    border-color: var(--sc-t2-primary);
}

/* ═══ SUBSCRIPTION MODAL ═══ */
.sc-t2-sub-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.sc-t2-sub-modal.show {
    display: flex;
}

.sc-t2-sub-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.sc-t2-sub-modal-panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    width: 92%;
    max-width: 520px;
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
    animation: sc-t2-modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sc-t2-modal-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sc-t2-sub-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 28px 20px;
    position: relative;
    background: linear-gradient(135deg, var(--sc-t2-primary) 0%, #6366f1 100%);
    color: #fff;
}

.sc-t2-sub-modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: -0.01em;
}

.sc-t2-sub-modal-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

.sc-t2-sub-modal-close {
    background: rgba(255,255,255,0.15);
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #fff;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-t2-sub-modal-close:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: rotate(90deg);
}

.sc-t2-sub-modal-body {
    padding: 24px 28px 28px;
    overflow-y: auto;
    max-height: calc(88vh - 110px);
}

.sc-t2-sub-modal-body .sidebar-subscription-panel {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.sc-t2-sub-modal-body .sidebar-subscription-panel .subscription-plan-card {
    border-radius: 12px;
    border: 1px solid var(--sc-t2-border);
    transition: all 0.2s;
}

.sc-t2-sub-modal-body .sidebar-subscription-panel .subscription-plan-card:hover {
    border-color: var(--sc-t2-primary);
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
}

.sc-t2-sub-modal-body .sidebar-subscription-panel .etinion-btn {
    border-radius: 4px;
    font-weight: 600;
}

/* ═══ BUTTONS ═══ */
.sc-t2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    min-height: 44px;
    line-height: 1.2;
}

.sc-t2-btn .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sc-t2-btn .btn-text svg {
    flex-shrink: 0;
    vertical-align: middle;
}

.sc-t2-btn-primary {
    background: var(--sc-t2-primary);
    color: #fff;
}

.sc-t2-btn-primary:hover {
    background: var(--sc-t2-primary-hover);
}

.sc-t2-btn-outline {
    background: #fff;
    color: var(--sc-t2-text);
    border: 1px solid var(--sc-t2-border);
}

.sc-t2-btn-outline:hover {
    background: var(--sc-t2-bg-subtle);
    border-color: #d1d5db;
}

button.sc-t2-btn.sc-t2-btn-outline.free-trial-start-btn {
    padding: 15px 20px;
}

a.etinion-btn.etinion-btn-secondary.etinion-btn-block {
    margin-top: 10px;
    border: 2px solid #008fff;
    color: #008fff;
}

.sc-t2-btn-block {
    width: 100%;
}

.sc-t2-btn-sm {
    padding: 9px 18px;
    font-size: 13px;
    min-height: 38px;
}

.sc-t2-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sc-t2-btn .btn-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-t2-btn .etinion-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sc-t2-spin 0.8s linear infinite;
}

.sc-t2-btn-outline .etinion-spinner {
    border-color: rgba(0,0,0,0.15);
    border-top-color: var(--sc-t2-text);
}

@keyframes sc-t2-spin {
    to { transform: rotate(360deg); }
}

/* ═══ STICKY TAB STRIP ═══ */
.sc-t2-tab-strip {
    background: #fff;
    border-bottom: 1px solid var(--sc-t2-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.2s;
}

.sc-t2-tab-strip.is-stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sc-t2-tabs-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sc-t2-tabs-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sc-t2-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.sc-t2-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-t2-text-light);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.sc-t2-tab:hover {
    color: var(--sc-t2-text);
    background: var(--sc-t2-bg-subtle);
}

.sc-t2-tab.active {
    color: var(--sc-t2-primary);
    border-bottom-color: var(--sc-t2-primary);
}

.sc-t2-tab svg {
    opacity: 0.6;
}

.sc-t2-tab.active svg {
    opacity: 1;
}

/* ═══ CONTENT AREA ═══ */
.sc-t2-content-area {
    background: #fff;
    padding: 40px 0 60px;
    min-height: 400px;
}

.sc-t2-sections-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Content skeleton */
.sc-t2-content-skeleton .skeleton-section-box {
    margin-bottom: 32px;
}

.sc-t2-content-skeleton .skeleton-section-title {
    width: 200px;
    height: 24px;
    margin-bottom: 16px;
}

.sc-t2-content-skeleton .skeleton-line {
    width: 100%;
    height: 16px;
    margin-bottom: 10px;
}

.sc-t2-content-skeleton .skeleton-line.short {
    width: 60%;
}

/* Section spacing */
.sc-t2-section {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}

.sc-t2-section:last-child {
    margin-bottom: 0;
}

/* ═══ SECTION OVERRIDES — CURRICULUM (Timeline) ═══ */
.sc-t2-section .etinion-course-section#curriculum {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sc-t2-section .etinion-course-section#curriculum > .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin-bottom: 20px;
}

.sc-t2-section .curriculum-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sc-t2-section .curriculum-summary .summary-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--sc-t2-bg-subtle);
    border: 1px solid var(--sc-t2-border);
    font-size: 13px;
}

/* Timeline styling */
.sc-t2-section .curriculum-list {
    border-left: 2px solid var(--sc-t2-border);
    margin-left: 8px;
    padding-left: 28px;
}

.sc-t2-section .curriculum-section {
    position: relative;
    margin-bottom: 8px;
}

.sc-t2-section .curriculum-section::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sc-t2-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--sc-t2-primary);
    position: absolute;
    left: -36px;
    top: 16px;
    z-index: 1;
}

.sc-t2-section .curriculum-section-header {
    padding: 14px 18px;
    border-radius: var(--sc-t2-radius);
    background: var(--sc-t2-bg-subtle);
    border: 1px solid var(--sc-t2-border);
    cursor: pointer;
    transition: background 0.2s;
}

.sc-t2-section .curriculum-section-header:hover {
    background: #f3f4f6;
}

.sc-t2-section .curriculum-section-header .section-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sc-t2-section .curriculum-section-header .section-info .section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sc-t2-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.sc-t2-section .curriculum-section-header .section-meta {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    margin-top: 2px;
    padding-left: 24px;
}

.sc-t2-section .curriculum-section-header .section-meta .separator {
    margin: 0 4px;
    opacity: 0.5;
}

.sc-t2-section .curriculum-section-header .toggle-icon {
    display: inline-flex;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sc-t2-section .curriculum-section-header .toggle-icon.open {
    transform: rotate(180deg);
}

.sc-t2-section .curriculum-section-content {
    padding: 4px 0 4px 4px;
    display: none;
}

.sc-t2-section .material-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-t2-section .material-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.sc-t2-section .material-item:hover {
    background: var(--sc-t2-bg-subtle);
    border-color: var(--sc-t2-border);
}

.sc-t2-section .material-item .material-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.sc-t2-section .material-item .material-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--sc-t2-bg-subtle);
    border: 1px solid var(--sc-t2-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sc-t2-primary);
}

.sc-t2-section .material-item .material-info {
    flex: 1;
    min-width: 0;
}

.sc-t2-section .material-item .material-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--sc-t2-text);
    line-height: 1.4;
}

.sc-t2-section .material-item .material-title-text {
    word-break: break-word;
}

.sc-t2-section .material-item .material-meta {
    margin-top: 4px;
}

.sc-t2-section .material-item .material-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 6px;
    background: #eff6ff;
    color: var(--sc-t2-primary);
    border: 1px solid #dbeafe;
}

.sc-t2-section .material-item .material-pill-quiz {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.sc-t2-section .material-item .material-pill-attachments {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

.sc-t2-section .material-item .material-pill .attachment-icons {
    display: inline-flex;
    gap: 2px;
}

.sc-t2-section .material-item .material-pill .attachment-icon {
    display: inline-flex;
    opacity: 0.8;
}

.sc-t2-section .material-item .material-duration {
    font-size: 13px;
    color: var(--sc-t2-text-light);
    white-space: nowrap;
    font-weight: 500;
    background: var(--sc-t2-bg-subtle);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--sc-t2-border);
    flex-shrink: 0;
    margin-top: 2px;
}

.sc-t2-section .curriculum-view-more {
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--sc-t2-border);
    background: #fff;
    color: var(--sc-t2-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    margin-left: -28px;
}

.sc-t2-section .curriculum-view-more:hover {
    background: var(--sc-t2-bg-subtle);
}

/* ═══ SECTION OVERRIDES — DESCRIPTION ═══ */
.sc-t2-section .etinion-course-section#description {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sc-t2-section .etinion-course-section#description > .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin-bottom: 16px;
}

.sc-t2-section .course-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    max-width: 780px;
}

.sc-t2-section .course-description-content h2,
.sc-t2-section .course-description-content h3,
.sc-t2-section .course-description-content h4 {
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--sc-t2-text);
}

.sc-t2-section .description-toggle {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid var(--sc-t2-border);
    background: #fff;
    color: var(--sc-t2-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.sc-t2-section .description-toggle:hover {
    background: var(--sc-t2-bg-subtle);
}

/* ═══ SECTION OVERRIDES — INSTRUCTOR (Spotlight) ═══ */
.sc-t2-section-spotlight {
    background: var(--sc-t2-bg-subtle) !important;
    border-radius: var(--sc-t2-radius-lg);
    padding: 32px !important;
    margin-left: -32px;
    margin-right: -32px;
}

.sc-t2-section-spotlight .etinion-course-section#instructor {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sc-t2-section-spotlight .etinion-course-section#instructor > .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin-bottom: 20px;
}

.sc-t2-section-spotlight .instructor-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.sc-t2-section-spotlight .instructor-header {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.sc-t2-section-spotlight .instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--sc-t2-radius-lg) !important;
    object-fit: cover;
}

.sc-t2-section-spotlight .instructor-name {
    font-size: 20px;
    font-weight: 700;
}

.sc-t2-section-spotlight .instructor-title {
    font-size: 14px;
    color: var(--sc-t2-text-light);
}

.sc-t2-section-spotlight .instructor-stats {
    display: flex;
    gap: 16px;
    width: 100%;
}

.sc-t2-section-spotlight .instructor-stats .stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border-radius: var(--sc-t2-radius);
    border: 1px solid var(--sc-t2-border);
}

.sc-t2-section-spotlight .instructor-stats .stat-item strong {
    font-size: 18px;
    display: block;
}

.sc-t2-section-spotlight .instructor-stats .stat-item span {
    font-size: 12px;
    color: var(--sc-t2-text-light);
}

.sc-t2-section-spotlight .instructor-bio {
    display: none;
}

/* ═══ SECTION OVERRIDES — REVIEWS (Professional) ═══ */
.sc-t2-section .etinion-course-section#reviews,
.sc-t2-section .course-reviews {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sc-t2-section .etinion-course-section#reviews > .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin-bottom: 20px;
}

/* Reviews Header */
.sc-t2-section .reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sc-t2-section .reviews-header .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin: 0 0 4px;
}

.sc-t2-section .reviews-header .section-subtitle {
    font-size: 14px;
    color: var(--sc-t2-text-light);
    margin: 0;
}

.sc-t2-section .reviews-cta .etinion-btn {
    background: var(--sc-t2-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--sc-t2-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sc-t2-section .reviews-cta .etinion-btn:hover {
    background: var(--sc-t2-primary-hover);
}

.sc-t2-section .reviews-cta-hint {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    margin: 6px 0 0;
    max-width: 320px;
}

/* Reviews Grid - Summary + Feed side by side */
.sc-t2-section .reviews-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* Summary Card */
.sc-t2-section .reviews-summary-card {
    background: var(--sc-t2-bg-subtle);
    border: 1px solid var(--sc-t2-border);
    border-radius: var(--sc-t2-radius-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.sc-t2-section .summary-score {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sc-t2-border);
}

.sc-t2-section .score-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--sc-t2-text);
    line-height: 1;
    margin-bottom: 4px;
}

.sc-t2-section .score-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-t2-primary);
    margin: 4px 0;
}

.sc-t2-section .score-count {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    margin: 4px 0 8px;
}

.sc-t2-section .score-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 8px 0;
}

.sc-t2-section .score-stars .star svg {
    fill: none;
    stroke: #d1d5db;
}

.sc-t2-section .score-stars .star.is-active svg {
    fill: #f59e0b;
    stroke: #f59e0b;
}

.sc-t2-section .score-meta {
    font-size: 11px;
    color: var(--sc-t2-text-lighter);
    margin: 8px 0 0;
}

/* Breakdown Bars */
.sc-t2-section .summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-t2-section .breakdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-t2-section .breakdown-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-t2-text);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.sc-t2-section .breakdown-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.sc-t2-section .breakdown-progress {
    display: block;
    height: 100%;
    background: #f59e0b;
    border-radius: 999px;
    width: var(--progress, 0%);
    transition: width 0.3s ease;
}

.sc-t2-section .breakdown-value {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}

/* Feed Card */
.sc-t2-section .reviews-feed-card {
    min-width: 0;
}

.sc-t2-section .reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.sc-t2-section .reviews-sort {
    padding: 8px 12px;
    border: 1px solid var(--sc-t2-border);
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    color: var(--sc-t2-text);
    cursor: pointer;
}

/* Review Cards */
.sc-t2-section .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-t2-section .review-card {
    background: #fff;
    border: 1px solid var(--sc-t2-border);
    border-radius: var(--sc-t2-radius);
    padding: 20px;
    transition: box-shadow 0.2s;
}

.sc-t2-section .review-card:hover {
    box-shadow: var(--sc-t2-shadow-sm);
}

.sc-t2-section .review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sc-t2-section .review-card__profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-t2-section .review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sc-t2-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--sc-t2-border);
}

.sc-t2-section .review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-t2-section .review-card__avatar span {
    font-size: 14px;
    font-weight: 700;
    color: var(--sc-t2-primary);
}

.sc-t2-section .review-card__identity {
    min-width: 0;
}

.sc-t2-section .review-card__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-t2-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sc-t2-section .review-card__verified {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    align-items: center;
    justify-content: center;
}

.sc-t2-section .review-card__meta {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    margin: 0;
}

.sc-t2-section .review-card__rating {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.sc-t2-section .review-card__rating .star svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #d1d5db;
}

.sc-t2-section .review-card__rating .star.is-active svg {
    fill: #f59e0b;
    stroke: #f59e0b;
}

.sc-t2-section .review-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sc-t2-text);
    margin: 0 0 8px;
}

.sc-t2-section .review-card__body {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.sc-t2-section .review-card__body p {
    margin: 0;
}

.sc-t2-section .review-card__badges {
    margin-top: 10px;
}

.sc-t2-section .review-badge.is-pending {
    display: inline-flex;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 6px;
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Reviews actions / Load more */
.sc-t2-section .reviews-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.sc-t2-section .reviews-actions .etinion-btn-secondary {
    background: #fff;
    border: 1px solid var(--sc-t2-border);
    color: var(--sc-t2-text);
    padding: 10px 24px;
    border-radius: var(--sc-t2-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sc-t2-section .reviews-actions .etinion-btn-secondary:hover {
    background: var(--sc-t2-bg-subtle);
}

/* Empty / Skeleton / Error states */
.sc-t2-section .reviews-empty {
    text-align: center;
    padding: 48px 20px;
}

.sc-t2-section .reviews-empty__icon {
    margin-bottom: 16px;
    color: var(--sc-t2-text-lighter);
}

.sc-t2-section .reviews-empty__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sc-t2-text);
    margin: 0 0 8px;
}

.sc-t2-section .reviews-empty__subtitle {
    font-size: 14px;
    color: var(--sc-t2-text-light);
    margin: 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.sc-t2-section .reviews-skeleton {
    display: none;
    padding: 20px;
}

.sc-t2-section .reviews-skeleton.is-visible {
    display: grid;
    gap: 12px;
}

.sc-t2-section .reviews-skeleton .skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e5e5e5 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: sc-t2-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.sc-t2-section .reviews-skeleton .skeleton-line.short {
    width: 60%;
}

.sc-t2-section .reviews-error {
    padding: 16px;
    border-radius: var(--sc-t2-radius);
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    display: none;
}

.sc-t2-section .reviews-error:not(:empty) {
    display: block;
}

/* Review Modal Overrides */
.sc-t2-section .reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.sc-t2-section .reviews-modal[aria-hidden="false"] {
    display: flex;
}

.sc-t2-section .reviews-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.sc-t2-section .reviews-modal__panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--sc-t2-radius-lg);
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    padding: 24px;
}

.sc-t2-section .reviews-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sc-t2-section .reviews-modal__header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.sc-t2-section .reviews-modal__header .reviews-eyebrow {
    font-size: 12px;
    color: var(--sc-t2-text-light);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sc-t2-section .reviews-modal__header .modal-subtitle {
    font-size: 14px;
    color: var(--sc-t2-text-light);
    margin: 0;
}

.sc-t2-section .modal-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--sc-t2-text-light);
    border-radius: 8px;
    transition: background 0.15s;
}

.sc-t2-section .modal-close:hover {
    background: var(--sc-t2-bg-subtle);
}

/* Review Form */
.sc-t2-section .reviews-form .form-group {
    margin-bottom: 16px;
}

.sc-t2-section .reviews-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-t2-text);
    margin-bottom: 6px;
}

.sc-t2-section .reviews-form input[type="text"],
.sc-t2-section .reviews-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--sc-t2-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--sc-t2-text);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.sc-t2-section .reviews-form input[type="text"]:focus,
.sc-t2-section .reviews-form textarea:focus {
    outline: none;
    border-color: var(--sc-t2-primary);
    box-shadow: 0 0 0 3px rgba(30,77,216,0.1);
}

.sc-t2-section .reviews-form .form-rating {
    display: flex;
    gap: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.sc-t2-section .reviews-form .form-rating label {
    cursor: pointer;
    font-size: 0;
    margin: 0;
}

.sc-t2-section .reviews-form .form-rating label span {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--sc-t2-border);
    background: #fff;
    color: var(--sc-t2-text-light);
    transition: all 0.15s;
}

.sc-t2-section .reviews-form .form-rating input {
    display: none;
}

.sc-t2-section .reviews-form .form-rating label:hover span,
.sc-t2-section .reviews-form .form-rating label:hover ~ label span {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #f59e0b;
}

.sc-t2-section .reviews-form .form-rating input:checked ~ label span,
.sc-t2-section .reviews-form .form-rating input:checked + span {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}

.sc-t2-section .reviews-form .hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.sc-t2-section .reviews-form .form-footnote {
    font-size: 12px;
    color: var(--sc-t2-text-lighter);
    margin-bottom: 16px;
}

.sc-t2-section .reviews-form .form-footnote p {
    margin: 0;
}

.sc-t2-section .reviews-form .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.sc-t2-section .reviews-form .form-actions .etinion-btn {
    padding: 10px 20px;
    border-radius: var(--sc-t2-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.sc-t2-section .reviews-form .form-actions .etinion-btn-secondary {
    background: #fff;
    border: 1px solid var(--sc-t2-border);
    color: var(--sc-t2-text);
}

.sc-t2-section .reviews-form .form-message {
    margin-top: 12px;
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 14px;
}

.sc-t2-section .reviews-login-required {
    padding: 20px;
    text-align: center;
}

.sc-t2-section .reviews-login-required__message {
    font-size: 14px;
    color: var(--sc-t2-text-light);
    margin: 0 0 16px;
}

.sc-t2-section .reviews-login-required__message a {
    color: var(--sc-t2-primary);
    font-weight: 600;
}

.sc-t2-section .reviews-login-required__action .etinion-btn {
    background: var(--sc-t2-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--sc-t2-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
}

/* Reviews Toast */
.sc-t2-section .reviews-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: var(--sc-t2-radius);
    font-size: 14px;
    font-weight: 500;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: var(--sc-t2-shadow-lg);
    background: #059669;
    color: #fff;
}

/* ═══ COURSE DETAILS BOX (inside content area) ═══ */
.sc-t2-details-box-section {
    scroll-margin-top: 80px;
}

.sc-t2-details-box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sc-t2-text);
    margin: 0 0 20px;
}

.sc-t2-details-box-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.sc-t2-details-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px 16px;
    background: #fff;
    border: 1px solid var(--sc-t2-border);
    border-radius: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.sc-t2-details-box-item:hover {
    border-color: var(--sc-t2-primary);
    box-shadow: 0 4px 16px rgba(30,77,216,0.08);
    transform: translateY(-2px);
}

.sc-t2-details-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-t2-primary);
    font-size: 20px;
}

.sc-t2-details-box-label {
    font-size: 10px;
    color: var(--sc-t2-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    line-height: 1.3;
}

.sc-t2-details-box-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--sc-t2-text);
    line-height: 1.2;
}

/* ═══ EXTRA SECTIONS (Bundle, Trial, Affiliate) ═══ */
.sc-t2-extra-section {
    padding: 24px 0;
}

.sc-t2-extra-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    border-radius: var(--sc-t2-radius-lg);
    border: 1px solid var(--sc-t2-border);
    background: #fff;
}

.sc-t2-extra-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sc-t2-extra-header p {
    font-size: 14px;
    color: var(--sc-t2-text-light);
    margin: 0 0 16px;
}

/* Bundle scroll */
.sc-t2-bundle-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.sc-t2-bundle-card {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--sc-t2-radius);
    overflow: hidden;
    border: 1px solid var(--sc-t2-border);
    text-decoration: none;
    color: var(--sc-t2-text);
    transition: box-shadow 0.2s;
}

.sc-t2-bundle-card:hover {
    box-shadow: var(--sc-t2-shadow-md);
}

.sc-t2-bundle-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.sc-t2-bundle-title {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* Trial box */
.sc-t2-trial-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.sc-t2-trial-info h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.sc-t2-trial-info p {
    margin: 0;
    font-size: 14px;
    color: var(--sc-t2-text-light);
}

/* Affiliate box */
.sc-t2-affiliate-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7;
}

.sc-t2-affiliate-box svg {
    color: #059669;
    flex-shrink: 0;
}

.sc-t2-affiliate-box strong {
    display: block;
    font-size: 15px;
    color: #065f46;
}

.sc-t2-affiliate-box span {
    font-size: 13px;
    color: #047857;
}

/* ═══ FLOATING PILL ═══ */
.sc-t2-floating-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.25s ease-out;
}

.sc-t2-floating-pill.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sc-t2-pill-inner {
    background: #fff;
    border-radius: var(--sc-t2-radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 16px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--sc-t2-border);
}

.sc-t2-pill-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--sc-t2-text);
}

/* ═══ MOBILE STICKY FOOTER ═══ */
.sc-t2-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    border-top: 1px solid var(--sc-t2-border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.sc-t2-sticky-footer.show {
    transform: translateY(0);
}

.sc-t2-sticky-footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    max-width: var(--sc-t2-container);
    margin: 0 auto;
}

.sc-t2-sticky-price {
    flex-shrink: 0;
}

.sc-t2-sticky-price .price-sale {
    font-size: 18px;
    font-weight: 800;
    color: var(--sc-t2-text);
    display: block;
}

.sc-t2-sticky-price .price-original {
    font-size: 12px;
    color: var(--sc-t2-text-lighter);
    text-decoration: line-through;
}

.sc-t2-sticky-price .price-regular {
    font-size: 18px;
    font-weight: 800;
    color: var(--sc-t2-text);
}

.sc-t2-sticky-price .price-free {
    font-size: 18px;
    font-weight: 800;
    color: #059669;
}

.sc-t2-sticky-actions {
    flex: 1;
    display: flex;
    gap: 8px;
}

/* ═══ RESPONSIVE — ≤ 1199px ═══ */
@media (max-width: 1199px) {
    .sc-t2-hero-content {
        gap: 32px;
    }
    
    .sc-t2-media-card {
        width: 380px;
    }
    
    .sc-t2-course-title {
        font-size: 32px;
    }
    
    .sc-t2-floating-pill .sc-t2-pill-inner {
        min-width: 160px;
    }
}

/* ═══ RESPONSIVE — ≤ 991px (Tablet/Mobile) ═══ */
@media (max-width: 991px) {
    .sc-t2-hero {
        min-height: auto;
        padding: 32px 0;
    }
    
    .sc-t2-hero-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .sc-t2-hero-info {
        text-align: left;
        padding:0 16px;
    }

    .sc-t2-media-card-inner {
        border-radius:0px;
    }
    
    .sc-t2-media-card {
        width: 100%;
        max-width: 480px;
    }
    
    .sc-t2-course-title {
        font-size: 28px;
    }
    
    .sc-t2-course-excerpt {
        font-size: 15px;
    }
    
    .sc-t2-hero-skeleton {
        flex-direction: column-reverse;
    }
    
    .sc-t2-hero-skeleton-right {
        width: 100%;
        max-width: 480px;
    }
    
    /* Hide floating pill on mobile */
    .sc-t2-floating-pill {
        display: none !important;
    }
    
    /* Show sticky footer */
    .sc-t2-sticky-footer {
        display: block;
    }
    
    /* Pricing bar stack */
    .sc-t2-pricing-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sc-t2-pricing-right {
        width: 100%;
    }
    
    .sc-t2-pricing-right .sc-t2-btn {
        flex: 1;
    }
    
    /* Tab strip compact */
    .sc-t2-tab {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Instructor spotlight */
    .sc-t2-section-spotlight {
        margin-left: -24px;
        margin-right: -24px;
        padding: 24px !important;
        border-radius: 0;
    }
    
    .sc-t2-section-spotlight .instructor-stats {
        flex-wrap: wrap;
    }
    
    .sc-t2-section-spotlight .instructor-stats .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    /* Reviews 1 col */
    .sc-t2-section .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .sc-t2-section .reviews-summary-card {
        position: static;
    }
    
    /* Details box grid adjust */
    .sc-t2-details-box-scroll {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .sc-t2-details-box-item {
        padding: 14px 8px 12px;
    }
    
    /* Trial box stack */
    .sc-t2-trial-box {
        flex-direction: column;
        text-align: center;
    }

    /* Curriculum summary 4-box fit on mobile */
    .sc-t2-section .curriculum-summary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sc-t2-section .curriculum-summary .summary-item {
        justify-content: center;
        text-align: center;
        padding: 8px 10px;
        font-size: 12px;
        min-width: 0;
    }

    /* Subscription modal responsive */
    .sc-t2-sub-modal-panel {
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .sc-t2-sub-modal-header {
        padding: 20px 20px 16px;
    }

    .sc-t2-sub-modal-header h3 {
        font-size: 17px;
    }

    .sc-t2-sub-modal-body {
        padding: 20px;
        max-height: calc(90vh - 100px);
    }
}

/* ═══ RESPONSIVE — ≤ 767px ═══ */
@media (max-width: 767px) {
    .sc-t2-container {
        padding: 0 0px;
    }
    
    .sc-t2-course-title {
        font-size: 24px;
    }
    
    .sc-t2-hero {
        padding: 44px 0 0px;
    }
    
    .sc-t2-media-stats {
        gap: 8px;
        padding: 10px 12px;
    }

    .sc-t2-pricing-bar {
    padding: 20px 16px;
}
    
    .sc-t2-stat-chip {
        font-size: 12px;
    }
    
    .sc-t2-price-sale,
    .sc-t2-price-regular,
    .sc-t2-price-free {
        font-size: 20px;
    }
    
    .sc-t2-content-area {
        padding: 24px 16px 40px;
    }

    .sc-t2-extra-section {
    padding: 24px 16px;
}
    
    .sc-t2-section {
        margin-bottom: 32px;
    }
    
    .sc-t2-section-spotlight {
        padding: 20px !important;
    }
    
    .sc-t2-section-spotlight .instructor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .sc-t2-section-spotlight .instructor-avatar {
        width: 64px;
        height: 64px;
    }
    
    .sc-t2-section-spotlight .instructor-stats .stat-item {
        padding: 12px;
    }
    
    .sc-t2-section-spotlight .instructor-stats .stat-item strong {
        font-size: 16px;
    }
    
    .sc-t2-details-box-item {
        padding: 12px 8px;
    }
    
    .sc-t2-details-box-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .sc-t2-details-box-scroll {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ═══ RESPONSIVE — ≤ 575px ═══ */
@media (max-width: 575px) {
    .sc-t2-course-title {
        font-size: 22px;
    }
    
    .sc-t2-hero-meta {
        font-size: 13px;
        gap: 6px;
    }
    
    .sc-t2-author-chip img {
        width: 28px;
        height: 28px;
    }
    
    .sc-t2-pricing-tabs {
        width: 100%;
        margin-right: 0;
    }
    
    .sc-t2-pricing-tab {
        flex: 1;
        text-align: center;
    }
    
    .sc-t2-media-stats {
        flex-wrap: wrap;
    }
    
    .sc-t2-stat-chip {
        flex: 0 0 auto;
    }
    
    .sc-t2-details-box-scroll {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .sc-t2-details-box-item {
        padding: 10px 6px;
        border-radius: 10px;
    }
    
    .sc-t2-details-box-label {
        font-size: 10px;
    }
    
    .sc-t2-details-box-value {
        font-size: 13px;
    }
    
    .sc-t2-section .curriculum-list {
        margin-left: 4px;
        padding-left: 20px;
    }
    
    .sc-t2-section .curriculum-section::before {
        left: -28px;
        width: 12px;
        height: 12px;
    }
    
    .sc-t2-section .curriculum-view-more {
        margin-left: -20px;
    }
    
    /* Bundle cards smaller */
    .sc-t2-bundle-card {
        width: 160px;
    }

    /* Curriculum summary 2x2 tight fit */
    .sc-t2-section .curriculum-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .sc-t2-section .curriculum-summary .summary-item {
        padding: 6px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .sc-t2-section .curriculum-summary .summary-item svg,
    .sc-t2-section .curriculum-summary .summary-item i {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    /* Sub modal full width on small screens */
    .sc-t2-sub-modal-panel {
        width: 100%;
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .sc-t2-sub-modal {
        align-items: flex-end;
    }

    /* Buttons slightly smaller on mobile */
    .sc-t2-pricing-right .sc-t2-btn {
        padding: 14px 16px;
        font-size: 13px;
        min-height: 40px;
    }
}

/* ═══ VIDEO MODAL (reuse T1 classes) ═══ */
.etinion-sc-t2-body .etinion-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.etinion-sc-t2-body .etinion-video-modal.show {
    display: flex;
}

.etinion-sc-t2-body .etinion-video-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}

.etinion-sc-t2-body .etinion-video-modal .modal-dialog {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
}

.etinion-sc-t2-body .etinion-video-modal .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
}

.etinion-sc-t2-body .etinion-video-modal .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--sc-t2-radius);
}

.etinion-sc-t2-body .etinion-video-modal .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ═══ TOAST (reuse T1 styling) ═══ */
.etinion-sc-t2-body .etinion-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    left: auto;
    bottom: auto;
    transform: translateY(-10px);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    max-width: 360px;
    line-height: 1.4;
}

.etinion-sc-t2-body .etinion-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.etinion-sc-t2-body .etinion-toast-success {
    background: #059669;
    color: #fff;
}

.etinion-sc-t2-body .etinion-toast-error {
    background: #dc2626;
    color: #fff;
}

/* ═══ CART POPUP (reuse T1 styling) ═══ */
.etinion-sc-t2-body .etinion-cart-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.etinion-sc-t2-body .etinion-cart-popup.show {
    opacity: 1;
}

.etinion-sc-t2-body .etinion-cart-popup .cart-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

.etinion-sc-t2-body .etinion-cart-popup .cart-popup-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--sc-t2-radius-lg);
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: var(--sc-t2-shadow-lg);
}

.etinion-sc-t2-body .cart-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--sc-t2-border);
}

.etinion-sc-t2-body .cart-popup-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.etinion-sc-t2-body .cart-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--sc-t2-text-light);
    padding: 0;
    line-height: 1;
}

.etinion-sc-t2-body .cart-popup-body {
    padding: 16px 20px;
}

.etinion-sc-t2-body .cart-popup-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.etinion-sc-t2-body .cart-popup-image {
    width: 80px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
}

.etinion-sc-t2-body .cart-popup-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.etinion-sc-t2-body .cart-popup-price {
    font-size: 13px;
}

.etinion-sc-t2-body .popup-price-sale {
    font-weight: 700;
    color: var(--sc-t2-text);
    margin-right: 6px;
}

.etinion-sc-t2-body .popup-price-regular {
    color: var(--sc-t2-text-lighter);
    text-decoration: line-through;
}

.etinion-sc-t2-body .cart-popup-footer {
    padding: 12px 20px 16px;
}

/* ═══ PREVIEW BANNER ═══ */
.etinion-sc-t2-body .etinion-preview-banner {
    background: #f59e0b;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.etinion-sc-t2-body .etinion-preview-banner .etinion-btn-sm {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 8px;
    margin-left: 12px;
    text-decoration: none;
    font-size: 13px;
}

/* ═══ PAGE LOADING STATE ═══ */
.etinion-sc-t2-body.page-loading .sc-t2-hero-content,
.etinion-sc-t2-body.page-loading .sc-t2-pricing-content,
.etinion-sc-t2-body.page-loading .sc-t2-sections {
    display: none !important;
}

/* ═══ SECTION COMMON OVERRIDES ═══ */
.sc-t2-section .etinion-course-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

/* ═══ PREVENT HORIZONTAL OVERFLOW ═══ */
.etinion-sc-t2-body {
    overflow-x: hidden;
}

.sc-t2-pricing-bar,
.sc-t2-content-area {
    max-width: 100%;
    overflow-x: hidden;
}

.sc-t2-media-stats {
    max-width: 100%;
}
