/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

/* Cart table refresh */
body.woocommerce-cart .woocommerce-cart-form__contents {
	border-collapse: separate;
	border-spacing: 0 12px;
	margin: 0;
	transition: opacity .2s ease;
}

body.woocommerce-cart form.woocommerce-cart-form {
	position: relative;
}

body.woocommerce-cart form.woocommerce-cart-form.processing .woocommerce-cart-form__contents {
	opacity: .62;
	pointer-events: none;
	user-select: none;
}

body.woocommerce-cart form.woocommerce-cart-form.processing::after {
	content: '';
	position: absolute;
	inset: 0;
	background: #f6f6f6;
	opacity: .38;
	pointer-events: none;
	z-index: 3;
}

body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead th {
	background: transparent;
	border: 0;
	color: #7f0f18;
	font-size: 13px;
	font-weight: 700;
	padding: 0 10px 4px;
	text-transform: uppercase;
	letter-spacing: .02em;
}

body.woocommerce-cart .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
	background: #fafafa;
	border: 1px solid #efefef;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(25, 25, 25, 0.05);
	overflow: hidden;
}

body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
	background: #fafafa !important;
	border: 1px solid #efefef !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 14px rgba(25, 25, 25, 0.05) !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item td {
	background: transparent;
	border: 0;
	padding: 12px 10px;
	vertical-align: middle;
}

body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item td {
	background: transparent !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
}

body.woocommerce-cart td.product-remove .remove {
	width: 36px;
	height: 36px;
	line-height: 1;
	border-radius: 999px;
	border: 1px solid #333740;
	background: linear-gradient(145deg, #252a33 0%, #161a22 100%);
	color: #ffffff !important;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px rgba(12, 14, 19, 0.28);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
	overflow: hidden;
}

body.woocommerce-cart td.product-remove .remove::before,
body.woocommerce-cart td.product-remove .remove::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-cart td.product-remove .remove:focus,
body.woocommerce-cart td.product-remove .remove:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.25), 0 8px 16px rgba(12, 14, 19, 0.28);
}

body.woocommerce-cart td.product-remove .remove:hover {
	background: linear-gradient(145deg, #d81827 0%, #b6101d 100%);
	border-color: #c1121f;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(193, 18, 31, 0.3);
}

body.woocommerce-cart td.product-thumbnail a,
body.woocommerce-cart td.product-thumbnail img {
	display: block;
	width: 80px;
	height: 80px;
	max-width: 80px;
	max-height: 80px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 10px;
	overflow: hidden;
}

body.woocommerce-cart td.product-thumbnail img {
	transform: scale(1);
	transition: transform 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
	body.woocommerce-cart td.product-thumbnail {
		position: relative;
	}

	body.woocommerce-cart td.product-thumbnail:hover,
	body.woocommerce-cart td.product-thumbnail:focus-within {
		overflow: visible;
		z-index: 20;
	}

	body.woocommerce-cart td.product-thumbnail:hover a,
	body.woocommerce-cart td.product-thumbnail:focus-within a {
		overflow: visible;
	}

	body.woocommerce-cart td.product-thumbnail:hover img,
	body.woocommerce-cart td.product-thumbnail:focus-within img {
		transform: scale(1.65);
	}
}

.woocommerce table.cart tbody tr td img,
.woocommerce-page table.cart tbody tr td img {
	width: 80px !important;
}

body.woocommerce-cart td.product-name a {
	color: #333;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

body.woocommerce-cart td.product-name a:hover {
	color: #7f0f18;
}

body.woocommerce-cart td.product-name dl.variation {
	margin: 6px 0 0;
	font-size: 12px;
	color: #555;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
	font-size: 15px;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

body.woocommerce-cart td.product-quantity .qty_lbl {
	display: none;
}

body.woocommerce-cart td.product-quantity .quantity {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

body.woocommerce-cart td.product-quantity .quantity .qty {
	width: 56px;
	height: 36px;
	padding: 0 6px;
	border: 1px solid #e4e4e4;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #333;
}

body.woocommerce-cart td.product-quantity .quantity .plus,
body.woocommerce-cart td.product-quantity .quantity .minus,
body.woocommerce-cart td.product-quantity .quantity button {
	display: none !important;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 999px !important;
	border: 1px solid #c1121f;
	background: #c1121f !important;
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

body.woocommerce-cart td.product-quantity .quantity .plus:hover,
body.woocommerce-cart td.product-quantity .quantity .minus:hover,
body.woocommerce-cart td.product-quantity .quantity button:hover {
	background: #a30f1a !important;
	border-color: #a30f1a;
}

body.woocommerce-cart .woocommerce-cart-form__contents .actions {
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 12px;
	padding: 12px;
}

body.woocommerce-cart .woocommerce-cart-form__contents .actions .button,
body.woocommerce-cart .empty_cart_btn,
body.woocommerce-cart .continue_shopping_btn {
	border-radius: 999px !important;
	padding: 8px 14px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
}

@media (max-width: 860px) {
	body.woocommerce-cart .woocommerce-cart-form__contents thead {
		display: none;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
		display: grid !important;
		grid-template-columns: 80px minmax(0, 1fr) 32px !important;
		grid-template-areas:
			"thumb name remove"
			"qty qty subtotal" !important;
		align-items: start !important;
		gap: 10px 12px !important;
		position: relative !important;
		padding: 12px !important;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td {
		display: block !important;
		width: auto !important;
		float: none !important;
		clear: none !important;
		padding: 0 !important;
		margin: 0 !important;
		text-align: left !important;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td::before {
		display: none !important;
		content: none !important;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-remove {
		grid-area: remove;
		justify-self: end;
		align-self: start;
		text-align: right !important;
	}

	body.woocommerce-cart td.product-remove .remove {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-thumbnail {
		grid-area: thumb;
		align-self: start;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-name {
		grid-area: name;
		align-self: center;
		padding-top: 0;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-name a {
		font-size: 14px;
		line-height: 1.2;
		font-weight: 700;
		text-align: left !important;
		display: block;
		margin: 0;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-price {
		display: none !important;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-quantity {
		grid-area: qty;
		display: flex;
		align-items: center;
		gap: 10px;
		align-self: center;
		padding-left: 2px;
	}

	body.woocommerce-cart td.product-quantity .qty_lbl {
		display: inline-block;
		margin: 0;
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
		text-transform: uppercase;
	}

	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 6px !important;
	}

	body.woocommerce-cart td.product-quantity .quantity .plus,
	body.woocommerce-cart td.product-quantity .quantity .minus,
	body.woocommerce-cart td.product-quantity .quantity button {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		float: none !important;
		margin: 0 !important;
		width: 36px !important;
		height: 36px !important;
		border-radius: 8px !important;
		font-size: 20px !important;
		line-height: 1;
		background: #000 !important;
		border-color: #000 !important;
		color: #fff !important;
	}

	body.woocommerce-cart td.product-quantity .quantity .minus {
		order: 1;
	}

	body.woocommerce-cart td.product-quantity .quantity .qty {
		order: 2;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		flex: 0 0 64px !important;
		height: 30px !important;
		border-radius: 8px !important;
		padding: 0 !important;
		font-size: 16px !important;
		line-height: 30px !important;
		text-align: center !important;
	}

	body.woocommerce-cart td.product-quantity .quantity .plus {
		order: 3;
	}

	body.woocommerce-cart td.product-quantity .quantity .plus:hover,
	body.woocommerce-cart td.product-quantity .quantity .minus:hover,
	body.woocommerce-cart td.product-quantity .quantity button:hover {
		background: #111 !important;
		border-color: #111 !important;
	}

	body.woocommerce-cart td.product-quantity .quantity .qty {
		width: 52px;
		height: 34px;
		font-size: 14px;
	}

	body.woocommerce-cart table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item > td.product-subtotal {
		grid-area: subtotal;
		display: block !important;
		font-size: 15px;
		line-height: 1.2;
		align-self: center;
		justify-self: end;
		text-align: right;
		white-space: nowrap;
		padding-right: 2px;
	}

	body.woocommerce-cart td.product-thumbnail a,
	body.woocommerce-cart td.product-thumbnail img {
		width: 80px;
		height: 80px;
		max-width: 80px;
		max-height: 80px;
	}
}



