/* 
Theme Name: HoseJoy
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Cart page: prevent horizontal bleed/scroll caused by off-canvas widgets or small negative offsets */
body.woocommerce-cart {
	overflow-x: clip;
}

@supports not (overflow: clip) {
	body.woocommerce-cart {
		overflow-x: hidden;
	}
}

/* WooCommerce classic notices (e.g. “has been added to your cart”) */
.woocommerce-notices-wrapper {
	margin: 16px 0;
}

.e-woocommerce-notices-wrapper {
	margin: 16px 0;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
	background: #fff;
	border: 1px solid #ffbb00;
	border-radius: 4px;
	box-sizing: border-box;
	color: #2f2f2f;
	font-size: 0.875em;
	line-height: 1.5;
	margin: 16px 0;
	position: relative;
	/* Keep space for WooCommerce's ::before icon */
	padding: 1em 2em 1em 3.5em;
}

.e-woocommerce-notices-wrapper .woocommerce-message,
.e-woocommerce-notices-wrapper .woocommerce-info,
.e-woocommerce-notices-wrapper .woocommerce-error {
	background: #fff;
	border: 1px solid #ffbb00;
	border-radius: 4px;
	box-sizing: border-box;
	color: #2f2f2f;
	font-size: 0.875em;
	line-height: 1.5;
	margin: 16px 0;
	position: relative;
	/* Keep space for WooCommerce's ::before icon */
	padding: 1em 2em 1em 3.5em;
}

.woocommerce-notices-wrapper .woocommerce-error {
	list-style: none;
}

/* Notice variants */
.woocommerce-notices-wrapper .woocommerce-message {
	background-color: #FFF8E6;
	border: 1px solid var(--e-global-color-accent, #FFBB00) !important;
}

.e-woocommerce-notices-wrapper .woocommerce-message {
	background-color: #FFF8E6;
	border: 1px solid var(--e-global-color-accent, #FFBB00) !important;
}

/* Success notice icon */
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-message:before {
	color: var(--e-global-color-accent, #FFBB00) !important;
	/* Ensure the icon stays on the left and doesn't affect text flow */
	position: absolute;
	top: 1em;
	left: 1.5em;
}

.e-woocommerce-notices-wrapper .woocommerce-message::before,
.e-woocommerce-notices-wrapper .woocommerce-message:before {
	color: var(--e-global-color-accent, #FFBB00) !important;
	/* Ensure the icon stays on the left and doesn't affect text flow */
	position: absolute;
	top: 1em;
	left: 1.5em;
}

/* Elementor Pro can wrap notices with .e-wc-message-notice and override borders; force our accent border */
.e-wc-message-notice .woocommerce-message,
.woocommerce-notices-wrapper.e-wc-message-notice .woocommerce-message {
	border: 1px solid var(--e-global-color-accent, #FFBB00) !important;
}

.woocommerce-notices-wrapper .woocommerce-info {
	background-color: #f4f8ff;
	border-color: #007cba;
}

.woocommerce-notices-wrapper .woocommerce-error {
	background-color: #fff0f0;
	border-color: #cc1818;
}

/* “View cart” / action button inside notice */
.woocommerce-notices-wrapper .woocommerce-message .button,
.woocommerce-notices-wrapper .woocommerce-info .button,
.woocommerce-notices-wrapper .woocommerce-error .button {
	appearance: none;
	background-color: var(--e-global-color-accent, #000);
	border: 1px solid var(--e-global-color-accent, currentColor);
	border-radius: 3px;
	box-shadow: none;
	color: var(--e-global-color-71ba341, #fff);
	cursor: pointer;
	float: right;
	font-family: var(
		--e-global-typography-primary-font-family,
		var(--e-global-typography-primary-font-family, inherit)
	);
	font-weight: var(--e-global-typography-accent-font-weight, inherit);
	line-height: 1;
	margin: 0 0 0 12px;
	opacity: 1;
	padding: 10px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.e-woocommerce-notices-wrapper .woocommerce-message .button,
.e-woocommerce-notices-wrapper .woocommerce-info .button,
.e-woocommerce-notices-wrapper .woocommerce-error .button {
	appearance: none;
	background-color: var(--e-global-color-accent, #000);
	border: 1px solid var(--e-global-color-accent, currentColor);
	border-radius: 3px;
	box-shadow: none;
	color: var(--e-global-color-71ba341, #fff);
	cursor: pointer;
	float: right;
	font-family: var(
		--e-global-typography-accent-font-family,
		var(--e-global-typography-primary-font-family, inherit)
	);
	font-weight: var(--e-global-typography-accent-font-weight, inherit);
	line-height: 1;
	margin: 0 0 0 12px;
	opacity: 1;
	padding: 10px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover,
.woocommerce-notices-wrapper .woocommerce-info .button:hover,
.woocommerce-notices-wrapper .woocommerce-error .button:hover {
	background-color: var(--e-global-color-71ba341, #fff);
	color: var(--e-global-color-accent, #000);
	border-color: var(--e-global-color-accent, currentColor);
}

.e-woocommerce-notices-wrapper .woocommerce-message .button:hover,
.e-woocommerce-notices-wrapper .woocommerce-info .button:hover,
.e-woocommerce-notices-wrapper .woocommerce-error .button:hover {
	background-color: var(--e-global-color-71ba341, #fff);
	color: var(--e-global-color-accent, #000);
	border-color: var(--e-global-color-accent, currentColor);
}

.woocommerce-notices-wrapper .woocommerce-message .button:focus,
.woocommerce-notices-wrapper .woocommerce-info .button:focus,
.woocommerce-notices-wrapper .woocommerce-error .button:focus {
	outline: 2px solid var(--e-global-color-accent, currentColor);
	outline-offset: 2px;
}

.e-woocommerce-notices-wrapper .woocommerce-message .button:focus,
.e-woocommerce-notices-wrapper .woocommerce-info .button:focus,
.e-woocommerce-notices-wrapper .woocommerce-error .button:focus {
	outline: 2px solid var(--e-global-color-accent, currentColor);
	outline-offset: 2px;
}
