/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/hello-elementor-child
Description: Child theme for Hello Elementor with custom authentication page design.
Author: Subhan
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* WooCommerce checkout/cart primary buttons */
.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background-color: #14963a !important;
	border-color: #14963a !important;
	color: #ffffff !important;
	opacity: 1 !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background-color: #0f7f30 !important;
	border-color: #0f7f30 !important;
	color: #ffffff !important;
}

/* Hide post add-to-cart "View cart" links */
.woocommerce a.added_to_cart,
.woocommerce-page a.added_to_cart,
.single-product .summary a.added_to_cart,
.woocommerce a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.woocommerce a.added_to_cart.wc_forward,
.woocommerce-page a.added_to_cart.wc_forward {
	display: none !important;
	visibility: hidden !important;
}

/* Equal-height Elementor product loop cards */
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-loop-container {
	align-items: stretch !important;
	grid-auto-rows: 1fr !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-loop-container > .e-loop-item.product {
	display: flex !important;
	height: 100% !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .e-loop-item.product > .elementor-166,
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166.e-loop-item.product,
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-a86d1d0 {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	width: 100% !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-a86d1d0 > .e-con-inner {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	height: 100% !important;
	width: 100% !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-9f927c4,
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-ea70087,
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-4a96b90 {
	flex: 0 0 auto !important;
	width: 100% !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-4a96b90 a {
	display: block !important;
	aspect-ratio: 1 / 1 !important;
	width: 100% !important;
	overflow: hidden !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-4a96b90 img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-02e5650 {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	width: 100% !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-065e4ce {
	min-height: 38px !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-065e4ce .elementor-heading-title,
.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-065e4ce .elementor-heading-title a {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-286422f {
	min-height: 22px !important;
	margin-bottom: 0 !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-286422f .price {
	margin-bottom: 0 !important;
	line-height: 1.2 !important;
}

.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-04e2789 {
	flex: 0 0 auto !important;
	margin-top: auto !important;
	width: 100% !important;
}

@media (max-width: 767px) {
	.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-a86d1d0 > .e-con-inner {
		padding: 8px !important;
	}

	.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-065e4ce {
		min-height: 31px !important;
	}

	.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-286422f {
		min-height: 18px !important;
	}

	.woocommerce.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .elementor-166 .elementor-element.elementor-element-04e2789 {
		margin-top: 4px !important;
	}
}
