.hoker-cart-added-notice-root {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100dvh;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	background: rgba(36, 31, 28, 0.42);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hoker-cart-added-notice-root.is-open {
	opacity: 1;
	visibility: visible;
}

body.hoker-cart-added-notice-open {
	overflow: hidden;
}

body.hoker-cart-added-notice-open .woocommerce-notices-wrapper {
	display: none !important;
}

.hoker-cart-added-notice-card {
	width: min(100%, 420px);
	background: #fffaf4;
	border-radius: 22px;
	box-shadow: 0 28px 70px rgba(36, 31, 28, 0.24);
	padding: 28px 24px 22px;
	text-align: center;
	transform: translateY(12px) scale(0.96);
	opacity: 0;
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.hoker-cart-added-notice-root.is-open .hoker-cart-added-notice-card {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.hoker-cart-added-notice-badge {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(118, 0, 34, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hoker-cart-added-notice-badge svg {
	width: 28px;
	height: 28px;
	display: block;
}

.hoker-cart-added-notice-title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #241f1c;
	letter-spacing: -0.02em;
}

.hoker-cart-added-notice-hint {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #5c4f47;
}

.hoker-cart-added-notice-product {
	margin: 0 0 22px;
	font-size: 0.98rem;
	line-height: 1.45;
	color: #4d4039;
}

.hoker-cart-added-notice-root.is-auto-pending {
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	cursor: wait;
}

.hoker-cart-added-notice-root.is-auto-pending .hoker-cart-added-notice-card-wrap,
.hoker-cart-added-notice-root.is-auto-pending .hoker-cart-added-notice-card {
	pointer-events: none;
}

.hoker-cart-added-notice-status {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	font-weight: 600;
	color: #760022;
}

.hoker-cart-added-notice-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hoker-cart-added-notice-btn {
	display: block;
	width: 100%;
	border-radius: 999px;
	padding: 14px 22px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hoker-cart-added-notice-btn:hover {
	transform: translateY(-1px);
}

.hoker-cart-added-notice-btn--primary {
	background: #760022;
	border: 2px solid #760022;
	color: #fff !important;
}

.hoker-cart-added-notice-btn--primary:hover {
	background: #560019;
	border-color: #560019;
	color: #fff !important;
}

.hoker-cart-added-notice-btn--ghost {
	background: transparent;
	border: 2px solid rgba(118, 0, 34, 0.28);
	color: #760022 !important;
}

.hoker-cart-added-notice-btn--ghost:hover {
	border-color: #760022;
	color: #760022 !important;
}

.hoker-cart-added-notice-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: rgba(118, 0, 34, 0.08);
	color: #760022;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.hoker-cart-added-notice-card-wrap {
	position: relative;
	width: min(100%, 420px);
	margin: 0 auto;
}

/* Tablet — wyśrodkowanie (Astra czasem przesuwa fixed w lewo) */
@media (min-width: 769px) and (max-width: 1024px) {
	.hoker-cart-added-notice-root {
		display: grid !important;
		place-items: center !important;
		justify-content: center !important;
		align-items: center !important;
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		margin: 0 !important;
		padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(20px, env(safe-area-inset-right, 0px)) !important;
		transform: none !important;
	}

	.hoker-cart-added-notice-card-wrap {
		width: min(92vw, 420px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
		justify-self: center !important;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.mfp-wooac .mfp-container,
	.mfp-wooac.mfp-ready .mfp-wrap {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	.mfp-wooac .wooac-popup {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* WPC Added To Cart — premium wyśrodkowany popup */
.mfp-wooac.mfp-ready .mfp-bg {
	opacity: 0.42 !important;
	background: #241f1c !important;
}

.mfp-wooac .wooac-popup {
	max-width: 420px !important;
	width: min(92vw, 420px) !important;
	padding: 28px 24px 22px !important;
	border-radius: 22px !important;
	background: #fffaf4 !important;
	box-shadow: 0 28px 70px rgba(36, 31, 28, 0.24) !important;
	text-align: center !important;
}

.mfp-wooac .wooac-popup .wooac-text {
	font-size: 1.05rem !important;
	line-height: 1.45 !important;
	color: #4d4039 !important;
	margin-bottom: 18px !important;
}

.mfp-wooac .wooac-popup .wooac-action {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	margin: 0 !important;
}

.mfp-wooac .wooac-popup .wooac-action a {
	display: block !important;
	width: 100% !important;
	border-radius: 999px !important;
	height: auto !important;
	line-height: 1.2 !important;
	padding: 14px 22px !important;
	margin: 0 !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
}

.mfp-wooac .wooac-popup .wooac-action #wooac-cart {
	background: #760022 !important;
	color: #fff !important;
}

.mfp-wooac .wooac-popup .wooac-action #wooac-cart:hover {
	background: #560019 !important;
	color: #fff !important;
}

.mfp-wooac .wooac-popup .wooac-action #wooac-continue {
	background: transparent !important;
	border: 2px solid rgba(118, 0, 34, 0.28) !important;
	color: #760022 !important;
}

.mfp-wooac .wooac-popup .wooac-action #wooac-continue:hover {
	border-color: #760022 !important;
	color: #760022 !important;
	background: transparent !important;
}

.mfp-wooac .mfp-close:before {
	color: #760022 !important;
}

.notiny-container {
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	width: min(92vw, 420px) !important;
}

.notiny-theme-wooac {
	border-radius: 22px !important;
	border: 0 !important;
	box-shadow: 0 28px 70px rgba(36, 31, 28, 0.24) !important;
	background: #fffaf4 !important;
	padding: 18px 20px !important;
}

.notiny-theme-wooac .notiny-text {
	font-size: 0.98rem !important;
	color: #4d4039 !important;
}

body.hoker-cart-home-wait-active .woocommerce-notices-wrapper {
	display: none !important;
}
