.rtl {
	direction: rtl;
}

.rimg {
	border-radius: 10px;
}

.woocommerce-notices-wrapper
{
	display: none;
}

.ld-course-status-not-enrolled
{
	display: none !important;
}

.order-overview
{
	display: none !important;
}

.logged-in .button-class
display: none;
}

.met-link {
	background-color: #FFEB00;
}

.bg-y {
	background-color: #FFEB00;
	color: black;
	padding: 5px;
}

.met_user_info {
	background-color: #FFEB00;
	font-weight: bold;
	padding: 0px 10px;
	color: #222222
}
#kadence-breadcrumbs,
.wc-tabs{
    display: none !important;
}
.woocommerce-Tabs-panel h2, 
.woocommerce-Tabs-panel#tab-additional_information h2 {
    font-size: 14pt !important;
    margin-bottom: 15px;
    text-transform: none;
font-weight: normal;
}
.woocommerce span.onsale {
    display: none !important;
}

/* تصغير صورة المنتج على الشاشات الكبيرة فقط */
@media (min-width: 1024px) {
  .woocommerce div.product div.images {
    max-width: 400px;
    margin: 0 auto;
  }

  .woocommerce div.product div.summary {
    flex: 1;
  }
}

.woocommerce-checkout-review-order-table .cart-subtotal {
    display: none !important;
}

.cart-agreement-fullwidth {
    width: 100%;
    clear: both;
    margin: 30px 0;
    padding: 20px;
}


@media (max-width: 768px) { 
    .mobile-large-image {
        width: 180% !important;
        height: auto !important;
				max-width: none !important;
				position: relative;
				left: 50%;
				transform: translateX(-50%);
    }
}


@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');
.content-area {margin-top: 0 !important;}
        .course-widget * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .course-widget {
            font-family: 'Google Sans Code', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: #e4e4e7;
            padding: 20px;
        }

        .course-container {
            margin: 0 auto;
            background: #27272a;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
            overflow: hidden;
        }

        .course-header {
            background: #2d2d32;
            color: white;
            padding: 15px;
            border-bottom: 1px solid #3a3a40;
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .course-header-image img {
            width: 256px;
            object-fit: cover;
            border-radius: 8px;
        }

        .course-header-content {
            flex: 1;
            text-align: left;
        }

        .course-header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .course-stats {
            display: flex;
            justify-content: flex-start;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 15px;
        }

        .course-duration {
            font-size: 0.85rem;
            display: inline-block;
            background: #4ca760;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
        }

        .course-content {
            padding: 20px 15px;
        }

        .course-section {
            margin-bottom: 15px;
        }

        .course-section h2 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            padding-bottom: 10px;
        }

        /* Header Colors */
        .section-features h2 {
            color: #4ca760;
        }

        .section-prereqs h2 {
            color: #ef4444;
        }

        .section-instructor h2 {
            color: #3b82f6;
        }

        .section-desc {
            margin-bottom: 5px !important;
            font-size: 0.95rem;
            color: #a1a1aa;
        }

        .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 12px;
        }

        /* Box Styles - Unified Borders */
        .course-prereq-item, .course-feature-item {
            background: #2d2d32;
            padding: 15px;
            border-radius: 10px;
            transition: all 0.3s ease;
            border: 1px solid #3a3a40;
            position: relative;
            overflow: hidden;
        }

        .course-prereq-item::before, .course-feature-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            transition: width 0.3s ease;
        }

        /* Green Theme */
        .course-feature-item:hover { 
            transform: translateY(-3px); 
            box-shadow: 0 6px 16px rgba(76, 167, 96, 0.2); 
            border-color: #4ca760; 
        }
        .course-feature-item::before { background: linear-gradient(90deg, rgba(76, 167, 96, 0.05) 0%, transparent 100%); }
        .course-feature-item .feature_name { color: #4ca760; margin-bottom: 0px !important;}
        .course-feature-item .feaure_desc::before { content: '▸'; color: #4ca760; }

        /* Red Theme */
        .course-prereq-item:hover { 
            transform: translateY(-3px); 
            box-shadow: 0 6px 16px rgba(239, 68, 68, 0.2); 
            border-color: #ef4444; 
        }
        .course-prereq-item::before { background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%); }
        .course-prereq-item .feature_name { color: #ef4444; margin-bottom: 0px !important;}
        .course-prereq-item .feaure_desc::before { content: '▸'; color: #ef4444; }

        .feature_name {
            display: block;
            font-weight: 700;

            position: relative;
            z-index: 1;
            font-size: 0.95rem;
        }

        .feaure_desc {
            color: #e4e4e7;
            font-size: 0.80rem;
            line-height: 1.6;
            position: relative;
            z-index: 1;
            padding-left: 18px;
        }

        .feaure_desc::before {
            position: absolute;
            left: 0;
            font-style: normal;
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* Instructor Styles */
        .instructor-card {
            display: flex;
            background: #2d2d32;
            border: 1px solid #3a3a40;
            border-radius: 12px;
            padding: 20px;
            gap: 20px;
            align-items: center;
            margin-top: 15px;
        }
.instructor-card * {
margin-bottom: 0 !important;
}
        .instructor-photo {
    flex-shrink: 0; 
}

.instructor-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Keeps it a circle */
    object-fit: cover;  /* Prevents the face from stretching/distorting */
    border: 3px solid #3b82f6;
    display: block; /* Removes any weird spacing below the image */
}
        .instructor-info h3 {
            font-size: 1.4rem;
            color: white;
        }

        .instructor-title {
            color: #3b82f6;
            font-weight: 600;
            font-size: 0.95rem;
            text-transform: uppercase;
        }
        .instructor-exp {
            font-size: 0.9rem;
            color: #a1a1aa;
        }

        .instructor-bio {
            font-size: 0.95rem;
            color: #d1d5db;
            line-height: 1.4;
        }

        .recommended-courses { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
        .course-tag {
            background: #2d2d32;
            color: #a1a1aa;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            border: 1px solid #3a3a40;
            transition: all 0.2s;
            text-decoration: none;
            cursor: pointer;
        }
        .course-tag:hover { background: #4ca760; color: white; border-color: #4ca760; }


/* Header Color for Videos Section (Orange) */
.section-videos h2 {
    color: #f97316;
    border-bottom: 2px solid #3a3a40;
}

/* Video Box Theme */
.course-video-item {
    background: #2d2d32;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #3a3a40;
    position: relative;
    overflow: hidden;
}

.course-video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s ease;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
}

.course-video-item:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    border-color: #f97316; 
}

.course-video-item:hover::before { width: 100%; }

.course-video-item .feature_name { 
    color: #f97316; 
    margin-top: 15px; /* Adds space between the video and the title */
    margin-bottom: 0;
}

/* Responsive YouTube iframe wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Forces 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #1f1f22; 
    z-index: 1; /* Keeps video above the hover gradient */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Course details toggle --- */
.cnb-toggle-btn {
    display: inline-block;
    background: #cac8ae;
    color: #1f1c1c;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 18px;
}
.cnb-toggle-btn:hover { background: #3d8a4f; }
#cnb-collapsible.cnb-collapsed { display: none; }
        @media (max-width: 768px) {
             .course-widget {padding: 0;}
            .course-header { flex-direction: column; text-align: center; }
            .items-grid { grid-template-columns: 1fr; }
            .instructor-card { flex-direction: column; text-align: center; }
        }


/* Certifications - compact bar */
.instructor-certs {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #3a3a40;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.certs-label {
  font-size: 0.75rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px !important;
}

.cert-badge {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.cert-badge img {
  object-fit: contain;
}
