/*
Theme Name: EduBlink Child
Template: edublink
Version: 1.0.0
*/

/* ======= Estilos existentes ======= */
@media (min-width: 1200px) {
	.eb-course-thumb-400 .edublink-single-course.course-style-5 img {
		min-height: 400px;
		object-fit: cover;
	}
}

.eb-instagram-grid.edublink-row {
	margin-right: -7.5px;
	margin-left: -7.5px;
}

.eb-instagram-grid .edublink-col-md-4 {
	padding-right: 5px;
	padding-left: 5px;
}

.edublink-course-details-features-item.course-price, 
.course-item-price {
	display: none !important;
}

.course-price {
	display: none !important;
}

.main-header-btn.edu-btn.btn-medium {
	display: none !important;
}

.edublink-woo-mini-cart-wrapper.woocommerce {
	display: none !important;
}

.header-top-email {
	display: none !important;
}

.header-top-phone {
	display: none !important;
}

.instructor {
	display: none !important;
}

.rating {
	display: none !important;
}

.course-rating::before {
	content: "★★★★★";  /* Five stars */
	color: #FFD700;    /* Gold star color */
	font-size: 16px;   /* Adjust size if needed */
}

.course-rating .rating-value {
	display: none !important; /* Hide dynamic rating numbers */
}

.edublink-course-review-wrapper {
	display: none !important;
}

.widget-instructor,
.widget-lp_price {
	display: none !important;
}

.course-instructor-category {
	display: none !important;
}

li.category {
	display: none !important;
}

.lp-btn-wishlist {
	display: none !important;
}

.lp-profile li a[href*="wishlist"],
.lp-profile li a[href*="orders"],
.lp-profile li a[href*="settings"] {
	display: none !important;
}

.learn-press-message,
.lp-alert-success,
.lp-notice-success {
	display: none !important;
}

/* ======= AI Engine Chat RTL Fix Universal ======= */
html[lang^="ar"], body.rtl, [dir="rtl"] { 
	direction: rtl; 
}

/* Barra de entrada: invertir orden */
html[lang^="ar"] .mwai-input-bar {
	display: flex !important;
	flex-direction: row-reverse !important;
	direction: rtl !important;
	text-align: right !important;
}

/* Botón: detectar cualquier button o elemento clickable dentro de la barra */
html[lang^="ar"] .mwai-input-bar button,
html[lang^="ar"] .mwai-input-bar [role="button"] {
	order: -1 !important;
	margin-left: .5rem !important;
	margin-right: 0 !important;
}

/* Input o textarea: texto y placeholder alineados a la derecha */
html[lang^="ar"] .mwai-input-bar input,
html[lang^="ar"] .mwai-input-bar textarea,
html[lang^="ar"] .mwai-input-bar [contenteditable="true"] {
	direction: rtl !important;
	text-align: right !important;
}

html[lang^="ar"] .mwai-input-bar input::placeholder,
html[lang^="ar"] .mwai-input-bar textarea::placeholder {
	text-align: right !important;
}

/* Mensajes: mantener flujo RTL */
html[lang^="ar"] .mwai-conversation {
	direction: rtl !important;
}

html[lang^="ar"] .mwai-conversation .mwai-msg {
	flex-direction: row-reverse !important;
	text-align: right !important;
}
