/* ==========================================================================
   05 — MẶT BẰNG & HỆ SẢN PHẨM (Từ 59 đến 386 m²)
   Phong cách Architectural Drawing cao cấp với Tòa nhà tương tác SVG
   ========================================================================== */

.tc-floorplan {
	background-color: var(--tc-bg-secondary, #F3ECE1);
	position: relative;
	padding: clamp(4.5rem, 6.5vw, 7.5rem) 0 clamp(4rem, 6vw, 7rem);
	border-top: 1px solid var(--tc-border-hairline);
	border-bottom: 1px solid var(--tc-border-hairline);
	overflow: hidden;
}

/* ==========================================================================
   HEADER CỤM NỘI DUNG (Màu sắc & Typography đồng bộ 100% với Tiện Ích)
   ========================================================================== */
.tc-floorplan__header {
	text-align: center;
	max-width: min(960px, 94vw);
	margin: 0 auto clamp(2rem, 3.5vw, 3.8rem);
	position: relative;
	z-index: 8;
}

/* Mask wrapper cho cụm text nội dung — đệm không gian phía trên để không bị cắt dấu mũ 2 tầng tiếng Việt (Ỗ, Ố, Ế...) */
.tc-fp-mask {
	overflow: hidden;
	display: block;
	padding: 0.45em 0 0.15em;
	margin: -0.45em 0 -0.15em;
}

[data-fp-elem] {
	display: inline-block;
	will-change: transform, opacity;
}

/* Đường chỉ vàng tinh tế thả từ đỉnh section */
.tc-floorplan__line {
	width: 1px;
	height: 38px;
	background: linear-gradient(to bottom, transparent, var(--tc-primary, #C59B27));
	margin: 0 auto 1.1rem;
	will-change: transform, opacity;
}

/* Eyebrow vàng kim — font Questrial, letter-spacing 0.22em đồng bộ Tiện Ích */
.tc-floorplan__eyebrow {
	display: inline-block;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: clamp(0.75rem, 0.72rem + 0.18vw, 0.88rem);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tc-primary, #C59B27);
	margin-bottom: 0.65rem;
}

.tc-floorplan__eyebrow::before {
	display: none !important;
}

/* Tiêu đề chính H2 — font Trajan Pro 3, size clamp(1.35rem, 2.15rem), line-height 1.3 */
.tc-floorplan__title {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: clamp(1.35rem, 1.15rem + 0.75vw, 2.15rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 1rem;
	text-align: center;
}

.tc-floorplan__title-line {
	display: inline-block;
	white-space: nowrap;
	padding-top: 0.1em;
	margin-top: -0.1em;
}

/* Đoạn mô tả */
.tc-floorplan__lead {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.08rem);
	line-height: 1.65;
	color: var(--tc-body, #4A5568);
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

/* ==========================================================================
   Khung hiển thị Tòa nhà tương tác (Interactive Building Stage)
   Đã thu nhỏ kích thước lại 20% theo yêu cầu
   ========================================================================== */

.tc-floorplan__building-wrap {
	max-width: 976px; /* Giảm 20% từ 1220px */
	margin: 0 auto;
	position: relative;
}

.tc-floorplan__building-stage {
	width: 100%;
	position: relative;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
	filter: drop-shadow(0 15px 35px rgba(11, 30, 54, 0.05));
	will-change: clip-path;
	touch-action: pan-y;
}

.tc-floorplan__svg {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

/* Các tầng tương tác SVG */
.tc-fp-floor {
	cursor: pointer;
	outline: none;
}

.tc-fp-floor-path {
	fill: transparent;
	stroke: transparent;
	stroke-width: 1.5;
	transition: fill 0.32s cubic-bezier(0.2, 0.8, 0.4, 1),
	            stroke 0.32s cubic-bezier(0.2, 0.8, 0.4, 1),
	            filter 0.32s cubic-bezier(0.2, 0.8, 0.4, 1);
	pointer-events: all;
}

.tc-fp-floor:hover .tc-fp-floor-path,
.tc-fp-floor.is-active .tc-fp-floor-path,
.tc-fp-floor.is-highlighted .tc-fp-floor-path {
	fill: rgba(197, 155, 39, 0.28);
	stroke: #C59B27;
	stroke-width: 2px;
	filter: drop-shadow(0 0 12px rgba(197, 155, 39, 0.6));
}

/* Block B: Tạm thời vô hiệu hóa mở modal, chỉ xem tooltip khi rê chuột khi khóa Block B */
[data-enable-block-b="0"] #tower-b-group .tc-fp-floor,
[data-enable-block-b="0"] #tower-b-group .tc-fp-floor-path,
[data-enable-block-b="0"] #tower-b-group-en .tc-fp-floor,
[data-enable-block-b="0"] #tower-b-group-en .tc-fp-floor-path,
[data-enable-block-b="0"] [data-tower="B"] .tc-fp-floor,
[data-enable-block-b="0"] [data-tower="B"] .tc-fp-floor-path,
[data-enable-block-b="0"] .tc-fp-floor[data-tower="B"],
[data-enable-block-b="0"] .tc-fp-floor[data-tower="B"] .tc-fp-floor-path,
#tower-b-group[data-clickable="0"] .tc-fp-floor,
#tower-b-group[data-clickable="0"] .tc-fp-floor-path,
#tower-b-group-en[data-clickable="0"] .tc-fp-floor,
#tower-b-group-en[data-clickable="0"] .tc-fp-floor-path {
	cursor: default !important;
}

/* Dòng ghi chú tương tác dưới chân tòa nhà */
.tc-floorplan__hint {
	margin-top: clamp(0.8rem, 0.2vw, 1.6rem);
	text-align: right;
	padding-right: clamp(1rem, 3.5vw, 4.5rem);
	will-change: transform, opacity;
}

.tc-floorplan__hint-text {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: clamp(0.85rem, 0.92vw, 1.0rem);
	color: #555555;
	letter-spacing: 0.02em;
	display: inline-block;
	font-weight: 500;
}

.tc-floorplan__hint-text--mobile {
	display: none;
}

/* ==========================================================================
   INTERACTIVE TOOLTIP (Tòa nhà tương tác)
   - Dòng 1: Tên tầng (Font-size lớn)
   - Dòng 2: Tên Block (Font-size = 60% dòng 1)
   ========================================================================== */

.tc-floorplan__tooltip {
	--tt-floor-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.15rem);
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, calc(-100% - 14px)) scale(0.92);
	transform-origin: center bottom;
	transition: opacity 0.22s ease-out,
	            visibility 0.22s ease-out,
	            transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.2);
	background: linear-gradient(135deg, #FDF1DF 0%, #F6DCBA 25%, #EAC491 60%, #D19642 100%);
	border: 1px solid rgba(197, 142, 60, 0.65);
	box-shadow: 0 14px 32px rgba(85, 55, 20, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	padding: 8px 18px;
	text-align: center;
	white-space: nowrap;
	will-change: transform, opacity, left, top;
}

/* Mũi tên chỉ hướng xuống khớp gradient */
.tc-floorplan__tooltip::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 10px;
	height: 10px;
	background: #D9A14E;
	border-right: 1px solid rgba(197, 142, 60, 0.65);
	border-bottom: 1px solid rgba(197, 142, 60, 0.65);
}

.tc-floorplan__tooltip.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, calc(-100% - 14px)) scale(1);
}

/* Dòng 1: Tên tầng — font-size lớn */
.tc-fp-tooltip__floor {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: var(--tt-floor-size);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #1A130B;
	text-transform: uppercase;
	line-height: 1.25;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Dòng 2: Tên Block — font-size nhỏ chính xác 60% dòng 1 */
.tc-fp-tooltip__block {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: calc(var(--tt-floor-size) * 0.6);
	font-weight: 600;
	letter-spacing: 0.18em;
	color: #614013;
	text-transform: uppercase;
	line-height: 1.2;
	margin-top: 2px;
	opacity: 0.95;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile, Tablet, 2K & 4K)
   ========================================================================== */

@media (max-width: 768px) {
	.tc-floorplan {
		padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(3rem, 7vw, 4.5rem);
	}

	.tc-floorplan__header {
		margin-bottom: 2rem;
	}

	.tc-floorplan__line {
		height: 32px;
		margin-bottom: 1.0rem;
	}

	.tc-floorplan__building-wrap {
		max-width: 84%;
	}

	.tc-floorplan__hint {
		text-align: center;
		padding-right: 0;
		margin-top: 1rem;
	}

	.tc-floorplan__hint-text--desktop {
		display: none;
	}

	.tc-floorplan__hint-text--mobile {
		display: inline-block;
	}
}

/* Mobile nhỏ (< 575px) — đồng bộ font-size Tiện Ích */
@media (max-width: 575px) {
	.tc-floorplan__title {
		font-size: 1.45rem;
	}

	.tc-floorplan__title-line {
		white-space: normal;
	}

	.tc-floorplan__lead {
		font-size: 1.1rem;
		line-height: 1.3;
		padding-inline: 0.75rem;
	}
}

/* 2K Screens (min-width: 2048px) — đồng bộ Tiện Ích */
@media (min-width: 2048px) {
	.tc-floorplan__header {
		max-width: min(1200px, 94vw);
		margin-bottom: 3.5rem;
	}

	.tc-floorplan__line {
		height: 55px;
		margin-bottom: 1.5rem;
	}

	.tc-floorplan__eyebrow {
		font-size: 1.1rem;
		letter-spacing: 0.24em;
	}

	.tc-floorplan__title {
		font-size: clamp(1.8rem, 1.5vw, 2.4rem);
		line-height: 1.3;
	}

	.tc-floorplan__lead {
		max-width: 880px;
		font-size: 1.3rem;
		line-height: 1.35;
	}

	.tc-floorplan__building-wrap {
		max-width: 1240px; /* Giảm 20% từ 1550px */
	}

	.tc-floorplan__hint {
		padding-right: 6rem;
		margin-top: 2rem;
	}

	.tc-floorplan__hint-text {
		font-size: 1.2rem;
	}

	.tc-floorplan__tooltip {
		--tt-floor-size: 1.45rem;
		padding: 12px 24px;
	}
}

/* 4K Screens (min-width: 3200px) — đồng bộ Tiện Ích */
@media (min-width: 3200px) {
	.tc-floorplan__header {
		max-width: min(1600px, 94vw);
		margin-bottom: 5rem;
	}

	.tc-floorplan__line {
		height: 75px;
		margin-bottom: 2rem;
	}

	.tc-floorplan__eyebrow {
		font-size: 1.45rem;
		letter-spacing: 0.26em;
	}

	.tc-floorplan__title {
		font-size: clamp(2.4rem, 2.0vw, 3.2rem);
		line-height: 1.3;
	}

	.tc-floorplan__lead {
		max-width: 1250px;
		font-size: 1.7rem;
		line-height: 1.4;
	}

	.tc-floorplan__building-wrap {
		max-width: 1720px; /* Giảm 20% từ 2150px */
	}

	.tc-floorplan__hint {
		padding-right: 8rem;
		margin-top: 2.8rem;
	}

	.tc-floorplan__hint-text {
		font-size: 1.6rem;
	}

	.tc-floorplan__tooltip {
		--tt-floor-size: 2.1rem;
		padding: 16px 32px;
	}
}

/* ==========================================================================
   06 — MODAL MẶT BẰNG TẦNG (INTERACTIVE FLOORPLAN MODAL - FULLSCREEN)
   Tông màu hoàng gia đồng bộ với Modal Slider Tiện Ích (#a0784e gradient)
   Tuyệt đối không dùng màu xanh — 100% gradient vàng đồng hoàng gia
   ========================================================================== */

.tc-fp-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	touch-action: manipulation;
	overscroll-behavior: contain !important;
	-webkit-tap-highlight-color: transparent;
}

.tc-fp-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Nền popup sang trọng: ánh kim ngọc trai sáng sủa, TUYỆT ĐỐI KHÔNG DÙNG NỀN TỐI/ĐEN */
.tc-fp-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(30, 20, 10, 0.48);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	cursor: pointer;
}

/* Khung cửa sổ Full Toàn Màn Hình 100vw x 100vh nền ánh kim sáng sủa */
.tc-fp-modal__window {
	position: fixed;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	height: 100dvh;
	max-width: 100%;
	max-height: 100dvh;
	background: #FAF8F5;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	touch-action: manipulation;
	overscroll-behavior: contain !important;
}

/* Top Bar Header (Đã thu nhỏ 30% để dành tối đa diện tích cho bản vẽ) */
.tc-fp-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 1.6rem;
	min-height: 48px;
	border-bottom: 1px solid rgba(197, 155, 39, 0.25);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 2px 14px rgba(110, 85, 50, 0.05);
	position: relative;
	z-index: 10;
}

.tc-fp-modal__header-left {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 200px;
}

.tc-fp-modal__eyebrow {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: #A67E14;
	text-transform: uppercase;
}

.tc-fp-modal__title {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: clamp(1.05rem, 1.25vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #1A130B;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.tc-fp-modal__title-tower {
	color: #C59B27;
}

.tc-fp-modal__title-sep {
	opacity: 0.45;
	color: #C59B27;
}

.tc-fp-modal__subtitle {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.78rem;
	color: #666666;
	margin: 0;
}

/* Quick Floor Selector Dropdown */
.tc-fp-floor-select-wrap {
	position: relative;
}

.tc-fp-floor-select {
	background: #FFFFFF;
	color: #8C6810;
	border: 1px solid rgba(197, 155, 39, 0.45);
	border-radius: 6px;
	padding: 0.38rem 1.9rem 0.38rem 0.85rem;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	outline: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C59B27' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(110, 85, 50, 0.08);
}

.tc-fp-floor-select:hover,
.tc-fp-floor-select:focus {
	border-color: #C59B27;
	background-color: #FAF6EE;
	box-shadow: 0 0 12px rgba(197, 155, 39, 0.25);
}

/* Action Controls (Zoom & Close) */
.tc-fp-modal__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.tc-fp-zoom-controls {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.35);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(110, 85, 50, 0.08);
}

.tc-fp-btn {
	background: transparent;
	border: none;
	color: #8C6810;
	padding: 0.42rem 0.7rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.22s ease;
}

.tc-fp-btn:hover {
	background: rgba(197, 155, 39, 0.12);
	color: #C59B27;
}

.tc-fp-btn--reset {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.42rem 0.65rem;
	border-left: 1px solid rgba(197, 155, 39, 0.25);
	border-right: 1px solid rgba(197, 155, 39, 0.25);
}

/* Nút đóng tròn vàng kim sang trọng (thu nhỏ 30% vừa vặn) */
.tc-fp-modal__close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.45);
	color: #8C6810;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	padding: 0;
	box-shadow: 0 2px 10px rgba(110, 85, 50, 0.1);
}

.tc-fp-modal__close:hover {
	background: var(--tc-primary, #C59B27);
	color: #FFFFFF;
	transform: scale(1.08) rotate(90deg);
	border-color: #C59B27;
	box-shadow: 0 0 16px rgba(197, 155, 39, 0.4);
}

/* Viewport Area (Interactive Stage) — Bàn vẽ kiến trúc nền trắng tinh khiết */
.tc-fp-viewport {
	position: relative;
	flex: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #FFFFFF;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	overscroll-behavior: contain !important;
}

.tc-fp-viewport.is-dragging {
	cursor: grabbing;
}

/* Loading Spinner */
.tc-fp-loader {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	background: rgba(251, 248, 243, 0.88);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tc-fp-loader.is-loading {
	opacity: 1;
	visibility: visible;
}

.tc-fp-spinner {
	width: 42px;
	height: 42px;
	border: 3px solid rgba(197, 155, 39, 0.2);
	border-top-color: #C59B27;
	border-radius: 50%;
	animation: tcFpSpin 0.8s linear infinite;
}

@keyframes tcFpSpin {
	to { transform: rotate(360deg); }
}

.tc-fp-loader__text {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.9rem;
	color: #8C6810;
	letter-spacing: 0.1em;
}

/* Pan-Zoom Container */
.tc-fp-zoom-container {
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: 0 0;
	will-change: transform;
	display: inline-block;
}

.tc-fp-stage {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.tc-fp-stage svg {
	display: block;
	max-width: none;
}

.tc-fp-stage svg image {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: high-quality;
}

.tc-fp-stage img {
	display: block;
	max-width: none;
	pointer-events: none;
}

/* Interactive Unit Path Styling: KHÔNG CẦN FILL BORDER KHI HOVER */
.tc-unit-path {
	fill: transparent;
	stroke: none !important;
	cursor: pointer;
	pointer-events: all;
	transition: fill 0.2s ease;
}

.tc-unit-path:hover,
.tc-unit-path.is-hovered,
.tc-unit-path.is-connected,
.tc-unit-path.is-active {
	fill: rgba(197, 155, 39, 0.38) !important;
	stroke: none !important;
	filter: none !important;
}

/* Floating Luxury Unit Tooltip: NỀN SÁNG SỦA VÀNG HOÀNG KIM, TUYỆT ĐỐI KHÔNG TỐI */
.tc-unit-tooltip {
	position: absolute;
	z-index: 50;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -100%) translateY(-14px) scale(0.95);
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1), visibility 0.2s ease;
	background: linear-gradient(135deg, #FFFFFF 0%, #FAF6EE 50%, #F4ECE1 100%);
	border: 1px solid rgba(197, 155, 39, 0.65);
	border-radius: 8px;
	box-shadow: 0 12px 35px rgba(110, 85, 50, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 0.95rem 1.25rem;
	min-width: 250px;
	max-width: 330px;
	color: #1A130B;
}

.tc-unit-tooltip.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -100%) translateY(-14px) scale(1);
}

.tc-unit-tooltip__arrow {
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 12px;
	height: 12px;
	background: #F4ECE1;
	border-right: 1px solid rgba(197, 155, 39, 0.65);
	border-bottom: 1px solid rgba(197, 155, 39, 0.65);
}

.tc-unit-tooltip__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(197, 155, 39, 0.25);
	margin-bottom: 0.55rem;
}

.tc-unit-tooltip__code {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: 1.22rem;
	font-weight: 700;
	color: #8C6810;
	letter-spacing: 0.05em;
}

.tc-unit-tooltip__badge {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.2rem 0.55rem;
	border-radius: 12px;
	background: rgba(197, 155, 39, 0.12);
	border: 1px solid rgba(197, 155, 39, 0.5);
	color: #8C6810;
	text-transform: uppercase;
}

.tc-unit-tooltip__details {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.88rem;
}

.tc-unit-tooltip__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.tc-unit-tooltip__label {
	color: #666666;
}

.tc-unit-tooltip__val {
	color: #1A130B;
	font-weight: 600;
}

.tc-unit-tooltip__layout {
	color: #8C6810;
	font-weight: 700;
}

.tc-unit-tooltip__action {
	margin-top: 0.65rem;
	padding-top: 0.5rem;
	border-top: 1px dashed rgba(197, 155, 39, 0.35);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.78rem;
	color: #A67E14;
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   Interactive Amenity Markers on Ground Floor SVG (Tầng 1 - 2 Block A)
   ========================================================================== */
.tc-fp-amenity-marker {
	cursor: default;
	pointer-events: all !important;
	fill: rgba(255, 224, 130, 0.001) !important;
	stroke: transparent !important;
	stroke-width: 2.2px !important;
	transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}

.tc-fp-amenity-marker.has-image {
	cursor: pointer !important;
}

/* Hiệu ứng Phát Sáng Vàng Kim Champagne #ffe082 khi Hover / Active */
.tc-fp-amenity-marker:hover,
.tc-fp-amenity-marker.is-active,
.tc-fp-amenity-marker.is-connected {
	fill: rgba(255, 224, 130, 0.7) !important;
	stroke: #ffe082 !important;
	stroke-width: 2.2px !important;
	filter: drop-shadow(0 0 3px #FFFFFF) drop-shadow(0 0 8px #ffe082) drop-shadow(0 0 14px rgba(255, 224, 130, 0.95)) !important;
}

/* Hiệu ứng Bo Khung Capsule #ffe082 cho Rect Note trong bảng chú thích (HOÀN TOÀN KHÔNG MÀU NỀN, chữ hiển thị sắc nét) */
.tc-fp-amenity-note {
	cursor: pointer !important;
	pointer-events: all !important;
	fill: transparent !important;
	stroke: transparent !important;
	stroke-width: 1.8px !important;
	transition: stroke 0.2s ease, filter 0.2s ease;
}

.tc-fp-amenity-note:hover,
.tc-fp-amenity-note.is-active,
.tc-fp-amenity-note.is-connected {
	fill: transparent !important;
	stroke: #ffe082 !important;
	stroke-width: 1.8px !important;
	filter: drop-shadow(0 0 3px rgba(255, 224, 130, 0.85)) !important;
}

/* ==========================================================================
   Hiệu ứng Radar Phát Sóng (Radar Ripple Waves & Beacon) cho 40% Điểm Tiện Ích
   ========================================================================== */
.tc-fp-radar-group {
	pointer-events: none !important;
}

.tc-fp-radar-beacon {
	fill: rgba(255, 69, 0, 0.16) !important;
	stroke: #FF3D00 !important;
	stroke-width: 1px !important;
	filter: drop-shadow(0 0 3px rgba(255, 61, 0, 0.85));
	pointer-events: none !important;
}

.tc-fp-radar-wave {
	fill: rgba(255, 69, 0, 0.1) !important;
	stroke: #FF3D00 !important;
	stroke-width: 1.4px !important;
	filter: drop-shadow(0 0 4px rgba(255, 61, 0, 0.9));
	pointer-events: none !important;
}

/* ==========================================================================
   Icon Map Pin Động Nhấp Nhô Khi Hover Điểm Tiện Ích Hoặc Chú Thích (v3.9.19)
   ========================================================================== */
.tc-fp-pin-container {
	pointer-events: none !important;
}

.tc-fp-map-pin {
	pointer-events: none !important;
	will-change: transform;
}

.tc-fp-map-pin__shadow {
	fill: #0B1E36;
	opacity: 0.38;
	transform-box: fill-box;
	transform-origin: center;
	animation: tcMapPinShadowPulse 1.35s ease-in-out infinite;
	pointer-events: none !important;
}

.tc-fp-map-pin__bob {
	animation: tcMapPinBobbing 1.35s ease-in-out infinite;
	pointer-events: none !important;
}

.tc-fp-map-pin__body {
	fill: #ffe082;
	stroke: #C59B27;
	stroke-width: 0.85px;
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
	pointer-events: none !important;
}

.tc-fp-map-pin__core {
	fill: #0B1E36;
	stroke: #ffe082;
	stroke-width: 0.5px;
	pointer-events: none !important;
}

.tc-fp-map-pin__text {
	fill: #ffe082;
	font-family: 'Cinzel', 'Questrial', sans-serif;
	font-weight: 700;
	font-size: 6.8px;
	text-anchor: middle;
	dominant-baseline: middle;
	pointer-events: none !important;
	user-select: none;
}

@keyframes tcMapPinBobbing {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6.5px);
	}
}

@keyframes tcMapPinShadowPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 0.38;
	}
	50% {
		transform: scale(0.6);
		opacity: 0.18;
	}
}

/* Tooltip Amenity Block */
.tc-amenity-tooltip {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.tc-amenity-tooltip__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}

.tc-amenity-tooltip__num {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: #B38615;
	letter-spacing: 0.05em;
}

.tc-amenity-tooltip__badge {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.18rem 0.5rem;
	border-radius: 12px;
	background: rgba(255, 224, 130, 0.35);
	border: 1px solid #ffe082;
	color: #8C6810;
	text-transform: uppercase;
}

.tc-amenity-tooltip__title {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: 0.95rem;
	font-weight: 700;
	color: #0B1E36;
	margin: 0;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.tc-amenity-tooltip__thumb {
	width: 100%;
	height: 120px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(197, 155, 39, 0.4);
	background: #0B1E36;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-top: 0.2rem;
}

.tc-amenity-tooltip__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.tc-unit-tooltip:hover .tc-amenity-tooltip__img {
	transform: scale(1.05);
}

.tc-amenity-tooltip__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.4rem;
	border-top: 1px dashed rgba(197, 155, 39, 0.35);
	font-size: 0.78rem;
	color: #A67E14;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.tc-unit-tooltip.has-action {
	pointer-events: auto !important;
	cursor: pointer;
}

.tc-unit-tooltip.has-action:hover {
	border-color: rgba(197, 155, 39, 0.9);
	box-shadow: 0 14px 40px rgba(110, 85, 50, 0.25), 0 0 15px rgba(197, 155, 39, 0.2);
}

/* Cầu đệm vô hình nối từ mép dưới tooltip xuống marker tránh chuột rời khỏi hover */
.tc-unit-tooltip.has-action::after {
	content: '';
	position: absolute;
	bottom: -22px;
	left: 0;
	right: 0;
	height: 22px;
	background: transparent;
	pointer-events: auto;
}

/* ==========================================================================
   Chế độ Popup Tiện Ích (tc-unit-modal--amenity): Hiển thị hình ảnh FULL tràn khung
   ========================================================================== */
.tc-unit-modal--amenity #tc-unit-disclaimer {
	display: none !important;
}

.tc-unit-modal--amenity .tc-unit-modal__hint {
	display: none !important;
}

.tc-unit-modal--amenity .tc-unit-modal__window {
	background: #0B1E36;
	border: 1px solid rgba(229, 193, 88, 0.45);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 30px rgba(197, 155, 39, 0.2);
}

.tc-unit-modal--amenity .tc-unit-modal__header {
	background: #805313;
	border-bottom: 1px solid rgba(197, 155, 39, 0.35);
}

.tc-unit-modal--amenity .tc-unit-modal__eyebrow {
	color: #ECC870;
}

.tc-unit-modal--amenity .tc-unit-modal__title {
	color: #FAF6EE;
}

.tc-unit-modal--amenity .tc-unit-modal__body {
	background: #050E1A;
}

.tc-unit-modal--amenity .tc-unit-modal__img {
	border-radius: 0;
	box-shadow: none;
}

/* Footer Bottom Bar (Thu nhỏ 30%) */
.tc-fp-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1.6rem;
	min-height: 40px;
	border-top: 1px solid rgba(197, 155, 39, 0.25);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	font-family: var(--font-body, 'Questrial', sans-serif);
	position: relative;
	z-index: 10;
}

.tc-fp-modal__nav {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.tc-fp-nav-btn {
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.35);
	color: #8C6810;
	padding: 0.32rem 0.85rem;
	border-radius: 4px;
	font-size: 0.8rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	white-space: nowrap !important;
	transition: all 0.22s ease;
	box-shadow: 0 2px 6px rgba(110, 85, 50, 0.05);
}

.tc-fp-nav-btn:hover:not(:disabled) {
	background: rgba(197, 155, 39, 0.12);
	border-color: #C59B27;
	color: #C59B27;
}

.tc-fp-nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.tc-fp-modal__hint {
	font-size: 0.82rem;
	color: #2A1D0D;
	font-weight: 500;
}

.tc-fp-modal__hint-desktop {
	display: inline;
}

.tc-fp-modal__hint-mobile {
	display: none;
}

/* ==========================================================================
   07 — MODAL CHI TIẾT MẪU NHÀ (FULL 80% MÀN HÌNH + THU PHÓNG ZOOM & PAN)
   - Tiêu chí: Không dùng màu tối, sáng sủa, vương giả
   ========================================================================== */

.tc-unit-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.32s cubic-bezier(0.2, 0.8, 0.3, 1), visibility 0.32s cubic-bezier(0.2, 0.8, 0.3, 1);
	overscroll-behavior: contain !important;
	padding: 12px;
	box-sizing: border-box;
}

.tc-unit-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.tc-unit-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(30, 20, 10, 0.5);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	cursor: pointer;
}

/* Khung popup full 80% màn hình */
.tc-unit-modal__window {
	position: relative;
	z-index: 2;
	width: 80vw;
	height: 85vh;
	height: 85dvh;
	max-width: 80vw;
	max-height: 85dvh;
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.45);
	border-radius: 12px;
	box-shadow: 0 25px 70px rgba(110, 85, 50, 0.22), 0 0 0 1px rgba(197, 155, 39, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: scale(0.96) translateY(12px);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.tc-unit-modal.is-open .tc-unit-modal__window {
	transform: scale(1) translateY(0);
}

/* Header Popup Nhà Mẫu */
.tc-unit-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 1.6rem;
	border-bottom: 1px solid rgba(197, 155, 39, 0.25);
	background: rgba(251, 248, 243, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 2px 10px rgba(110, 85, 50, 0.05);
	position: relative;
	z-index: 10;
}

.tc-unit-modal__header-left {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.tc-unit-modal__eyebrow {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: #A67E14;
	text-transform: uppercase;
}

.tc-unit-modal__title {
	font-family: var(--font-heading, 'Trajan Pro 3', serif);
	font-size: clamp(1.05rem, 1.25vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #1A130B;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tc-unit-modal__sep {
	opacity: 0.5;
	color: #C59B27;
}

.tc-unit-modal__title-code,
.tc-unit-modal__title-layout {
	white-space: nowrap !important;
}

/* Cụm nút điều khiển Zoom & Close của Popup Nhà Mẫu */
.tc-unit-modal__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.tc-unit-zoom-controls {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.35);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(110, 85, 50, 0.08);
}

.tc-unit-btn {
	background: transparent;
	border: none;
	color: #8C6810;
	padding: 0.42rem 0.7rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.22s ease;
}

.tc-unit-btn:hover {
	background: rgba(197, 155, 39, 0.12);
	color: #C59B27;
}

.tc-unit-btn--reset {
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.42rem 0.65rem;
	border-left: 1px solid rgba(197, 155, 39, 0.25);
	border-right: 1px solid rgba(197, 155, 39, 0.25);
}

.tc-unit-modal__close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid rgba(197, 155, 39, 0.45);
	color: #8C6810;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
	box-shadow: 0 2px 10px rgba(110, 85, 50, 0.1);
}

.tc-unit-modal__close:hover {
	background: var(--tc-primary, #C59B27);
	color: #FFFFFF;
	transform: scale(1.08) rotate(90deg);
	border-color: #C59B27;
	box-shadow: 0 0 16px rgba(197, 155, 39, 0.4);
}

/* Viewport Thu phóng & Di chuyển bản vẽ layout nhà mẫu */
.tc-unit-modal__body {
	position: relative;
	flex: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #FFFFFF;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	overscroll-behavior: contain !important;
}

.tc-unit-modal__body.is-dragging {
	cursor: grabbing;
}

.tc-unit-modal__zoom-container {
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: 0 0;
	will-change: transform;
	display: inline-block;
}

.tc-unit-modal__img {
	display: block;
	max-width: none;
	pointer-events: none;
	border-radius: 4px;
}

.tc-unit-modal__no-img {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	color: #888888;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.95rem;
}

/* Hint bar dưới chân popup nhà mẫu */
.tc-unit-modal__hint {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(197, 155, 39, 0.35);
	border-radius: 20px;
	padding: 4px 16px;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.76rem;
	color: #666666;
	box-shadow: 0 4px 15px rgba(110, 85, 50, 0.1);
	white-space: nowrap;
}

.tc-unit-modal__hint-desktop {
	display: inline;
}

.tc-unit-modal__hint-mobile {
	display: none;
}

/* ==========================================================================
   TOP-CENTER GUIDE BADGE (MẶT BẰNG)
   ========================================================================== */

.tc-fp-guide {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 15;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(197, 155, 39, 0.45);
	border-radius: 24px;
	padding: 7px 20px;
	box-shadow: 0 4px 16px rgba(110, 85, 50, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 1.02rem;
	font-weight: 500;
	color: #55380F;
	pointer-events: none;
	white-space: nowrap;
}

.tc-fp-guide__icon {
	color: #8C6810;
	flex-shrink: 0;
	display: inline-flex;
}

.tc-fp-guide__text--desktop {
	display: inline;
}

.tc-fp-guide__text--mobile {
	display: none;
}

/* ==========================================================================
   DISCLAIMER NOTES (VỊ TRÍ BOTTOM-RIGHT)
   ========================================================================== */

.tc-fp-disclaimer,
.tc-unit-disclaimer {
	position: absolute;
	bottom: 12px;
	right: 16px;
	z-index: 15;
	max-width: 540px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(197, 155, 39, 0.35);
	border-radius: 8px;
	padding: 8px 12px;
	box-shadow: 0 4px 16px rgba(110, 85, 50, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	user-select: text;
	-webkit-user-select: text;
	transition: all 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.tc-fp-disclaimer__header-row {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 4px;
}

.tc-fp-disclaimer__btn {
	background: rgba(197, 155, 39, 0.08);
	border: 1px solid rgba(197, 155, 39, 0.3);
	color: #8C6810;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.68rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tc-fp-disclaimer__btn:hover {
	background: rgba(197, 155, 39, 0.18);
	color: #C59B27;
	border-color: #C59B27;
}

.tc-fp-disclaimer__btn-icon {
	transition: transform 0.25s ease;
}

.tc-fp-disclaimer__text,
.tc-unit-disclaimer__text {
	margin: 0;
	font-family: var(--font-body, 'Questrial', sans-serif);
	font-size: 0.68rem;
	line-height: 1.45;
	color: #555555;
	text-align: right;
}

.tc-fp-disclaimer__vn,
.tc-unit-disclaimer__vn {
	color: #333333;
}

.tc-fp-disclaimer__en,
.tc-unit-disclaimer__en {
	font-style: italic;
	color: #666666;
}

/* Collapsed state: Nút thu nhỏ chuyển thành 'Hiện ghi chú' */
.tc-fp-disclaimer.is-collapsed,
.tc-unit-disclaimer.is-collapsed {
	padding: 4px 10px;
	max-width: fit-content;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 3px 12px rgba(110, 85, 50, 0.12);
}

.tc-fp-disclaimer.is-collapsed .tc-fp-disclaimer__header-row {
	margin-bottom: 0;
}

.tc-fp-disclaimer.is-collapsed .tc-fp-disclaimer__btn {
	background: transparent;
	border: none;
	padding: 2px 4px;
	font-size: 0.72rem;
}

.tc-fp-disclaimer.is-collapsed .tc-fp-disclaimer__btn-icon {
	transform: rotate(180deg);
}

.tc-fp-disclaimer.is-collapsed .tc-fp-disclaimer__content {
	display: none;
}

/* ==========================================================================
   RESPONSIVE MODAL STYLING
   ========================================================================== */

@media (max-width: 991px), (hover: none) and (pointer: coarse) {
	.tc-fp-modal__header {
		padding: 0.6rem 1rem;
		flex-wrap: wrap;
	}

	.tc-fp-modal__header-left {
		min-width: 100%;
	}

	/* Footer trên mobile: chia làm 2 tầng rõ ràng, nút bấm nằm ngang không bị bóp nghẹt, text đậm nét sắc nét */
	.tc-fp-modal__footer {
		padding: 0.5rem 0.85rem;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		min-height: auto;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 -2px 10px rgba(110, 85, 50, 0.08);
	}

	.tc-fp-modal__nav {
		width: 100%;
		display: flex;
		gap: 8px;
		justify-content: space-between;
	}

	.tc-fp-nav-btn {
		flex: 1;
		justify-content: center;
		white-space: nowrap !important;
		padding: 7px 10px;
		font-size: 0.82rem;
		font-weight: 700;
		color: #7A5708;
		background: #FFFFFF;
		border: 1px solid rgba(197, 155, 39, 0.5);
		border-radius: 6px;
		box-shadow: 0 2px 6px rgba(110, 85, 50, 0.08);
	}

	.tc-fp-modal__hint {
		width: 100%;
		text-align: center;
		font-size: 0.76rem;
		font-weight: 600;
		color: #1A130B !important; /* Đậm nét, tương phản cao, rõ ràng không mờ */
		line-height: 1.35;
	}

	.tc-fp-guide {
		top: 10px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		font-size: 0.88rem;
		padding: 5px 14px;
		white-space: normal;
		max-width: calc(100% - 24px);
		width: max-content;
		text-align: center;
		line-height: 1.35;
	}

	.tc-fp-guide__text--desktop {
		display: none !important;
	}

	.tc-fp-guide__text--mobile {
		display: inline !important;
	}

	.tc-fp-modal__hint-desktop,
	.tc-unit-modal__hint-desktop {
		display: none !important;
	}

	.tc-fp-modal__hint-mobile,
	.tc-unit-modal__hint-mobile {
		display: inline !important;
	}

	/* Unit Modal Window & Header trên Mobile */
	.tc-unit-modal {
		padding: 8px;
	}

	.tc-unit-modal__window {
		width: 100%;
		height: 94dvh;
		max-width: 100%;
		max-height: 94dvh;
		border-radius: 10px;
	}

	.tc-unit-modal__header {
		padding: 0.55rem 0.85rem;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.tc-unit-modal__header-left {
		width: 100%;
		min-width: 0;
	}

	.tc-unit-modal__title {
		font-size: 0.95rem;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 0.25rem 0.4rem;
		line-height: 1.3;
	}

	.tc-unit-modal__title-code,
	.tc-unit-modal__title-layout {
		white-space: nowrap !important;
	}

	.tc-unit-modal__actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding-top: 0.35rem;
		border-top: 1px solid rgba(197, 155, 39, 0.18);
	}

	.tc-fp-disclaimer,
	.tc-unit-disclaimer {
		bottom: 8px;
		right: 10px;
		max-width: calc(100% - 20px);
		padding: 5px 9px;
	}

	.tc-fp-disclaimer__text,
	.tc-unit-disclaimer__text {
		font-size: 0.58rem;
		line-height: 1.35;
		text-align: left;
	}

	.tc-unit-modal__hint {
		bottom: 12px;
		left: 12px;
		transform: none;
		font-size: 0.72rem;
		padding: 3px 10px;
		color: #1A130B;
		font-weight: 600;
	}
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
	.tc-fp-guide__text--desktop {
		display: inline !important;
	}

	.tc-fp-guide__text--mobile {
		display: none !important;
	}

	.tc-fp-modal__hint-desktop,
	.tc-unit-modal__hint-desktop {
		display: inline !important;
	}

	.tc-fp-modal__hint-mobile,
	.tc-unit-modal__hint-mobile {
		display: none !important;
	}

	.tc-unit-modal__hint {
		left: 16px;
		transform: none;
	}
}

@media (max-width: 576px) {
	.tc-fp-modal__title {
		font-size: 1.05rem;
	}

	.tc-fp-modal__actions {
		gap: 0.4rem;
	}

	.tc-unit-tooltip {
		min-width: 220px;
		padding: 0.85rem 1rem;
	}
}


