/* Dynamic LearnPress icon-font rules are appended by TripleA_Assets. */

/* Let the Featured ribbon sit slightly outside the image corner. */
.learn-press-courses .course-thumbnail,
.course-sidebar-preview .media-preview {
	overflow: visible !important;
}

/* Make LearnPress course comments easier to scan without a connector line in front. */
body.single-lp_course #comments .comment-list {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 16px !important;
	list-style: none !important;
}

body.single-lp_course #comments .comment-list > li.comment,
body.single-lp_course #comments .comment-list > li.pingback,
body.single-lp_course #comments .comment-list .children > li.comment,
body.single-lp_course #comments .comment-list .children > li.pingback {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-lp_course #comments .comment-list > li.comment + li.comment,
body.single-lp_course #comments .comment-list > li.pingback + li.pingback,
body.single-lp_course #comments .comment-list .children > li.comment + li.comment,
body.single-lp_course #comments .comment-list .children > li.pingback + li.pingback {
	margin-top: 18px !important;
}

body.single-lp_course #comments .comment .comment-body,
body.single-lp_course #comments .pingback .comment-body {
	position: relative;
	display: block !important;
	box-sizing: border-box;
	min-height: 96px;
	margin: 0 !important;
	padding: 22px 24px 22px 86px !important;
	border: 1px solid #DEE1E6 !important;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(23, 52, 96, 0.05);
}

body.single-lp_course #comments .comment .comment-meta,
body.single-lp_course #comments .pingback .comment-meta {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 !important;
}

body.single-lp_course #comments .comment .comment-author,
body.single-lp_course #comments .pingback .comment-author {
	display: flex !important;
	align-items: center !important;
	min-height: 48px;
	min-width: 0;
	color: #173460;
	font-weight: 600;
	line-height: 1.5 !important;
}

body.single-lp_course #comments .comment .comment-author .avatar,
body.single-lp_course #comments .pingback .comment-author .avatar {
	position: absolute !important;
	top: 22px !important;
	left: 24px !important;
	float: none !important;
	width: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	border-radius: 50%;
	object-fit: cover;
}

body.single-lp_course #comments .comment .comment-author .fn,
body.single-lp_course #comments .comment .comment-author .fn a,
body.single-lp_course #comments .pingback .comment-author .fn,
body.single-lp_course #comments .pingback .comment-author .fn a {
	color: #173460;
	font-weight: 600;
	text-decoration: none !important;
}

body.single-lp_course #comments .comment .comment-author .fn a:hover,
body.single-lp_course #comments .comment .comment-author .fn a:focus,
body.single-lp_course #comments .pingback .comment-author .fn a:hover,
body.single-lp_course #comments .pingback .comment-author .fn a:focus {
	color: #E23C74;
}

body.single-lp_course #comments .comment .says,
body.single-lp_course #comments .pingback .says {
	display: none !important;
	color: #6B7280;
	font-weight: 400;
}

body.single-lp_course #comments .comment .comment-metadata,
body.single-lp_course #comments .pingback .comment-metadata {
	flex: 0 0 auto;
	max-width: 45%;
	color: #7B8490;
	font-size: 13px !important;
	line-height: 1.5 !important;
	text-align: right;
}

body.single-lp_course #comments .comment .comment-metadata a,
body.single-lp_course #comments .pingback .comment-metadata a {
	color: #7B8490;
	text-decoration: none !important;
}

body.single-lp_course #comments .comment .comment-metadata a:hover,
body.single-lp_course #comments .comment .comment-metadata a:focus,
body.single-lp_course #comments .pingback .comment-metadata a:hover,
body.single-lp_course #comments .pingback .comment-metadata a:focus {
	color: #E23C74;
}

body.single-lp_course #comments .comment .comment-content,
body.single-lp_course #comments .pingback .comment-content {
	margin-top: 10px !important;
	color: #173460;
	font-size: 16px !important;
	line-height: 1.7 !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.single-lp_course #comments .comment .comment-content p,
body.single-lp_course #comments .pingback .comment-content p {
	margin: 0 0 8px !important;
}

body.single-lp_course #comments .comment .comment-content p:last-child,
body.single-lp_course #comments .pingback .comment-content p:last-child {
	margin-bottom: 0 !important;
}

body.single-lp_course #comments .comment .reply,
body.single-lp_course #comments .pingback .reply {
	margin-top: 12px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

body.single-lp_course #comments .comment .reply .comment-reply-link,
body.single-lp_course #comments .pingback .reply .comment-reply-link {
	color: #E23C74;
	font-weight: 600;
	text-decoration: underline;
}

body.single-lp_course #comments .comment .reply .comment-reply-link::before,
body.single-lp_course #comments .pingback .reply .comment-reply-link::before {
	content: "↩";
	display: inline-block;
	margin-inline-end: 8px;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
}

body.single-lp_course #comments .comment-list .children {
	position: static !important;
	margin: 18px 0 0 48px !important;
	padding: 0 !important;
	list-style: none !important;
}

/* The theme adds a reply arrow/connector here; the card indentation is enough. */
body.single-lp_course #comments ol.comment-list .children::before {
	display: none !important;
	content: none !important;
}

body.single-lp_course #comments .comment-list .children .comment-body,
body.single-lp_course #comments .comment-list .children .pingback .comment-body {
	border-color: #F2C5D5 !important;
	background: #FFF7FA !important;
	box-shadow: none;
}

/* Separate the comment form from the final comment card. */
body.single-lp_course #comments .comment-reply-title {
	margin-top: 40px !important;
}

/* Keep the reply-cancel action separate from the author name and visually secondary. */
body.single-lp_course #comments .comment-reply-title #cancel-comment-reply-link {
	display: inline-flex;
	align-items: center;
	margin-inline-start: 12px !important;
	padding: 4px 9px !important;
	border: 1px solid #E23C74 !important;
	border-radius: 5px;
	color: #E23C74 !important;
	font-size: 13px !important;
	font-weight: 500;
	line-height: 1.35 !important;
	text-decoration: none !important;
	vertical-align: middle;
}

body.single-lp_course #comments .comment-reply-title #cancel-comment-reply-link:hover,
body.single-lp_course #comments .comment-reply-title #cancel-comment-reply-link:focus,
body.single-lp_course #comments .comment-reply-title #cancel-comment-reply-link:focus-visible {
	border-color: #E23C74 !important;
	background: #E23C74 !important;
	color: #fff !important;
	box-shadow: 0 3px 8px rgba(226, 60, 116, 0.18);
}

/* Keep the comment submit action outlined in every interaction state. */
body.single-lp_course #comments .comment-form .form-submit input[type="submit"],
body.single-lp_course #comments .comment-form .form-submit input[type="submit"]:hover,
body.single-lp_course #comments .comment-form .form-submit input[type="submit"]:focus,
body.single-lp_course #comments .comment-form .form-submit input[type="submit"]:focus-visible,
body.single-lp_course #comments .comment-form .form-submit input[type="submit"]:active {
	box-sizing: border-box !important;
	border: 1px solid #E23C74 !important;
	border-color: #E23C74 !important;
	box-shadow: none !important;
}

/* Social-login buttons are not needed in the course comment area. */
body.single-lp_course #comments div:has(> .nsl-container) {
	display: none !important;
}

body.single-lp_course #comments .nsl-container,
body.single-lp_course #comments .nsl-container-buttons {
	display: none !important;
}

@media (max-width: 767px) {
	body.single-lp_course #comments .comment .comment-body,
	body.single-lp_course #comments .pingback .comment-body {
		min-height: 0;
		padding: 18px 18px 18px 72px !important;
		border-radius: 12px;
	}

	body.single-lp_course #comments .comment .comment-author .avatar,
	body.single-lp_course #comments .pingback .comment-author .avatar {
		top: 18px !important;
		left: 18px !important;
		width: 40px !important;
		height: 40px !important;
	}

	body.single-lp_course #comments .comment .comment-author,
	body.single-lp_course #comments .pingback .comment-author {
		min-height: 40px;
	}

	body.single-lp_course #comments .comment .comment-meta,
	body.single-lp_course #comments .pingback .comment-meta {
		display: block !important;
	}

	body.single-lp_course #comments .comment .comment-metadata,
	body.single-lp_course #comments .pingback .comment-metadata {
		max-width: none;
		margin-top: 5px;
		text-align: left;
	}

	body.single-lp_course #comments .comment-list .children {
		margin-inline-start: 20px !important;
	}

	body.single-lp_course #comments .comment-reply-title {
		margin-top: 32px !important;
	}

	body.single-lp_course #comments .comment-reply-title #cancel-comment-reply-link {
		margin-inline-start: 8px !important;
		padding: 3px 7px !important;
		font-size: 12px !important;
	}
}

/* Put the pending-moderation notice below the comment instead of beside the date. */
body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"comment-author comment-metadata"
		"comment-content comment-content"
		"comment-moderation comment-moderation"
		"comment-reply comment-reply";
	row-gap: 0;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta {
	display: contents !important;
	margin: 0 !important;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta > .comment-author {
	grid-area: comment-author;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta > .comment-metadata {
	grid-area: comment-metadata;
	width: 180px !important;
	min-width: 180px !important;
	max-width: none !important;
	justify-self: end;
	white-space: normal;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta > .comment-awaiting-moderation {
	display: block !important;
	grid-area: comment-moderation;
	max-width: none;
	margin: 12px 0 0 !important;
	color: #6B7280;
	font-size: 13px;
	font-style: italic;
	line-height: 1.6;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-content {
	grid-area: comment-content;
}

body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .reply {
	grid-area: comment-reply;
}

@media (max-width: 767px) {
	body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"comment-author"
			"comment-metadata"
			"comment-content"
			"comment-moderation"
			"comment-reply";
	}

	body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta {
		display: contents !important;
	}

	body.single-lp_course #comments .comment-body:has(> .comment-meta > .comment-awaiting-moderation) > .comment-meta > .comment-metadata {
		width: auto !important;
		min-width: 0 !important;
		margin-top: 5px !important;
		text-align: left;
	}
}

/* Render Featured labels with the supplied ribbon artwork. */
.lp-badge.featured-course,
.triplea-course-featured-ribbon {
	display: flex !important;
	position: absolute !important;
	z-index: 100 !important;
	top: -9px !important;
	right: auto !important;
	left: -8px !important;
	width: 76px !important;
	min-width: 76px;
	height: 44px !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 0 16px 0 13px !important;
	align-items: center;
	justify-content: flex-start;
	background-color: transparent !important;
	background-image: url("../images/course-recommendation-ribbon-option-1.svg") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-align: left !important;
	text-transform: none !important;
	transform: none !important;
	clip-path: none !important;
	overflow: visible !important;
}

.lp-badge.featured-course::before {
	display: block !important;
	position: static !important;
	content: attr(data-text) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.lp-badge.featured-course::after {
	display: none !important;
}

/* The Featured label is useful on course lists, but not on the course detail sidebar. */
body.single-lp_course .lp-badge.featured-course,
body.single-lp_course .triplea-course-featured-ribbon {
	display: none !important;
}

/* LearnPress's modern single-course sidebar uses the generic course-featured class. */
body.single-lp_course .course-sidebar-preview .media-preview .course-featured {
	display: none !important;
}

/* The current LearnPress modern layout places the badge in the right course panel. */
body.single-lp_course .lp-single-course-main__right .course-featured,
body.single-lp_course .lp-single-course-main__right__inner .course-featured,
body.single-lp_course .lp-single-course-main__right__inner .info-metas .course-featured {
	display: none !important;
}

@media (max-width: 767px) {
	.lp-badge.featured-course,
	.triplea-course-featured-ribbon {
		top: -8px !important;
		left: -6px !important;
		width: 72px !important;
		min-width: 72px;
		height: 42px !important;
		padding-right: 15px !important;
		padding-left: 12px !important;
	}

	.lp-badge.featured-course::before,
	.triplea-course-featured-ribbon {
		font-size: 11px !important;
	}
}

/* LearnPress hides course duration in grid cards by default. The course-flow
 * card replaces the lesson count with the course duration, so keep duration
 * visible in the public course archive and related-course cards. */
.learn-press-courses[data-layout="grid"] .course-wrap-meta .meta-item-duration,
.learn-press-courses.lp-courses-related .course-wrap-meta .meta-item-duration {
	display: flex !important;
}

/* Show the archive-card excerpt below the title and limit it to two lines. */
.learn-press-courses[data-layout="grid"] .course-content .course-short-description,
.learn-press-courses.lp-courses-related .course-content .course-short-description {
	display: -webkit-box !important;
	overflow: hidden;
	width: 100%;
	margin: 8px 0 12px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Match the LearnPress profile statistics area to the site's light neutral surface. */
.dashboard-statistic__row .statistic-box {
	background-color: #F7F7F7 !important;
}

/* Keep the LearnPress content-bar close button visually neutral on interaction. */
button.lp-icon-close:hover,
button.lp-icon-close:focus,
button.lp-icon-close:focus-visible,
button.lp-icon-close:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Use the site's shared 10px radius for frontend buttons. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.button,
a.wp-element-button,
.button,
.wp-element-button,
.lp-button,
.learn-press-button {
	border-radius: 10px !important;
}

/* Keep LearnPress buttons outlined in their normal and interactive states. */
.lp-button {
	border: 1px solid currentColor !important;
	box-sizing: border-box !important;
}

/* Use the secondary brand color when the course sidebar points to the cart. */
.lp-single-course .lp-btn-woo-view-cart:hover,
.lp-single-course .lp-btn-woo-view-cart:focus,
.lp-single-course .lp-btn-woo-view-cart:focus-visible,
.lp-single-course .lp-btn-woo-view-cart:active,
body.single-lp_course .lp-btn-woo-view-cart:hover,
body.single-lp_course .lp-btn-woo-view-cart:focus,
body.single-lp_course .lp-btn-woo-view-cart:focus-visible,
body.single-lp_course .lp-btn-woo-view-cart:active {
	background: var(--e-global-color-afa2b0c, #C92F65) !important;
	background-color: var(--e-global-color-afa2b0c, #C92F65) !important;
	border-color: var(--e-global-color-afa2b0c, #C92F65) !important;
	color: #fff !important;
}

/* Use the secondary brand color for the LearnPress add-to-cart interaction. */
.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart:not(:disabled):not([disabled]):hover,
.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart:not(:disabled):not([disabled]):focus,
.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart:not(:disabled):not([disabled]):focus-visible,
.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c, #C92F65) !important;
	background-color: var(--e-global-color-afa2b0c, #C92F65) !important;
	border-color: var(--e-global-color-afa2b0c, #C92F65) !important;
	color: #fff !important;
}

/* LearnPress uses a black icon-font spinner by default; keep it white on this CTA. */
.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart.loading {
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	font-size: 0 !important;
	line-height: 1 !important;
	min-height: 54.8px !important;
}

.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart.loading::before {
	position: static !important;
	inset: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	margin: 0 8px 0 0;
	content: "\f110" !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: 18px !important;
	line-height: 1 !important;
	text-indent: 0 !important;
}

.wrap-btn-add-course-to-cart .lp-btn-add-item-to-cart.loading::after {
	display: inline-block;
	content: "กำลังเพิ่ม" !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: inherit;
	line-height: 1.2 !important;
}

/* Keep the quiz Hint icon visible when its tooltip is shown. */
.question .question-title .btn-show-hint,
.question .question-title .btn-show-hint:hover,
.question .question-title .btn-show-hint:focus,
.question .question-title .btn-show-hint:focus-visible,
.question .question-title .btn-show-hint:active {
	display: inline-flex !important;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 22px;
	min-width: 22px;
	height: 22px;
	margin: 0 0 0 10px !important;
	padding: 0 !important;
	line-height: 1 !important;
	vertical-align: middle;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--e-global-color-primary, #E23C74) !important;
}

/* The review screen still receives the hint field, but LearnPress does not
 * render its content when the answer explanation is shown. Hide the now
 * inactive question-mark button only in that review state. */
#learn-press-quiz-app.triplea-quiz-review-mode .question .question-title .btn-show-hint,
#learn-press-quiz-app.triplea-quiz-review-mode .question .question-title .btn-show-hint:hover,
#learn-press-quiz-app.triplea-quiz-review-mode .question .question-title .btn-show-hint:focus,
#learn-press-quiz-app.triplea-quiz-review-mode .question .question-title .btn-show-hint:focus-visible,
#learn-press-quiz-app.triplea-quiz-review-mode .question .question-title .btn-show-hint:active {
	display: none !important;
}

.question .question-title .btn-show-hint::before {
	display: inline-flex !important;
	position: relative;
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	content: "?" !important;
	font-family: Arial, sans-serif !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: currentColor !important;
	border: 2px solid currentColor;
	border-radius: 50%;
	visibility: visible !important;
	opacity: 1 !important;
}

.question .question-title .btn-show-hint:hover span,
.question .question-title .btn-show-hint:focus span,
.question .question-title .btn-show-hint:focus-visible span {
	left: calc(100% + 8px);
	bottom: calc(100% + 4px);
	z-index: 3;
	white-space: nowrap;
}

/* Keep quiz pagination numbers and navigation buttons visually consistent. */
.quiz-buttons .questions-pagination .page-numbers {
	border-radius: 10px !important;
}

/* Do not show a check icon for curriculum items that are only in progress. */
.lp-course-curriculum .course-section .course-item__status .course-item-ico.in-progress::before,
.lp-course-curriculum .course-section .course-item__status .course-item-ico.started::before {
	display: none !important;
	content: none !important;
}

/* Improve readability when the course title wraps onto multiple lines. */
#popup-header .popup-header__inner .course-title a {
	line-height: 1.5 !important;
}

/* Preserve a visible border while interacting with action buttons. */
button:not(.lp-icon-close):hover,
button:not(.lp-icon-close):focus,
button:not(.lp-icon-close):focus-visible,
button:not(.lp-icon-close):active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="button"]:focus-visible,
input[type="button"]:active,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:focus-visible,
input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="reset"]:focus-visible,
input[type="reset"]:active,
a.button:hover,
a.button:focus,
a.button:focus-visible,
a.button:active,
a.wp-element-button:hover,
a.wp-element-button:focus,
a.wp-element-button:focus-visible,
a.wp-element-button:active,
.button:not(:disabled):not([disabled]):hover,
.button:not(:disabled):not([disabled]):focus,
.button:not(:disabled):not([disabled]):focus-visible,
.button:not(:disabled):not([disabled]):active,
.wp-element-button:not(:disabled):not([disabled]):hover,
.wp-element-button:not(:disabled):not([disabled]):focus,
.wp-element-button:not(:disabled):not([disabled]):focus-visible,
.wp-element-button:not(:disabled):not([disabled]):active,
.lp-button:not(:disabled):not([disabled]):hover,
.lp-button:not(:disabled):not([disabled]):focus,
.lp-button:not(:disabled):not([disabled]):focus-visible,
.lp-button:not(:disabled):not([disabled]):active,
.learn-press-button:not(:disabled):not([disabled]):hover,
.learn-press-button:not(:disabled):not([disabled]):focus,
.learn-press-button:not(:disabled):not([disabled]):focus-visible,
.learn-press-button:not(:disabled):not([disabled]):active {
	border-color: currentColor !important;
	border-style: solid !important;
	border-width: 1px !important;
}

/* Apply the Elementor global colors only to the course completion action. */
.lp-btn-complete-item:not(:disabled):not([disabled]) {
	background: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
	color: #fff !important;
}

.lp-btn-complete-item:not(:disabled):not([disabled]):hover,
.lp-btn-complete-item:not(:disabled):not([disabled]):focus,
.lp-btn-complete-item:not(:disabled):not([disabled]):focus-visible,
.lp-btn-complete-item:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

/* Use the site's primary CTA color for the LearnPress quiz start button. */
.lp-button.start:not(:disabled):not([disabled]) {
	background: var(--e-global-color-primary, #E23C74) !important;
	border-color: var(--e-global-color-primary, #E23C74) !important;
	color: #fff !important;
}

.lp-button.start:not(:disabled):not([disabled]):hover,
.lp-button.start:not(:disabled):not([disabled]):focus,
.lp-button.start:not(:disabled):not([disabled]):focus-visible,
.lp-button.start:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

/* Quiz retake confirmation: primary action and white secondary action. */
.lp-button.modal-button-ok:not(:disabled):not([disabled]) {
	background: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
	color: #fff !important;
}

.lp-button.modal-button-ok:not(:disabled):not([disabled]):hover,
.lp-button.modal-button-ok:not(:disabled):not([disabled]):focus,
.lp-button.modal-button-ok:not(:disabled):not([disabled]):focus-visible,
.lp-button.modal-button-ok:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

.lp-button.modal-button-cancel:not(:disabled):not([disabled]) {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid var(--e-global-color-primary) !important;
	color: var(--e-global-color-primary) !important;
}

.lp-button.modal-button-cancel:not(:disabled):not([disabled]):hover,
.lp-button.modal-button-cancel:not(:disabled):not([disabled]):focus,
.lp-button.modal-button-cancel:not(:disabled):not([disabled]):focus-visible,
.lp-button.modal-button-cancel:not(:disabled):not([disabled]):active {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: var(--e-global-color-afa2b0c) !important;
}

/* Prevent the quiz status controls from overflowing on smaller screens. */
@media (max-width: 767px) {
	.quiz-status > div {
		box-sizing: border-box;
		flex-wrap: wrap;
		gap: 8px;
	}

	.quiz-status > div > .questions-index {
		flex: 0 0 100% !important;
		width: 100%;
		min-width: 0;
		text-align: left;
	}

	.quiz-status > div > div {
		flex: 1 1 0;
		min-width: 0;
	}

	.quiz-status > div > div:last-child {
		flex: 0 0 100% !important;
		width: 100%;
		gap: 8px;
		justify-content: space-between !important;
	}

	.quiz-status > div > div:last-child .countdown {
		min-width: 0;
		text-align: left;
	}

	.quiz-status > div > div:last-child .submit-quiz {
		flex: 0 0 auto;
		min-width: 0;
	}

	.quiz-status > div > div:last-child .submit-quiz .lp-button {
		max-width: 100%;
		margin-left: 0;
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
}

/* PromptPay instructions use the same controls, spacing and border language
 * as the rest of the checkout/order-received experience. */
body.woocommerce-order-received .omise-promptpay-details {
	box-sizing: border-box;
	color: var(--triplea-order-text);
	font-size: 16px;
	line-height: 1.55;
}

body.woocommerce-order-received .omise-promptpay-details > p:first-child {
	margin: 0 0 16px;
	color: var(--triplea-order-heading);
	font-size: 18px;
	line-height: 1.4;
}

body.woocommerce-order-received .omise-promptpay-details .omise-promptpay-qrcode {
	margin: 0 auto 16px;
}

body.woocommerce-order-received .omise-promptpay-details .omise-promptpay-qrcode > svg {
	display: block;
	max-width: min(100%, 300px) !important;
	height: auto;
	margin: 0 auto;
}

body.woocommerce-order-received .omise-promptpay-details .omise-download-promptpay-qr,
body.woocommerce-order-received .omise-promptpay-details #omise-offline-payment-refresh-status {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0 0 12px;
	padding: 14px 20px;
	border: 1px solid var(--triplea-order-primary) !important;
	border-radius: 10px !important;
	background: var(--triplea-order-primary) !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-order-received .omise-promptpay-details .omise-download-promptpay-qr:hover,
body.woocommerce-order-received .omise-promptpay-details .omise-download-promptpay-qr:focus,
body.woocommerce-order-received .omise-promptpay-details #omise-offline-payment-refresh-status:hover,
body.woocommerce-order-received .omise-promptpay-details #omise-offline-payment-refresh-status:focus {
	border-color: var(--triplea-order-hover) !important;
	background: var(--triplea-order-hover) !important;
	color: #FFFFFF !important;
}

body.woocommerce-order-received .omise-promptpay-details .omise-download-promptpay-qr:focus-visible,
body.woocommerce-order-received .omise-promptpay-details #omise-offline-payment-refresh-status:focus-visible {
	outline: 2px solid rgba(226, 60, 116, .35);
	outline-offset: 2px;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box {
	box-sizing: border-box;
	width: 100%;
	margin: 24px 0 0;
	padding: 20px 24px;
	border: 1px solid var(--triplea-order-border) !important;
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--triplea-order-text);
	text-align: left;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box > p:first-child {
	margin: 0 0 12px;
	color: var(--triplea-order-heading);
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box ol.align-left {
	margin: 0;
	padding-left: 1.5em;
	text-align: left;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content > :first-child {
	margin-top: 0;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content > :last-child {
	margin-bottom: 0;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content p {
	margin: 0 0 12px;
	line-height: 1.55;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content ol,
body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content ul {
	margin: 0 0 12px;
	padding-left: 1.5em;
	text-align: left;
}

body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content li {
	margin: 6px 0;
	line-height: 1.55;
}

@media (max-width: 767px) {
	body.woocommerce-order-received .omise-promptpay-details .qr-alert-box {
		padding: 16px;
	}

	body.woocommerce-order-received .omise-promptpay-details .qr-alert-box .triplea-promptpay-content li {
		margin: 8px 0;
	}
}

/* LearnPress completion confirmation uses a white secondary action for No. */
.lp-modal-dialog .lp-button.btn-no:not(:disabled):not([disabled]) {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid var(--e-global-color-primary) !important;
	box-shadow: none !important;
	color: var(--e-global-color-primary) !important;
}

.lp-modal-dialog .lp-button.btn-no:not(:disabled):not([disabled]):hover,
.lp-modal-dialog .lp-button.btn-no:not(:disabled):not([disabled]):focus,
.lp-modal-dialog .lp-button.btn-no:not(:disabled):not([disabled]):focus-visible,
.lp-modal-dialog .lp-button.btn-no:not(:disabled):not([disabled]):active {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	box-shadow: none !important;
	color: var(--e-global-color-afa2b0c) !important;
}

/* Keep both completion confirmation actions the same width. */
.lp-modal-dialog .lp-modal-footer .lp-button.btn-no,
.lp-modal-dialog .lp-modal-footer .lp-button.btn-yes {
	min-width: 100px !important;
}

/* Make the lesson currently being viewed easy to identify in the curriculum. */
.course-curriculum .course-item.current {
	background: #fff7fa !important;
}

.course-curriculum .course-item.current .course-item-title,
.course-curriculum .course-item.current .item-name {
	color: var(--e-global-color-primary) !important;
	font-weight: 700 !important;
}

/* Use a soft green background for completed items, while keeping the current item highlight. */
.course-curriculum .course-item.status-completed:not(.current),
.course-curriculum .course-item:has(.course-item-ico.completed):not(.current) {
	background: #effaf1 !important;
}

/* Add breathing room between the course completion notice and description. */
.lp-single-course-main__left > .learn-press-message + .lp-course-description,
.course-content.course-summary-content .learn-press-message + .lp-course-description {
	margin-top: 16px !important;
}

/* Keep YouTube embeds responsive instead of using the fixed 560 x 315 size
 * saved in the course description embed code. */
.lp-single-course-main__left .lp-course-description iframe[src*="youtube.com"],
.lp-single-course-main__left .lp-course-description iframe[src*="youtube-nocookie.com"] {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	margin: 24px auto !important;
	border: 0;
	border-radius: 10px;
	background: #000;
	box-sizing: border-box;
}

/* Use the project's 30px horizontal gutter for LearnPress containers.
 * LearnPress names this variable --lp-cotainer-padding (without the second
 * "n") in its own stylesheet. */
body.learnpress-page {
	--lp-cotainer-padding: 30px !important;
}

/* Add vertical breathing room around the LearnPress course archive area. */
.lp-archive-courses {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

/* Add space between the empty-content notice and the course-material heading. */
.lp-single-course-main__left > .learn-press-message.info + .course-material,
.course-content.course-summary-content .learn-press-message.info + .course-material {
	margin-top: 10px !important;
}

/* Separate the FAQ section from the empty curriculum notice above it. */
.lp-single-course .course-faqs {
	margin-top: 24px !important;
}

/* Keep the finished-course notice and graduation status visually separated. */
.lp-single-course-main__right .info-learning > .learn-press-message + .lp-user-item.graduation,
.lp-single-course-main__right .info-learning > .learn-press-message + .course-graduation {
	margin-top: 10px !important;
}

/* The Notes editor uses an outlined secondary action for Cancel. */
.lp-notes__form-cancel:not(:disabled):not([disabled]) {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--e-global-color-primary) !important;
	color: var(--e-global-color-primary) !important;
}

.lp-notes__form-cancel:not(:disabled):not([disabled]):hover,
.lp-notes__form-cancel:not(:disabled):not([disabled]):focus,
.lp-notes__form-cancel:not(:disabled):not([disabled]):focus-visible,
.lp-notes__form-cancel:not(:disabled):not([disabled]):active {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: var(--e-global-color-afa2b0c) !important;
}

/* The Notes editor save action uses the site's primary button color. */
.lp-notes__form-save:not(:disabled):not([disabled]) {
	background: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
	color: #fff !important;
}

.lp-notes__form-save:not(:disabled):not([disabled]):hover,
.lp-notes__form-save:not(:disabled):not([disabled]):focus,
.lp-notes__form-save:not(:disabled):not([disabled]):focus-visible,
.lp-notes__form-save:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

/* Keep both note form actions at the same 44px height. */
.lp-notes__form-cancel,
.lp-notes__form-save {
	height: 44px !important;
	min-height: 44px !important;
	padding: 5px 16px !important;
}

/* The Notes add action uses the primary CTA style and a touch-friendly height. */
.lp-button.lp-notes__add:not(:disabled):not([disabled]) {
	min-height: 44px !important;
	background: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
	color: #fff !important;
}

.lp-button.lp-notes__add:not(:disabled):not([disabled]):hover,
.lp-button.lp-notes__add:not(:disabled):not([disabled]):focus,
.lp-button.lp-notes__add:not(:disabled):not([disabled]):focus-visible,
.lp-button.lp-notes__add:not(:disabled):not([disabled]):active {
	background: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

/* The curriculum search control is an icon-only control, not a filled CTA. */
#popup-sidebar .search-course button[name="submit"],
#popup-sidebar .search-course button[name="submit"]:hover,
#popup-sidebar .search-course button[name="submit"]:focus,
#popup-sidebar .search-course button[name="submit"]:focus-visible,
#popup-sidebar .search-course button[name="submit"]:active {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
}

#popup-sidebar .search-course button.clear,
#popup-sidebar .search-course button.clear:hover,
#popup-sidebar .search-course button.clear:focus,
#popup-sidebar .search-course button.clear:focus-visible,
#popup-sidebar .search-course button.clear:active {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
}

/* Keep the Notes help copy compact in the learning sidebar. */
.lp-notes__help .lp-notes__help-text,
.lp-notes__help .lp-notes__help-text p {
	font-size: 14px !important;
}

/* Destructive note actions use red to make their effect clear. */
.lp-notes__card-delete:not(:disabled):not([disabled]) {
	background: #dc3545 !important;
	background-color: #dc3545 !important;
	border-color: #dc3545 !important;
	color: #fff !important;
}

.lp-notes__card-delete:not(:disabled):not([disabled]):hover,
.lp-notes__card-delete:not(:disabled):not([disabled]):focus,
.lp-notes__card-delete:not(:disabled):not([disabled]):focus-visible,
.lp-notes__card-delete:not(:disabled):not([disabled]):active {
	background: #b02a37 !important;
	background-color: #b02a37 !important;
	border-color: #b02a37 !important;
	color: #fff !important;
}

/* Keep the SweetAlert cancel action as a white secondary button. */
.swal2-container .swal2-cancel.swal2-styled,
.swal2-container .swal2-cancel.swal2-styled:hover,
.swal2-container .swal2-cancel.swal2-styled:focus,
.swal2-container .swal2-cancel.swal2-styled:focus-visible,
.swal2-container .swal2-cancel.swal2-styled:active {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid var(--e-global-color-primary) !important;
	box-shadow: none !important;
	color: var(--e-global-color-primary) !important;
}

/* Keep the instructor section out of the single course detail page. */
body.single-lp_course .lp-section-instructor,
body.single-lp_course .course-author {
	display: none !important;
}

/* Keep the comment count heading proportional to the course content. */
body.single-lp_course #comments .title-comments {
	font-size: 28px !important;
	line-height: 1.3 !important;
}

/* Add space between the profile orders table and the order recovery notice. */
.lp-user-profile .profile-orders .profile-recover-order {
	margin-top: 24px !important;
}

/* Remove the underline from order action links such as View. */
.lp-user-profile .profile-orders .column-order-actions a,
.lp-user-profile .profile-orders .column-order-actions a:hover,
.lp-user-profile .profile-orders .column-order-actions a:focus {
	text-decoration: none !important;
}

/* Keep the two action buttons on profile course cards 10px apart. */
.profile-courses-list .course-content .course-info {
	gap: 10px !important;
}

.profile-courses-list .course-content .lp-btn-view-students {
	margin-top: 0 !important;
}

/* Keep every course-profile filter tab at the same 16px font size. */
.learn-press-profile-course__tab .learn-press-filters li a,
.learn-press-profile-course__tab .learn-press-filters li span {
	font-size: 16px !important;
}

/* Clamp titles to two lines without reserving a blank second line for one-line titles. */
.learn-press-courses .wap-course-title {
	display: -webkit-box !important;
	overflow: hidden !important;
	height: auto !important;
	max-height: 2.6em !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
}

/* Keep every course card in each grid row at the same height. */
.learn-press-courses[data-layout="grid"] {
	align-items: stretch !important;
}

.learn-press-courses[data-layout="grid"] > .course {
	display: flex !important;
	align-items: stretch !important;
}

.learn-press-courses[data-layout="grid"] > .course > .course-item {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
}

.learn-press-courses[data-layout="grid"] > .course > .course-item > .course-content {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
}

.learn-press-courses[data-layout="grid"] > .course > .course-item > .course-content .course-info {
	width: 100% !important;
	margin-top: auto !important;
}

.lp-single-course .lp-courses-related {
	align-items: stretch !important;
}

.lp-single-course .lp-courses-related > .course {
	display: flex !important;
	align-items: stretch !important;
}

.lp-single-course .lp-courses-related > .course > .course-item {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
}

.lp-single-course .lp-courses-related > .course > .course-item > .course-content {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
}

.lp-single-course .lp-courses-related .wap-course-title {
	display: -webkit-box !important;
	overflow: hidden !important;
	height: auto !important;
	max-height: 2.6em !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
}

.lp-single-course .lp-courses-related .course-content .course-info {
	width: 100% !important;
	margin-top: auto !important;
}

/* Keep secondary course-card actions white. */
.learn-press-courses .course-content .course-readmore a,
.learn-press-courses .course-content .course-readmore a:hover,
.learn-press-courses .course-content .course-readmore a:focus,
.learn-press-courses .course-content .course-readmore a:focus-visible,
.learn-press-courses .course-content .course-readmore a:active,
.lp-single-course .lp-courses-related .course-readmore a,
.lp-single-course .lp-courses-related .course-readmore a:hover,
.lp-single-course .lp-courses-related .course-readmore a:focus,
.lp-single-course .lp-courses-related .course-readmore a:focus-visible,
.lp-single-course .lp-courses-related .course-readmore a:active {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--lp-border-color, #E1E1E1) !important;
	color: #3A3D40 !important;
}

/* The resume/enrollment action is the primary action on every course card. */
.learn-press-courses .course-content .course-readmore.triplea-course-continue a,
.learn-press-courses .course-content .course-readmore.triplea-course-continue a:hover,
.learn-press-courses .course-content .course-readmore.triplea-course-continue a:focus,
.learn-press-courses .course-content .course-readmore.triplea-course-continue a:focus-visible,
.learn-press-courses .course-content .course-readmore.triplea-course-continue a:active,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:hover,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:focus,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:focus-visible,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:active {
	background: var(--e-global-color-primary, #E23C74) !important;
	background-color: var(--e-global-color-primary, #E23C74) !important;
	border-color: var(--e-global-color-primary, #E23C74) !important;
	color: #fff !important;
}

.lp-single-course .lp-courses-related .course-readmore a:hover,
.lp-single-course .lp-courses-related .course-readmore a:focus,
.lp-single-course .lp-courses-related .course-readmore a:focus-visible,
.lp-single-course .lp-courses-related .course-readmore a:active {
	border-color: var(--e-global-color-primary, #E23C74) !important;
	color: var(--e-global-color-primary, #E23C74) !important;
}

.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:hover,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:focus,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:focus-visible,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-continue a:active {
	background: var(--e-global-color-primary, #E23C74) !important;
	background-color: var(--e-global-color-primary, #E23C74) !important;
	border-color: var(--e-global-color-primary, #E23C74) !important;
	color: #fff !important;
}

/* Paid course cards use the site's primary CTA color for the Buy Now action. */
.learn-press-courses .course-content .course-readmore.triplea-course-buy a,
.learn-press-courses .course-content .course-readmore.triplea-course-buy a:hover,
.learn-press-courses .course-content .course-readmore.triplea-course-buy a:focus,
.learn-press-courses .course-content .course-readmore.triplea-course-buy a:focus-visible,
.learn-press-courses .course-content .course-readmore.triplea-course-buy a:active,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a:hover,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a:focus,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a:focus-visible,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a:active {
	background: var(--e-global-color-primary, #E23C74) !important;
	background-color: var(--e-global-color-primary, #E23C74) !important;
	border-color: var(--e-global-color-primary, #E23C74) !important;
	color: #fff !important;
}

.learn-press-courses .course-content .course-readmore.triplea-course-buy a:hover,
.lp-single-course .lp-courses-related .course-readmore.triplea-course-buy a:hover {
	background: var(--e-global-color-afa2b0c) !important;
	background-color: var(--e-global-color-afa2b0c) !important;
	border-color: var(--e-global-color-afa2b0c) !important;
	color: #fff !important;
}

/* Keep the separate lesson-progress column readable in the profile course table. */
.lp-user-profile .lp_profile_course_progress .triplea-course-progress__heading,
.lp-user-profile .lp_profile_course_progress .triplea-course-progress,
.lp-user-profile .lp_profile_course_progress .triplea-course-last-study__heading,
.lp-user-profile .lp_profile_course_progress .triplea-course-last-study {
	text-align: center !important;
	white-space: nowrap;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__count {
	font-weight: 600;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__summary {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	white-space: nowrap;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__bar {
	position: relative;
	width: 100%;
	max-width: 165px;
	height: 18px;
	margin: 8px auto 0;
	overflow: hidden;
	border: 1px solid #d9dce5;
	border-radius: 999px;
	background: #eef0f5;
	box-sizing: border-box;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #3BB54A !important;
	transition: width 0.2s ease;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__value {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #263238;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.lp-user-profile .lp_profile_course_progress .triplea-course-progress__bar--majority .triplea-course-progress__value {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}


/* Keep every profile-course column readable on all screen sizes. */
.lp-user-profile .triplea-profile-course-table-wrap,
.lp-user-profile .triplea-profile-course-table-wrap .lp_profile_course_progress {
	border-radius: 0 !important;
}

.lp-user-profile .lp_profile_course_progress {
	min-width: 1100px;
}

.lp-user-profile .lp_profile_course_progress > thead > tr > th,
.lp-user-profile .lp_profile_course_progress > tbody > tr > td {
	min-width: 250px;
}

.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(3),
.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(3) {
	min-width: 150px;
}

/* Make course outcomes easy to scan in the course list. */
.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--passed {
	color: #22963d !important;
	font-weight: 600;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--failed {
	color: #d92727 !important;
	font-weight: 600;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--manual-pending {
	color: #996800 !important;
	font-weight: 600;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--expired,
.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--restricted {
	color: #d92727 !important;
	font-weight: 600;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-result--not-started {
	color: #996800 !important;
	font-weight: 600;
}

/* Keep the result column compact on the wide table layout. */
@media (min-width: 1025px) {
	.lp-user-profile .lp_profile_course_progress {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		table-layout: fixed !important;
	}

	.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(3),
	.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(3) {
		width: 120px !important;
		min-width: 120px !important;
		max-width: 120px !important;
	}

	.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(5),
	.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(5) {
		width: 180px !important;
		min-width: 180px !important;
		max-width: 180px !important;
	}

	.lp-user-profile .lp_profile_course_progress > thead > tr > th.triplea-course-details__heading,
	.lp-user-profile .lp_profile_course_progress > tbody > tr > td.triplea-course-details {
		width: 180px !important;
		min-width: 180px !important;
		max-width: 180px !important;
	}

	.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(4),
	.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(4) {
		width: 220px !important;
		min-width: 220px !important;
		max-width: 220px !important;
	}

	.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(2),
	.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(2) {
		width: 250px !important;
		min-width: 250px !important;
		max-width: 250px !important;
	}

	.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(2) a {
		overflow-wrap: anywhere;
	}
}

.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(1),
.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(1) {
	min-width: 100px;
	width: 100px;
	position: sticky;
	left: 0;
	background: var(--lp-white-grey, #f7f7fb) !important;
	box-shadow: 6px 0 8px -8px rgba(0, 0, 0, 0.45);
}

.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(1) {
	z-index: 4;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(1) {
	z-index: 3;
	text-align: center;
}

.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(1) img {
	max-width: 100%;
	max-height: 150px;
	width: auto;
	object-fit: contain;
}

.lp-user-profile .lp_profile_course_progress > thead > tr > th:nth-child(2),
.lp-user-profile .lp_profile_course_progress > tbody > tr > td:nth-child(2) {
	min-width: 350px;
}

/* Match the WooCommerce Checkout Block to the site's Cart visual language. */
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout {
	--triplea-checkout-primary: var(--e-global-color-primary, #E23C74);
	--triplea-checkout-hover: var(--e-global-color-afa2b0c, #C92F65);
	--triplea-checkout-heading: var(--e-global-color-0ffc159, #173460);
	--triplea-checkout-border: #E1E1E1;
	--triplea-checkout-surface: #F7F7F7;
	color: var(--triplea-checkout-heading);
}

.woocommerce-checkout h1.entry-title,
.woocommerce-checkout h1.wp-block-post-title,
.woocommerce-checkout .wp-block-post-title {
	margin: 0 0 24px !important;
	padding-top: 48px !important;
	color: var(--e-global-color-0ffc159, #173460) !important;
	font-size: 46px !important;
	font-weight: 700 !important;
	letter-spacing: normal;
	line-height: 1.15 !important;
}

/* Keep the checkout page title aligned with the cart page title. */
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .page-header .entry-title,
body.woocommerce-checkout h1 {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 24px !important;
	padding: 48px 0 0 !important;
	color: var(--e-global-color-0ffc159, #173460) !important;
	font-size: 46px !important;
	font-weight: 700 !important;
	letter-spacing: normal;
	line-height: 1.15 !important;
}

.woocommerce-checkout .wc-block-components-sidebar-layout {
	column-gap: 48px;
	margin-bottom: 0 !important;
	padding-bottom: 96px;
}

.woocommerce-checkout .wc-block-checkout__main {
	min-width: 0;
}

.woocommerce-checkout .wc-block-checkout__form {
	max-width: none;
}

.woocommerce-checkout .wc-block-components-checkout-step {
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--triplea-checkout-border);
}

.woocommerce-checkout .wc-block-components-checkout-step:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading {
	margin-bottom: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
	gap: 4px;
	margin-bottom: 8px;
}

.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-title {
	color: var(--triplea-checkout-heading) !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__description {
	color: #5E6470;
	font-size: 14px;
	line-height: 1.5;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-select-input,
.woocommerce-checkout .wc-block-components-country-input {
	margin-top: 0;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-address-form input,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	box-sizing: border-box;
	min-height: 58px;
	border: 1px solid #D8DCE4 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--triplea-checkout-heading) !important;
	font-size: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-address-form input {
	padding-right: 16px !important;
	padding-left: 16px !important;
}

.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	padding-right: 40px !important;
	padding-left: 16px !important;
}

.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-address-form input:focus,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--triplea-checkout-primary) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--triplea-checkout-primary) 16%, transparent) !important;
	outline: none !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
	color: #636A76;
}

.woocommerce-checkout .wc-block-components-text-input:focus-within label,
.woocommerce-checkout .wc-blocks-components-select:focus-within .wc-blocks-components-select__label {
	color: var(--triplea-checkout-primary);
}

.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form {
	row-gap: 12px;
}

.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form > *,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form > * {
	margin-top: 0 !important;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__container,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-notice-banner {
	border-radius: 8px;
}

.woocommerce-checkout .wc-block-components-notice-banner {
	margin: 14px 0 0 !important;
	border: 1px solid #D8DCE4 !important;
	border-radius: 8px !important;
	background: var(--triplea-checkout-surface) !important;
	color: var(--triplea-checkout-heading) !important;
}

.woocommerce-checkout .wc-block-components-notice-banner svg {
	color: var(--triplea-checkout-primary) !important;
	fill: var(--triplea-checkout-primary) !important;
}

.woocommerce-checkout .wc-block-checkout__order-notes,
.woocommerce-checkout .wc-block-checkout__terms {
	margin-top: 20px;
}

.woocommerce-checkout .wc-block-checkout__actions {
	margin-top: 28px;
	margin-bottom: 0;
	padding-top: 28px;
	border-top: 1px solid var(--triplea-checkout-border);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 56px;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--triplea-checkout-primary) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:active {
	border: 0 !important;
	background: var(--triplea-checkout-hover) !important;
	box-shadow: none !important;
	color: #fff !important;
	text-decoration: none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	transform: translateY(-1px);
}

.woocommerce-checkout .wc-block-checkout__sidebar {
	width: 100%;
	min-width: 0;
}

.woocommerce-checkout .wc-block-checkout__sidebar > .wp-block-woocommerce-checkout-order-summary-block {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--triplea-checkout-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: 0 8px 24px rgba(23, 52, 96, 0.05);
	color: var(--triplea-checkout-heading);
	overflow: hidden;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	box-sizing: border-box;
	margin: 0 !important;
	padding: 20px 20px 16px;
	border-bottom: 1px solid var(--triplea-checkout-border);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
	margin: 0 !important;
	color: var(--triplea-checkout-heading) !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-icon {
	color: var(--triplea-checkout-primary);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content {
	padding: 0 20px 20px;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
	gap: 12px;
	padding: 18px 0 !important;
}

/* The item price is already shown beneath the product name. */
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	display: none !important;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
	border-radius: 8px !important;
	background: var(--triplea-checkout-surface);
}

.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	color: var(--triplea-checkout-primary) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.4;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
	border-color: var(--triplea-checkout-border) !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	padding-top: 12px;
	padding-bottom: 12px;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item {
	padding-top: 12px;
	font-size: 22px;
	font-weight: 500;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--triplea-checkout-heading) !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon {
	padding-top: 16px;
	padding-bottom: 16px;
}

.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	color: var(--triplea-checkout-heading) !important;
}

.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-totals-coupon__button {
	color: #fff !important;
}

/* Compact the subtotal-to-total area; empty fee/shipping/tax blocks should not
 * leave a large visual gap in the order summary. */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block {
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block > .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-wrapper {
	margin: 0 !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item {
	padding-top: 12px !important;
	padding-bottom: 0 !important;
}

@media (max-width: 919px) {
	.woocommerce-checkout h1.entry-title,
	.woocommerce-checkout h1.wp-block-post-title,
	.woocommerce-checkout .wp-block-post-title,
	body.woocommerce-checkout .entry-title,
	body.woocommerce-checkout .page-header .entry-title,
	body.woocommerce-checkout h1 {
		font-size: 44px !important;
	}

	.woocommerce-checkout .wc-block-components-sidebar-layout {
		padding-bottom: 48px;
	}

	.woocommerce-checkout .wc-block-checkout__sidebar {
		margin-bottom: 24px;
	}
}

@media (max-width: 767px) {
	.woocommerce-checkout h1.entry-title,
	.woocommerce-checkout h1.wp-block-post-title,
	.woocommerce-checkout .wp-block-post-title {
		margin-bottom: 24px !important;
		padding-top: 28px !important;
		font-size: 36px !important;
	}

	body.woocommerce-checkout .entry-title,
	body.woocommerce-checkout .page-header .entry-title,
	body.woocommerce-checkout h1 {
		/* Keep the gap below the page title consistent with the Cart page. */
		margin-bottom: 24px !important;
		padding: 28px 20px 0 !important;
		font-size: 36px !important;
	}

	.woocommerce-checkout .wp-block-woocommerce-checkout,
	.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
		padding-top: 0 !important;
		padding-block-start: 0 !important;
	}

	.woocommerce-checkout .wc-block-components-checkout-step__title,
	.woocommerce-checkout .wc-block-components-title,
	.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
		font-size: 21px !important;
	}

	.woocommerce-checkout .wc-block-components-sidebar-layout {
		padding-bottom: 36px;
	}

	.woocommerce-checkout .wc-block-components-checkout-step {
		margin-bottom: 16px;
		padding-bottom: 16px;
	}

	.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form,
	.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form {
		display: flex;
		flex-direction: column;
		gap: 12px !important;
	}
}

/* Keep the mobile Checkout main content and order summary on the same
 * horizontal grid. WooCommerce adds an inline padding value to this layout,
 * so the parent owns the gutter and both child columns reset their own
 * horizontal padding/margins. Keep only one bottom spacing layer so the
 * Checkout does not leave a double gap before the footer. */
.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-mobile {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding-inline: 20px !important;
	padding-bottom: 56px !important;
	margin-bottom: 0 !important;
}

.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-mobile > .wc-block-components-main,
.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-mobile > .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-mobile > .wc-block-checkout__main,
.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-mobile > .wc-block-checkout__sidebar {
	box-sizing: border-box !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

@media (max-width: 1024px) {
	/* Let the responsive course cards sit directly on the profile content. */
	.lp-user-profile .learn-press-profile-course__progress,
	.lp-user-profile .learn-press-course-tab__filter__content,
	.lp-user-profile .lp-table-wrap {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		box-sizing: border-box;
	}

	.lp-user-profile .lp-table-wrap {
		overflow-x: visible !important;
		overflow-y: visible !important;
	}

	.lp-user-profile .lp_profile_course_progress {
		display: block;
		width: 100%;
		min-width: 0 !important;
		border: 0;
	}

	.lp-user-profile .lp_profile_course_progress thead {
		display: none;
	}

	.lp-user-profile .lp_profile_course_progress tbody {
		display: block;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr {
		display: block;
		margin-bottom: 16px;
		border: 1px solid var(--lp-border-color, #e2e0db);
		border-radius: 10px;
		overflow: hidden;
		background: #fff;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td {
		display: grid !important;
		grid-template-columns: minmax(110px, 35%) minmax(0, 1fr);
		align-items: start;
		gap: 12px;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		box-sizing: border-box;
		padding: 12px 16px !important;
		text-align: left !important;
		white-space: normal;
	}

	/* Keep separators consistent when the table is rendered as mobile cards. */
	.lp-user-profile .lp_profile_course_progress tbody > tr > td {
		border: 0 !important;
		border-bottom: 1px solid #dee1e6 !important;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:last-child {
		border-bottom: 0 !important;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td::before {
		grid-column: 1;
		font-weight: 600;
		color: var(--lp-color-base, #333);
		content: attr(data-label);
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:not(:first-child) > * {
		grid-column: 2;
		min-width: 0;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:first-child {
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 150px;
		min-height: 0;
		max-height: 150px;
		position: static !important;
		overflow: hidden;
		background: var(--lp-white-grey, #f7f7fb) !important;
		box-shadow: none;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:first-child::before {
		display: none;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:first-child > * {
		grid-column: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	.lp-user-profile .lp_profile_course_progress tbody > tr > td:nth-child(2) a {
		overflow-wrap: anywhere;
	}

	.lp-user-profile .lp_profile_course_progress .triplea-course-progress__content {
		grid-column: 2;
		min-width: 0;
		width: 100%;
	}

	.lp-user-profile .lp_profile_course_progress .triplea-course-progress__summary {
		justify-content: flex-start;
	}

	.lp-user-profile .lp_profile_course_progress .triplea-course-progress__bar {
		margin-right: 0;
		margin-left: 0;
	}

	.lp-user-profile .lp_profile_course_progress .triplea-course-progress__heading,
	.lp-user-profile .lp_profile_course_progress .triplea-course-progress,
	.lp-user-profile .lp_profile_course_progress .triplea-course-last-study__heading,
	.lp-user-profile .lp_profile_course_progress .triplea-course-last-study {
		white-space: normal;
	}

	.lp-user-profile .lp_profile_course_progress .triplea-course-progress,
	.lp-user-profile .lp_profile_course_progress .triplea-course-last-study {
		text-align: left !important;
		white-space: normal !important;
	}
}

/* Stack the course and lesson names in profile note cards. */
.lp-profile-notes .lp-profile-notes__context > a {
	display: block !important;
}

.lp-profile-notes .lp-profile-notes__context > a:last-of-type::before {
	content: "บทเรียน: ";
}

.lp-profile-notes .lp-profile-notes__context > span[aria-hidden="true"] {
	display: block !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

/* Keep note dates at the bottom-left of each card on desktop. */
@media (min-width: 1024px) {
	.lp-profile-notes .lp-notes__card {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"context context"
			"quote quote"
			"content content"
			"date date";
		align-items: end;
	}

	.lp-profile-notes .lp-profile-notes__context {
		grid-area: context;
	}

	.lp-profile-notes .lp-notes__card-quote {
		grid-area: quote;
	}

	.lp-profile-notes .lp-notes__card-content {
		grid-area: content;
	}

	.lp-profile-notes .lp-notes__card-meta {
		grid-area: date;
		justify-self: start;
		margin: 0 !important;
	}
}

/* On mobile and tablet, keep the date at the bottom-left of the card. */
@media (max-width: 1023px) {
	.lp-profile-notes .lp-notes__card {
		display: flex !important;
		flex-direction: column !important;
	}

	.lp-profile-notes .lp-profile-notes__context {
		order: 1;
	}

	.lp-profile-notes .lp-notes__card-quote {
		order: 2;
	}

	.lp-profile-notes .lp-notes__card-content {
		order: 3;
	}

	.lp-profile-notes .lp-notes__card-meta {
		order: 4;
		justify-content: flex-start !important;
		margin: 0 !important;
	}
}

/* Keep the modern course card image within the course header after removing the instructor row. */
@media (min-width: 992px) {
	.lp-single-course .lp-single-course-main__right {
		margin-top: -240px !important;
	}

	/* Keep the sticky course card below the site's sticky header. */
	.lp-single-course .lp-single-course-main__right__inner {
		top: 170px !important;
	}
}

/* Match the course header background to the site's light neutral surface. */
.lp-single-course .lp-single-course__header {
	background-color: #F7F7F7 !important;
}

/* Display single-course categories as compact pill badges. */
.learn-press-courses .course-thumbnail,
.lp-single-course .lp-courses-related .course-thumbnail {
	position: relative !important;
}

.learn-press-courses .course-thumbnail .triplea-course-category-badges,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badges {
	position: absolute !important;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex !important;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	max-width: calc(100% - 24px);
}

.lp-single-course .lp-single-course__header .course-instructor-category .course-categories {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lp-single-course .lp-single-course__header .course-instructor-category .triplea-course-category-badge,
.lp-single-course .lp-single-course__header .course-instructor-category .triplea-course-category-badge:hover,
.lp-single-course .lp-single-course__header .course-instructor-category .triplea-course-category-badge:focus,
.lp-single-course .lp-single-course__header .course-instructor-category .triplea-course-category-badge:focus-visible,
.lp-single-course .lp-single-course__header .course-instructor-category .triplea-course-category-badge:active,
.learn-press-courses .course-thumbnail .triplea-course-category-badge,
.learn-press-courses .course-thumbnail .triplea-course-category-badge:hover,
.learn-press-courses .course-thumbnail .triplea-course-category-badge:focus,
.learn-press-courses .course-thumbnail .triplea-course-category-badge:focus-visible,
.learn-press-courses .course-thumbnail .triplea-course-category-badge:active,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge:hover,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge:focus,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge:focus-visible,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge:active {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 7px 14px !important;
	border: 1px solid var(--triplea-category-border, #F7F7F7) !important;
	border-radius: 999px !important;
	background-color: var(--triplea-category-background, #FFFFFF) !important;
	color: var(--triplea-category-text, #3A3D40) !important;
	font-size: 14px;
	font-weight: 400 !important;
	line-height: 1.2;
	text-decoration: none !important;
}

.learn-press-courses .course-thumbnail .triplea-course-category-badge,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge {
	white-space: nowrap;
}

/* Keep course-card category badges compact on top of the course image. */
.learn-press-courses .course-thumbnail .triplea-course-category-badge,
.lp-single-course .lp-courses-related .course-thumbnail .triplea-course-category-badge {
	padding: 5px 10px !important;
	font-size: 12px !important;
}

/* Use the same light neutral background for each curriculum section header. */
.lp-single-course .lp-course-curriculum .course-section .course-section-header {
	background-color: #F7F7F7 !important;
}

/* Cover the legacy curriculum markup used by the compact course-content panel. */
.lp-single-course .course-curriculum .section-header {
	background-color: #F7F7F7 !important;
}

/* The course-content popup renders outside .lp-single-course. */
#popup-sidebar .lp-course-curriculum .course-section .course-section-header,
#popup-sidebar .course-curriculum .section-header {
	background-color: #F7F7F7 !important;
}

/* Give course-material data rows the site's light neutral background. */
.lp-single-course .course-material-table tbody tr,
.lp-single-course .course-material-table tbody tr td {
	background-color: #F7F7F7 !important;
}

/* Hide the secondary WordPress widget area from the LearnPress course sidebar. */
.course-summary-sidebar .course-sidebar-secondary {
	display: none !important;
}

/* Style the LearnPress course-category list added above the archive sidebar widgets. */
.lp-archive-courses-sidebar .triplea-course-categories-widget {
	margin-bottom: 28px !important;
}

.lp-archive-courses-sidebar .triplea-course-categories-widget .widget-title {
	margin: 0 0 16px !important;
	color: var(--e-global-color-0ffc159) !important;
	font-size: 23px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

@media (max-width: 1024px) {
	.lp-archive-courses-sidebar .triplea-course-categories-widget .widget-title {
		font-size: 22px !important;
	}
}

@media (max-width: 767px) {
	.lp-archive-courses-sidebar .triplea-course-categories-widget .widget-title {
		font-size: 18px !important;
	}
}

.lp-archive-courses-sidebar .triplea-course-category-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.lp-archive-courses-sidebar .triplea-course-category-list li {
	margin: 0 !important;
	padding: 14px 0 !important;
	border-bottom: 1px solid #dfe2e6 !important;
}

.lp-archive-courses-sidebar .triplea-course-category-list a {
	display: block !important;
	color: #3A3D40 !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
	text-decoration: none !important;
}

.lp-archive-courses-sidebar .triplea-course-category-list a:hover,
.lp-archive-courses-sidebar .triplea-course-category-list a:focus,
.lp-archive-courses-sidebar .triplea-course-category-list a:focus-visible {
	color: var(--e-global-color-primary, #173460) !important;
}

/* Use the shared 10px radius for course-card action links. */
.learn-press-courses .course-content .course-readmore a,
.lp-single-course .lp-courses-related .course-readmore a {
	border-radius: 10px !important;
}

/* Use the secondary brand color for both LearnPress course-completion buttons. */
.lp-button.btn-finish-course,
.lp-button.btn-finish-course:hover,
.lp-button.btn-finish-course:focus,
.lp-button.btn-finish-course:focus-visible,
.lp-button.btn-finish-course:active,
.lp-button.lp-btn-finish-course,
.lp-button.lp-btn-finish-course:hover,
.lp-button.lp-btn-finish-course:focus,
.lp-button.lp-btn-finish-course:focus-visible,
.lp-button.lp-btn-finish-course:active {
	background: #173460 !important;
	background-color: #173460 !important;
	border-color: #173460 !important;
	color: #fff !important;
}

/* Use the same eye controls as the public registration form on profile password settings. */
form[name="profile-change-password"] .triplea-profile-password-field {
	position: relative;
	display: block;
	width: 100%;
}

form[name="profile-change-password"] .triplea-profile-password-field input[type="password"],
form[name="profile-change-password"] .triplea-profile-password-field input[type="text"] {
	padding-right: 48px;
}

form[name="profile-change-password"] .triplea-profile-password-toggle,
form[name="profile-change-password"] .triplea-profile-password-toggle:hover,
form[name="profile-change-password"] .triplea-profile-password-toggle:focus,
form[name="profile-change-password"] .triplea-profile-password-toggle:focus-visible,
form[name="profile-change-password"] .triplea-profile-password-toggle:active {
	position: absolute;
	top: 50%;
	right: 10px;
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 4px !important;
	transform: translateY(-50%);
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #3A3D40 !important;
	cursor: pointer;
	line-height: 1;
	appearance: none;
}

form[name="profile-change-password"] .triplea-profile-password-toggle:hover {
	color: #E23C74 !important;
}

form[name="profile-change-password"] .triplea-profile-password-toggle:focus,
form[name="profile-change-password"] .triplea-profile-password-toggle:focus-visible {
	outline: 1px solid #bfc4cc;
	outline-offset: 0;
}

form[name="profile-change-password"] .triplea-profile-password-toggle svg {
	display: block;
	width: 18px;
	height: 18px;
	pointer-events: none;
}

/* Keep the Elementor Menu Cart popup visible inside the sticky header. */
.elementor-location-header .elementor-widget-woocommerce-menu-cart,
.elementor-location-header .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__wrapper,
.elementor-location-header .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle_wrapper {
	position: relative;
	z-index: 10000;
	overflow: visible !important;
}

@supports selector(.e-con:has(*)) {
	.elementor-location-header .e-con:has(.elementor-widget-woocommerce-menu-cart) {
		overflow: visible !important;
	}
}

.elementor-location-header .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__container {
	z-index: 10001;
}

/* Add a small gap between the Mini Cart and its toggle button. */
.elementor-location-header .elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__container {
	top: calc(100% + 10px) !important;
}

/* Keep the Mini Cart inside the viewport on mobile screens. */
@media (max-width: 767px) {
	.elementor-location-header .elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__container {
		left: auto !important;
		right: 0 !important;
		inset-inline: auto 0 !important;
		min-width: 0 !important;
		width: calc(100vw - 24px) !important;
		max-width: calc(100vw - 24px) !important;
		box-sizing: border-box;
	}

	.elementor-location-header .elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__main {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Style the WooCommerce cart page to match the Triple A theme. */
body.woocommerce-cart {
	--triplea-cart-text: #3A3D40;
	--triplea-cart-heading: #173460;
	--triplea-cart-primary: var(--e-global-color-primary, #E23C74);
	--triplea-cart-hover: var(--e-global-color-afa2b0c, #C92F65);
	color: var(--triplea-cart-text);
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-header .entry-title {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 24px !important;
	padding: 48px 0 0;
	color: var(--triplea-cart-heading) !important;
	font-size: 46px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
}

body.woocommerce-cart .entry-content {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
body.woocommerce-cart .entry-content > .woocommerce {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 0 96px !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
	color: var(--triplea-cart-text);
	margin-bottom: 0 !important;
}

/* Scale down the empty-cart state so it feels balanced with the Cart page. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 16px 0 32px !important;
	color: var(--triplea-cart-text);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	margin: 0 !important;
	color: var(--triplea-cart-heading) !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	width: 80px !important;
	height: 80px !important;
	margin: 0 auto 14px !important;
	background-color: var(--triplea-cart-heading) !important;
	mask-size: 80px !important;
	-webkit-mask-size: 80px !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p {
	margin: 12px 0 0 !important;
	color: var(--triplea-cart-text);
	font-size: 16px !important;
	line-height: 1.5;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p a {
	color: var(--triplea-cart-primary) !important;
	font-weight: 500;
}

/* Keep the empty-cart state focused on the message; remove the default store
 * link, separator, recommendations heading, and product collection. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new {
	display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator.is-style-dots {
	width: 72px;
	margin: 24px auto !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	margin: 0 0 20px !important;
	color: var(--triplea-cart-heading) !important;
	font-size: 26px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-top: 0 !important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
	column-gap: 48px !important;
}

body.woocommerce-cart .wc-block-cart__main {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart__sidebar {
	box-sizing: border-box;
	flex-basis: 360px !important;
	width: 360px !important;
	padding: 20px !important;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	background: #FFFFFF;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items {
	border-top: 1px solid #E5E7EB;
	border-bottom: 1px solid #E5E7EB;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items th {
	padding: 12px 16px 14px 0;
	color: var(--triplea-cart-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items td {
	padding: 24px 0;
	border-top-color: #E5E7EB;
}

/* Keep the product image visually separated from its details. */
body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
	padding-right: 28px !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__product {
	padding-left: 8px !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image a {
	display: block;
	box-sizing: border-box;
	padding: 10px;
	border-radius: 8px;
	background: #F7F7F7;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image img {
	display: block;
	border-radius: 4px;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-components-product-name {
	color: var(--triplea-cart-primary) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-components-product-name:hover,
body.woocommerce-cart .wc-block-cart__main .wc-block-components-product-name:focus {
	color: var(--triplea-cart-hover) !important;
	text-decoration: underline;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total {
	color: var(--triplea-cart-text);
	font-size: 15px;
}

/* Keep the cart total aligned with the top of the product content even when
 * the course title wraps onto multiple lines. */
body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__total {
	vertical-align: top !important;
	padding-top: 24px !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	justify-content: flex-start;
	margin-top: 0 !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__remove-link {
	display: inline-grid !important;
	box-sizing: border-box;
	place-items: center;
	flex: 0 0 40px !important;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	aspect-ratio: 1 / 1;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border: 1px solid #D9DDE3 !important;
	border-radius: 8px !important;
	background: #FFFFFF !important;
	color: var(--triplea-cart-text) !important;
	font-size: 14px;
	line-height: 1 !important;
	text-decoration: none;
	text-align: center !important;
	vertical-align: top !important;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__remove-link svg {
	display: block !important;
	position: static !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	transform: none !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__remove-link .wc-block-components-button__text {
	display: block !important;
	margin: 0 !important;
	line-height: 1 !important;
}

body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__remove-link:hover,
body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__remove-link:focus {
	border-color: var(--triplea-cart-hover) !important;
	background: #FFFFFF !important;
	color: var(--triplea-cart-hover) !important;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title {
	margin: 0 !important;
	padding: 0 0 14px !important;
	color: var(--triplea-cart-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon {
	padding: 0 0 18px !important;
	border-bottom: 1px solid #E5E7EB;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item {
	padding: 16px 0 !important;
}

body.woocommerce-cart .triplea-cart-summary-breakdown {
	margin: 0 !important;
}

body.woocommerce-cart .triplea-cart-summary-item {
	display: flex !important;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 0 !important;
	border-top: 1px solid #E5E7EB;
	color: var(--triplea-cart-text);
	font-size: 15px;
	line-height: 1.4;
}

body.woocommerce-cart .triplea-cart-summary-item__label,
body.woocommerce-cart .triplea-cart-summary-item__value {
	color: inherit;
}

body.woocommerce-cart .triplea-cart-summary-item__value {
	flex: 0 0 auto;
	font-weight: 500;
	text-align: right;
	white-space: nowrap;
}

body.woocommerce-cart .triplea-cart-summary-item[data-triplea-cart-summary-item="discount"] .triplea-cart-summary-item__value {
	color: var(--triplea-cart-hover);
}

body.woocommerce-cart .triplea-cart-summary-empty {
	display: none !important;
}

/* WooCommerce renders empty shells for subtotal, fee, discount, shipping and
 * tax rows. Hide those shells until a real totals item is available so the
 * summary does not show unexplained separator lines. */
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-subtotal-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-fee-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-discount-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-taxes-block:not(:has(.wc-block-components-totals-item)) {
	display: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item {
	margin: 0 !important;
	padding: 20px 0 !important;
	border-top: 1px solid #E5E7EB;
	color: var(--triplea-cart-heading);
	font-size: 20px;
	font-weight: 600;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: inherit;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form {
	gap: 10px;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input input,
body.woocommerce-cart .wc-block-cart .wc-block-components-text-input input {
	box-sizing: border-box;
	min-height: 46px;
	border: 1px solid #D9DDE3 !important;
	border-radius: 10px !important;
	background: #FFFFFF !important;
	color: var(--triplea-cart-text);
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input input:focus,
body.woocommerce-cart .wc-block-cart .wc-block-components-text-input input:focus {
	border-color: var(--triplea-cart-primary) !important;
	box-shadow: 0 0 0 2px rgba(226, 60, 116, .12) !important;
	outline: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input input:focus-visible,
body.woocommerce-cart .wc-block-cart .wc-block-components-text-input input:focus-visible {
	outline: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__button {
	min-height: 46px;
	border: 1px solid var(--triplea-cart-primary) !important;
	border-radius: 10px !important;
	background: #FFFFFF !important;
	color: var(--triplea-cart-primary) !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__button:hover,
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__button:focus,
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__button:focus-visible,
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__button:active {
	border-color: var(--triplea-cart-hover) !important;
	background: var(--triplea-cart-hover) !important;
	color: #FFFFFF !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	margin: 0 !important;
	padding: 14px 20px !important;
	border: 1px solid var(--triplea-cart-primary) !important;
	border-radius: 10px !important;
	background: var(--triplea-cart-primary) !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-button:focus-visible,
body.woocommerce-cart .wc-block-cart__submit-button:active,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:focus,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:focus-visible,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:active {
	border-color: var(--triplea-cart-hover) !important;
	background: var(--triplea-cart-hover) !important;
	color: #FFFFFF !important;
}

/* Keep the classic WooCommerce cart consistent if the page falls back to shortcode markup. */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
	color: var(--triplea-cart-text);
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table,
body.woocommerce-cart .cart-collaterals .cart_totals {
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	background: #FFFFFF;
	overflow: hidden;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td,
body.woocommerce-cart .cart-collaterals .cart_totals th,
body.woocommerce-cart .cart-collaterals .cart_totals td {
	padding: 18px 20px;
	border-color: #E5E7EB;
}

body.woocommerce-cart .woocommerce-cart-form .product-name a {
	color: var(--triplea-cart-primary);
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-cart .woocommerce-cart-form .product-name a:hover,
body.woocommerce-cart .woocommerce-cart-form .product-name a:focus {
	color: var(--triplea-cart-hover);
	text-decoration: underline;
}

body.woocommerce-cart .woocommerce-cart-form .product-remove a {
	color: var(--triplea-cart-text);
}

body.woocommerce-cart .woocommerce-cart-form .product-remove a:hover,
body.woocommerce-cart .woocommerce-cart-form .product-remove a:focus {
	color: var(--triplea-cart-hover);
}

body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"],
body.woocommerce-cart .cart-collaterals .checkout-button,
body.woocommerce-cart .woocommerce-cart-form .coupon button,
body.woocommerce-cart .woocommerce-cart-form .coupon .button {
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid var(--triplea-cart-primary) !important;
	border-radius: 10px !important;
	background: var(--triplea-cart-primary) !important;
	color: #FFFFFF !important;
	font-weight: 600;
	text-decoration: none !important;
}

body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:hover,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:focus,
body.woocommerce-cart .cart-collaterals .checkout-button:hover,
body.woocommerce-cart .cart-collaterals .checkout-button:focus,
body.woocommerce-cart .woocommerce-cart-form .coupon button:hover,
body.woocommerce-cart .woocommerce-cart-form .coupon button:focus,
body.woocommerce-cart .woocommerce-cart-form .coupon .button:hover,
body.woocommerce-cart .woocommerce-cart-form .coupon .button:focus {
	border-color: var(--triplea-cart-hover) !important;
	background: var(--triplea-cart-hover) !important;
	color: #FFFFFF !important;
}

@media (max-width: 919px) {
	body.woocommerce-cart .entry-title,
	body.woocommerce-cart .page-header .entry-title {
		padding-top: 36px;
		font-size: 44px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
	body.woocommerce-cart .entry-content > .woocommerce {
		padding-bottom: 72px !important;
		margin-bottom: 0 !important;
	}

	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		row-gap: 32px !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		flex-basis: auto !important;
		width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__total {
		padding-top: 0 !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
		padding: 14px 0 28px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
		font-size: 23px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
		width: 72px !important;
		height: 72px !important;
		margin-bottom: 12px !important;
		mask-size: 72px !important;
		-webkit-mask-size: 72px !important;
	}
}

/* WooCommerce uses a container query for the cart layout. Keep the outer
 * cart totals block full width as well; otherwise its inner sidebar can keep
 * the desktop 360px width on tablet-sized containers. */
@media (max-width: 1199px) {
	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		flex-direction: column !important;
		column-gap: 0 !important;
		row-gap: 48px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block > *,
	body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
	body.woocommerce-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-cart .wc-block-components-main,
	body.woocommerce-cart .wc-block-components-sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar .components-card,
	body.woocommerce-cart .wc-block-components-sidebar .components-card {
		box-sizing: border-box;
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		align-self: stretch !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__total {
		align-self: start !important;
		padding-top: 0 !important;
		vertical-align: top !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__row {
		display: grid !important;
		grid-template-columns: 80px minmax(0, 1fr) max-content !important;
		column-gap: 16px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
		box-sizing: border-box !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 80px !important;
		max-width: 80px !important;
		padding-right: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__product {
		box-sizing: border-box !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		width: auto !important;
		max-width: 100% !important;
		padding-left: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total {
		box-sizing: border-box !important;
		grid-column: 3 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		width: auto !important;
		max-width: 100% !important;
		justify-self: end !important;
		text-align: right !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__row {
		align-items: start !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
		align-self: start !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		vertical-align: top !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image a {
		margin-top: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-end !important;
		margin-top: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		margin-bottom: 0 !important;
	}
}

@container (max-width: 919px) {
	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		flex-direction: column !important;
		column-gap: 0 !important;
		row-gap: 48px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block > *,
	body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
	body.woocommerce-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-cart .wc-block-components-main,
	body.woocommerce-cart .wc-block-components-sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar .components-card,
	body.woocommerce-cart .wc-block-components-sidebar .components-card {
		box-sizing: border-box;
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		align-self: stretch !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__total {
		align-self: start !important;
		padding-top: 0 !important;
		vertical-align: top !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__row {
		display: grid !important;
		grid-template-columns: 80px minmax(0, 1fr) max-content !important;
		column-gap: 16px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
		box-sizing: border-box !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 80px !important;
		max-width: 80px !important;
		padding-right: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__product {
		box-sizing: border-box !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		width: auto !important;
		max-width: 100% !important;
		padding-left: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total {
		box-sizing: border-box !important;
		grid-column: 3 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		width: auto !important;
		max-width: 100% !important;
		justify-self: end !important;
		text-align: right !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items .wc-block-cart-items__row {
		align-items: start !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
		align-self: start !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		vertical-align: top !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image a {
		margin-top: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-end !important;
		margin-top: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 767px) {
	body.woocommerce-cart .entry-title,
	body.woocommerce-cart .page-header .entry-title {
		padding: 28px 20px 0;
		font-size: 36px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
	body.woocommerce-cart .entry-content > .woocommerce {
		padding-right: 20px !important;
		padding-bottom: 56px !important;
		padding-left: 20px !important;
		margin-bottom: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		padding: 16px !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-items td {
		padding: 18px 0;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__image {
		padding-right: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart__main .wc-block-cart-item__product {
		padding-left: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item {
		font-size: 18px;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
		padding: 12px 0 24px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
		font-size: 22px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
		width: 64px !important;
		height: 64px !important;
		margin-bottom: 12px !important;
		mask-size: 64px !important;
		-webkit-mask-size: 64px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator.is-style-dots {
		margin: 20px auto !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
		font-size: 22px !important;
	}
}

/* Match the WooCommerce order confirmation page to the Checkout visual language. */
body.woocommerce-order-received {
	--triplea-order-text: #3A3D40;
	--triplea-order-heading: var(--e-global-color-0ffc159, #173460);
	--triplea-order-primary: var(--e-global-color-primary, #E23C74);
	--triplea-order-hover: var(--e-global-color-afa2b0c, #C92F65);
	--triplea-order-border: #E1E1E1;
	--triplea-order-surface: #F7F7F7;
	color: var(--triplea-order-text);
}

body.woocommerce-order-received .page-header .entry-title,
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	text-align: center !important;
}

body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .page-content,
body.woocommerce-order-received .entry-content > .woocommerce,
body.woocommerce-order-received .woocommerce {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 800px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

/* Blockified order confirmation uses a constrained main element. Keep its
 * content width and page padding aligned with the Checkout page. */
body.woocommerce-order-received main.wp-block-group,
body.woocommerce-order-received .woocommerce-order {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 800px !important;
	margin: 0 auto !important;
	padding: 48px 0 96px !important;
	color: var(--triplea-order-text);
}

body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-status,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-summary,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-downloads-wrapper,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-address-wrapper,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-additional-fields-wrapper,
body.woocommerce-order-received main.wp-block-group > .wc-block-order-confirmation-additional-information {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

/* The block version displays the page title inside the status block. */
body.woocommerce-order-received .wc-block-order-confirmation-status {
	margin: 0 0 24px !important;
	padding: 0 !important;
	color: var(--triplea-order-heading);
}

body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	box-sizing: border-box;
	margin: 0 0 12px !important;
	padding: 0 !important;
	color: var(--triplea-order-heading) !important;
	font-size: 46px !important;
	font-weight: 700 !important;
	letter-spacing: normal;
	line-height: 1.15 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status p,
body.woocommerce-order-received .wc-block-order-confirmation-status-description {
	color: var(--triplea-order-text);
	font-size: 16px;
	line-height: 1.55;
}

body.woocommerce-order-received .wc-block-order-confirmation-status-description {
	margin: 0 0 24px;
}

/* Keep the classic thank-you message useful when the site falls back to the
 * shortcode order-received template. */
body.woocommerce-order-received p.woocommerce-thankyou-order-received {
	box-sizing: border-box;
	margin: 0 0 24px !important;
	padding: 16px 20px;
	border: 1px solid #D8E7D9;
	border-radius: 8px;
	background: #F4FBF3;
	color: var(--triplea-order-heading);
	font-size: 16px;
	line-height: 1.55;
}

/* Order summary metadata. */
body.woocommerce-order-received .wc-block-order-confirmation-summary {
	box-sizing: border-box;
	margin: 0 0 32px !important;
	padding: 20px 24px !important;
	border: 1px solid var(--triplea-order-border);
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--triplea-order-text);
	box-shadow: 0 8px 24px rgba(23, 52, 96, 0.04);
}

body.woocommerce-order-received .wc-block-order-confirmation-summary ul {
	gap: 16px 24px;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
	color: #636A76;
	font-size: 14px;
	font-weight: 500 !important;
	line-height: 1.45;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
	margin-top: 4px;
	color: var(--triplea-order-heading);
	font-size: 16px;
	line-height: 1.45;
}

/* Classic order overview metadata. */
body.woocommerce-order-received .woocommerce-order-overview {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	width: 100%;
	margin: 0 0 32px !important;
	padding: 0 !important;
	border: 1px solid var(--triplea-order-border);
	border-radius: 10px;
	background: #FFFFFF;
	list-style: none;
	overflow: hidden;
}

/* WooCommerce's legacy clearfix adds ::before/::after table elements to
 * .order_details. They become real grid items here and push the payment
 * method onto a second row, so remove them when the overview is a grid. */
body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li {
	min-width: 0;
	margin: 0 !important;
	padding: 16px 20px;
	border-right: 1px solid var(--triplea-order-border);
	color: #636A76;
	font-size: 14px;
	line-height: 1.45;
}

body.woocommerce-order-received .woocommerce-order-overview li:last-child {
	border-right: 0;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	margin-top: 6px;
	color: var(--triplea-order-heading);
	font-size: 16px;
	font-weight: 600;
}

/* Long email addresses must stay inside their own overview column. */
body.woocommerce-order-received .woocommerce-order-overview__email strong {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Section headings follow the 24px Checkout section-title scale. */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper > .wp-block-heading,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads-wrapper > .wp-block-heading,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-fields-wrapper > .wp-block-heading,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper > .wp-block-heading,
body.woocommerce-order-received .wc-block-order-confirmation-downloads-wrapper > .wp-block-heading,
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper > .wp-block-heading,
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-downloads__title,
body.woocommerce-order-received .woocommerce-order-downloads__title,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper .wp-block-heading,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper .wp-block-heading {
	margin: 0 0 12px !important;
	color: var(--triplea-order-heading) !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-downloads-wrapper,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order-downloads {
	margin: 0 0 32px !important;
}

/* Tables share the same bordered surface and spacing as the Checkout summary. */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table,
body.woocommerce-order-received .woocommerce-order-details table.shop_table,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 1px solid var(--triplea-order-border) !important;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	background: #FFFFFF;
	color: var(--triplea-order-text);
	overflow: hidden;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table td,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table th,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table td,
body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table th,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table td {
	padding: 16px 20px !important;
	border-color: var(--triplea-order-border) !important;
	font-size: 15px;
	line-height: 1.5;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table thead th,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table thead th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table thead th {
	background: var(--triplea-order-surface);
	color: var(--triplea-order-heading);
	font-size: 14px;
	font-weight: 600;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table a,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table a,
body.woocommerce-order-received .woocommerce-order-details table.shop_table a,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table a {
	color: var(--triplea-order-primary);
	font-weight: 500;
	text-decoration: none;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table a:hover,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table a:focus,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table a:hover,
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table a:focus,
body.woocommerce-order-received .woocommerce-order-details table.shop_table a:hover,
body.woocommerce-order-received .woocommerce-order-details table.shop_table a:focus,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table a:hover,
body.woocommerce-order-received .woocommerce-order-downloads table.shop_table a:focus {
	color: var(--triplea-order-hover);
	text-decoration: underline;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child td,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child td {
	color: var(--triplea-order-heading);
	font-size: 15px !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child th {
	font-weight: 600;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child td {
	font-weight: 400;
}

/* Address cards and optional order notes. */
body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper,
body.woocommerce-order-received .woocommerce-order-confirmation-address-wrapper {
	column-gap: 24px;
	row-gap: 24px;
	margin-top: 32px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper .wp-block-column,
body.woocommerce-order-received .woocommerce-order-confirmation-address-wrapper .wp-block-column {
	margin: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
body.woocommerce-order-received .wc-block-order-confirmation-order-note,
body.woocommerce-order-received .woocommerce-customer-details address,
body.woocommerce-order-received .woocommerce-order-confirmation-address-wrapper address {
	box-sizing: border-box;
	min-height: 100%;
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid var(--triplea-order-border) !important;
	border-radius: 10px !important;
	background: #FFFFFF;
	color: var(--triplea-order-text);
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
}

body.woocommerce-order-received .wc-block-order-confirmation-order-note {
	margin-top: 32px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address p,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address p,
body.woocommerce-order-received .wc-block-order-confirmation-order-note p {
	margin: 8px 0 0;
}

body.woocommerce-order-received .woocommerce-customer-details .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

body.woocommerce-order-received .woocommerce-customer-details .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col-2 {
	float: none;
	width: auto;
}

/* Keep any confirmation actions consistent with the primary Checkout CTA. */
body.woocommerce-order-received .wc-block-order-confirmation-status__actions a,
body.woocommerce-order-received .woocommerce-order a.button {
	box-sizing: border-box;
	min-height: 50px;
	padding: 14px 20px;
	border: 1px solid var(--triplea-order-primary) !important;
	border-radius: 10px !important;
	background: var(--triplea-order-primary) !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-order-received .wc-block-order-confirmation-status__actions a:hover,
body.woocommerce-order-received .wc-block-order-confirmation-status__actions a:focus,
body.woocommerce-order-received .woocommerce-order a.button:hover,
body.woocommerce-order-received .woocommerce-order a.button:focus {
	border-color: var(--triplea-order-hover) !important;
	background: var(--triplea-order-hover) !important;
	color: #FFFFFF !important;
}

@media (max-width: 919px) {
	body.woocommerce-order-received main.wp-block-group,
	body.woocommerce-order-received .woocommerce-order {
		padding-top: 36px !important;
		padding-bottom: 48px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
		font-size: 44px !important;
	}

	body.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(2n) {
		border-right: 0;
	}

	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(n + 3) {
		border-top: 1px solid var(--triplea-order-border);
	}

	/* With an odd number of overview items, let the final payment-method row
	 * span both columns so its top border remains continuous. */
	body.woocommerce-order-received .woocommerce-order-overview li.woocommerce-order-overview__payment-method:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		border-right: 0;
	}
}

@media (max-width: 767px) {
	body.woocommerce-order-received main.wp-block-group,
	body.woocommerce-order-received .woocommerce-order {
		padding: 28px 16px 36px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
		margin-bottom: 10px !important;
		font-size: 36px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-status,
	body.woocommerce-order-received .wc-block-order-confirmation-status-description {
		margin-bottom: 20px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-summary {
		margin-bottom: 24px !important;
		padding: 16px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-summary ul {
		gap: 12px;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
		margin-top: 2px;
	}

	body.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: 24px !important;
	}

	body.woocommerce-order-received .woocommerce-order-overview li,
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(n + 3) {
		padding: 14px 16px;
		border-right: 0;
		border-top: 1px solid var(--triplea-order-border);
	}

	body.woocommerce-order-received .woocommerce-order-overview li:first-child {
		border-top: 0;
	}

	body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals-wrapper > .wp-block-heading,
	body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads-wrapper > .wp-block-heading,
	body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-additional-fields-wrapper > .wp-block-heading,
	body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper > .wp-block-heading,
	body.woocommerce-order-received .wc-block-order-confirmation-downloads-wrapper > .wp-block-heading,
	body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper > .wp-block-heading,
	body.woocommerce-order-received .woocommerce-order-details__title,
	body.woocommerce-order-received .woocommerce-downloads__title,
	body.woocommerce-order-received .woocommerce-order-downloads__title,
	body.woocommerce-order-received .woocommerce-customer-details h2,
	body.woocommerce-order-received .woocommerce-column__title,
	body.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper .wp-block-heading,
	body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper .wp-block-heading {
		font-size: 21px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
	body.woocommerce-order-received .wc-block-order-confirmation-downloads-wrapper,
	body.woocommerce-order-received .woocommerce-order-details,
	body.woocommerce-order-received .woocommerce-order-downloads {
		margin-bottom: 24px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
	body.woocommerce-order-received .wc-block-order-confirmation-totals__table td,
	body.woocommerce-order-received .wc-block-order-confirmation-downloads__table th,
	body.woocommerce-order-received .wc-block-order-confirmation-downloads__table td,
	body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
	body.woocommerce-order-received .woocommerce-order-details table.shop_table td,
	body.woocommerce-order-received .woocommerce-order-downloads table.shop_table th,
	body.woocommerce-order-received .woocommerce-order-downloads table.shop_table td {
		padding: 14px 12px !important;
		font-size: 14px;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper,
	body.woocommerce-order-received .woocommerce-order-confirmation-address-wrapper,
	body.woocommerce-order-received .woocommerce-customer-details .col2-set {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin-top: 24px !important;
	}

	body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
	body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
	body.woocommerce-order-received .wc-block-order-confirmation-order-note,
	body.woocommerce-order-received .woocommerce-customer-details address,
	body.woocommerce-order-received .woocommerce-order-confirmation-address-wrapper address {
		padding: 16px !important;
	}
}
