/* Roalds checkout UX — scoped to WooCommerce cart and checkout. */

.rt-checkout-progress {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 24px;
	color: #5d6068;
	font-size: 14px;
}

.rt-checkout-progress > span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-bottom: 3px solid #d9d9d9;
}

.rt-checkout-progress > span > span {
	display: inline-grid;
	place-items: center;
	flex: 0 0 26px;
	height: 26px;
	border-radius: 50%;
	background: #e5e5e5;
	font-weight: 700;
}

.rt-checkout-progress .is-complete,
.rt-checkout-progress .is-current {
	color: #141722;
	border-color: #d7a832;
}

.rt-checkout-progress .is-complete > span,
.rt-checkout-progress .is-current > span {
	background: #d7a832;
	color: #141722;
}

.rt-payment-heading {
	margin: 4px 0 16px !important;
	font-size: 22px !important;
}

.rt-terms-summary {
	margin: 16px 0;
	padding: 16px 18px;
	border-left: 4px solid #d7a832;
	background: #f6f4ee;
	color: #252832;
}

.rt-terms-summary strong {
	display: block;
	margin-bottom: 7px;
}

.rt-terms-summary ul {
	margin: 0 0 8px 20px;
	padding: 0;
}

.rt-terms-summary a {
	font-weight: 700;
}

/* The final total is sufficient when there is no separate shipping line. */
.woocommerce-cart .cart_totals .cart-subtotal,
.woocommerce-checkout-review-order-table .cart-subtotal {
	display: none;
}

/* Coupon and gift card redemption stay available once, in checkout. */
.woocommerce-cart .woocommerce-cart-form .coupon,
.woocommerce-cart #pwgc-redeem-gift-card-form {
	display: none !important;
}

.woocommerce-checkout .e-coupon-box,
.woocommerce-checkout #pwgc-redeem-gift-card-form {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid #dedbd2;
	border-radius: 3px;
	background: #fff;
}

.woocommerce-checkout #pwgc-redeem-gift-card-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
}

/* Remove the unrelated sales CTA while the customer is completing an order. */
.woocommerce-cart header .elementor-widget-button a[href*="/pamelding/"],
.woocommerce-checkout header .elementor-widget-button a[href*="/pamelding/"] {
	display: none !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions {
	display: none !important;
}

.woocommerce-checkout .rt-invalid-row input,
.woocommerce-checkout .rt-invalid-row select,
.woocommerce-checkout .rt-invalid-row textarea,
.woocommerce-checkout [data-rt-invalid="true"] {
	border-color: #b42318 !important;
	box-shadow: 0 0 0 1px #b42318;
}

.rt-field-error {
	display: block;
	margin-top: 5px;
	color: #b42318;
	font-size: 14px;
	font-weight: 600;
}

.rt-checkout-error {
	border-top-color: #b42318 !important;
}

.rt-cart-toast {
	position: fixed;
	z-index: 100000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #141722;
	color: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.rt-cart-toast a {
	flex: 0 0 auto;
	color: #141722;
	background: #d7a832;
	padding: 9px 12px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 767px) {
	.rt-checkout-progress {
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 18px;
	}

	.rt-checkout-progress > span {
		padding: 8px 4px;
		border-bottom-width: 1px;
	}

	.rt-checkout-progress > span > span {
		flex-basis: 24px;
		height: 24px;
	}

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

	.woocommerce-checkout input.input-text,
	.woocommerce-checkout select,
	.woocommerce-checkout textarea,
	.woocommerce-cart input.input-text {
		min-height: 48px;
		font-size: 16px !important;
	}

	.woocommerce-checkout label,
	.woocommerce-cart label {
		line-height: 1.4;
	}

	.woocommerce-checkout #place_order,
	.woocommerce-cart .checkout-button {
		min-height: 52px;
		font-size: 17px !important;
	}
}