/* Shared storefront hardening: header actions, PDP tablet layout, mobile CTAs. */

#masthead .mia-header-actions {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: clamp(12px, 2vw, 22px) !important;
	width: auto !important;
	max-width: 100% !important;
}

#masthead .mia-header-cart,
#masthead .mia-header-account {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	position: relative !important;
}

#masthead .mia-header-cart .xoo-wsc-sc-cont,
#masthead .mia-header-cart .xoo-wsc-cart-trigger,
#masthead .mia-header-cart .xoo-wsc-sc-bkcont {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	position: relative !important;
	border: 1px solid #111111 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
}

#masthead .mia-header-cart .xoo-wsc-sc-bki {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #111111 !important;
	font-size: 22px !important;
	line-height: 1 !important;
}

#masthead .mia-header-cart .xoo-wsc-sc-cont:hover,
#masthead .mia-header-cart .xoo-wsc-sc-cont:focus-within,
#masthead .mia-header-cart .xoo-wsc-cart-trigger:hover,
#masthead .mia-header-cart .xoo-wsc-cart-trigger:focus-within,
#masthead .mia-header-cart .xoo-wsc-sc-bkcont:hover,
#masthead .mia-header-cart .xoo-wsc-sc-bkcont:focus-within {
	background: #111111 !important;
}

#masthead .mia-header-cart .xoo-wsc-sc-cont:hover .xoo-wsc-sc-bki,
#masthead .mia-header-cart .xoo-wsc-sc-cont:focus-within .xoo-wsc-sc-bki,
#masthead .mia-header-cart .xoo-wsc-cart-trigger:hover .xoo-wsc-sc-bki,
#masthead .mia-header-cart .xoo-wsc-cart-trigger:focus-within .xoo-wsc-sc-bki,
#masthead .mia-header-cart .xoo-wsc-sc-bkcont:hover .xoo-wsc-sc-bki,
#masthead .mia-header-cart .xoo-wsc-sc-bkcont:focus-within .xoo-wsc-sc-bki {
	color: #ffffff !important;
}

#masthead .mia-header-cart .xoo-wsc-sc-count {
	position: absolute !important;
	top: 3px !important;
	right: 3px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 18px !important;
	height: 18px !important;
	padding: 0 4px !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	border: 1px solid #111111 !important;
	color: #111111 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

#masthead .mia-header-account {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
}

#masthead .mia-header-account a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 0 18px !important;
	background: #ffffff !important;
	border: 1px solid #111111 !important;
	border-radius: 999px !important;
	color: #111111 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

#masthead .mia-header-account a:hover,
#masthead .mia-header-account a:focus {
	background: #111111 !important;
	color: #ffffff !important;
}

body.woocommerce-cart #masthead .mia-header-actions,
body.woocommerce-checkout #masthead .mia-header-actions {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
}

body.single-product .mia-variation-helper {
	margin-top: 12px !important;
	color: #8b0000 !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
}

body.single-product form.variations_form:not(.mia-variation-ready) button.single_add_to_cart_button {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
}

body.single-product form.variations_form:not(.mia-variation-ready) button.single_add_to_cart_button:hover {
	background-color: #0a0a0a !important;
	color: #ffffff !important;
}

.wpr-form button .wpr-hidden-element,
.wpr-form .wpr-button .wpr-hidden-element {
	display: none !important;
}

@media (max-width: 430px) {
	body.post-type-archive-product ul.products li.product a.button,
	body.post-type-archive-product ul.products li.product .button,
	body.post-type-archive-product .eael-product-grid .button,
	body.post-type-archive-product .eael-product-grid a.button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		white-space: normal !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	body.single-product .product section.elementor-element-2d82b80c > .elementor-container {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
	}

	body.single-product .product section.elementor-element-2d82b80c > .elementor-container > .elementor-column {
		width: 50% !important;
		max-width: 50% !important;
		min-width: 0 !important;
	}
}
