/* Скрыть сватчи темы */
.swatches-select[data-id="pa_color"] {
	display: none !important;
}

/* Скрыть кнопку очистки */
.reset_variations {
	display: none !important;
}

/* Скрыть стандартный ввод количества (так, чтобы не ломать валидацию) */
/* Скрыть стандартный ввод количества (так, чтобы не ломать валидацию) */
.product-type-variable .quantity {
	opacity: 0 !important;
	position: absolute !important;
	z-index: -1 !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
}

/* Интерактивный ряд */
.mikunim-interactive-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

/* Иконка цвета */
.mikunim-color-icon {
	width: 30px;
	height: 30px;
	border: 1px solid #666;
	border-radius: 50%;
	margin-inline-end: 12px;
	position: relative;
	flex-shrink: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Галочка внутри иконки */
.mikunim-checkmark {
	width: 18px;
	height: 18px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Состояние выбранного цвета */
.mikunim-interactive-row.selected .mikunim-color-icon {
	border-width: 3px;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.mikunim-interactive-row.selected .mikunim-checkmark {
	opacity: 1;
}

/* Название вариации */
.mikunim-row-name {
	flex-grow: 1;
	font-weight: bold;
	margin-inline-end: 15px;
}

/* Контролы количества */
.mikunim-qty-ctrl {
	display: flex;
	align-items: center;
}

.mikunim-qty-btn {
	width: 30px;
	height: 30px;
	background: #ddd;
	border: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mikunim-qty-input {
	width: 40px !important;
	text-align: center;
	margin: 0 5px !important;
	padding: 0 !important;
	height: 30px !important;
}

/* Скрыть кнопку "В корзину" для вариативных товаров */
/* .product-type-variable .single_add_to_cart_button {
	display: none !important;
} */

.mikunim-hidden-add {
	display: none;
}

/* Уведомление об успехе */
#mikunim-success-toast {
	visibility: hidden;
	min-width: 250px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 4px;
	padding: 16px;
	position: fixed;
	z-index: 9999;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	font-size: 16px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#mikunim-success-toast.show {
	visibility: visible;
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}

@keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}

/* Hide WooCommerce notices wrapper on single product page */
/* .single-product .woocommerce-notices-wrapper {
	display: none !important;
} */