/* =========================================================
   COURSE PAGE
   Premium • Responsive • Light / Dark Mode
========================================================= */


/* =========================================================
   COURSE HERO
========================================================= */

.course-hero {
    position: relative;
    overflow: hidden;

    padding: 96px 0 78px;

    background:
        radial-gradient(
            circle at 88% 10%,
            var(--soft),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            var(--background),
            var(--background)
        );
}

.course-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -290px;
    right: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--primary),
            transparent 68%
        );

    opacity: 0.055;

    pointer-events: none;
}

.course-hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    bottom: -180px;
    left: -120px;

    border-radius: 50%;

    background: var(--primary);

    opacity: 0.035;

    pointer-events: none;
}

.course-hero .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   COURSE DETAIL LAYOUT
========================================================= */

.course-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    gap: 56px;

    align-items: start;
}


/* =========================================================
   COURSE CONTENT
========================================================= */

.course-detail-content {
    min-width: 0;
}

.course-detail-content .section-title {
    max-width: 850px;

    margin-bottom: 18px;

    letter-spacing: -0.025em;
}

.course-description {
    max-width: 790px;

    margin: 0 0 30px;

    color: var(--text-muted);

    font-size: 1.06rem;

    line-height: 1.85;
}


/* =========================================================
   COURSE TAGS
========================================================= */

.course-detail-content .tag,
.card .tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: fit-content;

    min-height: 30px;

    padding: 7px 12px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: var(--surface);

    color: var(--text);

    font-size: 0.76rem;

    font-weight: 750;

    line-height: 1;

    letter-spacing: 0.025em;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.course-detail-content .tag i,
.card .tag i {
    font-size: 0.75rem;
}


/* =========================================================
   COURSE ACCESS BADGES
========================================================= */

.course-access-tag {
    border-width: 1px;
}


/* FREE */

.free-course-tag {
    color: #15803d !important;

    background: rgba(34, 197, 94, 0.09) !important;

    border-color: rgba(34, 197, 94, 0.25) !important;
}


/* PAID */

.paid-course-tag {
    color: #2563eb !important;

    background: rgba(59, 130, 246, 0.09) !important;

    border-color: rgba(59, 130, 246, 0.25) !important;
}


/* =========================================================
   COURSE BADGES
========================================================= */

.course-badges {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-bottom: 4px;
}

.batch-status-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;
}


/* =========================================================
   BATCH STATUS
========================================================= */

/* BATCH UPCOMING */

.status-batch-upcoming {
    color: #2563eb !important;

    background: rgba(59, 130, 246, 0.09) !important;

    border-color: rgba(59, 130, 246, 0.25) !important;
}


/* BATCH ONGOING */

.status-batch-ongoing {
    color: #a16207 !important;

    background: rgba(234, 179, 8, 0.10) !important;

    border-color: rgba(234, 179, 8, 0.27) !important;
}


/* BATCH EXPIRED */

.status-batch-expired {
    color: #dc2626 !important;

    background: rgba(239, 68, 68, 0.09) !important;

    border-color: rgba(239, 68, 68, 0.25) !important;
}


/* BATCH UNAVAILABLE */

.status-batch-unavailable {
    color: #64748b !important;

    background: rgba(100, 116, 139, 0.09) !important;

    border-color: rgba(100, 116, 139, 0.22) !important;
}


/* =========================================================
   ENROLLMENT STATUS
========================================================= */

/* ENROLLMENT OPEN */

.status-enrollment-open {
    color: #15803d !important;

    background: rgba(34, 197, 94, 0.09) !important;

    border-color: rgba(34, 197, 94, 0.25) !important;
}


/* ENROLLMENT COMING SOON */

.status-enrollment-coming-soon {
    color: #d97706 !important;

    background: rgba(245, 158, 11, 0.09) !important;

    border-color: rgba(245, 158, 11, 0.25) !important;
}


/* ENROLLMENT CLOSED */

.status-enrollment-closed {
    color: #dc2626 !important;

    background: rgba(239, 68, 68, 0.09) !important;

    border-color: rgba(239, 68, 68, 0.25) !important;
}


/* UNAVAILABLE */

.status-unavailable {
    color: #64748b !important;

    background: rgba(100, 116, 139, 0.09) !important;

    border-color: rgba(100, 116, 139, 0.22) !important;
}


/* =========================================================
   COURSE META
========================================================= */

.course-meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

    margin-top: 27px;
}

.course-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    min-height: 39px;

    padding: 9px 13px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: var(--surface);

    color: var(--text-muted);

    font-size: 0.86rem;

    line-height: 1.3;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.025);
}

.course-meta span i {
    color: var(--primary);

    font-size: 0.9em;
}

.course-meta strong {
    color: var(--text);

    font-weight: 700;
}


/* =========================================================
   COURSE PRICE SECTION
========================================================= */

.course-price-section {
    margin-top: 27px;

    width: fit-content;

    max-width: 100%;
}


/* =========================================================
   PRICE TITLE
========================================================= */

.course-price-title {
    margin-bottom: 7px;

    color: var(--text);

    font-size: 0.92rem;

    font-weight: 650;

    line-height: 1.4;
}


/* =========================================================
   PRICE ROW
========================================================= */

.course-price-row {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

    color: var(--text);

    line-height: 1.4;
}


/* =========================================================
   CURRENT / DISCOUNTED PRICE
========================================================= */

.course-current-price {
    color: var(--text);

    font-size: 1.65rem;

    font-weight: 850;

    letter-spacing: -0.025em;

    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   ORIGINAL PRICE
========================================================= */

.course-original-price {
    color: var(--text-muted);

    font-size: 1rem;

    font-weight: 650;

    text-decoration-line: line-through;

    text-decoration-thickness: 1.5px;

    text-decoration-color: currentColor;

    opacity: 0.78;

    white-space: nowrap;
}


/* =========================================================
   DISCOUNT BADGE
========================================================= */

.course-discount {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 4px 8px;

    border: 1px solid rgba(34, 197, 94, 0.25);

    border-radius: 7px;

    background: rgba(34, 197, 94, 0.09);

    color: #15803d;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.02em;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   PRICE PERIOD
========================================================= */

.course-price-period {
    color: var(--text-muted);

    font-size: 0.84rem;

    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   COURSE MEDIA
========================================================= */

.course-detail-media {
    position: sticky;

    top: 100px;

    min-width: 0;
}

.course-detail-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    object-position: center;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: var(--surface);

    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.09);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.course-detail-image:hover {
    transform: translateY(-5px);

    box-shadow:
        0 26px 65px rgba(15, 23, 42, 0.13);
}


/* =========================================================
   COURSE ACTIONS
========================================================= */

.course-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.course-actions .btn {
    min-height: 45px;
}

.course-actions .btn i {
    margin-right: 5px;
}


/* =========================================================
   ENROLLMENT POPUP
========================================================= */

.enrollment-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    animation:
        enrollmentModalOverlayIn
        0.2s
        ease-out;
}


.enrollment-modal-content {
    position: relative;

    width: min(420px, 100%);

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: var(--surface);

    color: var(--text);

    text-align: center;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.22);

    animation:
        enrollmentModalIn
        0.22s
        ease-out;
}


.enrollment-modal-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 17px;

    border-radius: 50%;

    background: var(--soft);

    color: var(--primary);

    font-size: 1.35rem;
}


.enrollment-modal-title {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 1.25rem;

    font-weight: 800;

    line-height: 1.35;
}


.enrollment-modal-message {
    margin: 0 0 23px;

    color: var(--text-muted);

    font-size: 0.94rem;

    line-height: 1.65;
}


.enrollment-modal-close {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    min-height: 44px;

    padding: 11px 18px;

    border: 0;

    border-radius: 11px;

    background: var(--primary);

    color: #fff;

    font-size: 0.9rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}

.enrollment-modal-close:hover {
    opacity: 0.9;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(15, 23, 42, 0.14);
}


/* =========================================================
   PANELS
========================================================= */

.panel {
    position: relative;

    margin-top: 36px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            var(--surface),
            var(--surface)
        );

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.045);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.panel:hover {
    border-color: color-mix(
        in srgb,
        var(--primary) 20%,
        var(--border)
    );

    box-shadow:
        0 14px 42px rgba(15, 23, 42, 0.06);
}

.panel h2 {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 22px;

    color: var(--text);

    font-size: 1.22rem;

    font-weight: 800;

    line-height: 1.4;

    letter-spacing: -0.01em;
}

.panel h2 i {
    color: var(--primary);

    font-size: 1rem;
}

.panel ul {
    margin: 0;

    padding: 0;

    list-style: none;
}

.panel li {
    position: relative;

    margin-bottom: 14px;

    padding-left: 29px;

    color: var(--text-muted);

    line-height: 1.7;
}

.panel li:last-child {
    margin-bottom: 0;
}

.panel li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 1px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: var(--soft);

    color: var(--primary);

    font-size: 0.72rem;

    font-weight: 900;
}


/* =========================================================
   WHAT YOU'LL LEARN
========================================================= */

.panel:first-of-type ul {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 42px;

    row-gap: 15px;
}

.panel:first-of-type li {
    margin-bottom: 0;
}


/* =========================================================
   COURSE STATUS PANEL
========================================================= */

.course-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 16px;

    padding: 10px 14px;

    border: 1px solid var(--border);

    border-radius: 11px;

    font-size: 0.84rem;

    font-weight: 750;

    line-height: 1.2;
}

.course-status strong {
    font-weight: 750;
}


/* =========================================================
   STATUS COLORS
========================================================= */

.course-status.status-enrollment-open {
    color: #15803d !important;

    background: rgba(34, 197, 94, 0.09) !important;

    border-color: rgba(34, 197, 94, 0.25) !important;
}

.course-status.status-enrollment-coming-soon {
    color: #d97706 !important;

    background: rgba(245, 158, 11, 0.09) !important;

    border-color: rgba(245, 158, 11, 0.25) !important;
}

.course-status.status-enrollment-closed {
    color: #dc2626 !important;

    background: rgba(239, 68, 68, 0.09) !important;

    border-color: rgba(239, 68, 68, 0.25) !important;
}

.course-status.status-batch-ongoing {
    color: #a16207 !important;

    background: rgba(234, 179, 8, 0.10) !important;

    border-color: rgba(234, 179, 8, 0.27) !important;
}

.course-status.status-batch-expired {
    color: #dc2626 !important;

    background: rgba(239, 68, 68, 0.09) !important;

    border-color: rgba(239, 68, 68, 0.25) !important;
}

.course-status.status-unavailable {
    color: #64748b !important;

    background: rgba(100, 116, 139, 0.09) !important;

    border-color: rgba(100, 116, 139, 0.22) !important;
}


/* =========================================================
   LESSONS
========================================================= */

.lesson-list {
    display: flex;

    flex-direction: column;

    gap: 11px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.lesson-item {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 16px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--surface);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.lesson-item:hover {
    transform: translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--primary) 35%,
            var(--border)
        );

    background: var(--soft);

    box-shadow:
        0 7px 20px rgba(15, 23, 42, 0.055);
}

.lesson-number {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: var(--soft);

    color: var(--primary);

    font-size: 0.84rem;

    font-weight: 850;
}

.lesson-info {
    min-width: 0;

    flex: 1;
}

.lesson-info strong {
    display: block;

    margin-bottom: 4px;

    overflow: hidden;

    color: var(--text);

    font-size: 0.95rem;

    font-weight: 700;

    line-height: 1.4;

    text-overflow: ellipsis;
}

.lesson-info span {
    color: var(--text-muted);

    font-size: 0.81rem;

    line-height: 1.4;
}


/* =========================================================
   MUTED TEXT
========================================================= */

.muted {
    color: var(--text-muted);
}


/* =========================================================
   BACK LINK
========================================================= */

.back-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 26px;

    color: var(--text-muted);

    font-size: 0.88rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.back-link i {
    font-size: 0.8rem;
}

.back-link:hover {
    color: var(--primary);

    transform: translateX(-4px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty {
    padding: 45px 25px;

    border: 1px dashed var(--border);

    border-radius: 18px;

    background: var(--surface);

    color: var(--text-muted);

    text-align: center;

    line-height: 1.6;
}


/* =========================================================
   COURSE CARDS
========================================================= */

.card .tag {
    margin-bottom: 12px;
}


/* Course card thumbnails */

.card > img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    background: var(--surface);
}


/* Free course card */

.card .free-course-tag {
    color: #15803d !important;

    background: rgba(34, 197, 94, 0.09) !important;

    border-color: rgba(34, 197, 94, 0.25) !important;
}


/* Paid course card */

.card .paid-course-tag {
    color: #2563eb !important;

    background: rgba(59, 130, 246, 0.09) !important;

    border-color: rgba(59, 130, 246, 0.25) !important;
}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .course-hero {
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(255, 255, 255, 0.055),
            transparent 42%
        ),
        var(--background);
}

[data-theme="dark"] .course-hero::before {
    opacity: 0.09;
}

[data-theme="dark"] .course-hero::after {
    opacity: 0.055;
}


/* =========================================================
   DARK MODE — MEDIA
========================================================= */

[data-theme="dark"] .course-detail-image {
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .course-detail-image:hover {
    box-shadow:
        0 28px 68px rgba(0, 0, 0, 0.42);
}


/* =========================================================
   DARK MODE — PANELS
========================================================= */

[data-theme="dark"] .panel {
    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .panel:hover {
    box-shadow:
        0 16px 46px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   DARK MODE — FREE
========================================================= */

[data-theme="dark"] .free-course-tag,
[data-theme="dark"] .card .free-course-tag {
    color: #4ade80 !important;

    background: rgba(34, 197, 94, 0.12) !important;

    border-color: rgba(74, 222, 128, 0.25) !important;
}


/* =========================================================
   DARK MODE — PAID
========================================================= */

[data-theme="dark"] .paid-course-tag,
[data-theme="dark"] .card .paid-course-tag {
    color: #60a5fa !important;

    background: rgba(59, 130, 246, 0.13) !important;

    border-color: rgba(96, 165, 250, 0.25) !important;
}


/* =========================================================
   DARK MODE — PRICE
========================================================= */

[data-theme="dark"] .course-current-price {
    color: var(--text);
}

[data-theme="dark"] .course-original-price {
    color: var(--text-muted);

    opacity: 0.72;
}

[data-theme="dark"] .course-discount {
    color: #4ade80;

    background: rgba(34, 197, 94, 0.13);

    border-color: rgba(74, 222, 128, 0.25);
}

[data-theme="dark"] .course-price-period {
    color: var(--text-muted);
}


/* =========================================================
   DARK MODE — BATCH STATUS
========================================================= */

[data-theme="dark"] .status-batch-upcoming {
    color: #60a5fa !important;

    background: rgba(59, 130, 246, 0.13) !important;

    border-color: rgba(96, 165, 250, 0.25) !important;
}

[data-theme="dark"] .status-batch-ongoing,
[data-theme="dark"] .course-status.status-batch-ongoing {
    color: #facc15 !important;

    background: rgba(234, 179, 8, 0.13) !important;

    border-color: rgba(250, 204, 21, 0.25) !important;
}

[data-theme="dark"] .status-batch-expired,
[data-theme="dark"] .course-status.status-batch-expired {
    color: #f87171 !important;

    background: rgba(239, 68, 68, 0.13) !important;

    border-color: rgba(248, 113, 113, 0.25) !important;
}

[data-theme="dark"] .status-batch-unavailable {
    color: #94a3b8 !important;

    background: rgba(148, 163, 184, 0.10) !important;

    border-color: rgba(148, 163, 184, 0.20) !important;
}


/* =========================================================
   DARK MODE — ENROLLMENT STATUS
========================================================= */

[data-theme="dark"] .status-enrollment-open,
[data-theme="dark"] .course-status.status-enrollment-open {
    color: #4ade80 !important;

    background: rgba(34, 197, 94, 0.13) !important;

    border-color: rgba(74, 222, 128, 0.25) !important;
}

[data-theme="dark"] .status-enrollment-coming-soon,
[data-theme="dark"] .course-status.status-enrollment-coming-soon {
    color: #fbbf24 !important;

    background: rgba(245, 158, 11, 0.13) !important;

    border-color: rgba(251, 191, 36, 0.25) !important;
}

[data-theme="dark"] .status-enrollment-closed,
[data-theme="dark"] .course-status.status-enrollment-closed {
    color: #f87171 !important;

    background: rgba(239, 68, 68, 0.13) !important;

    border-color: rgba(248, 113, 113, 0.25) !important;
}

[data-theme="dark"] .status-unavailable,
[data-theme="dark"] .course-status.status-unavailable {
    color: #94a3b8 !important;

    background: rgba(148, 163, 184, 0.10) !important;

    border-color: rgba(148, 163, 184, 0.20) !important;
}


/* =========================================================
   DARK MODE — ENROLLMENT POPUP
========================================================= */

[data-theme="dark"] .enrollment-modal {
    background: rgba(0, 0, 0, 0.68);
}

[data-theme="dark"] .enrollment-modal-content {
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.50);
}


/* =========================================================
   POPUP ANIMATIONS
========================================================= */

@keyframes enrollmentModalOverlayIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes enrollmentModalIn {

    from {
        opacity: 0;

        transform:
            translateY(12px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .course-detail-layout {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(290px, 0.85fr);

        gap: 38px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .course-hero {
        padding: 72px 0 58px;
    }

    .course-detail-layout {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .course-detail-media {
        position: static;

        order: -1;
    }

    .course-detail-image {
        max-width: 760px;

        margin: 0 auto;
    }

    .course-detail-content {
        max-width: 850px;

        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .course-hero {
        padding: 58px 0 48px;
    }

    .course-description {
        margin-bottom: 25px;

        font-size: 0.98rem;

        line-height: 1.75;
    }

    .course-actions {
        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }

    .course-actions .btn {
        width: 100%;

        justify-content: center;

        text-align: center;
    }


    /* =====================================================
       PRICE
    ===================================================== */

    .course-price-section {
        margin-top: 22px;
    }

    .course-price-row {
        gap: 7px 9px;
    }

    .course-current-price {
        font-size: 1.5rem;
    }

    .course-original-price {
        font-size: 0.94rem;
    }

    .course-discount {
        min-height: 24px;

        padding: 4px 7px;

        font-size: 0.68rem;
    }

    .course-price-period {
        font-size: 0.8rem;
    }


    /* =====================================================
       PANELS
    ===================================================== */

    .panel {
        margin-top: 28px;

        padding: 23px;

        border-radius: 17px;
    }

    .panel:first-of-type ul {
        grid-template-columns: 1fr;

        row-gap: 13px;
    }

    .lesson-item {
        padding: 13px 14px;
    }

    .lesson-number {
        width: 36px;
        height: 36px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .course-hero {
        padding: 48px 0 40px;
    }

    .course-detail-content .section-title {
        margin-bottom: 15px;

        font-size: 1.7rem;

        line-height: 1.2;
    }

    .course-description {
        margin-bottom: 21px;

        font-size: 0.94rem;

        line-height: 1.7;
    }


    /* =====================================================
       COURSE BADGES
    ===================================================== */

    .course-badges {
        gap: 7px;
    }

    .course-detail-content .tag,
    .card .tag {
        min-height: 28px;

        padding: 6px 10px;

        font-size: 0.71rem;
    }

    .batch-status-tag {
        gap: 5px;
    }


    /* =====================================================
       COURSE META
    ===================================================== */

    .course-meta {
        gap: 9px;

        margin-top: 21px;
    }

    .course-meta span {
        min-height: 36px;

        padding: 8px 10px;

        font-size: 0.79rem;
    }


    /* =====================================================
       PRICE
    ===================================================== */

    .course-price-section {
        margin-top: 21px;
    }

    .course-price-title {
        margin-bottom: 6px;

        font-size: 0.86rem;
    }

    .course-price-row {
        gap: 6px 8px;
    }

    .course-current-price {
        font-size: 1.38rem;
    }

    .course-original-price {
        font-size: 0.88rem;
    }

    .course-discount {
        min-height: 23px;

        padding: 3px 7px;

        font-size: 0.65rem;
    }

    .course-price-period {
        font-size: 0.76rem;
    }


    /* =====================================================
       IMAGE
    ===================================================== */

    .course-detail-image {
        border-radius: 15px;
    }


    /* =====================================================
       PANELS
    ===================================================== */

    .panel {
        margin-top: 24px;

        padding: 19px;

        border-radius: 15px;
    }

    .panel h2 {
        margin-bottom: 18px;

        font-size: 1.08rem;
    }

    .panel li {
        padding-left: 26px;

        font-size: 0.91rem;

        line-height: 1.62;
    }

    .panel li::before {
        width: 18px;
        height: 18px;

        font-size: 0.65rem;
    }


    /* =====================================================
       STATUS
    ===================================================== */

    .course-status {
        padding: 9px 11px;

        font-size: 0.79rem;
    }


    /* =====================================================
       LESSONS
    ===================================================== */

    .lesson-info strong {
        font-size: 0.9rem;
    }

    .lesson-info span {
        font-size: 0.77rem;
    }


    /* =====================================================
       POPUP
    ===================================================== */

    .enrollment-modal {
        padding: 16px;
    }

    .enrollment-modal-content {
        padding: 23px 19px;

        border-radius: 17px;
    }

    .enrollment-modal-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 14px;

        font-size: 1.2rem;
    }

    .enrollment-modal-title {
        font-size: 1.12rem;
    }

    .enrollment-modal-message {
        font-size: 0.89rem;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .course-hero {
        padding: 40px 0 33px;
    }

    .course-detail-content .section-title {
        font-size: 1.5rem;
    }

    .course-description {
        font-size: 0.89rem;
    }

    .course-meta {
        gap: 7px;
    }

    .course-meta span {
        font-size: 0.75rem;
    }


    /* =====================================================
       PRICE
    ===================================================== */

    .course-current-price {
        font-size: 1.25rem;
    }

    .course-original-price {
        font-size: 0.82rem;
    }

    .course-discount {
        font-size: 0.61rem;
    }

    .course-price-period {
        font-size: 0.71rem;
    }


    /* =====================================================
       PANELS
    ===================================================== */

    .panel {
        padding: 16px;
    }

    .panel h2 {
        font-size: 1rem;
    }


    /* =====================================================
       LESSONS
    ===================================================== */

    .lesson-item {
        gap: 10px;

        padding: 11px;
    }

    .lesson-number {
        width: 32px;
        height: 32px;

        border-radius: 9px;

        font-size: 0.76rem;
    }


    /* =====================================================
       STATUS
    ===================================================== */

    .course-status {
        max-width: 100%;

        font-size: 0.74rem;
    }


    /* =====================================================
       POPUP
    ===================================================== */

    .enrollment-modal-content {
        padding: 20px 16px;
    }

}