/* Empty Cart */
.empty-cart .page-content .empty-cart-content{
	border: 2px solid var(--color-text);
    padding: 32px 20px 24px;
    margin-block: 40px;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    border-radius: var(--border-radius);
}

/* Cart layout */
.woocommerce-cart-form-wrapper{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 48px;
}

.woocommerce-cart-form{
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
	padding: 32px 40px 12px;
    border: 2px solid var(--color-text);
    border-radius: var(--border-radius);
}

.woocommerce-cart-form h1{
	position: relative;
	font-size: 1.25rem;
	line-height: 1.5rem;
	margin-top: 0;
	font-weight: 700;
}

.woocommerce-cart-form h1:before{
	content: '1.';
	font: inherit;
	color: var(--color-secondary);
	margin-right: 16px;
}

/* Cart Product Table  */
.woocommerce table.shop_table{
	border-collapse: collapse;
	border: none;
	margin: 0;
}

.woocommerce table.shop_table thead {
	display: none;
}

.woocommerce .woocommerce-cart-form table.shop_table td{
	padding: 32px 12px;
	vertical-align: top;
}

.woocommerce-cart table.cart .product-thumbnail{
	width: 140px;
    padding-left: 0;
}

.woocommerce-cart table.cart img{
	height: 87px;
    width: 128px;
    display: block;
    border: 1px solid var(--color-background-lighter);
    border-radius: 10px;
	max-width: 100%;
}

.woocommerce-cart-form__cart-item .product-name a{
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.woocommerce table.shop_table td.product-subtotal{
	text-align: right;
    padding-right: 0;
}

.woocommerce table.shop_table td.product-remove{
	padding-right: 0;	
	border-top: unset;
}

.woocommerce table.shop_table td.product-quantity{
	font-weight: normal;
    color: #676973;
}

.woocommerce table.shop_table td.actions{
	padding: 0;
	border: unset;
}

.woocommerce-cart table.cart .woocommerce-Price-amount{
	font-size: 1.25rem;
    line-height: 1.625rem;
	font-weight: 700;
}

.woocommerce-cart table.cart .price-decimal{
	font-size: 0.85rem;
    line-height: 1rem;
}

/* Keep each variation label/value pair readable without widening the cart. */
.woocommerce-cart .woocommerce td.product-name dl.variation dd p{
	margin: 0;
}

/* Compact quantity selector, cart page only. */
.woocommerce-cart .woocommerce-cart-form .product-quantity .quantity{
	zoom: 0.7;
}

/* Remove Button */
.woocommerce a.remove{
	font-size: 0;
    width: 34px;
    height: 34px;
    margin: 0;
    position: relative;
	display: flex;
    align-items: center;
    justify-content: center;
	margin-left: auto;
	background-color: var(--color-background);
	border-radius: 50%;
}

.woocommerce a.remove:hover{
	background-color: transparent;
}

.woocommerce a.remove:after{
	content: '';
	-webkit-mask-image: url('../../../icons/cross.svg');
	mask-image: url('../../../icons/cross.svg');
	background-color: var(--color-text);
	width: 12px;
    height: 12px;
	display: inline-block;
	transition: var(--transition);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}

.woocommerce a.remove:hover:after{
	background-color: var(--color-red);
}

/* Return to Shop Button */
.woocommerce a.return-to-shop{
	padding: 25px 45px;
	background: #f6f6f6;
	font-size: 13px;
	border-radius: 0;
	align-items: center;
    justify-content: center;
    display: inline-flex;
	margin-bottom: 50px;
	color: var(--color-text);
}

.woocommerce a.return-to-shop:before{
	content: '';
	-webkit-mask-image: url('../../icons/chevron-back-outline.svg');
	mask-image: url('../../icons/chevron-back-outline.svg');
	background-color: currentColor;
	width: 20px;
	height: 20px;
	display: inline-block;
	margin-right: 10px;
}

/* CART RELATED PRODUCTS */
.cart-related-wrapper{
	margin-bottom: 48px;
}

/* Mobile */
@media screen and (min-width: 993px){
	.woocommerce-cart-form{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 60.66667%;
		flex: 0 0 60.66667%;
		max-width: 60.66667%;
		padding-right: 30px;
	}
}

@media screen and (max-width: 992px){
	.woocommerce-cart-form,
	.cart-collaterals{
		margin-bottom: 32px;
	}
	.woocommerce-cart-form{
		padding: 32px 32px 12px;
	}
}

@media screen and (max-width: 768px){
	.woocommerce table.shop_table.cart td{
		border-top: none;
	}
	.woocommerce .woocommerce-cart-form table.shop_table td{
		padding-block: 12px;
	}
	.woocommerce table.shop_table_responsive tr td, 
	.woocommerce-page table.shop_table_responsive tr td {
		text-align: left !important;
	}
	.woocommerce table.shop_table_responsive tr:nth-child(2n) td, 
	.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td{
		background-color: transparent;
	}
	.woocommerce table.shop_table_responsive tr td::before,
	.woocommerce-page table.shop_table_responsive tr td::before {
		display: none;
	}
	.woocommerce #content table.cart .product-thumbnail, 
	.woocommerce table.cart .product-thumbnail, 
	.woocommerce-page #content table.cart .product-thumbnail, 
	.woocommerce-page table.cart .product-thumbnail{
		display: block;
	}
	.woocommerce-cart table.cart .product-thumbnail{
		padding-inline: 0;
	}
	.woocommerce-cart-form__cart-item td.product-thumbnail{
		position: absolute;
		top: 0;
    	left: 0;
	}
	.woocommerce-cart-form__cart-item{
		position: relative;
		padding: 0 30px 15px 140px;
	}
	.woocommerce-cart-form__cart-item+.woocommerce-cart-form__cart-item{
		padding-top: 16px;
		border-top: 1px solid var(--border-color);
	}
	.woocommerce-cart-form__cart-item td.product-thumbnail{
		top: 16px;
	}
	.woocommerce-cart-form__cart-item td.product-remove{
		position: absolute;
		right: -5px;
		top: 0;
		transform: none;
		padding-inline: 0;
	}
	.woocommerce table.shop_table.cart td.product-subtotal{
		position: relative;
	}
	.woocommerce td.product-name dl.variation{
		margin-bottom: 0;
	}
	.woocommerce-cart-form__cart-item .product-sku{
		padding-bottom: 0;
	}
}

@media screen and (max-width: 480px){
	.woocommerce-cart-form{
		padding: 20px 16px 12px;
	}
	.woocommerce .woocommerce-cart-form table.shop_table td.product-thumbnail{
		padding-inline: 0;
		width: auto;
	}
	.woocommerce .return-to-shop{
		width: 100%; 	
		justify-content: center;
	}
	.woocommerce-cart table.cart img{
		width: 80px;
		height: 80px;
		object-fit: cover;
	}
	.woocommerce-page table.cart .product-thumbnail{
		padding-inline: 0;
	}
	.woocommerce-cart-form__cart-item .product-name a{
		padding-right: 32px;
	}
	.woocommerce-cart-form__cart-item{
		padding: 0 0 15px 80px;
	}
}