
@media(min-width:768px) {
	#header .header-h .header-cart-contents {
		display: inline-block;
		margin-right: 20px;
	}
 
	#header .header-h .header-cart-contents .cart-icon svg path {
		fill: #000 !important;
	}
 
	#header .header-h .cart-icon .cart-count {
		background: #000;
		color: #fff;
		font-size: 12px;
	}
}

.woocommerce-account.woocommerce-page #content{
	margin-block: 50px;
}

#popup {
	z-index: 9999;
}

/* ----------------------------------------
   Quantity Wrapper
---------------------------------------- */

.quantity {
	display: inline-flex;
	align-items: center;
	padding: 0 0 0 10px;
	gap: 0 !important;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.woocommerce .quantity:before {
	line-height: 1 !important;
}

.single-product.woocommerce div.product form.cart div.quantity,
.woocommerce-cart .quantity {
	width: max-content !important;
}

/* ----------------------------------------
   Quantity Input
---------------------------------------- */

.quantity .qty {
	width: 60px;
	text-align: center;
	border: 0 !important;
	margin: 0;
	appearance: textfield;
}

.woocommerce .quantity .qty {
	width: 30px;
}

.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ----------------------------------------
   Quantity Buttons
---------------------------------------- */

.qty-btn {
	width: 40px;
	height: 42px;
	border: 0;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: background 0.2s;
}

.qty-btn:hover {
	background: #e5e5e5;
}

.qty-btn.qty-minus {
	margin-left: 15px;
}

/* ----------------------------------------
   Product Archive
---------------------------------------- */

.archive.tax-product_cat .products .product .added_to_cart {
	display: none;
}

.archive.tax-product_cat .products .product .ajax_add_to_cart.loading::after {
	top: 0.8em !important;
}

.archive.tax-product_cat .products .product .ajax_add_to_cart.added::after {
	vertical-align: middle !important;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */

@media (max-width: 1400px) {

	.archive .products li.product form.cart {
		flex-direction: column;
		gap: 10px;
	}

	.archive.tax-product_cat .products .product .ajax_add_to_cart {
		width: -webkit-fill-available;
		display: inline-flex;
		justify-content: center;
		text-align: center;
	}

	.archive.tax-product_cat .products .product .ajax_add_to_cart.added::after {
		font-size: 12px;
		margin-top: 6px;
		margin-left: 10px;
	}

	.woocommerce-page table.shop_table_responsive tr td.product-quantity::before {
		margin-top: 8px;
		margin-right: 15px;
	}
}

@media (max-width: 768px) {

	.woocommerce-cart .quantity::before {
		display: none;
	}
}

/* ----------------------------------------
   WooCommerce Quick View
---------------------------------------- */

/* Quantity input styling */
.woocommerce .wqv-product-info .quantity .qty,
.wqv-product-info .quantity .qty {
	margin: 0 !important;
	min-width: 40px;
	line-height: 42px;
}

/* Stack quantity and add to cart button */
.wqv-product-info form.cart {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Remove left margin from minus button */
.wqv-product-info form.cart .qty-btn.qty-minus {
	margin: 0 !important;
}

/* Align loading spinner on Add to Cart button */
.wqv-product-info form.cart button[type="submit"].loading::after {
	top: unset !important;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */

@media (max-width: 1022px) {

	/* Make Quick View content full width and centered */
	.mfp-wqv .wqv-product-info,
	.mfp-wqv .wqv-product-images {
		width: -webkit-fill-available;
		display: inline-flex;
		justify-content: center;
		text-align: center;
	}
}
