/* Sảnh sự kiện (B3): events-venues/capacity, events-venues/compact-band, pictogram bố trí, sheet form báo giá #vh-rfp.
 * Chỉ dùng biến --vh-*; biến tùy chọn luôn có giá trị dự phòng. Mobile trước, mốc 640px / 1024px. */

/* ---------- Pictogram 6 kiểu bố trí (SVG nội tuyến, nét theo màu chữ) ---------- */
.vh-ev-picto {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vh-ev-picto__dot {
	fill: currentColor;
	stroke: none;
}

/* ---------- capacity ---------- */
.vh-evv {
	display: grid;
	gap: var(--vh-card-gap);
}

.vh-evv > .vh-section-head {
	margin-bottom: 8px;
}

.vh-evv__strip,
.vh-evv__group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 16px;
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-accent);
	color: var(--vh-color-accent-ink);
	font-weight: var(--vh-fw-medium);
	line-height: 1.5;
}

.vh-evv__group {
	border: 1px solid var(--vh-color-border);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
}

.vh-evv__strip .vh-i,
.vh-evv__group .vh-i {
	margin-top: 2px;
}

/* Bộ lọc: 2 ô cạnh nhau, dòng kết quả đọc bởi trình đọc màn hình (role=status). */
.vh-evv__filter {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: var(--vh-card-pad);
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
}

.vh-evv__status {
	grid-column: 1 / -1;
	margin: 0;
	font-weight: var(--vh-fw-medium);
}

.vh-evv__status:empty {
	display: none;
}

.vh-evv__empty {
	display: grid;
	justify-items: start;
	gap: 12px;
	padding: var(--vh-card-pad);
	border: 1px dashed var(--vh-color-border-strong);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
}

.vh-evv__empty p {
	margin: 0;
}

/* Thẻ sảnh */
.vh-evv__cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--vh-card-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evv__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: var(--vh-border-width, 1px) solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
	box-shadow: var(--vh-shadow-card);
}

.vh-evv__media {
	position: relative;
	flex: none;
	background: var(--vh-color-surface);
}

.vh-evv__media img,
.vh-evv__media .vh-ph {
	width: 100%;
	border-radius: 0;
	object-fit: cover;
	filter: var(--vh-media-filter, none);
}

/* Nhãn sức chứa trên ảnh: chip đặc nền nhạt, chữ đậm màu chữ chính (không dựa vào ảnh để đủ tương phản). */
.vh-evv__chip {
	position: absolute;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 4px 12px;
	border-radius: var(--vh-radius-chip);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	font-variant-numeric: tabular-nums lining-nums;
	line-height: 1.4;
}

.vh-evv__body {
	display: grid;
	align-content: start;
	gap: 12px;
	flex: 1;
	padding: var(--vh-card-pad);
}

.vh-evv__kind,
.vh-evb__kind {
	margin: 0;
	color: var(--vh-color-accent-ink);
	font-family: var(--vh-font-ui, var(--vh-font-body));
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	letter-spacing: var(--vh-ls-label, 0);
	text-transform: var(--vh-label-transform, none);
}

.vh-evv__name {
	margin: -4px 0 0;
}

.vh-evv__max {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0;
}

/* Con số là nhân vật chính (#10): số tabular để các thẻ thẳng hàng. */
.vh-evv__max-n {
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-stat, clamp(2rem, 1.6rem + 1.6vw, 2.75rem));
	font-weight: var(--vh-fw-heading);
	font-variant-numeric: tabular-nums lining-nums;
	line-height: 1.1;
	color: var(--vh-color-text);
}

.vh-evv__max-l {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-evv__caps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evv__cap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 10px;
	align-items: center;
	padding: 8px 10px;
	border-radius: var(--vh-radius-input);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
}

.vh-evv__cap .vh-ev-picto {
	grid-row: 1 / span 2;
	color: var(--vh-color-primary);
}

.vh-evv__cap-l {
	color: var(--vh-color-muted);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.vh-evv__cap-n {
	font-weight: var(--vh-fw-bold);
	font-variant-numeric: tabular-nums lining-nums;
	line-height: 1.3;
}

.vh-alt .vh-evv__cap {
	background: var(--vh-color-bg);
}

.vh-evv__text {
	margin: 0;
	color: var(--vh-color-text);
}

.vh-evv__feats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evv__feats .vh-chip {
	white-space: normal;
}

.vh-evv__price {
	margin: 0;
	font-weight: var(--vh-fw-bold);
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evv__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 16px;
	margin-top: auto;
}

/* Một sảnh: thẻ rộng ảnh trái, chữ phải. */
@media (min-width: 768px) {
	.vh-evv__cards--single .vh-evv__card {
		flex-direction: row;
	}

	.vh-evv__cards--single .vh-evv__media {
		width: 50%;
	}

	.vh-evv__cards--single .vh-evv__media img,
	.vh-evv__cards--single .vh-evv__media .vh-ph {
		height: 100%;
	}
}

@media (min-width: 640px) {
	.vh-evv__filter {
		grid-template-columns: minmax(0, 220px) minmax(0, 260px) minmax(0, 1fr);
		align-items: end;
	}

	.vh-evv__status {
		grid-column: auto;
		padding-bottom: 12px;
	}

	.vh-evv__cards--n2,
	.vh-evv__cards--n3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vh-evv__caps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vh-evv__cards--n3 .vh-evv__caps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vh-evv__cards--n3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Bản gọn: thẻ thành dòng có ảnh vuông nhỏ. */
.vh-evv__cards--rows .vh-evv__card {
	flex-direction: row;
	align-items: stretch;
}

.vh-evv__cards--rows .vh-evv__media {
	width: 96px;
}

.vh-evv__cards--rows .vh-evv__media img,
.vh-evv__cards--rows .vh-evv__media .vh-ph {
	height: 100%;
}

.vh-evv__cards--rows .vh-evv__media .vh-ph__tag,
.vh-evv__cards--rows .vh-evv__media .vh-ph__label {
	display: none;
}

.vh-evv__cards--rows .vh-evv__body {
	gap: 6px;
	padding: 12px 16px;
}

.vh-evv__cards--rows .vh-evv__max-n {
	font-size: var(--vh-fs-h3);
}

@media (min-width: 640px) {
	.vh-evv__cards--rows .vh-evv__media {
		width: 140px;
	}
}

/* Bảng sức chứa: cuộn ngang trên điện thoại, cột tên sảnh đứng yên. */
.vh-evv__more {
	border-top: 1px solid var(--vh-color-border);
}

.vh-evv__more-sum {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	color: var(--vh-color-primary);
	font-weight: var(--vh-fw-medium);
	cursor: pointer;
	list-style: none;
}

.vh-evv__more-sum::-webkit-details-marker {
	display: none;
}

.vh-evv__more[open] .vh-evv__more-sum .vh-i {
	transform: rotate(180deg);
}

.vh-evv__table-wrap {
	position: relative; /* khung chứa cho .vh-sr (position:absolute) trong bảng: không cho chúng tràn ra ngoài vùng cuộn */
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
	-webkit-overflow-scrolling: touch;
}

.vh-evv__table {
	width: 100%;
	min-width: 560px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: var(--vh-fs-small);
}

.vh-evv__table caption {
	padding: 12px 16px 4px;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	text-align: left;
	caption-side: top;
}

.vh-evv__table th,
.vh-evv__table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--vh-color-border);
	vertical-align: middle;
	text-align: left;
}

.vh-evv__table tbody tr:last-child > * {
	border-bottom: 0;
}

.vh-evv__table thead th {
	color: var(--vh-color-muted);
	font-weight: var(--vh-fw-medium);
	white-space: nowrap;
}

.vh-evv__th-l {
	text-align: center !important;
}

.vh-evv__th-l .vh-ev-picto {
	display: block;
	margin: 0 auto 4px;
	color: var(--vh-color-primary);
}

.vh-evv__t-n {
	font-size: var(--vh-fs-body);
	font-weight: var(--vh-fw-bold);
	font-variant-numeric: tabular-nums lining-nums;
	text-align: center !important;
	white-space: nowrap;
}

.vh-evv__t-n.is-empty {
	color: var(--vh-color-muted);
	font-weight: var(--vh-fw-body);
}

.vh-evv__t-name {
	display: block;
	font-size: var(--vh-fs-body);
	font-weight: var(--vh-fw-bold);
}

.vh-evv__t-kind {
	display: block;
	color: var(--vh-color-muted);
	font-weight: var(--vh-fw-body);
}

.vh-evv__table--sticky th[scope="row"],
.vh-evv__table--sticky thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 148px;
	background: var(--vh-color-card);
	box-shadow: 1px 0 0 var(--vh-color-border);
}

.vh-evv--compact .vh-evv__table th,
.vh-evv--compact .vh-evv__table td {
	padding: 8px 10px;
}

.vh-evv__foot {
	display: grid;
	justify-items: start;
	gap: 8px;
}

.vh-evv__note {
	margin: 0;
}

.vh-evv__cta {
	margin-bottom: 4px;
}

/* ---------- compact-band ---------- */
.vh-evb {
	display: grid;
	gap: var(--vh-card-gap);
}

.vh-evb__media {
	overflow: hidden;
	border-radius: var(--vh-radius-media);
}

.vh-evb__media img,
.vh-evb__media .vh-ph {
	width: 100%;
	border-radius: 0;
	object-fit: cover;
	filter: var(--vh-media-filter, none);
}

.vh-evb__main {
	display: grid;
	gap: var(--vh-card-gap);
}

.vh-evb__head {
	margin-bottom: 0;
}

.vh-evb__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evb__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: var(--vh-border-width, 1px) solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
}

.vh-evb__thumb img,
.vh-evb__thumb .vh-ph {
	width: 100%;
	border-radius: 0;
	object-fit: cover;
}

.vh-evb__body {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: var(--vh-card-pad);
}

.vh-evb__name {
	margin: 0;
}

.vh-evb__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evb__chips .vh-chip {
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evb__text {
	margin: 0;
}

.vh-evb__price {
	margin: 0;
	font-weight: var(--vh-fw-bold);
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evb__ask {
	justify-self: start;
}

.vh-evb__lines {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evb__line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.vh-evb__line .vh-i {
	margin-top: 2px;
	color: var(--vh-color-accent-ink);
}

.vh-evb__line--pkg {
	font-weight: var(--vh-fw-bold);
}

.vh-evb__note {
	margin: 0;
}

/* Dải tối (options.bg = deep): thẻ trong suốt viền nhạt, chữ theo màu trên nền tối. */
.vh-deep .vh-evb__item,
.vh-deep .vh-evv__card {
	border-color: color-mix(in srgb, currentColor 28%, transparent);
	background: transparent;
	color: inherit;
	box-shadow: none;
}

.vh-deep .vh-evb__line .vh-i,
.vh-deep .vh-evv__kind,
.vh-deep .vh-evb__kind {
	color: var(--vh-color-accent-on-deep, var(--vh-color-on-deep));
}

.vh-deep .vh-evv__max-n {
	color: inherit;
}

@media (min-width: 640px) {
	.vh-evb__list--n2.vh-evb__list--cards,
	.vh-evb__list--n3.vh-evb__list--cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vh-evb__list--n3.vh-evb__list--cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vh-evb__list--rows {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

/* ---------- Sheet form yêu cầu báo giá #vh-rfp ---------- */
.vh-rfp__panel {
	max-width: 640px;
}

.vh-rfp__body {
	display: grid;
	gap: 16px;
	padding: 16px 20px 24px;
}

.vh-rfp__body > p {
	margin: 0;
}

.vh-rfp__form {
	display: grid;
	gap: 16px;
}

.vh-rfp__grid {
	display: grid;
	gap: 16px;
}

.vh-rfp__demo {
	margin: 0;
}

.vh-rfp__alt {
	display: grid;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--vh-color-border);
}

.vh-rfp__alt p {
	margin: 0;
}

.vh-rfp [data-vh-rfp-submit][aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

@media (prefers-reduced-motion: reduce) {
	.vh-evv__more[open] .vh-evv__more-sum .vh-i {
		transition: none;
	}
}

.vh-rfp__pkg {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--vh-radius-input);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
}

.vh-rfp__pkg .vh-i {
	color: var(--vh-color-success);
}
