/**
 * Course Page Styles
 * Kurs tanıtım sayfası stilleri
 */

/* ============================================
   CSS Variables - Light & Dark Mode
   ============================================ */
:root {
    --oes-primary: #13022b;
    --oes-primary-dark: #13022b;
    --oes-primary-light: #493d87;
    --oes-success: #493d87;
    --oes-whatsapp: #128c7e;
    --oes-text: #100d2f;
    --oes-text-light: #6b7280;
    --oes-text-muted: #9ca3af;
    --oes-border: #e8e8e8;
    --oes-border-light: #f0f0f0;
    --oes-bg: #ffffff;
    --oes-bg-alt: #f0f7fb;
    --oes-bg-accent: #D1F0FF;
    --oes-white: #ffffff;
    --oes-hover: #D1F0FF;
    --oes-radius: 12px;
    --oes-radius-sm: 8px;
}

/* Dark Mode - KAPALI
   Kurs sayfası sadece light mode kullanır.
   Player'da dark mode aktiftir. */

/* ============================================
   Base Reset
   ============================================ */
.oes-course-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--oes-text);
    line-height: 1.6;
    color-scheme: light only;
    /* Force light mode - browser dark mode'u devre dışı */
}

/* WooCommerce Reset */
.woocommerce .oes-course-page .woocommerce-breadcrumb,
.woocommerce .oes-course-page .product_title,
.woocommerce .oes-course-page .woocommerce-product-rating,
.woocommerce .oes-course-page>.price,
.woocommerce .oes-course-page .product_meta,
.woocommerce .oes-course-page .woocommerce-tabs,
.woocommerce .oes-course-page .related.products {
    display: none !important;
}

/* ============================================
   Enrolled Notice
   ============================================ */
.oes-enrolled-notice {
    background: var(--oes-success);
    padding: 8px 0;
}

.oes-expired-notice {
    background: rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.25);
    padding: 10px 0;
}

.oes-expired-notice .oes-enrolled-notice-content {
    color: #b91c1c;
}

.oes-expired-notice svg {
    flex-shrink: 0;
    color: #b91c1c;
}

.oes-expired-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #dc2626;
    margin: 0 0 10px;
    font-weight: 500;
}

.oes-enrolled-notice-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    flex-wrap: wrap;
}

.oes-enrolled-notice-content>span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oes-enrolled-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .oes-enrolled-notice-content {
        font-size: 13px;
        padding: 0 16px;
    }

    .oes-enrolled-notice-content strong {
        display: block;
    }
}

.oes-btn-light {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--oes-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.oes-btn-light:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ============================================
   Hero Section
   ============================================ */
.oes-hero {
    background: linear-gradient(135deg, #0f0c2a 0%, #1a1650 60%, #2d1f6e 100%);
    padding: 40px 0 40px;
    color: var(--oes-white);
}

.oes-hero-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.oes-hero-text {
    max-width: 755px;
}

/* Category */
.oes-category {
    margin-bottom: 12px;
}

.oes-category a,
.oes-category span {
    display: inline-block;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 4px;
}

.oes-category a:hover {
    color: #c09760;
}


/* Title */
.oes-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -.02em;
    color: var(--oes-white);
}

.oes-hero .oes-description {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 20px;
    line-height: 1.4;
}

/* Meta Badges */
.oes-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.oes-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.oes-badge svg {
    opacity: 0.6;
    width: 16px;
    height: 16px;
}

.oes-category-badges {
    display: flex;
    gap: 10px;
}

.oes-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 164, 86, .15);
    border: 1px solid rgba(201, 164, 86, .3);
    color: #c9a456;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Instructor Mini */
.oes-instructor-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oes-instructor-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.oes-instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--oes-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.oes-instructor-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.oes-instructor-name {
    font-weight: 600;
    color: #fff;
}

/* Mobile Hero Media */
.oes-hero-media-mobile {
    display: none;
    margin-bottom: 24px;
}

.oes-hero-media-mobile .oes-video-wrapper {
    border-radius: var(--oes-radius);
    overflow: hidden;
}

.oes-hero-media-mobile iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.oes-hero-media-mobile img {
    width: 100%;
    height: auto;
    border-radius: var(--oes-radius);
}

/* ============================================
   Content Wrapper
   ============================================ */
.oes-content-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
    align-items: start;
}

.oes-main-content {
    max-width: 100%;
}

/* ============================================
   Sections
   ============================================ */
.oes-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--oes-border);
}

.oes-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.oes-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--oes-text);
}

/* ============================================
   Outcomes
   ============================================ */
.oes-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    color: #333;
}

.oes-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.oes-outcome-item svg {
    flex-shrink: 0;
    color: var(--oes-success);
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.oes-outcome-item span {
    font-size: 14px;
    line-height: 1.3;
}

/* ============================================
   Description
   ============================================ */
.oes-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--oes-text-light);
}

.oes-description-content p {
    margin: 0 0 16px;
}

.oes-description-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Curriculum Stats
   ============================================ */
.oes-curriculum-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--oes-text-light);
}

.oes-dot {
    color: var(--oes-border);
}

/* ============================================
   Accordion
   ============================================ */
.oes-accordion {
    border: 1px solid var(--oes-border);
    border-radius: var(--oes-radius-sm);
    overflow: hidden;
}

.oes-accordion-item {
    border-bottom: 1px solid var(--oes-border);
}

.oes-accordion-item:last-child {
    border-bottom: none;
}

.oes-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--oes-bg);
    cursor: pointer;
    user-select: none;
}

.oes-accordion-header:hover {
    background: #f1f5f9;
}

.oes-accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--oes-text);
}

.oes-accordion-title svg {
    color: var(--oes-text-light);
    width: 18px;
    height: 18px;
}

.oes-accordion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oes-lesson-count {
    font-size: 12px;
    color: var(--oes-text-light);
    text-transform: uppercase;
}

.oes-chevron {
    transition: transform 0.2s;
    color: var(--oes-text-light);
    width: 18px;
    height: 18px;
}

.oes-accordion-item.oes-open .oes-chevron {
    transform: rotate(180deg);
}

.oes-accordion-content {
    display: none;
    background: var(--oes-white);
}

.oes-accordion-item.oes-open .oes-accordion-content {
    display: block;
}

/* Lesson List */
.oes-lesson-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oes-lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid var(--oes-border);
    font-size: 14px;
}

.oes-lesson-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oes-lesson-info svg {
    color: var(--oes-text-light);
    width: 16px;
    height: 16px;
}

.oes-lesson-title {
    font-size: 14px;
    color: var(--oes-text);
}

.oes-lesson-duration {
    font-size: 13px;
    color: var(--oes-text-light);
}

/* ============================================
   Simple List (Gereksinimler, Kimin İçin)
   ============================================ */
.oes-simple-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oes-simple-list li {
    position: relative !important;
    padding: 6px 0 6px 20px !important;
    font-size: 15px !important;
    color: var(--oes-text-light) !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

.oes-simple-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 14px !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--oes-success) !important;
    border-radius: 50% !important;
}

.oes-simple-list li::marker {
    display: none !important;
}

/* ============================================
   Instructor Section
   ============================================ */
.oes-instructor-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--oes-gray-200);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.oes-instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--oes-primary), #34d399);
}

.oes-instructor-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.oes-instructor-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--oes-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.oes-instructor-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--oes-primary), #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 32px;
    color: var(--oes-white);
    flex-shrink: 0;
    border: 3px solid var(--oes-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.oes-instructor-details {
    flex: 1;
}

.oes-instructor-details h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--oes-text);
}

.oes-instructor-details .oes-instructor-title {
    margin: 0 0 12px;
    color: var(--oes-primary);
    font-size: 14px;
    font-weight: 500;
}

.oes-instructor-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.oes-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--oes-text);
    font-size: 14px;
    text-decoration: none;
    padding: 6px 12px;
    background: var(--oes-white);
    border-radius: 8px;
    border: 1px solid var(--oes-gray-200);
    transition: all 0.2s;
}

.oes-contact-link:hover {
    color: var(--oes-primary);
    border-color: var(--oes-primary);
    background: #f0fdf4;
}

.oes-contact-link svg {
    flex-shrink: 0;
    color: var(--oes-primary);
}

.oes-instructor-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.oes-instructor-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--oes-white);
    border: 1px solid var(--oes-gray-200);
    color: var(--oes-text-light);
    transition: all 0.2s;
}

.oes-instructor-social a:hover {
    background: var(--oes-primary);
    border-color: var(--oes-primary);
    color: var(--oes-white);
    transform: translateY(-2px);
}

.oes-instructor-bio {
    font-size: 15px;
    color: var(--oes-text-light);
    line-height: 1.7;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--oes-gray-200);
}

.oes-instructor-bio p {
    margin: 0;
}

@media (max-width: 480px) {
    .oes-instructor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .oes-instructor-contact {
        justify-content: center;
    }

    .oes-instructor-social {
        justify-content: center;
    }
}

/* ============================================
   Sidebar
   ============================================ */
.oes-sidebar {
    position: sticky;
    top: 130px;
    margin-top: -370px;
    z-index: 10;
}

.oes-purchase-card {
    background: var(--oes-white);
    border-radius: var(--oes-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
    z-index: 50;
}

.oes-card-content {
    padding: 2px;
}

/* Card Media - Video veya Görsel */
.oes-card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--oes-radius) var(--oes-radius) 0 0;
    max-height: 290px;
}

.oes-card-media img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}

.oes-card-media iframe {
    width: 100%;
    height: 180px;
    display: block;
}

/* Card Image - Sadece görsel */
.oes-card-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--oes-radius) var(--oes-radius) 0 0;
    max-height: 180px;
    background: #f8fafc;
}

.oes-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Price */
.oes-price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0px;
    padding: 15px 22px 0px;
}

.oes-old-price {
    font-size: 16px;
    color: var(--oes-text-light);
    text-decoration: line-through;
}

.oes-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--oes-text);
}

/* Enrolled Period Info */
.oes-enrolled-period {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--oes-radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
}

.oes-enrolled-period-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--oes-success);
    margin-bottom: 4px;
}

.oes-enrolled-period-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--oes-text);
}

.oes-enrolled-period-dates {
    display: block;
    font-size: 13px;
    color: var(--oes-text-light);
    margin-top: 2px;
}

/* Buttons */
.oes-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0px;
    position: relative;
    z-index: 100;
    padding: 15px 22px 18px;
}

.oes-card-buttons .cart {
    margin-bottom: 0 !important;
}

.oes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 22px;
    border-radius: var(--oes-radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    background: linear-gradient(135deg, #5a4da0, #3d3566) !important;
}

.oes-btn-primary {
    background: var(--oes-primary);
    color: var(--oes-white);
}

.oes-btn-primary:hover {
    background: var(--oes-primary-dark);
    color: var(--oes-white);
    box-shadow: 0 6px 20px rgba(90, 77, 160, .4);
    transform: translateY(-1px);
}

.oes-btn-whatsapp {
    color: var(--oes-whatsapp) !important;
    border: 1px solid var(--oes-whatsapp) !important;
    display: flex;
    align-items: center;
    padding: 7px 22px !important;
    border-radius: 99px;
    background: white !important;
}

.oes-btn-whatsapp:hover {
    background: var(--oes-whatsapp) !important;
    color: var(--oes-white) !important;
}

/* Card Features */
.oes-card-features {
    margin-top: 0px;
    padding: 24px;
    border-top: 1px solid var(--oes-border);
}

.oes-card-features h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--oes-text-light);
}

.oes-card-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oes-card-features li {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    font-size: 12px;
    color: var(--oes-text);
}

.oes-card-features li:first-child {
    padding-top: 0;
}

.oes-card-features li:last-child {
    padding-bottom: 0;
}

.oes-card-features li svg {
    color: var(--oes-primary);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* ============================================
   Mobile Bottom Bar
   ============================================ */
.oes-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--oes-bg);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
    border-top: 1px solid var(--oes-border);
    z-index: 1000;
    flex-direction: column;
    gap: 8px;
}

.oes-mobile-price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
}

.oes-mobile-price .oes-old-price {
    font-size: 11px;
    color: var(--oes-text-muted);
    text-decoration: line-through;
    margin-right: 4px;
}

.oes-mobile-price .oes-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--oes-text);
    letter-spacing: -0.3px;
}

.oes-mobile-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.oes-mobile-buttons form,
.oes-mobile-buttons .oes-mobile-cart-form {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 1 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin-bottom: 0 !important;
}

.oes-mobile-buttons .oes-mobile-period-btn {
    padding: 0 8px;
    background: var(--oes-bg-alt);
    border: 1px solid var(--oes-border-light);
    font-size: 11px;
    cursor: pointer;
    min-width: 90px;
    max-width: 120px;
    width: auto;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    transition: all 0.15s ease;
    color: var(--oes-text-light);
    font-weight: 500;
    flex-shrink: 0;
}

.oes-mobile-buttons .oes-btn {
    width: auto !important;
}

.oes-mobile-buttons .oes-mobile-period-btn:active {
    transform: scale(0.98);
    background: var(--oes-bg-accent);
}

.oes-mobile-buttons .oes-mobile-period-btn.selected {
    background: var(--oes-hover);
    border-color: var(--oes-primary);
    color: var(--oes-primary);
}

.oes-mobile-buttons .oes-mobile-period-btn.selected svg {
    stroke: var(--oes-primary);
}

.oes-mobile-buttons .oes-mobile-period-btn .oes-mpb-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.oes-mobile-buttons .oes-mobile-period-btn .oes-mpb-text {
    display: block;
    font-size: 11px;
}

.oes-mobile-buttons .oes-btn-primary {
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex: 1;
    width: auto !important;
    border-radius: 6px;
    height: 44px;
    letter-spacing: -0.2px;
}

.oes-btn-whatsapp-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--oes-whatsapp);
    color: var(--oes-white);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.oes-btn-whatsapp-mini:active {
    transform: scale(0.95);
    background: #22c55e;
}

.oes-btn-whatsapp-mini svg {
    width: 20px;
    height: 20px;
}

/* Sadece WhatsApp varsa full width + yazı göster */
.oes-btn-whatsapp-mini.oes-whatsapp-only {
    width: 100%;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    padding: 14px;
}

.oes-mobile-enrolled {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--oes-success);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   Ücretsiz Kurs Badge
   ============================================ */
.oes-free-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 20;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================
   İlgili Kurslar
   ============================================ */
.oes-related-courses {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--oes-border);
}

.oes-related-courses h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--oes-text);
    margin-bottom: 24px;
}

.oes-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.oes-related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--oes-border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.oes-related-card:hover {
    border-color: var(--oes-success);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.oes-related-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.oes-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oes-related-image .oes-free-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--oes-success);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.oes-related-info {
    padding: 16px;
}

.oes-related-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--oes-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oes-related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--oes-text-light);
    margin-bottom: 8px;
}

.oes-related-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--oes-text);
}

/* WooCommerce uyarılarını gizle */
.oes-course-page .woocommerce-info,
.oes-course-page .woocommerce-message,
.oes-course-page .woocommerce-error {
    display: none !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .oes-content-wrapper {
        grid-template-columns: 1fr;
    }

    .oes-hero {
        padding-bottom: 40px;
    }

    .oes-sidebar {
        display: none;
    }

    .oes-hero-media-mobile {
        display: block;
    }

    .oes-mobile-bottom-bar {
        display: flex;
    }

    .oes-course-page {
        padding-bottom: 80px;
    }

    .oes-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .oes-hero {
        padding: 24px 0 32px;
    }

    .oes-title {
        font-size: 24px;
    }

    .oes-hero .oes-description {
        font-size: 13px;
    }

    .oes-content-wrapper {
        padding: 24px 16px;
    }

    .oes-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .oes-outcomes-grid {
        grid-template-columns: 1fr;
    }

    .oes-section-title {
        font-size: 18px;
    }

    /* Mobil Bottom Bar Göster */
    .oes-mobile-bottom-bar {
        display: flex !important;
    }

    /* Çok küçük ekranlarda dönem butonunu optimize et */
    @media (max-width: 380px) {
        .oes-mobile-price {
            font-size: 15px;
        }

        .oes-mobile-buttons .oes-mobile-period-btn {
            min-width: 75px;
            padding: 0 6px;
            font-size: 10px;
        }

        .oes-mobile-buttons .oes-mobile-period-btn .oes-mpb-text {
            font-size: 10px;
        }

        .oes-mobile-buttons .oes-btn-primary {
            font-size: 12px;
        }
    }
}

@media (max-width: 640px) {
    .oes-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oes-related-courses {
        margin-top: 32px;
        padding-top: 32px;
    }

    .oes-related-courses h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .oes-hero-content {
        padding: 0 16px;
    }

    .oes-accordion-header {
        padding: 12px 14px;
    }

    .oes-lesson-item {
        padding: 10px 14px;
    }

    .oes-mobile-buttons .oes-btn-primary {
        padding: 12px 16px;
        font-size: 13px;
    }
}