/*
 * SkillGrox site-wide design system (inner pages). Loaded only when "Site-wide design" is ON (or ?sgx_site=1 for
 * editors). Everything is scoped to body.sgx-site-page; the SkillGrox header/footer come from skillgrox-home.css.
 * Rolling back = switch the setting OFF; no theme, plugin or content file is changed.
 */

/* ---------- tokens (same palette as the homepage and the course page) ---------- */
body.sgx-site-page {
	--sgx-navy-950: #E4F3E8;
	--sgx-navy-900: #14251D;
	--sgx-navy-800: #2A4033;
	--sgx-navy-700: #EEF6F0;
	--sgx-violet: #1E7A4C;
	--sgx-violet-700: #155C39;
	--sgx-blue: #1E7A4C;
	--sgx-indigo-200: #CDE8D5;
	--sgx-indigo-300: #B7D3C0;
	--sgx-ink: #14251D;
	--sgx-muted: #4B6156;
	--sgx-line: #D5E3D9;
	--sgx-tint: #FAFCF9;
	--sgx-grad: linear-gradient(135deg, #1E7A4C 0%, #155C39 40%, #1E7A4C 100%);
	--sgx-radius: 16px;
	--sgx-shadow: 0 1px 2px rgba(14, 42, 31, .06), 0 8px 24px rgba(14, 42, 31, .06);
	--sgx-shadow-lift: 0 2px 4px rgba(14, 42, 31, .06), 0 22px 44px rgba(30, 122, 76, .16);
	--sgx-ease: cubic-bezier(.2, .7, .2, 1);
	/* Tutor LMS reads its own palette from these variables */
	--tutor-color-primary: #1E7A4C;
	--tutor-color-primary-rgb: 62, 92, 138;
	--tutor-color-primary-hover: #155C39;
	--tutor-color-primary-hover-rgb: 50, 75, 114;
	--tutor-border-color: #D5E3D9;
	--tutor-body-color: #14251D;
	-webkit-font-smoothing: antialiased;
}

/* ---------- chrome: the theme header is replaced by the SkillGrox header ---------- */
html body.sgx-site-page.sgx-site-page header.whb-header,
html body.sgx-site-page.sgx-site-page .whb-header,
html body.sgx-site-page.sgx-site-page .whb-sticky-row { display: none !important; }
html body.sgx-site-page.sgx-site-page.single-product { padding-top: 0 !important; }
.sgx-site--chrome { display: contents; } /* keeps the sticky header sticky across the whole page */
.sgx-site--bottom { display: block; }
body.sgx-site-page .main-page-wrapper { margin-top: 0 !important; padding-top: 0; min-height: 0; }
body.sgx-site-page .website-wrapper { overflow: visible; }
body.sgx-site-page .sgx-skip { position: absolute; left: 12px; top: -80px; z-index: 100000; background: #FAFCF9; color: #14251D; padding: 10px 16px; border-radius: 10px; }
body.sgx-site-page .sgx-skip:focus { top: 12px; }

/* ---------- global page polish ---------- */
body.sgx-site-page { background: #fff; color: #14251D; }
body.sgx-site-page .main-page-wrapper { background: #fff; }
body.sgx-ctx-shop .main-page-wrapper, body.sgx-ctx-cart .main-page-wrapper, body.sgx-ctx-account .main-page-wrapper { background: var(--sgx-tint); }
body.sgx-site-page .main-page-wrapper > .container, body.sgx-site-page .main-page-wrapper .container { max-width: 1240px; }
body.sgx-site-page :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }
body.sgx-site-page .woocommerce-message, body.sgx-site-page .woocommerce-info, body.sgx-site-page .woocommerce-error {
	border-radius: 14px; border: 1px solid var(--sgx-line); background: #fff; box-shadow: var(--sgx-shadow); color: var(--sgx-ink);
}
body.sgx-site-page .woocommerce-message { border-left: 4px solid var(--sgx-violet); }

/* ---------- title band (shop, search, cart, account, pages) ---------- */
body.sgx-site-page .page-title {
	position: relative; overflow: hidden; margin: 0; padding: 0; background: #FAFCF9; background-image: none; isolation: isolate;
}
body.sgx-site-page .page-title::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(60% 120% at 90% 0%, rgba(232, 216, 184, .55) 0%, rgba(232, 216, 184, 0) 65%), radial-gradient(45% 100% at 0% 100%, rgba(30, 122, 76, .05) 0%, rgba(30, 122, 76, 0) 70%);
}
body.sgx-site-page .page-title .container { padding-top: 44px; padding-bottom: 40px; text-align: left; }
body.sgx-site-page .page-title .entry-title, body.sgx-site-page .page-title .title {
	color: #14251D; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-transform: none; margin: 0 0 8px; text-align: left;
}
body.sgx-site-page .page-title .wd-nav-product-cat, body.sgx-site-page .page-title .nav-shop, body.sgx-site-page .page-title .wd-nav { justify-content: flex-start; }
body.sgx-site-page .page-title .nav-shop .wd-nav-link, body.sgx-site-page .page-title .nav-shop a, body.sgx-site-page .page-title .nav-shop li {
	color: #4B6156; font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0;
}
html body.sgx-site-page.sgx-site-page .page-title .wd-breadcrumbs,
html body.sgx-site-page.sgx-site-page .page-title .woocommerce-breadcrumb,
html body.sgx-site-page.sgx-site-page .page-title .breadcrumbs { display: block !important; margin-bottom: 14px; color: #4B6156; text-align: left; font-size: .9rem; }
body.sgx-site-page .page-title .wd-breadcrumbs a, body.sgx-site-page .page-title .woocommerce-breadcrumb a, body.sgx-site-page .page-title .breadcrumbs a { color: #14251D; }
body.sgx-site-page .page-title .wd-breadcrumbs a:hover, body.sgx-site-page .page-title .woocommerce-breadcrumb a:hover { color: #14251D; }
body.sgx-site-page .page-title :is(a):focus-visible { outline-color: #B7D3C0; }
body.sgx-site-page.sgx-ctx-account .page-title .container, body.sgx-site-page.sgx-ctx-cart .page-title .container { padding-top: 36px; padding-bottom: 32px; }

/* ---------- course listing (shop, search, category) ---------- */
body.sgx-ctx-shop .main-page-wrapper { padding-top: 32px; padding-bottom: 56px; }
body.sgx-ctx-shop .shop-loop-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 0; }
body.sgx-ctx-shop .shop-loop-head .wd-products-per-page, body.sgx-ctx-shop .shop-loop-head .wd-products-shop-view { display: none; }
body.sgx-ctx-shop .woocommerce-result-count { margin: 0; color: var(--sgx-muted); font-size: .95rem; }
body.sgx-ctx-shop .woocommerce-ordering select, body.sgx-ctx-shop .woocommerce-ordering .orderby {
	min-height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--sgx-line); border-radius: 12px; background-color: #fff; color: var(--sgx-ink); font-weight: 600; box-shadow: none;
}
body.sgx-ctx-shop .wd-products.wd-grid-g {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; --wd-col-gap: 24px; margin: 0;
}
body.sgx-ctx-shop .wd-products.wd-grid-g > .wd-product, body.sgx-ctx-shop .wd-products .wd-product { width: auto !important; max-width: none; margin: 0 !important; padding: 0 !important; min-width: 0; }
body.sgx-ctx-shop .wd-product .product-wrapper {
	display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--sgx-line); border-radius: var(--sgx-radius);
	overflow: hidden; box-shadow: var(--sgx-shadow); transition: transform .25s var(--sgx-ease), box-shadow .25s var(--sgx-ease), border-color .25s;
	padding: 0; margin: 0;
}
body.sgx-ctx-shop .wd-product:hover .product-wrapper, body.sgx-ctx-shop .wd-product:focus-within .product-wrapper { transform: translateY(-4px); box-shadow: var(--sgx-shadow-lift); border-color: var(--sgx-indigo-200); }
body.sgx-ctx-shop .wd-product .content-product-imagin { display: none; }
body.sgx-ctx-shop .wd-product .product-element-top { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #EEF6F0; }
body.sgx-ctx-shop .wd-product .product-element-top .product-image-link { display: block; width: 100%; height: 100%; }
body.sgx-ctx-shop .wd-product .product-element-top img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--sgx-ease); }
body.sgx-ctx-shop .wd-product:hover .product-element-top img { transform: scale(1.04); }
body.sgx-ctx-shop .wd-product .product-labels { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; margin: 0; }
body.sgx-ctx-shop .wd-product .product-labels .product-label, body.sgx-ctx-shop .wd-product .onsale {
	position: static; min-width: 0; min-height: 0; width: auto; height: auto; padding: 5px 10px; border-radius: 999px; background: #FAFCF9; color: #14251D;
	font-size: .78rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
body.sgx-ctx-shop .wd-product .wd-buttons { top: 10px; right: 10px; left: auto; }
body.sgx-ctx-shop .wd-product .product-element-bottom {
	display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; margin: 0; text-align: left; background: transparent; position: static; transform: none; opacity: 1;
}
body.sgx-ctx-shop .wd-product .wd-product-cats, body.sgx-ctx-shop .wd-product .fade-in-block, body.sgx-ctx-shop .wd-product .hover-content { display: none !important; }
body.sgx-ctx-shop .wd-product .wd-entities-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; text-transform: none; min-height: 2.7em; }
body.sgx-ctx-shop .wd-product .wd-entities-title a { color: var(--sgx-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sgx-ctx-shop .wd-product .wd-entities-title a:hover { color: var(--sgx-violet-700); }
body.sgx-ctx-shop .wd-product .sgx-loop-meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--sgx-muted); font-size: .9rem; line-height: 1.3; }
body.sgx-ctx-shop .wd-product .sgx-loop-meta .sgx-icon { flex: none; color: var(--sgx-violet-700); }
body.sgx-ctx-shop .wd-product .wrap-price { margin: auto 0 0; padding-top: 4px; }
body.sgx-ctx-shop .wd-product .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--sgx-ink); line-height: 1.2; }
body.sgx-ctx-shop .wd-product .price .amount { color: var(--sgx-ink); font-weight: 800; }
body.sgx-ctx-shop .wd-product .price del { order: 2; font-size: .92rem; font-weight: 500; opacity: 1; }
body.sgx-ctx-shop .wd-product .price del .amount { color: var(--sgx-muted); font-weight: 500; }
body.sgx-ctx-shop .wd-product .price ins { order: 1; background: none; text-decoration: none; }
body.sgx-ctx-shop .wd-product .price .screen-reader-text { position: absolute; }
body.sgx-ctx-shop .wd-product .wd-add-btn {
	position: static !important; display: block; width: 100%; margin: 6px 0 0; padding: 0; opacity: 1 !important; visibility: visible !important; transform: none !important; height: auto; background: none;
}
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button, body.sgx-ctx-shop .wd-product .wd-add-btn .add_to_cart_button {
	display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 12px;
	background-color: #155C39; background-image: var(--sgx-grad); background-size: 160% 160%; background-position: 0 0; color: #fff; font-size: 1rem; font-weight: 700;
	letter-spacing: 0; text-transform: none; line-height: 1.2; box-shadow: 0 6px 16px rgba(30, 122, 76, .28);
	transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease), background-position .35s var(--sgx-ease);
}
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button:hover { background-position: 100% 100%; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30, 122, 76, .4); color: #fff; }
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button:active { transform: translateY(0) scale(.985); box-shadow: 0 3px 10px rgba(30, 122, 76, .4); transition-duration: .06s; }
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button:focus-visible { outline: 3px solid #1E7A4C; outline-offset: 3px; }
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button.loading { opacity: .75; }
body.sgx-ctx-shop .wd-product .wd-add-btn > a.added_to_cart, body.sgx-ctx-shop .wd-product .wd-add-btn .added_to_cart { display: block; margin-top: 8px; text-align: center; font-weight: 600; color: var(--sgx-violet-700); }

/* pagination */
body.sgx-ctx-shop .wd-pagination, body.sgx-ctx-shop .woocommerce-pagination { margin-top: 36px; }
body.sgx-ctx-shop .page-numbers { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0; list-style: none; }
body.sgx-ctx-shop .page-numbers li { margin: 0; border: 0; }
body.sgx-ctx-shop .page-numbers li > .page-numbers, body.sgx-ctx-shop a.page-numbers, body.sgx-ctx-shop span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sgx-line); border-radius: 12px;
	background: #fff; color: var(--sgx-ink); font-weight: 600; transition: border-color .15s, background-color .15s, color .15s;
}
body.sgx-ctx-shop a.page-numbers:hover, body.sgx-ctx-shop .page-numbers li > a:hover { border-color: var(--sgx-violet); color: var(--sgx-violet-700); }
body.sgx-ctx-shop .page-numbers .current, body.sgx-ctx-shop span.page-numbers.current, body.sgx-ctx-shop li > span.current { background: var(--sgx-violet-700); border-color: var(--sgx-violet-700); color: #fff; }

/* ---------- generic controls on every covered page ---------- */
body.sgx-site-page .main-page-wrapper :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select, textarea) {
	border: 1px solid #C9DCCF; border-radius: 12px; background-color: #fff; color: var(--sgx-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
body.sgx-site-page .main-page-wrapper :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select) { min-height: 48px; padding-left: 14px; padding-right: 14px; }
body.sgx-site-page .main-page-wrapper textarea { padding: 12px 14px; }
body.sgx-site-page .main-page-wrapper :is(input, select, textarea):focus { border-color: var(--sgx-violet); box-shadow: 0 0 0 3px rgba(30, 122, 76, .2); }
body.sgx-site-page .main-page-wrapper :is(label) { color: var(--sgx-ink); font-weight: 600; }
body.sgx-site-page .main-page-wrapper :is(.button.alt, .checkout-button, button.button[type="submit"], .woocommerce-Button, .woocommerce-form-login__submit, .woocommerce-form-register__submit, input[type="submit"], .wc-forward.button, #place_order, .woocommerce-button) {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 12px; background-color: #155C39; background-image: var(--sgx-grad);
	background-size: 160% 160%; background-position: 0 0; color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; line-height: 1.2;
	box-shadow: 0 8px 20px rgba(30, 122, 76, .3); transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease), background-position .35s var(--sgx-ease);
}
body.sgx-site-page .main-page-wrapper :is(.button.alt, .checkout-button, button.button[type="submit"], .woocommerce-Button, .woocommerce-form-login__submit, .woocommerce-form-register__submit, input[type="submit"], .wc-forward.button, .woocommerce-button):hover {
	background-position: 100% 100%; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .4); color: #fff;
}
body.sgx-site-page .main-page-wrapper :is(.button.alt, .checkout-button, button.button[type="submit"], .woocommerce-Button, input[type="submit"], .wc-forward.button, .woocommerce-button):active { transform: translateY(0) scale(.985); transition-duration: .06s; }

/* ---------- cart ---------- */
body.sgx-ctx-cart .main-page-wrapper { padding-top: 32px; padding-bottom: 56px; }
body.sgx-ctx-cart .woocommerce-cart-form, body.sgx-ctx-cart .cart_totals, body.sgx-ctx-cart .cart-empty {
	background: #fff; border: 1px solid var(--sgx-line); border-radius: var(--sgx-radius); box-shadow: var(--sgx-shadow); padding: 18px;
}
body.sgx-ctx-cart table.shop_table { border: 0; margin: 0; }
body.sgx-ctx-cart table.shop_table th { text-transform: none; letter-spacing: 0; color: var(--sgx-muted); font-size: .9rem; font-weight: 700; }
body.sgx-ctx-cart table.shop_table td { vertical-align: middle; }
body.sgx-ctx-cart .product-thumbnail img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
body.sgx-ctx-cart .cart_totals h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
body.sgx-ctx-cart .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; }
body.sgx-ctx-cart .return-to-shop .button { display: inline-flex; }
body.sgx-ctx-cart .cart-empty { text-align: center; padding: 40px 18px; font-size: 1.1rem; }

/* ---------- login, register, account ---------- */
body.sgx-ctx-account .main-page-wrapper { padding-top: 36px; padding-bottom: 64px; }
body.sgx-ctx-account .woocommerce-form-login, body.sgx-ctx-account .woocommerce-form-register, body.sgx-ctx-account .woocommerce-MyAccount-content,
body.sgx-ctx-account .u-column1.col-1, body.sgx-ctx-account .u-column2.col-2 {
	background: #fff; border: 1px solid var(--sgx-line); border-radius: var(--sgx-radius); box-shadow: var(--sgx-shadow); padding: 24px;
}
body.sgx-ctx-account .u-column1 .woocommerce-form-login, body.sgx-ctx-account .u-column2 .woocommerce-form-register { border: 0; box-shadow: none; padding: 0; }
body.sgx-ctx-account .u-columns { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { body.sgx-ctx-account .u-columns { grid-template-columns: 1fr 1fr; } }
body.sgx-ctx-account .u-columns > .u-column1, body.sgx-ctx-account .u-columns > .u-column2 { width: 100%; float: none; max-width: none; }
body.sgx-ctx-account h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
body.sgx-ctx-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--sgx-line); border-radius: var(--sgx-radius); box-shadow: var(--sgx-shadow); }
body.sgx-ctx-account .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
body.sgx-ctx-account .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; color: var(--sgx-ink); font-weight: 600; text-transform: none; }
body.sgx-ctx-account .woocommerce-MyAccount-navigation a:hover, body.sgx-ctx-account .woocommerce-MyAccount-navigation .is-active a { background: #E4F3E8; color: var(--sgx-violet-700); }

/* ---------- Tutor LMS pages and generic content pages ---------- */
body.sgx-site-page .tutor-btn-primary, body.sgx-site-page .tutor-btn.tutor-btn-primary {
	border: 0; border-radius: 12px; background-color: #155C39; background-image: var(--sgx-grad); color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(30, 122, 76, .26);
	transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease);
}
body.sgx-site-page .tutor-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .38); color: #fff; }
body.sgx-site-page .tutor-btn-outline-primary { border-radius: 12px; }
body.sgx-ctx-tutor .tutor-course-card, body.sgx-ctx-tutor .tutor-card { border-radius: var(--sgx-radius); border: 1px solid var(--sgx-line); box-shadow: var(--sgx-shadow); overflow: hidden; }
body.sgx-ctx-tutor .tutor-course-card:hover { box-shadow: var(--sgx-shadow-lift); }
body.sgx-ctx-tutor .tutor-course-name a, body.sgx-ctx-tutor .tutor-course-name { color: var(--sgx-ink); font-weight: 700; }
body.sgx-ctx-page .main-page-wrapper { padding-top: 0; }

/* back to top */
body.sgx-site-page .scrollToTop { border-radius: 50%; box-shadow: var(--sgx-shadow); }

@media (max-width: 767px) {
	body.sgx-site-page .page-title .container { padding-top: 32px; padding-bottom: 28px; }
	body.sgx-ctx-shop .wd-products.wd-grid-g { grid-template-columns: 1fr; gap: 18px; }
	body.sgx-ctx-shop .main-page-wrapper { padding-top: 20px; }
	body.sgx-ctx-shop .shop-loop-head { flex-direction: column; align-items: stretch; }
	body.sgx-ctx-shop .woocommerce-ordering { width: 100%; }
	body.sgx-ctx-shop .woocommerce-ordering select { width: 100%; }
	body.sgx-ctx-cart .woocommerce-cart-form, body.sgx-ctx-cart .cart_totals { padding: 12px; }
	body.sgx-ctx-account .woocommerce-form-login, body.sgx-ctx-account .woocommerce-form-register, body.sgx-ctx-account .woocommerce-MyAccount-content { padding: 18px; }
}
@media (min-width: 600px) and (max-width: 767px) { body.sgx-ctx-shop .wd-products.wd-grid-g { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
	body.sgx-site-page *, body.sgx-site-page *::before, body.sgx-site-page *::after { scroll-behavior: auto !important; }
	body.sgx-ctx-shop .wd-product .product-wrapper, body.sgx-ctx-shop .wd-product .product-element-top img,
	body.sgx-ctx-shop .wd-product .wd-add-btn > a.button, body.sgx-site-page .main-page-wrapper :is(.button.alt, .checkout-button, button.button[type="submit"], input[type="submit"]) { transition: none; }
	body.sgx-ctx-shop .wd-product:hover .product-wrapper, body.sgx-ctx-shop .wd-product:hover .product-element-top img, body.sgx-ctx-shop .wd-product .wd-add-btn > a.button:hover { transform: none; }
}

/* lesson count above the price, same position on every card */
body.sgx-ctx-shop .wd-product .wrap-price { display: flex; flex-direction: column; gap: 8px; }
body.sgx-ctx-shop .wd-product .wrap-price .sgx-loop-meta { order: -1; }
body.sgx-site-page .page-title .sgx-pagehead__meta { margin: 0; color: #4B6156; font-size: 1.02rem; }
body.sgx-site-page .page-title .wd-btn-show-cat, body.sgx-site-page .page-title .wd-nav-product-cat { display: none; }


/* ---------- refinements ---------- */
body.sgx-site-page .page-title { text-align: left; }
body.sgx-site-page .page-title .container { display: flex; flex-direction: column; align-items: flex-start; }
body.sgx-site-page .page-title .sgx-pagehead__meta { display: block; }
body.sgx-ctx-shop .wd-product .product-element-bottom, body.sgx-ctx-shop .wd-product .wrap-price { align-items: flex-start; text-align: left; }
body.sgx-ctx-shop .wd-product .sgx-loop-meta, body.sgx-ctx-shop .wd-product .price { justify-content: flex-start; text-align: left; }

/* Woodmart login / register layout */
body.sgx-ctx-account .wd-registration-page { max-width: 1040px; margin-left: auto; margin-right: auto; }
body.sgx-ctx-account .wd-registration-page .col-login, body.sgx-ctx-account .wd-registration-page .col-register { margin-bottom: 24px; }
body.sgx-ctx-account .wd-registration-page .wd-login-title, body.sgx-ctx-account .wd-registration-page h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; color: var(--sgx-ink); text-transform: none; }
body.sgx-ctx-account .wd-registration-page .col-register-text { background: #fff; border: 1px solid var(--sgx-line); border-radius: var(--sgx-radius); box-shadow: var(--sgx-shadow); padding: 24px; }
body.sgx-ctx-account .wd-registration-page .wd-login-divider { color: var(--sgx-muted); text-transform: none; }
body.sgx-ctx-account .btn.wd-switch-to-register, body.sgx-ctx-account .wd-registration-page .btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border: 2px solid var(--sgx-violet); border-radius: 12px; background: transparent;
	color: var(--sgx-violet-700); font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; transition: background-color .2s, color .2s, transform .2s var(--sgx-ease);
}
body.sgx-ctx-account .btn.wd-switch-to-register:hover, body.sgx-ctx-account .wd-registration-page .btn:hover { background: var(--sgx-violet); color: #fff; transform: translateY(-2px); }
body.sgx-ctx-account .woocommerce-form-login__rememberme { font-weight: 500; }
body.sgx-ctx-account .lost_password a { color: var(--sgx-violet-700); font-weight: 600; }

/* The site's Additional CSS hides every <header> on single product pages (it was written to hide the theme header);
   the SkillGrox header is a <header> too, so it is shown again explicitly. */
html body.sgx-site-page.sgx-site-page header.sgx-header { display: block !important; }
html body.sgx-site-page.sgx-site-page.single-product header.sgx-header { display: block !important; }

/* sorting control: the theme collapses it to a 30px icon on tablets and phones */
html body.sgx-ctx-shop.sgx-site-page .woocommerce-ordering select.orderby, html body.sgx-ctx-shop.sgx-site-page .woocommerce-ordering select {
	width: auto !important; min-width: 220px; max-width: 100%; text-indent: 0 !important; color: var(--sgx-ink) !important; padding: 0 40px 0 16px !important; background-position: right 14px center;
}
@media (max-width: 767px) { html body.sgx-ctx-shop.sgx-site-page .woocommerce-ordering select.orderby { width: 100% !important; } }
/* tap targets */
body.sgx-ctx-shop .wd-product .wd-entities-title { padding: 6px 0; }
body.sgx-site-page .wd-breadcrumbs a, body.sgx-site-page .woocommerce-breadcrumb a, body.sgx-site-page .product_meta a, body.sgx-site-page .page-title a { display: inline-block; padding: 6px 2px; }
body.sgx-site-page .sgx-footer a { padding-top: 2px; padding-bottom: 2px; }

/* ---------- checkout (1.0.54): two-card layout, same fields and button look as the rest of the site ----------
 * Scoped to body.sgx-checkout-page. Uses the markup WooCommerce and Woodmart already print (form.woocommerce-checkout >
 * .customer-details + .checkout-order-review); no template, field or gateway is touched.
 */
body.sgx-checkout-page {
	--sgx-violet: #1E7A4C; --sgx-violet-700: #155C39; --sgx-ink: #14251D; --sgx-line: #D5E3D9; --sgx-ease: cubic-bezier(.2, .7, .2, 1);
	--sgx-co-field: #C9DCCF; --sgx-co-danger: #B42318;
}

/* container: centred, ~1180px */
body.sgx-checkout-page .main-page-wrapper .container { box-sizing: border-box; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
body.sgx-checkout-page form.woocommerce-checkout { margin-top: 8px; }

/* two columns on desktop (grid), stacked below 900px: billing first, order second */
html body.sgx-checkout-page form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; column-gap: 32px; row-gap: 24px; }
html body.sgx-checkout-page form.woocommerce-checkout > *:not(.customer-details):not(.checkout-order-review) { grid-column: 1 / -1; width: auto; min-width: 0; }
html body.sgx-checkout-page form.woocommerce-checkout > :is(.customer-details, .checkout-order-review) { flex: none; width: auto; max-width: none; min-width: 0; margin: 0; }
@media (min-width: 900px) {
	html body.sgx-checkout-page form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	html body.sgx-checkout-page form.woocommerce-checkout > .customer-details { grid-column: 1; }
	html body.sgx-checkout-page form.woocommerce-checkout > .checkout-order-review { grid-column: 2; }
}

/* the two cards */
html body.sgx-checkout-page form.woocommerce-checkout > :is(.customer-details, .checkout-order-review) {
	box-sizing: border-box; padding: 30px; background: #fff; border: 1px solid var(--sgx-line); border-radius: 20px; box-shadow: 0 1px 2px rgba(14, 42, 31, .05), 0 12px 32px rgba(14, 42, 31, .07);
}
body.sgx-checkout-page .checkout-order-review::before, body.sgx-checkout-page .checkout-order-review::after { content: none; display: none; }
body.sgx-checkout-page .customer-details .woocommerce-billing-fields { margin: 0; }
@media (max-width: 899.98px) { html body.sgx-checkout-page form.woocommerce-checkout > :is(.customer-details, .checkout-order-review) { padding: 24px; } }
@media (max-width: 575.98px) { html body.sgx-checkout-page form.woocommerce-checkout > :is(.customer-details, .checkout-order-review) { padding: 20px 16px; border-radius: 16px; } body.sgx-checkout-page .main-page-wrapper .container { padding-inline: 14px; } }

/* headings: same style in both cards, tops aligned */
body.sgx-checkout-page :is(.woocommerce-billing-fields > h3, #order_review_heading) {
	position: relative; margin: 0 0 22px; padding: 0 0 14px; text-align: start; text-transform: none; font-size: 1.45rem; line-height: 1.25; font-weight: 700; color: var(--sgx-ink); letter-spacing: -.01em;
}
body.sgx-checkout-page :is(.woocommerce-billing-fields > h3, #order_review_heading)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: #C9F27B; }

/* billing fields: one column, full width, consistent rhythm */
body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper { display: block; }
body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper .form-row { float: none; clear: both; width: 100%; max-width: none; margin: 0 0 18px; padding: 0; }
body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper .form-row:last-child { margin-bottom: 0; }
body.sgx-checkout-page .form-row label { display: block; margin: 0 0 6px; font-size: .92rem; font-weight: 700; line-height: 1.4; color: var(--sgx-ink); }
body.sgx-checkout-page .form-row label .required { color: var(--sgx-co-danger); text-decoration: none; border: 0; font-weight: 700; margin-inline-start: 2px; }
body.sgx-checkout-page .form-row label .optional { color: #4B6156; font-weight: 400; }
body.sgx-checkout-page .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
body.sgx-checkout-page :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) {
	box-sizing: border-box; width: 100%; max-width: none; border: 1.5px solid var(--sgx-co-field); border-radius: 12px; background-color: #fff; color: var(--sgx-ink); font-size: 1rem; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
body.sgx-checkout-page :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select) { min-height: 50px; padding: 0 14px; }
body.sgx-checkout-page textarea { padding: 12px 14px; min-height: 110px; }
body.sgx-checkout-page :is(input, select, textarea)::placeholder { color: #6B7587; opacity: 1; }
body.sgx-checkout-page :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea):hover { border-color: #8DB59C; }
body.sgx-checkout-page :is(input, select, textarea):focus { border-color: var(--sgx-violet); box-shadow: 0 0 0 3px rgba(30, 122, 76, .22); outline: 0; }
body.sgx-checkout-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }
body.sgx-checkout-page :is(input, select, textarea):focus-visible { outline-offset: 0; }
body.sgx-checkout-page .form-row.woocommerce-invalid :is(input, select, textarea) { border-color: var(--sgx-co-danger); }
body.sgx-checkout-page .select2-container .select2-selection--single { box-sizing: border-box; height: 50px; border: 1.5px solid var(--sgx-co-field); border-radius: 12px; }
body.sgx-checkout-page .select2-container .select2-selection--single .select2-selection__rendered { line-height: 47px; padding-inline: 14px; }
body.sgx-checkout-page .select2-container .select2-selection--single .select2-selection__arrow { height: 47px; }

/* optional coupon / login toggles above the form */
body.sgx-checkout-page :is(.checkout_coupon, .login.hidden-form) { box-sizing: border-box; max-width: 100%; padding: 22px; background: #fff; border: 1px solid var(--sgx-line); border-radius: 16px; }
body.sgx-checkout-page .checkout_coupon .button { min-height: 50px; border-radius: 12px; }

/* order summary table */
body.sgx-checkout-page .checkout-order-review > .woocommerce-checkout-review-order .wd-table-wrapper { overflow: visible; margin: 0 0 20px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table { width: 100%; margin: 0; border: 0; background: none; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table :is(thead, tbody, tfoot) { display: block; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tr { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid #EEF6F0; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table :is(th, td) { display: block; flex: 0 1 auto; padding: 0; border: 0; background: none; text-align: start; color: #2A4033; font-size: .98rem; line-height: 1.5; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table thead tr { padding-top: 0; border-bottom: 1px solid var(--sgx-line); }
body.sgx-checkout-page .woocommerce-checkout-review-order-table thead th { flex: 0 1 auto; color: #4B6156; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table :is(.product-name, thead .product-name) { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; color: var(--sgx-ink); font-weight: 600; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table .product-quantity { color: #4B6156; font-weight: 600; white-space: nowrap; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table :is(.product-total, tfoot td) { flex: 0 0 auto; margin-inline-start: auto; text-align: end; white-space: nowrap; font-weight: 700; color: var(--sgx-ink); }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot th { flex: 1 1 auto; font-weight: 600; color: #4B6156; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table .amount, body.sgx-checkout-page .woocommerce-checkout-review-order-table .woocommerce-Price-amount { color: inherit; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total { align-items: center; margin-top: 4px; padding: 18px 0 4px; border-top: 2px solid #C9F27B; border-bottom: 0; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total th { color: var(--sgx-ink); font-size: 1.05rem; font-weight: 700; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td { color: var(--sgx-violet-700); font-family: var(--sgx-font-head, inherit); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td small, body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td .includes_tax { font-size: .8rem; font-weight: 400; color: #4B6156; }
body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr:last-child { border-bottom: 0; }

/* payment methods */
body.sgx-checkout-page #payment { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
body.sgx-checkout-page #payment ul.payment_methods { margin: 0 0 18px; padding: 0; list-style: none; border: 0; }
body.sgx-checkout-page #payment ul.payment_methods > li {
	display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; box-sizing: border-box; margin: 0 0 10px; padding: 14px 16px; list-style: none;
	background: #fff; border: 1.5px solid var(--sgx-line); border-radius: 14px; transition: border-color .15s, background-color .15s;
}
body.sgx-checkout-page #payment ul.payment_methods > li:last-child { margin-bottom: 0; }
body.sgx-checkout-page #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--sgx-violet); background: #F1F8F3; }
body.sgx-checkout-page #payment ul.payment_methods > li > input[type="radio"] { position: static; float: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #1E7A4C; }
body.sgx-checkout-page #payment ul.payment_methods > li > label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; margin: 0; padding: 0; color: var(--sgx-ink); font-size: 1rem; font-weight: 700; line-height: 1.4; cursor: pointer; }
body.sgx-checkout-page #payment ul.payment_methods > li > label img { display: inline-block; width: auto; max-width: 100%; height: auto; max-height: 26px; margin: 0; vertical-align: middle; }
body.sgx-checkout-page #payment ul.payment_methods > li > label a { font-size: .85rem; font-weight: 600; }
body.sgx-checkout-page #payment div.payment_box {
	grid-column: 2; box-sizing: border-box; width: 100%; max-width: 100%; margin: 8px 0 0; padding: 0; background: none; border: 0; box-shadow: none; color: #4B6156; font-size: .92rem; font-weight: 400; line-height: 1.55; overflow-wrap: anywhere;
}
body.sgx-checkout-page #payment div.payment_box::before, body.sgx-checkout-page #payment div.payment_box::after { content: none; display: none; }
body.sgx-checkout-page #payment div.payment_box p { margin: 0 0 6px; }
body.sgx-checkout-page #payment div.payment_box p:last-child { margin-bottom: 0; }
body.sgx-checkout-page #payment .place-order { margin: 0; padding: 0; background: none; }

/* terms / privacy text */
body.sgx-checkout-page .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; color: #4B6156; font-size: .86rem; line-height: 1.55; }
body.sgx-checkout-page .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
body.sgx-checkout-page .woocommerce-terms-and-conditions-wrapper a { color: var(--sgx-violet-700); text-decoration: underline; text-underline-offset: 2px; }
body.sgx-checkout-page .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--sgx-ink); }
body.sgx-checkout-page .woocommerce-form__label-for-checkbox input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1E7A4C; }

/* place order: brand blue, hover dark blue */
html body.sgx-checkout-page #place_order {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; padding: 12px 20px; border: 0 !important; border-radius: 12px !important;
	background-color: #1E7A4C !important; background-image: none !important; color: #fff !important; font-weight: 700; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; text-transform: none; box-shadow: 0 6px 16px rgba(30, 122, 76, .26) !important;
	transition: background-color .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease);
}
html body.sgx-checkout-page #place_order:hover { background-color: #155C39 !important; background-image: none !important; color: #fff !important; box-shadow: 0 10px 22px rgba(30, 122, 76, .32) !important; transform: none; }
html body.sgx-checkout-page #place_order:active { background-color: #0F4A2E !important; }
html body.sgx-checkout-page #place_order:focus-visible { outline: 3px solid #1E7A4C; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html body.sgx-checkout-page #place_order, body.sgx-checkout-page :is(input, select, textarea), body.sgx-checkout-page #payment ul.payment_methods > li { transition: none; } }

/* "added to your cart" notice: dusty blue + sand instead of Woodmart green (error and warning notices are left alone) */
body.sgx-checkout-page .woocommerce-message, body.sgx-site-page .woocommerce-message {
	--notices-success-bg: #E4F3E8; --notices-success-color: #14251D;
	box-sizing: border-box; gap: 8px 14px; padding-block: 14px; background-color: #E4F3E8; color: #14251D; border: 1px solid #C9F27B; border-inline-start: 4px solid #1E7A4C; border-radius: 14px; font-weight: 600;
}
body.sgx-checkout-page .woocommerce-message::before, body.sgx-site-page .woocommerce-message::before { color: #1E7A4C; }
body.sgx-checkout-page .woocommerce-message :is(.amount, strong), body.sgx-site-page .woocommerce-message :is(.amount, strong) { color: inherit; }
body.sgx-checkout-page .woocommerce-message a:not(.button), body.sgx-site-page .woocommerce-message a:not(.button) { color: #155C39; text-decoration: underline; text-underline-offset: 2px; }
html body.sgx-checkout-page .woocommerce-message .button, html body.sgx-site-page .woocommerce-message .button {
	order: 2; margin-inline-start: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background-color: #1E7A4C !important; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; box-shadow: none;
}
html body.sgx-checkout-page .woocommerce-message .button:hover, html body.sgx-site-page .woocommerce-message .button:hover { background-color: #155C39 !important; color: #fff; box-shadow: none; }
@media (max-width: 575.98px) { html body.sgx-checkout-page .woocommerce-message .button, html body.sgx-site-page .woocommerce-message .button { order: 0; margin-inline-start: 0; width: 100%; justify-content: center; } }


/* breathing room under the header on Tutor LMS course pages and lists */
body.sgx-ctx-tutor .main-page-wrapper { padding-top: 32px; padding-bottom: 40px; }
@media (max-width: 767px) { body.sgx-ctx-tutor .main-page-wrapper { padding-top: 20px; } }

/* spacing under the header: course page gallery and the 404 message */
body.sgx-ctx-product .main-page-wrapper { padding-top: 28px; }
body.sgx-ctx-404 .main-page-wrapper { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 767px) { body.sgx-ctx-product .main-page-wrapper { padding-top: 16px; } body.sgx-ctx-404 .main-page-wrapper { padding-top: 32px; } }


/* ---------- Elementor pages with full-bleed dark sections (About us): no white gaps around the section ---------- */
body.sgx-ctx-page .entry-content > .elementor > .e-con:first-child, body.sgx-ctx-page .entry-content > .elementor > .elementor-section:first-child { margin-top: 0 !important; }
body.sgx-ctx-about .site-content, body.sgx-ctx-page .site-content:has(.the-skill-high-about) { margin-bottom: 0 !important; }

/* About us layout (the page body is a custom HTML block with these class names) */
body.sgx-ctx-page .the-skill-high-about { padding: 88px 24px 40px !important; }
body.sgx-ctx-page .the-skill-high-about .brand-hero-split { align-items: center !important; gap: 64px !important; max-width: 1200px; margin: 0 auto; }
body.sgx-ctx-page .the-skill-high-about .brand-left-copy { flex: 1.15 1 0; min-width: 0; }
body.sgx-ctx-page .the-skill-high-about .brand-main-title { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem) !important; letter-spacing: -.02em !important; line-height: 1.1 !important; margin: 0 0 20px !important; }
body.sgx-ctx-page .the-skill-high-about .brand-hero-statement { flex: .85 1 0; min-width: 0; border: 1px solid rgba(30, 122, 76, .22) !important; border-radius: 20px !important; background: linear-gradient(160deg, rgba(30, 122, 76, .16), #14251D 55%) !important; box-shadow: 0 16px 40px rgba(14, 42, 31, .12); }
body.sgx-ctx-page .the-skill-high-about p { max-width: 64ch; line-height: 1.75 !important; letter-spacing: 0 !important; }
body.sgx-ctx-page .the-skill-high-about .brand-left-copy > p:first-of-type { font-size: 1.2rem !important; color: #fff; line-height: 1.55 !important; }
body.sgx-ctx-page .the-skill-high-about .brand-accent-text { color: #C9DCCF; }
body.sgx-ctx-page .the-skill-high-about .brand-pillars-mesh { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px !important; max-width: 1200px; margin: 0 auto; counter-reset: sgxpillar; }
body.sgx-ctx-page .the-skill-high-about .pillar-flow-card { position: relative; display: block !important; counter-increment: sgxpillar; border: 1px solid rgba(30, 122, 76, .16) !important; border-radius: 18px !important; transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
body.sgx-ctx-page .the-skill-high-about .pillar-flow-card::before { content: "0" counter(sgxpillar); display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 800; letter-spacing: .12em; color: #B7D3C0; }
body.sgx-ctx-page .the-skill-high-about .pillar-flow-card:hover { transform: translateY(-4px); border-color: rgba(30, 122, 76, .5) !important; box-shadow: 0 20px 44px rgba(14, 42, 31, 0.13); }
body.sgx-ctx-page .the-skill-high-about .pillar-flow-card h4 { margin: 0 0 10px !important; letter-spacing: -.01em !important; }
@media (max-width: 860px) {
	body.sgx-ctx-page .the-skill-high-about { padding: 56px 20px 24px !important; }
	body.sgx-ctx-page .the-skill-high-about .brand-hero-split { flex-direction: column !important; gap: 32px !important; }
	body.sgx-ctx-page .the-skill-high-about .brand-hero-statement { width: 100%; padding: 28px !important; }
	body.sgx-ctx-page .the-skill-high-about .brand-pillars-mesh { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { body.sgx-ctx-page .the-skill-high-about .pillar-flow-card { transition: none; } body.sgx-ctx-page .the-skill-high-about .pillar-flow-card:hover { transform: none; } }

/* call-to-action band under the About us content */
body .sgx-about-cta { background: #E4F3E8; padding: 8px 24px 88px; text-align: center; }
body .sgx-about-cta .sgx-about-cta__inner { max-width: 760px; margin: 0 auto; padding-top: 48px; border-top: 1px solid #CDE8D5; }
body .sgx-about-cta h2 { margin: 0 0 12px; color: #14251D; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
body .sgx-about-cta p { margin: 0 0 24px; color: #4B6156; font-size: 1.05rem; }
body .sgx-about-cta .sgx-about-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- after checkout: Thank-You page, pay for order, order received, order view ---------- */
body.sgx-ctx-thankyou .main-page-wrapper, body.sgx-ctx-orderpay .main-page-wrapper, body.sgx-ctx-orderreceived .main-page-wrapper { background: var(--sgx-tint); }
body.sgx-ctx-thankyou .content-layout-wrapper, body.sgx-ctx-orderpay .content-layout-wrapper, body.sgx-ctx-orderreceived .content-layout-wrapper { padding-top: 48px; padding-bottom: 72px; }
body.sgx-ctx-orderpay .page-title, body.sgx-ctx-orderreceived .page-title { display: none !important; }
body.sgx-ctx-orderpay .site-content, body.sgx-ctx-orderreceived .site-content { max-width: 760px; margin-left: auto; margin-right: auto; float: none; }
body.sgx-ctx-orderpay article, body.sgx-ctx-orderreceived article { padding: 0; }
.sgx-orderhead { margin: 0 0 24px; color: var(--sgx-ink); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; text-align: left; }

/* the Elementor message of the Thank-You page becomes one centred card */
body.sgx-ctx-thankyou .main-page-wrapper .elementor > .e-con { max-width: 640px; margin: 0 auto !important; padding: 40px 32px !important; background: #fff; border: 1px solid var(--sgx-line); border-radius: 20px; box-shadow: var(--sgx-shadow); text-align: center; }
body.sgx-ctx-thankyou .main-page-wrapper .elementor .e-con-inner { gap: 14px; }
body.sgx-ctx-thankyou .main-page-wrapper .elementor .elementor-heading-title { font-family: inherit !important; color: var(--sgx-ink) !important; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem) !important; font-weight: 800 !important; letter-spacing: -.01em; line-height: 1.2 !important; }
body.sgx-ctx-thankyou .main-page-wrapper .elementor .elementor-widget-text-editor, body.sgx-ctx-thankyou .main-page-wrapper .elementor .elementor-widget-text-editor * { font-family: inherit !important; color: var(--sgx-muted) !important; font-size: 1.05rem !important; font-weight: 500 !important; letter-spacing: 0 !important; text-shadow: none !important; line-height: 1.6; }
body.sgx-ctx-thankyou .main-page-wrapper .elementor a.elementor-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px; border: 0; border-radius: 12px; background: var(--sgx-grad); color: #fff; font-family: inherit; font-size: 1.02rem; font-weight: 700; box-shadow: 0 8px 20px rgba(30, 122, 76, .3); transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease); }
body.sgx-ctx-thankyou .main-page-wrapper .elementor a.elementor-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .4); color: #fff; }
body.sgx-ctx-thankyou .main-page-wrapper .elementor a.elementor-button:active { transform: none; }

/* order summary / state card (rendered by inc/checkout-pages.php) */
.sgx-ty { box-sizing: border-box; flex: 0 0 100%; width: 100%; max-width: 640px; margin: 24px auto 0; color: var(--sgx-ink); }
.sgx-ty__card, .sgx-ty__summary { padding: 28px 32px; background: #fff; border: 1px solid var(--sgx-line); border-radius: 20px; box-shadow: var(--sgx-shadow); }
.sgx-ty__card { margin-bottom: 20px; text-align: center; }
.sgx-ty--pending .sgx-ty__card { border-top: 4px solid #F59E0B; }
.sgx-ty--failed .sgx-ty__card { border-top: 4px solid #B3261E; }
.sgx-ty--cancelled .sgx-ty__card { border-top: 4px solid #4B6156; }
.sgx-ty__title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--sgx-ink); }
.sgx-ty__text { margin: 0 auto 20px; max-width: 46ch; color: var(--sgx-muted); font-size: 1.02rem; line-height: 1.6; }
.sgx-ty__sumtitle { margin: 0 0 16px; font-size: 1.15rem; font-weight: 800; color: var(--sgx-ink); }
.sgx-ty__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--sgx-line); }
.sgx-ty__facts dt { margin: 0 0 2px; color: #4B6156; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sgx-ty__facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.sgx-ty__items { margin: 0; padding: 0; list-style: none; }
.sgx-ty__items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--sgx-line); }
.sgx-ty__items li span { min-width: 0; word-break: break-word; }
.sgx-ty__total { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 16px 0 0; font-size: 1.15rem; font-weight: 800; }
.sgx-ty__total strong, .sgx-ty__items strong { color: var(--sgx-violet-700); }
.sgx-ty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.sgx-ty .sgx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 2px solid transparent; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease), background-color .2s; }
.sgx-ty .sgx-btn--primary { background: var(--sgx-grad); color: #fff; box-shadow: 0 8px 20px rgba(30, 122, 76, .3); }
.sgx-ty .sgx-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .4); }
.sgx-ty .sgx-btn--ghost { border-color: #C9DCCF; background: #fff; color: var(--sgx-ink); }
.sgx-ty .sgx-btn--ghost:hover { border-color: var(--sgx-violet); color: var(--sgx-violet-700); transform: translateY(-2px); }
.sgx-ty .sgx-btn:active { transform: none; }
.sgx-ty :is(a, button):focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }
.sgx-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #E4F3E8; color: #155C39; font-size: .85rem; font-weight: 700; }
.sgx-pill--paid { background: #DCFCE7; color: #166534; }
.sgx-pill--pending { background: #E4F3E8; color: #0E2A1F; }
.sgx-pill--failed { background: #FEE2E2; color: #991B1B; }
.sgx-pill--cancelled { background: #D5E3D9; color: #2A4033; }

/* default WooCommerce order-received + pay-for-order pages */
body.sgx-ctx-orderreceived .woocommerce-notice, body.sgx-ctx-orderreceived .woocommerce-thankyou-order-received { margin: 0 0 24px !important; padding: 18px 22px !important; border: 1px solid #BBF7D0 !important; border-left: 4px solid #16A34A !important; border-radius: 14px; background: #F0FDF4; color: #166534 !important; font-size: 1.05rem !important; font-weight: 600 !important; text-align: left !important; line-height: 1.5; }
body.sgx-ctx-orderreceived ul.order_details, body.sgx-ctx-orderreceived ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
body.sgx-ctx-orderreceived ul.order_details li, body.sgx-ctx-orderreceived ul.woocommerce-order-overview li { margin: 0; padding: 14px 16px; border: 1px solid var(--sgx-line); border-radius: 12px; background: #fff; color: #4B6156; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
body.sgx-ctx-orderreceived ul.order_details li strong, body.sgx-ctx-orderreceived ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; color: var(--sgx-ink); font-size: 1rem; letter-spacing: 0; text-transform: none; word-break: break-word; }
body.sgx-ctx-orderreceived .woocommerce-order-details, body.sgx-ctx-orderreceived .woocommerce-customer-details, body.sgx-ctx-orderpay #order_review { margin: 0 0 24px; padding: 24px 28px; border: 1px solid var(--sgx-line); border-radius: 20px; background: #fff; box-shadow: var(--sgx-shadow); }
body.sgx-ctx-orderreceived .woocommerce-order-details__title, body.sgx-ctx-orderreceived .woocommerce-column__title { margin: 0 0 14px; font-size: 1.2rem; font-weight: 800; color: var(--sgx-ink); }
body.sgx-ctx-orderreceived .woocommerce-customer-details address { padding: 14px 16px; border: 1px solid var(--sgx-line); border-radius: 12px; background: var(--sgx-tint); font-style: normal; line-height: 1.6; word-break: break-word; }
body.sgx-ctx-orderreceived .woocommerce-customer-details .col2-set .col-1, body.sgx-ctx-orderreceived .woocommerce-customer-details .col2-set .col-2 { float: none; width: 100%; max-width: 100%; }
body.sgx-ctx-orderreceived table.shop_table, body.sgx-ctx-orderpay table.shop_table { width: 100%; border: 0; border-collapse: collapse; }
body.sgx-ctx-orderreceived table.shop_table :is(th, td), body.sgx-ctx-orderpay table.shop_table :is(th, td) { padding: 12px 8px; border: 0; border-bottom: 1px solid var(--sgx-line); text-align: left; vertical-align: top; color: var(--sgx-ink); }
body.sgx-ctx-orderreceived table.shop_table :is(thead th, tfoot th), body.sgx-ctx-orderpay table.shop_table thead th { color: #4B6156; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
body.sgx-ctx-orderreceived table.shop_table :is(td:last-child, th:last-child), body.sgx-ctx-orderpay table.shop_table :is(td:last-child, th:last-child) { text-align: right; }
body.sgx-ctx-orderreceived table.shop_table tfoot tr:last-child :is(th, td), body.sgx-ctx-orderpay table.shop_table tfoot tr:last-child :is(th, td) { border-bottom: 0; font-size: 1.1rem; font-weight: 800; }
body.sgx-ctx-orderpay #payment { padding: 0; background: transparent; }
body.sgx-ctx-orderpay #payment ul.payment_methods { margin: 0 0 16px; padding: 0; border: 0; list-style: none; }
body.sgx-ctx-orderpay #payment ul.payment_methods li { margin: 0 0 10px; padding: 14px 16px; border: 1px solid var(--sgx-line); border-radius: 12px; background: var(--sgx-tint); }
body.sgx-ctx-orderpay .woocommerce > p, body.sgx-ctx-orderpay .entry-content > p, body.sgx-ctx-orderpay #order_review ~ p { color: var(--sgx-muted); font-size: 1.02rem; line-height: 1.6; }
body.sgx-ctx-orderpay :is(#btn-razorpay, #btn-razorpay-cancel, #place_order, form#payment-form button, .woocommerce-checkout-payment .button) { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 6px 8px 6px 0; padding: 12px 28px; border: 2px solid transparent; border-radius: 12px; font-family: inherit; font-size: 1.02rem; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease); }
html body.sgx-ctx-orderpay :is(#btn-razorpay, #place_order) { background: var(--sgx-grad); color: #fff; box-shadow: 0 8px 20px rgba(30, 122, 76, .3); }
html body.sgx-ctx-orderpay :is(#btn-razorpay, #place_order):hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .4); }
html body.sgx-ctx-orderpay #btn-razorpay-cancel { background: #fff; border-color: #C9DCCF; color: var(--sgx-ink); }
html body.sgx-ctx-orderpay #btn-razorpay-cancel:hover { border-color: var(--sgx-violet); color: var(--sgx-violet-700); transform: translateY(-2px); }
body.sgx-ctx-orderpay :is(a, button, input):focus-visible, body.sgx-ctx-orderreceived :is(a, button):focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }
body.sgx-ctx-orderpay .woocommerce-error, body.sgx-ctx-orderpay .woocommerce-info, body.sgx-ctx-orderpay .woocommerce-message, body.sgx-ctx-orderreceived .woocommerce-error { margin: 0 0 24px; }

/* My account > view order: brand the "Order again" button and quiet the highlighted words */
body.sgx-ctx-account .order-again .button, body.sgx-ctx-account .woocommerce-order-details .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px; border: 0; border-radius: 12px; background: var(--sgx-grad); color: #fff; font-weight: 700; letter-spacing: 0; text-transform: none; box-shadow: 0 8px 20px rgba(30, 122, 76, .25); transition: transform .2s var(--sgx-ease), box-shadow .2s var(--sgx-ease); }
body.sgx-ctx-account .order-again .button:hover, body.sgx-ctx-account .woocommerce-order-details .button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 122, 76, .35); }
body.sgx-ctx-account .woocommerce-MyAccount-content mark { padding: 0 2px; background: transparent; color: var(--sgx-ink); font-weight: 700; }

@media (max-width: 600px) {
	.sgx-ty__card, .sgx-ty__summary { padding: 22px 18px; border-radius: 16px; }
	.sgx-ty__facts { grid-template-columns: 1fr; }
	.sgx-ty__actions .sgx-btn { width: 100%; }
	body.sgx-ctx-thankyou .main-page-wrapper .elementor > .e-con { padding: 28px 18px !important; }
	body.sgx-ctx-orderreceived .woocommerce-order-details, body.sgx-ctx-orderreceived .woocommerce-customer-details, body.sgx-ctx-orderpay #order_review { padding: 18px 14px; border-radius: 16px; }
	body.sgx-ctx-orderpay :is(#btn-razorpay, #btn-razorpay-cancel) { width: 100%; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.sgx-ty .sgx-btn, body.sgx-ctx-orderpay :is(#btn-razorpay, #btn-razorpay-cancel, #place_order), body.sgx-ctx-account .order-again .button, body.sgx-ctx-thankyou .main-page-wrapper .elementor a.elementor-button { transition: none; }
	.sgx-ty .sgx-btn:hover, html body.sgx-ctx-orderpay :is(#btn-razorpay, #btn-razorpay-cancel):hover, body.sgx-ctx-account .order-again .button:hover, body.sgx-ctx-thankyou .main-page-wrapper .elementor a.elementor-button:hover { transform: none; }
}

/* ---------- Tutor LMS: thumbnails on white, comfortable tap targets ---------- */
body.sgx-ctx-tutor .tutor-course-thumbnail { background: #EEF6F0; }
body.sgx-ctx-tutor .tutor-course-card .tutor-meta a, body.sgx-ctx-tutor .tutor-course-card .tutor-course-name a { display: inline-block; padding: 6px 0; }
body.sgx-ctx-tutor .tutor-pagination .page-numbers, body.sgx-ctx-tutor ul.page-numbers a, body.sgx-ctx-tutor ul.page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border-radius: 10px; }
body.sgx-ctx-tutor .tutor-course-content-list-item a, body.sgx-ctx-tutor .tutor-accordion-item-body a { display: inline-block; padding: 10px 0; }
body.sgx-ctx-tutor .tutor-course-wishlist-btn, body.sgx-ctx-tutor .tutor-course-share-btn { min-height: 40px; }
body.sgx-ctx-tutor .tutor-meta a:focus-visible, body.sgx-ctx-tutor .page-numbers:focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }

body.sgx-ctx-thankyou .sgx-orderhead { box-sizing: border-box; flex: 0 0 100%; width: 100%; max-width: 640px; margin: 0 auto 20px; text-align: center; }
body.sgx-ctx-orderpay .sgx-orderhead, body.sgx-ctx-orderreceived .sgx-orderhead { flex: 0 0 100%; width: 100%; }

html body.sgx-site-page.woocommerce-checkout .sgx-site--bottom, html body.sgx-site-page.woocommerce-checkout footer.sgx-footer { display: block !important; }
html body.sgx-site-page.woocommerce-checkout .sgx-site--bottom .sgx-footer__grid, html body.sgx-site-page.woocommerce-checkout .sgx-site--bottom .sgx-footer__bar { visibility: visible; }

/* ---------- browse by topic (inc/topics.php) ---------- */
.sgx-topics { margin: 0 0 24px; }
.sgx-topics__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sgx-topics__list li { margin: 0; }
.sgx-topics__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--sgx-line, #D5E3D9); border-radius: 999px; background: #fff; color: var(--sgx-ink, #14251D); font-size: .95rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s; }
.sgx-topics__chip:hover { border-color: var(--sgx-violet, #1E7A4C); color: var(--sgx-violet-700, #155C39); }
.sgx-topics__chip.is-active { border-color: transparent; background: var(--sgx-grad, linear-gradient(135deg, #1E7A4C, #1E7A4C)); color: #fff; box-shadow: 0 6px 16px rgba(30, 122, 76, .3); }
.sgx-topics__count { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #E4F3E8; color: #155C39; font-size: .78rem; font-weight: 700; text-align: center; }
.sgx-topics__chip.is-active .sgx-topics__count { background: rgba(255, 255, 255, .25); color: #fff; }
.sgx-topics__chip:focus-visible { outline: 3px solid #1E7A4C; outline-offset: 2px; }
@media (max-width: 767px) {
	.sgx-topics { margin-left: -15px; margin-right: -15px; }
	.sgx-topics__list { flex-wrap: nowrap; overflow-x: auto; padding: 4px 15px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.sgx-topics__list::-webkit-scrollbar { display: none; }
	.sgx-topics__list li { flex: none; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .sgx-topics__chip { transition: none; } }

/* sort control on phones: full-width select with its own chevron (Woodmart's icon-only mode would float an extra icon) */
@media (max-width: 767px) {
	body.sgx-ctx-shop .woocommerce-ordering.wd-ordering-mb-icon::after, body.sgx-ctx-shop .woocommerce-ordering.wd-ordering-mb-icon::before { display: none !important; }
	html body.sgx-ctx-shop.sgx-site-page .woocommerce-ordering select.orderby { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; }
}

/* ---------- header / footer spacing ---------- */
/* The theme pads .main-page-wrapper by 36px with a grey background and the dark title band sits inside it: a grey strip
   showed between the white header and the band. The band now starts directly under the header. */
body.sgx-ctx-shop .main-page-wrapper, body.sgx-ctx-cart .main-page-wrapper, body.sgx-ctx-account .main-page-wrapper { padding-top: 0; }
body.sgx-site-page .main-page-wrapper:has(> .page-title) { padding-top: 0; }
body.sgx-ctx-account .site-content, body.sgx-ctx-cart .site-content { padding-top: 28px; }
/* one calm gap between the content and the footer (theme: 64px padding + 40px margin) */
body.sgx-site-page .main-page-wrapper { padding-bottom: 48px; }
body.sgx-site-page .site-content { margin-bottom: 0; }
/* footer column headings: a theme heading rule made them oversized on some pages */
html body.sgx-site-page .sgx-site .sgx-footer__col h2 { margin: 0 0 16px; font-size: 14px !important; line-height: 20px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- course listings: clean hover / quick-view text ---------- */
.sgx-loop-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; }
.sgx-loop-points li { position: relative; padding-left: 16px; font-size: .88rem; line-height: 1.45; color: #4B6156; }
.sgx-loop-points li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #1E7A4C; }
.sgx-loop-points strong { display: block; color: #14251D; font-weight: 700; }
.sgx-loop-points span { display: block; }
.sgx-loop-excerpt { margin: 0; font-size: .88rem; line-height: 1.5; color: #4B6156; }

/* ---------- category archive: description under the title band ---------- */
body.sgx-ctx-shop .term-description { max-width: 70ch; margin: 0 0 8px; padding: 26px 0 0; color: #4B6156; font-size: 1.05rem; line-height: 1.6; }
body.sgx-ctx-shop .term-description p { margin: 0; }
body.sgx-ctx-shop .term-description + .sgx-topics, body.sgx-ctx-shop .term-description ~ .sgx-topics { margin-top: 18px; }

/* ---------- course cards (shop, categories, search): one button size, aligned across a row ---------- */
/* The theme gives the text <span> inside the button its own 46px minimum height, so the 46px button plus padding was 66px tall. */
body.sgx-ctx-shop .wd-product .wd-add-btn > a.button, body.sgx-ctx-shop .wd-product .wd-add-btn .add_to_cart_button { min-height: 48px; padding: 0 18px; }
body.sgx-ctx-shop .wd-product .wd-add-btn a.button > span, body.sgx-ctx-shop .wd-product .wd-add-btn .add_to_cart_button > span { display: block; min-height: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important; line-height: 1.2; font-size: inherit; }
body.sgx-ctx-shop .wd-product .product-element-bottom { display: flex; flex-direction: column; flex: 1 1 auto; }
body.sgx-ctx-shop .wd-product .wd-add-btn { margin-top: 12px; }
/* equal-height cards in every row, so the buttons line up */
body.sgx-ctx-shop .wd-products { align-items: stretch; }
body.sgx-ctx-shop .wd-products > .wd-product { display: flex; height: auto; align-self: stretch; }
body.sgx-ctx-shop .wd-products > .wd-product > .product-wrapper { flex: 1 1 auto; height: auto; }


/* About us: the dark content, the call-to-action band and the footer area read as one dark block (no white strip between them) */
body.sgx-ctx-about .main-page-wrapper { padding-bottom: 0 !important; background: #FAFCF9 !important; }
body.sgx-ctx-about .website-wrapper, body.sgx-ctx-about .sgx-site--bottom { background: #FAFCF9; }
body.sgx-ctx-about .sgx-site--bottom .sgx-about-cta { padding-top: 0; }

/* ---------- About us (ACF sections, inc/about.php) ---------- */
body.sgx-ctx-about .entry-content { color: #4B6156; }
.sgx-site.sgx-about { background: transparent; max-width: 1200px; margin: 0 auto; padding: 0 24px; color: #4B6156; }
.sgx-site .sgx-about__sec { padding: 72px 0 8px; }
.sgx-site .sgx-about__sec:first-child { padding-top: 88px; }
.sgx-site .sgx-about__split { display: flex; align-items: center; gap: 64px; }
.sgx-site .sgx-about__copy { flex: 1.15 1 0; min-width: 0; }
.sgx-site .sgx-about__card-hl, .sgx-site .sgx-about__media { flex: .85 1 0; min-width: 0; }
.sgx-site .sgx-about__eyebrow { margin: 0 0 14px; color: #1E7A4C; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sgx-site .sgx-about__title { margin: 0 0 20px; color: #14251D; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.sgx-site .sgx-about__title span { color: #1E7A4C; }
.sgx-site .sgx-about__h2 { margin: 0 0 20px; color: #14251D; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.sgx-site .sgx-about__lead { margin: 0 0 16px; max-width: 64ch; color: #14251D; font-size: 1.2rem; font-weight: 700; line-height: 1.55; }
.sgx-site .sgx-about__body { max-width: 68ch; font-size: 1.02rem; line-height: 1.75; color: #4B6156; }
.sgx-site .sgx-about__body p { margin: 0 0 1em; }
.sgx-site .sgx-about__body a { color: #1E7A4C; text-decoration: underline; }
.sgx-site .sgx-about__body ul, .sgx-site .sgx-about__body ol { margin: 0 0 1em 1.25em; }
.sgx-site .sgx-about__card-hl { padding: 32px; border: 1px solid #D5E3D9; border-radius: 20px; background: linear-gradient(160deg, rgba(30, 122, 76, .16), #FFFFFF 55%); box-shadow: 0 16px 40px rgba(14, 42, 31, .12); }
.sgx-site .sgx-about__card-hl h3 { margin: 0 0 12px; color: #14251D; font-size: 1.15rem; font-weight: 800; }
.sgx-site .sgx-about__card-hl p { margin: 0; color: #4B6156; line-height: 1.7; }
.sgx-site .sgx-about__img { display: block; width: 100%; height: auto; border-radius: 18px; }
.sgx-site .sgx-about__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sgx-site .sgx-about__card { position: relative; margin: 0; padding: 28px; border: 1px solid #D5E3D9; border-radius: 18px; background: #FFFFFF; transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
.sgx-site .sgx-about__card:hover { transform: translateY(-4px); border-color: #D5E3D9; box-shadow: 0 20px 44px rgba(14, 42, 31, 0.13); }
.sgx-site .sgx-about__num { display: block; margin-bottom: 14px; color: #1E7A4C; font-size: .85rem; font-weight: 800; letter-spacing: .12em; }
.sgx-site .sgx-about__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: rgba(30, 122, 76, .2); color: #1E7A4C; }
.sgx-site .sgx-about__card h3 { margin: 0 0 10px; color: #14251D; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.sgx-site .sgx-about__card p { margin: 0; color: #4B6156; line-height: 1.7; }
.sgx-site .sgx-about__text.has-img { display: flex; align-items: center; gap: 56px; }
.sgx-site .sgx-about__text.has-img .sgx-about__copy, .sgx-site .sgx-about__text.has-img .sgx-about__media { flex: 1 1 0; }
.sgx-site .sgx-about__text.img-left { flex-direction: row-reverse; }
.sgx-site .sgx-about__text.img-top { flex-direction: column-reverse; align-items: stretch; gap: 28px; }
.sgx-site .sgx-about__cta.sgx-about-cta { margin-top: 56px; padding: 8px 0 88px; background: none; }
@media (max-width: 860px) {
	.sgx-site.sgx-about { padding: 0 20px; }
	.sgx-site .sgx-about__sec { padding-top: 48px; }
	.sgx-site .sgx-about__sec:first-child { padding-top: 56px; }
	.sgx-site .sgx-about__split, .sgx-site .sgx-about__text.has-img, .sgx-site .sgx-about__text.img-left { flex-direction: column; align-items: stretch; gap: 32px; }
	.sgx-site .sgx-about__card-hl { padding: 26px; }
	.sgx-site .sgx-about__text.img-top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .sgx-about__card { transition: none; } .sgx-about__card:hover { transform: none; } }

/* ---------- Contact us (ACF sections, inc/contact.php): same dark block as About us, existing Formidable form kept ---------- */
body.sgx-ctx-contact .main-page-wrapper { padding-bottom: 0 !important; background: #FAFCF9 !important; }
body.sgx-ctx-contact .website-wrapper, body.sgx-ctx-contact .sgx-site--bottom { background: #FAFCF9; }
body.sgx-ctx-contact .site-content { margin-bottom: 0 !important; }
/* ---------- Contact page (1.0.65): the design's Contact layout; the form is still the site's Formidable form ---------- */
.sgx-site.sgx-contact { max-width: 76rem; padding: 0 16px; color: #2A4033; }
@media (min-width: 640px) { .sgx-site.sgx-contact { padding: 0 24px; } }
@media (min-width: 1024px) { .sgx-site.sgx-contact { padding: 0 32px; } }
.sgx-site.sgx-contact .sgx-about__sec { padding: 40px 0 56px; }
@media (min-width: 640px) { .sgx-site.sgx-contact .sgx-about__sec { padding: 56px 0 80px; } }
.sgx-site.sgx-contact .sgx-contact__head { max-width: 42rem; }
.sgx-site.sgx-contact .sgx-about__eyebrow { margin: 0; color: #4B6156; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sgx-site.sgx-contact .sgx-about__title { margin: 8px 0 0; font-size: 2.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 640px) { .sgx-site.sgx-contact .sgx-about__title { font-size: 3rem; line-height: 1; } }
.sgx-site.sgx-contact .sgx-contact__text { margin: 12px 0 0; max-width: none; color: #4B6156; font-size: 18px; line-height: 28px; }
.sgx-site.sgx-contact .sgx-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; align-items: start; }
@media (min-width: 1024px) { .sgx-site.sgx-contact .sgx-contact__grid { grid-template-columns: 1fr 1.4fr; } }
.sgx-site.sgx-contact .sgx-contact__grid.no-aside, .sgx-site.sgx-contact .sgx-contact__grid.no-form { grid-template-columns: minmax(0, 1fr); }
.sgx-site.sgx-contact .sgx-contact__grid.no-aside .sgx-contact__form { max-width: 48rem; }
.sgx-site.sgx-contact .sgx-contact__aside { display: grid; gap: 16px; min-width: 0; }
.sgx-site.sgx-contact .sgx-contact__card { display: grid; gap: 16px; padding: 20px; border: 1px solid #D5E3D9; border-radius: 20px; background: #fff; }
.sgx-site.sgx-contact .sgx-contact__info { display: flex; align-items: flex-start; gap: 12px; }
.sgx-site.sgx-contact .sgx-contact__info.is-wa { padding: 20px; border-radius: 20px; }
.sgx-site.sgx-contact .sgx-contact__info-icon { flex: none; margin-top: 2px; color: #1E7A4C; }
.sgx-site.sgx-contact .sgx-contact__info-body { display: grid; gap: 2px; min-width: 0; }
.sgx-site.sgx-contact .sgx-contact__info-body strong { color: #14251D; font-weight: 700; }
.sgx-site.sgx-contact .sgx-contact__info-body a { color: #1E7A4C; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.sgx-site.sgx-contact .sgx-contact__info.is-wa { background: #167A41; border-color: #167A41; color: #fff; }
.sgx-site.sgx-contact .sgx-contact__info.is-wa .sgx-contact__info-icon, .sgx-site.sgx-contact .sgx-contact__info.is-wa strong, .sgx-site.sgx-contact .sgx-contact__info.is-wa a { color: #fff; }
.sgx-site.sgx-contact .sgx-contact__faq { margin: 0; color: #4B6156; font-size: 14px; line-height: 20px; }
.sgx-site.sgx-contact .sgx-contact__faq a { color: #14251D; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* form card */
.sgx-site.sgx-contact .sgx-contact__form { min-width: 0; padding: 20px; border: 1px solid #D5E3D9; border-radius: 20px; background: #fff; box-shadow: none; }
@media (min-width: 640px) { .sgx-site.sgx-contact .sgx-contact__form { padding: 32px; } }
.sgx-site.sgx-contact .sgx-contact__form-title { margin: 0 0 16px; color: #14251D; font-size: 1.5rem; font-weight: 700; }
.sgx-site.sgx-contact .sgx-contact__form .frm_forms { max-width: none; margin: 0; padding: 0; }
.sgx-site.sgx-contact .sgx-contact__form .frm_fields_container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px !important; }
.sgx-site.sgx-contact .sgx-contact__form .frm_form_field { grid-column: 1 / -1; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
@media (min-width: 640px) { .sgx-site.sgx-contact .sgx-contact__form .frm_form_field.frm_half { grid-column: span 1; } }
.sgx-site.sgx-contact .sgx-contact__form .frm_form_field label.frm_primary_label { display: block !important; margin: 0 0 6px !important; color: #14251D !important; font-size: 14px !important; font-weight: 700 !important; line-height: 20px !important; }
.sgx-site.sgx-contact .sgx-contact__form .frm_required { color: #B3261E !important; }
.sgx-site.sgx-contact .sgx-contact__form input[type=text], .sgx-site.sgx-contact .sgx-contact__form input[type=email], .sgx-site.sgx-contact .sgx-contact__form input[type=tel], .sgx-site.sgx-contact .sgx-contact__form input[type=url], .sgx-site.sgx-contact .sgx-contact__form input[type=number], .sgx-site.sgx-contact .sgx-contact__form select, .sgx-site.sgx-contact .sgx-contact__form textarea {
	display: block !important; width: 100% !important; max-width: none !important; box-sizing: border-box !important; min-height: 46px !important; padding: 10px 16px !important; margin: 0 !important;
	border: 1px solid #D5E3D9 !important; border-radius: 14px !important; background: #fff !important; color: #14251D !important; font-family: inherit !important; font-size: 16px !important; line-height: 24px !important; box-shadow: none !important;
}
.sgx-site.sgx-contact .sgx-contact__form textarea { min-height: 140px !important; resize: vertical; }
.sgx-site.sgx-contact .sgx-contact__form ::placeholder { color: #8AA091; opacity: 1; }
.sgx-site.sgx-contact .sgx-contact__form input:focus, .sgx-site.sgx-contact .sgx-contact__form select:focus, .sgx-site.sgx-contact .sgx-contact__form textarea:focus { border-color: #1E7A4C !important; box-shadow: 0 0 0 2px rgba(30, 122, 76, .2) !important; outline: none !important; background: #fff !important; }
.sgx-site.sgx-contact .sgx-contact__form .frm_error_style, .sgx-site.sgx-contact .sgx-contact__form .frm_error { color: #B3261E !important; font-size: 14px; }
.sgx-site.sgx-contact .sgx-contact__form .frm_has_error input, .sgx-site.sgx-contact .sgx-contact__form .frm_has_error textarea { border-color: #B3261E !important; }
.sgx-site.sgx-contact .sgx-contact__form .frm_description, .sgx-site.sgx-contact .sgx-contact__form .frm_message { margin: 4px 0 0 !important; color: #4B6156 !important; font-size: 13px !important; }
.sgx-site.sgx-contact .sgx-contact__form .frm_submit { grid-column: 1 / -1; margin: 0 !important; padding: 0 !important; }
.sgx-site.sgx-contact .sgx-contact__form input[type=submit], .sgx-site.sgx-contact .sgx-contact__form button[type=submit], .sgx-site.sgx-contact .sgx-contact__form .frm_button_submit {
	display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; min-height: 44px !important; padding: 10px 20px !important; margin: 0 !important; border: 1px solid transparent !important; border-radius: 999px !important;
	background: #1E7A4C !important; color: #fff !important; font-family: inherit !important; font-size: 15px !important; font-weight: 700 !important; line-height: 24px !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
	box-shadow: 0 6px 16px -8px rgba(30, 122, 76, .6) !important; transition: background-color .15s;
}
.sgx-site.sgx-contact .sgx-contact__form input[type=submit]:hover, .sgx-site.sgx-contact .sgx-contact__form button[type=submit]:hover, .sgx-site.sgx-contact .sgx-contact__form .frm_button_submit:hover { background: #155C39 !important; color: #fff !important; transform: none !important; }
.sgx-site.sgx-contact .sgx-contact__form input[type=submit]:focus-visible, .sgx-site.sgx-contact .sgx-contact__form button[type=submit]:focus-visible { outline: 3px solid #1E7A4C !important; outline-offset: 3px !important; }
@media (max-width: 639.98px) { .sgx-site.sgx-contact .sgx-contact__form input[type=submit], .sgx-site.sgx-contact .sgx-contact__form button[type=submit] { width: 100% !important; } }
.sgx-site.sgx-contact .sgx-contact__link { margin: 10px 0 0; }
.sgx-site.sgx-contact .sgx-contact__link a { color: #1E7A4C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sgx-site.sgx-contact .sgx-about__cards-sec, .sgx-site.sgx-contact .sgx-contact__cards-sec { padding-top: 24px; }

/* ---------- Privacy Policy / Terms (ACF legal text, inc/legal.php): a readable column ---------- */
.sgx-site.sgx-legal { background: transparent; color: #14251D; }
.sgx-site .sgx-legal__body { max-width: 820px; margin: 0 auto; padding: 48px 24px 88px; font-size: 1.02rem; line-height: 1.75; overflow-wrap: anywhere; }
.sgx-site .sgx-legal__body h2 { margin: 0 0 18px; color: #14251D; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sgx-site .sgx-legal__body h3 { margin: 36px 0 12px; color: #14251D; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.sgx-site .sgx-legal__body p { margin: 0 0 1em; }
.sgx-site .sgx-legal__body ul, .sgx-site .sgx-legal__body ol { margin: 0 0 1.2em 1.4em; padding: 0; list-style: revert; }
.sgx-site .sgx-legal__body li { margin: 0 0 .5em; }
.sgx-site .sgx-legal__body li > p { margin: 0; }
.sgx-site .sgx-legal__body a { color: #155C39; text-decoration: underline; text-underline-offset: 3px; }
.sgx-site .sgx-legal__body a:hover { color: #155C39; }
@media (max-width: 600px) { .sgx-site .sgx-legal__body { padding: 32px 20px 64px; } }

/* Refund Policy header (badge, title, effective date) inside the legal text (inc/legal.php) */
.sgx-site .sgx-legal__head { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.sgx-site .sgx-legal__badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #1E7A4C, #155C39); color: #fff; font-weight: 800; letter-spacing: .02em; }
.sgx-site .sgx-legal__head h2 { margin: 0; }
.sgx-site .sgx-legal__body .sgx-legal__effective { margin: 4px 0 0; color: #4B6156; font-size: .92rem; }
/* Refund Policy: its numbered sections are H2s that follow the title header; size them like the H3 sections of Privacy / Terms */
.sgx-site .sgx-legal__body .sgx-legal__head ~ h2 { margin: 36px 0 12px; color: #14251D; font-size: 1.2rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }

/* ---------- Tutor LMS instructor dashboard (design only): premium dark navy / purple SkillGrox look ----------
   Every rule is scoped to body.tutor-screen-frontend-dashboard, so no other page is affected.
   Markup, data, charts, links and permissions are untouched. Palette: navy #0B1020 / #0D1324 / #111A2E, purple #8B5CF6 (primary),
   indigo #A5B4FC and teal #5EEAD4 (secondary), text #EEF6F0 / #C9DCCF / #94A3B8. */
body.tutor-screen-frontend-dashboard .tutor-dashboard-layout { background: #FAFCF9; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-main { background: radial-gradient(1000px 420px at 80% -10%, rgba(30, 122, 76, .13), transparent 70%); }

/* layout: a balanced, wider column */
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-inner,
body.tutor-screen-frontend-dashboard .tutor-dashboard-page { max-width: 1240px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-page { padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 768px) {
	body.tutor-screen-frontend-dashboard .tutor-dashboard-header-inner,
	body.tutor-screen-frontend-dashboard .tutor-dashboard-page { padding-left: 32px; padding-right: 32px; }
}

/* header: solid (stays opaque while it is sticky), clear greeting, tidy avatar */
body.tutor-screen-frontend-dashboard .tutor-dashboard-header { background: #FAFCF9; border-bottom: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-left .tutor-h5 { color: #14251D; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-left .tutor-text-subdued { color: #4B6156; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-left .tutor-tiny { color: #4B6156; font-size: .82rem; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-right { align-items: center; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header-user-avatar { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* sidebar */
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar { background: linear-gradient(180deg, #FAFCF9, #FAFCF9); border-right: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-logo { border-bottom-color: #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-logo .tutor-brand-logo-dark { color: #14251D; font-weight: 800; letter-spacing: -.02em; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li a { border-radius: 10px; color: #4B6156; font-weight: 500; transition: background .15s, color .15s; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li a:hover { background: #FFFFFF; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li.active > a,
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li a.active { background: rgba(30, 122, 76, .18); color: #155C39; box-shadow: inset 3px 0 0 #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li.active > a svg,
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li a.active svg { color: #1E7A4C; }
/* Assignments / Analytics have no icon: align their label with the other items */
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li.tutor-dashboard-menu-assignments > a,
body.tutor-screen-frontend-dashboard .tutor-dashboard-sidebar-nav li.tutor-dashboard-menu-analytics > a { padding-left: 56px; }

/* summary cards: equal width and height, one padding / border / radius */
body.tutor-screen-frontend-dashboard .tutor-flex-wrap > .tutor-flex-1 { display: flex; }
body.tutor-screen-frontend-dashboard .tutor-stat-card { flex: 1 1 auto; min-height: 0; height: auto; gap: 16px; padding: 20px; border: 1px solid #D5E3D9; border-radius: 16px; background: linear-gradient(160deg, rgba(30, 122, 76, .08), #FFFFFF 62%); box-shadow: 0 10px 30px rgba(14, 42, 31, 0.07); transition: border-color .2s, transform .2s; }
body.tutor-screen-frontend-dashboard .tutor-stat-card:hover { border-color: #D5E3D9; transform: translateY(-2px); }
body.tutor-screen-frontend-dashboard .tutor-stat-card-title { color: #4B6156; font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-icon { align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(30, 122, 76, .12); color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-icon svg { color: inherit; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-value .woocommerce-Price-amount,
body.tutor-screen-frontend-dashboard .tutor-stat-card-value bdi { color: inherit; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-brand .tutor-stat-card-value { color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-brand .tutor-stat-card-icon { background: rgba(30, 122, 76, .14); color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception1 .tutor-stat-card-value { color: #1D6B3B; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception1 .tutor-stat-card-icon { background: rgba(45, 212, 191, .13); color: #1D6B3B; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception5 .tutor-stat-card-value { color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception5 .tutor-stat-card-icon { background: rgba(30, 122, 76, .14); color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception4 .tutor-stat-card-value { color: #0E2A1F; }
body.tutor-screen-frontend-dashboard .tutor-stat-card-exception4 .tutor-stat-card-icon { background: rgba(251, 191, 36, .12); color: #0E2A1F; }
/* tablet and small laptops: the four cards stay in one row, so let them shrink evenly and size the number to fit */
@media (min-width: 768px) { body.tutor-screen-frontend-dashboard .tutor-flex-wrap > .tutor-flex-1, body.tutor-screen-frontend-dashboard .tutor-stat-card { min-width: 0; } }
@media (min-width: 768px) and (max-width: 1279px) {
	body.tutor-screen-frontend-dashboard .tutor-stat-card { padding: 16px; gap: 12px; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-value { font-size: clamp(1.15rem, 2.1vw, 1.5rem); }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-title { font-size: .8rem; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-icon { width: 30px; height: 30px; }
}

/* charts and the top-courses panel */
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart,
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-card { border: 1px solid #D5E3D9; border-radius: 16px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(14, 42, 31, 0.07); }
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart .tutor-small { color: #14251D; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart-legend { color: #4B6156; font-size: .82rem; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart-legend .tutor-text-primary { color: #14251D; font-weight: 600; }

/* top courses list */
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-course { border: 1px solid #D5E3D9; border-radius: 12px; background: #FFFFFF; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-course-index { border-radius: 8px; background: rgba(30, 122, 76, .2); color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-course .woocommerce-Price-amount,
body.tutor-screen-frontend-dashboard .tutor-dashboard-home-course bdi { color: #1E7A4C; }

/* phones: compact, two cards per row, chart title above its legend */
@media (max-width: 767px) {
	body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart-header { flex-wrap: wrap; row-gap: 8px; }
	body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart .tutor-small { white-space: nowrap; }
	body.tutor-screen-frontend-dashboard .tutor-dashboard-page { padding-top: 16px; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card { padding: 14px; gap: 10px; border-radius: 14px; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-value { font-size: 1.5rem; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-title { font-size: .8rem; }
	body.tutor-screen-frontend-dashboard .tutor-stat-card-icon { width: 30px; height: 30px; }
	body.tutor-screen-frontend-dashboard .tutor-dashboard-header-left .tutor-h5 { font-size: 1rem; }
	body.tutor-screen-frontend-dashboard .tutor-dashboard-home-chart,
	body.tutor-screen-frontend-dashboard .tutor-dashboard-home-card { border-radius: 14px; }
}
/* ---------- Tutor LMS dashboard: Courses, Announcements (+ modal), Quiz Attempts and other inner pages ----------
   Tutor builds its dark theme from CSS variables. Overriding them on the scoped body (a closer ancestor than <html data-tutor-theme>)
   lifts the weak-contrast greys and blues for the whole dashboard; the rules below fix the few controls the theme paints itself. */
body.tutor-screen-frontend-dashboard {
	--tutor-text-subdued: #4B6156;
	--tutor-text-secondary: #4B6156;
	--tutor-text-brand: #1E7A4C;
	--tutor-text-brand-hover: #1E7A4C;
	--tutor-icon-secondary: #4B6156;
	--tutor-icon-brand: #1E7A4C;
	--tutor-surface-l1: #FFFFFF;
	--tutor-surface-l1-hover: #FFFFFF;
	--tutor-surface-l2: #FFFFFF;
	--tutor-surface-l2-hover: #EEF6F0;
	--tutor-surface-l3: #EEF6F0;
	--tutor-border-idle: #D5E3D9;
	--tutor-border-idle2: #D5E3D9;
	--tutor-border-hover: #B7D3C0;
	--tutor-button-primary-soft: #E4F3E8;
	--tutor-button-primary-soft-hover: #D5E3D9;
	--tutor-button-primary-soft-focused: #E4F3E8;
}

/* filter / sort / toolbar controls */
body.tutor-screen-frontend-dashboard .tutor-btn-primary-soft { background: #E4F3E8; color: #1E7A4C; border: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-btn-primary-soft:hover { background: #D5E3D9; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-btn-primary-soft svg { color: inherit; }
body.tutor-screen-frontend-dashboard .tutor-btn-outline { background: #FFFFFF; color: #14251D; border: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-btn-outline:hover { background: #EEF6F0; border-color: #B7D3C0; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-btn-ghost { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-btn-ghost:hover { background: #FFFFFF; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-btn-secondary { background: #EEF6F0; color: #14251D; border: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-btn-secondary:hover { background: #D5E3D9; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-btn-primary { background: linear-gradient(135deg, #1E7A4C, #155C39); color: #fff; border: 0; }
body.tutor-screen-frontend-dashboard .tutor-btn-primary:hover { background: #155C39; color: #fff; }
body.tutor-screen-frontend-dashboard .tutor-btn:focus-visible { outline: 2px solid #1E7A4C; outline-offset: 2px; }

/* search fields, selects, textareas */
body.tutor-screen-frontend-dashboard .tutor-input { background: #EEF6F0; color: #14251D; border: 1px solid #D5E3D9; border-radius: 10px; }
body.tutor-screen-frontend-dashboard .tutor-input::placeholder { color: #4B6156; opacity: 1; }
body.tutor-screen-frontend-dashboard .tutor-input:focus { border-color: #1E7A4C; box-shadow: 0 0 0 3px rgba(30, 122, 76, .25); outline: none; }
body.tutor-screen-frontend-dashboard .tutor-form-select,
body.tutor-screen-frontend-dashboard .tutor-filter-select { background-color: #EEF6F0; color: #14251D; border: 1px solid #D5E3D9; border-radius: 10px; }
body.tutor-screen-frontend-dashboard .tutor-form-select option,
body.tutor-screen-frontend-dashboard .tutor-filter-select option { background: #FFFFFF; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-select-trigger { background: #EEF6F0; color: #14251D; border: 1px solid #D5E3D9; border-radius: 10px; }
body.tutor-screen-frontend-dashboard .tutor-select-trigger:hover { border-color: #B7D3C0; }
body.tutor-screen-frontend-dashboard .tutor-select-value { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-select-value-placeholder { color: #4B6156; }
body.tutor-screen-frontend-dashboard .tutor-select-arrow { color: #4B6156; }
body.tutor-screen-frontend-dashboard .tutor-label { color: #14251D; font-weight: 600; }
body.tutor-screen-frontend-dashboard .tutor-popover { background: #FFFFFF; border: 1px solid #D5E3D9; box-shadow: 0 16px 40px rgba(14, 42, 31, 0.15); }
body.tutor-screen-frontend-dashboard .tutor-popover-menu-item { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-popover-menu-item:hover { background: #FFFFFF; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-popover-menu-item.tutor-active { background: rgba(30, 122, 76, .18); color: #1E7A4C; }

/* panels */
body.tutor-screen-frontend-dashboard .tutor-surface-l1.tutor-border { border-color: #D5E3D9; border-radius: 16px; box-shadow: 0 10px 30px rgba(14, 42, 31, 0.07); }
body.tutor-screen-frontend-dashboard .tutor-border-b { border-bottom-color: #D5E3D9; }

/* create-announcement modal and other Tutor modals */
body.tutor-screen-frontend-dashboard .tutor-modal-backdrop { background: rgba(14, 42, 31, .45); }
body.tutor-screen-frontend-dashboard .tutor-modal-content { max-width: min(426px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: #FFFFFF; border: 1px solid #D5E3D9; border-radius: 16px; box-shadow: 0 24px 60px rgba(14, 42, 31, 0.18); overflow: auto; }
body.tutor-screen-frontend-dashboard .tutor-modal-close { position: absolute; top: 14px; right: 14px; left: auto; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-height: 0; padding: 0; margin: 0; border: 1px solid #D5E3D9; border-radius: 8px; background: #FFFFFF; color: #14251D; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
body.tutor-screen-frontend-dashboard .tutor-modal-close svg { width: 16px; height: 16px; color: currentColor; }
body.tutor-screen-frontend-dashboard .tutor-modal-close:hover { background: rgba(30, 122, 76, .22); border-color: rgba(30, 122, 76, .5); color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-modal-close:focus-visible { outline: 2px solid #1E7A4C; outline-offset: 2px; }
body.tutor-screen-frontend-dashboard .tutor-modal-content > .tutor-border-b { padding-right: 60px; }
body.tutor-screen-frontend-dashboard .tutor-modal-title { color: #14251D; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
body.tutor-screen-frontend-dashboard .tutor-modal-footer { border-top: 1px solid #D5E3D9; }

/* empty states (for example "No Quiz Attempts Found") */
body.tutor-screen-frontend-dashboard .tutor-flex-center-col > svg path,
body.tutor-screen-frontend-dashboard .tutor-flex-center-col > svg ellipse { fill: rgba(30, 122, 76, .28); }
body.tutor-screen-frontend-dashboard .tutor-flex-center-col > .tutor-text-subdued { color: #4B6156; font-size: .95rem; }

@media (max-width: 767px) {
	body.tutor-screen-frontend-dashboard .tutor-modal-content { max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); border-radius: 14px; }
}

/* Courses toolbar: "Type:" label, outline "New Bundle" button, matching heights */
body.tutor-screen-frontend-dashboard .tutor-btn-outline-primary { background: transparent; color: #1E7A4C; border: 1px solid rgba(30, 122, 76, .45); border-radius: 8px; }
body.tutor-screen-frontend-dashboard .tutor-btn-outline-primary:hover { background: rgba(30, 122, 76, .18); border-color: #1E7A4C; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-my-courses-filter { display: flex; align-items: center; gap: 10px; }
body.tutor-screen-frontend-dashboard .tutor-dashboard-my-courses-filter .tutor-fs-6 { color: #4B6156; font-weight: 600; white-space: nowrap; }
body.tutor-screen-frontend-dashboard .tutor-add-new-course-bundle,
body.tutor-screen-frontend-dashboard .tutor-create-new-course { min-height: 36px; padding-top: 0; padding-bottom: 0; align-items: center; }
/* ---------- Dashboard fixes: sticky headers, My Courses thumbnails, duplicate "New Course" button ---------- */
/* 1. Sticky headers. The site header (.sgx-header, sticky, z 100) and Tutor's greeting header (.tutor-dashboard-header, sticky, z 10)
   were both pinned near the top of the viewport, so the greeting slid under the site header (hidden, or a strip peeking out above it).
   The WordPress admin bar scrolls away up to 1024px wide (it is position:absolute there), yet the site header kept the 32/46px admin-bar offset,
   leaving a gap above itself. Fix: the site header sticks at 0 while the admin bar scrolls away, and the greeting header sticks directly below it. */
body.tutor-screen-frontend-dashboard { --sgx-site-hdr: 73px; --sgx-admin-fixed: 0px; }
@media (min-width: 961px) { body.tutor-screen-frontend-dashboard { --sgx-site-hdr: 85px; } }
@media (min-width: 1025px) { body.tutor-screen-frontend-dashboard.admin-bar { --sgx-admin-fixed: 32px; } }
@media (max-width: 1024px) { body.tutor-screen-frontend-dashboard.admin-bar .sgx-header { top: 0; } }
body.tutor-screen-frontend-dashboard .tutor-dashboard-header { top: calc(var(--sgx-admin-fixed) + var(--sgx-site-hdr)) !important; }

/* 2. My Courses thumbnails: show the whole image (the source files are mostly square, the card box was 16:9 with object-fit: cover) */
body.tutor-screen-frontend-dashboard .tutor-my-courses-card-thumb { height: auto; aspect-ratio: 4 / 3; background: #EEF6F0; }
body.tutor-screen-frontend-dashboard .tutor-my-courses-card-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* 3. Duplicate "New Course": Tutor 4.1.1 prints its own button (Alpine handleCreateCourse, also used on phones) AND the legacy
   a.tutor-create-new-course link in the same toolbar. Both start the same draft-course request; keep Tutor 4's button, hide the legacy link. */
body.tutor-screen-frontend-dashboard .tutor-dashboard-my-courses a.tutor-create-new-course { display: none; }

/* ---------- Dashboard > Analytics (legacy Tutor Pro report markup) ----------
   Root cause: Tutor Pro 3.9.3's analytics screens still print the old Tutor 3 utility classes (.tutor-color-black, .tutor-color-secondary,
   .tutor-nav-link, plain number divs). Those carry fixed light-theme greys (#1E293B, #41454F, #333, a blue price), which Tutor 4's dark theme
   does not remap, so the title, tabs, labels and figures came out at about 1.2 to 2:1 contrast on the navy background.
   Everything below is scoped to .tutor-analytics-wrapper inside the dashboard, so other dashboard pages are untouched. */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-color-black,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-analytics-title,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .analytics-title,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-analytics-widget-title { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-analytics-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-color-secondary,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-color-muted { color: #4B6156; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-fw-bold { color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .woocommerce-Price-amount,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .woocommerce-Price-amount bdi { color: inherit; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-card { border-color: #D5E3D9; border-radius: 16px; }

/* report tabs */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper ul.tutor-nav { border-bottom-color: #D5E3D9; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-nav-link { color: #4B6156; border-radius: 8px 8px 0 0; transition: background .15s, color .15s; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-nav-link span { color: inherit; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-nav-link:hover { color: #14251D; background: #FFFFFF; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-nav-link.is-active { color: #14251D; background: rgba(30, 122, 76, .18); box-shadow: inset 0 -2px 0 #1E7A4C; }

/* Tutor 4 dropped the old Tutor 3 grid / display utilities that these Pro 3.9.3 screens still use, so the overview cards showed every number twice
   (mobile and desktop copy) and stacked in one column. Minimal restoration, scoped to the Analytics overview cards. */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-d-none { display: none; }
@media (min-width: 992px) {
	body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-d-lg-block { display: block; }
	body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-d-lg-none { display: none; }
}
@media (max-width: 991px) {
	body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-d-lg-block { display: none; }
}
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-row > div { width: auto; max-width: none; margin: 0; padding: 0; min-width: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-round-box { display: none; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card > .tutor-d-flex { display: flex; align-items: center; gap: 12px; padding: 20px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card .tutor-ml-auto { margin-left: auto; }
@media (min-width: 992px) {
	body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card > .tutor-d-flex { flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 24px 20px; }
}
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card .tutor-fs-3 { font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card .tutor-fs-4 { font-size: 1.4rem; line-height: 1.1; }
body.tutor-screen-frontend-dashboard .tutor-analytics-info-cards .tutor-card .tutor-fs-7 { font-size: .9rem; font-weight: 600; }

/* Dashboard > Assignments view (inc/dashboard-assignments.php, templates/dashboard-assignments.php) */
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__panel { padding: 20px 22px; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #D5E3D9; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__title { margin: 0; color: #14251D; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__count { color: #4B6156; font-size: .875rem; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__empty { margin: 8px 0 4px; color: #4B6156; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 16px; border: 1px solid #D5E3D9; border-radius: 12px; background: #FFFFFF; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__name { color: #14251D; font-weight: 600; overflow-wrap: anywhere; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__course { color: #1E7A4C; font-size: .875rem; overflow-wrap: anywhere; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__course:hover { color: #14251D; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__date { color: #4B6156; font-size: .8rem; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__meta { display: flex; flex: none; gap: 20px; margin: 0; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__meta div { text-align: center; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__meta dt { color: #4B6156; font-size: .75rem; font-weight: 500; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__meta dd { margin: 2px 0 0; color: #14251D; font-weight: 700; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; color: #4B6156; font-size: .9rem; }
body.tutor-screen-frontend-dashboard .sgx-dash-assignments__pager a { color: #1E7A4C; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
	body.tutor-screen-frontend-dashboard .sgx-dash-assignments__panel { padding: 16px; }
	body.tutor-screen-frontend-dashboard .sgx-dash-assignments__item { flex-direction: column; align-items: stretch; }
	body.tutor-screen-frontend-dashboard .sgx-dash-assignments__meta { justify-content: space-between; gap: 8px; }
}
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .page-numbers { color: #4B6156; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .page-numbers.current { color: #14251D; font-weight: 700; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper a.page-numbers:hover { color: #14251D; }

/* Dashboard > Analytics > Earnings Graph section (legacy Tutor Pro 3.9.3 markup in Tutor 4.1.1; tab script: assets/js/skillgrox-analytics.js).
   Tutor 4 removed the old flex/margin utilities and the tab script, so the section collapsed: heading, period buttons and figure tabs overlapped,
   all four charts were stacked, and the chart text and grid were drawn in dark greys on the navy background. */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-d-flex { display: flex; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-align-center { align-items: center; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-justify-between { justify-content: space-between; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-flex-wrap { flex-wrap: wrap; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-my-24 { margin-top: 32px; margin-bottom: 16px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-mb-48 { margin-bottom: 48px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-mt-4 { margin-top: 4px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-mr-16 { margin-right: 16px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-filter-tabs > .tutor-d-flex { justify-content: flex-start; gap: 10px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-filter-tabs .tutor-analytics-period-button { margin-right: 0; min-height: 38px; padding: 0 18px; border: 1px solid rgba(30, 122, 76, .4); border-radius: 999px; background: transparent; color: #1E7A4C; }
body.tutor-screen-frontend-dashboard .tutor-analytics-filter-tabs .tutor-analytics-period-button:hover { background: rgba(30, 122, 76, .18); color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-analytics-filter-tabs .tutor-analytics-period-button.active,
body.tutor-screen-frontend-dashboard .tutor-analytics-filter-tabs .tutor-analytics-period-button.is-active { background: #1E7A4C; border-color: #1E7A4C; color: #fff; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph.sgx-tabs .tutor-tab > .tutor-tab-item { display: none; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph.sgx-tabs .tutor-tab > .tutor-tab-item.is-active { display: block; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs { display: flex; flex-wrap: wrap; gap: 12px; height: auto; overflow: visible; margin: 0 0 16px; padding: 0; border: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-item { height: auto; margin: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-link { min-width: 130px; padding: 12px 16px; border: 1px solid #D5E3D9; border-radius: 12px; background: #FFFFFF; box-shadow: none; cursor: pointer; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-link.is-active { border-color: #1E7A4C; background: rgba(30, 122, 76, .16); box-shadow: none; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-link:focus-visible { outline: 2px solid #1E7A4C; outline-offset: 2px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-tab-item { padding: 16px; border: 1px solid #D5E3D9; border-radius: 16px; background: #FFFFFF; }
body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-tab-item .tutor-fs-5 { margin-bottom: 8px; }
/* Chart.js draws its labels and grid in dark greys; flip lightness (keeping hues) so they read on the navy panel. Only drawn pixels change. */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper canvas { max-width: 100%; filter: invert(1) hue-rotate(180deg) brightness(1.15); }
@media (max-width: 640px) {
	body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-item { flex: 1 1 calc(50% - 6px); }
	body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-nav-tabs .tutor-nav-link { min-width: 0; }
	body.tutor-screen-frontend-dashboard .tutor-analytics-graph .tutor-tab-item { padding: 10px; }
}

/* Analytics > Statements, Students and Export tabs (same legacy Tutor Pro markup): dark form fields and labels, the filter row, student avatars, export panel.
   The old grid (.tutor-row / .tutor-col-*), spacing utilities and "visibility hidden" helper no longer exist in Tutor 4, and the form labels and
   the white export panel kept their light-theme colours. */
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-label { display: block; margin: 0 0 8px; color: #14251D; font-size: .875rem; font-weight: 600; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-visibility-hidden { visibility: hidden; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-wrap { width: 100%; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-control,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 14px; border: 1px solid #D5E3D9; border-radius: 10px; background-color: #EEF6F0; color: #14251D; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-control::placeholder { color: #4B6156; opacity: 1; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-control:focus,
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-form-select:focus { border-color: #1E7A4C; box-shadow: 0 0 0 3px rgba(30, 122, 76, .25); outline: none; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 24px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-row > [class*="tutor-col"] { min-width: 0; padding: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-col-lg-5 { flex: 1 1 280px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-col-lg-7,
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-col-lg-8 { flex: 2 1 360px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-col-lg-4 { flex: 1 1 240px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-col-lg { flex: 1 1 220px; }
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-mb-16,
body.tutor-screen-frontend-dashboard .tutor-analytics-sub-pages .tutor-mb-24 { margin-bottom: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-avatar { display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-avatar .tutor-ratio { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-avatar .tutor-avatar-text { position: static; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #155C39; font-size: 1rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper { overflow: hidden; border: 1px solid #D5E3D9; border-radius: 16px; background: #FFFFFF; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-row { align-items: flex-end; justify-content: space-between; gap: 0; margin: 0; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-col-xl { flex: 1 1 360px; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-col-xl-auto { flex: 0 0 auto; max-width: 100%; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-p-32 { padding: 32px; }
@media (min-width: 1200px) { body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-p-xl-64 { padding: 48px 56px; } }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-mt-16 { margin-top: 12px; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-mt-28 { margin-top: 24px; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper .tutor-fs-3 { font-size: 1.4rem; line-height: 1.3; }
body.tutor-screen-frontend-dashboard .analytics-export-wrapper svg { display: block; max-width: 100%; height: auto; }
body.tutor-screen-frontend-dashboard .tutor-analytics-wrapper .tutor-table-responsive { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }


/* ---------- About page (1.0.64): the design's About layout (Contact keeps its own rules: everything below is :not(.sgx-contact)) ---------- */
.sgx-site.sgx-about:not(.sgx-contact) { max-width: 76rem; padding: 0 16px; color: #2A4033; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) { padding: 0 24px; } }
@media (min-width: 1024px) { .sgx-site.sgx-about:not(.sgx-contact) { padding: 0 32px; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__sec { padding: 56px 0; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__sec:first-child { padding: 40px 0 56px; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__sec:first-child { padding: 56px 0; } .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__sec { padding: 80px 0; } }
/* hero: two columns from 1024px, 40px gap, vertically centred */
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1024px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__split { grid-template-columns: 1fr 1fr; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__eyebrow { margin: 0; color: #4B6156; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__title { margin: 8px 0 0; font-size: 2.25rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__title { font-size: 3rem; line-height: 1; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__lead { margin: 16px 0 0; max-width: none; color: #2A4033; font-size: 18px; font-weight: 400; line-height: 28px; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__hero .sgx-about__body { max-width: none; margin-top: 16px; color: #2A4033; font-size: 18px; line-height: 28px; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__hero .sgx-about__body p { margin: 0 0 16px; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__hero .sgx-about__body p:last-child { margin-bottom: 0; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__media, .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card-hl { flex: none; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 28px; object-fit: cover; filter: saturate(.8) contrast(.97); }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card-hl { padding: 32px; border: 0; border-radius: 28px; background: #E4F3E8; box-shadow: none; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card-hl { padding: 40px; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card-hl h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; color: #14251D; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card-hl p { color: #2A4033; font-size: 18px; line-height: 28px; }
/* values: a full-width white band with top and bottom lines, 4 cards on desktop */
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards-sec { position: relative; background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards-sec::before, .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards-sec::after { content: ""; position: absolute; left: -100vmax; right: -100vmax; height: 1px; background: #D5E3D9; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards-sec::before { top: 0; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards-sec::after { bottom: 0; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__h2 { margin: 0; font-size: 1.875rem; font-weight: 700; line-height: 1.15; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__h2 { font-size: 2.25rem; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card { padding: 24px; border-radius: 20px; background: #FAFCF9; transition: none; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card:hover { transform: none; box-shadow: none; border-color: #D5E3D9; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__num { display: none; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__icon { width: 28px; height: 28px; margin: 0; background: none; color: #1E7A4C; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card h3 { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.15; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__icon + h3 { margin-top: 16px; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card p { margin: 4px 0 0; color: #4B6156; line-height: 1.6; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__card h3 + p { margin-top: 8px; }
/* text block without an image: heading on the left, copy on the right (the design's "promise" block) */
@media (min-width: 1024px) { .sgx-site.sgx-about:not(.sgx-contact) .sgx-about__text:not(.has-img) { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; } }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__text:not(.has-img) .sgx-about__copy { display: contents; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__text .sgx-about__body { max-width: none; color: #2A4033; font-size: 17px; line-height: 1.7; }
.sgx-site.sgx-about:not(.sgx-contact) .sgx-about__text .sgx-about__body p { margin: 0 0 16px; }
/* about call to action: same sand band as the homepage */
html body .sgx-site .sgx-about-cta.sgx-about__cta { position: relative; margin: 0; padding: 64px 0; background: #E4F3E8; box-shadow: 0 0 0 100vmax #E4F3E8; clip-path: inset(0 -100vmax); } /* full-bleed sand band even inside the page wrapper */
html body .sgx-site .sgx-about-cta.sgx-about__cta::before { content: ""; position: absolute; top: 0; left: -100vmax; right: -100vmax; height: 1px; background: #C9F27B; }
@media (min-width: 640px) { html body .sgx-site .sgx-about-cta.sgx-about__cta { padding: 80px 0; } }
html body .sgx-about-cta .sgx-about-cta__inner { max-width: 760px; padding: 0 20px; border: 0; }
html body .sgx-about-cta h2 { margin: 0 0 12px; font-size: 1.875rem; font-weight: 700; line-height: 1.2; color: #14251D; }
@media (min-width: 640px) { html body .sgx-about-cta h2 { font-size: 2.25rem; } }
html body .sgx-about-cta p { color: #2A4033; font-size: 18px; line-height: 28px; }
body.sgx-ctx-about .website-wrapper, body.sgx-ctx-about .sgx-site--bottom { background: #FAFCF9; }

/* ---------- checkout (1.0.72): the prototype's layout ----------
 * Title, "1. Your details" and "2. Payment method" cards on the left, "Order summary" card with the Pay button on the right.
 * Pure CSS on the markup WooCommerce already prints: the wrappers of the order review and the payment block become transparent
 * (display: contents) so the payment methods can sit in the left column and the Pay button in the right card. Nothing in the form,
 * the gateways or the fragments that WooCommerce refreshes is changed. Also fixes the payment method row (the hidden radio input
 * left no grid cell, so the Razorpay text was squeezed into a zero-width column and printed one letter per line).
 */
html body.sgx-checkout-page .main-page-wrapper .container { max-width: 75rem; padding-inline: 16px; }
@media (min-width: 640px) { html body.sgx-checkout-page .main-page-wrapper .container { padding-inline: 24px; } }
html body.sgx-checkout-page .main-page-wrapper { background: #FAFCF9; }
html body.sgx-checkout-page .main-page-wrapper > .container, html body.sgx-checkout-page .site-content { padding-top: 40px; padding-bottom: 56px; }
html body.sgx-checkout-page :is(.page-title, .wd-page-title, .woocommerce-checkout-steps, .wd-checkout-steps) { display: none; }

.sgx-co__head { margin: 0 0 24px; }
.sgx-co__title { margin: 0; font-family: var(--sgx-font-head, inherit); font-size: 2.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #14251D; text-transform: none; }
.sgx-co__secure { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: #4B6156; font-size: 1rem; }
.sgx-co__lock { flex: none; }

/* the grid: details + payment on the left, summary on the right */
html body.sgx-checkout-page form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; column-gap: 32px; row-gap: 0; margin-top: 0; }
html body.sgx-checkout-page .checkout-order-review, html body.sgx-checkout-page #order_review, html body.sgx-checkout-page #payment { display: contents; }
html body.sgx-checkout-page form.woocommerce-checkout > .checkout-order-review { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }

/* cards: white, 1px line, 20px radius */
html body.sgx-checkout-page form.woocommerce-checkout > .customer-details, html body.sgx-checkout-page #payment ul.payment_methods,
html body.sgx-checkout-page #order_review_heading, html body.sgx-checkout-page #order_review > .wd-table-wrapper, html body.sgx-checkout-page #payment .place-order {
	box-sizing: border-box; min-width: 0; background: #fff; border: 1px solid #D5E3D9 !important; box-shadow: none !important;
}
html body.sgx-checkout-page form.woocommerce-checkout > .customer-details, html body.sgx-checkout-page #payment ul.payment_methods { padding: 20px; border-radius: 20px; }
@media (min-width: 640px) { html body.sgx-checkout-page form.woocommerce-checkout > .customer-details, html body.sgx-checkout-page #payment ul.payment_methods { padding: 24px; } }

/* order summary: three pieces that read as one card */
html body.sgx-checkout-page #order_review_heading { margin: 0; padding: 20px 20px 0; border-bottom: 0; border-radius: 20px 20px 0 0; }
html body.sgx-checkout-page #order_review > .wd-table-wrapper { margin: 0; padding: 12px 20px 0; border-top: 0; border-bottom: 0; border-radius: 0; overflow: visible; }
html body.sgx-checkout-page #payment .place-order { margin: 0; padding: 16px 20px 20px; border-top: 0; border-radius: 0 0 20px 20px; }
@media (min-width: 640px) {
	html body.sgx-checkout-page #order_review_heading { padding: 24px 24px 0; }
	html body.sgx-checkout-page #order_review > .wd-table-wrapper { padding: 12px 24px 0; }
	html body.sgx-checkout-page #payment .place-order { padding: 16px 24px 24px; }
}

/* headings: "1. Your details", "Order summary", "2. Payment method" */
html body.sgx-checkout-page :is(.woocommerce-billing-fields > h3, #order_review_heading) { margin: 0 0 16px; font-family: var(--sgx-font-head, inherit); font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: #14251D; letter-spacing: 0; text-transform: none; }
html body.sgx-checkout-page #order_review_heading { margin: 0; }
html body.sgx-checkout-page :is(.woocommerce-billing-fields > h3, #order_review_heading)::after { content: none; display: none; }
html body.sgx-checkout-page #payment ul.payment_methods::before { content: "2. Payment method"; display: block; margin: 0 0 4px; font-family: var(--sgx-font-head, inherit); font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: #14251D; }

/* details: two columns of fields on wide cards */
@media (min-width: 640px) {
	html body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	html body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper .form-row { grid-column: span 1; margin-bottom: 16px; }
	html body.sgx-checkout-page .woocommerce-billing-fields__field-wrapper .form-row:is(#billing_country_field, #billing_address_1_field, #billing_address_2_field, #billing_state_field) { grid-column: 1 / -1; }
}
html body.sgx-checkout-page .woocommerce-additional-fields, html body.sgx-checkout-page .woocommerce-shipping-fields { margin-top: 8px; }
html body.sgx-checkout-page .woocommerce-additional-fields > h3 { margin: 8px 0 12px; font-size: 1rem; font-weight: 700; text-transform: none; color: #14251D; }

/* payment methods: selectable rows (the radio input stays in the page and covers the row, so a click anywhere selects it) */
html body.sgx-checkout-page #payment ul.payment_methods { display: grid; gap: 12px; margin: 0; list-style: none; }
html body.sgx-checkout-page #payment ul.payment_methods::before { grid-column: 1 / -1; }
html body.sgx-checkout-page #payment ul.payment_methods > li { display: block; position: relative; margin: 0; padding: 14px 16px; border: 1px solid #D5E3D9; border-radius: 14px; background: #fff; list-style: none; }
html body.sgx-checkout-page #payment ul.payment_methods > li:has(> input:checked) { border-color: #1E7A4C; box-shadow: 0 0 0 3px rgba(30, 122, 76, .1); background: #fff; }
html body.sgx-checkout-page #payment ul.payment_methods > li > input[type="radio"] { position: absolute; display: block; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
html body.sgx-checkout-page #payment ul.payment_methods > li > label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; position: relative; margin: 0; padding: 0 0 0 30px; color: #14251D; font-size: 1rem; font-weight: 800; line-height: 1.4; cursor: pointer; }
html body.sgx-checkout-page #payment ul.payment_methods > li > label::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #B7C0CE; border-radius: 999px; background: #fff; box-sizing: border-box; }
html body.sgx-checkout-page #payment ul.payment_methods > li:has(> input:checked) > label::before { border-color: #1E7A4C; background: radial-gradient(circle, #1E7A4C 0 4px, #fff 5px); }
html body.sgx-checkout-page #payment ul.payment_methods > li > label img { display: inline-block; width: auto; max-width: 110px; height: auto; max-height: 24px; margin: 0; }
html body.sgx-checkout-page #payment div.payment_box { display: block; position: static; box-sizing: border-box; width: 100%; max-width: none; margin: 6px 0 0; padding: 0 0 0 30px; background: none; border: 0; box-shadow: none; color: #4B6156; font-size: .875rem; line-height: 1.5; overflow-wrap: normal; word-break: normal; }
html body.sgx-checkout-page #payment div.payment_box::before, html body.sgx-checkout-page #payment div.payment_box::after { content: none; display: none; }
html body.sgx-checkout-page #payment div.payment_box p { margin: 0; }

/* order summary lines */
html body.sgx-checkout-page .woocommerce-checkout-review-order-table thead { display: none; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tbody tr { padding: 8px 0; border: 0; font-size: .95rem; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tbody :is(.product-name, .product-total) { color: #14251D; font-weight: 600; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr { padding: 10px 0; border-top: 1px solid #D5E3D9; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total { margin: 0; padding: 16px 0 0; border-top: 1px solid #D5E3D9; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total th { font-size: 1.125rem; font-weight: 700; color: #14251D; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td { font-size: 1.5rem; font-weight: 800; color: #14251D; }

/* terms text and the Pay button */
html body.sgx-checkout-page #payment .place-order .woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; font-size: .8125rem; color: #4B6156; }
html body.sgx-checkout-page #payment #place_order { min-height: 48px; border-radius: 999px !important; font-size: 1rem; box-shadow: 0 6px 16px -8px rgba(30, 122, 76, .6) !important; }

/* desktop: details + payment left (rows 1-4 and 5), summary right (rows 1-3) */
@media (min-width: 1024px) {
	html body.sgx-checkout-page form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto auto auto auto 1fr auto; }
	html body.sgx-checkout-page form.woocommerce-checkout > .customer-details { grid-column: 1; grid-row: 2 / span 4; margin-bottom: 24px; }
	html body.sgx-checkout-page #payment ul.payment_methods { grid-column: 1; grid-row: 6; }
	html body.sgx-checkout-page #order_review_heading { grid-column: 2; grid-row: 2; }
	html body.sgx-checkout-page #order_review > .wd-table-wrapper { grid-column: 2; grid-row: 3; }
	html body.sgx-checkout-page #payment .place-order { grid-column: 2; grid-row: 4; }
}
/* below 1024px: one column, in the prototype's order: details, payment, summary */
@media (max-width: 1023.98px) {
	html body.sgx-checkout-page form.woocommerce-checkout > .customer-details { order: 1; margin-bottom: 24px; }
	html body.sgx-checkout-page #payment ul.payment_methods { order: 2; margin-bottom: 24px; }
	html body.sgx-checkout-page #order_review_heading { order: 3; }
	html body.sgx-checkout-page #order_review > .wd-table-wrapper { order: 4; }
	html body.sgx-checkout-page #payment .place-order { order: 5; }
}
@media (max-width: 575.98px) { .sgx-co__title { font-size: 1.875rem; } }

/* coupon toggle above the form: a plain line */
html body.sgx-checkout-page .woocommerce-form-coupon-toggle { margin: 0 0 16px; }
html body.sgx-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #4B6156; font-size: .95rem; }
html body.sgx-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before { content: none; }
html body.sgx-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a { color: #1E7A4C; font-weight: 700; }

/* no inner rules between the three pieces of the summary card */
html body.sgx-checkout-page #order_review_heading { border-bottom: 0 !important; }
html body.sgx-checkout-page #order_review > .wd-table-wrapper { border-top: 0 !important; border-bottom: 0 !important; }
html body.sgx-checkout-page #payment .place-order { border-top: 0 !important; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tbody tr:first-child { border-top: 1px solid #D5E3D9; padding-top: 12px; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total { border-bottom: 0; }
html body.sgx-checkout-page .woocommerce-checkout-review-order-table { margin-bottom: 0; }

/* ---------- cart (1.0.73): the prototype's cart ----------
 * "Your cart" title, each item as a card (picture, name, price, quantity, line total, Remove) and an "Order summary" card on the
 * right with the Checkout button. CSS on the markup WooCommerce already prints; the cart form, quantities, coupon and Update cart
 * keep working exactly as before.
 */
html body.sgx-ctx-cart :is(.page-title, .wd-page-title, .woocommerce-checkout-steps, .wd-checkout-steps) { display: none; }
html body.sgx-ctx-cart .main-page-wrapper { padding-top: 0; padding-bottom: 56px; background: #FAFCF9; }
html body.sgx-ctx-cart .main-page-wrapper > .container, html body.sgx-ctx-cart .site-content { padding-top: 40px; }
html body.sgx-ctx-cart .main-page-wrapper .container { max-width: 75rem; padding-inline: 16px; }
@media (min-width: 640px) { html body.sgx-ctx-cart .main-page-wrapper .container { padding-inline: 24px; } }
.sgx-cart__title { margin: 0 0 32px; font-family: var(--sgx-font-head, inherit); font-size: 2.25rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #14251D; text-transform: none; }
@media (max-width: 575.98px) { .sgx-cart__title { font-size: 1.875rem; margin-bottom: 24px; } }

/* two columns: items, summary */
html body.sgx-ctx-cart .cart-content-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
html body.sgx-ctx-cart .cart-content-wrapper > * { grid-column: 1; min-width: 0; margin: 0; }
html body.sgx-ctx-cart .cart-content-wrapper > .cart-collaterals:empty, html body.sgx-ctx-cart .cart-content-wrapper > div.cart-collaterals:not(.cart-totals-section) { display: none; }
@media (min-width: 1024px) {
	html body.sgx-ctx-cart .cart-content-wrapper { grid-template-columns: minmax(0, 1fr) 380px; }
	html body.sgx-ctx-cart .cart-content-wrapper > :not(.cart-data-form):not(.cart-totals-section) { grid-column: 1 / -1; }
	html body.sgx-ctx-cart .cart-content-wrapper > .cart-data-form { align-self: start; }
	html body.sgx-ctx-cart .cart-content-wrapper > .cart-data-form { grid-column: 1; }
	html body.sgx-ctx-cart .cart-content-wrapper > .cart-totals-section { grid-column: 2; align-self: start; position: sticky; top: 96px; }
}
html body.sgx-ctx-cart .cart-content-wrapper > .woocommerce-notices-wrapper:empty { display: none; }

/* the items: one card each */
html body.sgx-ctx-cart .woocommerce-cart-form { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
html body.sgx-ctx-cart .cart-table-section { padding: 0; background: none; border: 0; box-shadow: none; }
html body.sgx-ctx-cart table.shop_table.cart { display: block; width: 100%; margin: 0; border: 0; background: none; }
html body.sgx-ctx-cart table.shop_table.cart :is(thead) { display: none; }
html body.sgx-ctx-cart table.shop_table.cart tbody { display: grid; gap: 12px; }
html body.sgx-ctx-cart table.shop_table.cart td::before { content: none; display: none; }
html body.sgx-ctx-cart table.shop_table.cart tr.cart_item {
	display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto; grid-template-areas: "thumb name name name" "thumb price qty sub" "thumb remove remove remove"; column-gap: 12px; row-gap: 4px; align-items: center;
	box-sizing: border-box; padding: 12px; background: #fff; border: 1px solid #D5E3D9; border-radius: 20px;
}
@media (min-width: 640px) { html body.sgx-ctx-cart table.shop_table.cart tr.cart_item { grid-template-columns: 160px minmax(0, 1fr) auto auto; column-gap: 16px; padding: 16px; } }
html body.sgx-ctx-cart table.shop_table.cart tr.cart_item > td { display: block; padding: 0; border: 0; background: none; text-align: start; width: auto; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail { grid-area: thumb; align-self: start; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail a, html body.sgx-ctx-cart tr.cart_item .product-thumbnail img { display: block; width: 100%; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #EEF6F0; }
html body.sgx-ctx-cart tr.cart_item .product-name { grid-area: name; align-self: start; }
html body.sgx-ctx-cart tr.cart_item .product-name a { color: #14251D; font-size: 1.0625rem; font-weight: 800; line-height: 1.35; text-decoration: none; }
html body.sgx-ctx-cart tr.cart_item .product-name a:hover { text-decoration: underline; }
html body.sgx-ctx-cart tr.cart_item .product-price { grid-area: price; color: #4B6156; font-size: .9375rem; }
html body.sgx-ctx-cart tr.cart_item .product-quantity { grid-area: qty; }
html body.sgx-ctx-cart tr.cart_item .product-subtotal { grid-area: sub; justify-self: end; color: #14251D; font-family: var(--sgx-font-head, inherit); font-size: 1.25rem; font-weight: 700; }
html body.sgx-ctx-cart tr.cart_item .product-remove { grid-area: remove; justify-self: end; }
html body.sgx-ctx-cart tr.cart_item .product-remove a.remove { display: inline-flex; align-items: center; width: auto; height: auto; min-height: 38px; padding: 6px 14px; border-radius: 999px; background: none !important; color: #4B6156 !important; font-size: 0; line-height: 1; text-decoration: none; }
html body.sgx-ctx-cart tr.cart_item .product-remove a.remove::before { content: none; }
html body.sgx-ctx-cart tr.cart_item .product-remove a.remove::after { content: "Remove"; font-size: .875rem; font-weight: 700; }
html body.sgx-ctx-cart tr.cart_item .product-remove a.remove:hover { background: #EEF6F0 !important; color: #14251D !important; }

/* coupon + update row: its own card under the items */
html body.sgx-ctx-cart table.shop_table.cart tr.wd-cart-action-row { display: block; margin-top: 12px; }
html body.sgx-ctx-cart table.shop_table.cart tr.wd-cart-action-row > td { display: block; box-sizing: border-box; padding: 16px; background: #fff; border: 1px solid #D5E3D9; border-radius: 20px; }
html body.sgx-ctx-cart .wd-cart-action-row .actions, html body.sgx-ctx-cart .wd-cart-action-row .coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon { flex: 1 1 320px; }
html body.sgx-ctx-cart .wd-cart-action-row :is(input[name="coupon_code"], .input-text) { flex: 1 1 160px; min-height: 46px; border-radius: 14px; }
html body.sgx-ctx-cart .wd-cart-action-row .button { min-height: 44px; border-radius: 999px !important; }
html body.sgx-ctx-cart .wd-cart-action-row button[name="update_cart"] { margin-left: auto; }

/* order summary card */
html body.sgx-ctx-cart .cart-totals-section { box-sizing: border-box; padding: 20px; background: #fff; border: 1px solid #D5E3D9; border-radius: 20px; box-shadow: none; }
html body.sgx-ctx-cart .cart-totals-section .cart_totals { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
html body.sgx-ctx-cart .cart-totals-inner { padding: 0; border: 0; outline: 0; box-shadow: none; background: none; }
html body.sgx-ctx-cart .cart-totals-section :is(.cart-totals-inner, .cart_totals)::before, html body.sgx-ctx-cart .cart-totals-section :is(.cart-totals-inner, .cart_totals)::after { content: none; display: none; }
html body.sgx-ctx-cart .cart_totals h2 { margin: 0 0 16px; font-family: var(--sgx-font-head, inherit); font-size: 1.25rem; line-height: 1.3; font-weight: 700; text-transform: none; letter-spacing: 0; color: #14251D; }
html body.sgx-ctx-cart .cart_totals table.shop_table { display: block; width: 100%; margin: 0; }
html body.sgx-ctx-cart .cart_totals table.shop_table tbody { display: block; }
html body.sgx-ctx-cart .cart_totals table.shop_table tr { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; }
html body.sgx-ctx-cart .cart_totals table.shop_table :is(th, td) { display: block; padding: 0; border: 0; background: none; text-align: start; font-size: .9375rem; }
html body.sgx-ctx-cart .cart_totals table.shop_table th { color: #4B6156; font-weight: 400; text-transform: none; }
html body.sgx-ctx-cart .cart_totals table.shop_table td { color: #14251D; font-weight: 700; text-align: end; }
html body.sgx-ctx-cart .cart_totals table.shop_table td::before { content: none; display: none; }
html body.sgx-ctx-cart .cart_totals table.shop_table tr.order-total { margin-top: 4px; padding: 14px 0 0; border-top: 1px solid #D5E3D9; align-items: center; }
html body.sgx-ctx-cart .cart_totals table.shop_table tr.order-total th { color: #14251D; font-size: 1.125rem; font-weight: 800; }
html body.sgx-ctx-cart .cart_totals table.shop_table tr.order-total td { font-family: var(--sgx-font-head, inherit); font-size: 1.5rem; font-weight: 800; }
html body.sgx-ctx-cart .wc-proceed-to-checkout { margin: 20px 0 0; padding: 0; }
html body.sgx-ctx-cart .wc-proceed-to-checkout .checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; border-radius: 999px !important; font-size: 1rem; box-shadow: 0 6px 16px -8px rgba(30, 122, 76, .6) !important; }
.sgx-cart__more { display: flex; align-items: center; justify-content: center; min-height: 38px; margin: 8px 0 0; border-radius: 999px; color: #14251D; font-size: .875rem; font-weight: 700; text-decoration: none; }
.sgx-cart__more:hover { background: #EEF6F0; color: #14251D; }

/* empty cart */
html body.sgx-ctx-cart .cart-empty { box-sizing: border-box; max-width: 42rem; margin: 0 auto 16px; padding: 40px 24px; background: #fff; border: 1px solid #D5E3D9; border-radius: 20px; box-shadow: none; color: #14251D; font-size: 1.0625rem; font-weight: 700; text-align: center; }
html body.sgx-ctx-cart .return-to-shop { text-align: center; }
/* Woodmart gives the cart columns percentage widths and the totals a framed inner box: neutralised on the new grid */
html body.sgx-ctx-cart .cart-content-wrapper > :is(.cart-data-form, .cart-totals-section) { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; float: none; }
html body.sgx-ctx-cart .cart-totals-section .cart-totals-inner { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body.sgx-ctx-cart .cart-totals-section .cart_totals { width: auto; max-width: none; margin: 0; }
html body.sgx-ctx-cart .wd-cart-action-row .button { height: auto; width: auto; min-width: 0; padding: 10px 20px; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail { width: 100%; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail :is(a, .wd-product-thumb, img) { width: 100% !important; max-width: none !important; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail img { height: auto !important; }
html body.sgx-ctx-cart .cart_totals h2, html body.sgx-ctx-cart .cart-totals-section h2 { padding: 0; text-align: start; }
html body.sgx-ctx-cart .wd-cart-action-row > td > * { margin-top: 0; margin-bottom: 0; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon > :is(label, h3, .wd-coupon-title) { display: none; }
html body.sgx-ctx-cart tr.cart_item > td.product-remove { position: static !important; inset: auto !important; transform: none !important; margin: 0 !important; }
html body.sgx-ctx-cart tr.cart_item .product-remove a.remove { position: static !important; transform: none !important; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon { box-sizing: border-box; margin: 0; padding: 0; border: 0 !important; background: none; min-height: 0; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon::before, html body.sgx-ctx-cart .wd-cart-action-row .coupon::after { content: none; display: none; }
html body.sgx-ctx-cart .wd-cart-action-row :is(.actions, td) { min-height: 0; height: auto; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon form, html body.sgx-ctx-cart .wd-cart-action-row .coupon > div { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; border: 0; width: 100%; }
html body.sgx-ctx-cart .wd-cart-action-row .cart-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; }
html body.sgx-ctx-cart .wd-cart-action-row .cart-actions .coupon { flex: 1 1 280px; height: auto; margin: 0 !important; }
html body.sgx-ctx-cart .wd-cart-action-row .cart-actions > button.button { flex: 0 0 auto; margin: 0 0 0 auto !important; }
html body.sgx-ctx-cart .wd-cart-action-row .cart-actions .coupon { order: 1; } html body.sgx-ctx-cart .wd-cart-action-row .cart-actions > button.button { order: 2; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon { flex-direction: row !important; flex-wrap: wrap; align-items: center; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon :is(input[name="coupon_code"], .input-text) { flex: 1 1 160px; width: auto; height: 46px; }
html body.sgx-ctx-cart .wd-cart-action-row .coupon .button { flex: 0 0 auto; }
@media (max-width: 639.98px) { html body.sgx-ctx-cart .wd-cart-action-row .cart-actions > button.button { margin-left: 0 !important; width: 100%; } }

/* 1.0.74: a customer buys one of each course, so the cart shows no quantity selector (the field stays in the form with its value, so nothing changes for WooCommerce) */
html body.sgx-ctx-cart tr.cart_item .product-quantity { display: none !important; }
html body.sgx-ctx-cart table.shop_table.cart tr.cart_item { grid-template-columns: 112px minmax(0, 1fr) auto; grid-template-areas: "thumb name name" "thumb price sub" "thumb remove remove"; }
@media (min-width: 640px) { html body.sgx-ctx-cart table.shop_table.cart tr.cart_item { grid-template-columns: 160px minmax(0, 1fr) auto; } }
html body.sgx-ctx-cart .wd-cart-action-row button[name="update_cart"] { display: none !important; } /* nothing to update without a quantity; the button stays in the form for WooCommerce */

/* the "removed / Undo" and other notices WooCommerce prints inside the cart: a full-width row above the items */
html body.sgx-ctx-cart .cart-content-wrapper > :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) { margin: 0 !important; }

/* notices (1.0.82): the browser focuses a new notice (tabindex -1), which drew a second 3px ring around its own border; a calm
 * border only, and breathing room under the notice. The cart page needs no "View cart" button inside its own notice. */
body.sgx-site-page .woocommerce-message:focus, body.sgx-site-page .woocommerce-message:focus-visible,
body.sgx-site-page .woocommerce-error:focus, body.sgx-site-page .woocommerce-error:focus-visible,
body.sgx-site-page .woocommerce-info:focus, body.sgx-site-page .woocommerce-info:focus-visible,
body.sgx-checkout-page .woocommerce-message:focus, body.sgx-checkout-page .woocommerce-message:focus-visible { outline: 0 !important; box-shadow: none; }
body.sgx-site-page .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 20px; }
html body.sgx-ctx-cart .woocommerce-message .button.wc-forward { display: none !important; }

/* compact notices (1.0.82): shorter banner (less padding, smaller button) */
html body.sgx-site-page .woocommerce-message, html body.sgx-checkout-page .woocommerce-message,
html body.sgx-site-page .woocommerce-info, html body.sgx-site-page .woocommerce-error { padding-block: 8px; min-height: 0; font-size: .9375rem; line-height: 1.4; }
html body.sgx-site-page .woocommerce-message .button, html body.sgx-checkout-page .woocommerce-message .button { min-height: 34px; padding: 4px 14px; font-size: .875rem; }
html body.sgx-ctx-cart .cart-content-wrapper > :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) { padding-block: 8px !important; }

/* checkout errors (1.0.82): one calm banner above the form, red messages under the fields (the browser's link-list, a white link on a
 * white card and a stray box at the very bottom of the grid are gone) */
html body.sgx-checkout-page form.woocommerce-checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; order: 0; margin: 0 0 20px; padding: 0; background: none; border: 0; box-shadow: none; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error { display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; margin: 0; padding: 10px 16px 10px 48px; min-height: 0; background: #FDF1F0; border: 1px solid #F3C7C3; border-inline-start: 4px solid #B42318; border-radius: 14px; box-shadow: none; color: #7A1710; font-size: .9375rem; font-weight: 600; line-height: 1.4; list-style: none; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error::before { color: #B42318; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error li { display: block; margin: 0; padding: 0; color: #7A1710; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error a { color: #7A1710; text-decoration: underline; text-underline-offset: 2px; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error:focus, html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error:focus-visible { outline: 0 !important; }
/* field errors are listed under each field already: keep the list for screen readers, show one line */
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error li[data-id] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html body.sgx-checkout-page .woocommerce-NoticeGroup-checkout ul.woocommerce-error:has(li[data-id])::after { content: "Please correct the fields marked in red below."; display: block; }
html body.sgx-checkout-page .checkout-inline-error-message { margin: 6px 0 0; color: #B42318; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 1023.98px) { html body.sgx-checkout-page form.woocommerce-checkout > .woocommerce-NoticeGroup { order: 0; } }

/* product without a picture, in the cart / mini cart (1.0.84): brand tile with the course icon, like the homepage card */
.sgx-thumbart { display: grid; place-items: center; box-sizing: border-box; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: #1E7A4C radial-gradient(circle, rgba(255, 255, 255, .16) 1.5px, transparent 1.6px) 0 0 / 14px 14px; color: #fff; }
.sgx-thumbart svg { width: 36px; height: 36px; }
.widget_shopping_cart .sgx-thumbart, .woocommerce-mini-cart .sgx-thumbart, .wd-cart-widget .sgx-thumbart { width: 64px; aspect-ratio: 1; border-radius: 12px; }
.woocommerce-mini-cart .sgx-thumbart svg, .wd-cart-widget .sgx-thumbart svg { width: 26px; height: 26px; }
html body.sgx-ctx-cart tr.cart_item .product-thumbnail .sgx-thumbart { height: auto; }
