.kev-cart-popup {
	position: fixed;
	z-index: 99985;
	inset-block-start: 50%;
	left: 50%;
	box-sizing: border-box;
	width: min(22.5rem, calc(100vw - 1.5rem));
	padding: 0.875rem;
	border: 1px solid var(--kev-integration-border, var(--kev-color-border, #3a3f40));
	border-radius: 0.875rem;
	background: var(--kev-color-surface-elevated, var(--kev-integration-surface, #fffdfc));
	box-shadow: 0 0.75rem 2rem var(--kev-color-shadow, rgb(0 0 0 / 28%));
	color: var(--kev-color-text-strong, var(--kev-integration-text, #211c1f));
	direction: rtl;
	opacity: 0;
	transform: translate(-50%, -48%);
	transition: opacity 0.09s ease, transform 0.09s ease;
}
.kev-cart-popup[hidden] { display: none; }
.kev-cart-popup.is-on { opacity: 1; transform: translate(-50%, -50%); }
.kev-cart-popup__x {
	position: absolute;
	inset-block-start: 0.375rem;
	inset-inline-start: 0.375rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--kev-color-surface, var(--kev-integration-field-surface, #f1ebe2));
	color: var(--kev-color-text-strong, var(--kev-integration-text, #1e2b25));
	cursor: pointer;
}
.kev-cart-popup__x:hover { color: var(--kev-color-text-strong, currentColor); }
.kev-cart-popup__row { display: flex; align-items: center; gap: 0.75rem; padding-inline-start: 3.25rem; }
.kev-cart-popup__img { flex: 0 0 4rem; width: 4rem; height: 4rem; border-radius: 0.5rem; object-fit: cover; }
.kev-cart-popup__img[hidden] { display: none; }
.kev-cart-popup__h { margin: 0 0 0.25rem; color: var(--kev-color-heading, currentColor); font-size: 0.9rem; font-weight: 700; outline: none; }
.kev-cart-popup__h:focus-visible { outline: 2px solid var(--kev-color-brand-primary, currentColor); outline-offset: 2px; }
.kev-cart-popup__name { margin: 0; color: var(--kev-color-muted, currentColor); font-size: 0.8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.kev-cart-popup__act { display: flex; gap: 0.625rem; margin-top: 0.75rem; }
.kev-cart-popup__cart,
.kev-cart-popup__go {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.kev-cart-popup__cart { border: 1px solid var(--kev-color-brand-primary, var(--kev-integration-accent)); background: var(--kev-color-brand-primary, var(--kev-integration-accent)); color: var(--kev-color-on-brand, #fffaf3); }
html[data-kevira-color-mode="light"] .kev-cart-popup .kev-cart-popup__cart { color: #fffaf3 !important; }
.kev-cart-popup__cart[hidden] { display: none; }
.kev-cart-popup__go { border: 1px solid var(--kev-color-border-strong, currentColor); background: transparent; color: inherit; }
.kev-cart-popup :is(.kev-cart-popup__cart, .kev-cart-popup__go, .kev-cart-popup__x):focus-visible { outline: 2px solid var(--kev-color-brand-primary, var(--kev-integration-accent)); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .kev-cart-popup { transition: none; } }

:is(.woocommerce-message, .wc-block-components-notice-banner.is-success)[hidden]:has([data-kevira-cart-added-notice]) { display: none; }
