/* Storefront messages (3.5.1): see assets/js/frontend/rp-notify.js. */
.rp-notify-host {
	position: fixed;
	z-index: 1000000;
	bottom: calc(var(--rp-notify-offset, 0px) + 16px + env(safe-area-inset-bottom, 0px));
	left: 50%;
	width: min(560px, calc(100vw - 32px));
	margin: 0;
	padding: 0;
	transform: translateX(-50%);
	pointer-events: none;
	transition: bottom 150ms ease;
}
.rp-notify {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 8px 6px 8px 14px;
	border: 0;
	border-radius: 12px;
	background: #1f2328;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-align: start;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
	pointer-events: auto;
}
.rp-notify.is-shown {
	opacity: 1;
	transform: none;
}
.rp-notify.is-leaving {
	opacity: 0;
	transform: translateY(8px);
}
.rp-notify-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background-color: var(--rp-notify-accent, #4ade80);
	-webkit-mask: var(--rp-notify-icon) center / contain no-repeat;
	mask: var(--rp-notify-icon) center / contain no-repeat;
}
.rp-notify-success .rp-notify-icon {
	--rp-notify-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.4-5.4 1.4 1.4-6.8 6.8z'/%3E%3C/svg%3E");
}
.rp-notify-info .rp-notify-icon {
	--rp-notify-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
	background-color: var(--rp-notify-info, #93c5fd);
}
.rp-notify-error .rp-notify-icon {
	--rp-notify-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
	background-color: #f87171;
}
.rp-notify-text {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}
.rp-notify button.rp-notify-action,
.rp-notify button.rp-notify-close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
	font-family: inherit;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.rp-notify button.rp-notify-action {
	padding: 0 12px;
	color: var(--rp-notify-accent, #4ade80);
	font-size: 14px;
	font-weight: 700;
}
.rp-notify button.rp-notify-close {
	padding: 0;
	font-size: 20px;
	opacity: 0.7;
}
.rp-notify button.rp-notify-action:hover,
.rp-notify button.rp-notify-close:hover {
	background: rgba(255, 255, 255, 0.1);
	opacity: 1;
}
.rp-notify button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 1px;
}
.rp-notify-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* Desktop and tablets: bottom left (bottom right in right-to-left languages). */
@media (min-width: 768px) {
	.rp-notify-host {
		left: 24px;
		width: auto;
		max-width: 440px;
		bottom: calc(var(--rp-notify-offset, 0px) + 24px);
		transform: none;
	}
	[dir="rtl"] .rp-notify-host {
		left: auto;
		right: 24px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.rp-notify,
	.rp-notify.is-leaving {
		transform: none;
		transition: opacity 120ms linear;
	}
}

/* Cart bar count and total: a short bump when the cart changes (replaces the
   "added to cart" toast). */
@keyframes rp-cart-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.12); }
	100% { transform: scale(1); }
}
.rp-cart-bump {
	display: inline-block;
	animation: rp-cart-bump 320ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
	.rp-cart-bump {
		animation: none;
	}
}

/* Order settings popup: the error sits in the popup, next to its field or
   above the Update button (3.5.1). */
#rpressDateTime .rpress-popup-error,
#rpressModal .rpress-popup-error {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	margin: 8px 0 12px;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-align: start;
}
#rpressDateTime .rpress-popup-error::before,
#rpressModal .rpress-popup-error::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#rpressDateTime .rp-popup-invalid,
#rpressModal .rp-popup-invalid,
#rpressDateTime .rp-popup-invalid + .chosen-container .chosen-single,
#rpressModal .rp-popup-invalid + .chosen-container .chosen-single {
	border-color: #dc2626 !important;
	box-shadow: 0 0 0 1px #dc2626 !important;
}
