/* Cart terminal polish layer. Loaded after components.css on the cart page only. */

body.woocommerce-cart .wc-block-cart-items__row,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-items__row {
	grid-template-columns: 220px minmax(0, 1fr) 96px !important;
	min-height: 218px !important;
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.025) 0 1px, transparent 1px 11px),
		linear-gradient(#fffdf8, #fbf7ec) !important;
}

body.woocommerce-cart .wc-block-cart-items__row:nth-child(even),
body:has(.wp-block-woocommerce-cart) .wc-block-cart-items__row:nth-child(even) {
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.025) 0 1px, transparent 1px 11px),
		#eeeae0 !important;
}

body.woocommerce-cart .wc-block-cart-item__image,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__image {
	padding: 28px 0 24px 26px !important;
}

body.woocommerce-cart .wc-block-cart-item__image a,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__image a {
	display: grid !important;
	place-items: center !important;
	width: 182px !important;
	max-width: 182px !important;
	height: 138px !important;
	max-height: 138px !important;
	border: 3px solid #111111 !important;
	background:
		linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0)),
		#fffdf8 !important;
	box-shadow: 3px 3px 0 #111111 !important;
}

body.woocommerce-cart .wc-block-cart-item__image img,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__image img {
	width: 168px !important;
	max-width: 168px !important;
	height: 120px !important;
	max-height: 120px !important;
	object-fit: contain !important;
}

body.woocommerce-cart .wc-block-cart-item__product,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__product {
	padding: 28px 16px 24px !important;
}

body.woocommerce-cart .wc-block-cart-item__wrap,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__wrap {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	row-gap: 7px !important;
}

body.woocommerce-cart .wc-block-components-product-name,
body:has(.wp-block-woocommerce-cart) .wc-block-components-product-name {
	grid-column: 1 !important;
	font-size: 0.82rem !important;
	line-height: 1.18 !important;
}

body.woocommerce-cart .wc-block-cart-item__wrap::before,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__wrap::before {
	grid-column: 1 !important;
	color: #6f6c66 !important;
	font-size: 0.42rem !important;
	line-height: 1.25 !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__prices {
	grid-column: 1 !important;
	margin-top: 4px !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-price .amount,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__prices,
body:has(.wp-block-woocommerce-cart) .wc-block-components-product-price,
body:has(.wp-block-woocommerce-cart) .wc-block-components-product-price .amount {
	font-size: 0.9rem !important;
}

body.woocommerce-cart .wc-block-cart-item__wrap::after,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__wrap::after {
	grid-column: 1 !important;
	grid-row: auto !important;
	align-self: start !important;
	width: fit-content !important;
	max-width: none !important;
	min-height: 26px !important;
	margin: 1px 0 0 !important;
	padding: 6px 10px 6px 28px !important;
	border: 2px solid #237735 !important;
	background:
		linear-gradient(90deg, #20c65a 0 8px, transparent 8px),
		#eef9ee !important;
	background-position: 11px center, center !important;
	background-repeat: no-repeat !important;
	background-size: 8px 8px, auto !important;
	box-shadow: inset 1px 1px 0 #ffffff !important;
	color: #12853b !important;
	font-size: 0.39rem !important;
	line-height: 1.05 !important;
	content: "IN STOCK / READY TO SHIP" !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-cart-item__quantity,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__quantity {
	grid-column: 1 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
	margin-top: 6px !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector,
body:has(.wp-block-woocommerce-cart) .wc-block-components-quantity-selector {
	grid-template-columns: 40px 52px 40px !important;
	width: 132px !important;
	height: 44px !important;
	border: 3px solid #111111 !important;
	box-shadow: 3px 3px 0 #000000 !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector__input,
body:has(.wp-block-woocommerce-cart) .wc-block-components-quantity-selector input,
body:has(.wp-block-woocommerce-cart) .wc-block-components-quantity-selector__input {
	width: 52px !important;
	height: 38px !important;
	border-inline: 3px solid #111111 !important;
	font-size: 0.78rem !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button,
body:has(.wp-block-woocommerce-cart) .wc-block-components-quantity-selector__button {
	width: 40px !important;
	height: 38px !important;
	font-size: 0.78rem !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__remove-link {
	position: static !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	order: 9 !important;
	width: auto !important;
	min-width: 74px !important;
	height: 28px !important;
	margin: 0 !important;
	padding: 0 9px !important;
	border: 2px solid #111111 !important;
	background: #df2027 !important;
	box-shadow: 2px 2px 0 #000000 !important;
	color: #ffffff !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link::before,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__remove-link::before {
	color: #ffffff !important;
	font-size: 0.42rem !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link::after,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__remove-link::after {
	content: none !important;
}

body.woocommerce-cart .wc-block-cart-item__total,
body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__total {
	padding: 32px 18px 24px 0 !important;
	font-size: 0.82rem !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item,
body:has(.wp-block-woocommerce-cart) .wc-block-components-totals-footer-item {
	display: grid !important;
	box-sizing: border-box !important;
	grid-template-columns: auto max-content !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: auto !important;
	max-width: calc(100% - 24px) !important;
	min-height: 118px !important;
	margin: 24px auto 18px !important;
	padding: 28px 20px !important;
	border-top: 4px solid #d9d2c4 !important;
	border-bottom: 4px solid #d9d2c4 !important;
	background:
		linear-gradient(90deg, rgba(17,17,17,0.04) 0 1px, transparent 1px 12px),
		#f2eadc !important;
	overflow: hidden !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body:has(.wp-block-woocommerce-cart) .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	min-width: 0 !important;
	color: #111111 !important;
	font-size: 0.48rem !important;
	line-height: 1.15 !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body:has(.wp-block-woocommerce-cart) .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	justify-self: end !important;
	color: #12853b !important;
	font-size: 1rem !important;
	line-height: 1 !important;
	text-align: right !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon,
body:has(.wp-block-woocommerce-cart) .wc-block-components-totals-coupon {
	padding-bottom: 18px !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__form,
body:has(.wp-block-woocommerce-cart) .wc-block-components-totals-coupon__form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 118px !important;
	gap: 12px !important;
	align-items: end !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .checkout-button,
body:has(.wp-block-woocommerce-cart) .wc-block-cart__submit-button,
body:has(.wp-block-woocommerce-cart) .checkout-button {
	min-height: 58px !important;
	padding-inline: 18px !important;
	box-shadow: inset 3px 3px 0 rgba(255,255,255,0.18), inset -3px -3px 0 rgba(0,0,0,0.25), 5px 5px 0 #000000 !important;
	font-size: 0.62rem !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .wc-block-cart-items__row,
	body:has(.wp-block-woocommerce-cart) .wc-block-cart-items__row {
		grid-template-columns: 1fr !important;
		min-height: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart-item__image a,
	body:has(.wp-block-woocommerce-cart) .wc-block-cart-item__image a {
		width: min(220px, 100%) !important;
		max-width: 100% !important;
		height: 158px !important;
		max-height: 158px !important;
	}
}
