/* Gói sự kiện (B3) – event-packages/tiers: thẻ gói, ngày còn sảnh, dải thiết bị, quy trình 4 bước.
 * Chỉ dùng biến --vh-*. Mobile trước, mốc 640px / 1024px. */

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

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

.vh-evp__tiers {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--vh-card-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-evp__tier {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: var(--vh-card-pad);
	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);
}

/* Gói nổi bật: viền đậm màu chính, không đổi nền để chữ giữ tương phản như thẻ khác. */
.vh-evp__tier.is-featured {
	border: 2px solid var(--vh-color-primary);
}

.vh-evp__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	align-self: flex-start;
	margin: 0;
	padding: 2px 10px;
	border-radius: var(--vh-radius-chip);
	background: var(--vh-color-primary);
	color: var(--vh-color-on-primary);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	line-height: 1.6;
}

.vh-evp__name {
	margin: 0;
	font-family: var(--vh-font-heading);
	font-weight: var(--vh-fw-heading);
}

.vh-evp__price {
	margin: 0;
}

/* Giá gói là con số chính: số tabular, cỡ lớn hơn giá phòng. */
.vh-evp__num {
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-stat, clamp(1.75rem, 1.5rem + 1.1vw, 2.25rem));
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evp__ask {
	margin: 0;
	font-weight: var(--vh-fw-bold);
}

.vh-evp__min {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-evp__inc {
	font-size: var(--vh-fs-small);
}

.vh-evp__note {
	margin: 0;
}

.vh-evp__act {
	margin-top: auto;
	padding-top: 4px;
}

.vh-evp__pnote {
	margin: 0;
}

/* Phần dưới: ảnh dọc 4:5 cạnh ngày còn sảnh, thiết bị, quy trình. */
.vh-evp__extra {
	display: grid;
	gap: var(--vh-card-gap);
	margin-top: 8px;
}

.vh-evp__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--vh-radius-media);
}

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

/* Khung lồng (tùy chọn frame): viền mảnh cách mép ảnh theo biến của mẫu. */
.vh-evp__media--frame::after {
	content: "";
	position: absolute;
	inset: var(--vh-media-frame-inset, 12px);
	border: 1px solid var(--vh-media-frame-color, var(--vh-color-bg));
	pointer-events: none;
}

.vh-evp__side {
	display: grid;
	align-content: start;
	gap: 24px;
	min-width: 0;
}

.vh-evp__side > section {
	display: grid;
	gap: 12px;
}

.vh-evp__side .vh-h3 {
	margin: 0;
}

.vh-evp__side p {
	margin: 0;
}

.vh-evp__dlist {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--vh-color-border);
}

.vh-evp__date {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--vh-color-border);
}

.vh-evp__dmain {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-weight: var(--vh-fw-bold);
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evp__lunar {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-body);
}

.vh-evp__dmeta {
	grid-column: 1;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-evp__hold {
	grid-column: 2;
	grid-row: 1 / span 2;
	white-space: nowrap;
}

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

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

.vh-evp__slist {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: vh-evp-step;
}

.vh-evp__step {
	position: relative;
	display: grid;
	gap: 2px;
	min-height: 40px;
	padding-left: 52px;
	counter-increment: vh-evp-step;
}

.vh-evp__step::before {
	content: counter(vh-evp-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 2px solid var(--vh-color-primary);
	border-radius: 50%;
	color: var(--vh-color-primary);
	font-family: var(--vh-font-heading);
	font-weight: var(--vh-fw-heading);
	font-variant-numeric: tabular-nums lining-nums;
}

.vh-evp__st-t {
	font-weight: var(--vh-fw-bold);
}

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

.vh-evp__cta {
	margin-top: 8px;
}

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

.vh-deep .vh-evp__step::before {
	border-color: currentColor;
	color: inherit;
}

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

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

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

	.vh-evp__extra--img {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
		gap: clamp(24px, 4vw, 48px);
	}
}
