/* ===== Checkout Layout ===== */
.rp-checkout-section-details .col-12 {
	padding: 0;
}

.rp-multistep-checkout-wrapper label.form-label.required_field {
	width: 100%;
}

.rp-multistep-checkout-wrapper input#billing_first_name {
	width: 100%;
}

.rp-multistep-checkout-wrapper span.woocommerce-input-wrapper {
	width: 100%;
}

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 60% 38%;
	gap: 40px;
	align-items: start;
}

/* Left section */
.woocommerce-checkout .col2-set {
	width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}

/* Right section (Order review) */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
	width: 100%;
}

/* Billing fields styling */
.woocommerce-checkout .form-row {
	margin-bottom: 15px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	width: 100%;
}

/* Headings */
.woocommerce-checkout h3 {
	font-size: 20px;
	margin-bottom: 15px;
}

/* Place order button */
.woocommerce-checkout #place_order {
	width: 100%;
	background: #38a63b;
	border: none;
	padding: 14px;
	font-size: 16px;
	border-radius: 4px;
}

.woocommerce-checkout #place_order:hover {
	background: #2e8b32;
}

/* Order table */
.woocommerce-checkout-review-order-table {
	background: #fff;
	border: 1px solid #e5e5e5;
}

/* ===== Responsive ===== */

@media (max-width: 980px) {

	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.woocommerce-checkout #order_review {
		order: 2;
	}

	.woocommerce-checkout .col2-set {
		order: 1;
	}

}

.rp-multistep-checkout-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.rp-checkout-branding {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 16px;
}

.rp-checkout-logo {
	max-height: 48px;
	width: auto;
}

.rp-checkout-site-title {
	font-size: 22px;
	font-weight: 700;
}

.rp-checkout-progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	position: relative;
}

.rp-checkout-progress::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background: #eee;
	z-index: 0;
}

.rp-step {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	position: relative;
	z-index: 1;
}

.rp-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #ccc;
	color: #777;
	font-weight: 600;
	font-size: 14px;
	background: #fff;
}

.rp-step-label {
	font-size: 14px;
	font-weight: 600;
	color: #555;
}

.rp-step-complete .rp-step-number {
	border-color: #28a745;
	background: #28a745;
	color: #fff;
}

.rp-step-complete .rp-step-label {
	color: #222;
}

.rp-step-active .rp-step-number {
	border-color: #2c7be5;
	background: #2c7be5;
	color: #fff;
}

.rp-step-active .rp-step-label {
	color: #222;
}

.rp-section-heading {
	margin-top: 0;
	margin-bottom: 20px;
}

.rp-checkout-section {
	margin-bottom: 30px;
}

.rp-checkout-benefits {
	margin-top: 24px;
	border-top: 1px solid #eee;
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rp-checkout-benefit {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.rp-checkout-benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5ff;
	color: #2c7be5;
	font-size: 16px;
}

.rp-checkout-benefit-text strong {
	display: block;
	font-size: 14px;
}

.rp-checkout-benefit-text span {
	display: block;
	font-size: 13px;
	color: #555;
}

.rp-icon-warranty::before {
	content: "✓";
}

.rp-icon-returns::before {
	content: "↺";
}

.rp-icon-shipping::before {
	content: "✈";
}

@media (max-width: 768px) {
	.rp-checkout-progress {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.rp-checkout-progress::before {
		display: none;
	}

	.rp-checkout-section {
		margin-bottom: 24px;
	}
}
