/*
 * Cart page only. Every rule is under body.bv-cart.
 */

body.bv-cart .entry-header {
	display: none;
}

body.bv-cart .woocommerce-info {
	border-top: 0;
	border-radius: 12px;
}

body.bv-cart.woocommerce-cart .woocommerce-message {
	position: relative;
	margin: 0 0 6px;
	padding: 14px 18px 14px 46px;
	border: 0;
	border-radius: 10px;
	background: #1f9a45;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

body.bv-cart.woocommerce-cart .woocommerce-message::before {
	top: 50%;
	color: #fff;
	transform: translateY(-50%);
}

body.bv-cart .woocommerce:has(.woocommerce-cart-form) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	grid-template-areas:
		"notices notices"
		"bar totals"
		"form totals"
		"below below";
	column-gap: 36px;
	row-gap: 18px;
	align-items: start;
}

body.bv-cart .woocommerce-notices-wrapper {
	grid-area: notices;
}

body.bv-cart .bv-freeship-bar {
	grid-area: bar;
}

body.bv-cart .woocommerce-cart-form {
	grid-area: form;
}

body.bv-cart .cart-collaterals {
	display: contents;
}

body.bv-cart .cross-sells {
	grid-area: below;
}

body.bv-cart .bv-freeship-bar {
	margin: 0 0 18px;
	padding: 12px 16px 14px;
	border: 1px dashed #e6e8ee;
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

body.bv-cart .bv-freeship-bar__text {
	margin: 0 0 10px;
	color: #333;
	font-size: 14px;
	line-height: 1.4;
}

body.bv-cart .bv-freeship-bar__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #f6e7b8;
}

body.bv-cart .bv-freeship-bar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #f5b400;
}

body.bv-cart table.shop_table {
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.bv-cart table.cart th,
body.bv-cart table.cart td {
	border: 0;
	background: transparent;
	vertical-align: middle;
}

body.bv-cart.woocommerce-cart table.cart thead th.product-name,
body.bv-cart.woocommerce-cart table.cart thead th.product-price,
body.bv-cart.woocommerce-cart table.cart thead th.product-quantity,
body.bv-cart.woocommerce-cart table.cart thead th.product-subtotal,
body.bv-cart.woocommerce-cart .cart_totals tr.cart-subtotal th {
	padding-bottom: 14px;
	color: #1c1c1c;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

body.bv-cart table.cart .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border: 1px solid #eee;
	border-radius: 10px;
	background: #fff;
}

body.bv-cart table.cart a.remove {
	color: #9aa0a6;
	font-size: 22px;
	font-weight: 400;
}

body.bv-cart table.cart tr.bv-cart-rule td {
	padding: 4px 0;
	border: 0;
}

body.bv-cart table.cart tr.bv-cart-rule hr {
	margin: 0;
	border: 0;
	border-top: 1px solid #b8bec7;
}

body.bv-cart table.cart td.product-name a {
	color: #1c1c1c;
	font-weight: 600;
}

body.bv-cart table.cart td.product-subtotal {
	color: #e10600;
	font-weight: 700;
}

body.bv-cart .woocommerce-cart-form .quantity {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 4px;
	border: 1px solid #e4e6eb;
	border-radius: 999px;
	background: #fff;
}

body.bv-cart .woocommerce-cart-form .quantity .bv-qty-minus,
body.bv-cart .woocommerce-cart-form .quantity .bv-qty-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #1c1c1c;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

body.bv-cart .woocommerce-cart-form .quantity .qty {
	width: 36px;
	max-width: 36px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.bv-cart .woocommerce-cart-form .quantity input[type="number"]::-webkit-outer-spin-button,
body.bv-cart .woocommerce-cart-form .quantity input[type="number"]::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.bv-cart table.cart td.actions {
	padding-top: 18px;
}

body.bv-cart table.cart td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	float: none;
}

body.bv-cart table.cart td.actions #coupon_code {
	width: 220px;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #e4e6eb;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
}

body.bv-cart table.cart td.actions #coupon_code:focus {
	border-color: #e0a106;
	outline: none;
	box-shadow: 0 0 0 3px rgba(224, 161, 6, 0.16);
}

body.bv-cart table.cart td.actions .button,
body.bv-cart .return-to-shop .button,
body.bv-cart .wc-proceed-to-checkout .checkout-button {
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: #f5b400;
	color: #1c1c1c;
	font-weight: 700;
	line-height: 44px;
	text-transform: none;
}

body.bv-cart table.cart td.actions .button:hover,
body.bv-cart .return-to-shop .button:hover,
body.bv-cart .wc-proceed-to-checkout .checkout-button:hover {
	background: #e0a106;
	color: #1c1c1c;
}

body.bv-cart table.cart td.actions button[name="update_cart"] {
	float: right;
	background: #fff;
	color: #1c1c1c;
	border: 1px solid #e4e6eb;
}

body.bv-cart table.cart td.actions button[name="update_cart"]:disabled {
	opacity: 0.55;
}

body.bv-cart .power-coupons-drawer-trigger-wrapper,
body.bv-cart .power-coupons-view-coupons-btn {
	display: none;
}

body.bv-cart.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
	grid-area: totals;
	float: none;
	width: auto;
	margin: 0;
	padding: 28px 24px 22px;
	border: 1px solid #5c6370;
	border-radius: 18px;
	background: #fff;
}

body.bv-cart.woocommerce-cart .cart-collaterals .cart_totals > h2 {
	margin: 0 0 20px;
	padding: 0 0 16px;
	border: 0;
	border-bottom: 1px solid #f0f1f4;
	color: #1c1c1c;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-align: left;
	text-transform: uppercase;
}

body.bv-cart .cart_totals table,
body.bv-cart .cart_totals table th,
body.bv-cart .cart_totals table td {
	border: 0;
	background: transparent;
}

body.bv-cart .cart_totals table th,
body.bv-cart .cart_totals table td {
	padding: 8px 0;
}

body.bv-cart .cart_totals .cart-subtotal td {
	text-align: right;
	font-weight: 600;
}

body.bv-cart .cart_totals tr.shipping,
body.bv-cart .cart_totals tr.woocommerce-shipping-totals,
body.bv-cart .cart_totals tr.fee,
body.bv-cart .cart_totals .woocommerce-shipping-destination,
body.bv-cart .cart_totals .woocommerce-shipping-calculator,
body.bv-cart .cart_totals .shipping-calculator-button {
	display: none;
}

body.bv-cart .cart_totals tr.bv-shipment td {
	padding: 4px 0 12px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

body.bv-cart .cart_totals .order-total th {
	font-size: 16px;
	font-weight: 800;
}

body.bv-cart .cart_totals .order-total td {
	color: #e10600;
	font-size: 18px;
	font-weight: 800;
	text-align: right;
}

body.bv-cart .wc-proceed-to-checkout {
	padding: 8px 0 0;
}

body.bv-cart .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	height: 48px;
	line-height: 48px;
	text-align: center;
}

@media (max-width: 921px) {
	body.bv-cart .woocommerce:has(.woocommerce-cart-form) {
		grid-template-columns: 1fr;
		grid-template-areas:
			"notices"
			"bar"
			"form"
			"totals"
			"below";
	}

	body.bv-cart .cart_totals {
		margin-top: 24px;
	}

	body.bv-cart table.cart td.actions button[name="update_cart"] {
		float: none;
		margin-top: 12px;
	}
}
