/* stylelint-disable selector-id-pattern */
.woocommerce-page .entry-header-wrapper,
.woocommerce-page .entry-content-wrapper,
.woocommerce-page .entry-footer-wrapper {
	max-width: var(--max-width-wide);
}

.woocommerce-notices-wrapper {
	padding: 0 var(--gutter-width);
	margin: 0 auto;
}

/* My Account (not logged in), Cart, Checkout pages */
.entry-content .woocommerce-notices-wrapper {
	padding: 0;
	min-width: 100%;
	margin-top: 0;
}

/* This can exist on the page even when unused (my-account page not logged in) */
.woocommerce-notices-wrapper:empty {
	margin: 0;	
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
	margin: 0;
}

/**
 * WC Messages & Notices
 */
.woocommerce-message, /* Single product, after adding to cart */
.woocommerce-info, /* Cart Notices, Checkout Returning User & Coupon */
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	margin-top: 0;
	margin-bottom: var(--space-large);
	padding: var(--space-small) var(--space-medium);
	border: 1px solid rgba(0, 0, 0, 0.125);
	background-color: var(--gray-xlight);
}

.woocommerce-info {
	margin-top: var(--space-large);	
}

/* Sometimes messages show up inside the cart form - very strange indeed... */
.woocommerce-cart-form .woocommerce-info {
	margin-top: 0;	
}

/* Shows up after coupon applied successfully */
.woocommerce-form-coupon-toggle + .woocommerce-message,
.woocommerce-form-coupon-toggle + .woocommerce-error {
	margin-top: var(--space-large);	
}

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

.woocommerce-NoticeGroup-checkout ul.woocommerce-error::before {
	content: 'Checkout Errors:';
	display: block;
}


/* Should .button links always be floated right like this? */
.woocommerce-Message .button,
/* Single Product after adding to cart */
.woocommerce-message .button,
/* If using WC Cart Notices plugin */
.woocommerce-cart-notice .button {  
	float: right;
	margin-left: 0.25em;
}

.woocommerce-Message .button,
.woocommerce-message .button,
.woocommerce-cart-notice::after {
	content: '';
	display: block;
	clear: both;	
}

.woocommerce-message::before {
	font-family: WooCommerce !important;
	font-style: normal;
	font-weight: 700;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: var(--icon-wc-notice-success);
	color: var(--color-success);
}


.shop_table:not(.cart) .button {
	padding-top: 0;
	padding-bottom: 0;
	font-size: 0.875em;
	margin-left: var(--space-xxsmall);
}

.variation {
	margin: 0;
	font-size: 0.875em;
}

.variation dt,
.variation dd {
	display: inline;
}

.variation dt {
	margin-right: 0.25em;	
}

.variation dd {
	margin: 0;
}

.variation p {
	margin: 0;
	display: inline;
}

.variation dd::after {
	content: "\A";
	white-space: pre;	
}

.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
	content: "";
	display: table;
	table-layout: fixed;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

ul.woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;

}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	font-size: 1em;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: .25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: var(--color-primary-500);
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: var(--color-neutral-800);
	text-indent: 0;
	opacity: .25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: var(--color-neutral-800);
	opacity: .25;
}

p.stars:hover a::before {
	content: "\53";
	color: var(--color-primary-500);
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: var(--color-primary-500);
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: var(--color-neutral-800);
	opacity: .25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: var(--color-primary-500);
	opacity: 1;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: var(--color-success);
}

.woocommerce-password-strength.short {
	color: var(--color-warning-100);
}

.woocommerce-password-strength.bad {
	color: var(--color-error);
}

.woocommerce-password-strength.good {
	color: var(--color-correct);
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 var(--color-form-success);
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 var(--color-form-error);
}

.required {
	color: var(--color-form-error);
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: var(--color-demo-store-surface);
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: var(--shadow-popover);
	}

	.site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/* 3-6-23 - Now showing "Suggested" products in the minicart */
.al-minicart-products {
	background-color: var(--gray-xlight);

	/* f8f8f8 - Used on the cart/checkout pages */
	background-color: var(--color-surface-subtle);

	/* These take up the full width of the minicart */
	margin-left: calc(-1 * var(--gutter-width));
	margin-right: calc(-1 * var(--gutter-width));
	margin-top: var(--space-normal);

	/* NOTE: This is not used anywhere else on the site :( */
	padding: 8px var(--gutter-width);
}


.minicart-suggested-products-title {

	/* 18/24 */
	font-size: 1.125rem;
	font-weight: var(--typeface-weight-medium);
	line-height: 1.3333;
	margin-top: var(--space-normal);
}

.al-minicart-products ul.products {
	display: block;
}

.al-minicart-products li.product {
	padding: var(--space-normal) 0;
}

.al-minicart-products li.product + li.product {

	/*border-top: 1px solid var(--color-neutral-200);*/
	border-top: 1px solid var(--color-border-muted);
}

.al-minicart-products .product-inner {
	display: flex;
}

.al-minicart-products .ftm-parent-shop-loop-image-wrapper {
	flex-basis: 33.8983%;
	margin-right: var(--space-normal);
	max-width: 100px;
	min-width: max(80px, 33.8983%);
}

.al-minicart-footer {
	background: var(--color-surface);
	bottom: 0;

	/* These take up the full width of the minicart */
	margin-left: calc(-1 * var(--gutter-width));
	margin-right: calc(-1 * var(--gutter-width));
	margin-top: var(--space-normal);

	/* NOTE: This is not used anywhere else on the site :( */
	padding: 8px var(--gutter-width);
	position: sticky;

	@media (min-width: 75em) {
		margin-left: -40px;
		margin-right: -40px;
	}

	@media (min-width: 78.75em) {
		bottom: -40px;
	}
}

/* No badges? */
.al-minicart-products .onsale {
	display: none;
}

.al-minicart-empty-link {
	margin-top: 2rem;
}

.al-minicart-empty-link a {
	display: block;
	text-align: center;
}


@media (min-width: 75em) {

	.al-minicart-products {

		/* These take up the full width of the minicart */
		margin-left: -40px;
		margin-right: -40px;
		padding: 8px 40px;
	}
}

.al-free-gift-notice {
	border: 1px solid var(--color-neutral-200);
	border-radius: 20px;
	background-color: var(--color-white);
	border-top: 1px solid var(--color-neutral-200);
	line-height: 1.5;
	padding: var(--space-normal);
}

.al-free-gift-notice .woocommerce-info {
	border: none;
	background-color: inherit;
	padding: 0;
	margin: 0;
}

.al-free-gift-notice + .al-free-gift-notice {
	margin-top: var(--space-normal);
}

.al-free-gift-notice-inner {
	display: flex;
	margin: 0 auto;
	max-width: var(--max-width-text);
	position: relative;
}

.al-free-gift-notice-image {
	flex-basis: 23.31%;
	margin-right: var(--space-normal);
	max-width: 100px;
	min-width: max(80px, 23.31%);
}

.al-free-gift-notice-title {
	font-size: 1rem;
	font-weight: var(--typeface-weight-medium);
	margin-bottom: 8px;
}

.header-cart .remove-al-notice {
	display: none;
}

.al-free-gift-notice-progress-bar,
.al-free-gift-notice-text {
	padding-right: 0;
}

.al-free-gift-notice-progress-bar {
	align-items: center;
	line-height: 1;
	margin-top: 10px;
	display: flex;
	margin-bottom: 0;
	padding-right: 32px;
}

.notice-progress-bar {
	height: 8px;
	margin-top: 2px;
	background-color: var(--color-surface-subtle);
	border-radius: 2px;
	flex-grow: 1;
	margin-right: 8px;
}

.notice-progress-bar-fill {
	background-color: var(--color-form-success);
	border-radius: 2px;
	height: 100%;
}

.notice-progress-bar-goal {
	font-weight: var(--typeface-weight-medium);
	background-color: var(--color-surface-subtle);
	border-radius: 2px;
	font-size: 1rem;
	padding: 3px 8px;
	padding: 0 8px;
}

.al-free-gift-notices #woocommerce-cart-notice-oversized-shipping {
	display: none !important;
}

.al-free-gift-notices #woocommerce-cart-notice-triple-points-day {
	display: none !important;
}

.al-free-gift-notices-not-achieved .woocommerce-info.woocommerce-cart-notice {
	margin-top: 0;
}

.woocommerce-cart-notice:empty {
	display: none;
}

.remove-al-notice {
	border: 1px solid var(--color-surface-subtle);
	border-radius: var(--border-radius);
	font-size: 1.75em;
	height: 24px;
	line-height: 22px;
	overflow: hidden;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 24px;
}

.al-free-gift-notice-text {
	font-size: 1rem;
}

.achieved .al-free-gift-notice-text {
	padding-right: 32px;
}

.al-free-gift-notice-text .button {
	display: none;
}

.woocommerce-info[data-type="swell"] {
	border-color: var(--dark_red);
}
