.woocommerce-checkout header.et-l--header{
    display: none !important;
}
.woocommerce-checkout .checkout .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
	width: 100%;
}
.woocommerce .checkout.woocommerce-checkout .woocommerce-error a, .woocommerce .checkout.woocommerce-checkout .woocommerce-info a, 
.woocommerce .checkout.woocommerce-checkout .woocommerce-message a {
    display: inline-block;
    font-size: 15px;
    background: transparent !important;
    padding: 0 !important;
    color: var(--wc-red) !important;
}
#CustomCheckoutForm .woocommerce form .address-field abbr.required {
    display: none;
}
.woocommerce-billing-fields__field-wrapper .form-row.woocommerce-invalid label,
.woocommerce-shipping-fields__field-wrapper .form-row.woocommerce-invalid label {
    font-weight: 600;
}
.woocommerce-additional-fields__field-wrapper textarea#order_comments {
    border-radius: 0;
    height: 80px;
    border: 0;
    background: #eeeeee;
}
.rp_secure-checkout {
    column-gap: 20px;
}
.rp_secure-checkout-title {
    font-size: 30px;
}
.rp_secure-checkout-title img {
    width: 25px;
    margin-right: 15px;
}
.rp_secure-checkout-logo img {
    max-height: 60px;
    display: block;
}
/* Left section */
.rp-multistep-checkout-wrapper .rp-single-page-checkout {
    flex-wrap: wrap;
}
.woocommerce-checkout .col2-set {
	width: 100%;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}
.rp-checkout-section.rp-checkout-section-details {
    width: 60%;
    padding-right: 30px;
}

/* Right section (Order review) */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
	width: 100%;
}
.rp-checkout-section .woocommerce-checkout-review-order table.shop_table td, 
.rp-checkout-section .woocommerce-checkout-review-order table.shop_table th {
	padding-inline: 5PX;
}
.rp-checkout-section .shop_table .order-total td:last-child {
    text-align: right;
}
.rp-checkout-section.rp-checkout-section-review {
    width: 40%;
}
.rp-checkout-section .woocommerce-checkout-review-order > a {
    margin-inline: 0 8px;
    text-transform: capitalize;
}
.woocommerce-shipping-methods .card-body.font-weight-normal {
    padding: 10px;
}
.woocommerce-checkout #use_my_shipper_row td {
    padding-inline: 0;
}
.woocommerce-checkout #use_my_shipper_row select, .woocommerce-checkout #use_my_shipper_row input, .woocommerce-checkout #use_my_shipper_row textarea {
    width: 100% !important;
    margin-inline: 0 !important;
}
/* 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;
}

.form-row.place-order .text-right {
	display: flex;
	align-items: center;
	margin-left: 8px;
}

#order_review b {
	display: block;
}

form.woocommerce-form.woocommerce-form-login.login label {
	display: block;
	width: 100%;
}

form.woocommerce-form.woocommerce-form-login.login .password-input {
	width: 100%;
}

.woocommerce-checkout .woocommerce table.shop_table tfoot tr:first-child th {
	border-top: 1px solid rgba(0, 0, 0, .1) !important;
}

.woocommerce-checkout .woocommerce table.shop_table tfoot tr:first-child th {
	background: #1f5289;
	color: #fff;
}

.woocommerce-checkout table.shop_table tfoot tr:first-child td,
.woocommerce-checkout table.shop_table tfoot tr:first-child th {
	border-top: 1px solid rgba(0, 0, 0, .1) !important;
}

.woocommerce-checkout table.shop_table tr.cart-subtotal {
	background-color: #1f5289;
	color: #fff;
}

.woocommerce-checkout table.shop_table tr.cart-subtotal>th {
	color: #fff;
}

/* Place order button */
.woocommerce-checkout #place_order {
	width: auto;
	background-color: #1f5289;
	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;
}

.woocommerce-checkout-review-order .woocommerce-checkout-review-order-table>b {
	display: block
}

.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: 50px;
	height: 50px;
	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: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	background: url("/wp-content/uploads/2026/03/guarantee.png") no-repeat center;
	background-size: contain;
}

.rp-icon-shipping::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	background: url("/wp-content/uploads/2026/03/fast.png") no-repeat center;
	background-size: contain;
}

.rp-icon-returns::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	background: url("/wp-content/uploads/2026/03/commercial.png") no-repeat center;
	background-size: contain;
}

/* ===== Checkout Layout ===== */
.woocommerce-billing-fields__field-wrapper label.form-label.required_field,
.shipping_address label.form-label.required_field {
	width: 100%;
}

.woocommerce-billing-fields__field-wrapper .form-row:not(#kl_newsletter_checkbox_field) .woocommerce-input-wrapper input,
.shipping_address .form-row:not(#kl_newsletter_checkbox_field) .woocommerce-input-wrapper input {
	width: 100%;
	padding: 10px 16px !important;
	border: 1px solid transparent;
}

.woocommerce-billing-fields__field-wrapper .form-row:not(#kl_newsletter_checkbox_field) span.woocommerce-input-wrapper,
.shipping_address .form-row:not(#kl_newsletter_checkbox_field) span.woocommerce-input-wrapper {
	width: 100%;
}
.woocommerce-billing-fields__field-wrapper .form-row.woocommerce-invalid input.input-text, 
.woocommerce-billing-fields__field-wrapper .form-row.woocommerce-invalid select,
.woocommerce-shipping-fields__field-wrapper .form-row.woocommerce-invalid input.input-text,
.woocommerce-shipping-fields__field-wrapper .form-row.woocommerce-invalid select {
	border-color: var(--wc-red) !important;
}

.woocommerce-checkout form.checkout {
	display: flex;
	flex-direction: row;
}

:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
}

@media (max-width: 980px) {
	.woocommerce-checkout form.checkout {
		flex-direction: column;
		gap: 25px;
	}

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

	.woocommerce-checkout .col2-set {
		order: 1;
	}
	.rp-checkout-section.rp-checkout-section-review {
	    width: 100%;
	}
	.rp-checkout-section.rp-checkout-section-details {
	    width: 100%;
	    padding-right: 0;
	}
}

@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;
	}
}

@media (max-width: 767px) {
	.container {
		width: 100%;
	}
	.rp-checkout-section.rp-checkout-section-details div#customer_details {
	    margin-inline: 0;
	}
	.rp_secure-checkout {
	    flex-direction: column;
	    align-items: flex-start !important;
	    row-gap: 25px;
	}
	.rp_secure-checkout-title {
	    font-size: 28px;
	}

	/* .woocommerce-checkout-review-order {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
	}

	.woocommerce-checkout-review-order .woocommerce-checkout-review-order-table {
		width: 100%;
		min-width: max-content;
	}
	*/
}
