
html, body {
	height: 100%;
}

.mepr-signup-form.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
}

.mepr-signup-form, .mepr-before-signup-form, .mepr-pro-template #primary {
	max-width: 1000px;
	margin: 0 auto;
}

.mepr-before-signup-form {
	padding: 3em auto;
}

@media screen and (max-width: 1023px) {
	.mepr-pro-template #primary > * {
		padding-left: 3rem;
		padding-right: 3rem;
	}
	
	.mepr-pro-template #primary > #mepr_signup_form, .mepr-pro-template #primary > .mepr-signup-form {
		padding-left: 0;
		padding-right: 0;
	}
}

.mepr-checkout-container {
	display: flex;
	flex-direction: column-reverse;
	height: 100%;
	max-width: 70rem;
	margin: 0 auto;
}

.mepr-rl-footer-widgets {
	padding-right: 3rem;
	padding-left: 3rem;
}

@media (min-width: 1024px) {
	.mepr-checkout-container {
		flex-direction: row-reverse;
		min-height: 100vh;
	}
	
	.mepr-checkout-container.mepr-is-footer-widget {
		min-height: 0;
	}
	
	.mepr-checkout-container .invoice-wrapper {
		width: 50%;
		padding-right: 3rem;
		padding-top: 3rem;
		padding-left: 0 !important;
		border-bottom: 0 !important;
	}
	
	.mepr-checkout-container .form-wrapper {
		padding-right: 0;
		border-left: 1px solid #ccc;
	}
	
	.mepr-rl-footer-widgets {
		padding: 3rem 0 0;
	}
}

@media (max-width: 1024px) {
	.mepr-checkout-container.thankyou {
		flex-direction: column;
	}
}

.mepr-checkout-container img.thankyou-image {
	margin: 0 auto;
	display: block;
}

.mepr-checkout-container .invoice-wrapper {
	flex-shrink: 0;
	flex-grow: 1;
	padding-bottom: 3rem;
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 3em;
	border-bottom: 2px solid rgba(0, 0, 0, .1);
}

.mepr-checkout-container .invoice-wrapper .invoice-heading {
	font-size: 1rem;
	color: rgba(0, 0, 0, .56);
	margin-top: 0;
	margin-bottom: .4rem;
	font-weight: 500;
}

.mepr-checkout-container .invoice-wrapper .invoice-amount {
	font-size: 2rem;
	font-weight: normal;
	margin-top: 0;
	line-height: 1;
}

.mepr-checkout-container .invoice-wrapper .mepr-coupon-code {
	padding: .375rem .75rem;
	font-size: 1rem;
	height: calc(1.5em + .75rem + 2px);
	width: 50%;
}

.mepr-checkout-container .invoice-wrapper .mepr_price {
	margin-bottom: 2.2rem;
}

.mepr-checkout-container .invoice-wrapper.thankyou {
	text-align: center;
	border-top: 2px solid rgba(0, 0, 0, .1);
	border-bottom: 0;
}

.mepr-checkout-container .invoice-wrapper svg {
	color: #06429e;
	width: 4rem;
	height: auto;
}

.mepr-checkout-container .invoice-wrapper p {
	color: rgba(0, 0, 0, .56);
	margin: 0;
}

.mepr-checkout-container .invoice-wrapper .mepr-order-no {
	margin: 1rem 0;
}

.mepr-checkout-container .invoice-wrapper.thankyou .mepr-button {
	display: inline-flex;
	align-items: center;
	margin-bottom: 1em;
	padding-top: .5625rem;
	padding-bottom: .5625rem;
	color: #fff;
}

.mepr-checkout-container .invoice-wrapper .mepr-button svg {
	width: 1.4rem;
	color: #fff;
	margin-right: 5px;
}

.mepr-checkout-container .invoice-wrapper .mp_price_str {
	display: none;
}

.mepr-checkout-container .invoice-wrapper table {
	table-layout: auto !important;
	border: 0;
	color: rgba(0, 0, 0, .56);
	text-align: left;
}

.mepr-checkout-container .invoice-wrapper table tr td {
	vertical-align: middle;
	line-height: 1.2;
}

.mepr-checkout-container .invoice-wrapper table tr td:first-child {
	width: 60px;
}

.mepr-checkout-container .invoice-wrapper table tr td p {
	margin: 0;
	color: rgba(0, 0, 0, .56);
}

.mepr-checkout-container .invoice-wrapper table tr th {
	font-weight: normal;
	text-transform: capitalize;
}

.mepr-checkout-container .invoice-wrapper table th, .mepr-checkout-container .invoice-wrapper table td {
	border: 0;
	color: rgba(0, 0, 0, .56);
}

.mepr-checkout-container .invoice-wrapper table .desc {
	font-size: 14px;
}

.mepr-checkout-container .invoice-wrapper table .bt {
	border-top: 1px solid rgba(0, 0, 0, .56);
	border-width: 1px !important;
	border-color: rgba(0, 0, 0, .2);
}

.mepr-checkout-container .invoice-wrapper table .bb {
	border-bottom: 1px solid rgba(0, 0, 0, .56);
	border-width: 1px !important;
	border-color: rgba(0, 0, 0, .2);
}

.mepr-checkout-container .invoice-wrapper table .total_cell {
	color: #1d1d1d;
}

.mepr-checkout-container .form-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 4rem;
	box-sizing: border-box;
}

.mepr-checkout-container .form-wrapper input[type="submit"] {
	background: #1d1d1d;
	width: 100%;
	color: #fff;
	border: 0;
	padding: 1rem;
	cursor: pointer;
	border-radius: 6px;
}

.mepr-checkout-container .invoice-wrapper ul.mp-cart-body {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mepr-checkout-container .invoice-wrapper .mp-cart-item {
	display: flex;
	margin-bottom: 20px;
	color: rgba(0, 0, 0, .56);
}

.mepr-checkout-container .invoice-wrapper .mp-cart-item-details {
	margin-right: auto;
	text-align: left;
}

.mepr-checkout-container .invoice-wrapper .mp-cart-item-image {
	margin-right: 20px;
}

.mepr-checkout-container .invoice-wrapper .mp-cart-footer > div {
	display: flex;
	justify-content: space-between;
}

.mepr-checkout-container .invoice-wrapper .mp-cart-footer {
	border-top: 1px solid rgba(0, 0, 0, .2);
	margin-top: 10px;
	padding-top: 10px;
	margin-left: 60px;
	margin-bottom: 24px;
	color: rgba(0, 0, 0, .56);
}

.mepr-checkout-container .invoice-wrapper .mp-cart-coupon {
	display: flex;
	justify-content: space-between;
	color: rgba(0, 0, 0, .56);
}

.mepr-checkout-container .invoice-wrapper .mp-cart-coupon-desc {
	margin-left: 60px;
}

.mepr-checkout-container .invoice-wrapper .mp-cart-item-details .desc {
	font-size: 14px;
}

.mepr-checkout-container .invoice-wrapper .mp-currency-cell {
	margin-left: 10px;
}

.form-wrapper {
	padding-top: 3rem;
	padding-left: 3rem;
	padding-right: 3rem;
}

.form-wrapper > * + * {
	margin-top: 1rem;
}

.form-wrapper .mp-form-row input[type="text"], .form-wrapper .mp-form-row input[type="email"], .form-wrapper .mp-form-row input[type="url"], .form-wrapper .mp-form-row input[type="tel"] {
	display: block;
	width: 100%;
	height: calc(1.5em + .75rem + 2px);
	/* padding: 0.375rem 0.75rem; */
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, .08), 0px 1px 1px rgba(0, 0, 0, .04);
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-wrapper textarea {
	border-radius: .25rem;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, .08), 0px 1px 1px rgba(0, 0, 0, .04);
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.mp-form-row.mp-address-group {
	box-shadow: none;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-wrapper .mp-form-row select {
	display: block;
	width: 100%;
	padding: .375rem 2.25rem .375rem .75rem;
	padding-right: 2.25rem;
	-moz-padding-start: calc(.75rem - 3px);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: 16px 12px;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form-wrapper .mp-form-row select.nitro-lazy {
	background-image: none !important;
}

.form-wrapper .mp-form-row select[multiple], .form-wrapper .mp-form-row select[size]:not([size="1"]) {
	padding-right: .75rem;
	background-image: none;
}

.form-wrapper .mp-form-row select[multiple].nitro-lazy, .form-wrapper .mp-form-row select[size]:not([size="1"]).nitro-lazy {
	background-image: none !important;
}

.form-wrapper .mp-form-row input[type="text"]:focus-visible, .form-wrapper .mp-form-row input[type="email"]:focus-visible, .form-wrapper .mp-form-row input[type="url"]:focus-visible, .form-wrapper .mp-form-row input[type="tel"]:focus-visible, .form-wrapper .mp-form-row select:focus-visible {
	border: 2px solid #bcbcbc;
}

.form-wrapper .mp-form-row-group {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
}

.form-wrapper .mp-form-row-group > .mepr-form-input + .mepr-form-input {
	margin-left: -1px;
}

.form-wrapper .mp-form-row-group .mepr-form-input {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
}

.form-wrapper .mp-form-row-group .mepr-form-input:focus {
	z-index: 3;
}

.form-wrapper .mp-form-row-group .mepr-form-input:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.form-wrapper .mp-form-row-group .mepr-form-input:not(:first-child) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.form-wrapper .mp-address-group {
	margin-top: 15px;
	margin-bottom: 2rem;
}

.form-wrapper .mp-address-group .mepr-form-input, .form-wrapper .mp-address-group input[type="text"] {
	height: calc(1.7em + .75rem + 2px);
	margin: 0;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, .08), 0px 1px 1px rgba(0, 0, 0, .04);
	border-radius: 0;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-wrapper .mp-address-group > .mp-form-row + .mp-form-row .mepr-form-input {
	margin-top: -1px;
}

.form-wrapper .mp-address-group .mp-form-row {
	margin: 0 0 15px;
}

.form-wrapper .mp-address-group .mp-form-row:first-child .mepr-form-input {
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
}

.form-wrapper .mp-address-group .mp-form-row:last-child .mepr-form-input {
	border-bottom-left-radius: .25rem;
	border-bottom-right-radius: .25rem;
}

.form-wrapper .mepr-payment-option-label {
	display: flex;
	align-items: center;
}

.form-wrapper .mepr-payment-option-label svg {
	width: 4rem;
	height: auto;
	margin-left: auto;
}

.form-wrapper .mepr-payment-option-label input[type="radio"] {
	position: fixed;
	opacity: 0;
}

fieldset.mepr-order-bumps {
	padding: 0;
	margin-top: 1.3rem;
	border: none;
}

.mepr-order-bumps legend {
	font-weight: 700;
	margin: 21px 0;
}

.mepr-payment-methods-radios {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 2em;
}

.mepr-payment-methods-radios.mepr-hidden {
	display: none;
}

.mepr-payment-methods-radios label {
	padding: 1rem;
	padding-right: 60px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
	margin: 0 !important;
}

.mepr-payment-methods-radios label.checked {
	border: 2px solid #06429e;
}

.mepr_error ul {
	text-align: center;
}

.mepr-payment-option-label {
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-size: 4rem;
	background-size: 50px;
	line-height: normal;
}

.mepr_pro_error, .mepr-unauthorized-message {
	display: flex;
	align-items: center;
}

.mepr_pro_error > * + *, .mepr-unauthorized-message > * + * {
	margin-left: 1rem;
}

.mepr-account-container .mepr_pro_error ul, .mepr_pro_error ul, .mepr-unauthorized-message ul {
	list-style-type: none;
	padding: 0;
	margin-bottom: 0;
	margin-left: 1rem;
}

.mepr_pro_error p, .mepr-unauthorized-message p {
	margin: 0;
}

.mepr_pro_error svg, .mepr-account-container .mepr_pro_error svg, .mepr-unauthorized-message svg {
	color: #eb5757;
	width: 3rem;
	height: 3rem;
}

.mepr-payment-option-label.payment-option-stripe {
	background-image: url("https://cdn-ljlkd.nitrocdn.com/CvEeHogSEzeFWUrkSNJCJmHhlfsIArZp/assets/images/optimized/rev-e218f2c/6uhrclub.de/wp-content/plugins/memberpress/images/checkout/stripe.svg");
}

.mepr-payment-option-label.payment-option-stripe.nitro-lazy {
	background-image: none !important;
}

.mepr-payment-option-label.payment-option-paypal, .mepr-payment-option-label.payment-option-paypalcommerce, .mepr-payment-option-label.payment-option-paypalvaulting {
	background-image: url("https://cdn-ljlkd.nitrocdn.com/CvEeHogSEzeFWUrkSNJCJmHhlfsIArZp/assets/images/optimized/rev-e218f2c/6uhrclub.de/wp-content/plugins/memberpress/images/checkout/paypal.svg");
}

.mepr-payment-option-label.payment-option-paypal.nitro-lazy, .mepr-payment-option-label.payment-option-paypalcommerce.nitro-lazy, .mepr-payment-option-label.payment-option-paypalvaulting.nitro-lazy {
	background-image: none !important;
}

.mepr-payment-option-label.payment-option-authorizeprofile, .mepr-payment-option-label.payment-option-authorize {
	background-image: url("https://cdn-ljlkd.nitrocdn.com/CvEeHogSEzeFWUrkSNJCJmHhlfsIArZp/assets/images/optimized/rev-e218f2c/6uhrclub.de/wp-content/plugins/memberpress/images/checkout/authorize.svg");
}

.mepr-payment-option-label.payment-option-authorizeprofile.nitro-lazy, .mepr-payment-option-label.payment-option-authorize.nitro-lazy {
	background-image: none !important;
}

.mepr-payment-option-label.payment-option-square {
	background-image: url("https://cdn-ljlkd.nitrocdn.com/CvEeHogSEzeFWUrkSNJCJmHhlfsIArZp/assets/images/optimized/rev-e218f2c/6uhrclub.de/wp-content/plugins/memberpress/images/checkout/square.png");
}

.mepr-payment-option-label.payment-option-square.nitro-lazy {
	background-image: none !important;
}

.mepr-pro-template .mepr-checkout-container .mepr-order-bump .mepr-custom-price {
	display: inline;
}

/*--------------------------------------------------------------
# Thank-You Page — matches reference design
--------------------------------------------------------------*/

/* Shared thank-you heading */
.mepr-checkout-container.thankyou .invoice-wrapper.mepr-thankyou-cart h1 {
	font-size: 1.75rem;
	font-weight: 400;
	color: #1a1a1a;
	margin-bottom: 1rem;
	line-height: 1.3;
}

/* Checkmark icon */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > svg.thankyou {
	color: var(--mepr-rl-accent-color, #06429e);
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto .5rem;
	display: block;
}

/* Order number section */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-order-no {
	margin: .75rem 0 1rem;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-order-no p {
	font-size: .9rem;
	color: rgba(0, 0, 0, .56);
	margin: 0 0 2px;
}

/* Amount display */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .invoice-amount {
	font-size: 2.25rem;
	font-weight: 300;
	color: #1a1a1a;
	margin-bottom: 1.5rem;
}

/* Print button — blue filled. Self-contained (incl. anchor resets) so the thank-you
   renders identically when the ReadyLaunch template is off and theme.css isn't loaded. */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--mepr-rl-accent-color, #06429e);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 28px;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	margin-bottom: 1em;
	text-decoration: none;
	vertical-align: middle;
	transition: opacity .15s ease;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-button:hover {
	opacity: .9;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-button svg {
	width: 1.2rem;
	height: 1.2rem;
	color: #fff;
}

/* Back to home link */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > p a {
	color: var(--mepr-rl-accent-color, #06429e);
	font-size: .9rem;
	text-decoration: none;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > p a:hover {
	text-decoration: underline;
}

/* Invoice table in thank-you */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart table {
	margin: 0 auto 1.5rem;
	max-width: 480px;
	width: 100%;
}

/*--------------------------------------------------------------
# Cart Thank-You Page specifics
--------------------------------------------------------------*/
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart {
	border-top: none;
}

/* Order Summary card — cart thank-you only (legacy checkout invoice untouched). */
.mepr-thankyou-cart .mp_wrapper.mp_invoice {
	box-sizing: border-box;
	max-width: 480px;
	width: 100%;
	margin: 0 auto 1.5rem;
	padding: var(--mepr-cart-space-5, 20px);
	background: var(--mepr-cart-color-surface, #fff);
	border: 1px solid #d4d4d4;
	border-radius: var(--mepr-cart-radius-card, 12px);
	box-shadow: var(--mepr-cart-shadow-xs, 0 1px 2px rgba(0, 0, 0, .05));
	text-align: left;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice table.mp-table {
	width: 100% !important;
	max-width: none;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice table.mp-table, .mepr-thankyou-cart .mp_wrapper.mp_invoice table.mp-table th, .mepr-thankyou-cart .mp_wrapper.mp_invoice table.mp-table td {
	border: 0;
	border-width: 0 !important;
}

/* Line items */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr:not(.mepr-thankyou-item-message-row) > td {
	padding: 12px 0;
	vertical-align: top;
	font-size: var(--mepr-cart-font-size-base, 14px);
	line-height: 17px;
	color: var(--mepr-cart-badge-neutral-text, #404040);
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr.mepr-thankyou-item-message-row > td {
	padding: 0 0 12px;
	vertical-align: top;
}

/* Section divider: items block → subtotal/tax block */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr:last-child > td {
	border-bottom: 1px solid var(--mepr-cart-neutral-200, #e5e5e5) !important;
	padding-bottom: 16px;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr:last-child > td:first-child {
	padding-bottom: 16px !important;
}

/* Icon cell — 32×32 icon + 10px gap to title (Figma: icon x=20, title x=62) */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr:not(.mepr-thankyou-item-message-row) > td:first-child, .mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr.mepr-thankyou-item-message-row > td:first-child {
	box-sizing: border-box;
	width: 42px !important;
	max-width: 42px !important;
	padding: 12px 10px 12px 0 !important;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody > tr:not(.mepr-thankyou-item-message-row) > td:nth-child(2) {
	padding-left: 0;
	text-align: left;
}

.mepr-thankyou-cart .mepr-thankyou-line-icon {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px !important;
	height: 32px !important;
	background: #f5f5f5;
	border-radius: var(--mepr-cart-radius-sm, 6px);
}

.mepr-thankyou-cart .mepr-thankyou-line-icon--onetime {
	border: 1px solid #d4d4d4;
	border-radius: 50%;
}

.mepr-thankyou-cart .mepr-thankyou-line-icon svg {
	display: block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--mepr-cart-color-text-muted, #737373);
}

.mepr-thankyou-cart .mepr-thankyou-line-icon--onetime svg {
	width: 14px;
	height: 14px;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td small {
	display: block;
	margin-top: 2px;
	font-size: var(--mepr-cart-font-size-sm, 13px);
	line-height: 1.3;
	color: var(--mepr-cart-color-text-muted, #737373);
	font-weight: var(--mepr-cart-font-weight-regular, 400);
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td p {
	margin: 0;
	color: inherit;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody .mp-currency-cell, .mepr-thankyou-cart .mp_wrapper.mp_invoice tbody .mepr-thankyou-qty {
	padding-left: 12px;
	white-space: nowrap;
	margin-left: 0;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot .mp-currency-cell {
	margin-left: 0;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody .mp-currency-cell {
	text-align: right;
	font-size: var(--mepr-cart-font-size-base, 14px);
	line-height: 17px;
	font-weight: var(--mepr-cart-font-weight-regular, 400);
	color: var(--mepr-cart-badge-neutral-text, #404040);
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody .mepr-thankyou-qty {
	font-size: var(--mepr-cart-font-size-sm, 13px);
	color: var(--mepr-cart-color-text-muted, #737373);
}

/* Gift add-on hooks (badge / link under line title) */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td a[class*="mpgft"], .mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td [class*="mpgft"] a {
	font-size: var(--mepr-cart-font-size-sm, 13px);
	color: var(--mepr-cart-color-primary, #06429e);
	text-decoration: none;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td a[class*="mpgft"]:hover, .mepr-thankyou-cart .mp_wrapper.mp_invoice tbody td [class*="mpgft"] a:hover {
	text-decoration: underline;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice .mepr-thankyou-item-message {
	font-size: var(--mepr-cart-font-size-sm, 13px);
	line-height: 1.4;
	color: var(--mepr-cart-color-text-muted, #737373);
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice .mepr-thankyou-item-message p {
	margin: 0 0 .5em;
	color: inherit;
}

/* Totals — no borders between subtotal/tax/discount/shipping rows */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot tr:first-child th {
	padding-top: 16px;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot th {
	padding: 8px 0;
	font-size: var(--mepr-cart-font-size-base, 14px);
	font-weight: var(--mepr-cart-font-weight-regular, 400);
	line-height: 17px;
	color: #525252;
	text-transform: none;
	text-align: left;
	vertical-align: middle;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot .mp-currency-cell {
	text-align: right;
	white-space: nowrap;
	padding-left: 12px;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot .mepr-tax-invoice small {
	display: block;
	margin-top: 2px;
	font-size: var(--mepr-cart-font-size-sm, 13px);
	line-height: 1.3;
	color: var(--mepr-cart-color-text-muted, #737373);
	font-weight: var(--mepr-cart-font-weight-regular, 400);
}

/* Gap above Total divider — mirrors padding-top on Total row */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot tr:has(+ tr .total_cell) th {
	padding-bottom: 20px;
}

/* Section divider: subtotal/tax block → total */
.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot tr:has(.total_cell) th {
	border-top: 1px solid var(--mepr-cart-neutral-200, #e5e5e5) !important;
	padding-top: 20px;
	padding-bottom: 12px;
	font-size: 15px;
	font-weight: var(--mepr-cart-font-weight-semibold, 600);
	line-height: 18px;
	color: #171717;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot .total_cell {
	color: #171717;
}

.mepr-thankyou-cart .mp_wrapper.mp_invoice tfoot .total_cell strong {
	font-weight: inherit;
}

/* Success hero — icon, title, order no., amount (Figma; payment-success only) */
.mepr-checkout-container .invoice-wrapper.mepr-thankyou-cart:not(:has(.mepr-thankyou-pending-note)) > svg.thankyou {
	box-sizing: border-box;
	display: block;
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	padding: 11px;
	background: var(--mepr-cart-badge-success-bg, #f0fdf4);
	border: 2px solid var(--mepr-cart-color-success, #16a34a);
	border-radius: 50%;
	color: var(--mepr-cart-color-success, #16a34a);
}

.mepr-checkout-container .invoice-wrapper.mepr-thankyou-cart:not(:has(.mepr-thankyou-pending-note)) .mepr-order-no {
	margin: 0 0 10px;
}

.mepr-checkout-container .invoice-wrapper.mepr-thankyou-cart:not(:has(.mepr-thankyou-pending-note)) .mepr-order-no > p:first-child {
	font-weight: var(--mepr-cart-font-weight-semibold, 600);
	font-size: 24px;
	line-height: 32px;
	text-align: center;
	color: #171717;
	margin: 0;
}

.mepr-checkout-container .invoice-wrapper.mepr-thankyou-cart:not(:has(.mepr-thankyou-pending-note)) .mepr-order-no > p:nth-child(2) {
	font-weight: var(--mepr-cart-font-weight-regular, 400);
	font-size: var(--mepr-cart-font-size-base, 14px);
	line-height: 20px;
	text-align: center;
	color: #737373;
	margin: 8px 0 0;
}

.mepr-checkout-container .invoice-wrapper.mepr-thankyou-cart:not(:has(.mepr-thankyou-pending-note)) .invoice-amount {
	font-weight: var(--mepr-cart-font-weight-semibold, 600);
	font-size: 36px;
	line-height: 44px;
	text-align: center;
	color: #171717;
	margin: 0 0 24px;
}

.mepr-thankyou-cart .mepr-thankyou-credentials-notice {
	background: #e8f0fe;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: .9rem;
	color: #1a56db;
	margin-bottom: 1.5rem;
	text-align: left;
}

.mepr-thankyou-cart .mepr-thankyou-note {
	background: #f9f9f9;
	border-left: 3px solid #ddd;
	padding: 12px 16px;
	margin-top: 24px;
	border-radius: 0 4px 4px 0;
}

.mepr-thankyou-cart .mepr-thankyou-note h4 {
	margin: 0 0 6px;
	font-size: .9rem;
	font-weight: 600;
	color: #555;
}

/* Print / View Order — equal-width row aligned to invoice card (480px). */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions {
	display: flex;
	gap: var(--mepr-cart-space-3, 12px);
	max-width: 480px;
	width: 100%;
	margin: 0 auto 0;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions .mepr-button {
	flex: 1;
	justify-content: center;
	margin-bottom: 0;
	gap: var(--mepr-cart-space-2, 8px);
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: var(--mepr-cart-radius-md, 8px);
	box-shadow: var(--mepr-cart-shadow-xs, 0 1px 2px rgba(0, 0, 0, .05));
	font-size: var(--mepr-cart-font-size-base, .875rem);
	font-weight: var(--mepr-cart-font-weight-semibold, 600);
	line-height: 20px;
	text-decoration: none;
	vertical-align: middle;
	transition: background-color var(--mepr-cart-transition, .15s ease), border-color var(--mepr-cart-transition, .15s ease), color var(--mepr-cart-transition, .15s ease);
}

/* Print — primary */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions button.mepr-button {
	background: var(--mepr-cart-color-primary, #06429e);
	color: var(--mepr-cart-color-on-primary, #fff);
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions button.mepr-button:hover {
	background: var(--mepr-cart-color-primary-hover, #043278);
	opacity: 1;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions button.mepr-button svg {
	display: none;
}

/* View Order — secondary */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions a.mepr-button {
	background: var(--mepr-cart-color-surface, #fff);
	border-color: var(--mepr-cart-color-border, #ddd);
	color: var(--mepr-cart-color-text-secondary, #3a4a58);
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart .mepr-thankyou-actions a.mepr-button:hover {
	background: var(--mepr-cart-color-surface-hover, #f8f9fa);
	color: var(--mepr-cart-color-text, #091d2e);
	opacity: 1;
}

/* Back to home — centered under CTAs, aligned to invoice width (480px). */
.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > p {
	box-sizing: border-box;
	max-width: 480px;
	width: 100%;
	margin: 16px auto 0;
	padding-top: 0;
	text-align: center;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > p a {
	color: var(--mepr-cart-color-primary, #06429e);
	font-size: 14px;
	font-weight: 400;
	line-height: 17px;
	text-decoration: underline;
}

.mepr-checkout-container .invoice-wrapper.thankyou.mepr-thankyou-cart > p a:hover {
	text-decoration: underline;
}
