/******************************/
/* XIAHDEH - WOOCOMMERCE CART */
/******************************/

/* @import 'archive-product.css'; */

/* BORDER MODE */
.xiahdeh-border-mode.woocommerce-cart .woocommerce .shop_table .product-thumbnail a,
.xiahdeh-border-mode.woocommerce-cart .woocommerce .shop_table .product-thumbnail img,
.xiahdeh-border-mode.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form {
	border-radius: 1em;
}

/* GLOBAL */
body.woocommerce-cart #brx-content {
	padding: 1.5% 3%;
}
body.woocommerce-cart .woocommerce:not(#brx-content) {
	overflow: auto;
}
body.woocommerce-cart .woocommerce h2:not(.woocommerce-loop-product__title) {
	margin: 1em 0;
	color: var(--primary-color, black);
	line-height: calc(100%);
	text-align: center;
}
body.woocommerce-cart .woocommerce .shop_table .product-remove {
	width: 2.75em;
	text-align: center;
}
body.woocommerce-cart .woocommerce .shop_table .product-remove a.remove {
	display: block;
	position: relative;
	top: inherit;
	left: 0;
	width: 1.25em;
	height: 1.25em;
	color: var(--wc-red-background-color, red);
	aspect-ratio: 1/1;
	border-radius: 100%;
	font-family: initial;
}
body.woocommerce-cart .woocommerce .shop_table .product-remove a.remove:hover,
body.woocommerce-cart .woocommerce .shop_table .product-remove a.remove:focus {
	color: var(--white-color, white);
	background-color: var(--wc-red-background-color, red);
}
body.woocommerce-cart .woocommerce .shop_table .product-thumbnail {
	text-align: center;
}
body.woocommerce-cart .woocommerce .shop_table .product-thumbnail a {
	display: inline-block;
	pointer-events: none;
}
body.woocommerce-cart .woocommerce .shop_table .product-thumbnail img {
	max-width: 5em;
	border: none;
}
body.woocommerce-cart .woocommerce .shop_table .product-name a {
	color: var(--primary-color, black);
	font-style: normal;
	text-align: initial;
	text-decoration: underline;
}
body.woocommerce-cart .woocommerce .shop_table .product-name a:hover {
	color: var(--secondary-color, black);
}
body.woocommerce-cart .woocommerce .shop_table .product-name a:focus {
	color: var(--primary-color, black);
}
body.woocommerce-cart .woocommerce .shop_table .product-name .tm-cart-edit-options {
	font-size: calc(100% - 2px);
}
body.woocommerce-cart .woocommerce .shop_table .product-price,
body.woocommerce-cart .woocommerce .shop_table .product-subtotal {
	text-align: right;
}
body.woocommerce-cart .woocommerce .shop_table .product-quantity {
	text-align: center;
}
body.woocommerce-cart .woocommerce .shop_table .product-quantity .qty {
	min-width: 3em;
	border: none !important;
}
body.woocommerce-cart .woocommerce .shop_table .actions {
	padding: 1em 0 !important;
}
body.woocommerce-cart .woocommerce .shop_table .actions #coupon_code {
	width: auto;
	max-width: 200px;
	max-height: 42px;
	padding: .75em 1em !important;
	box-shadow: none;
	text-align: left;
}
body.woocommerce-cart .woocommerce .shop_table .actions #coupon_code:focus {
	border-color: var(--secondary-color, black);
}
body.woocommerce-cart .woocommerce .shop_table .actions button[name="update_cart"] {
	display: inline-block;
}
body.woocommerce-cart .woocommerce .checkout-button {
	width: 100%;
	font-size: inherit;
	line-height: inherit;
}
body.woocommerce-cart .woocommerce .shop_table .actions .coupon .button:hover,
body.woocommerce-cart .woocommerce .shop_table .actions button[name="update_cart"]:hover,
body.woocommerce-cart .woocommerce .checkout-button:hover {
	background-color: var(--secondary-color, black) !important;
	border-color: var(--secondary-color, black) !important;
}
body.woocommerce-cart .cart-collaterals {
	display: flex;
	gap: 1.5em;
	width: 100%;
}
body.woocommerce-cart .cart-collaterals th,
body.woocommerce-cart .cart-collaterals td {
	width: 50%;
	vertical-align: top;
}
body.woocommerce-cart .cross-sells,
body.woocommerce-cart .cart_totals {
	width: 100% !important;
	margin: 0;
	float: none !important;
}
body.woocommerce-cart .cart_totals .cart-subtotal td {
	text-align: right;
}
body.woocommerce-cart .cart_totals .cart-discount td {
	text-align: right;
}
body.woocommerce-cart .cart_totals .includes_tax {
	color: inherit !important;
}
body.woocommerce-cart ul#shipping_method {
	display: flex;
	flex-direction: column;
	gap: .5em;
	width: 100%;
	margin: 0;
	padding: 0;
}
body.woocommerce-cart ul#shipping_method li label {
	width: auto;
	margin: 0;
	color: inherit;
	cursor: pointer;
	font-weight: normal;
	text-align: left;
}
body.woocommerce-cart ul#shipping_method li input[type="radio"]:checked + label {
	font-weight: bold;
}
body.woocommerce-cart ul#shipping_method li button {
	margin: .5em 0 0 0 !important;
}
body.woocommerce-cart ul#shipping_method li .woocommerce-shipping-destination {
	width: 100%;
	margin: 0;
}
body.woocommerce-cart ul.woocommerce-shipping-methods li,
body.woocommerce-cart ul.wc_payment_methods li {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: .25em;
	margin: 0;
}
body.woocommerce-cart ul.woocommerce-shipping-methods li img,
body.woocommerce-cart ul.wc_payment_methods li img {
	width: auto;
}
body.woocommerce-cart .cart_totals .fee td {
	text-align: right;
}
body.woocommerce-cart .cart_totals .order-total td {
	text-align: right;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button {
	margin: 0;
	color: var(--black-color, black);
	text-decoration: underline;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button:hover {
	color: var(--secondary-color, white);
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button:focus {
	color: var(--primary-color, white);
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button:after {
	display:none;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1.5em 1em 1em 1em;
	background-color: var(--wc-gray-color, lightgray) !important;
	border-radius: 0;
	text-align: left;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form:before {
	content: "";
	display: block;
	position: absolute;
	top: -.75em;
	left: 0;
	margin: -1em 0 0 1em;
	border: 1em solid var(--wc-gray-color, lightgray);
	border-left-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form p:last-of-type {
	margin-top: 1em;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form label.screen-reader-text {
	width: auto;
	height: auto;
	clip: inherit;
	clip-path: inherit;
}
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form button {
	width: 100%;
}
@media all and (max-width: 1100px) {
	body.woocommerce-cart #brx-content {
		padding: .5em 1em 1.5em 1em;
	}
}
@media all and (min-width: 992px) {
	body.woocommerce-cart ul.woocommerce-shipping-methods {
		align-items: flex-end;
	}
	body.woocommerce-cart ul.woocommerce-shipping-methods li {
		justify-content: flex-end;
	}
	body.woocommerce-cart .woocommerce-shipping-destination {
		text-align: right;
	}
	body.woocommerce-cart .woocommerce-shipping-calculator {
		width: 100%;
		max-width: 300px;
		margin: 0 0 0 auto;
		text-align: right;
	}
	body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form:before {
		right: 0;
		left: inherit;
		margin: -1em 1em 0 0;
	}
}
@media all and (max-width: 991px) {
	.woocommerce-cart-form thead {
		display: none !important;
	}
	.woocommerce-cart-form tbody td[data-title]::before {
		content: attr(data-title) ": ";
	}
	body.woocommerce-cart .woocommerce {
		padding: 0;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	body.woocommerce-cart .cart-collaterals {
		flex-direction: column;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table tr {
		display: flex;
		border: none !important;
	}
	body.woocommerce-cart .woocommerce .shop_table tr.cart_item {
		flex-direction: column;
		gap: 0;
		padding: 0;
		border-bottom: 1px solid var(--wc-gray-color, lightgray) !important;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table td {
		display: flex;
		flex-grow: 1;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0;
		border: none !important;
		text-align: right;
	}
	body.woocommerce-cart .woocommerce .shop_table td.product-remove {
		position: absolute;
		top: .25em;
		right: .25em;
		width: auto;
		height: auto;
		padding: 0 !important;
	}
	body.woocommerce-cart .woocommerce .shop_table td.product-remove a {
		top: 0 !important;
		left: 0 !important;
		transform: none !important;
	}
	body.woocommerce-cart .woocommerce .shop_table .product-thumbnail {
		text-align: inherit;
	}
	body.woocommerce-cart .woocommerce .shop_table .product-name {
		flex-direction: column;
		align-items: flex-start;
	}
	body.woocommerce-cart .woocommerce .shop_table td.product-price,
	body.woocommerce-cart .woocommerce .shop_table td.product-quantity,
	body.woocommerce-cart .woocommerce .shop_table td.product-subtotal {
		width: 100%;
	}
	body.woocommerce-cart .woocommerce .shop_table .actions {
		display: flex;
		flex-direction: column;
		gap: 1em;
	}
	body.woocommerce-cart .woocommerce .shop_table .actions .coupon {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin: 0;
		margin-bottom: 0;
		padding: 0;
		float: none;
	}
	body.woocommerce-cart .woocommerce .shop_table .actions #coupon_code {
		width: 100%;
		max-width: none;
		margin-right: 0 !important;
		margin-bottom: 1em !important;
	}
	body.woocommerce-cart .woocommerce .shop_table .actions button {
		width: 100% !important;
	}
	body.woocommerce-cart .shop_table_responsive tr:nth-child(2n) td {
		background: none;
	}
	body.woocommerce-cart .cart-collaterals th,
	body.woocommerce-cart .cart-collaterals td {
		display: block;
		width: 100%;
		border: none !important;
	}
	body.woocommerce-cart .cart_totals .cart-subtotal td {
		text-align: inherit;
	}
	body.woocommerce-cart .cart_totals .cart-discount td {
		text-align: inherit;
	}
	body.woocommerce-cart ul#shipping_method li label {
		width: calc(100% - 1.5em);
	}
	body.woocommerce-cart .cart_totals .fee td {
		text-align: inherit;
	}
	body.woocommerce-cart .cart_totals .order-total td {
		text-align: inherit;
	}
}