.learning-templates-lxp-commerce {
	max-width: 720px;
	margin: 0 auto;
}

.learning-templates-lxp-commerce-notice {
	padding: 12px 16px;
	background: #f6f7f7;
	border-left: 4px solid #2271b1;
}

.learning-templates-lxp-commerce-checkout__stripe-test-mode {
	margin: 0 0 12px;
}

.learning-templates-lxp-commerce-checkout__method {
	margin: 0 0 16px;
}

.learning-templates-lxp-commerce-field {
	margin-bottom: 16px;
}

.learning-templates-lxp-commerce-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.learning-templates-lxp-commerce-field input,
.learning-templates-lxp-commerce-field select {
	width: 100%;
	max-width: 100%;
}

.learning-templates-lxp-commerce-cart__items table,
.learning-templates-lxp-commerce-my-orders__list table,
.learning-templates-lxp-commerce-my-subscriptions__list table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.learning-templates-lxp-commerce-cart__items th,
.learning-templates-lxp-commerce-cart__items td,
.learning-templates-lxp-commerce-my-orders__list th,
.learning-templates-lxp-commerce-my-orders__list td,
.learning-templates-lxp-commerce-my-subscriptions__list th,
.learning-templates-lxp-commerce-my-subscriptions__list td {
	padding: 8px 10px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.learning-templates-lxp-commerce-checkout__users {
	margin: 0 0 16px;
}

.learning-templates-lxp-commerce-checkout__users-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.learning-templates-lxp-commerce-checkout__users-row label {
	flex: 1 1 10rem;
	margin: 0;
}

.learning-templates-lxp-commerce-checkout__users-qty {
	width: 5.5rem;
}

.learning-templates-lxp-commerce-checkout__users-price {
	font-weight: 600;
	min-width: 7rem;
}

.learning-templates-lxp-commerce-checkout__summary,
.learning-templates-lxp-commerce-cart__totals {
	padding: 12px;
	background: #f9f9f9;
	margin-bottom: 16px;
}

.learning-templates-lxp-commerce-cart__coupon,
.learning-templates-lxp-commerce-checkout__coupon-field {
	margin: 0 0 16px;
}

.learning-templates-lxp-commerce-cart__coupon-row,
.learning-templates-lxp-commerce-checkout__coupon-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.learning-templates-lxp-commerce-cart__coupon-input,
.learning-templates-lxp-commerce-checkout__coupon-row input[type="text"] {
	flex: 1 1 10rem;
	min-width: 8rem;
	max-width: 16rem;
}

.learning-templates-lxp-commerce-cart__coupon-message,
.learning-templates-lxp-commerce-checkout__coupon-message {
	margin: 0.4rem 0 0;
	font-size: 0.9em;
}

.learning-templates-lxp-commerce-cart__coupon-message.is-error,
.learning-templates-lxp-commerce-checkout__coupon-message.is-error {
	color: #b32d2e;
}

.learning-templates-lxp-commerce-cart__coupon-message.is-success,
.learning-templates-lxp-commerce-checkout__coupon-message.is-success {
	color: #1b5e20;
}

.learning-templates-lxp-commerce-cart__actions {
	margin: 0;
}

/* Layout only here — colors use CSS vars at low specificity so Customizer block
 * controls and global Primary Button settings can override without fighting
 * .button.button-primary compound selectors. */
.learning-templates-lxp-commerce-cart__checkout {
	display: inline-block;
	text-decoration: none;
	background: var(--learning-templates-lxp-primary-btn-bg, #2271b1);
	border: 1px solid var(--learning-templates-lxp-primary-btn-bg, #2271b1);
	color: var(--learning-templates-lxp-primary-btn-color, #fff);
}

.learning-templates-lxp-commerce-cart__checkout:hover,
.learning-templates-lxp-commerce-cart__checkout:focus {
	background: var(--learning-templates-lxp-primary-btn-bg-hover, #135e96);
	border-color: var(--learning-templates-lxp-primary-btn-bg-hover, #135e96);
	color: var(--learning-templates-lxp-primary-btn-color-hover, #fff);
	text-decoration: none;
}

.learning-templates-lxp-commerce-checkout__messages {
	color: #b32d2e;
	min-height: 1.2em;
}

.learning-templates-lxp-commerce-add-to-cart__message {
	display: inline-block;
	margin-left: 8px;
}

.learning-templates-lxp-commerce-add-to-cart__message.is-success {
	color: #008a20;
}

#learning-templates-lxp-stripe-payment-element,
#learning-templates-lxp-paypal-card-fields {
	margin: 16px 0;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
}

.learning-templates-lxp-commerce-my-account__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin: 0 0 16px;
}

.learning-templates-lxp-commerce-my-account__title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1.75rem;
	line-height: 1.2;
}

.learning-templates-lxp-commerce-my-account__header .learning-templates-lxp-pwa-install-app {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* Prefer the in-block title + Install App row; hide the theme page title. */
body:has(.learning-templates-lxp-commerce-my-account) .entry-header .entry-title,
body:has(.learning-templates-lxp-commerce-my-account) h1.entry-title,
body:has(.learning-templates-lxp-commerce-my-account) .wp-block-post-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.learning-templates-lxp-commerce-my-account__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 16px;
	border-bottom: 1px solid #c3c4c7;
	padding-bottom: 0;
}

/* Reset theme button styles (e.g. Astra white text on buttons) so tabs stay readable. */
.learning-templates-lxp-commerce-my-account__tab {
	appearance: none;
	-webkit-appearance: none;
	background: #f0f0f1;
	border: 1px solid #c3c4c7;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	box-shadow: none;
	color: #1d2327;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	padding: 8px 14px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.learning-templates-lxp-commerce-my-account__tab:hover,
.learning-templates-lxp-commerce-my-account__tab:focus-visible {
	background: #fff;
	border-color: #8c8f94;
	color: #135e96;
}

.learning-templates-lxp-commerce-my-account__tab.is-active {
	background: #fff;
	border-color: #c3c4c7;
	border-bottom-color: #fff;
	color: #2271b1;
	margin-bottom: -1px;
	padding-bottom: 9px;
}

.learning-templates-lxp-commerce-my-account__tab:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.learning-templates-lxp-commerce-my-account__endpoint-intro {
	margin-bottom: 1.25rem;
}

.learning-templates-lxp-commerce-my-account__endpoint-intro > :first-child {
	margin-top: 0;
}

.learning-templates-lxp-commerce-my-account__endpoint-intro > :last-child {
	margin-bottom: 0;
}

.learning-templates-lxp-commerce.learning-templates-lxp-commerce-my-account {
	max-width: 1100px;
}

.learning-templates-lxp-commerce-my-account__panel[hidden]:not(.is-active) {
	display: none !important;
}

.learning-templates-lxp-commerce-my-account__panel.is-active {
	display: block !important;
}

.learning-templates-lxp-commerce-org-seats__list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 1rem;
}

.learning-templates-lxp-commerce-org-seats__manage {
	display: grid;
	gap: 1.75rem;
	margin: 0 0 2rem;
}

.learning-templates-lxp-commerce-org-seats__section-title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
}

.learning-templates-lxp-org-add-user__form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.85rem 1rem;
	align-items: end;
}

.learning-templates-lxp-org-add-user__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.learning-templates-lxp-org-add-user__field label {
	font-weight: 600;
}

.learning-templates-lxp-org-add-user__field input {
	width: 100%;
}

.learning-templates-lxp-org-add-user__actions {
	margin: 0;
}

.learning-templates-lxp-org-add-user__message {
	grid-column: 1 / -1;
	margin: 0;
	min-height: 1.25em;
}

.learning-templates-lxp-org-add-user__message.is-error {
	color: #b32d2e;
}

.learning-templates-lxp-org-add-user__message.is-success {
	color: #008a20;
}

.learning-templates-lxp-commerce-org-seats__pool {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	background: #fff;
}

.learning-templates-lxp-commerce-org-seats__title {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.learning-templates-lxp-commerce-org-seats__access,
.learning-templates-lxp-commerce-org-seats__meta {
	margin: 0 0 0.5rem;
	color: #50575e;
}

.learning-templates-lxp-commerce-org-seats__assign {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0.75rem 0 0.25rem;
}

.learning-templates-lxp-commerce-org-seats__user-select {
	min-width: min(100%, 280px);
	max-width: 100%;
}

.learning-templates-lxp-commerce-org-seats__message {
	flex-basis: 100%;
	margin: 0;
	min-height: 1.25em;
}

.learning-templates-lxp-commerce-org-seats__assignments {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}

.learning-templates-lxp-commerce-org-seats__assignments th,
.learning-templates-lxp-commerce-org-seats__assignments td {
	padding: 8px 10px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.learning-templates-lxp-commerce-my-courses__grid {
	margin-bottom: 2.5rem;
}

.learning-templates-lxp-commerce-my-courses__cards {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.learning-templates-lxp-commerce-my-courses__cards--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learning-templates-lxp-commerce-my-courses__cards--columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-templates-lxp-commerce-my-courses__cards--columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learning-templates-lxp-commerce-my-courses__cards--list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.learning-templates-lxp-commerce-my-courses__card--list {
	flex-direction: row;
	align-items: stretch;
}

.learning-templates-lxp-commerce-my-courses__card--list .learning-templates-lxp-commerce-my-courses__thumb {
	flex: 0 0 10.5rem;
	aspect-ratio: auto;
	min-height: 7.5rem;
	align-self: stretch;
}

.learning-templates-lxp-commerce-my-courses__card--list .learning-templates-lxp-commerce-my-courses__body {
	flex: 1 1 auto;
	min-width: 0;
}

.learning-templates-lxp-commerce-my-courses__card {
	--ltlxp-course-card-radius: 12px;
	--ltlxp-course-card-border: #dcdcde;
	--ltlxp-course-card-muted: #646970;
	--ltlxp-course-card-surface: #fff;
	--ltlxp-course-card-accent: #2271b1;
	--ltlxp-course-card-complete: #008a20;
	border: 1px solid var(--ltlxp-course-card-border);
	border-radius: var(--ltlxp-course-card-radius);
	background: var(--ltlxp-course-card-surface);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.learning-templates-lxp-commerce-my-courses__card:hover,
.learning-templates-lxp-commerce-my-courses__card:focus-within {
	border-color: #c3c4c7;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.learning-templates-lxp-commerce-my-courses__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f1;
	position: relative;
}

.learning-templates-lxp-commerce-my-courses__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.learning-templates-lxp-commerce-my-courses__card:hover .learning-templates-lxp-commerce-my-courses__thumb img,
.learning-templates-lxp-commerce-my-courses__card:focus-within .learning-templates-lxp-commerce-my-courses__thumb img {
	transform: scale(1.03);
}

.learning-templates-lxp-commerce-my-courses__body {
	padding: 1.125rem 1.125rem 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	text-align: left;
	gap: 0.75rem;
	flex: 1;
}

.learning-templates-lxp-commerce-my-courses__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.learning-templates-lxp-commerce-my-courses__title {
	margin: 0;
	width: 100%;
	font-family: var(--learning-templates-lxp-heading-h3-font-family, inherit);
	font-weight: var(--learning-templates-lxp-heading-h3-font-weight, 600);
	font-size: var(--learning-templates-lxp-heading-h3-font-size, 1.0625rem);
	line-height: var(--learning-templates-lxp-heading-h3-line-height, 1.35);
	letter-spacing: var(--learning-templates-lxp-heading-h3-letter-spacing, inherit);
	text-transform: var(--learning-templates-lxp-heading-h3-text-transform, none);
	text-decoration: none;
	color: var(--learning-templates-lxp-heading-h3-color, #1d2327);
}

.learning-templates-lxp-commerce-my-courses__title,
.learning-templates-lxp-commerce-my-courses__title a,
.learning-templates-lxp-commerce-my-courses__title a:link,
.learning-templates-lxp-commerce-my-courses__title a:visited,
.learning-templates-lxp-commerce-my-courses__title a:hover,
.learning-templates-lxp-commerce-my-courses__title a:focus,
.learning-templates-lxp-commerce-my-courses__title a:active {
	display: inline;
	color: inherit;
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none;
}

.learning-templates-lxp-commerce-my-courses__title a:hover,
.learning-templates-lxp-commerce-my-courses__title a:focus {
	color: inherit;
	opacity: 0.85;
}

.learning-templates-lxp-commerce-my-courses__status {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--ltlxp-course-card-complete);
	background: rgba(0, 138, 32, 0.1);
	border: 1px solid rgba(0, 138, 32, 0.18);
}

.learning-templates-lxp-commerce-my-courses__status::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
}

.learning-templates-lxp-commerce-my-courses__card-meta {
	margin: 0;
	width: 100%;
}

.learning-templates-lxp-commerce-my-courses__total-time {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	margin: 0;
	width: 100%;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	background: #f6f7f7;
	border: 1px solid #e2e4e7;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--ltlxp-course-card-muted);
}

.learning-templates-lxp-commerce-my-courses__total-time-label {
	font-weight: 500;
}

.learning-templates-lxp-commerce-my-courses__total-time-value {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #1d2327;
	font-size: 0.9375rem;
}

.learning-templates-lxp-commerce-my-courses__actions {
	margin-top: auto;
	padding-top: 0.25rem;
	width: 100%;
}

.learning-templates-lxp-commerce-my-courses__continue,
.learning-templates-lxp-commerce-my-courses__continue:link,
.learning-templates-lxp-commerce-my-courses__continue:visited,
.learning-templates-lxp-commerce-my-courses__continue:hover,
.learning-templates-lxp-commerce-my-courses__continue:focus,
.learning-templates-lxp-commerce-my-courses__continue:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	text-align: center;
	text-decoration: none !important;
	text-decoration-line: none !important;
	box-sizing: border-box;
}

.learning-templates-lxp-commerce-my-courses__continue.is-completed {
	pointer-events: auto;
	opacity: 1;
	cursor: pointer;
	background: #f6f7f7;
	border-color: #c3c4c7;
	color: #1d2327;
	box-shadow: none;
}

.learning-templates-lxp-commerce-my-courses__continue.is-completed:hover,
.learning-templates-lxp-commerce-my-courses__continue.is-completed:focus {
	background: #fff;
	border-color: var(--ltlxp-course-card-accent);
	color: var(--ltlxp-course-card-accent);
}

.learning-templates-lxp-commerce-shop__card-meta {
	margin: 0.75rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
	.learning-templates-lxp-commerce-my-courses__card,
	.learning-templates-lxp-commerce-my-courses__thumb img {
		transition: none;
	}

	.learning-templates-lxp-commerce-my-courses__card:hover,
	.learning-templates-lxp-commerce-my-courses__card:focus-within {
		transform: none;
	}

	.learning-templates-lxp-commerce-my-courses__card:hover .learning-templates-lxp-commerce-my-courses__thumb img,
	.learning-templates-lxp-commerce-my-courses__card:focus-within .learning-templates-lxp-commerce-my-courses__thumb img {
		transform: none;
	}
}

.learning-templates-lxp-commerce-my-profile__form {
	max-width: 640px;
}

.learning-templates-lxp-commerce-my-payment-methods__section + .learning-templates-lxp-commerce-my-payment-methods__section {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #ddd;
}

.learning-templates-lxp-commerce-my-payment-methods__section h3 {
	margin: 0 0 12px;
	font-family: var(--learning-templates-lxp-heading-h3-font-family, inherit);
	font-weight: var(--learning-templates-lxp-heading-h3-font-weight, inherit);
	font-size: var(--learning-templates-lxp-heading-h3-font-size, 1.05rem);
	line-height: var(--learning-templates-lxp-heading-h3-line-height, inherit);
	letter-spacing: var(--learning-templates-lxp-heading-h3-letter-spacing, inherit);
	text-transform: var(--learning-templates-lxp-heading-h3-text-transform, none);
	text-decoration: none;
	color: var(--learning-templates-lxp-heading-h3-color, inherit);
}

.learning-templates-lxp-commerce-my-payment-methods__items {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.learning-templates-lxp-commerce-my-payment-methods__item {
	margin: 0 0 8px;
}

.learning-templates-lxp-commerce-my-payment-methods__default {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef5fb;
	color: #2271b1;
	font-size: 0.85rem;
	font-weight: 600;
}

.learning-templates-lxp-commerce-my-payment-methods__exp {
	color: #646970;
	font-size: 0.92rem;
}

.learning-templates-lxp-commerce-my-payment-methods__update {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.learning-templates-lxp-commerce-my-payment-methods__messages {
	margin-top: 12px;
	color: #646970;
}

#learning-templates-lxp-my-account-stripe-element {
	margin-bottom: 12px;
}

.learning-templates-lxp-commerce-product {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--content-size, 42rem);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.learning-templates-lxp-commerce-product .learning-templates-lxp-form,
.learning-templates-lxp-commerce-product .learning-templates-lxp-commerce-quote {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: start;
}

.learning-templates-lxp-commerce-product .learning-templates-lxp-commerce-product__add-to-cart {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.learning-templates-lxp-commerce-product__title {
	margin: 0 0 12px;
	font-family: var(--learning-templates-lxp-heading-h3-font-family, inherit);
	font-weight: var(--learning-templates-lxp-heading-h3-font-weight, inherit);
	font-size: var(--learning-templates-lxp-heading-h3-font-size, inherit);
	line-height: var(--learning-templates-lxp-heading-h3-line-height, inherit);
	letter-spacing: var(--learning-templates-lxp-heading-h3-letter-spacing, inherit);
	text-transform: var(--learning-templates-lxp-heading-h3-text-transform, none);
	text-decoration: none;
	color: var(--learning-templates-lxp-heading-h3-color, inherit);
}

.learning-templates-lxp-commerce-product__price {
	margin: 0 0 16px;
	font-size: 1.25rem;
}

.learning-templates-lxp-commerce-product__price-amount {
	font-weight: 700;
	margin-right: 8px;
}

.learning-templates-lxp-commerce-product__price-billing {
	display: block;
	font-size: 0.9rem;
	color: var(--learning-templates-lxp-body-color, #50575e);
	margin-top: 4px;
}

.learning-templates-lxp-commerce-product__description {
	margin-bottom: 16px;
}

.learning-templates-lxp-commerce-product__curriculum {
	margin-bottom: 16px;
}

.learning-templates-lxp-commerce-product__add-to-cart {
	margin-top: 16px;
}

/* Shop catalogue - responsive product grid (overrides .learning-templates-lxp-commerce max-width) */
.wp-block-learning-templates-lxp-shop,
.entry-content .learning-templates-lxp-commerce.learning-templates-lxp-commerce-shop,
.entry-content[data-ast-blocks-layout] .learning-templates-lxp-commerce.learning-templates-lxp-commerce-shop {
	max-width: 100%;
	width: 100%;
}

.learning-templates-lxp-commerce.learning-templates-lxp-commerce-shop {
	max-width: none;
	width: 100%;
	margin: 0 0 2rem;
	box-sizing: border-box;
}

.learning-templates-lxp-commerce-shop {
	--learning-templates-lxp-shop-gap: 1.5rem;
	--learning-templates-lxp-shop-radius: 10px;
	--learning-templates-lxp-shop-border: #dcdcde;
	--learning-templates-lxp-shop-bg: #fff;
	--learning-templates-lxp-shop-muted: #50575e;
	--learning-templates-lxp-shop-title: #1d2327;
	--learning-templates-lxp-shop-accent: #2271b1;
	--learning-templates-lxp-shop-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	--learning-templates-lxp-shop-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
	--learning-templates-lxp-shop-media-ratio: 4 / 3;
}

.learning-templates-lxp-commerce-shop *,
.learning-templates-lxp-commerce-shop *::before,
.learning-templates-lxp-commerce-shop *::after {
	box-sizing: border-box;
}

.learning-templates-lxp-commerce-shop__empty {
	margin: 1.5rem 0;
	padding: 2rem 1rem;
	text-align: center;
	color: var(--learning-templates-lxp-shop-muted);
	background: #f6f7f7;
	border-radius: var(--learning-templates-lxp-shop-radius);
}

/* -- Product grid -- */
.learning-templates-lxp-commerce-shop__grid {
	display: grid;
	gap: var(--learning-templates-lxp-shop-gap);
	grid-template-columns: repeat(1, minmax(0, 1fr));
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.learning-templates-lxp-commerce-shop--columns-2 .learning-templates-lxp-commerce-shop__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learning-templates-lxp-commerce-shop--columns-3 .learning-templates-lxp-commerce-shop__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-templates-lxp-commerce-shop--columns-4 .learning-templates-lxp-commerce-shop__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* -- Grid cards -- */
.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	max-width: none;
	width: auto;
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--learning-templates-lxp-shop-border);
	border-radius: var(--learning-templates-lxp-shop-radius);
	background: var(--learning-templates-lxp-shop-bg);
	box-shadow: var(--learning-templates-lxp-shop-shadow);
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card:hover,
.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card:focus-within {
	border-color: #c3c4c7;
	box-shadow: var(--learning-templates-lxp-shop-shadow-hover);
	transform: translateY(-2px);
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-media {
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
	background: #f0f0f1;
	overflow: hidden;
	aspect-ratio: var(--learning-templates-lxp-shop-media-ratio);
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-media a {
	display: block;
	height: 100%;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	margin: 0;
	max-width: none;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 1.125rem 1.125rem 0.75rem;
	min-width: 0;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-header {
	margin: 0;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	flex: 0 0 auto;
	margin-top: auto;
	padding: 0.875rem 1.125rem 1.125rem;
	border-top: 1px solid #f0f0f1;
	background: #fafafa;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-add-to-cart {
	width: 100%;
	margin: 0;
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-add-to-cart .learning-templates-lxp-commerce-add-to-cart__message {
	display: block;
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	text-align: center;
}

/* -- List layout -- */
.learning-templates-lxp-commerce-shop__list {
	display: flex;
	flex-direction: column;
	gap: var(--learning-templates-lxp-shop-gap);
	width: 100%;
	margin: 0;
	padding: 0;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card {
	display: grid;
	grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr) minmax(0, 11.5rem);
	gap: 1.25rem;
	align-items: center;
	max-width: none;
	width: auto;
	float: none;
	margin: 0;
	padding: 1.25rem;
	border: 1px solid var(--learning-templates-lxp-shop-border);
	border-radius: var(--learning-templates-lxp-shop-radius);
	background: var(--learning-templates-lxp-shop-bg);
	box-shadow: var(--learning-templates-lxp-shop-shadow);
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:hover,
.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:focus-within {
	border-color: #c3c4c7;
	box-shadow: var(--learning-templates-lxp-shop-shadow-hover);
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-media {
	grid-column: 1;
	margin: 0;
	line-height: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #f0f0f1;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--learning-templates-lxp-shop-media-ratio);
	object-fit: cover;
	max-height: none;
	border-radius: 0;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-body {
	grid-column: 2;
	padding: 0;
	min-width: 0;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-actions {
	grid-column: 3;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	align-self: stretch;
	justify-content: center;
	padding: 0;
	border-top: 0;
	margin: 0;
	background: transparent;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:not(:has(.learning-templates-lxp-commerce-shop__card-media)) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 11.5rem);
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:not(:has(.learning-templates-lxp-commerce-shop__card-media)) .learning-templates-lxp-commerce-shop__card-body {
	grid-column: 1;
}

.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:not(:has(.learning-templates-lxp-commerce-shop__card-media)) .learning-templates-lxp-commerce-shop__card-actions {
	grid-column: 2;
}

/* -- Card content (shared) -- */
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title {
	margin: 0 0 0.4rem;
	padding: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--learning-templates-lxp-shop-title);
	clear: none;
}

.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:link,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:visited,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:hover,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:focus,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:active {
	color: inherit;
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none;
}

.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:hover,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-title a:focus {
	color: inherit;
	opacity: 0.85;
}

.learning-templates-lxp-commerce-shop__card-price {
	margin: 0 0 0.65rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.learning-templates-lxp-commerce-shop__card-price-amount {
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--learning-templates-lxp-shop-title);
	margin-right: 0.35rem;
}

.learning-templates-lxp-commerce-shop__card-price-billing {
	display: block;
	font-size: 0.8125rem;
	color: var(--learning-templates-lxp-shop-muted);
	margin-top: 0.2rem;
}

.learning-templates-lxp-commerce-shop__card-description {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--learning-templates-lxp-shop-muted);
}

.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card-description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.learning-templates-lxp-commerce-shop__card-description p {
	margin: 0 0 0.5em;
}

.learning-templates-lxp-commerce-shop__card-description p:last-child {
	margin-bottom: 0;
}

.learning-templates-lxp-commerce-shop__card-curriculum {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--learning-templates-lxp-shop-muted);
}

.learning-templates-lxp-commerce-shop__card-curriculum-label {
	font-weight: 600;
	color: var(--learning-templates-lxp-shop-title);
}

.learning-templates-lxp-commerce-shop__card-curriculum a {
	color: var(--learning-templates-lxp-shop-accent);
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.learning-templates-lxp-commerce-shop__card-curriculum a:hover,
.learning-templates-lxp-commerce-shop__card-curriculum a:focus {
	text-decoration: none !important;
	text-decoration-line: none !important;
	color: var(--learning-templates-lxp-shop-title);
}

/* Theme-safe buttons inside shop cards */
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-actions .button,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-actions .learning-templates-lxp-commerce-shop__card-quote,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-actions .learning-templates-lxp-commerce-add-to-cart__button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.5rem;
	margin: 0;
	padding: 0.55rem 1rem;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-view.button-secondary,
.learning-templates-lxp-commerce-shop .button.button-secondary.learning-templates-lxp-commerce-shop__card-view {
	background: var(--learning-templates-lxp-primary-btn-bg, #fff);
	border: 1px solid var(--learning-templates-lxp-primary-btn-bg, var(--learning-templates-lxp-shop-border));
	color: var(--learning-templates-lxp-primary-btn-color, var(--learning-templates-lxp-shop-title));
}

.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-view.button-secondary:hover,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-shop__card-view.button-secondary:focus,
.learning-templates-lxp-commerce-shop .button.button-secondary.learning-templates-lxp-commerce-shop__card-view:hover,
.learning-templates-lxp-commerce-shop .button.button-secondary.learning-templates-lxp-commerce-shop__card-view:focus {
	background: var(--learning-templates-lxp-primary-btn-bg-hover, #f6f7f7);
	border-color: var(--learning-templates-lxp-primary-btn-bg-hover, #c3c4c7);
	color: var(--learning-templates-lxp-primary-btn-color-hover, var(--learning-templates-lxp-shop-title));
}

/* Low-specificity color defaults so Shop block Customizer button colors can win. */
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-add-to-cart__button {
	background: var(--learning-templates-lxp-primary-btn-bg, var(--learning-templates-lxp-shop-accent));
	border: 1px solid var(--learning-templates-lxp-primary-btn-bg, var(--learning-templates-lxp-shop-accent));
	color: var(--learning-templates-lxp-primary-btn-color, #fff);
}

.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-add-to-cart__button:hover,
.learning-templates-lxp-commerce-shop .learning-templates-lxp-commerce-add-to-cart__button:focus {
	background: var(--learning-templates-lxp-primary-btn-bg-hover, #135e96);
	border-color: var(--learning-templates-lxp-primary-btn-bg-hover, #135e96);
	color: var(--learning-templates-lxp-primary-btn-color-hover, #fff);
}

/* Responsive */
@media (max-width: 1024px) {
	.learning-templates-lxp-commerce-shop--columns-3 .learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-shop--columns-4 .learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-my-courses__cards--columns-3,
	.learning-templates-lxp-commerce-my-courses__cards--columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card {
		grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
		align-items: start;
	}

	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-actions {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

@media (max-width: 600px) {
	.learning-templates-lxp-commerce-shop {
		--learning-templates-lxp-shop-gap: 1.125rem;
	}

	.learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-shop--columns-2 .learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-shop--columns-3 .learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-shop--columns-4 .learning-templates-lxp-commerce-shop__grid,
	.learning-templates-lxp-commerce-my-courses__cards--columns-2,
	.learning-templates-lxp-commerce-my-courses__cards--columns-3,
	.learning-templates-lxp-commerce-my-courses__cards--columns-4 {
		grid-template-columns: 1fr;
	}

	.learning-templates-lxp-commerce-my-courses__card--list {
		flex-direction: column;
	}

	.learning-templates-lxp-commerce-my-courses__card--list .learning-templates-lxp-commerce-my-courses__thumb {
		flex-basis: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card:hover,
	.learning-templates-lxp-commerce-shop--grid .learning-templates-lxp-commerce-shop__card:focus-within {
		transform: none;
	}

	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card,
	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card:not(:has(.learning-templates-lxp-commerce-shop__card-media)) {
		grid-template-columns: 1fr;
	}

	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-media,
	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-body,
	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-actions {
		grid-column: 1;
	}

	.learning-templates-lxp-commerce-shop--list .learning-templates-lxp-commerce-shop__card-actions {
		flex-direction: column;
	}
}

.learning-templates-lxp-commerce-refund-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
}

.learning-templates-lxp-commerce-refund-modal.is-open {
	display: flex;
}

.learning-templates-lxp-commerce-refund-modal__dialog {
	background: #fff;
	border-radius: 4px;
	padding: 24px;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.learning-templates-lxp-commerce-refund-modal__dialog textarea {
	width: 100%;
	min-height: 100px;
}

.learning-templates-lxp-commerce-refund-modal__actions {
	margin-top: 16px;
	display: flex;
	gap: 8px;
}

.learning-templates-lxp-commerce-refund-message.is-success {
	color: #00a32a;
}

.learning-templates-lxp-commerce-refund-message.is-error {
	color: #d63638;
}
