.vvs,
.vvs-hop {
	--vvs-nhan: #b08d57;
	--vvs-muc: #14241d;
	--vvs-giay: #fffdf9;
	--vvs-bo: 14px;
}

.vvs {
	position: relative;
	margin: 1.5em 0;
	max-width: 100%;
	color: var(--vvs-muc);
	-webkit-tap-highlight-color: transparent;
}

.vvs *,
.vvs *::before,
.vvs *::after,
.vvs-hop *,
.vvs-hop *::before,
.vvs-hop *::after {
	box-sizing: border-box;
}

.vvs .vvs-khung {
	position: relative;
	overflow: hidden;
	border-radius: var(--vvs-bo);
	background: #e9e6df;
	box-shadow: 0 1px 2px rgba(20, 36, 29, 0.08), 0 10px 28px -14px rgba(20, 36, 29, 0.4);
}

.vvs .vvs-dai {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	position: relative;
	aspect-ratio: var(--vvs-tile, 16 / 9);
	-webkit-overflow-scrolling: touch;
}

.vvs.vvs-js .vvs-dai {
	scrollbar-width: none;
}

.vvs.vvs-js .vvs-dai::-webkit-scrollbar {
	display: none;
}

.vvs .vvs-dai:focus-visible {
	outline: 2px solid var(--vvs-nhan);
	outline-offset: -2px;
}

.vvs .vvs-trang {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.vvs .vvs-hinh {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.vvs .vvs-hinh .vvs-anh {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	background: #e9e6df;
	-webkit-user-drag: none;
}

.vvs[data-vvs-phong] .vvs-hinh .vvs-anh {
	cursor: zoom-in;
}

.vvs .vvs-hinh .vvs-chu {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 56px 20px 18px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #fff;
	text-wrap: balance;
	background: linear-gradient(to top, rgba(8, 14, 11, 0.8), rgba(8, 14, 11, 0));
	pointer-events: none;
}

.vvs button.vvs-nut,
.vvs-hop button.vvs-nut {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 50%;
	line-height: 1 !important;
	background: rgba(255, 253, 249, 0.92);
	color: var(--vvs-muc);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.vvs button.vvs-nut:hover,
.vvs-hop button.vvs-nut:hover {
	background: #fff;
	color: var(--vvs-muc);
	transform: scale(1.07);
}

.vvs button.vvs-nut:focus-visible,
.vvs-hop button.vvs-nut:focus-visible,
.vvs button.vvs-mini:focus-visible,
.vvs button.vvs-cham-nut:focus-visible {
	outline: 2px solid var(--vvs-nhan);
	outline-offset: 2px;
}

.vvs button.vvs-nut[disabled],
.vvs-hop button.vvs-nut[disabled] {
	opacity: 0.35;
	pointer-events: none;
}

.vvs .vvs-nut svg,
.vvs-hop .vvs-nut svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.vvs .vvs-truoc,
.vvs .vvs-sau {
	position: absolute;
	top: 50%;
	z-index: 2;
	margin-top: -22px !important;
}

.vvs .vvs-truoc {
	left: 14px;
}

.vvs .vvs-sau {
	right: 14px;
}

.vvs .vvs-goc {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	gap: 8px;
}

.vvs .vvs-goc button.vvs-nut {
	width: 40px;
	height: 40px;
}

.vvs .vvs-dem,
.vvs-hop .vvs-hop-dem {
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.vvs .vvs-dem {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 8px 13px;
	border-radius: 999px;
	color: #fff;
	background: rgba(20, 36, 29, 0.66);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.vvs .vvs-thu {
	position: relative;
	display: flex;
	gap: 8px;
	margin-top: 10px;
	padding: 4px 3px 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.vvs .vvs-thu::-webkit-scrollbar {
	display: none;
}

.vvs button.vvs-mini {
	flex: 0 0 auto;
	width: 92px;
	aspect-ratio: 3 / 2;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 9px;
	overflow: hidden;
	background: #e9e6df;
	cursor: pointer;
	opacity: 0.6;
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: opacity 0.2s ease, outline-color 0.2s ease;
}

.vvs button.vvs-mini:hover {
	opacity: 0.92;
	background: #e9e6df;
}

.vvs button.vvs-mini[aria-current="true"] {
	opacity: 1;
	outline-color: var(--vvs-nhan);
}

.vvs button.vvs-mini img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.vvs .vvs-cham {
	display: none;
	justify-content: center;
	gap: 0;
	margin-top: 8px;
}

.vvs button.vvs-cham-nut {
	position: relative;
	width: 24px;
	height: 24px;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.vvs button.vvs-cham-nut::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: rgba(20, 36, 29, 0.28);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.vvs button.vvs-cham-nut[aria-current="true"]::before {
	background: var(--vvs-nhan);
	transform: scale(1.35);
}

@media (max-width: 639px) {
	.vvs .vvs-dai {
		aspect-ratio: var(--vvs-tile, 4 / 3);
	}

	.vvs .vvs-thu {
		display: none;
	}

	.vvs .vvs-cham {
		display: flex;
	}

	.vvs button.vvs-nut {
		width: 38px;
		height: 38px;
	}

	.vvs .vvs-truoc,
	.vvs .vvs-sau {
		margin-top: -19px !important;
	}

	.vvs .vvs-truoc {
		left: 8px;
	}

	.vvs .vvs-sau {
		right: 8px;
	}

	.vvs .vvs-hinh .vvs-chu {
		padding: 40px 14px 12px;
		font-size: 0.85rem;
	}
}

dialog.vvs-hop {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	color: #fff;
	background: rgba(8, 12, 10, 0.96);
}

dialog.vvs-hop:not([open]) {
	display: none;
}

dialog.vvs-hop::backdrop {
	background: rgba(8, 12, 10, 0.96);
}

.vvs-hop .vvs-hop-san {
	position: absolute;
	inset: 0;
	touch-action: pan-y;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 68px 76px 92px;
}

.vvs-hop .vvs-hop-anh {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	user-select: none;
	-webkit-user-drag: none;
	transition: opacity 0.2s ease;
}

.vvs-hop .vvs-hop-anh[data-dang-tai] {
	opacity: 0.35;
}

.vvs-hop .vvs-hop-chu {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 14px 24px 24px;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	text-wrap: balance;
}

.vvs-hop .vvs-hop-dem {
	position: absolute;
	top: 24px;
	left: 24px;
	color: rgba(255, 255, 255, 0.85);
}

.vvs-hop .vvs-hop-dong {
	position: absolute;
	top: 14px;
	right: 16px;
}

.vvs-hop .vvs-hop-truoc,
.vvs-hop .vvs-hop-sau {
	position: absolute;
	top: 50%;
	margin-top: -22px !important;
}

.vvs-hop .vvs-hop-truoc {
	left: 16px;
}

.vvs-hop .vvs-hop-sau {
	right: 16px;
}

@media (max-width: 639px) {
	.vvs-hop .vvs-hop-san {
		padding: 60px 8px 84px;
	}

	.vvs-hop .vvs-hop-truoc {
		left: 8px;
	}

	.vvs-hop .vvs-hop-sau {
		right: 8px;
	}
}

html.vvs-khoa {
	overflow: hidden;
}

.vvs .vvs-trang[hidden] {
	display: none !important;
}

.vvs--thumb-doc[data-thumb="1"]:not(.vvs-don) {
	padding-right: 140px;
}

.vvs--thumb-doc .vvs-dai {
	aspect-ratio: var(--vvs-tile, 16 / 10);
}

.vvs--thumb-doc .vvs-thu {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 132px;
	margin: 0;
	padding: 0 2px 0 0;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
}

.vvs--thumb-doc button.vvs-mini {
	width: 100%;
}

.vvs--thumb-doc .vvs-cham {
	display: none;
}

@media (max-width: 639px) {
	.vvs--thumb-doc[data-thumb="1"]:not(.vvs-don) {
		padding-right: 0;
	}

	.vvs--thumb-doc .vvs-dai {
		aspect-ratio: var(--vvs-tile, 4 / 3);
	}

	.vvs--thumb-doc .vvs-thu {
		display: flex;
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: auto;
		margin-top: 8px;
		padding: 4px 3px 6px;
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.vvs--thumb-doc button.vvs-mini {
		width: 72px;
	}
}

.vvs--toan-canh .vvs-dai {
	aspect-ratio: var(--vvs-tile, 21 / 9);
}

.vvs--toan-canh .vvs-thu {
	display: none;
}

.vvs--toan-canh .vvs-hinh .vvs-chu {
	padding: 96px 28% 42px clamp(20px, 4vw, 44px);
	font-size: clamp(1.15rem, 2.4vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
}

.vvs--toan-canh .vvs-dem {
	top: auto;
	left: auto;
	right: clamp(20px, 4vw, 44px);
	bottom: 34px;
	padding: 0;
	font-size: 1rem;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.vvs--toan-canh .vvs-cham {
	display: flex;
	position: absolute;
	left: clamp(20px, 4vw, 44px);
	right: clamp(20px, 4vw, 44px);
	bottom: 10px;
	z-index: 2;
	gap: 4px;
	margin: 0;
}

.vvs--toan-canh button.vvs-cham-nut {
	flex: 1 1 0;
	width: auto;
	height: 16px;
	border-radius: 0;
}

.vvs--toan-canh button.vvs-cham-nut::before {
	left: 0;
	right: 0;
	top: auto;
	bottom: 6px;
	width: auto;
	height: 3px;
	margin: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
}

.vvs--toan-canh button.vvs-cham-nut[aria-current="true"]::before {
	background: #e6cf9f;
	transform: none;
}

@media (max-width: 639px) {
	.vvs--toan-canh .vvs-dai {
		aspect-ratio: var(--vvs-tile, 4 / 5);
	}

	.vvs--toan-canh .vvs-hinh .vvs-chu {
		padding: 72px 20px 40px;
		font-size: 1.1rem;
	}

	.vvs--toan-canh .vvs-truoc,
	.vvs--toan-canh .vvs-sau {
		display: none;
	}

	.vvs--toan-canh .vvs-dem {
		bottom: 30px;
		right: 20px;
	}

	.vvs--toan-canh .vvs-cham {
		left: 20px;
		right: 20px;
	}
}

.vvs--bang .vvs-khung {
	overflow: hidden;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.vvs--bang .vvs-dai {
	gap: 14px;
	padding-left: 16%;
	padding-right: 16%;
	scroll-padding-left: 16%;
	scroll-padding-right: 16%;
	padding-top: 6px;
	padding-bottom: 6px;
	aspect-ratio: var(--vvs-tile, 2.35 / 1);
}

.vvs--bang .vvs-trang {
	flex: 0 0 68%;
	overflow: hidden;
	border-radius: 12px;
	background: #e9e6df;
}

.vvs--bang.vvs-js .vvs-trang {
	opacity: 0.5;
	transform: scale(0.9);
	transition: transform 0.45s ease, opacity 0.45s ease;
}

.vvs--bang.vvs-js .vvs-trang.vvs-on {
	opacity: 1;
	transform: none;
	box-shadow: 0 14px 30px -16px rgba(20, 36, 29, 0.55);
}

.vvs--bang.vvs-js .vvs-trang:not(.vvs-on) .vvs-chu {
	opacity: 0;
}

.vvs--bang .vvs-thu,
.vvs--bang .vvs-dem {
	display: none;
}

.vvs--bang .vvs-cham {
	display: flex;
}

@media (max-width: 639px) {
	.vvs--bang .vvs-dai {
		padding-left: 9%;
		padding-right: 9%;
		scroll-padding-left: 9%;
		scroll-padding-right: 9%;
		aspect-ratio: var(--vvs-tile, 1.6 / 1);
	}

	.vvs--bang .vvs-trang {
		flex-basis: 82%;
	}

	.vvs--bang .vvs-truoc,
	.vvs--bang .vvs-sau {
		display: none;
	}
}

.vvs--luoi .vvs-dai,
.vvs--luoi[data-so] .vvs-dai {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
	overflow: hidden;
	scroll-snap-type: none;
	aspect-ratio: var(--vvs-tile, 2 / 1);
}

.vvs--luoi .vvs-trang {
	flex: none;
	min-width: 0;
	min-height: 0;
	scroll-snap-align: none;
}

.vvs--luoi .vvs-trang:first-child {
	grid-row: span 2;
}

.vvs--luoi .vvs-trang:nth-child(n + 6) {
	display: none;
}

.vvs--luoi .vvs-trang:not(:first-child) .vvs-chu {
	display: none;
}

.vvs--luoi[data-so="1"] .vvs-dai {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.vvs--luoi[data-so="2"] .vvs-dai {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
}

.vvs--luoi[data-so="1"] .vvs-trang:first-child,
.vvs--luoi[data-so="2"] .vvs-trang:first-child {
	grid-row: auto;
}

.vvs--luoi[data-so="4"] .vvs-dai {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
}

.vvs--luoi[data-so="4"] .vvs-trang:first-child {
	grid-row: span 3;
}

.vvs--luoi .vvs-hinh {
	overflow: hidden;
}

.vvs--luoi .vvs-hinh .vvs-anh {
	transition: transform 0.5s ease;
}

.vvs--luoi .vvs-trang:hover .vvs-anh {
	transform: scale(1.04);
}

.vvs .vvs-khung button.vvs-tatca {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: auto;
	height: auto;
	padding: 8px 14px !important;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2 !important;
}

@media (max-width: 639px) {
	.vvs--luoi .vvs-dai,
	.vvs--luoi[data-so] .vvs-dai {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		aspect-ratio: var(--vvs-tile, 4 / 3);
	}

	.vvs--luoi .vvs-trang:nth-child(n + 2) {
		display: none;
	}

	.vvs--luoi .vvs-trang:first-child,
	.vvs--luoi[data-so] .vvs-trang:first-child {
		grid-row: auto;
	}

	.vvs--luoi .vvs-trang:first-child .vvs-chu {
		display: block;
	}
}

.vvs .vvs-the-loc {
	display: flex;
	gap: 6px;
	padding: 2px 2px 12px;
	overflow-x: auto;
	scrollbar-width: none;
}

.vvs .vvs-the-loc::-webkit-scrollbar {
	display: none;
}

.vvs:not(.vvs-js) .vvs-the-loc {
	display: none;
}

.vvs button.vvs-the {
	appearance: none;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0;
	padding: 7px 15px !important;
	border: 1px solid rgba(20, 36, 29, 0.22) !important;
	border-radius: 999px;
	background: transparent;
	color: var(--vvs-muc);
	font: inherit;
	font-size: 0.86rem;
	line-height: 1.2 !important;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.vvs button.vvs-the:hover {
	background: rgba(20, 36, 29, 0.06);
	color: var(--vvs-muc);
}

.vvs button.vvs-the:focus-visible {
	outline: 2px solid var(--vvs-nhan);
	outline-offset: 2px;
}

.vvs button.vvs-the em {
	font-style: normal;
	font-size: 0.75rem;
	opacity: 0.65;
	font-variant-numeric: tabular-nums;
}

.vvs button.vvs-the[aria-pressed="true"] {
	background: var(--vvs-muc);
	border-color: var(--vvs-muc) !important;
	color: #fff;
}

.vvs button.vvs-the[aria-pressed="true"] em {
	color: #e6cf9f;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.vvs .vvs-dai {
		scroll-behavior: auto;
	}

	.vvs button.vvs-nut,
	.vvs-hop button.vvs-nut,
	.vvs button.vvs-mini,
	.vvs button.vvs-cham-nut::before,
	.vvs button.vvs-the,
	.vvs--bang.vvs-js .vvs-trang,
	.vvs--luoi .vvs-hinh .vvs-anh,
	.vvs-hop .vvs-hop-anh {
		transition: none;
	}
}

@media print {
	.vvs .vvs-nut,
	.vvs .vvs-dem,
	.vvs .vvs-goc,
	.vvs .vvs-thu,
	.vvs .vvs-cham,
	.vvs .vvs-the-loc,
	.vvs .vvs-tatca {
		display: none !important;
	}
}

.vvs button.vvs-nut,
.vvs button.vvs-nut:hover,
.vvs button.vvs-nut:focus,
.vvs button.vvs-nut:active,
.vvs-hop button.vvs-nut,
.vvs-hop button.vvs-nut:hover,
.vvs-hop button.vvs-nut:focus,
.vvs-hop button.vvs-nut:active {
	background: rgba(255, 253, 249, 0.94) !important;
	color: var(--vvs-muc) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
	outline-color: var(--vvs-nhan);
}
.vvs button.vvs-nut svg,
.vvs-hop button.vvs-nut svg { stroke: currentColor !important; }
