/* LOAD MORE — "Xem thêm X sản phẩm ↓" (inc/load-more.php, assets/js/load-more.js). Generic: every selector is .vnt39-lm… */

/* With JS the classic pagination is replaced by the button (it stays in the DOM for crawlers / no-JS visitors). */
html.vnt39-lm-active .woocommerce-pagination,
html.vnt39-lm-active .woocommerce-pagination + .container-pagination {
	display: none;
}

.vnt39-lm {
	display: flex;
	justify-content: center;
	margin: 28px 0 8px;
	padding: 0 12px;
}
.vnt39-lm[hidden] {
	display: none;
}
.vnt39-lm .vnt39-lm__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-width: 260px;
	max-width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 28px;
	border: 1px solid #d9dde3;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba( 20, 24, 40, 0.06 );
	color: #1f2430;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.vnt39-lm .vnt39-lm__btn:hover,
.vnt39-lm .vnt39-lm__btn:focus-visible {
	border-color: var( --vnt39-brand, #a30d1b );
	color: var( --vnt39-brand, #a30d1b );
	box-shadow: 0 2px 8px rgba( 163, 13, 27, 0.14 );
}
.vnt39-lm .vnt39-lm__btn:focus-visible {
	outline: 2px solid var( --vnt39-brand, #a30d1b );
	outline-offset: 2px;
}
.vnt39-lm .vnt39-lm__btn:disabled {
	cursor: progress;
	opacity: 0.7;
}
.vnt39-lm .vnt39-lm__ico {
	flex: 0 0 auto;
}
.vnt39-lm.is-loading .vnt39-lm__ico {
	animation: vnt39-lm-bob 0.8s ease-in-out infinite alternate;
}
.vnt39-lm.is-error .vnt39-lm__btn {
	border-color: var( --vnt39-brand, #a30d1b );
	color: var( --vnt39-brand, #a30d1b );
}
@keyframes vnt39-lm-bob {
	from { transform: translateY( -2px ); }
	to { transform: translateY( 2px ); }
}
@media ( prefers-reduced-motion: reduce ) {
	.vnt39-lm.is-loading .vnt39-lm__ico { animation: none; }
}
@media ( max-width: 549px ) {
	.vnt39-lm .vnt39-lm__btn {
		width: 100%;
		min-width: 0;
		font-size: 14px;
	}
}
