/* Область виджета корзины */
.elementor-element-c9ae096,
.elementor-element-c9ae096 .elementor-menu-cart__wrapper {
	overflow: visible !important;
}

/* Фикс выезжающего контейнера: сдвиг + ширина */
.elementor-element-c9ae096 .elementor-menu-cart__container {
	left: auto !important;
	right: 8px !important;
	width: min(680px, calc(100vw - 16px)) !important;
	max-width: calc(100vw - 16px) !important;
}

.elementor-element-c9ae096 .elementor-menu-cart__main {
	left: auto !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Прячем нативный счетчик Elementor */
.elementor-element-c9ae096 .elementor-button-icon-qty {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Прячем старый бейдж из предыдущих попыток */
.elementor-element-c9ae096 .mk13-cart-badge,
.elementor-element-c9ae096 .mk-cart-badge {
	display: none !important;
}

/* Кнопка корзины в шапке */
.elementor-element-c9ae096 .elementor-menu-cart__toggle .elementor-button,
.elementor-element-c9ae096 .elementor-menu-cart__toggle_button {
	display: inline-flex !important;
	align-items: center !important;
	overflow: visible !important;
}

/* Иконка + наше число сразу справа */
.elementor-element-c9ae096 .elementor-menu-cart__toggle .elementor-button-icon {
	display: inline-flex !important;
	align-items: flex-end !important;
	gap: 0 !important;
}

/* Наш счетчик: белая цифра без круга */
.elementor-element-c9ae096 .mk13-cart-count {
	display: inline-block !important;
	margin-left: 2px !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	color: #fff !important;
	font-size: inherit !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.elementor-element-c9ae096 .mk13-cart-count.is-hidden {
	display: none !important;
}

/* Кнопки «Корзина» / «Оформление» внутри мини-корзины */
.elementor-element-c9ae096 .elementor-menu-cart__footer-buttons .elementor-button-text {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: inherit !important;
}
