/**
 * Ronsoft premium checkout
 *
 * A visual presentation layer for the native WooCommerce/WoodMart checkout.
 * Checkout fields, totals, Stripe Elements and order submission logic remain native.
 */

body.rsc-checkout-premium-v1 {
	--rsco-navy: #10233f;
	--rsco-navy-deep: #091a31;
	--rsco-blue: #0879e8;
	--rsco-blue-dark: #0566c6;
	--rsco-blue-light: #eaf4ff;
	--rsco-text: #152238;
	--rsco-muted: #69788c;
	--rsco-line: #dbe6f1;
	--rsco-line-soft: #e9eff6;
	--rsco-soft: #f5f8fc;
	--rsco-white: #fff;
	--rsco-danger: #c43d4b;
	--rsco-success: #167451;
	--rsco-radius-sm: 12px;
	--rsco-radius: 18px;
	--rsco-radius-lg: 22px;
	--rsco-shadow-sm: 0 8px 24px rgba(15, 35, 63, .06);
	--rsco-shadow: 0 20px 54px rgba(15, 35, 63, .09);
}

body.rsc-checkout-premium-v1.woocommerce-checkout {
	background: var(--rsco-soft);
	color: var(--rsco-text);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .main-page-wrapper,
body.rsc-checkout-premium-v1.woocommerce-checkout .site-content,
body.rsc-checkout-premium-v1.woocommerce-checkout .page-title {
	background: transparent;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .main-page-wrapper {
	padding-top: 28px;
	padding-bottom: 64px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .container,
body.rsc-checkout-premium-v1.woocommerce-checkout .site-content {
	max-width: none;
}

/* --------------------------------------------------------------------------
 * Checkout progress
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps {
	display: flex;
	width: min(620px, calc(100% - 32px));
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 2px auto 34px;
	padding: 0;
	list-style: none;
	counter-reset: rsco-step;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li {
	position: relative;
	display: flex;
	min-width: 0;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	counter-increment: rsco-step;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:not(:last-child)::after {
	position: absolute;
	top: 17px;
	left: calc(50% + 23px);
	width: calc(100% - 46px);
	height: 1px;
	background: var(--rsco-line);
	content: "";
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:first-child::after {
	background: var(--rsco-blue);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps a,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li > span {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--rsco-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps a::before,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li > span::before {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rsco-line);
	border-radius: 50%;
	background: var(--rsco-white);
	color: var(--rsco-muted);
	content: counter(rsco-step);
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(15, 35, 63, .04);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:first-child a::before {
	border-color: #b9d7f5;
	background: var(--rsco-blue-light);
	color: var(--rsco-blue-dark);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:nth-child(2) a,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:nth-child(2) > span {
	color: var(--rsco-navy);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:nth-child(2) a::before,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:nth-child(2) > span::before {
	border-color: var(--rsco-blue);
	background: linear-gradient(135deg, #1592f2, var(--rsco-blue-dark));
	color: var(--rsco-white);
	box-shadow: 0 8px 20px rgba(8, 121, 232, .24);
}

/* --------------------------------------------------------------------------
 * Top notices and coupon/login forms
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-notices-wrapper,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle,
body.rsc-checkout-premium-v1.woocommerce-checkout form.woocommerce-form-login,
body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon {
	width: min(1240px, calc(100% - 40px));
	margin-right: auto;
	margin-left: auto;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle {
	margin-bottom: 10px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	min-height: 48px;
	margin: 0;
	padding: 13px 16px;
	border: 1px solid var(--rsco-line);
	border-radius: var(--rsco-radius-sm);
	background: rgba(255, 255, 255, .78);
	color: var(--rsco-muted);
	font-size: 13px;
	box-shadow: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle a,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle a {
	color: var(--rsco-blue-dark);
	font-weight: 750;
	text-decoration: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon,
body.rsc-checkout-premium-v1.woocommerce-checkout form.woocommerce-form-login {
	margin-top: 0;
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--rsco-line);
	border-radius: var(--rsco-radius);
	background: var(--rsco-white);
	box-shadow: var(--rsco-shadow-sm);
}

/* --------------------------------------------------------------------------
 * Main checkout layout
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout {
	display: block;
	width: 100%;
	margin: 0;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec {
	display: grid !important;
	width: min(1240px, calc(100% - 40px)) !important;
	max-width: 1240px !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
	align-items: start !important;
	gap: 24px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
	align-items: start !important;
	gap: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .elementor-element-93b3305,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .elementor-element-2c16455c,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner > .elementor-element-93b3305,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner > .elementor-element-2c16455c {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-93b3305,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-2c16455c,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-5101945b {
	gap: 18px !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-5101945b {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c * {
	text-align: left !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-widget-woocommerce-checkout-page,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-widget-wd_checkout_billing_details,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-widget-wd_checkout_shipping_details,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-widget-wd_checkout_order_review,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-widget-wd_checkout_payment_methods {
	width: 100%;
	min-width: 0;
}

/* --------------------------------------------------------------------------
 * Billing and additional information
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details {
	margin: 0;
	padding: 26px !important;
	border: 1px solid var(--rsco-line);
	border-radius: var(--rsco-radius-lg);
	background: var(--rsco-white);
	box-shadow: var(--rsco-shadow-sm);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details h3,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details h3,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields > h3,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-additional-fields > h3,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields > h3 {
	margin: 0 0 22px;
	color: var(--rsco-navy);
	font-size: clamp(20px, 2vw, 25px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.25;
	text-transform: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: flow-root;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first {
	width: calc(50% - 7px) !important;
	float: left !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
	width: calc(50% - 7px) !important;
	float: right !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .form-row {
	margin: 0 0 15px;
	padding: 0;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .form-row label {
	display: block;
	margin: 0 0 7px;
	color: #40516a;
	font-size: 12.5px;
	font-weight: 720;
	letter-spacing: .01em;
	line-height: 1.35;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .form-row label .required {
	color: var(--rsco-danger);
	font-weight: 800;
	text-decoration: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .form-row label .optional {
	color: #8a97a9;
	font-size: 11px;
	font-weight: 600;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .input-text,
body.rsc-checkout-premium-v1.woocommerce-checkout select,
body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container .select2-selection--single,
body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 52px;
	padding: 0 15px;
	border: 1px solid #d5e1ed !important;
	border-radius: var(--rsco-radius-sm) !important;
	background: #f8fafc !important;
	color: var(--rsco-text);
	font-size: 14px;
	font-weight: 560;
	box-shadow: inset 0 1px 0 rgba(15, 35, 63, .015);
	outline: none;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.rsc-checkout-premium-v1.woocommerce-checkout textarea.input-text {
	min-height: 116px;
	padding-top: 13px;
	padding-bottom: 13px;
	line-height: 1.55;
	resize: vertical;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .input-text::placeholder,
body.rsc-checkout-premium-v1.woocommerce-checkout textarea::placeholder {
	color: #9aa6b5;
	opacity: 1;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .input-text:focus,
body.rsc-checkout-premium-v1.woocommerce-checkout select:focus,
body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container--open .select2-selection--single {
	border-color: var(--rsco-blue) !important;
	background: var(--rsco-white) !important;
	box-shadow: 0 0 0 4px rgba(8, 121, 232, .10) !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container {
	width: 100% !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container .select2-selection__rendered {
	padding: 0 38px 0 0 !important;
	color: var(--rsco-text) !important;
	line-height: 50px !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container .select2-selection__arrow {
	top: 50% !important;
	right: 13px !important;
	transform: translateY(-50%);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
body.rsc-checkout-premium-v1.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection {
	border-color: var(--rsco-danger) !important;
	box-shadow: 0 0 0 3px rgba(196, 61, 75, .08) !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form__label-for-checkbox,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form__label-checkbox,
body.rsc-checkout-premium-v1.woocommerce-checkout #ship-to-different-address label {
	display: flex;
	min-height: 48px;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 13px 14px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: var(--rsco-radius-sm);
	background: var(--rsco-soft);
	color: var(--rsco-text);
	font-size: 13px;
	font-weight: 680;
	line-height: 1.4;
	cursor: pointer;
}

body.rsc-checkout-premium-v1.woocommerce-checkout input[type="checkbox"],
body.rsc-checkout-premium-v1.woocommerce-checkout input[type="radio"] {
	flex: 0 0 auto;
	accent-color: var(--rsco-blue);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #ship-to-different-address {
	margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
 * Order review
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-order-table,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-payment-methods {
	margin: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c {
	padding: 0 4px !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c h2,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c h3,
body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c .elementor-heading-title {
	margin: 0;
	color: var(--rsco-navy);
	font-size: clamp(20px, 2vw, 25px) !important;
	font-weight: 800 !important;
	letter-spacing: -.025em;
	line-height: 1.25;
	text-transform: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-order-table,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 !important;
	border: 1px solid var(--rsco-line) !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: var(--rsco-radius-lg);
	background: var(--rsco-white);
	box-shadow: var(--rsco-shadow-sm);
	overflow: hidden;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
	display: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
	display: table-row-group;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item {
	position: relative;
	display: block;
	margin: 0 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rsco-line-soft);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
	display: grid !important;
	width: 100% !important;
	grid-template-columns: 70px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 0 !important;
	border: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp {
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 58px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp .remove {
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	border: 1px solid #d7e2ed;
	border-radius: 50%;
	background: var(--rsco-white);
	color: #6f7d8e;
	font-size: 14px;
	box-shadow: 0 3px 9px rgba(15, 35, 63, .08);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
	grid-column: 1;
	width: 70px !important;
	height: 78px !important;
	margin: 0 !important;
	padding: 7px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: var(--rsco-radius-sm);
	background: #f9fbfd;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont {
	display: contents;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
	grid-column: 2;
	min-width: 0;
	color: var(--rsco-text);
	font-size: 13.5px;
	font-weight: 720;
	line-height: 1.42;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title > a {
	display: -webkit-box;
	margin-bottom: 8px;
	color: var(--rsco-text);
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity {
	display: inline-flex;
	width: auto;
	height: 34px;
	align-items: center;
	border: 1px solid var(--rsco-line);
	border-radius: 9px;
	background: var(--rsco-soft);
	overflow: hidden;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity input[type="button"],
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity button {
	width: 30px;
	min-width: 30px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rsco-navy);
	font-size: 15px;
	box-shadow: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity input.qty {
	width: 30px;
	min-width: 30px;
	min-height: 32px !important;
	max-height: 32px;
	height: 32px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: var(--rsco-text);
	font-size: 12px;
	font-weight: 750;
	line-height: 32px;
	text-align: center;
	box-shadow: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-total,
body.rsc-checkout-premium-v1.woocommerce-checkout td.product-total {
	grid-column: 3;
	padding: 0 !important;
	border: 0 !important;
	color: var(--rsco-navy);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
	text-align: right;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	margin: 0 20px;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--rsco-line-soft);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
	display: block;
	width: auto;
	padding: 0 !important;
	border: 0 !important;
	background: transparent;
	color: var(--rsco-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
	color: var(--rsco-text);
	font-weight: 750;
	text-align: right;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total {
	margin: 0;
	padding: 18px 20px;
	border-bottom: 0;
	background: linear-gradient(135deg, #f4f9ff, #edf6ff);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th {
	color: var(--rsco-navy);
	font-size: 15px;
	font-weight: 800;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total .amount {
	color: var(--rsco-blue-dark);
	font-size: 20px;
	font-weight: 850;
	letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
 * Payment methods
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-payment-methods {
	margin-top: 18px !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment.woocommerce-checkout-payment {
	padding: 22px !important;
	border: 1px solid var(--rsco-line) !important;
	border-radius: var(--rsco-radius-lg) !important;
	background: var(--rsco-white) !important;
	box-shadow: var(--rsco-shadow-sm);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_methods {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--rsco-line) !important;
	border-radius: 14px;
	background: #fbfcfe;
	overflow: hidden;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method:has(input[type="radio"]:checked) {
	border-color: #8fc3f4 !important;
	background: #f5faff;
	box-shadow: 0 0 0 3px rgba(8, 121, 232, .07);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > input[type="radio"] {
	position: absolute;
	top: 20px;
	left: 16px;
	width: 17px;
	height: 17px;
	margin: 0;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label {
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 15px 14px 44px !important;
	color: var(--rsco-text);
	font-size: 13.5px;
	font-weight: 760;
	line-height: 1.4;
	cursor: pointer;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label img {
	width: auto;
	max-width: 148px;
	max-height: 26px;
	margin: 0;
	object-fit: contain;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .payment_box {
	margin: 0 !important;
	padding: 4px 15px 16px 44px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--rsco-muted);
	font-size: 12.5px;
	line-height: 1.55;
	box-shadow: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .payment_box::before {
	display: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .payment_box iframe {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 10px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc-stripe_cc-container,
body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc-stripe-elements-field,
body.rsc-checkout-premium-v1.woocommerce-checkout #payment .StripeElement {
	max-width: 100%;
	border-radius: 10px;
	background: var(--rsco-white);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .place-order {
	margin: 0 !important;
	padding: 18px 0 0 !important;
	border-top: 1px solid var(--rsco-line-soft);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 16px;
	color: var(--rsco-muted);
	font-size: 12.5px;
	line-height: 1.55;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a {
	color: var(--rsco-blue-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order {
	display: inline-flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #1592f2 0%, var(--rsco-blue-dark) 100%);
	color: var(--rsco-white);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 1.25;
	text-transform: none;
	box-shadow: 0 12px 28px rgba(8, 121, 232, .24);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order:hover {
	filter: saturate(1.05) brightness(.98);
	box-shadow: 0 15px 34px rgba(8, 121, 232, .30);
	transform: translateY(-1px);
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order:focus-visible {
	outline: 3px solid rgba(8, 121, 232, .24);
	outline-offset: 3px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order[disabled],
body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order:disabled {
	opacity: .62;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

/* --------------------------------------------------------------------------
 * Checkout recommendations
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-66603bd {
	width: min(1240px, calc(100% - 40px)) !important;
	max-width: 1240px !important;
	margin: 0 auto 24px !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell {
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid var(--rsco-line) !important;
	border-radius: var(--rsco-radius-lg) !important;
	background: var(--rsco-white) !important;
	box-shadow: var(--rsco-shadow-sm) !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell h2,
body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell h3 {
	margin: 0 0 15px !important;
	color: var(--rsco-navy) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: -.02em;
	text-transform: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell .product,
body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell li {
	border-color: var(--rsco-line-soft) !important;
	border-radius: 14px !important;
	background: #fbfcfe !important;
}

/* --------------------------------------------------------------------------
 * Native messages, blockers and dropdowns
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-error,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-message,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-info {
	border-radius: var(--rsco-radius-sm);
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-error {
	border: 1px solid #f0c6cb;
	background: #fff6f7;
	color: #842c36;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .blockUI.blockOverlay {
	border-radius: inherit;
	background: rgba(245, 248, 252, .78) !important;
	opacity: 1 !important;
	backdrop-filter: blur(2px);
}

.select2-container--open .select2-dropdown {
	border: 1px solid #c9d9e9;
	border-radius: 12px;
	box-shadow: 0 16px 42px rgba(15, 35, 63, .13);
	overflow: hidden;
}

/* Preview controls must never cover the final checkout action. */
body.rsc-checkout-premium-v1.woocommerce-checkout.wpvibe-preview-active {
	padding-bottom: 86px;
}

/* --------------------------------------------------------------------------
 * Tablet
 * -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner {
		grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
		gap: 18px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout #payment.woocommerce-checkout-payment {
		padding: 20px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
		margin-right: 16px;
		margin-left: 16px;
	}
}

/* --------------------------------------------------------------------------
 * Phone
 * -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	body.rsc-checkout-premium-v1.woocommerce-checkout .main-page-wrapper {
		padding-top: 18px;
		padding-bottom: 38px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps {
		width: calc(100% - 24px);
		margin-bottom: 22px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li:not(:last-child)::after {
		top: 15px;
		left: calc(50% + 20px);
		width: calc(100% - 40px);
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps a,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li > span {
		gap: 6px;
		font-size: 10.5px;
		white-space: nowrap;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps a::before,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-steps li > span::before {
		width: 30px;
		height: 30px;
		font-size: 11px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-notices-wrapper,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle,
	body.rsc-checkout-premium-v1.woocommerce-checkout form.woocommerce-form-login,
	body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec {
		width: calc(100% - 24px) !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner {
		display: flex !important;
		flex-direction: column !important;
		gap: 14px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-93b3305,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-2c16455c,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-5101945b {
		width: 100% !important;
		gap: 14px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout #payment.woocommerce-checkout-payment {
		padding: 17px !important;
		border-radius: 17px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields > h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-additional-fields > h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields > h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c h2,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c h3,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-12c9453c .elementor-heading-title {
		font-size: 20px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
		width: 100% !important;
		float: none !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .input-text,
	body.rsc-checkout-premium-v1.woocommerce-checkout select,
	body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container .select2-selection--single,
	body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container--default .select2-selection--single {
		min-height: 50px;
		font-size: 16px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .select2-container .select2-selection__rendered {
		line-height: 48px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table {
		border-radius: 17px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item {
		margin: 0 14px;
		padding: 14px 0;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
		grid-template-columns: 58px minmax(0, 1fr) auto;
		gap: 10px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
		width: 58px !important;
		height: 66px !important;
		padding: 5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp {
		top: 8px;
		left: 46px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
		font-size: 12px;
		line-height: 1.35;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity {
		height: 32px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity input[type="button"],
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity button,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity input.qty {
		min-height: 30px !important;
		max-height: 30px;
		height: 30px;
		line-height: 30px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-total,
	body.rsc-checkout-premium-v1.woocommerce-checkout td.product-total {
		font-size: 12px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
		margin: 0 14px;
		padding: 11px 0;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total {
		margin: 0;
		padding: 16px 14px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label {
		min-height: 54px;
		padding: 13px 12px 13px 41px !important;
		font-size: 12.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > input[type="radio"] {
		top: 18px;
		left: 14px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label img {
		max-width: 108px;
		max-height: 23px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .payment_box {
		padding: 3px 12px 14px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment #place_order {
		min-height: 54px;
		font-size: 14px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-66603bd,
	body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell {
		display: none !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout.wpvibe-preview-active {
		padding-bottom: 96px;
	}
}

@media (max-width: 420px) {
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
		width: 54px !important;
		height: 62px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp {
		left: 42px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-total,
	body.rsc-checkout-premium-v1.woocommerce-checkout td.product-total {
		grid-column: 2;
		margin-top: -27px;
		justify-self: end;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
		padding-right: 70px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label {
		flex-wrap: wrap;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label img {
		max-width: 92px;
	}
}

/* --------------------------------------------------------------------------
 * Checkout alignment corrections v2
 *
 * Elementor switches Ronsoft's header to its mobile structure at 1024px, so
 * checkout stacking must use the same breakpoint. These rules also neutralize
 * WoodMart's intrinsic image and flex widths inside the order review.
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	display: flex !important;
	width: fit-content !important;
	max-width: 100% !important;
	min-height: 0 !important;
	height: auto !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 3px 8px !important;
	margin: 0 !important;
	padding: 13px 16px !important;
	border: 1px solid var(--rsco-line) !important;
	border-radius: var(--rsco-radius-sm) !important;
	background: rgba(255, 255, 255, .9) !important;
	box-sizing: border-box !important;
	font-size: 13px;
	line-height: 1.45;
	overflow: hidden;
	box-shadow: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
	display: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle a,
body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle a {
	max-width: 100%;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon[style*="display: none"] {
	display: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon[style*="display: block"] {
	display: grid !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon .form-row {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon button {
	min-height: 52px;
	padding: 0 20px;
	border-radius: var(--rsco-radius-sm);
	text-transform: none;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
	grid-template-columns: 70px minmax(0, 1fr) !important;
	align-items: center !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
	display: flex !important;
	grid-column: 1 !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img > a {
	display: flex !important;
	width: 100% !important;
	height: 100% !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img img {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: 100% !important;
	margin: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont {
	display: grid !important;
	grid-column: 2 !important;
	width: 100% !important;
	min-width: 0 !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
	display: flex !important;
	grid-column: 1 !important;
	min-width: 0 !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title > a {
	width: 100%;
	margin: 0 0 8px !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title .quantity {
	flex: 0 0 auto;
	margin: 0 !important;
}

body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont .wd-checkout-prod-total,
body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont .product-total {
	grid-column: 2 !important;
	align-self: center;
	justify-self: end;
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 1024px) {
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-notices-wrapper,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle,
	body.rsc-checkout-premium-v1.woocommerce-checkout form.woocommerce-form-login,
	body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec {
		width: calc(100% - 24px) !important;
		max-width: none !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
		width: 100% !important;
		padding: 14px 16px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner {
		display: flex !important;
		width: calc(100% - 24px) !important;
		max-width: none !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 16px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-204aec > .e-con-inner {
		width: 100% !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-93b3305,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-2c16455c,
	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-5101945b {
		--width: 100% !important;
		--min-height: 0 !important;
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		align-self: stretch !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-billing-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-shipping-details,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-order-table,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-payment-methods,
	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order,
	body.rsc-checkout-premium-v1.woocommerce-checkout #payment {
		--width: 100% !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		align-self: stretch !important;
		box-sizing: border-box !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item {
		margin: 0 14px;
		padding: 14px 0;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
		grid-template-columns: 74px minmax(0, 1fr) !important;
		gap: 12px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
		width: 74px !important;
		height: 82px !important;
		padding: 6px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp {
		top: 8px;
		left: 62px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
		font-size: 13px;
		line-height: 1.38;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title > a {
		margin-bottom: 8px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-total,
	body.rsc-checkout-premium-v1.woocommerce-checkout td.product-total {
		font-size: 13px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .elementor-element-66603bd,
	body.rsc-checkout-premium-v1.woocommerce-checkout #rs-smart-upsell {
		display: none !important;
	}
}

@media (max-width: 520px) {
	body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon {
		grid-template-columns: minmax(0, 1fr);
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout form.checkout_coupon button {
		width: 100%;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .woocommerce-checkout-review-order-table td.wd-checkout-prod {
		grid-template-columns: 64px minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-img {
		width: 64px !important;
		height: 72px !important;
		padding: 5px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-remove-btn-wrapp {
		left: 52px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-title {
		padding: 0 !important;
		font-size: 12.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont .wd-checkout-prod-total,
	body.rsc-checkout-premium-v1.woocommerce-checkout .wd-checkout-prod-cont .product-total {
		grid-column: 2 !important;
		margin: 0 !important;
		font-size: 12px;
		justify-self: end;
	}

	body.rsc-checkout-premium-v1.woocommerce-checkout #payment .wc_payment_method > label {
		flex-wrap: wrap;
	}
}

/* --------------------------------------------------------------------------
 * Premium order confirmation
 *
 * Styles the native WooCommerce thank-you, order overview, downloadable items,
 * payment instructions and customer details without replacing core templates.
 * -------------------------------------------------------------------------- */

body.rsc-checkout-premium-v1.woocommerce-order-received .main-page-wrapper {
	padding-top: 20px;
	padding-bottom: 80px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received #main-content {
	width: min(1160px, calc(100% - 48px));
	max-width: 1160px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-content-area,
body.rsc-checkout-premium-v1.woocommerce-order-received article,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order {
	width: 100%;
	max-width: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li:not(:last-child)::after {
	background: var(--rsco-blue);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li:nth-child(-n + 2) a {
	color: var(--rsco-navy);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li:nth-child(-n + 2) a::before {
	border-color: #b9d7f5;
	background: var(--rsco-blue-light);
	color: var(--rsco-blue-dark);
	content: "✓";
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li:nth-child(3) > span {
	color: var(--rsco-navy);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li:nth-child(3) > span::before {
	border-color: var(--rsco-blue);
	background: linear-gradient(135deg, #1592f2, var(--rsco-blue-dark));
	color: var(--rsco-white);
	box-shadow: 0 8px 20px rgba(8, 121, 232, .24);
}

/* Success and failure status hero */

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success {
	position: relative;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	align-items: center;
	gap: 2px 26px;
	min-height: 158px;
	margin: 0 0 22px;
	padding: 32px 38px;
	overflow: hidden;
	border: 1px solid #c9dfd6;
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% 4%, rgba(22, 116, 81, .10), transparent 32%),
		linear-gradient(135deg, #fff 0%, #f6fbf8 100%);
	color: var(--rsco-navy);
	font-size: clamp(21px, 2.2vw, 30px);
	font-weight: 800;
	line-height: 1.25;
	box-shadow: var(--rsco-shadow);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received::before,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success::before {
	display: inline-flex;
	width: 70px;
	height: 70px;
	grid-row: 1 / span 3;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(22, 116, 81, .22);
	border-radius: 50%;
	background: #e7f6ef;
	color: var(--rsco-success);
	content: "✓";
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .52);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received::after,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success::after {
	position: absolute;
	right: -58px;
	bottom: -74px;
	width: 210px;
	height: 210px;
	border: 1px solid rgba(22, 116, 81, .12);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-kicker,
body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-title,
body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-copy {
	position: relative;
	z-index: 1;
	display: block;
	grid-column: 2;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-kicker {
	margin-bottom: 4px;
	color: var(--rsco-success);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .11em;
	line-height: 1.2;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-title {
	color: var(--rsco-navy-deep);
	font-size: clamp(25px, 3vw, 37px);
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.12;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-copy {
	max-width: 680px;
	margin-top: 8px;
	color: var(--rsco-muted);
	font-size: 14px;
	font-weight: 560;
	line-height: 1.6;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--error,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-error {
	margin: 0 0 22px;
	padding: 22px 24px;
	border: 1px solid #efc8cd;
	border-radius: var(--rsco-radius);
	background: #fff7f8;
	color: #8f2935;
	box-shadow: var(--rsco-shadow-sm);
}

/* Order facts */

body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1px;
	margin: 0 0 22px !important;
	padding: 1px !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: var(--rsco-radius);
	background: var(--rsco-line);
	list-style: none;
	box-shadow: var(--rsco-shadow-sm);
}

body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview li {
	display: flex;
	width: auto !important;
	min-width: 0;
	min-height: 94px;
	float: none !important;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	margin: 0 !important;
	padding: 18px 20px !important;
	border: 0 !important;
	background: var(--rsco-white);
	color: var(--rsco-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .075em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	min-width: 0;
	color: var(--rsco-navy);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
	overflow-wrap: anywhere;
}

/* Digital-delivery guidance */

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next {
	display: grid;
	grid-template-columns: minmax(235px, .72fr) minmax(0, 1.55fr);
	gap: 30px;
	margin: 0 0 22px;
	padding: 30px;
	border: 1px solid #cfe1f3;
	border-radius: var(--rsco-radius-lg);
	background:
		linear-gradient(130deg, rgba(234, 244, 255, .82), rgba(255, 255, 255, .96) 58%),
		var(--rsco-white);
	box-shadow: var(--rsco-shadow-sm);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__intro {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 10px;
	padding: 6px 10px;
	border: 1px solid #c5def7;
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	color: var(--rsco-blue-dark);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next h2 {
	margin: 0;
	color: var(--rsco-navy-deep);
	font-size: 25px;
	font-weight: 850;
	letter-spacing: -.02em;
	line-height: 1.2;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__intro p {
	margin: 10px 0 0;
	color: var(--rsco-muted);
	font-size: 13px;
	line-height: 1.65;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: auto;
	padding-top: 22px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__primary.button {
	display: inline-flex;
	min-height: 43px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, #1592f2, var(--rsco-blue-dark));
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: none;
	box-shadow: 0 9px 20px rgba(8, 121, 232, .20);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__primary.button:hover {
	background: linear-gradient(135deg, #087fe9, #045db8);
	color: #fff;
	transform: translateY(-1px);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__secondary {
	color: var(--rsco-blue-dark);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__secondary:hover {
	color: var(--rsco-navy);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps li {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	min-height: 68px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__icon {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid #c5def7;
	border-radius: 12px;
	background: var(--rsco-blue-light);
	color: var(--rsco-blue-dark);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps strong,
body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps span:not(.rsc-order-next__icon) {
	display: block;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps strong {
	margin-bottom: 3px;
	color: var(--rsco-navy);
	font-size: 12px;
	font-weight: 820;
	line-height: 1.3;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps span:not(.rsc-order-next__icon) {
	color: var(--rsco-muted);
	font-size: 10.5px;
	line-height: 1.5;
}

/* Payment instructions, downloads and order details */

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-bacs-bank-details,
body.rsc-checkout-premium-v1.woocommerce-order-received .wc-bacs-bank-details,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details {
	margin: 0 0 22px;
	padding: 28px 30px;
	overflow: hidden;
	border: 1px solid var(--rsco-line);
	border-radius: var(--rsco-radius-lg);
	background: var(--rsco-white);
	box-shadow: var(--rsco-shadow-sm);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details__title,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads__title,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details > h2,
body.rsc-checkout-premium-v1.woocommerce-order-received .wc-bacs-bank-details-heading,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-column__title {
	margin: 0 0 18px;
	color: var(--rsco-navy-deep);
	font-size: 21px;
	font-weight: 850;
	letter-spacing: -.015em;
	line-height: 1.25;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table {
	width: 100%;
	margin: 0;
	border: 1px solid var(--rsco-line-soft);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	table-layout: fixed;
	overflow: hidden;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table td,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--rsco-line-soft);
	color: var(--rsco-text);
	font-size: 12px;
	line-height: 1.5;
	vertical-align: middle;
	overflow-wrap: anywhere;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table thead th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table thead th {
	background: var(--rsco-soft);
	color: var(--rsco-muted);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table tr:last-child th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table tr:last-child td,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table tr:last-child th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table tr:last-child td {
	border-bottom: 0;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-name {
	width: 72%;
	color: var(--rsco-navy);
	font-weight: 750;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-total {
	width: 28%;
	color: var(--rsco-navy);
	font-weight: 800;
	text-align: right;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-name a {
	color: var(--rsco-navy);
	font-weight: 780;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-name a:hover {
	color: var(--rsco-blue-dark);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot th {
	color: var(--rsco-muted);
	font-weight: 700;
	text-align: left;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot td {
	color: var(--rsco-navy);
	font-weight: 800;
	text-align: right;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child {
	background: var(--rsco-blue-light);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child td {
	color: var(--rsco-blue-dark);
	font-size: 14px;
	font-weight: 850;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads {
	overflow-x: auto;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads .button,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .button,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--error + p .button {
	min-height: 40px;
	padding: 9px 15px;
	border-radius: 10px;
	background: var(--rsco-blue);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .wc-bacs-bank-details-account-name {
	margin: 0 0 12px;
	color: var(--rsco-navy);
	font-size: 15px;
	font-weight: 800;
}

body.rsc-checkout-premium-v1.woocommerce-order-received ul.wc-bacs-bank-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.rsc-checkout-premium-v1.woocommerce-order-received ul.wc-bacs-bank-details li {
	min-width: 0;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: 12px;
	background: var(--rsco-soft);
	color: var(--rsco-muted);
	font-size: 10px;
	font-weight: 750;
	line-height: 1.35;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received ul.wc-bacs-bank-details li strong {
	display: block;
	margin-top: 5px;
	color: var(--rsco-navy);
	font-size: 12px;
	font-weight: 800;
	text-transform: none;
	overflow-wrap: anywhere;
}

/* Billing details: digital orders do not need a second shipping-address card */

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-column--shipping-address {
	display: none !important;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-column--billing-address {
	width: 100% !important;
	max-width: none;
	float: none !important;
	margin: 0;
	padding: 0;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: 14px;
	background: var(--rsco-soft);
	color: var(--rsco-text);
	font-size: 12px;
	font-style: normal;
	line-height: 1.75;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details address p {
	margin: 8px 0 0;
	color: var(--rsco-muted);
}

body.rsc-checkout-premium-v1.woocommerce-order-received a:focus-visible {
	border-radius: 6px;
	outline: 3px solid rgba(8, 121, 232, .26);
	outline-offset: 3px;
}

@media (max-width: 820px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received #main-content {
		width: calc(100% - 28px);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__actions {
		margin-top: 0;
	}
}

@media (max-width: 620px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received .main-page-wrapper {
		padding-top: 10px;
		padding-bottom: 54px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received #main-content {
		width: calc(100% - 20px);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps {
		width: calc(100% - 18px);
		margin-bottom: 20px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps a,
	body.rsc-checkout-premium-v1.woocommerce-order-received .wd-checkout-steps li > span {
		gap: 6px;
		font-size: 9.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 2px 16px;
		min-height: 0;
		padding: 24px 20px;
		border-radius: 20px;
		font-size: 20px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received::before,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success::before {
		width: 52px;
		height: 52px;
		font-size: 23px;
		box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .52);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-kicker {
		font-size: 8.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-title {
		font-size: 23px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-copy {
		margin-top: 5px;
		font-size: 11.5px;
		line-height: 1.5;
	}

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

	body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview li {
		min-height: 80px;
		padding: 14px !important;
		font-size: 8px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview li strong {
		font-size: 11.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-bacs-bank-details,
	body.rsc-checkout-premium-v1.woocommerce-order-received .wc-bacs-bank-details,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details {
		margin-bottom: 14px;
		padding: 20px;
		border-radius: 18px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next h2,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details__title,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads__title,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details > h2,
	body.rsc-checkout-premium-v1.woocommerce-order-received .wc-bacs-bank-details-heading,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-column__title {
		font-size: 19px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__steps li {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 11px;
		padding: 10px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__icon {
		width: 36px;
		height: 36px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__actions {
		align-items: stretch;
		flex-direction: column;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__primary.button,
	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__secondary {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-next__secondary {
		display: inline-flex;
		min-height: 38px;
		align-items: center;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table th,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table td,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table th,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-downloads table td {
		padding: 12px 10px;
		font-size: 10.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-name {
		width: 66%;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .product-total {
		width: 34%;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-customer-details address {
		padding: 15px;
		font-size: 11px;
	}
}

@media (max-width: 390px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 2px 12px;
		padding: 20px 16px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-thankyou-order-received::before,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-notice--success::before {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-title {
		font-size: 20px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-order-status-copy {
		font-size: 10.5px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview {
		grid-template-columns: minmax(0, 1fr);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received ul.woocommerce-order-overview li {
		min-height: 68px;
	}
}

/* Order-confirmation alignment refinements */

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table {
	--rsc-order-price-column: clamp(142px, 18vw, 190px);
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details thead th.product-name,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody td.product-name,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot th {
	padding-left: 22px !important;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details thead th.product-total,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody td.product-total,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot td {
	width: var(--rsc-order-price-column) !important;
	min-width: var(--rsc-order-price-column);
	padding-right: 22px !important;
	padding-left: 14px !important;
	box-sizing: border-box;
	text-align: right !important;
	vertical-align: middle;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody td.product-total,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child td {
	white-space: nowrap;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .woocommerce-Price-amount {
	display: inline-block;
	min-width: 92px;
	color: var(--rsco-blue-dark);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	text-align: right;
	white-space: nowrap;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody tr.order_item td {
	min-height: 62px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot th,
body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot td {
	height: 52px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot th {
	width: auto !important;
}

/* Present the bank account holder as a real data field instead of stray text. */

body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details {
	display: grid;
	grid-template-columns: minmax(190px, .72fr) minmax(0, 2fr);
	align-items: stretch;
	gap: 10px 12px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details .wc-bacs-bank-details-heading {
	grid-column: 1 / -1;
	margin-bottom: 6px;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-bank-account-holder {
	display: flex;
	min-width: 0;
	min-height: 94px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 7px;
	padding: 16px 18px;
	border: 1px solid var(--rsco-line-soft);
	border-radius: 14px;
	background: linear-gradient(145deg, #f7faff, #eef5fd);
	box-sizing: border-box;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-bank-account-holder span {
	color: var(--rsco-muted);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .075em;
	line-height: 1.2;
	text-transform: uppercase;
}

body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-bank-account-holder strong {
	color: var(--rsco-navy-deep);
	font-size: 14px;
	font-weight: 850;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details ul.wc-bacs-bank-details {
	height: 100%;
	align-self: stretch;
}

body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details ul.wc-bacs-bank-details li {
	min-height: 94px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	text-align: left;
}

@media (max-width: 720px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details {
		grid-template-columns: minmax(0, 1fr);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details .wc-bacs-bank-details-heading {
		grid-column: 1;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .rsc-bank-account-holder {
		min-height: 76px;
	}
}

@media (max-width: 620px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table {
		--rsc-order-price-column: 112px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details thead th.product-name,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody td.product-name,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot th {
		padding-left: 12px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details thead th.product-total,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tbody td.product-total,
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details tfoot td {
		padding-right: 12px !important;
		padding-left: 8px !important;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .woocommerce-Price-amount {
		min-width: 72px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details ul.wc-bacs-bank-details {
		grid-template-columns: minmax(0, 1fr);
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received section.woocommerce-bacs-bank-details ul.wc-bacs-bank-details li {
		min-height: 72px;
	}
}

@media (max-width: 390px) {
	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details table {
		--rsc-order-price-column: 98px;
	}

	body.rsc-checkout-premium-v1.woocommerce-order-received .woocommerce-order-details .woocommerce-Price-amount {
		min-width: 0;
		font-size: 10px;
	}
}

