/**
 * VT Việt Tiệp — theme shell (header / hero / layout).
 * Brand colors align with vt-site-blocks tokens.
 */

:root {
	--vt-primary: #0750c1;
	--vt-primary-dark: #063b8d;
	--vt-primary-soft: #eaf2ff;
	--vt-accent: #ffd33d;
	--vt-ink: #0f172a;
	--vt-muted: #5b6b82;
	--vt-line: #dbe7f7;
	--vt-bg: #f5f8ff;
	--vt-card: #ffffff;
	--vt-radius-lg: 28px;
	--vt-radius-md: 20px;
	--vt-container: 1180px;
	--vt-header-h: 78px;
	--vt-font: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.vt-theme {
	background: #ffffff;
	color: var(--vt-ink);
	font-family: var(--vt-font);
	line-height: 1.55;
	margin: 0;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: var(--vt-primary);
}

.vt-skip-link {
	left: 12px;
	position: absolute;
	top: -48px;
	z-index: 1000;
}

.vt-skip-link:focus {
	background: #fff;
	padding: 8px 12px;
	top: 12px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.vt-container {
	margin: 0 auto;
	max-width: var(--vt-container);
	padding: 0 20px;
	width: 100%;
}

/* Header */
.vt-header {
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid transparent;
	position: sticky;
	top: 0;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	z-index: 100;
}

.admin-bar .vt-header {
	top: 32px;
}

.vt-header.is-scrolled {
	border-bottom-color: var(--vt-line);
	box-shadow: 0 10px 30px rgba(7, 80, 193, 0.08);
}

.vt-header__inner {
	align-items: center;
	display: flex;
	gap: 18px;
	min-height: var(--vt-header-h);
}

.vt-header__brand {
	flex: 0 0 auto;
}

.vt-header__brand .custom-logo-link {
	display: inline-flex;
	line-height: 0;
}

.vt-header__brand .custom-logo {
	height: 48px;
	width: auto;
}

.vt-header__site-name {
	color: var(--vt-primary-dark);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.vt-nav {
	flex: 1 1 auto;
	margin-left: auto;
}

.vt-nav__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-nav__list a {
	color: var(--vt-ink);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.vt-nav__list a:hover,
.vt-nav__list .current-menu-item > a {
	color: var(--vt-primary);
}

.vt-header__toggle {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 5px;
	height: 40px;
	justify-content: center;
	margin-left: auto;
	padding: 8px;
	width: 44px;
}

.vt-header__toggle span:not(.screen-reader-text) {
	background: var(--vt-primary-dark);
	border-radius: 2px;
	display: block;
	height: 2px;
	width: 22px;
}

/* Buttons (fallback if vt-site not loaded) */
.vt-btn {
	align-items: center;
	background: var(--vt-primary);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vt-btn:hover {
	box-shadow: 0 14px 30px rgba(7, 80, 193, 0.28);
	color: #ffffff;
	transform: translateY(-1px);
}

.vt-btn--accent {
	background: var(--vt-accent);
	color: var(--vt-primary-dark);
}

.vt-btn--accent:hover {
	color: var(--vt-primary-dark);
}

.vt-btn--ghost-light {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #ffffff;
}

.vt-btn--ghost-light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

/* Hero — rotating banner + floating action bar */
.vt-hero {
	isolation: isolate;
	margin-bottom: 28px;
	overflow: visible;
	padding-bottom: 32px;
	position: relative;
}

.vt-hero__media {
	inset: 0 0 32px 0;
	overflow: hidden;
	position: absolute;
	z-index: 0;
}

.vt-hero--fallback .vt-hero__media {
	background:
		radial-gradient(ellipse 70% 80% at 85% 50%, rgba(255, 255, 255, 0.18), transparent 50%),
		linear-gradient(115deg, #e8f1ff 0%, #c5daf8 35%, #0750c1 78%, #063b8d 100%);
}

.vt-hero__slide {
	height: 100%;
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 0.8s ease;
	width: 100%;
}

.vt-hero__slide.is-active {
	opacity: var(--vt-hero-opacity, 1);
}

.vt-hero__slide img {
	display: block;
	height: 100%;
	object-fit: cover;
	opacity: inherit;
	width: 100%;
}

.vt-hero__slide picture {
	display: block;
	height: 100%;
	width: 100%;
}

.vt-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(280px, 42vw, 440px);
	padding: 56px 20px 36px;
	position: relative;
	z-index: 1;
}

.vt-hero__spacer {
	min-height: clamp(280px, 42vw, 440px);
	position: relative;
	z-index: 1;
}

.vt-hero__title {
	animation: vt-rise 0.7s ease 0.08s both;
	color: #ffffff;
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 12px;
	max-width: 16ch;
	text-shadow: 0 8px 24px rgba(4, 31, 77, 0.45);
}

.vt-hero__lead {
	animation: vt-rise 0.7s ease 0.16s both;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
	margin: 0 0 22px;
	max-width: 34rem;
	text-shadow: 0 4px 16px rgba(4, 31, 77, 0.4);
}

.vt-hero__cta {
	animation: vt-rise 0.7s ease 0.24s both;
	width: fit-content;
}

.vt-hero__dots {
	bottom: 88px;
	display: flex;
	gap: 8px;
	justify-content: center;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 2;
}

.vt-hero__dot {
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 8px;
	padding: 0;
	transition: width 0.2s ease, background 0.2s ease;
	width: 8px;
}

.vt-hero__dot.is-active {
	background: #ffffff;
	width: 22px;
}

.vt-hero-actions {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(7, 80, 193, 0.14);
	display: grid;
	grid-template-columns: 1fr;
	margin-top: -28px;
	overflow: hidden;
	position: relative;
	z-index: 3;
}

.vt-hero-actions__item {
	align-items: flex-start;
	color: inherit;
	display: flex;
	gap: 14px;
	padding: 20px 22px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.vt-hero-actions__item:hover {
	background: var(--vt-primary-soft);
}

.vt-hero-actions__icon {
	background: var(--vt-primary-soft);
	border-radius: 12px;
	flex: 0 0 44px;
	height: 44px;
	position: relative;
	width: 44px;
}

.vt-hero-actions__icon::before {
	color: var(--vt-primary);
	font-size: 1.15rem;
	font-weight: 700;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.vt-hero-actions__icon--phone::before {
	content: "☎";
}

.vt-hero-actions__icon--calendar::before,
.vt-mobile-bar__icon--calendar::before {
	content: "";
	background-color: var(--vt-primary);
	height: 22px;
	width: 22px;
	-webkit-mask: url("../images/icon-calendar.svg") center / contain no-repeat;
	mask: url("../images/icon-calendar.svg") center / contain no-repeat;
}

.vt-hero-actions__icon--calendar::before {
	height: 24px;
	width: 24px;
}

.vt-hero-actions__icon--doctor::before {
	content: "✚";
}

.vt-hero-actions__text {
	display: grid;
	gap: 4px;
}

.vt-hero-actions__text strong {
	color: var(--vt-ink);
	font-size: 1.02rem;
}

.vt-hero-actions__text small {
	color: var(--vt-muted);
	font-size: 0.88rem;
	line-height: 1.4;
}

/* Sticky bottom bar — mobile only (Vinmec-style) */
.vt-mobile-bar {
	display: none;
}

@keyframes vt-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* About / gallery */
.vt-about {
	background: #f7f8fa;
	padding: 36px 0 48px;
	position: relative;
}

.vt-about__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
	margin-bottom: 0;
}

.vt-about__stage {
	aspect-ratio: 16 / 11;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
}

.vt-about__slide {
	height: 100%;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	inset: 0;
	transition: opacity 0.35s ease;
}

.vt-about__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
}

.vt-about__slide img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.vt-about__slide--placeholder {
	align-items: center;
	background: linear-gradient(145deg, #dbeafe, #93c5fd);
	color: var(--vt-primary-dark);
	display: flex;
	font-weight: 700;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.vt-about__nav {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.6rem;
	height: 42px;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	z-index: 2;
}

.vt-about__nav--prev {
	left: 12px;
}

.vt-about__nav--next {
	right: 12px;
}

.vt-about__title {
	color: #334155;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 12px;
}

.vt-about__accent,
.vt-partners__accent {
	background: var(--vt-primary);
	border-radius: 999px;
	display: block;
	height: 4px;
	margin-bottom: 18px;
	width: 56px;
}

.vt-partners__accent {
	margin-left: auto;
	margin-right: auto;
}

.vt-about__text {
	color: var(--vt-muted);
	font-size: 1.02rem;
	line-height: 1.7;
	margin: 0 0 22px;
}

.vt-about__meta-row {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.vt-about__thumbs {
	display: grid;
	flex: 1 1 auto;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(72px, 1fr));
	max-width: 320px;
}

.vt-about__thumb {
	aspect-ratio: 16 / 11;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	overflow: hidden;
	padding: 0;
}

.vt-about__thumb--more {
	border-color: transparent;
	cursor: default;
	overflow: visible;
	padding: 0;
	pointer-events: none;
	position: relative;
}

.vt-about__thumb-media {
	border-radius: 12px;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.vt-about__thumb--more .vt-about__thumb-media::after {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.45) 42%,
		rgba(255, 255, 255, 0.94) 100%
	);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.vt-about__thumb--more img {
	display: block;
	filter: blur(1.5px);
	height: 100%;
	object-fit: cover;
	opacity: 0.72;
	width: 100%;
}

.vt-about__thumb-more-btn {
	background: var(--vt-primary);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 8px 14px;
	pointer-events: auto;
	position: absolute;
	right: 6px;
	text-decoration: none;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	z-index: 2;
}

.vt-about__thumb-more-btn:hover {
	background: var(--vt-primary-dark);
	color: #ffffff;
}

.vt-about__thumb.is-active,
.vt-about__thumb:hover {
	border-color: var(--vt-primary);
}

.vt-about__thumb--more.is-active,
.vt-about__thumb--more:hover {
	border-color: transparent;
}

.vt-about__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Tour page */
.vt-tour__stage {
	margin-bottom: 18px;
	position: relative;
}

.vt-tour__hero {
	aspect-ratio: 16 / 9;
	background: #dbeafe;
	border-radius: 20px;
	margin: 0;
	overflow: hidden;
}

.vt-tour__hero img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.vt-tour__nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.88);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.6rem;
	height: 44px;
	justify-content: center;
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 44px;
	z-index: 2;
}

.vt-tour__nav--prev {
	left: 14px;
}

.vt-tour__nav--next {
	right: 14px;
}

.vt-tour__caption {
	color: var(--vt-muted);
	font-size: 0.95rem;
	margin: 12px 0 0;
}

.vt-tour__filmstrip {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-tour__thumb {
	aspect-ratio: 16 / 11;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 14px;
	cursor: pointer;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.vt-tour__thumb.is-active,
.vt-tour__thumb:hover {
	border-color: var(--vt-primary);
}

.vt-tour__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.vt-tour__content {
	margin-top: 36px;
}

@media (min-width: 768px) {
	.vt-tour__filmstrip {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Partners */
.vt-partners {
	background: #f7f8fa;
	padding: 56px 0;
	text-align: center;
}

.vt-partners__title {
	color: #334155;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	font-weight: 800;
	margin: 0 0 12px;
}

.vt-partners__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 28px 48px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-partners__list img {
	display: block;
	filter: grayscale(0.15);
	max-height: 64px;
	max-width: 180px;
	object-fit: contain;
	opacity: 0.92;
}

/* Home sections */
.vt-home .vt-section {
	padding-left: 0;
	padding-right: 0;
}

.vt-home > .vt-container:first-child {
	padding-top: 8px;
}

.vt-home .vt-packages-section {
	margin-top: 0;
}

.vt-home .vt-packages-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
	.vt-home .vt-packages-grid {
		gap: 22px;
		max-width: 860px;
	}
}

.vt-doctors-home {
	background: #ffffff;
	overflow: visible;
	padding: 48px 20px;
	position: relative;
}

.vt-doctors-home .vt-doctors-section {
	background: transparent;
	padding: 0;
}

.vt-section--soft {
	background: var(--vt-bg);
}

.vt-section__title {
	color: var(--vt-primary-dark);
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 10px;
}

.vt-section__lead {
	color: var(--vt-muted);
	font-size: 1.05rem;
	margin: 0 0 28px;
	max-width: 42rem;
}

.vt-theme-notice {
	color: var(--vt-muted);
	padding: 24px 0;
}

/* CTA banner */
.vt-cta-banner {
	background: linear-gradient(120deg, var(--vt-primary-dark), var(--vt-primary));
	margin-top: 24px;
	padding: 48px 0;
}

.vt-cta-banner__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
}

.vt-cta-banner__title {
	color: #ffffff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin: 0 0 8px;
}

.vt-cta-banner__lead {
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	max-width: 36rem;
}

/* Inner pages */
.vt-page {
	padding: 40px 0 72px;
}

.vt-page--narrow {
	max-width: 760px;
}

.vt-page-header {
	margin-bottom: 28px;
}

.vt-page-title {
	color: var(--vt-primary-dark);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
}

.vt-page-content {
	font-size: 1.05rem;
	line-height: 1.7;
}

.vt-single-thumb {
	border-radius: var(--vt-radius-md);
	margin-bottom: 28px;
	overflow: hidden;
}

.vt-single-thumb img {
	display: block;
	width: 100%;
}

/* White footer */
.vt-footer {
	background: #ffffff;
	border-top: 1px solid #e8eef7;
	color: #334155;
	padding: 56px 0 28px;
}

.vt-footer a {
	color: #475569;
	text-decoration: none;
}

.vt-footer a:hover {
	color: var(--vt-primary);
}

.vt-footer__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
	margin-bottom: 36px;
}

.vt-footer__heading {
	color: #0f172a;
	font-size: 0.98rem;
	font-weight: 800;
	margin: 0 0 14px;
}

.vt-footer__intro {
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

.vt-footer__list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vt-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vt-footer__social-link {
	align-items: center;
	border-radius: 999px;
	color: #ffffff !important;
	display: inline-flex;
	font-weight: 800;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.vt-footer__social-link--facebook {
	background: #1877f2;
}

.vt-footer__social-link--youtube {
	background: #ff0000;
}

.vt-footer__social-link--zalo {
	background: #0068ff;
}

.vt-footer__social-link--tiktok {
	background: #ffffff;
	border: 1px solid #e8eef7;
}

.vt-footer__social-link--tiktok img {
	display: block;
	height: 22px;
	object-fit: contain;
	width: 22px;
}

.vt-footer__social-hint {
	color: #94a3b8;
	font-size: 0.9rem;
	margin: 0;
}

.vt-footer__map {
	border-radius: 12px;
	overflow: hidden;
}

.vt-footer__map iframe {
	display: block;
	height: 180px;
	width: 100%;
}

.vt-footer__map-hint {
	color: #94a3b8;
	font-size: 0.88rem;
	line-height: 1.5;
	margin: 0;
}

.vt-footer__bottom {
	align-items: center;
	border-top: 1px solid #e8eef7;
	color: #94a3b8;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 12px 24px;
	justify-content: space-between;
	padding-top: 18px;
}

.vt-footer__copyright {
	margin: 0;
}

.vt-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.vt-footer__legal a {
	color: #64748b;
	font-size: 0.88rem;
	text-decoration: none;
}

.vt-footer__legal a:hover {
	color: var(--vt-primary);
}

.vt-footer__legal a + a::before {
	color: #cbd5e1;
	content: "|";
	margin-right: 12px;
}

@media (min-width: 768px) {
	.vt-hero-actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vt-hero-actions__item {
		border-right: 1px solid #e8eef7;
	}

	.vt-hero-actions__item:last-child {
		border-right: 0;
	}

	.vt-about__grid {
		align-items: center;
		grid-template-columns: 1.05fr 0.95fr;
		gap: 40px;
	}

	.vt-about__thumbs {
		grid-template-columns: repeat(3, minmax(88px, 110px));
		max-width: 100%;
	}

	.vt-footer__grid {
		grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
	}

	.vt-footer__grid--no-map {
		grid-template-columns: 1.4fr 1.2fr 1fr;
	}

	.vt-footer__grid--has-map {
		grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
	}
}

@media (max-width: 960px) {
	.vt-header__toggle {
		display: flex;
	}

	.vt-nav {
		background: #ffffff;
		border-bottom: 1px solid var(--vt-line);
		display: none;
		left: 0;
		margin-left: 0;
		padding: 12px 20px 20px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.vt-nav.is-open {
		display: block;
	}

	.vt-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.vt-nav__list a {
		display: block;
		padding: 12px 0;
	}
}

@media (max-width: 767px) {
	body.vt-theme {
		/* Bar height only — do not add safe-area here (Zalo/Android often reports it wrong → blank gap). */
		padding-bottom: 60px;
	}

	.vt-hero {
		margin-bottom: 12px;
		padding-bottom: 0;
	}

	.vt-hero__media {
		inset: 0;
	}

	.vt-hero__content {
		min-height: clamp(220px, 58vw, 320px);
		padding: 28px 16px 40px;
	}

	.vt-hero__spacer {
		min-height: clamp(220px, 58vw, 320px);
	}

	.vt-hero__dots {
		bottom: 14px;
	}

	.vt-hero-actions-wrap {
		display: none;
	}

	.vt-mobile-bar {
		align-items: stretch;
		background: #ffffff;
		border-top: 1px solid #e2e8f0;
		bottom: 0;
		box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		left: 0;
		/* No env(safe-area-inset-bottom): Zalo WebView often pads twice → khoảng trắng dưới icon. */
		padding: 6px 0 8px;
		position: fixed;
		right: 0;
		z-index: 1000;
	}

	.vt-mobile-bar__item {
		align-items: center;
		box-sizing: border-box;
		color: #334155;
		display: flex;
		flex-direction: column;
		gap: 3px;
		justify-content: center;
		min-height: 48px;
		min-width: 0;
		padding: 4px 4px;
		text-align: center;
		text-decoration: none;
		width: 100%;
	}

	.vt-mobile-bar__item:active {
		background: var(--vt-primary-soft);
		color: var(--vt-primary-dark);
	}

	.vt-mobile-bar__icon {
		display: block;
		flex: 0 0 auto;
		height: 22px;
		margin: 0 auto;
		position: relative;
		width: 22px;
	}

	.vt-mobile-bar__icon::before {
		color: var(--vt-primary);
		font-size: 1.1rem;
		font-weight: 700;
		left: 50%;
		line-height: 1;
		position: absolute;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.vt-mobile-bar__icon--phone::before {
		content: "☎";
	}

	.vt-mobile-bar__icon--calendar::before {
		height: 20px;
		width: 20px;
	}

	.vt-mobile-bar__icon--doctor::before {
		content: "✚";
	}

	.vt-mobile-bar__label {
		display: block;
		font-size: 0.68rem;
		font-weight: 600;
		letter-spacing: -0.01em;
		line-height: 1.15;
		margin: 0;
		max-width: 100%;
		overflow: hidden;
		padding: 0 2px;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 100%;
	}

	/* iOS home indicator only — keep bar clear of the gesture line. */
	@supports (-webkit-touch-callout: none) {
		body.vt-theme {
			padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
		}

		.vt-mobile-bar {
			padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		}
	}

	.vt-home > .vt-container:first-child {
		padding-top: 4px;
	}

	.vt-home .vt-packages-section .vt-section__title {
		font-size: 1.35rem;
		margin-bottom: 6px;
	}

	.vt-home .vt-packages-section .vt-section__lead {
		font-size: 0.9rem;
		margin-bottom: 14px;
	}
}

@media (max-width: 782px) {
	.admin-bar .vt-header {
		top: 46px;
	}

	.admin-bar .vt-mobile-bar {
		bottom: 0;
	}
}
