/*
Theme Name: Dutone Aprin Child
Theme URI: https://dutonecreations.com
Description: Child of Aprin. Menu /final/ link fix, category 404 redirects, Textured Business Cards import, WooCommerce product search (so “textured” shows the product).
Author: NuSkillz
Template: aprin
Version: 1.0.6
*/

/*
 * Header ajax search sits under the menu because Elementor custom CSS sets
 * overflow-x: hidden on the header row. CSS then clips overflow-y as well.
 */
.elementor-250 .elementor-element.elementor-element-19b499d,
.elementor-element.elementor-element-19b499d,
.elementor-element-19b499d .e-con-inner,
.elementor-element-19b499d .elementor-widget-container,
.elementor-element-0ced26d,
.elementor-element-1483180,
#masthead .elementor-widget-aprin-search,
#masthead .site-search.ajax-search,
#masthead .widget_product_search {
	overflow: visible !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

.elementor-element.elementor-element-19b499d {
	position: relative !important;
	z-index: 10020 !important;
}

#masthead .ajax-search-result,
.site-search.ajax-search .ajax-search-result {
	z-index: 2147483646 !important;
	position: absolute !important;
}

/*
 * Product pages: Shiprocket plugin AND print plugin both output
 * “Enter Pincode”. Keep the styled Delivery row; hide Shiprocket’s extra box.
 */
#shiprocket_pincode_check,
button#check_pincode,
#pincode_response,
form.cart + div:has(#shiprocket_pincode_check) {
	display: none !important;
}

/*
 * Woo injects the selected variation price into .single_variation (theme paints
 * it in the pink primary color). It sits under Quantity; Unit Price / Order
 * Total from the print plugin already covers this.
 */
.single-product div.product .single_variation .price,
.single-product .woocommerce-variation-price {
	display: none !important;
}

/* Products without a featured image were invisible in Aprin blog-search */
.search .product.type-product .post-inner {
	min-height: 8rem;
}
.search .product.type-product:not(.has-post-thumbnail) .entry-header::before {
	content: "Textured / print product";
	display: block;
	padding: 1rem;
	font-weight: 700;
}
