/* Checkout & cart — Vinyl Room */

.rso-checkout-page {
	font-family: Inter, sans-serif;
	color: #2b2d2f;
	margin-bottom: 2rem;
	padding-top: 2rem;
	max-width: 100%;
	overflow-x: clip;
}

/* WC notices — assets/css/woocommerce-notices.css */

.rso-checkout-notice__text {
	margin: 0;
	font-weight: 600;
}

/* Progress bar */
.rso-checkout-progress {
	margin: 0 0 1.5rem;
	padding: 0;
}

.rso-checkout-progress__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem 0;
}

.rso-checkout-progress__item {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.rso-checkout-progress__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	padding: 0.5rem 0.25rem;
	text-decoration: none;
	color: #666;
	font-size: 12px;
	line-height: 1.25;
	width: 100%;
}

.rso-checkout-progress__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #ccc;
	font-weight: 700;
	font-size: 13px;
	background: #fff;
	transition: 0.2s;
}

.rso-checkout-progress__item.is-active .rso-checkout-progress__number,
.rso-checkout-progress__item.is-complete .rso-checkout-progress__number {
	border-color: #afd643;
	background: #afd643;
	color: #111;
}

.rso-checkout-progress__item.is-active .rso-checkout-progress__label {
	font-weight: 700;
	color: #111;
}

.rso-checkout-progress__separator {
	display: none;
}

.rso-checkout-progress__label-short {
	display: none;
}

.rso-checkout-progress__item.is-complete .rso-checkout-progress__label {
	color: #111;
}

/* Free shipping notice */
.rso-free-shipping-notice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	margin-bottom: 1.25rem;
	background: #f7f8eb;
	border: 1px solid #dfe8a8;
	border-radius: 6px;
	font-size: 14px;
}

.rso-free-shipping-notice i {
	color: #8fa032;
	font-size: 18px;
	flex-shrink: 0;
}

.rso-free-shipping-notice__text--success {
	font-weight: 600;
}

/* Layout grid */
.rso-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 1.5rem;
	align-items: start;
	max-width: 100%;
	min-width: 0;
}

.rso-checkout-main {
	min-width: 0;
	max-width: 100%;
}

/* Order summary sidebar */
.rso-order-summary {
	background: #fff;
	border: 1px solid #0000001a;
	border-radius: 8px;
	padding: 1.25rem;
	position: sticky;
	top: 1rem;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.rso-order-summary__title {
	margin: 0 0 1rem;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	border-bottom: 2px solid #111;
	padding-bottom: 0.5rem;
}

.rso-order-summary__items {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	max-height: 280px;
	overflow-y: auto;
}

.rso-order-summary__item {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.65rem 0;
	border-bottom: 1px solid #0000000f;
	font-size: 13px;
}

.rso-order-summary__item-thumb img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 4px;
}

.rso-order-summary__item-name {
	display: block;
	font-weight: 600;
	line-height: 1.3;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: #111;
}

.rso-order-summary__item-name a {
	color: #111 !important;
	font-weight: 600;
	text-decoration: none;
}

.rso-order-summary__item-name a:hover {
	text-decoration: underline;
}

.rso-order-summary__item-meta {
	min-width: 0;
}

.rso-order-summary__item-qty {
	display: block;
	color: #666;
	font-size: 12px;
	margin-top: 2px;
}

.rso-order-summary__item-price {
	font-weight: 600;
	white-space: nowrap;
}

.rso-order-summary__coupon {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 0.85rem;
	padding: 0.85rem 0.9rem;
	background: #fafcf0;
	border: 1px solid #00000012;
	border-radius: 8px;
}

.rso-order-summary__coupon-label {
	margin: 0 0 0.65rem;
	font-size: 13px;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.01em;
}

.rso-coupon-applied {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 0.65rem;
	padding: 0;
	list-style: none;
}

.rso-coupon-applied__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.45rem 0.25rem 0.6rem;
	background: #fff;
	border: 1px solid #afd643;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #111;
}

.rso-coupon-applied__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #666;
	text-decoration: none;
	font-size: 16px;
	line-height: 1;
	transition: background 0.15s, color 0.15s;
}

.rso-coupon-applied__remove:hover {
	background: #f0f0f0;
	color: #111;
}

.rso-coupon-field {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid #00000020;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 2px #00000008;
}

.rso-coupon-field__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 0.85rem;
	border: 0;
	background: transparent;
	font-size: 15px;
	color: #111;
	outline: none;
}

.rso-coupon-field__input::placeholder {
	color: #888;
}

.rso-coupon-field__submit {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 1rem;
	border: 0;
	background: #afd643;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

.rso-coupon-field__submit:hover {
	background: #9fc238;
}

.rso-order-summary__totals {
	border-top: 1px solid #0000001a;
	padding-top: 0.75rem;
}

.rso-order-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
	font-size: 14px;
}

.rso-order-summary__row--total {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top: 2px solid #111;
	font-size: 17px;
	font-weight: 700;
}

/* Buttons */
.rso-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	border: 2px solid transparent;
	transition: 0.2s;
	line-height: 1.2;
}

.rso-btn--primary {
	background: #afd643;
	color: #111;
	border-color: #afd643;
}

.rso-btn--primary:hover {
	background: #9fc238;
	border-color: #9fc238;
	color: #111;
}

.rso-btn--outline {
	background: #fff;
	color: #111;
	border-color: #111;
}

.rso-btn--outline:hover {
	background: #f5f5f5;
}

.rso-btn--ghost {
	background: transparent;
	color: #666;
	border-color: #ccc;
	font-size: 13px;
	padding: 0.5rem 0.85rem;
}

.rso-cart-form,
.rso-multistep-checkout {
	max-width: 100%;
	min-width: 0;
}

/* Cart table */
.rso-cart-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
	table-layout: auto;
}

.rso-cart-table .product-remove {
	width: 40px;
}

.rso-cart-table .product-thumbnail {
	width: 88px;
}

.rso-cart-table .product-name {
	width: auto;
	min-width: 180px;
}

.rso-cart-table .product-name,
.rso-cart-table .product-name a {
	color: #111 !important;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	word-break: break-word;
}

.rso-cart-table .product-name a:hover {
	text-decoration: underline;
}

.rso-cart-table .product-price,
.rso-cart-table .product-subtotal {
	width: 110px;
	white-space: nowrap;
}

.rso-cart-table .product-quantity {
	width: 120px;
}

.rso-cart-table th,
.rso-cart-table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid #00000014;
	vertical-align: middle;
	text-align: left;
}

.rso-cart-table thead th {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
	font-weight: 600;
}

.rso-cart-table .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

.rso-cart-table .product-remove .remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #111;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
}

.rso-cart-table .quantity .qty {
	width: 64px;
	height: 40px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.rso-cart-coupon {
	display: none;
}

.rso-cart-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.rso-cart-collaterals {
	display: none;
}

/* Checkout — domyślny kupon WooCommerce (toggle + formularz) */
.rso-checkout-page .woocommerce-form-coupon-toggle,
.rso-order-summary .woocommerce-form-coupon-toggle {
	width: 100%;
	max-width: 100%;
	margin: 1rem 0 0.75rem;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	margin: 0 !important;
	padding: 1rem 1.15rem 1rem 3rem !important;
	border: none !important;
	border-radius: 8px;
	background: #eff6ff;
	color: #1e40af;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 500;
	position: relative;
	box-shadow: none !important;
	list-style: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: "\f05a";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 17px;
	color: #2563eb;
	line-height: 1;
}

.woocommerce-form-coupon-toggle .showcoupon {
	color: #111 !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
	color: #000 !important;
}

.rso-checkout-page form.checkout_coupon,
.rso-checkout-page #woocommerce-checkout-form-coupon,
.rso-order-summary form.checkout_coupon,
.rso-order-summary #woocommerce-checkout-form-coupon {
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.25rem !important;
	padding: 1rem !important;
	background: #fafcf0;
	border: none !important;
	border-radius: 8px;
	box-shadow: none !important;
	box-sizing: border-box;
}

form.checkout_coupon p,
#woocommerce-checkout-form-coupon p {
	margin: 0 0 0.75rem !important;
	padding: 0 !important;
	font-size: 14px;
	color: #444;
}

form.checkout_coupon p:last-child,
#woocommerce-checkout-form-coupon p:last-child {
	margin-bottom: 0 !important;
}

form.checkout_coupon .form-row-first,
form.checkout_coupon .form-row-last,
#woocommerce-checkout-form-coupon .form-row-first,
#woocommerce-checkout-form-coupon .form-row-last {
	float: none !important;
	width: 100% !important;
	display: block !important;
}

form.checkout_coupon .clear,
#woocommerce-checkout-form-coupon .clear {
	display: none !important;
}

form.checkout_coupon .coupon-field-row,
#woocommerce-checkout-form-coupon .coupon-field-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid #00000020;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

form.checkout_coupon .input-text,
#woocommerce-checkout-form-coupon .input-text,
form.checkout_coupon input[name="coupon_code"],
#woocommerce-checkout-form-coupon input[name="coupon_code"] {
	flex: 1;
	width: 100% !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 0.85rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-size: 15px !important;
	color: #111 !important;
	box-shadow: none !important;
}

form.checkout_coupon button[name="apply_coupon"],
#woocommerce-checkout-form-coupon button[name="apply_coupon"],
form.checkout_coupon .button,
#woocommerce-checkout-form-coupon .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 46px !important;
	margin: 0.65rem 0 0 !important;
	padding: 0 1.15rem !important;
	background: #afd643 !important;
	color: #111 !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer;
	box-shadow: none !important;
	text-transform: none !important;
}

form.checkout_coupon button[name="apply_coupon"]:hover,
#woocommerce-checkout-form-coupon button[name="apply_coupon"]:hover {
	background: #9fc238 !important;
}

@media (min-width: 641px) {
	form.checkout_coupon .form-row-first,
	form.checkout_coupon .form-row-last,
	#woocommerce-checkout-form-coupon .form-row-first,
	#woocommerce-checkout-form-coupon .form-row-last {
		display: inline-block !important;
		vertical-align: top;
	}

	form.checkout_coupon .form-row-first,
	#woocommerce-checkout-form-coupon .form-row-first {
		width: calc(100% - 150px) !important;
		margin-right: 0 !important;
	}

	form.checkout_coupon .form-row-last,
	#woocommerce-checkout-form-coupon .form-row-last {
		width: 150px !important;
	}

	form.checkout_coupon .input-text,
	#woocommerce-checkout-form-coupon .input-text,
	form.checkout_coupon input[name="coupon_code"],
	#woocommerce-checkout-form-coupon input[name="coupon_code"] {
		border: 1px solid #00000020 !important;
		border-radius: 8px 0 0 8px !important;
	}

	form.checkout_coupon button[name="apply_coupon"],
	#woocommerce-checkout-form-coupon button[name="apply_coupon"] {
		width: 100% !important;
		margin: 0 !important;
		border-radius: 0 8px 8px 0 !important;
	}
}

@media (max-width: 640px) {
	.woocommerce-form-coupon-toggle,
	form.checkout_coupon,
	#woocommerce-checkout-form-coupon {
		width: 95%;
	}
}

/* Checkout steps */
.rso-step-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 1.25rem;
	color: #111;
}

.rso-step-heading {
	font-size: 16px;
	font-weight: 700;
	margin: 1.25rem 0 0.75rem;
}

.rso-step-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #00000014;
}

.rso-hidden-field {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Shipping methods */
.rso-shipping-methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.rso-shipping-method label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 1rem;
	border: 2px solid #0000001a;
	border-radius: 8px;
	transition: 0.2s;
}

.rso-shipping-method input[type="radio"] {
	margin: 0 0.85rem 0 0;
	flex-shrink: 0;
	accent-color: #afd643;
	width: 18px;
	height: 18px;
}

.rso-shipping-method__label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 1rem;
}

.rso-shipping-method__name {
	font-weight: 600;
}

.rso-shipping-method__cost {
	font-weight: 700;
	white-space: nowrap;
}

.rso-shipping-method input:checked + .rso-shipping-method__label,
.rso-shipping-method label:has(input:checked) {
	border-color: #afd643;
	background: #fafcf0;
}

.rso-shipping-method label:has(input:checked) {
	border-color: #afd643;
	background: #fafcf0;
}

/* Pickup & InPost */
.rso-pickup-info,
.rso-inpost-widget {
	margin-top: 1rem;
	padding: 1rem;
	background: #f9f9f9;
	border: 1px solid #00000014;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.55;
}

.rso-pickup-info h4,
.rso-inpost-widget h4 {
	margin: 0 0 0.5rem;
	font-size: 15px;
}

.rso-pickup-name {
	font-weight: 700;
}

.rso-pickup-note {
	margin-top: 0.75rem;
	font-size: 13px;
	color: #555;
}

.rso-inpost-placeholder {
	font-size: 13px;
	color: #666;
	margin: 0;
}

.rso-inpost-widget-inner .inpost-parcel-locker-widget,
.rso-inpost-widget-inner .easypack-widget,
.rso-inpost-widget-inner #inpost-pl-selector {
	min-height: 320px;
}

.rso-inpost-widget.is-active .rso-inpost-placeholder {
	display: none;
}

.rso-inpost-plugin-output:not(:empty) ~ .rso-inpost-placeholder,
.rso-inpost-plugin-output:has(button) ~ .rso-inpost-placeholder,
.rso-inpost-plugin-output:has(inpost-geowidget) ~ .rso-inpost-placeholder,
.rso-inpost-geowidget-wrap:not([hidden]) ~ .rso-inpost-placeholder {
	display: none;
}

.rso-inpost-geowidget-wrap {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	margin-top: 0.75rem;
	min-height: var(--rso-geowidget-h, 560px);
	--rso-geowidget-h: 560px;
}

.rso-inpost-geowidget-hint {
	margin: 0 0 0.65rem;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}

.rso-inpost-geowidget-wrap inpost-geowidget,
.rso-inpost-geowidget-fallback inpost-geowidget,
#rso-inpost-geowidget {
	display: block !important;
	width: 100% !important;
	height: var(--rso-geowidget-h, 560px) !important;
	min-height: var(--rso-geowidget-h, 560px) !important;
	max-height: none !important;
	border: 1px solid #00000014;
	border-radius: 8px;
	overflow: hidden;
	pointer-events: auto;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
}

.rso-inpost-geowidget-wrap.is-locker-selected {
	border-color: #afd643;
}

.rso-inpost-selected-point {
	margin: 0.75rem 0 0;
	padding: 0.65rem 0.85rem;
	background: #fafcf0;
	border: 1px solid #afd643;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}

.rso-inpost-selected-point:not([hidden]) {
	display: block;
	animation: rso-locker-selected 0.25s ease;
}

@keyframes rso-locker-selected {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.rso-inpost-plugin-output,
.rso-inpost-widget,
.rso-inpost-widget-inner {
	overflow: visible;
	position: relative;
}

.rso-inpost-plugin-output:has(.rso-inpost-geowidget-wrap:not([hidden])) .open-geowidget,
.rso-inpost-plugin-output:has(.rso-inpost-geowidget-wrap:not([hidden])) .inpost-pl-button-select-point,
.rso-inpost-plugin-output:has(.rso-inpost-geowidget-wrap:not([hidden])) button[class*="inpost-pl"] {
	display: none !important;
	pointer-events: none !important;
}

/* Customer form — step 3 (nadpisanie stylów kontakt.html) */
.rso-checkout-page .form-row,
.rso-multistep-checkout .form-row {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 1rem !important;
	padding: 0 !important;
	gap: 0 !important;
	clear: both !important;
	box-sizing: border-box !important;
}

.rso-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 100%;
}

.rso-multistep-checkout .rso-step[data-step="3"] {
	width: 100%;
	max-width: 100%;
}

.rso-customer-details__section {
	background: #fff;
	border: 1px solid #00000014;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
}

.rso-customer-details__section--shipping .shipping_address {
	margin-top: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid #0000000f;
}

.rso-multistep-checkout .woocommerce-billing-fields > h3,
.rso-multistep-checkout .woocommerce-shipping-fields > h3 {
	display: none;
}

.rso-multistep-checkout .rso-step[data-step="3"] .woocommerce-billing-fields__field-wrapper,
.rso-multistep-checkout .rso-step[data-step="3"] .woocommerce-shipping-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 1rem !important;
	row-gap: 0 !important;
	width: 100% !important;
}

.rso-multistep-checkout .rso-step[data-step="3"] .form-row-wide,
.rso-multistep-checkout .rso-step[data-step="3"] #billing_email_field,
.rso-multistep-checkout .rso-step[data-step="3"] #billing_phone_field,
.rso-multistep-checkout .rso-step[data-step="3"] #billing_address_1_field,
.rso-multistep-checkout .rso-step[data-step="3"] #billing_address_2_field,
.rso-multistep-checkout .rso-step[data-step="3"] #shipping_address_1_field,
.rso-multistep-checkout .rso-step[data-step="3"] #shipping_address_2_field,
.rso-multistep-checkout .rso-step[data-step="3"] #order_comments_field {
	grid-column: 1 / -1 !important;
}

.rso-multistep-checkout .rso-step[data-step="3"] .form-row-first,
.rso-multistep-checkout .rso-step[data-step="3"] .form-row-last {
	width: auto !important;
	display: block !important;
	margin-right: 0 !important;
}

.rso-multistep-checkout .form-row label,
.rso-multistep-checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.rso-multistep-checkout .form-row label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #2b2d2f;
}

.rso-multistep-checkout .form-row .input-text,
.rso-multistep-checkout .form-row select,
.rso-multistep-checkout .form-row textarea {
	width: 100% !important;
	max-width: 100% !important;
	height: 46px;
	padding: 0 0.75rem;
	border: 1px solid #00000029;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fff;
}

.rso-multistep-checkout .form-row textarea {
	height: auto;
	min-height: 90px;
	padding: 0.65rem 0.75rem;
}

.rso-multistep-checkout .form-row .optional {
	display: none;
}

.rso-multistep-checkout #ship-to-different-address {
	margin: 0;
	padding: 0;
}

.rso-multistep-checkout #ship-to-different-address label {
	display: flex !important;
	align-items: center;
	gap: 0.65rem;
	font-weight: 600;
	cursor: pointer;
	font-size: 15px;
}

.rso-multistep-checkout #ship-to-different-address-checkbox {
	width: 18px;
	height: 18px;
	accent-color: #afd643;
	margin: 0;
}

.rso-multistep-checkout .rso-shipping-heading {
	margin-top: 0;
}

/* InPost — mapa / przycisk pod metodą Paczkomat */
.rso-shipping-method {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.rso-shipping-method .rso-inpost-rate-extra,
.rso-shipping-method .easypack-shipping-method-logo,
.rso-shipping-method .inpost-pl-shipping-method,
.rso-shipping-method .inpost-geowidget-wrapper,
.rso-shipping-method inpost-geowidget,
.rso-shipping-method .open-geowidget,
.rso-shipping-method button[class*="inpost"],
.rso-shipping-method button[class*="easypack"],
.rso-shipping-method div[class*="inpost"],
.rso-shipping-method div[class*="easypack"] {
	width: 100%;
	max-width: 100%;
}

.rso-shipping-method--paczkomat:has(input:checked) .rso-inpost-rate-extra,
.rso-shipping-method--paczkomat:has(input:checked) [class*="inpost"],
.rso-shipping-method--paczkomat:has(input:checked) [class*="easypack"],
.rso-shipping-method--paczkomat:has(input:checked) inpost-geowidget {
	display: block;
}

.rso-shipping-method inpost-geowidget,
.rso-inpost-widget-inner inpost-geowidget,
.rso-inpost-geowidget-wrap inpost-geowidget {
	display: block;
	width: 100%;
	height: 560px;
	min-height: 560px;
	border: 1px solid #00000014;
	border-radius: 8px;
	overflow: hidden;
}

.rso-shipping-method .open-geowidget,
.rso-shipping-method button[class*="geowidget"],
.rso-shipping-method .inpost-pl-button-select-point {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0.75rem 0 0 2.35rem;
	padding: 0.65rem 1.1rem;
	background: #111;
	color: #fff;
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.rso-shipping-method:not(:has(input:checked)) .rso-inpost-rate-extra,
.rso-shipping-method:not(:has(input:checked)) inpost-geowidget,
.rso-shipping-method:not(:has(input:checked)) [class*="geowidget"]:not(label) {
	display: none !important;
}

/* Payment — bez kropek, styl jak dostawa */
#rso-payment-mount .woocommerce-checkout-payment,
.rso-checkout-submit-area .woocommerce-checkout-payment {
	background: transparent;
	border: none;
	padding: 0;
}

#rso-payment-mount #payment,
#rso-payment-mount #payment .payment_methods,
#rso-payment-mount #payment .payment_methods li,
#rso-payment-mount ul.payment_methods,
#rso-payment-mount ul.wc_payment_methods,
.rso-checkout-submit-area #payment .payment_methods,
.rso-checkout-submit-area #payment .payment_methods li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
}

#rso-payment-mount #payment .payment_methods li::marker,
#rso-payment-mount ul.payment_methods li::marker {
	content: none !important;
	display: none !important;
}

#rso-payment-mount .payment_methods {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

#rso-payment-mount .payment_methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem !important;
	border: 2px solid #0000001a !important;
	border-radius: 8px;
	background: #fff !important;
	overflow: hidden;
	transition: 0.2s;
}

#rso-payment-mount .payment_methods > li:has(input:checked) {
	border-color: #afd643 !important;
	background: #fafcf0 !important;
}

#rso-payment-mount .payment_methods > li > label {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 0.5rem;
	cursor: pointer;
	padding: 0;
	border: none;
	font-weight: 600;
	margin: 0;
	min-width: 0;
}

#rso-payment-mount .payment_methods > li > input[type="radio"] {
	margin: 0;
	flex-shrink: 0;
	accent-color: #afd643;
	width: 18px;
	height: 18px;
	position: static;
	opacity: 1;
	pointer-events: auto;
}

#rso-payment-mount .payment_methods > li > label::before {
	display: none;
}

#rso-payment-mount .payment_box {
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid #00000014;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
}

#rso-payment-mount .payment_methods li label img {
	max-height: 24px;
	width: auto;
	margin-left: auto;
}

.rso-order-review-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	left: 0 !important;
	top: auto !important;
}

.rso-shipping-methods-wrap--wc-native #shipping_method {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.rso-shipping-methods-wrap--wc-native #shipping_method > li {
	list-style: none !important;
}

.rso-inpost-plugin-mount {
	margin-top: 1rem;
}

.rso-inpost-plugin-mount:not([hidden]) inpost-geowidget,
.rso-inpost-plugin-mount:not([hidden]) .open-geowidget,
.rso-inpost-plugin-mount:not([hidden]) [class*="inpost"],
.rso-inpost-plugin-mount:not([hidden]) [class*="easypack"] {
	display: block;
	width: 100%;
	max-width: 100%;
}

.rso-inpost-plugin-mount inpost-geowidget {
	min-height: 420px;
	border: 1px solid #00000014;
	border-radius: 8px;
}

.rso-order-review-hidden .shop_table,
.rso-order-review-hidden .payment_methods {
	/* keep in DOM for WC JS */
}

.rso-checkout-submit-area {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	margin-top: 1.5rem;
}

.rso-checkout-submit-area .place-order {
	margin: 0;
	padding: 0;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper,
.rso-checkout-submit-area .rso-checkout-terms {
	margin: 0;
	padding: 1.15rem 1.2rem 1.3rem;
	background: #f9f9f9;
	border: 1px solid #00000014;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.55;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper p,
.rso-checkout-submit-area .rso-checkout-terms p {
	margin: 0 0 1rem;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper p:last-child,
.rso-checkout-submit-area .rso-checkout-terms p:last-child {
	margin-bottom: 0;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper .form-row,
.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper p.form-row {
	margin-top: 0.15rem;
	padding-top: 1rem;
	border-top: 1px solid #00000012;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper label,
.rso-checkout-submit-area .rso-checkout-terms label,
.rso-checkout-submit-area .form-row.validate-required label {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

.rso-checkout-submit-area #terms,
.rso-checkout-submit-area #rso_accept_terms,
.rso-checkout-submit-area .woocommerce-form__input-checkbox {
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	margin: 2px 0 0 !important;
	flex-shrink: 0;
	accent-color: #afd643;
	cursor: pointer;
	position: static !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.rso-checkout-submit-area .woocommerce-terms-and-conditions-link {
	font-weight: 600;
	color: inherit;
}

.rso-checkout-submit-area #place_order {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0.9rem 1.25rem;
	background: #afd643;
	color: #111;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.rso-checkout-submit-area #place_order:hover {
	background: #9fc238;
}

/* Final review */
.rso-final-review__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.rso-final-review__block {
	padding: 1rem;
	background: #f9f9f9;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.rso-final-review__block h4 {
	margin: 0 0 0.5rem;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
	text-align: center;
	padding: 2rem;
}

/* cart-empty + return-to-shop — woocommerce-notices.css */

/* Mobile — cart & checkout */
@media (max-width: 990px) {
	.rso-checkout-page {
		padding-top: 1rem;
		margin-bottom: 1.5rem;
	}

	.kontent_page .rso-checkout-page {
		width: 100%;
		max-width: 100%;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		box-sizing: border-box;
	}

	.rso-checkout-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		overflow-x: clip;
	}

	.rso-order-summary {
		position: static;
		order: -1;
		padding: 1rem 1.1rem;
		border-radius: 10px;
		box-shadow: 0 2px 12px #0000000a;
	}

	.rso-order-summary__title {
		font-size: 16px;
		margin-bottom: 0.75rem;
	}

	.rso-order-summary__items {
		max-height: none;
	}

	.rso-order-summary__item {
		grid-template-columns: 48px 1fr auto;
		gap: 0.5rem;
		padding: 0.55rem 0;
	}

	.rso-order-summary__item-thumb img {
		width: 48px;
		height: 48px;
	}

	.rso-order-summary__row--total {
		font-size: 18px;
	}

	.rso-free-shipping-notice {
		font-size: 13px;
		padding: 0.75rem 0.85rem;
		margin-bottom: 1rem;
	}

	/* Progress bar — pełna szerokość, linie między krokami */
	.rso-checkout-progress {
		margin-bottom: 1rem;
		padding: 0.85rem 0.65rem 0.75rem;
		background: #fff;
		border: 1px solid #00000014;
		border-radius: 10px;
		overflow: hidden;
		max-width: 100%;
	}

	.rso-checkout-progress__list {
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		min-width: 0;
		gap: 0;
		justify-content: space-between;
		align-items: flex-start;
	}

	.rso-checkout-progress__item {
		flex: 1 1 0;
		min-width: 0;
		flex-direction: column;
		align-items: center;
		position: relative;
	}

	.rso-checkout-progress__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 15px;
		left: calc(50% + 16px);
		width: calc(50% - 16px);
		height: 2px;
		background: #ddd;
		z-index: 0;
		pointer-events: none;
	}

	.rso-checkout-progress__item.is-complete:not(:last-child)::after {
		background: #afd643;
	}

	.rso-checkout-progress__link {
		position: relative;
		z-index: 1;
		padding: 0;
		gap: 0.4rem;
		width: 100%;
	}

	.rso-checkout-progress__label-full {
		display: none;
	}

	.rso-checkout-progress__label-short {
		display: block;
	}

	.rso-checkout-progress__label {
		font-size: 10px;
		max-width: none;
		width: 100%;
		line-height: 1.2;
		text-align: center;
		padding: 0 1px;
	}

	.rso-checkout-progress__number {
		width: 32px;
		height: 32px;
		font-size: 13px;
		box-shadow: 0 0 0 3px #fff;
	}

	.rso-checkout-progress__separator {
		display: none;
	}

	/* Koszyk — karty produktów */
	.rso-cart-table {
		display: block;
		width: 100%;
		max-width: 100%;
		border: 0;
		margin-bottom: 0.75rem;
	}

	.rso-cart-table tbody {
		display: block;
		width: 100%;
	}

	.rso-cart-table thead {
		display: none;
	}

	.rso-cart-table tbody tr.cart_item {
		display: grid;
		grid-template-columns: 80px 1fr;
		gap: 0.35rem 0.85rem;
		padding: 1rem;
		margin-bottom: 0.75rem;
		background: #fff;
		border: 1px solid #00000014;
		border-radius: 10px;
		position: relative;
	}

	.rso-cart-table tbody tr:not(.cart_item) {
		display: block;
		border: 0;
		padding: 0;
	}

	.rso-cart-table .product-thumbnail {
		grid-column: 1;
		grid-row: 1 / 5;
		align-self: start;
	}

	.rso-cart-table .product-thumbnail img {
		width: 80px;
		height: 80px;
		border-radius: 8px;
	}

	.rso-cart-table .product-name {
		grid-column: 2;
		grid-row: 1;
		padding: 0;
		padding-right: 2rem;
		font-weight: 600;
		font-size: 15px;
		line-height: 1.35;
		border: 0;
		display: block;
	}

	.rso-cart-table .product-name::before {
		display: none;
	}

	.rso-cart-table .product-remove {
		position: absolute;
		top: 0.65rem;
		right: 0.65rem;
		padding: 0;
		border: 0;
	}

	.rso-cart-table .product-remove::before {
		display: none;
	}

	.rso-cart-table .product-price {
		grid-column: 2;
		grid-row: 2;
	}

	.rso-cart-table .product-quantity {
		grid-column: 2;
		grid-row: 3;
	}

	.rso-cart-table .product-subtotal {
		grid-column: 2;
		grid-row: 4;
	}

	.rso-cart-table .product-price,
	.rso-cart-table .product-quantity,
	.rso-cart-table .product-subtotal {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.2rem 0;
		border: 0;
		font-size: 14px;
	}

	.rso-cart-table .product-price::before,
	.rso-cart-table .product-quantity::before,
	.rso-cart-table .product-subtotal::before {
		content: attr(data-title);
		font-weight: 600;
		font-size: 12px;
		color: #777;
		text-transform: uppercase;
		letter-spacing: 0.02em;
	}

	.rso-cart-table .product-subtotal {
		font-weight: 700;
		font-size: 15px;
		padding-top: 0.35rem;
		margin-top: 0.15rem;
		border-top: 1px dashed #00000014;
	}

	.rso-cart-table .product-quantity .qty {
		width: 72px;
		height: 44px;
		font-size: 16px;
		border-radius: 6px;
	}

	.rso-cart-table .actions {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
		padding: 0.75rem 0 0;
		border: 0;
	}

	.rso-cart-table .actions .rso-btn--update-cart {
		width: 100%;
		min-height: 44px;
		font-size: 14px;
	}

	.rso-order-summary__coupon {
		margin-top: 0.65rem;
		padding: 0.75rem 0.85rem;
	}

	.rso-coupon-field__input,
	.rso-coupon-field__submit {
		height: 46px;
		font-size: 16px;
	}

	.rso-cart-actions {
		flex-direction: column;
		gap: 0.65rem;
		margin-top: 0.5rem;
	}

	.rso-cart-actions .rso-btn {
		width: 100%;
		min-height: 50px;
		font-size: 16px;
	}

	/* Checkout — kroki */
	.rso-step-title {
		font-size: 20px;
		margin-bottom: 1rem;
	}

	.rso-step-heading {
		font-size: 15px;
	}

	.rso-shipping-method label {
		padding: 0.9rem 0.85rem;
	}

	.rso-shipping-method input[type="radio"] {
		width: 20px;
		height: 20px;
	}

	.rso-shipping-method__label {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.rso-shipping-method__cost {
		font-size: 15px;
	}

	#rso-payment-mount .payment_methods > li {
		padding: 0.9rem 0.85rem !important;
	}

	#rso-payment-mount .payment_methods > li > input[type="radio"] {
		width: 20px;
		height: 20px;
	}

	.rso-inpost-geowidget-wrap {
		--rso-geowidget-h: 540px;
	}

	.rso-inpost-geowidget-wrap inpost-geowidget,
	.rso-inpost-geowidget-fallback inpost-geowidget,
	#rso-inpost-geowidget {
		height: var(--rso-geowidget-h, 540px) !important;
		min-height: var(--rso-geowidget-h, 540px) !important;
	}

	.rso-customer-details__section {
		padding: 1rem 1.1rem;
		border-radius: 10px;
	}

	.rso-multistep-checkout .rso-step[data-step="3"] .woocommerce-billing-fields__field-wrapper,
	.rso-multistep-checkout .rso-step[data-step="3"] .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.rso-multistep-checkout .rso-step[data-step="3"] .form-row-first,
	.rso-multistep-checkout .rso-step[data-step="3"] .form-row-last {
		grid-column: 1 / -1;
	}

	.rso-multistep-checkout .form-row-first,
	.rso-multistep-checkout .form-row-last {
		width: 100%;
		display: block;
		margin-right: 0;
	}

	.rso-multistep-checkout input.input-text,
	.rso-multistep-checkout select,
	.rso-multistep-checkout textarea {
		font-size: 16px;
		min-height: 46px;
		border-radius: 6px;
	}

	.rso-final-review__grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.rso-final-review__block {
		padding: 0.85rem 1rem;
	}

	.rso-step-nav {
		position: sticky;
		bottom: 0;
		z-index: 30;
		flex-direction: column-reverse;
		gap: 0.65rem;
		margin: 1.25rem 0 0;
		padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(to top, #fff 75%, #ffffff00);
		border-top: 0;
	}

	.rso-inpost-geowidget-wrap,
	.rso-inpost-plugin-output,
	.rso-inpost-widget,
	.rso-inpost-widget-inner,
	.rso-coupon-field,
	.rso-multistep-checkout {
		max-width: 100%;
		min-width: 0;
	}

	.rso-step-nav .rso-btn {
		width: 100%;
		min-height: 50px;
		font-size: 16px;
		flex: none;
	}

	.rso-checkout-submit-area {
		gap: 1.5rem;
		margin-top: 1.25rem;
		margin-bottom: 0.25rem;
	}

	.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper,
	.rso-checkout-submit-area .rso-checkout-terms {
		padding: 1.1rem 1rem 1.2rem;
	}

	.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper p,
	.rso-checkout-submit-area .rso-checkout-terms p {
		margin-bottom: 1.05rem;
	}

	.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper .form-row,
	.rso-checkout-submit-area .woocommerce-terms-and-conditions-wrapper p.form-row {
		padding-top: 1.1rem;
	}

	.rso-multistep-checkout .rso-step[data-step="4"] .rso-step-nav {
		margin-top: 1.5rem;
		padding-top: 1.25rem;
	}

	.rso-checkout-submit-area #place_order {
		min-height: 52px;
		font-size: 17px;
		padding: 1rem 1.25rem;
	}

	.rso-checkout-page--thankyou {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

@media (max-width: 640px) {
	.rso-checkout-progress__label {
		font-size: 9px;
	}

	.rso-checkout-progress__number {
		width: 30px;
		height: 30px;
		font-size: 12px;
	}

	.rso-checkout-progress__item:not(:last-child)::after {
		top: 14px;
		left: calc(50% + 15px);
		width: calc(50% - 15px);
	}

	.rso-cart-table tbody tr.cart_item {
		grid-template-columns: 68px 1fr;
		padding: 0.85rem;
	}

	.rso-cart-table .product-thumbnail img {
		width: 68px;
		height: 68px;
	}

	.rso-inpost-geowidget-wrap {
		--rso-geowidget-h: 560px;
	}

	.rso-inpost-geowidget-wrap inpost-geowidget,
	.rso-inpost-geowidget-fallback inpost-geowidget,
	#rso-inpost-geowidget {
		height: var(--rso-geowidget-h, 560px) !important;
		min-height: var(--rso-geowidget-h, 560px) !important;
	}

	.rso-step-title {
		font-size: 18px;
	}
}

@media (min-width: 991px) {
	.rso-checkout-page {
		max-width: 93%;
		margin-left: auto;
		margin-right: auto;
		padding-top: 3rem;
		margin-top: 1rem;
	}
}

/* Thank you / order received */
.rso-checkout-page--thankyou {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.rso-thankyou {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.rso-thankyou-hero {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem 1.75rem;
	border-radius: 10px;
	border: 1px solid transparent;
	background: #fff;
}

.rso-thankyou-hero--success {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.rso-thankyou-hero--pending {
	background: #fffbeb;
	border-color: #fde68a;
}

.rso-thankyou-hero--failed,
.rso-thankyou-hero--cancelled {
	background: #fef2f2;
	border-color: #fecaca;
}

.rso-thankyou-hero__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	background: #fff;
	border: 2px solid currentColor;
}

.rso-thankyou-hero--success .rso-thankyou-hero__icon {
	color: #16a34a;
}

.rso-thankyou-hero--pending .rso-thankyou-hero__icon {
	color: #d97706;
}

.rso-thankyou-hero--failed .rso-thankyou-hero__icon,
.rso-thankyou-hero--cancelled .rso-thankyou-hero__icon {
	color: #dc2626;
}

.rso-thankyou-hero__title {
	margin: 0 0 0.35rem;
	font-size: 24px;
	font-weight: 800;
	color: #111;
	line-height: 1.2;
}

.rso-thankyou-hero__subtitle {
	margin: 0 0 0.5rem;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
}

.rso-thankyou-hero__meta {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.rso-thankyou-content {
	background: #fff;
	border: 1px solid #00000014;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
}

.rso-thankyou-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
	list-style: none !important;
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
}

.rso-thankyou-overview li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem 1rem;
	background: #f9f9f9;
	border: 1px solid #0000000f;
	border-radius: 8px;
	font-size: 13px;
	color: #666;
	margin: 0 !important;
}

.rso-thankyou-overview li strong {
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.rso-thankyou-payment-status {
	margin: 0 0 1.25rem;
	padding: 1.5rem;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	text-align: center;
}

.rso-thankyou-payment-status:empty {
	display: none;
}

.rso-thankyou-payment-status h1,
.rso-thankyou-payment-status h2,
.rso-thankyou-payment-status h3,
.rso-thankyou-payment-status h4,
.rso-thankyou-payment-status strong {
	font-size: 16px;
	font-weight: 700;
	color: #92400e;
	margin: 0 0 0.75rem;
	text-transform: none;
	letter-spacing: 0;
}

.rso-thankyou-payment-status p {
	margin: 0 0 0.75rem;
	font-size: 14px;
	line-height: 1.55;
	color: #444;
}

.rso-thankyou-payment-status img[src*="loader"],
.rso-thankyou-payment-status .loader,
.rso-thankyou-payment-status [class*="spinner"],
.rso-thankyou-payment-status [class*="loading"] {
	margin: 0.75rem auto;
}

.rso-thankyou-alert {
	padding: 1rem 1.15rem;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.rso-thankyou-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.rso-thankyou-alert__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.rso-thankyou-content .woocommerce-order-details,
.rso-thankyou-content .woocommerce-customer-details {
	margin-top: 1.25rem;
}

.rso-thankyou-content .woocommerce-order-details__title,
.rso-thankyou-content .woocommerce-column__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #111;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.rso-thankyou-content .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 0;
}

.rso-thankyou-content .woocommerce-table--order-details .product-name,
.rso-thankyou-content .woocommerce-table--order-details .product-name a,
.rso-thankyou-content .woocommerce-table--order-details .woocommerce-table__product-name a {
	color: #111 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	text-decoration: none !important;
	visibility: visible !important;
}

.rso-thankyou-content .woocommerce-table--order-details .product-name a:hover {
	text-decoration: underline !important;
}

.rso-thankyou-content .woocommerce-table--order-details .product-quantity {
	display: inline-block;
	margin-left: 0.35rem;
	font-weight: 600;
	color: #666;
}

.rso-thankyou-content .woocommerce-table--order-details th,
.rso-thankyou-content .woocommerce-table--order-details td {
	padding: 0.75rem 0.85rem;
	border-bottom: 1px solid #0000000f;
	vertical-align: top;
}

.rso-thankyou-content .woocommerce-table--order-details thead th {
	background: #f9f9f9;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.03em;
}

.rso-thankyou-content .woocommerce-table--order-details tfoot th,
.rso-thankyou-content .woocommerce-table--order-details tfoot td {
	font-weight: 600;
}

.rso-thankyou-content .woocommerce-customer-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.rso-thankyou-content .woocommerce-customer-details .woocommerce-column {
	background: #f9f9f9;
	border: 1px solid #0000000f;
	border-radius: 8px;
	padding: 1rem 1.15rem;
}

.rso-thankyou-content .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.55;
	font-size: 14px;
	margin: 0;
}

.rso-thankyou-content a.button,
.rso-thankyou-content .woocommerce-button,
.rso-thankyou-content .pay,
.rso-thankyou-content .cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	margin: 0.25rem 0.35rem 0.25rem 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	border: 2px solid #111;
	background: #111;
	color: #fff !important;
}

.rso-thankyou-content a.cancel,
.rso-thankyou-content .button.cancel {
	background: #fff;
	color: #111 !important;
}

.rso-thankyou-content mark {
	background: #fafcf0;
	border: 1px solid #afd643;
	border-radius: 4px;
	padding: 0.15rem 0.4rem;
	font-weight: 700;
}

.rso-thankyou-footer {
	display: flex;
	justify-content: flex-start;
	padding-top: 0.5rem;
}

@media (max-width: 990px) {
	.rso-thankyou-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.rso-thankyou-hero__title {
		font-size: 20px;
	}

	.rso-thankyou-content .woocommerce-customer-details {
		grid-template-columns: 1fr;
	}

	.rso-thankyou-overview {
		grid-template-columns: 1fr 1fr;
	}
}
