
/*
** Página de carrinho
** ================================================== */
/* Geral */
.woocommerce-cart-form {
	margin: 15px -10px;
}
.woocommerce table.shop_table.woo-tabela-carrinho {
	border: 0;
}
.woocommerce table.shop_table.woo-tabela-carrinho td {
	border-top: 0;
}

/* Conteudo */
.woo-conteudo-carrinho a {
	text-decoration: none;
	color: #748385;
}

/* Tabela */
.woocommerce table.shop_table tr {
	position: relative;
}
.woocommerce table.shop_table tbody tr td:first-child:before {
	content: '';
	position: absolute;
	left: 10px;
	right: 10px;
	top: 0;
	border-top: 1px solid #F5F5F5;
}
.woocommerce table.shop_table th {
	font-size: 20px;
	color: #3A4C4F;
	font-weight: normal;
}
.woocommerce table.shop_table {
	font-size: 16px;
}
.woo-conteudo-carrinho .woocommerce table.shop_table td {
	padding: 20px 12px;
}
.woocommerce table.shop_table.woo-tabela-carrinho td.product-name {
	padding-right: 50px;
}

/* Total do pedido */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
}
.cart-subtotal td,
.order-total td {
	font-weight: bold;
	color: #3A4C4F;
}

/* Cupom de desconto */
.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
.woocommerce-page table.cart td.actions .input-text {
	width: 200px;
}
.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {
	display: flex;
}
.woocommerce-cart table.cart td.actions .coupon #coupon_code {
	padding: 7px 15px;
	min-width: 200px;
}

/* Imagem */
.woo-tabela-carrinho .product-thumbnail a {
	display: block;
	top: 0;
	position: relative;
	border: 1px solid #D7DBDC;
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease 0s;
	padding: 15px;
	box-sizing: border-box;
	background-color: #FFF;
}
.woo-tabela-carrinho .product-thumbnail a img {
	width: 110px;
	height: 110px;
}
.woo-tabela-carrinho .product-thumbnail a:hover {
	top: -10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.woocommerce-cart table.cart.woo-tabela-carrinho img,
.woocommerce-checkout table.cart.woo-tabela-carrinho img {
	width: 100%;
}

/* TH */

/* Imagem */
.woo-tabela-carrinho th.product-thumbnail {
	width: 110px;
}

/* Preço */
.woo-tabela-carrinho th.product-price {
	width: 140px;
}

/* Quantidade */
.woo-tabela-carrinho th.product-quantity {
	width: 180px;
}

/* Subtotal */
.woo-tabela-carrinho th.product-subtotal {
	width: 120px;
}

/* Remover */
.woo-tabela-carrinho th.product-remove {
	width: 50px;
}
.woo-tabela-carrinho td.product-remove {
	text-align: right;
}

.woo-remover-item-carrinho {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 5px;
	transition: all 0.3s ease 0s;
	background-color: transparent;
	background-clip: padding-box;
	color: transparent !important;
}
.woo-remover-item-carrinho:before {
	content: '';
	background: url('../../imagens/icones/icone-remover.png') no-repeat center center;
	background-size: cover;
	width: 25px;
	height: 25px;
}
.woo-remover-item-carrinho:hover {
	background-color: #F5F5F5;
}

@media (max-width: 980px) {
	.woo-tabela-carrinho th.product-price {
		width: 100px;
	}
	.woo-tabela-carrinho th.product-quantity {
		width: 140px;
	}
	.woo-tabela-carrinho th.product-subtotal {
		width: 80px;
	}
	.woo-tabela-carrinho .product-thumbnail a img {
		width: 90px;
		height: 90px;
	}
	.woo-tabela-carrinho th.product-thumbnail {
		width: 100px;
	}
	.woocommerce table.shop_table.woo-tabela-carrinho td.product-name {
		padding-right: 10px;
	}
}

@media (max-width: 768px) {
	body.woocommerce #content table.cart .product-thumbnail,
	body.woocommerce table.cart .product-thumbnail,
	body.woocommerce-page #content table.cart .product-thumbnail,
	body.woocommerce-page table.cart .product-thumbnail {
		display: block;
	}
	.woocommerce table.shop_table tbody tr td:first-child::before {
		content: none;
	}
	.woo-conteudo-carrinho .woocommerce table.shop_table td {
		display: flex;
		justify-content: space-between;
	}

	/* Frete / Carrinho */
	.woocommerce table.shop_table_responsive tr > td,
	.woocommerce-page table.shop_table_responsive tr > td {
		display: block !important;
		text-align: left !important;
	}

	.woo-conteudo-carrinho .woocommerce table.shop_table td.actions {
		flex-direction: column;
	}
	.woocommerce table.shop_table_responsive tr td::before,
	.woocommerce-page table.shop_table_responsive tr td::before {
		padding-right: 15px
	}
	.woo-remover-item-carrinho {
		margin-left: auto;
	}

	.woocommerce-cart table.cart.woo-tabela-carrinho img,
	.woocommerce-checkout table.cart.woo-tabela-carrinho img {
		max-width: 100%;
	}
	.woo-tabela-carrinho .product-thumbnail a {
		max-width: 400px;
		margin: auto;
	}
	.woo-conteudo-carrinho .woocommerce table.shop_table td {
		padding: 10px 12px;
	}

	.woocommerce-cart table.cart td.actions .coupon #coupon_code {
		min-width: auto;
	}
	body .woocommerce table.cart td.actions .coupon .button,
	body.woocommerce-page #content table.cart td.actions .coupon .button,
	body.woocommerce-page table.cart td.actions .coupon .button {
		width: 52%;
	}
}