/* NOTE: every selector carries :not(#aafe-mc) (ID specificity) so the Elementor Site Kit
 * (global button/link/typography rules) can't leak in. Elementor controls use the same boost,
 * so values & Global tokens picked by the user always win. */
/* =====================================================================
 * AAFE Woo Mini Cart
 * ===================================================================== */

.aafe-mc:not(#aafe-mc) {
	font-family: 'Inter Tight', sans-serif;
	position: relative;
	display: flex;
	align-items: center;
}

.aafe-mc-anchor:not(#aafe-mc) {
	position: relative;
	display: inline-flex;
	max-width: 100%;
}

/* ---------- Trigger ---------- */
.aafe-mc-trigger:not(#aafe-mc) {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	color: #0f172a;
	text-decoration: none;
	line-height: 1.2;
	border: 0 solid transparent;
	border-radius: 8px;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.aafe-mc-trigger:hover:not(#aafe-mc),
.aafe-mc-trigger:focus:not(#aafe-mc) {
	color: #0f172a;
	text-decoration: none;
}

.aafe-mc-trigger:focus-visible:not(#aafe-mc) {
	outline: 2px solid #6366f1;
	outline-offset: 2px;
}

.aafe-mc--icon-right:not(#aafe-mc) .aafe-mc-trigger {
	flex-direction: row-reverse;
}

.aafe-mc--icon-top:not(#aafe-mc) .aafe-mc-trigger {
	flex-direction: column;
	gap: 4px;
}

.aafe-mc-trigger__icon:not(#aafe-mc) {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
}

.aafe-mc-trigger__icon:not(#aafe-mc) svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.aafe-mc-trigger__text:not(#aafe-mc) {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	font-weight: 600;
}

.aafe-mc-trigger-subtotal:not(#aafe-mc) {
	font-size: .9em;
	font-weight: 500;
	opacity: .85;
}

.aafe-mc-count:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background-color: #6366f1;
	border-radius: 999px;
	box-sizing: border-box;
	font-variant-numeric: tabular-nums;
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.aafe-mc--badge-corner:not(#aafe-mc) .aafe-mc-count {
	position: absolute;
	top: -8px;
	right: -10px;
}

.aafe-mc--hide-zero:not(#aafe-mc) .aafe-mc-count.is-zero {
	display: none;
}

.aafe-mc-hide-empty-yes:not(.elementor-element-edit-mode):not(#aafe-mc) .aafe-mc.is-empty {
	display: none;
}

/* ---------- Panel shell ---------- */
.aafe-mc-panel-wrap:not(#aafe-mc) {
	font-family: 'Inter Tight', sans-serif;
	--aafe-mc-width: 420px;
	--aafe-mc-max-h: 80vh;
	--aafe-mc-dur: 380ms;
	--aafe-mc-accent: #6366f1;
	--aafe-mc-fill: #6366f1;
	--aafe-mc-fill-2: #a855f7;
	--aafe-mc-pad-x: 22px;
	--aafe-mc-pad-y: 18px;
	--aafe-mc-pad-t: var(--aafe-mc-pad-y);
	--aafe-mc-pad-r: var(--aafe-mc-pad-x);
	--aafe-mc-pad-b: var(--aafe-mc-pad-y);
	--aafe-mc-pad-l: var(--aafe-mc-pad-x);
	--aafe-mc-line: #eef2f7;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear var(--aafe-mc-dur);
	text-align: start;
}

.aafe-mc-panel-wrap.is-open:not(#aafe-mc) {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.aafe-mc-panel-wrap:not(#aafe-mc) *,
.aafe-mc-panel-wrap:not(#aafe-mc) *::before,
.aafe-mc-panel-wrap:not(#aafe-mc) *::after {
	box-sizing: border-box;
}

.aafe-mc-panel-wrap--drawer:not(#aafe-mc),
.aafe-mc-panel-wrap--popup:not(#aafe-mc) {
	position: fixed;
	inset: 0;
	/* Cover the reserved scrollbar gutter while the page scroll is locked. */
	right: calc(-1 * var(--aafe-scrollbar, 0px));
	z-index: 999990;
}

.aafe-mc-overlay:not(#aafe-mc) {
	position: absolute;
	inset: 0;
	background-color: rgba(15, 23, 42, .5);
	opacity: 0;
	transition: opacity var(--aafe-mc-dur) ease;
}

.aafe-mc-panel-wrap.is-open:not(#aafe-mc) .aafe-mc-overlay {
	opacity: 1;
}

.aafe-mc-panel-wrap--no-overlay:not(#aafe-mc) .aafe-mc-overlay {
	background-color: transparent;
}

.aafe-mc-panel:not(#aafe-mc) {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-size: 14px;
	color: #334155;
	background-color: #fff;
	box-shadow: 0 25px 60px -15px rgba(15, 23, 42, .35);
	transition: transform var(--aafe-mc-dur) cubic-bezier(.16, 1, .3, 1), opacity var(--aafe-mc-dur) ease;
	will-change: transform;
}

/* Drawer */
.aafe-mc-panel-wrap--drawer:not(#aafe-mc) .aafe-mc-panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--aafe-mc-width);
	max-width: 100vw;
}

.aafe-mc-panel-wrap--right:not(#aafe-mc) .aafe-mc-panel {
	right: 0;
	transform: translateX(105%);
}

.aafe-mc-panel-wrap--left:not(#aafe-mc) .aafe-mc-panel {
	left: 0;
	transform: translateX(-105%);
}

/* Popup */
.aafe-mc-panel-wrap--popup:not(#aafe-mc) {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aafe-mc-panel-wrap--popup:not(#aafe-mc) .aafe-mc-panel {
	width: var(--aafe-mc-width);
	max-width: 100%;
	max-height: var(--aafe-mc-max-h);
	border-radius: 16px;
	opacity: 0;
	transform: scale(.94) translateY(12px);
}

/* Dropdown */
.aafe-mc-panel-wrap--dropdown:not(#aafe-mc) {
	position: absolute;
	top: 100%;
	z-index: 9990;
	padding-top: 10px;
}

.aafe-mc-panel-wrap--align-right:not(#aafe-mc) {
	right: 0;
}

.aafe-mc-panel-wrap--align-left:not(#aafe-mc) {
	left: 0;
}

.aafe-mc-panel-wrap--dropdown:not(#aafe-mc) .aafe-mc-panel {
	width: var(--aafe-mc-width);
	max-width: calc(100vw - 24px);
	max-height: var(--aafe-mc-max-h);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	opacity: 0;
	transform: translateY(8px);
}

.aafe-mc-panel-wrap.is-open:not(#aafe-mc) .aafe-mc-panel {
	opacity: 1;
	transform: none;
}

/* ---------- Header ---------- */
.aafe-mc-header:not(#aafe-mc) {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: var(--aafe-mc-pad-t) var(--aafe-mc-pad-r) var(--aafe-mc-pad-b) var(--aafe-mc-pad-l);
	border-bottom: 1px solid var(--aafe-mc-line);
}

.aafe-mc-header__title:not(#aafe-mc) {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
}

.aafe-mc-header__count:not(#aafe-mc) {
	font-weight: 500;
	opacity: .55;
}

.aafe-mc-close:not(#aafe-mc) {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	color: #475569;
	background-color: #f1f5f9;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .25s ease;
}

.aafe-mc-close:not(#aafe-mc) svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.aafe-mc-close:hover:not(#aafe-mc) {
	color: #dc2626;
	background-color: #fee2e2;
	transform: rotate(90deg);
}

/* ---------- Inner / body ---------- */
.aafe-mc-inner:not(#aafe-mc) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.aafe-mc-body:not(#aafe-mc) {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.aafe-mc-panel-wrap--dropdown:not(#aafe-mc) .aafe-mc-body,
.aafe-mc-panel-wrap--popup:not(#aafe-mc) .aafe-mc-body {
	max-height: calc(var(--aafe-mc-max-h) - 260px);
	min-height: 120px;
}

/* Shipping bar */
.aafe-mc-ship:not(#aafe-mc) {
	margin: 14px var(--aafe-mc-pad-r) 4px var(--aafe-mc-pad-l);
	padding: 12px 14px;
	background-color: #f8fafc;
	border-radius: 10px;
}

.aafe-mc-ship__text:not(#aafe-mc) {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #334155;
}

.aafe-mc-ship__text:not(#aafe-mc) .woocommerce-Price-amount {
	font-weight: 700;
}

.aafe-mc-ship__track:not(#aafe-mc) {
	height: 7px;
	overflow: hidden;
	background-color: #e2e8f0;
	border-radius: 99px;
}

.aafe-mc-ship__fill:not(#aafe-mc) {
	display: block;
	height: 100%;
	background-image: linear-gradient(90deg, var(--aafe-mc-fill), var(--aafe-mc-fill-2));
	border-radius: 99px;
	transition: width .6s cubic-bezier(.16, 1, .3, 1);
}

.aafe-mc-ship.is-done:not(#aafe-mc) .aafe-mc-ship__fill {
	background-image: linear-gradient(90deg, #10b981, #34d399);
}

/* Items */
.aafe-mc-items:not(#aafe-mc) {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aafe-mc-item:not(#aafe-mc) {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 16px var(--aafe-mc-pad-r) 16px var(--aafe-mc-pad-l);
	border-bottom: 1px solid var(--aafe-mc-line);
	transition: opacity .25s ease, background-color .2s ease;
}

.aafe-mc-item:last-child:not(#aafe-mc) {
	border-bottom: 0;
}

.aafe-mc-item.is-removing:not(#aafe-mc),
.aafe-mc-item.is-updating:not(#aafe-mc) {
	opacity: .45;
	pointer-events: none;
}

.aafe-mc-item__thumb:not(#aafe-mc) {
	flex: 0 0 72px;
	width: 72px;
}

.aafe-mc-item__thumb:not(#aafe-mc) a {
	display: block;
}

.aafe-mc-item__thumb:not(#aafe-mc) img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 10px;
	background: #f1f5f9;
}

.aafe-mc-item__info:not(#aafe-mc) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.aafe-mc-item__top:not(#aafe-mc) {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.aafe-mc-item__name:not(#aafe-mc) {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #0f172a;
	word-break: break-word;
}

.aafe-mc-item__name:not(#aafe-mc) a {
	color: inherit;
	text-decoration: none;
}

.aafe-mc-item__name:not(#aafe-mc) a:hover {
	color: var(--aafe-mc-accent);
}

.aafe-mc-item__remove:not(#aafe-mc) {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: -4px -6px 0 0;
	padding: 0;
	color: #94a3b8;
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease;
}

.aafe-mc-item__remove:not(#aafe-mc) svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.aafe-mc-item__remove:hover:not(#aafe-mc) {
	color: #dc2626;
	background-color: #fee2e2;
}

.aafe-mc-item__meta:not(#aafe-mc),
.aafe-mc-item__sku:not(#aafe-mc),
.aafe-mc-item__unit:not(#aafe-mc) {
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

.aafe-mc-item__meta:not(#aafe-mc) dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0;
}

.aafe-mc-item__meta:not(#aafe-mc) dl.variation dt,
.aafe-mc-item__meta:not(#aafe-mc) dl.variation dd,
.aafe-mc-item__meta:not(#aafe-mc) dl.variation p {
	margin: 0;
	padding: 0;
	font-weight: 400;
	float: none;
}

.aafe-mc-item__meta:not(#aafe-mc) dl.variation dd + dt::before {
	content: "·";
	margin-inline-end: 6px;
}

.aafe-mc-item__stock:not(#aafe-mc) {
	font-size: 12px;
	font-weight: 600;
	color: #d97706;
}

.aafe-mc-item__bottom:not(#aafe-mc) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 4px;
}

.aafe-mc-item__price:not(#aafe-mc) {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: end;
}

.aafe-mc-item__line:not(#aafe-mc) {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.aafe-mc-item__qty-text:not(#aafe-mc) {
	font-size: 13px;
	color: #64748b;
}

/* Qty stepper */
.aafe-mc-qty:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	height: 32px;
	overflow: hidden;
	color: #0f172a;
	background-color: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.aafe-mc-qty__btn:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: background-color .15s ease;
}

.aafe-mc-qty__btn:hover:not(#aafe-mc) {
	background-color: #f1f5f9;
}

.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-qty__input {
	width: 36px;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	-moz-appearance: textfield;
}

.aafe-mc-qty__input:not(#aafe-mc)::-webkit-outer-spin-button,
.aafe-mc-qty__input:not(#aafe-mc)::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Cross-sells */
.aafe-mc-cross:not(#aafe-mc) {
	padding: 14px var(--aafe-mc-pad-r) 18px var(--aafe-mc-pad-l);
	border-top: 1px solid var(--aafe-mc-line);
}

.aafe-mc-cross__title:not(#aafe-mc) {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #0f172a;
}

.aafe-mc-cross__list:not(#aafe-mc) {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aafe-mc-cross__card:not(#aafe-mc) {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	background-color: #f8fafc;
	border-radius: 10px;
}

.aafe-mc-cross__thumb:not(#aafe-mc) {
	flex: 0 0 46px;
}

.aafe-mc-cross__thumb:not(#aafe-mc) img {
	display: block;
	width: 46px !important;
	height: 46px !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 8px;
}

.aafe-mc-cross__info:not(#aafe-mc) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.aafe-mc-cross__name:not(#aafe-mc) {
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.aafe-mc-cross__price:not(#aafe-mc) {
	font-size: 12px;
	color: #64748b;
}

.aafe-mc-cross__price:not(#aafe-mc) del {
	opacity: .6;
}

.aafe-mc-cross__add:not(#aafe-mc) {
	flex: 0 0 auto;
	margin: 0;
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	background-color: var(--aafe-mc-accent);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: opacity .2s ease;
}

.aafe-mc-cross__add:hover:not(#aafe-mc) {
	color: #fff;
	opacity: .9;
}

.aafe-mc-cross__add.is-loading:not(#aafe-mc) {
	opacity: .5;
	pointer-events: none;
}

/* ---------- Footer ---------- */
.aafe-mc-footer:not(#aafe-mc) {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 12px;
	padding: var(--aafe-mc-pad-t) var(--aafe-mc-pad-r) var(--aafe-mc-pad-b) var(--aafe-mc-pad-l);
	background-color: #fff;
	border-top: 1px solid var(--aafe-mc-line);
}

/* Coupon */
.aafe-mc-coupon__toggle:not(#aafe-mc) {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--aafe-mc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: 0;
	cursor: pointer;
}

.aafe-mc-coupon.is-collapsed:not(#aafe-mc) .aafe-mc-coupon__form {
	display: none;
}

.aafe-mc-coupon__form:not(#aafe-mc) {
	display: flex;
	gap: 8px;
	margin: 8px 0 0;
}

.aafe-mc-coupon__toggle:not(#aafe-mc) + .aafe-mc-coupon__form {
	margin-top: 10px;
}

.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-coupon__input,
.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-notes__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 8px 12px;
	font-size: 13px;
	color: #0f172a;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease;
}

.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-coupon__input:focus,
.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-notes__input:focus {
	border-color: var(--aafe-mc-accent);
	background-color: #fff;
}

.aafe-mc-coupon__btn:not(#aafe-mc) {
	flex: 0 0 auto;
	margin: 0;
	padding: 0 16px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background-color: #0f172a;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color .2s ease;
}

.aafe-mc-coupon__btn:hover:not(#aafe-mc) {
	background-color: #334155;
}

.aafe-mc-coupon__msg:not(#aafe-mc) {
	font-size: 12px;
}

.aafe-mc-coupon__msg:empty:not(#aafe-mc) {
	display: none;
}

.aafe-mc-coupon__msg.is-success:not(#aafe-mc) {
	margin-top: 6px;
	color: #059669;
}

.aafe-mc-coupon__msg.is-error:not(#aafe-mc) {
	margin-top: 6px;
	color: #dc2626;
}

.aafe-mc-coupon__list:not(#aafe-mc) {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.aafe-mc-coupon__chip:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 3px 4px 3px 10px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #047857;
	background: #ecfdf5;
	border: 1px dashed #6ee7b7;
	border-radius: 999px;
}

.aafe-mc-coupon__chip:not(#aafe-mc) button {
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.aafe-mc-coupon__chip:not(#aafe-mc) button:hover {
	background: #d1fae5;
}

.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-notes__input {
	resize: vertical;
	min-height: 56px;
}

/* Totals */
.aafe-mc-totals:not(#aafe-mc) {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.aafe-mc-totals__row:not(#aafe-mc) {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.aafe-mc-totals:not(#aafe-mc) dt {
	margin: 0;
	font-weight: 500;
	color: #64748b;
}

.aafe-mc-totals:not(#aafe-mc) dd {
	margin: 0;
	font-weight: 700;
	color: #0f172a;
	text-align: end;
}

.aafe-mc-totals__row--discount:not(#aafe-mc) dd {
	color: #059669;
}

.aafe-mc-totals__row--total:not(#aafe-mc) {
	padding-top: 8px;
	font-size: 16px;
	border-top: 1px dashed var(--aafe-mc-line);
}

.aafe-mc-totals__row--total:not(#aafe-mc) dt {
	color: #0f172a;
	font-weight: 700;
}

.aafe-mc-totals:not(#aafe-mc) small.includes_tax {
	display: block;
	font-size: 11px;
	font-weight: 400;
	opacity: .7;
}

/* Buttons */
.aafe-mc-actions:not(#aafe-mc) {
	display: flex;
	gap: 10px;
}

.aafe-mc-panel-wrap--btns-column:not(#aafe-mc) .aafe-mc-actions {
	flex-direction: column;
}

.aafe-mc-btn:not(#aafe-mc) {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.aafe-mc-btn:hover:not(#aafe-mc) {
	text-decoration: none;
	transform: translateY(-1px);
}

.aafe-mc-btn--secondary:not(#aafe-mc) {
	color: #0f172a;
	background-color: #fff;
	border-color: #e2e8f0;
}

.aafe-mc-btn--secondary:hover:not(#aafe-mc) {
	color: #0f172a;
	background-color: #f8fafc;
}

.aafe-mc-btn--primary:not(#aafe-mc) {
	color: #fff;
	background-color: var(--aafe-mc-accent);
}

.aafe-mc-btn--primary:hover:not(#aafe-mc) {
	color: #fff;
	box-shadow: 0 10px 22px -10px var(--aafe-mc-accent);
}

.aafe-mc-continue:not(#aafe-mc) {
	align-self: center;
	margin: 0;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aafe-mc-continue:hover:not(#aafe-mc) {
	color: #0f172a;
}

/* Empty */
.aafe-mc-body--empty:not(#aafe-mc) {
	display: flex;
	flex-direction: column;
}

.aafe-mc-empty:not(#aafe-mc) {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 40px var(--aafe-mc-pad-r) 40px var(--aafe-mc-pad-l);
	text-align: center;
}

.aafe-mc-empty__icon:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 10px;
	color: var(--aafe-mc-accent);
	background-color: color-mix(in srgb, var(--aafe-mc-accent) 10%, transparent);
	border-radius: 50%;
}

.aafe-mc-empty__icon:not(#aafe-mc) svg {
	width: 42%;
	height: 42%;
	fill: currentColor;
}

.aafe-mc-empty__title:not(#aafe-mc) {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
}

.aafe-mc-empty__text:not(#aafe-mc) {
	margin: 0 0 14px;
	font-size: 13px;
	color: #64748b;
}

.aafe-mc-empty__btn:not(#aafe-mc) {
	flex: 0 0 auto;
	min-width: 180px;
}

/* Trust badges */
.aafe-mc-trust:not(#aafe-mc) {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px var(--aafe-mc-pad-r) 14px var(--aafe-mc-pad-l);
	font-size: 12px;
	color: #64748b;
	background-color: #fff;
}

.aafe-mc-trust__item:not(#aafe-mc) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.aafe-mc-trust__icon:not(#aafe-mc) {
	display: inline-flex;
	font-size: 13px;
	color: #10b981;
}

.aafe-mc-trust__icon:not(#aafe-mc) svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Toast */
.aafe-mc-toast:not(#aafe-mc) {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	font-size: 13px;
	color: #fff;
	background-color: #0f172a;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	animation: aafe-mc-toast .3s cubic-bezier(.16, 1, .3, 1);
}

.aafe-mc-toast[hidden]:not(#aafe-mc) {
	display: none;
}

.aafe-mc-toast__action:not(#aafe-mc) {
	flex: 0 0 auto;
	margin: 0;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #0f172a;
	background-color: #fff;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

@keyframes aafe-mc-toast {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

/* Loader */
.aafe-mc-loader:not(#aafe-mc) {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 7;
	height: 3px;
	overflow: hidden;
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}

.aafe-mc-loader:not(#aafe-mc) span {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40%;
	background-color: var(--aafe-mc-accent);
	animation: aafe-mc-load 1s ease-in-out infinite;
}

.aafe-mc-panel.is-loading:not(#aafe-mc) .aafe-mc-loader {
	opacity: 1;
}

.aafe-mc-panel.is-loading:not(#aafe-mc) .aafe-mc-inner {
	opacity: .7;
	transition: opacity .2s ease;
}

@keyframes aafe-mc-load {
	from { left: -40%; }
	to { left: 100%; }
}

/* Scroll lock */
html.aafe-modal-locked:not(#aafe-mc),
html.aafe-modal-locked:not(#aafe-mc) body {
	overflow: hidden !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.aafe-mc-panel-wrap--drawer:not(#aafe-mc) .aafe-mc-panel {
		width: min(var(--aafe-mc-width), 100vw);
	}

	.aafe-mc-actions:not(#aafe-mc) {
		flex-direction: column;
	}
}

/* ---------- Editor preview ----------
   "Panel Open" preview looks exactly like the live site (side drawer at the
   screen edge, centered popup, dropdown under the trigger) — it is no longer
   squeezed inside the widget's row, where a header container clipped it.
   No backdrop in the editor, and only the panel itself takes clicks, so the
   rest of the page stays editable. */
.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap.is-editor-open {
	visibility: visible;
	transition: none;
}

.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap--drawer.is-editor-open,
.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap--popup.is-editor-open {
	pointer-events: none;
}

.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap--dropdown.is-editor-open {
	pointer-events: auto;
}

.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap.is-editor-open .aafe-mc-overlay {
	display: none;
}

.elementor-editor-active:not(#aafe-mc) .aafe-mc-panel-wrap.is-editor-open .aafe-mc-panel {
	pointer-events: auto;
	opacity: 1;
	transform: none;
	transition: none;
}
/* ---------- RTL ---------- */
[dir="rtl"]:not(#aafe-mc) .aafe-mc--badge-corner .aafe-mc-count {
	right: auto;
	left: -10px;
}

[dir="rtl"]:not(#aafe-mc) .aafe-mc-panel-wrap--right .aafe-mc-panel {
	transform: translateX(105%);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.aafe-mc-panel-wrap:not(#aafe-mc),
.aafe-mc-panel:not(#aafe-mc),
.aafe-mc-overlay:not(#aafe-mc),
.aafe-mc-ship__fill:not(#aafe-mc) {
		transition-duration: 1ms !important;
	}
}

/* ---------- Badge bump (items added) ---------- */
.aafe-mc-count.is-bump:not(#aafe-mc) {
	animation: aafe-mc-bump .6s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes aafe-mc-bump {
	0% { transform: scale(1); }
	35% { transform: scale(1.45); }
	60% { transform: scale(.9); }
	100% { transform: scale(1); }
}

/* ---------- Floating (sticky) cart button ---------- */
.aafe-mc--float:not(#aafe-mc) .aafe-mc-anchor {
	position: fixed;
	z-index: 9989;
}

.aafe-mc--float-bottom-right:not(#aafe-mc) .aafe-mc-anchor { right: var(--aafe-mc-float-x, 24px); bottom: var(--aafe-mc-float-y, 24px); }
.aafe-mc--float-bottom-left:not(#aafe-mc) .aafe-mc-anchor { left: var(--aafe-mc-float-x, 24px); bottom: var(--aafe-mc-float-y, 24px); }
.aafe-mc--float-top-right:not(#aafe-mc) .aafe-mc-anchor { right: var(--aafe-mc-float-x, 24px); top: var(--aafe-mc-float-y, 24px); }
.aafe-mc--float-top-left:not(#aafe-mc) .aafe-mc-anchor { left: var(--aafe-mc-float-x, 24px); top: var(--aafe-mc-float-y, 24px); }

.aafe-mc--float:not(#aafe-mc) .aafe-mc-trigger {
	padding: 14px;
	color: #fff;
	background-color: var(--aafe-mc-accent, #6366f1);
	border-radius: 999px;
	box-shadow: 0 12px 28px -10px rgba(15, 23, 42, .45);
}

.aafe-mc--float:not(#aafe-mc) .aafe-mc-trigger:hover,
.aafe-mc--float:not(#aafe-mc) .aafe-mc-trigger:focus {
	color: #fff;
}

.aafe-mc--float:not(#aafe-mc) .aafe-mc-count {
	color: #0f172a;
	background-color: #fff;
}

/* A dropdown from a bottom-pinned button opens upwards. */
.aafe-mc--float-bottom-right:not(#aafe-mc) .aafe-mc-panel-wrap--dropdown,
.aafe-mc--float-bottom-left:not(#aafe-mc) .aafe-mc-panel-wrap--dropdown {
	top: auto;
	bottom: 100%;
	padding-top: 0;
	padding-bottom: 10px;
}

/* ---------- Cross-sells: variation picker ---------- */
.aafe-mc-cross__card.has-options:not(#aafe-mc) {
	align-items: flex-start;
}

.aafe-mc-cross__card.has-options:not(#aafe-mc) .aafe-mc-cross__add {
	align-self: flex-end;
}

.aafe-mc-panel-wrap:not(#aafe-mc) .aafe-mc-cross__variation {
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 6px 0 0;
	padding: 4px 6px;
	font: inherit;
	font-size: 12px;
	line-height: 1.3;
	color: #0f172a;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
}

/* ---------- Clear cart / savings ---------- */
.aafe-mc-clear:not(#aafe-mc) {
	align-self: center;
	margin: 0;
	padding: 2px 0;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aafe-mc-clear:hover:not(#aafe-mc) {
	color: #dc2626;
}

.aafe-mc-totals__row--savings:not(#aafe-mc) dt,
.aafe-mc-totals__row--savings:not(#aafe-mc) dd {
	color: #059669;
}

.aafe-mc-ship__icon:not(#aafe-mc) {
	display: inline-flex;
	vertical-align: -0.15em;
}

.aafe-mc-ship__icon:not(#aafe-mc) svg {
	width: 1.1em;
	height: 1.1em;
	fill: currentColor;
}
