/**********************************/
/* XIAHDEH - WOOCOMMERCE CHECKOUT */
/**********************************/

/* BORDER MODE */
.xiahdeh-border-mode.woocommerce-checkout .woocommerce-form-login,
.xiahdeh-border-mode.woocommerce-checkout .woocommerce-form-register,
.xiahdeh-border-mode.woocommerce-checkout .woocommerce-form-coupon,
.xiahdeh-border-mode.woocommerce-checkout div.create-account,
.xiahdeh-border-mode.woocommerce-checkout #customer_details,
.xiahdeh-border-mode.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.xiahdeh-border-mode.woocommerce-checkout .woocommerce .shop_table tr.cart_item .product-name img,
.xiahdeh-border-mode.woocommerce-checkout .payment_box {
	border-radius: 1em;
}

/* GLOBAL */
body.woocommerce-checkout #brx-content {
	padding: 1.5% 3%;
	overflow: auto;
}
body.woocommerce-checkout form.checkout {
	display: flex;
	gap: 1em;
	margin: 1.5em 0;
}
body.woocommerce-checkout form.checkout label.checkbox {
	position: relative;
	padding-left: 3em;
}
body.woocommerce-checkout form.checkout input[type="checkbox"]:not([name*="new-payment-method"]) {
	position: absolute !important;
	top: .5em !important;
	left: 1.25em !important;
	width: 0 !important;
	height: 0 !important;
	margin-right: 2em !important;
	padding: 0 !important;
	background-color: var(--white-color, white);
	appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	-webkit-appearance: none;
	border: none !important;
	cursor: pointer;
}
body.woocommerce-checkout form.checkout input[type="checkbox"]:checked {
	background-color: var(--primary-color, black) !important;
	border-color: var(--primary-color, black) !important;
	box-shadow: inset 0 0 0 .25em var(--white-color, white) !important;
}
body.woocommerce-checkout form.checkout input#createaccount,
body.woocommerce-checkout form.checkout input#ship-to-different-address-checkbox,
body.woocommerce-checkout form.checkout input#terms,
body.woocommerce-checkout form.checkout .place-order input[type="checkbox"] {
	color: var(--black-color, black);
	transform: none;
}
body.woocommerce-checkout form.checkout input#createaccount:hover,
body.woocommerce-checkout form.checkout input#ship-to-different-address-checkbox:hover,
body.woocommerce-checkout form.checkout input#terms:hover,
body.woocommerce-checkout form.checkout .place-order input[type="checkbox"]:hover {
	color: var(--secondary-color, black);
}
body.woocommerce-checkout form.checkout input#createaccount:focus,
body.woocommerce-checkout form.checkout input#ship-to-different-address-checkbox:focus,
body.woocommerce-checkout form.checkout input#terms:focus,
body.woocommerce-checkout form.checkout .place-order input[type="checkbox"]:focus {
	color: var(--primary-color, black);
}
body.woocommerce-checkout .before-checkout {
	padding: 0;
}
body.woocommerce-checkout .before-checkout .woocommerce-form-login .form-row:not(.form-row-first):not(.form-row-last) {
	margin-top: 0;
	padding-top: 1em !important;
}
body.woocommerce-checkout .woocommerce-form-login-toggle {
	margin-bottom: 1em;
}
body.woocommerce-checkout .woocommerce-form-login,
body.woocommerce-checkout .woocommerce-form-register,
body.woocommerce-checkout .woocommerce-form-coupon {
	padding: 0 !important;
	border: none !important;
}
body.woocommerce-checkout form.woocommerce-form-login,
body.woocommerce-checkout form.woocommerce-form-register,
body.woocommerce-checkout form.woocommerce-form-coupon,
body.woocommerce-checkout div.create-account {
	position: relative;
	margin: 1.25em 0 1em 0 !important;
	padding: 1em !important;
	background-color: var(--wc-gray-color, lightgray);
	border-radius: 0;
}
body.woocommerce-checkout .woocommerce-form-login:before,
body.woocommerce-checkout .woocommerce-form-register:before,
body.woocommerce-checkout .woocommerce-form-coupon:before,
body.woocommerce-checkout div.create-account:before {
	content: "";
	display: block;
	position: absolute;
	top: -.75em;
	left: 0;
	margin: -1em 0 0 2em;
	border: .125em solid var(--wc-gray-color, lightgray);
	border-left-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
}
body.woocommerce-checkout .woocommerce-form-login .form-row.form-row-first,
body.woocommerce-checkout .woocommerce-form-login .form-row.form-row-last,
body.woocommerce-checkout .woocommerce-form-register .form-row.form-row-wide {
	width: 100%;
	margin: 1em auto .5em 0 !important;
}
body.woocommerce-checkout .woocommerce-form-login .form-row,
body.woocommerce-checkout .woocommerce-form-register .form-row {
	margin-top: 1em;
}
body.woocommerce-checkout .woocommerce-form-login {
	display: none;
}
body.woocommerce-checkout .woocommerce-form-login p:not(.form-row) {
	display: none;
}
body.woocommerce-checkout .woocommerce-form-login p.form-row:not(.form-row-wide):not(.form-row-first):not(.form-row-last) {
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100%;
}
body.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center !important;
	position: relative;
	margin: .5em 0 !important;
	font-weight: normal;
}
body.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme span {
	line-height: calc(100%);
}
body.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme span:before {
	border: .125em solid var(--black-color, black) !important;
	border-radius: 50% !important;
}
body.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme span:hover::before {
	border-color: var(--secondary-color, black) !important;
}
body.woocommerce-checkout .woocommerce-form-login .woocommerce-form-login__rememberme #rememberme:checked + span::before {
	background-color: var(--primary-color, black) !important;
	border-color: var(--primary-color, black) !important;
	box-shadow: inset 0 0 0 .5em var(--white-color, white) !important;
}
body.woocommerce-checkout .woocommerce-form-login .lost_password {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 .5em !important;
}
body.woocommerce-checkout .woocommerce-form-login .lost_password a {
	color: var(--black-color, black);
	text-decoration: underline;
}
body.woocommerce-checkout .woocommerce-form-login .lost_password a:hover {
	color: var(--secondary-color, black) !important;
}
body.woocommerce-checkout .woocommerce-form-login .lost_password a:focus {
	color: var(--primary-color, black) !important;
}
body.woocommerce-checkout .woocommerce-form-login button[name='login'],
body.woocommerce-checkout .woocommerce-form-register button[name='register'] {
	width: 100%;
}
body.woocommerce-checkout .woocommerce-form-register .woocommerce-privacy-policy-text {
	display: none;
}
body.woocommerce-checkout .woocommerce-form-coupon > p {
	width: 100%;
	margin: 0 0 .25em 0 !important;
}
body.woocommerce-checkout .woocommerce-form-coupon .form-row {
	display: inline-block;
	width: auto;
	margin: 0 !important;
	float: none;
	vertical-align: middle;
}
body.woocommerce-checkout .woocommerce-form-coupon .form-row.form-row-first {
	margin: 0 4px 0 0 !important;
}
body.woocommerce-checkout .woocommerce-form-coupon #coupon_code {
	width: auto;
	max-width: 200px;
	max-height: 3em;
	padding-top: .75em;
	padding-bottom: .75em;
}
body.woocommerce-checkout .woocommerce-form__label-for-checkbox {
	margin: 0;
	cursor: pointer;
}
body.woocommerce-checkout p.create-account {
	margin: .5em 0 1em 0;
}
body.woocommerce-checkout div.create-account {
	top: 0;
	margin-top: .5em;
	padding-top: 1.5em !important;
}
body.woocommerce-checkout div.create-account label {
	margin: 0;
}
body.woocommerce-checkout div.create-account #account_password_field {
	width: 100%;
}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
	border: none;
}
body.woocommerce-checkout #customer_details {
	border-color: var(--primary-color, black);
	border-radius: 0;
	border-width: .125em;
}
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
	margin: 1em 0 0 0;
	padding: 0;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
	margin-top: 1.5em;
}
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	position: relative;
	top: .5em;
	width: 100%;
	margin-bottom: 1.5em;
	padding: 2em 1em 1em 1em;
	background-color: var(--wc-gray-color, lightgray);
	border-radius: 0;
}
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper:before {
	content: "";
	display: block;
	position: absolute;
	top: -.75em;
	left: 0;
	margin: -1em 0 0 2em;
	border: .125em solid var(--wc-gray-color, lightgray);
	border-left-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
}
body.woocommerce-checkout #ship-to-different-address {
	margin-bottom: .5em;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
}
body.woocommerce-checkout .woocommerce-additional-fields {
	display: flex;
	flex-direction: column;
}
body.woocommerce-checkout .woocommerce-additional-fields .form-row {
	margin: 1em 0 0 0 !important;
}
body.woocommerce-checkout #order_review_heading {
	margin: 1.5em 0;
}
body.woocommerce-checkout .woocommerce .shop_table {
	border-left: none;
	border-right: none;
}
body.woocommerce-checkout .woocommerce .shop_table th {
	width: 50%;
	vertical-align: top;
}
body.woocommerce-checkout .woocommerce .shop_table th.product-name {
	display: flex;
	flex-direction: row;
	gap: .5em;
	width: 100%;
	border: none !important;
}
body.woocommerce-checkout .woocommerce .shop_table th.product-total {
	text-align: right;
}
body.woocommerce-checkout .woocommerce .shop_table tr.cart_item {
	border-bottom: 1px solid var(--wc-gray-color, lightgray);
}
body.woocommerce-checkout .woocommerce .shop_table tr.cart_item .product-name {
	text-transform: none;
}
body.woocommerce-checkout .woocommerce .shop_table .product-name a {
	color: var(--primary-color, black);
	font-style: normal;
	text-align: initial;
	text-decoration: underline;
}
body.woocommerce-checkout .woocommerce .shop_table .product-name a:hover {
	color: var(--secondary-color, black);
}
body.woocommerce-checkout .woocommerce .shop_table .product-name a:focus {
	color: var(--primary-color, black);
}
body.woocommerce-checkout .woocommerce .shop_table .product-name .tm-cart-edit-options {
	font-size: calc(100% - 2px);
}
body.woocommerce-checkout .woocommerce .shop_table tr.cart_item .product-name img {
	margin: 0;
}
body.woocommerce-checkout .woocommerce .shop_table tr.cart_item .product-total {
	border: none;
	text-align: right;
	vertical-align: top;
}
body.woocommerce-checkout .cart-subtotal td {
	text-align: right;
}
body.woocommerce-checkout .cart-discount td {
	text-align: right;
}
body.woocommerce-checkout ul#shipping_method,
body.woocommerce-checkout ul.wc_payment_methods {
	display: flex;
	flex-direction: column;
	gap: 1em;
	width: 100%;
	margin: 0;
	padding: 0;
}
body.woocommerce-checkout ul#shipping_method li {
	margin: 0;
}
body.woocommerce-checkout ul#shipping_method li:has(input:checked) label {
	font-weight: bold;
}
body.woocommerce-checkout ul#shipping_method li label {
	width: auto;
	margin: 0;
	color: inherit;
	cursor: pointer;
	font-weight: normal;
}
body.woocommerce-checkout ul#shipping_method li #lpc_layer_error_message,
body.woocommerce-checkout ul#shipping_method li #lpc_pick_up_info,
body.woocommerce-checkout ul#shipping_method li #lpc_layer_pickup_selection_button {
	flex: 0 0 100%;
}
body.woocommerce-checkout ul#shipping_method li .woocommerce-shipping-destination {
	width: 100%;
	margin: 0;
}
body.woocommerce-checkout ul#shipping_method li .betrs_option_desc {
	padding: .25em 0 0 1.25em;
}
body.woocommerce-checkout ul.payment_methods {
	padding: 0 !important;
}
body.woocommerce-checkout ul.woocommerce-shipping-methods li img,
body.woocommerce-checkout ul.wc_payment_methods li img {
	width: auto;
}
body.woocommerce-checkout .fee td {
	text-align: right;
}
body.woocommerce-checkout .order-total td {
	text-align: right;
}
body.woocommerce-checkout .woocommerce-checkout-payment {
	padding: 0 !important;
	background: none !important;
	border: none;
}
body.woocommerce-checkout ul.wc_payment_methods {
	padding: 0 !important;
}
body.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method > label {
	display: flex;
	align-items: center;
	gap: .25em;
	margin: 0;
	font-weight: normal;
}
body.woocommerce-checkout ul.wc_payment_methods li input[type="radio"]:checked + label {
	font-weight: bold;
}
body.woocommerce-checkout div.payment_box {
	position: relative !important;
	width: 100%;
	margin: 1em 0 0 0 !important;
	padding: 1em !important;
	background-color: var(--wc-gray-color, lightgray);
	border-radius: 0;
	font-size: calc(100% + 2px);
}
body.woocommerce-checkout div.payment_box:before {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: -.75em !important;
	left: 0 !important;
	margin: -1em 0 0 1em !important;
	background: none !important;
	border: 1em solid var(--wc-gray-color, lightgray);
	border-left-color: transparent !important;
	border-right-color: transparent !important;
	border-top-color: transparent !important;
}
body.woocommerce-checkout div.payment_box p,
body.woocommerce-checkout div.payment_box fieldset {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}
body.woocommerce-checkout div.payment_box .form-row {
	margin: 0 !important;
	padding: 0 !important;
}
body.woocommerce-checkout div.payment_box input[type="checkbox"],
body.woocommerce-checkout div.payment_box label {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}
body.woocommerce-checkout div.payment_box .wc-saved-payment-methods {
	display: none;
}
body.woocommerce-checkout div.payment_box .woocommerce-SavedPaymentMethods-saveNew input[name*="new-payment-method"] {
	float: none !important;
}
body.woocommerce-checkout div.payment_box .woocommerce-SavedPaymentMethods-saveNew label {
	position: relative;
	margin-left: .25em;
	font-size: calc(100% - 2px) !important;
}
body.woocommerce-checkout div.payment_box input[type="checkbox"]:checked:before {
	color: var(--black-color, black);
	text-indent: .125em !important;
}
body.woocommerce-checkout div.payment_box input[type="checkbox"]:hover:before {
	color: var(--secondary-color, black);
}
body.woocommerce-checkout div.payment_box input[type="checkbox"]:focus:before {
	color: var(--primary-color, black);
}
body.woocommerce-checkout .place-order {
	padding: 0 !important;
}
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-wrapper {
	font-size: inherit !important;
}
body.woocommerce-checkout .place-order .woocommerce-privacy-policy-text > p {
	margin: .5em 0 0 !important;
}
body.woocommerce-checkout .place-order .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-link {
	color: var(--primary-color, black);
	text-decoration: underline;
}
body.woocommerce-checkout .place-order .woocommerce-privacy-policy-text a:hover,
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-link:hover {
	color: var(--secondary-color, black);
}
body.woocommerce-checkout .place-order .woocommerce-privacy-policy-text a:focus,
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-link:focus {
	color: var(--primary-color, black);
}
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-wrapper p:last-child {
	margin: 0;
}
body.woocommerce-checkout .place-order .woocommerce-terms-and-conditions-checkbox-text {
	top: 0;
}
body.woocommerce-checkout .place-order p.terms {
	width: 100%;
}
body.woocommerce-checkout .place-order p.terms label {
	cursor: pointer;
}
body.woocommerce-checkout .place-order p.terms label input[type=checkbox] {
	margin-right: 2.25em !important;
}
body.woocommerce-checkout .place-order #ws_opt_in_field {
	margin: 1em 0 0 0;
}
body.woocommerce-checkout .place-order #place_order {
	margin-top: 1em !important;
}
body.woocommerce-checkout #ppc-button-ppcp-gateway {
	width: 100%;
	max-width: 512px;
	margin: 1.5em auto auto auto;
}
@media all and (max-width: 1100px) {
	body.woocommerce-checkout #brx-content {
		padding: .5em 1em 1.5em 1em;
	}
}
@media all and (max-width: 991px) {
	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review {
		width: 100%;
		margin: 0;
		float: none;
	}
	body.woocommerce-checkout .woocommerce-form-coupon .form-row {
		width: 100% !important;
	}
	body.woocommerce-checkout .woocommerce-form-coupon .form-row.form-row-first {
		margin: 0 !important;
	}
	body.woocommerce-checkout .woocommerce-form-coupon #coupon_code {
		width: 100%;
		max-width: none;
		margin-bottom: .5em;
	}
	body.woocommerce-checkout .woocommerce .checkout_coupon button[name="apply_coupon"] {
		width: 100%;
	}
	body.woocommerce-checkout .woocommerce-form-coupon .button {
		width: 100% !important;
		margin-top: 1em !important;
	}
	body.woocommerce-checkout #ship-to-different-address {
		margin-top: .25em;
	}
	body.woocommerce-checkout .woocommerce .shop_table thead {
		display: none;
	}
	body.woocommerce-checkout .woocommerce .shop_table th,
	body.woocommerce-checkout .woocommerce .shop_table td {
		display: block;
		border: none !important;
	}
	body.woocommerce-checkout .woocommerce .shop_table tr.cart_item .product-total {
		clear: both;
		text-align: inherit;
	}
	body.woocommerce-checkout .cart-subtotal td {
		text-align: inherit;
	}
	body.woocommerce-checkout .cart-discount td {
		text-align: inherit;
	}
	body.woocommerce-checkout ul#shipping_method li label {
		width: calc(100% - 1.5em);
	}
	body.woocommerce-checkout ul.wc_payment_methods li > label {
		width: calc(100% - 1.75em);
		overflow: auto;
		white-space: nowrap;
	}
	body.woocommerce-checkout .fee td {
		text-align: inherit;
	}
	body.woocommerce-checkout .order-total td {
		text-align: inherit;
	}
}
@media all and (max-width: 478px) {
	body.woocommerce-checkout .woocommerce .shop_table th.product-name {
		flex-direction: column;
	}
}