/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


textarea { resize: none; } /* Added: 07/17/2026. */
.hide { display: none !important; } /* Added: 07/17/2026. */

/* Avada *********************************************************************************************************************************************/

div.leaflet-control-attribution.leaflet-control { display: none; } /* Home page > View Map > hides the Leaflet disclaimer. */
.default-on-hover-cursor:hover { cursor: default !important; } /* On the home page reviews, don't show pointer cursor when hovering on the button since it's not a link. Added: 08/12/2026. */
.globalFooterProductLinks h4 a { color: #89392a !important; }
.globalFooterProductLinks h4 a:hover { color: #f5b997 !important; }

@media( max-width: 1248px ) {
	li#menu-item-42 { display: none; } /* Hide the Shop button so the global header doesn't break into two lines. Added: 08/19/2026. */
}

@media( max-width: 1310px ) {
	#globalHeader a.fusion-button { padding-left: 24px; padding-right: 24px; } /* Reduce the global header's button so it doesn't break into two lines. Added: 08/27/2026. Source: Myself. */
}

/* WooCommerce *********************************************************************************************************************************************/

	/*
	body.post-type-archive-product main#main, body.single-product main#main, body.tax-product_cat main#main {
		background-image: url( 'https://shop.cmaxco.com/wp-content/uploads/2023/07/grunge-bg-1.png' );
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
		background-color: black;
	}
	*/

	/* Hide Express Checkout on Product Pages and the Cart Page. Added: 08/24/2026. */
	/* According to Gemini, disabling Express Checkout via unchecking checkboxes in WP Admin might not be working because recently, WooCommerce changed how it builds store pages. Instead of using the classic "shortcodes"
	(which listen to the settings menu you are currently on), modern WooCommerce installations default to using "Blocks" for the Cart and Checkout. Because CMAX Shop is using these new Blocks, the blocks themselves are
	aggressively overriding your Stripe gateway settings and forcing the buttons to display. */
	.single-product div#wc-stripe-express-checkout-element,
	.woocommerce-cart div.wc-block-cart__payment-options { display: none !important; }

	/* Change the cart icon and cart counter color. Source: Gemini and myself. 08/24/2026. */
	i.fa-shopping-cart, span.fusion-widget-cart-number { color: white; border-color: white !important; }
	span.fusion-widget-cart-number { background-color: black !important; }

	/* Hide the sad face on the /cart/ page when the shopping cart is empty. Added: 08/25/2026. Source: Gemini. */
	body.woocommerce-cart h2.with-empty-cart-icon.wc-block-cart__empty-cart__title::before { display: none !important; }

	/* Hide the product descriptions on product pages. Added: 08/27/2026. Source: Gemini. */
	body.single-product div.woocommerce-tabs { display: none !important; }

	/* Hide the SKUs. Added: 09/02/2026. */
	span.sku_wrapper { display: none !important; }

	/* Hide the green message that appears when adding to cart. Added: 09/02/2026. */
	div.wc-block-components-notice-banner.is-success { display: none !important; }

	/* Hide the shipping cost on the cart page. Added: 09/02/2026. */
	.woocommerce-cart p.wc-block-components-totals-footer-item-shipping { display: none; }
