:root {
	--mscx-platform-bg: #F7FAFF;
	--mscx-platform-surface: #FFFFFF;
	--mscx-platform-ink: #0A192F;
	--mscx-platform-accent: #1D8CF8;
	--mscx-platform-soft: #EAF4FF;
	--mscx-platform-line: #D8E7F7;
}

/* Single course purchase card */
body.mscx-course-page .tutor-price-preview-box { padding: 12px; }
body.mscx-course-page .tutor-price-box-thumbnail { margin-bottom: 12px; }
body.mscx-course-page .tutor-lead-info-btn-group { display: grid; gap: 8px; margin-block: 12px 4px; }
body.mscx-course-page .tutor-lead-info-btn-group > * { margin: 0 !important; }
body.mscx-course-page .tutor-lead-info-btn-group :where(a, button) { min-height: 48px; border-radius: 10px; box-shadow: none; }
body.mscx-course-page .tutor-lead-info-btn-group .mscx-buy-now { order: -10; background: var(--mscx-platform-accent); color: #fff; }
body.mscx-course-page .tutor-lead-info-btn-group .mscx-secondary-cart {
	order: -9;
	border-color: var(--mscx-platform-line) !important;
	background: var(--mscx-platform-surface) !important;
	color: var(--mscx-platform-accent) !important;
}
body.mscx-course-page .tutor-lead-info-btn-group .mscx-secondary-cart:hover,
body.mscx-course-page .tutor-lead-info-btn-group .mscx-secondary-cart:focus-visible { border-color: var(--mscx-platform-accent) !important; background: var(--mscx-platform-soft) !important; }
body.mscx-course-page .tutor-course-enrolled-info,
body.mscx-course-page .tutor-course-enrolled-wrap {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 10px 0 0;
	padding: 9px 10px;
	border: 1px solid var(--mscx-platform-line);
	border-radius: 9px;
	background: var(--mscx-platform-bg);
	color: var(--mscx-platform-ink);
	font-size: 11px;
	line-height: 1.6;
}
.mscx-course-card-extras { display: grid; gap: 9px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--mscx-platform-line); }
.mscx-course-resource-chip { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 5px 9px; border-radius: 999px; background: var(--mscx-platform-soft); color: var(--mscx-platform-ink); font-size: 10px; font-weight: 700; }
.mscx-course-resource-chip .dashicons { width: 14px; height: 14px; color: var(--mscx-platform-accent); font-size: 14px; }
.mscx-course-card-progress { display: grid; gap: 6px; }
.mscx-course-card-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(10,25,47,.68); font-size: 10px; }
.mscx-course-card-progress strong { color: var(--mscx-platform-ink); font-size: 11px; }
.mscx-mini-progress { display: block; overflow: hidden; height: 5px; border-radius: 999px; background: var(--mscx-platform-soft); }
.mscx-mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--mscx-platform-accent); }
body.mscx-course-page .tutor-single-course-main-content > .tutor-course-progress-wrapper,
body.mscx-course-page .tutor-single-course-main-content > .tutor-course-progress { display: none !important; }
body.mscx-course-page .mscx-certificate-button { min-height: 44px; margin-top: 8px; border-radius: 10px; font-size: 13px; }

body.mscx-course-page .mscx-share-panel { width: 246px; }
body.mscx-course-page .mscx-share-panel .tutor-social-share-wrap { grid-template-columns: 1fr 1fr; }
body.mscx-course-page .mscx-share-panel .tutor_share {
	justify-content: center;
	min-height: 42px !important;
	border-color: var(--mscx-platform-line) !important;
	background: var(--mscx-platform-bg) !important;
	color: var(--mscx-platform-ink) !important;
}
body.mscx-course-page .mscx-share-panel .tutor_share i { color: var(--mscx-platform-accent) !important; font-size: 17px; }
body.mscx-course-page .mscx-share-panel .tutor_share:hover { border-color: var(--mscx-platform-accent) !important; background: var(--mscx-platform-soft) !important; }

/* Course archive */
body.mscx-course-archive { background: var(--mscx-platform-bg); }
.mscx-archive-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 24px 26px; border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: var(--mscx-platform-surface); }
.mscx-archive-intro h1 { margin: 0 0 7px; color: var(--mscx-platform-ink); font: 800 clamp(25px,3vw,36px)/1.3 'Noto Kufi Arabic','IBM Plex Sans Arabic',sans-serif; }
.mscx-archive-intro p { max-width: 680px; margin: 0; color: rgba(10,25,47,.68); line-height: 1.8; }
.mscx-archive-intro span { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: var(--mscx-platform-soft); color: var(--mscx-platform-accent); font-size: 11px; font-weight: 800; }
body.mscx-course-archive .archive-filter-bars { margin-bottom: 18px; padding: 10px 14px; border: 1px solid var(--mscx-platform-line); border-radius: 12px; background: #fff; }
body.mscx-course-archive .archive-layout-switcher { display: none; }
body.mscx-course-archive .edumall-courses.style-list .modern-grid,
body.mscx-course-archive .edumall-courses .modern-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; height: auto !important; }
body.mscx-course-archive .edumall-courses .grid-item { position: relative !important; inset: auto !important; width: auto !important; margin: 0 !important; }
body.mscx-course-archive .course-loop-wrapper { display: flex !important; overflow: hidden; height: 100%; min-height: 100%; flex-direction: column; border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: #fff; box-shadow: none; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
body.mscx-course-archive .course-loop-wrapper:hover { border-color: var(--mscx-platform-accent); box-shadow: 0 10px 26px rgba(29,140,248,.08); transform: translateY(-4px); }
body.mscx-course-archive .tutor-course-header { width: 100% !important; }
body.mscx-course-archive .course-thumbnail { overflow: hidden; width: 100%; aspect-ratio: 16/10; border-radius: 0; }
body.mscx-course-archive .course-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
body.mscx-course-archive .course-loop-wrapper:hover .course-thumbnail img { transform: scale(1.035); }
body.mscx-course-archive .course-loop-info { display: flex; min-width: 0; flex: 1; flex-direction: column; width: 100% !important; padding: 16px 16px 10px !important; }
body.mscx-course-archive .course-loop-category { margin-bottom: 5px; color: var(--mscx-platform-accent); font-size: 10px; font-weight: 800; }
body.mscx-course-archive .course-loop-title { min-height: 50px; margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
body.mscx-course-archive .course-loop-title a { color: var(--mscx-platform-ink); }
body.mscx-course-archive .course-loop-title a:hover { color: var(--mscx-platform-accent); }
.mscx-card-instructor { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; color: rgba(10,25,47,.68); font-size: 11px; }
.mscx-card-instructor .dashicons { width: 15px; height: 15px; color: var(--mscx-platform-accent); font-size: 15px; }
body.mscx-course-archive .course-loop-meta-list { display: flex; flex-wrap: wrap; gap: 8px 12px; }
body.mscx-course-archive .course-loop-meta-item { margin: 0; color: rgba(10,25,47,.68); font-size: 10px; }
body.mscx-course-archive .course-loop-excerpt { min-height: 46px; margin-top: 9px; color: rgba(10,25,47,.68); font-size: 12px; line-height: 1.75; }
body.mscx-course-archive .course-loop-footer { display: flex; align-items: center; min-height: 48px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--mscx-platform-line); }
body.mscx-course-archive .course-loop-price .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 0; }
body.mscx-course-archive .course-loop-price ins { order: -1; color: var(--mscx-platform-accent); font-size: 20px; font-weight: 800; text-decoration: none; }
body.mscx-course-archive .course-loop-price del { color: rgba(10,25,47,.45); font-size: 12px; }
body.mscx-course-archive .course-loop-price .course-free { color: var(--mscx-platform-accent); font-size: 16px; font-weight: 800; }
body.mscx-course-archive .course-loop-buttons { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; width: 100%; padding: 0 16px 16px; }
body.mscx-course-archive .course-loop-enrolled-button { display: block; min-width: 0; }
body.mscx-course-archive .course-loop-buttons .add_to_cart_button,
body.mscx-course-archive .course-loop-buttons .tm-button-nm,
body.mscx-course-archive .mscx-card-view { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 7px 11px; border: 1px solid var(--mscx-platform-accent) !important; border-radius: 9px; background: var(--mscx-platform-accent) !important; color: #fff !important; font-size: 12px; font-weight: 800; }
body.mscx-course-archive .mscx-card-view { grid-column: 1/-1; border-color: var(--mscx-platform-line) !important; background: #fff !important; color: var(--mscx-platform-ink) !important; }
body.mscx-course-archive .mscx-card-view:hover { border-color: var(--mscx-platform-accent) !important; background: var(--mscx-platform-soft) !important; color: var(--mscx-platform-accent) !important; }
body.mscx-course-archive .course-loop-wishlist-button { position: absolute; z-index: 4; inset-block-start: -252px; inset-inline-end: 12px; margin: 0; }
body.mscx-course-archive .course-loop-wishlist-button .tm-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--mscx-platform-ink); }
body.mscx-course-archive .course-loop-wishlist-button .tm-button:hover,
body.mscx-course-archive .course-loop-wishlist-button .has-wish-listed { background: var(--mscx-platform-accent); color: #fff; }
body.mscx-course-archive :where(.shopengine_add_to_list_action,.shopengine-quickview-trigger,.shopengine_comparison_add_to_list_action,.course-loop-quick-view) { display: none !important; }
.mscx-card-resource { display: inline-flex; align-items: center; gap: 4px; width: max-content; margin-top: 8px; padding: 4px 7px; border-radius: 999px; background: var(--mscx-platform-soft); color: var(--mscx-platform-ink); font-size: 9px; font-weight: 700; }

/* Instructor dashboard and public profile */
body.mscx-tutor-dashboard,
body.mscx-instructor-profile { background: var(--mscx-platform-bg); }
body.mscx-tutor-dashboard .tutor-dashboard-content,
body.mscx-instructor-profile .tutor-dashboard-content { background: var(--mscx-platform-bg); }
body.mscx-tutor-dashboard .tutor-dashboard-content-inner,
body.mscx-instructor-profile .tutor-dashboard-content-inner { max-width: 1180px; margin-inline: auto; }
body.mscx-tutor-dashboard .tutor-dashboard-header-wrap,
body.mscx-instructor-profile .tutor-dashboard-header-wrap { min-height: 0; padding: 26px; border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: var(--mscx-platform-ink) !important; }
body.mscx-tutor-dashboard .tutor-dashboard-header,
body.mscx-instructor-profile .tutor-dashboard-header { min-height: 0; }
body.mscx-tutor-dashboard .tutor-dashboard-header-display-name,
body.mscx-instructor-profile .tutor-dashboard-header-display-name { color: #fff; font-size: 20px; font-weight: 800; }
body.mscx-tutor-dashboard .tutor-dashboard-header-avatar img,
body.mscx-instructor-profile .tutor-dashboard-header-avatar img { width: 82px; height: 82px; border: 4px solid rgba(255,255,255,.18); border-radius: 14px; object-fit: cover; }
body.mscx-tutor-dashboard .tutor-dashboard-header-stats,
body.mscx-instructor-profile .tutor-dashboard-header-stats { color: rgba(255,255,255,.72); }
body.mscx-tutor-dashboard .tutor-dashboard-content-inner > *,
body.mscx-instructor-profile .tutor-dashboard-content-inner > * { margin-block: 18px 0; }
body.mscx-tutor-dashboard .tutor-dashboard-content-inner .tutor-card,
body.mscx-tutor-dashboard .tutor-dashboard-content-inner .dashboard-profile-info,
body.mscx-instructor-profile .dashboard-profile-info,
body.mscx-instructor-profile .dashboard-info-card { border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: #fff; box-shadow: none; }
body.mscx-instructor-profile .dashboard-info-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body.mscx-instructor-profile .dashboard-info-card { min-height: 126px; padding: 16px; }
body.mscx-instructor-profile .dashboard-info-card-box { gap: 12px; }
body.mscx-instructor-profile .dashboard-info-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--mscx-platform-soft); color: var(--mscx-platform-accent); }
body.mscx-instructor-profile .dashboard-info-card-value { color: var(--mscx-platform-ink); font-size: 25px; font-weight: 800; }
body.mscx-instructor-profile .dashboard-profile-info { padding: 20px; }
body.mscx-instructor-profile .profile-bio:empty::after { content: 'لم تتم إضافة نبذة مهنية بعد.'; color: rgba(10,25,47,.58); }
.mscx-instructor-professional { margin-top: 18px; padding: 22px; border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: #fff; }
.mscx-profile-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mscx-profile-section-heading span { color: var(--mscx-platform-accent); font-size: 11px; font-weight: 800; }
.mscx-profile-section-heading h2 { margin: 3px 0 0; color: var(--mscx-platform-ink); font: 800 24px/1.4 'Noto Kufi Arabic','IBM Plex Sans Arabic',sans-serif; }
.mscx-profile-section-heading a { padding: 7px 11px; border: 1px solid var(--mscx-platform-line); border-radius: 8px; color: var(--mscx-platform-accent); font-size: 11px; font-weight: 800; }
.mscx-profile-bio,.mscx-profile-empty { max-width: 760px; color: rgba(10,25,47,.72); line-height: 1.9; }
.mscx-profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.mscx-profile-facts > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 9px; padding: 12px; border-radius: 10px; background: var(--mscx-platform-bg); }
.mscx-profile-facts .dashicons { grid-row: 1/3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--mscx-platform-soft); color: var(--mscx-platform-accent); font-size: 17px; }
.mscx-profile-facts small { color: rgba(10,25,47,.58); font-size: 10px; }
.mscx-profile-facts strong { color: var(--mscx-platform-ink); font-size: 12px; line-height: 1.6; }

body.mscx-tutor-dashboard .tutor-dashboard-content-inner input,
body.mscx-tutor-dashboard .tutor-dashboard-content-inner select { min-height: 42px; border-color: var(--mscx-platform-line); border-radius: 8px; }
body.mscx-tutor-dashboard .tutor-dashboard-content-inner .tutor-btn-primary { border-color: var(--mscx-platform-accent); background: var(--mscx-platform-accent); }
.mscx-instructor-access-note { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--mscx-platform-line); border-radius: 10px; background: var(--mscx-platform-soft); color: var(--mscx-platform-ink); font-size: 12px; }

/* Instructor registration */
body.mscx-instructor-registration { background: var(--mscx-platform-bg); }
body.mscx-instructor-registration .page-content { padding-block: 42px 70px; }
body.mscx-instructor-registration #tutor-registration-wrap { max-width: 780px !important; margin: 0 auto !important; padding: 26px; border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: #fff; box-shadow: none; }
body.mscx-instructor-registration #tutor-registration-wrap::before { display: block; margin-bottom: 6px; color: var(--mscx-platform-accent); content: 'انضم إلى فريق التعليم'; font-size: 12px; font-weight: 800; }
body.mscx-instructor-registration #tutor-registration-wrap::after { display: block; clear: both; content: ''; }
body.mscx-instructor-registration #tutor-registration-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 16px; }
body.mscx-instructor-registration #tutor-registration-form > :where(.tutor-input-field,.tutor-password-strength-checker) { margin: 0 !important; }
body.mscx-instructor-registration #tutor-registration-form > :where(.tutor-form-row,.mscx-instructor-form-section,.tutor-btn) { grid-column: 1/-1; }
body.mscx-instructor-registration .tutor-input-field label { color: var(--mscx-platform-ink); font-size: 12px; font-weight: 700; }
body.mscx-instructor-registration :where(input,textarea,select).tutor-form-control { min-height: 46px; border: 1px solid var(--mscx-platform-line); border-radius: 8px; background: var(--mscx-platform-bg); }
body.mscx-instructor-registration textarea.tutor-form-control { min-height: 118px; resize: vertical; }
body.mscx-instructor-registration :where(input,textarea):focus { border-color: var(--mscx-platform-accent); box-shadow: 0 0 0 3px rgba(29,140,248,.14); }
.mscx-instructor-form-section { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--mscx-platform-line); }
.mscx-instructor-form-section h3 { margin: 0 0 5px; color: var(--mscx-platform-ink); font: 800 20px/1.4 'Noto Kufi Arabic','IBM Plex Sans Arabic',sans-serif; }
.mscx-instructor-form-section > p { margin: 0 0 14px; color: rgba(10,25,47,.64); font-size: 12px; line-height: 1.8; }
.mscx-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 16px; }
.mscx-field-wide { grid-column: 1/-1; }
body.mscx-instructor-registration #tutor-registration-form > .tutor-btn { min-height: 48px; border-radius: 9px; background: var(--mscx-platform-accent); font-weight: 800; }

/* Cart and checkout */
body.mscx-commerce-cart,
body.mscx-commerce-checkout { background: var(--mscx-platform-bg); }
body.mscx-commerce-cart .page-content,
body.mscx-commerce-checkout .page-content { padding-block: 38px 72px; }
body.mscx-commerce-cart .woocommerce,
body.mscx-commerce-checkout .woocommerce { max-width: 1180px; margin-inline: auto; padding-inline: 18px; text-align: initial; }
body.mscx-commerce-cart :where(.wp-block-woocommerce-cart-items-block,.wp-block-woocommerce-cart-order-summary-block,.woocommerce-cart-form,.cart_totals),
body.mscx-commerce-checkout :where(.woocommerce-checkout-review-order,.wc-block-checkout__order-notes,.wc-block-components-sidebar-layout .wc-block-components-sidebar) { border: 1px solid var(--mscx-platform-line); border-radius: 14px; background: #fff; box-shadow: none; }
body.mscx-commerce-cart .wc-block-cart-items,
body.mscx-commerce-cart .shop_table { margin: 0; }
body.mscx-commerce-cart .wc-block-cart-item__image img,
body.mscx-commerce-cart .product-thumbnail img { width: 82px; border-radius: 10px; }
body.mscx-commerce-cart .wc-block-components-product-name,
body.mscx-commerce-cart .product-name a { color: var(--mscx-platform-ink); font-weight: 800; }
body.mscx-commerce-cart .wc-block-components-totals-coupon,
body.mscx-commerce-cart .coupon { padding: 14px; border-top: 1px solid var(--mscx-platform-line); }
body.mscx-commerce-cart :where(input,select),
body.mscx-commerce-checkout :where(input,select,textarea) { min-height: 46px; border: 1px solid var(--mscx-platform-line) !important; border-radius: 8px !important; background: #fff !important; }
body.mscx-commerce-cart :where(input,select):focus,
body.mscx-commerce-checkout :where(input,select,textarea):focus { border-color: var(--mscx-platform-accent) !important; box-shadow: 0 0 0 3px rgba(29,140,248,.13) !important; outline: none; }
body.mscx-commerce-cart :where(.wc-block-cart__submit-button,.checkout-button,.button),
body.mscx-commerce-checkout :where(#place_order,.wc-block-components-checkout-place-order-button,.button) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--mscx-platform-accent) !important; border-radius: 9px !important; background: var(--mscx-platform-accent) !important; color: #fff !important; font-weight: 800; }
body.mscx-commerce-cart :where(.wc-block-cart__submit-button,.checkout-button,.button):hover,
body.mscx-commerce-checkout :where(#place_order,.wc-block-components-checkout-place-order-button,.button):hover { border-color: var(--mscx-platform-ink) !important; background: var(--mscx-platform-ink) !important; }
body.mscx-commerce-cart .wp-block-woocommerce-cart-order-summary-block,
body.mscx-commerce-cart .cart_totals,
body.mscx-commerce-checkout .woocommerce-checkout-review-order { position: sticky; top: 24px; padding: 18px; }
body.mscx-commerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 26px; align-items: start; }
body.mscx-commerce-checkout #customer_details { display: grid; gap: 18px; }
body.mscx-commerce-checkout :where(.col2-set,.col-1,.col-2) { float: none; width: 100%; }
body.mscx-commerce-checkout h3 { color: var(--mscx-platform-ink); font-family: 'Noto Kufi Arabic','IBM Plex Sans Arabic',sans-serif; font-size: 20px; }
body.mscx-commerce-checkout .form-row { margin-bottom: 12px; }
body.mscx-commerce-checkout .woocommerce-checkout-review-order-table { border: 0; }

@media (max-width: 1050px) {
	body.mscx-course-archive .edumall-courses.style-list .modern-grid,
	body.mscx-course-archive .edumall-courses .modern-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	body.mscx-commerce-checkout form.checkout { grid-template-columns: 1fr 320px; }
}

@media (max-width: 767px) {
	.mscx-archive-intro { align-items: flex-start; flex-direction: column; padding: 18px; }
	body.mscx-course-archive .edumall-courses.style-list .modern-grid,
	body.mscx-course-archive .edumall-courses .modern-grid { grid-template-columns: 1fr; }
	body.mscx-course-archive .course-loop-wishlist-button { inset-block-start: -260px; }
	body.mscx-instructor-profile .dashboard-info-cards,
	.mscx-profile-facts { grid-template-columns: 1fr 1fr; }
	body.mscx-instructor-registration #tutor-registration-form,
	.mscx-form-grid { grid-template-columns: 1fr; }
	body.mscx-instructor-registration #tutor-registration-form > *,
	.mscx-field-wide { grid-column: 1; }
	body.mscx-commerce-checkout form.checkout { display: block; }
	body.mscx-commerce-checkout .woocommerce-checkout-review-order { position: static; margin-top: 18px; }
}

@media (max-width: 480px) {
	body.mscx-instructor-profile .dashboard-info-cards,
	.mscx-profile-facts { grid-template-columns: 1fr; }
	body.mscx-course-page .mscx-share-panel { width: min(246px,calc(100vw - 36px)); }
}

@media (prefers-reduced-motion: reduce) {
	body.mscx-course-archive .course-loop-wrapper,
	body.mscx-course-archive .course-thumbnail img { transition: none; }
}

/* Platform interaction details */
.mscx-header-count { position: absolute; z-index: 3; inset-block-start: -7px; inset-inline-end: -8px; display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 4px; border: 2px solid #fff; border-radius: 999px; background: var(--mscx-platform-accent); color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
.mscx-header-count[hidden] { display: none !important; }
a:has(> .mscx-header-count) { position: relative; }
.mscx-access-note { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; padding: 13px 14px; border: 1px solid var(--mscx-platform-line); border-radius: 10px; background: var(--mscx-platform-soft); color: var(--mscx-platform-ink); }
.mscx-access-note > .dashicons { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--mscx-platform-accent); }
.mscx-access-note p { margin: 2px 0 0; color: rgba(10,25,47,.65); font-size: 11px; }
.mscx-access-note a { margin-inline-start: auto; white-space: nowrap; padding: 8px 11px; border-radius: 8px; background: var(--mscx-platform-accent); color: #fff; font-size: 11px; font-weight: 800; }
.mscx-archive-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.mscx-archive-trust .dashicons { width: 17px; height: 17px; color: var(--mscx-platform-accent); font-size: 17px; }
.mscx-archive-trust span { padding: 0; background: transparent; color: rgba(10,25,47,.68); font-weight: 700; }
body.mscx-course-page :where(.tutor-social-share-wrap,.mscx-share-panel,.tutor-social-share)[data-mscx-share="1"] { width: min(300px,calc(100vw - 30px)); padding: 14px; border: 1px solid var(--mscx-platform-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(10,25,47,.12); }
body.mscx-course-page :where(.tutor-social-share-wrap,.mscx-share-panel,.tutor-social-share)[data-mscx-share="1"] > strong { display: block; margin-bottom: 10px; color: var(--mscx-platform-ink); font-size: 12px; }
.mscx-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mscx-share-actions :where(a,button) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 7px 9px; border: 1px solid var(--mscx-platform-line); border-radius: 8px; background: var(--mscx-platform-bg); color: var(--mscx-platform-ink); font: 700 10px/1.4 inherit; cursor: pointer; }
.mscx-share-actions :where(a,button):hover,.mscx-share-actions :where(a,button):focus-visible { border-color: var(--mscx-platform-accent); background: var(--mscx-platform-soft); color: var(--mscx-platform-accent); outline: none; }
.mscx-share-actions .mscx-copy-course { grid-column: 1/-1; }
.mscx-share-actions i { color: var(--mscx-platform-accent); font-size: 16px; }
body.mscx-course-page .mscx-buy-now,body.mscx-course-page .mscx-secondary-cart { display: inline-flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 8px !important; border-radius: 9px !important; font-weight: 800 !important; }
body.mscx-course-page .mscx-buy-now { border: 1px solid var(--mscx-platform-accent) !important; background: var(--mscx-platform-accent) !important; color: #fff !important; }
body.mscx-course-page .mscx-buy-now:hover { border-color: var(--mscx-platform-ink) !important; background: var(--mscx-platform-ink) !important; }
body.mscx-course-page .mscx-secondary-cart { border: 1px solid var(--mscx-platform-line) !important; background: #fff !important; color: var(--mscx-platform-accent) !important; }
body.mscx-course-page .mscx-secondary-cart:hover { border-color: var(--mscx-platform-accent) !important; background: var(--mscx-platform-soft) !important; }
body.mscx-course-archive .mscx-card-resource { align-self: flex-start; }
body.mscx-commerce-cart :where(.wc-block-cart,.woocommerce-cart-form),body.mscx-commerce-checkout :where(.wc-block-checkout,.woocommerce-checkout) { direction: rtl; }
@media (max-width: 767px) {
	.mscx-access-note { align-items: flex-start; flex-wrap: wrap; }
	.mscx-access-note a { width: 100%; margin: 0; text-align: center; }
	.mscx-archive-trust { margin-top: 4px; }
}
/* Course commerce and curriculum corrections — 1.1 */
body.mscx-course-page :where(.tutor-course-material-includes-wrap,.tutor-course-requirements-wrap) { display: none !important; }
body.mscx-course-page .tutor-course-instructors-wrap + .tutor-course-reviews-wrap:not(:has(form,article,.tutor-review,.tutor-review-item)) { display: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.mscx-course-page .tutor-course-instructors-wrap { margin-block-end: 0 !important; }
body.mscx-course-page .tutor-course-instructors-wrap + .mscx-related,
body.mscx-course-page .tutor-course-reviews-wrap + .mscx-related { margin-block-start: 18px !important; }

body.mscx-course-page .tutor-course-lesson h5 { position: relative; min-height: 70px; padding-left: 54px !important; }
body.mscx-course-page .tutor-course-lesson .lesson-preview-icon { position: absolute !important; top: 50%; left: 16px !important; right: auto !important; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 !important; transform: translateY(-50%); }
body.mscx-course-page .tutor-course-lesson .lesson-preview-icon i { margin: 0 !important; color: rgba(10,25,47,.46); }
body.mscx-course-page .tutor-course-lesson .lesson-preview-title { width: 100%; min-width: 0; padding-left: 4px; }

body.mscx-course-page .tutor-price-preview-box > .tutor-price.course-free.mscx-free-badge { display: inline-flex !important; align-items: center; width: max-content; min-height: 28px; margin: 12px 0 10px auto !important; padding: 5px 11px; border: 1px solid #B9DCF9; border-radius: 999px; background: #EAF4FF; color: #126FC4; font-size: 12px !important; font-weight: 800; line-height: 1; }
body.mscx-course-page .tutor-price-preview-box .tutor-course-single-pricing { display: none !important; }
body.mscx-course-page .tutor-price-preview-box > .tutor-price:not(.course-free) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 14px !important; }
body.mscx-course-page .tutor-price-preview-box .tutor-price .price,
body.mscx-course-page .tutor-price-preview-box .tutor-price p.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin: 0 !important; line-height: 1; }
body.mscx-course-page .tutor-price-preview-box .tutor-price ins,
body.mscx-course-page .tutor-price-preview-box .tutor-price del { display: inline-flex; align-items: baseline; line-height: 1; }
body.mscx-course-page .tutor-price-preview-box .tutor-price ins { order: -2; color: #0A192F; font-size: 28px; font-weight: 800; text-decoration: none; }
body.mscx-course-page .tutor-price-preview-box .tutor-price del { order: -1; color: rgba(10,25,47,.42); font-size: 14px; }
body.mscx-course-page .tutor-price-preview-box .woocommerce-Price-amount,
body.mscx-course-page .tutor-price-preview-box .woocommerce-Price-amount bdi { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
body.mscx-course-page .tutor-price-preview-box .woocommerce-Price-currencySymbol { font-size: .55em; font-weight: 800; }
body.mscx-course-page .tutor-price-preview-box .course-price-badge.onsale { order: 3; display: inline-flex; align-items: center; min-height: 27px; margin: 0 !important; padding: 4px 9px; border: 1px solid #B9DCF9; border-radius: 999px; background: #EAF4FF !important; color: #126FC4 !important; font-size: 10px; font-weight: 800; line-height: 1; }
body.mscx-course-page .mscx-buy-now { margin-top: 0 !important; margin-bottom: 8px !important; }
body.mscx-course-page .mscx-secondary-cart.mscx-in-cart { border-color: #B9DCF9 !important; background: #EAF4FF !important; color: #126FC4 !important; }
body.mscx-course-page .mscx-secondary-cart.is-loading { cursor: wait; opacity: .72; }

.mscx-course-card__price .price,
.mscx-course-card__price p.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 0 !important; line-height: 1; }
.mscx-course-card__price ins { color: #126FC4; font-size: 16px; font-weight: 800; text-decoration: none; }
.mscx-course-card__price del { color: rgba(10,25,47,.42); font-size: 11px; }
.mscx-course-card__price .woocommerce-Price-amount { white-space: nowrap; }
.mscx-course-card__free { display: inline-flex; padding: 4px 8px; border: 1px solid #B9DCF9; border-radius: 999px; background: #EAF4FF; color: #126FC4; font-size: 10px; font-weight: 800; }

.mscx-header-count { display: grid !important; min-width: 18px; }
.mscx-header-count[hidden] { display: grid !important; }
.mscx-cart-toast { position: fixed; z-index: 999999; right: 22px; bottom: 22px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto 28px; align-items: center; gap: 10px; width: min(470px,calc(100vw - 32px)); padding: 13px 14px; border: 1px solid #B9DCF9; border-radius: 12px; background: #FFFFFF; box-shadow: 0 16px 38px rgba(10,25,47,.16); color: #0A192F; opacity: 0; transform: translateY(12px); transition: opacity .2s ease,transform .2s ease; }
.mscx-cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.mscx-cart-toast > .dashicons { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #EAF4FF; color: #126FC4; font-size: 19px; }
.mscx-cart-toast div { display: grid; gap: 2px; min-width: 0; }
.mscx-cart-toast strong { font-size: 12px; }
.mscx-cart-toast div span { color: rgba(10,25,47,.62); font-size: 10px; }
.mscx-cart-toast a { white-space: nowrap; padding: 7px 10px; border: 1px solid #1D8CF8; border-radius: 8px; background: #1D8CF8; color: #fff; font-size: 10px; font-weight: 800; }
.mscx-cart-toast a:hover { border-color: #0A192F; background: #0A192F; }
.mscx-cart-toast button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: rgba(10,25,47,.55); cursor: pointer; }
.mscx-cart-toast button:hover { background: #EAF4FF; color: #0A192F; }
.mscx-cart-toast button .dashicons { width: 16px; height: 16px; font-size: 16px; }

body.mscx-commerce-cart .wp-block-woocommerce-empty-cart-block { min-height: 0 !important; padding-block: 38px 58px; }
body.mscx-commerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading { margin-block: 12px 24px; color: #0A192F; font-size: clamp(24px,3vw,34px); }

@media (max-width: 600px) {
	.mscx-cart-toast { right: 12px; bottom: 12px; grid-template-columns: 32px minmax(0,1fr) 26px; }
	.mscx-cart-toast a { grid-column: 2/3; width: max-content; }
	.mscx-cart-toast > .dashicons { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	.mscx-cart-toast { transition: none; }
}