/* =========================================================================
 * X3SALES DV Band — element vhm_thm_band
 * Dải phân cách full-width: ảnh nền + lớp phủ màu, chiều cao riêng PC/mobile,
 * dùng làm vạch trang trí / mốc cuộn (anchor) giữa các khối.
 * Màu/ảnh/chiều cao đổ qua --thm-band-* trên thẻ gốc. Scope dưới .thm-band.
 * ========================================================================= */

.thm-band {
	position: relative;
	width: 100%;
	height: var(--thm-band-h-pc, 145px);
	margin: 0 auto;
	background-image: var(--thm-band-bg-pc, none);
	background-size: cover;
	background-position: 50% 0%;
	background-repeat: no-repeat;
	overflow: hidden;
}

.thm-band__overlay {
	position: absolute;
	inset: 0;
	background-color: var(--thm-band-overlay, #b87f0f);
	opacity: var(--thm-band-overlay-op, 1);
	pointer-events: none;
}

/* -------- Mobile (< 768px) -------- */
@media (max-width: 767px) {
	.thm-band {
		height: var(--thm-band-h-mobile, 5px);
		background-image: var(--thm-band-bg-mobile, var(--thm-band-bg-pc, none));
	}
}

/* -------------------------------------------------------------------------
 * Chế độ UX Builder ("chip viền builder"): frontend dải có thể rất mỏng (5px)
 * nên khó nhìn/chọn. Trong builder ép chiều cao tối thiểu + khung viền + nhãn
 * để dễ thao tác. Frontend giữ chiều cao thật.
 * ---------------------------------------------------------------------- */
.thm-band--builder {
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: 1px dashed rgba(0, 0, 0, 0.45);
	outline-offset: -4px;
}

.thm-band--builder .thm-band__b-tag {
	position: relative;
	z-index: 1;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
