/*
Theme Name: AfroECH Hello Biz Child Theme
Author: BadBoi
Description: Your description goes here
Version: 1.0
Template: hello-biz

This is the child theme for Hello Biz theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.woocommerce .product .summary .stock:before {
    content: "\e87f";
}


.woocommerce .product .summary .stock:before {
    content: "\e87f";
}
/* Keep the quantity selector as one horizontal pill */
#afroeco .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder .quantity.qty-buttons-added {
	display: grid !important;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	width: 100%;
	max-width: 350px;
	height: 52px;
	border: 1px solid #999;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	padding: 0 !important;
	margin: 0 0 10px 0 !important;
	gap: 0 !important;
}

/* Stop Elementor from pushing the + button down */
#afroeco .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder .quantity.qty-buttons-added button.qty-btn,
#afroeco .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder .quantity.qty-buttons-added button.qty-btn:not(:first-child),
#afroeco .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder .quantity.qty-buttons-added .button:not(:first-child) {
	margin-block-start: 0 !important;
	margin-inline-start: 0 !important;
	margin: 0 !important;
}

/* Style the - and + buttons inside the pill */
#afroeco .quantity.qty-buttons-added .qty-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #000 !important;
	font-size: 18px;
	font-weight: 400;
	padding: 0 !important;
	box-shadow: none !important;
	line-height: 1 !important;
}

/* Style the quantity number */
#afroeco .quantity.qty-buttons-added input.qty {
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #000 !important;
	text-align: center;
	font-size: 16px;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
}

/* Hide browser number arrows */
#afroeco .quantity.qty-buttons-added input.qty::-webkit-outer-spin-button,
#afroeco .quantity.qty-buttons-added input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#afroeco .quantity.qty-buttons-added input.qty[type="number"] {
	-moz-appearance: textfield;
}

/* Keep the Add to Cart button below the quantity pill */
#afroeco .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder > button.single_add_to_cart_button {
	margin-top: 10px !important;
	width: 100%;
}
#afroeco .product span.price {
    font-family: Outfit;
    font-size: 2em;
    font-weight: 600;
    width: 100%;
}

/* Center variation price inside Elementor add-to-cart widget */
#afroeco .elementor-widget-woocommerce-product-add-to-cart .woocommerce-variation-price,
#afroeco .elementor-widget-wc-add-to-cart .woocommerce-variation-price {
	text-align: center !important;
	width: 100%;
}

#afroeco .elementor-widget-woocommerce-product-add-to-cart .woocommerce-variation-price .price,
#afroeco .elementor-widget-wc-add-to-cart .woocommerce-variation-price .price {
	display: block;
	font-family: Outfit;
    font-size: 2em;
    font-weight: 600;
	text-align: center !important;
}
/* Hide the original WooCommerce variation dropdown */
#afroeco table.variations select {
	display: none !important;
}

/* Variation row cleanup */
#afroeco table.variations {
	width: 100%;
	margin-bottom: 16px;
}

#afroeco table.variations th.label {
	display: block;
	text-align: center;
	padding-bottom: 8px;
}

#afroeco table.variations td.value {
	display: block;
	text-align: center;
}

/* Button wrapper */
#afroeco .variation-button-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 8px 0 12px;
}

/* Size buttons */
#afroeco .variation-button {
	min-width: 72px;
	height: 42px;
	padding: 0 18px;
	border: 1px solid #9c9c9c;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

/* Hover */
#afroeco .variation-button:hover {
	border-color: #8bc53f;
	background: #f4f9ea;
	color: #000;
}

/* Selected variation */
#afroeco .variation-button.selected {
	border-color: #8bc53f;
	background: #8bc53f;
	color: #fff;
}

/* Focus */
#afroeco .variation-button:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(139, 197, 63, 0.25);
}

/* Reset link */
#afroeco table.variations .reset_variations {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	text-align: center;
}
/* Keep variation buttons horizontal */
#afroeco .variation-button-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 8px 0 12px;
}

/* Prevent buttons from stretching or stacking */
#afroeco .variation-button-wrapper .variation-button {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 72px;
	white-space: nowrap;
}

