.emargy-product-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.emargy-product-add-to-cart--stacked {
	align-items: stretch;
	flex-direction: column;
}

.emargy-product-add-to-cart__quantity {
	background: #fff;
	border: 1px solid #e0c9bf;
	min-height: 50px;
	text-align: center;
	width: 72px;
}

.emargy-product-add-to-cart__button {
	background: #9f6b63;
	border: 0;
	color: #fff;
	cursor: pointer;
	min-height: 50px;
	padding: 12px 24px;
	transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}

.emargy-product-add-to-cart--full .emargy-product-add-to-cart__button {
	flex: 1 1 auto;
}

.emargy-product-add-to-cart__button:hover {
	background: #7b4942;
}

.emargy-product-add-to-cart__button:disabled,
.emargy-product-add-to-cart.is-loading .emargy-product-add-to-cart__button {
	cursor: not-allowed;
	opacity: .62;
}

.emargy-product-add-to-cart__message {
	flex-basis: 100%;
	font-size: 13px;
	min-height: 1.4em;
}

.emargy-product-add-to-cart__message.is-success {
	color: #166534;
}

.emargy-product-add-to-cart-placeholder {
	background: #fff8e5;
	border: 1px solid #f0d36d;
	color: #5c4400;
	padding: 14px;
}

.emargy-cart-notice {
	--emargy-cart-notice-edge-offset: 0px;
	--emargy-cart-notice-radius: 0px;
	--emargy-cart-notice-side-offset: 0px;
	align-items: center;
	background: #f3ebe4;
	border: 2px solid #1f0f0c;
	border-radius: var(--emargy-cart-notice-radius);
	box-shadow: 0 14px 40px rgba(0,0,0,.12);
	box-sizing: border-box;
	color: #1f0f0c;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	left: var(--emargy-cart-notice-side-offset);
	margin: 0;
	padding: 18px 32px;
	position: fixed;
	right: var(--emargy-cart-notice-side-offset);
	z-index: 99999;
}

.emargy-cart-notice--top {
	top: var(--emargy-cart-notice-edge-offset);
}

.emargy-cart-notice--bottom {
	bottom: var(--emargy-cart-notice-edge-offset);
}

.emargy-cart-notice--boxed {
	--emargy-cart-notice-max-width: 980px;
	max-width: min(var(--emargy-cart-notice-max-width), calc(100vw - 32px));
	width: 100%;
}

.emargy-cart-notice--align-stretch {
	left: var(--emargy-cart-notice-side-offset);
	right: var(--emargy-cart-notice-side-offset);
}

.emargy-cart-notice--align-left {
	left: var(--emargy-cart-notice-side-offset);
	right: auto;
}

.emargy-cart-notice--align-center {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
}

.emargy-cart-notice--align-right {
	left: auto;
	right: var(--emargy-cart-notice-side-offset);
}

.emargy-cart-notice--full.emargy-cart-notice--align-left,
.emargy-cart-notice--full.emargy-cart-notice--align-center,
.emargy-cart-notice--full.emargy-cart-notice--align-right {
	max-width: calc(100vw - (var(--emargy-cart-notice-side-offset) * 2));
	width: max-content;
}

.emargy-cart-notice--boxed.emargy-cart-notice--align-left,
.emargy-cart-notice--boxed.emargy-cart-notice--align-center,
.emargy-cart-notice--boxed.emargy-cart-notice--align-right {
	max-width: min(var(--emargy-cart-notice-max-width), calc(100vw - (var(--emargy-cart-notice-side-offset) * 2)));
}

.emargy-cart-notice__content {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.emargy-cart-notice__icon {
	align-items: center;
	background: #6b0d05;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 16px;
	font-size: 11px;
	height: 16px;
	justify-content: center;
	line-height: 1;
	width: 16px;
}

.emargy-cart-notice__text {
	font-size: 14px;
	line-height: 1.5;
}

.emargy-cart-notice__button {
	background: #6b0d05;
	border-radius: 7px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 13px 26px;
	text-decoration: none;
}

.emargy-cart-notice__button:hover {
	color: #fff;
	opacity: .9;
}

@media (max-width: 767px) {
	.emargy-cart-notice {
		align-items: stretch;
		flex-direction: column;
		padding: 16px;
	}

	.emargy-cart-notice--boxed {
		max-width: calc(100vw - 20px);
	}

	.emargy-cart-notice--full.emargy-cart-notice--align-left,
	.emargy-cart-notice--full.emargy-cart-notice--align-center,
	.emargy-cart-notice--full.emargy-cart-notice--align-right {
		width: calc(100vw - (var(--emargy-cart-notice-side-offset) * 2));
	}

	.emargy-cart-notice__button {
		justify-content: center;
	}
}
