/**
 * Section Mặt bằng & Bộ sưu tập căn hộ — The Aristo
 * Version: 2.21.0
 * Layout chuẩn theo hình mẫu duyệt:
 * - Khung Fullwidth Split 2 Cột:
 *   + Cột trái (54%): Nền Dark Bronze hoàng gia, Headline "CHỌN KHÔNG GIAN CHO NHỊP SỐNG CỦA BẠN",
 *     Subheadline, Đoạn văn mô tả, Nút oval "KHÁM PHÁ MẶT BẰNG >" và Lưới 4 ảnh phụ
 *   + Dải phân cách viền ánh sáng vàng neon cao cấp (Vertical Golden Glow Line)
 *   + Cột phải (46%): Hình nền chính nhamau-matbang.webp (Phòng khách gia đình sum vầy)
 * - Tích hợp mở Modal Mặt bằng 2D tương tác (#tc-floorplan-modal) khi click nút hoặc ảnh
 */

/* ==========================================================================
   1. KHUNG CONTAINER SECTION FULLWIDTH
   - Phủ kín 100% mép trên và mép dưới không có khoảng hở (padding: 0 !important)
   ========================================================================== */
#mat-bang,
#mat-bang.aristo-section,
.aristo-fp-showcase-section {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	background-color: #261108;
	background-image: url('../img/nhamau-matbang.webp');
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: none !important;
	border-top: none !important;
	border-bottom: none !important;
	box-sizing: border-box;
}

.aristo-fp-showcase-container {
	display: flex;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	align-items: stretch;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   2. CỘT TRÁI: NỘI DUNG & LƯỚI 4 ẢNH PHỤ
   - Phủ kín 100% mép trên dưới từ đỉnh đến đáy
   - Giảm độ trong suốt phía trái (đậm đà, đầm chắc, nâu đồng sâu)
   - Chuyển sắc nhạt dần và tăng độ trong suốt mượt mà về bên phải
   ========================================================================== */
.aristo-fp-showcase__content {
	width: 58%;
	flex: 0 0 58%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3.2vw, 48px) clamp(28px, 3.8vw, 60px) clamp(28px, 3.2vw, 48px) clamp(32px, 5.2vw, 85px);
	background: linear-gradient(
		90deg,
		rgba(58, 18, 2, 0.94) 0%,
		rgba(78, 28, 3, 0.88) 25%,
		rgba(105, 42, 5, 0.74) 50%,
		rgba(135, 62, 10, 0.48) 75%,
		rgba(158, 80, 18, 0.22) 90%,
		rgba(168, 90, 22, 0) 100%
	);
	z-index: 2;
	box-sizing: border-box;
}

/* Nhãn thương hiệu THE ARISTO */
.aristo-fp-showcase__brand {
	font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #D6A872;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
	display: inline-block;
	margin-bottom: 0.85rem;
}

/* Tiêu đề chính */
.aristo-fp-showcase__headline {
	font-family: var(--font-display, 'Beautique Display', serif);
	font-size: clamp(32px, 3.1vw, 52px);
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: #F8E6D3;
	margin: 0 0 1.2rem;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
	text-wrap: balance;
}

/* Tiêu đề phụ (Subheadline) — Kế thừa đồng bộ 100% với .aristo-amenity-kicker */
.aristo-fp-showcase__sub,
#mat-bang .aristo-amenity-kicker {
	display: block !important;
	font-family: var(--font-heading, 'Beautique Display', serif) !important;
	font-size: clamp(24px, 2.2vw, 36px) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	line-height: 1.28 !important;
	color: #E4BC92 !important;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8) !important;
	margin: 0 0 clamp(0.85rem, 1.4vh, 1.3rem) !important;
}

/* Đoạn văn mô tả — Kế thừa đồng bộ 100% với .aristo-amenity-editorial-desc */
.aristo-fp-showcase__desc,
#mat-bang .aristo-amenity-editorial-desc {
	display: block !important;
	font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
	font-size: clamp(15.5px, 1.0vw, 17.5px) !important;
	line-height: 1.75 !important;
	color: rgba(245, 230, 215, 0.95) !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8) !important;
	text-align: justify !important;
	margin: 0 0 clamp(1.2rem, 1.8vh, 1.65rem) !important;
	max-width: 640px !important;
}

/* Hỗ trợ màn hình 2K (min-width: 1921px) đồng bộ chuẩn amenities.css */
@media (min-width: 1921px) {
	.aristo-fp-showcase__sub,
	#mat-bang .aristo-amenity-kicker {
		font-size: clamp(30px, 1.6vw, 40px) !important;
	}
	.aristo-fp-showcase__desc,
	#mat-bang .aristo-amenity-editorial-desc {
		font-size: clamp(18px, 0.95vw, 22px) !important;
		line-height: 1.75 !important;
		max-width: 760px !important;
	}
}

/* Nút Oval KHÁM PHÁ MẶT BẰNG > */
.aristo-fp-showcase__cta {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

/* Nút CTA: Đồng bộ 100% với .aristo-overview__cta-btn (Motion Pill Signature)
   Đã kế thừa toàn bộ styles & hiệu ứng nở vòng tròn trắng từ base.css */
.aristo-fp-showcase__cta .aristo-overview__cta-btn {
	margin-top: 0.25rem;
}

/* ==========================================================================
   3. LƯỚI 4 ẢNH PHỤ (GALLERY BENTO GRID)
   ========================================================================== */
.aristo-fp-showcase__gallery {
	display: grid;
	grid-template-columns: 31% 1fr;
	gap: clamp(10px, 1.1vw, 14px);
	margin-top: clamp(1.3rem, 1.8vw, 2.2rem);
	width: 100%;
	max-width: 830px;
}

/* Ảnh dọc bên trái: 6-master-bedroom-v1.webp */
.aristo-fp-gallery__item--portrait {
	display: flex;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	border: 1.5px solid rgba(240, 205, 145, 0.75);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(220, 170, 100, 0.2);
	background: #1A0B04;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.aristo-fp-gallery__item--portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
	filter: contrast(1.06) brightness(1.05);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

/* Cụm 3 ảnh bên phải */
.aristo-fp-gallery__subgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(8px, 0.9vw, 12px);
	height: 100%;
}

/* 2 ảnh ngang hàng trên: 13-kid-room-v3.webp & 3-living-3.webp */
.aristo-fp-gallery__item--kid,
.aristo-fp-gallery__item--living {
	border-radius: 6px;
	overflow: hidden;
	border: 1.5px solid rgba(240, 205, 145, 0.75);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(220, 170, 100, 0.2);
	aspect-ratio: 16 / 10;
	background: #1A0B04;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.aristo-fp-gallery__item--kid img,
.aristo-fp-gallery__item--living img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
	filter: contrast(1.06) brightness(1.05);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

/* 1 ảnh ngang hàng dưới: 8-master-bedroom-v3.webp */
.aristo-fp-gallery__item--master {
	grid-column: 1 / -1;
	border-radius: 6px;
	overflow: hidden;
	border: 1.5px solid rgba(240, 205, 145, 0.75);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(220, 170, 100, 0.2);
	aspect-ratio: 21 / 10;
	background: #1A0B04;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.aristo-fp-gallery__item--master img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
	filter: contrast(1.06) brightness(1.05);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

/* Hiệu ứng Hover trên cả 4 ảnh */
.aristo-fp-gallery__item--portrait:hover,
.aristo-fp-gallery__item--kid:hover,
.aristo-fp-gallery__item--living:hover,
.aristo-fp-gallery__item--master:hover {
	border-color: #FFE090;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 215, 140, 0.5);
	transform: translateY(-2px);
}

.aristo-fp-gallery__item--portrait:hover img,
.aristo-fp-gallery__item--kid:hover img,
.aristo-fp-gallery__item--living:hover img,
.aristo-fp-gallery__item--master:hover img {
	transform: scale(1.04);
	filter: contrast(1.1) brightness(1.08);
}

/* ==========================================================================
   4. CỘT PHẢI: HÌNH NỀN CHÍNH (nhamau-matbang.webp)
   ========================================================================== */
.aristo-fp-showcase__visual {
	width: 42%;
	flex: 1;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	background: transparent;
	cursor: pointer;
}

.aristo-fp-showcase__visual-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center !important;
	display: block;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.aristo-fp-showcase__visual:hover .aristo-fp-showcase__visual-img {
	transform: scale(1.03);
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
	.aristo-fp-showcase__content {
		width: 58%;
		flex: 0 0 58%;
		padding: clamp(36px, 3.5vw, 54px) clamp(24px, 3vw, 44px);
	}
	.aristo-fp-showcase__visual {
		width: 42%;
	}
}

@media (max-width: 1024px) {
	#mat-bang,
	.aristo-fp-showcase-section {
		height: auto;
		min-height: 100vh;
	}
	.aristo-fp-showcase-container {
		flex-direction: column;
		height: auto;
		min-height: auto;
	}
	.aristo-fp-showcase__content {
		width: 100%;
		flex: none;
		padding: clamp(36px, 6vw, 56px) clamp(20px, 4.5vw, 36px);
		background: linear-gradient(
			180deg,
			rgba(58, 18, 2, 0.92) 0%,
			rgba(82, 30, 4, 0.85) 45%,
			rgba(120, 52, 8, 0.72) 80%,
			rgba(155, 78, 18, 0.45) 100%
		);
	}
	.aristo-fp-showcase__sub,
	#mat-bang .aristo-amenity-kicker {
		font-size: clamp(20px, 4.5vw, 26px) !important;
		line-height: 1.3 !important;
		background: transparent !important;
	}
	.aristo-fp-showcase__desc,
	#mat-bang .aristo-amenity-editorial-desc {
		font-size: 14px !important;
		line-height: 1.7 !important;
		background: transparent !important;
	}
	.aristo-fp-showcase__visual {
		width: 100%;
		flex: none;
		height: clamp(360px, 52vh, 520px);
	}
	.aristo-fp-showcase__visual-img {
		opacity: 1 !important;
	}
	.aristo-fp-showcase__gallery {
		max-width: 100%;
	}
}

@media (max-width: 576px) {
	.aristo-fp-showcase__headline {
		font-size: clamp(26px, 7.5vw, 34px);
	}
	.aristo-fp-showcase__gallery {
		grid-template-columns: 32% 1fr;
		gap: 6px;
	}
	.aristo-fp-gallery__subgrid {
		gap: 6px;
	}
	.aristo-fp-showcase__visual {
		height: 320px;
	}
}



/* ==========================================================================
   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: #2b191b;
	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: #2b191b;
	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: #2b191b;
	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: #2b191b;
	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: #2b191b;
	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;
	}
}


