/*
Theme Name: Galaxy Realty
Theme URI: https://galaxyrealtyindia.com
Author: Galaxy Realty
Author URI: https://galaxyrealtyindia.com
Description: Custom theme for Galaxy Realty real estate platform. Renders project detail pages with WordPress PHP templates.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: tenprojects
*/

/* ─── CSS Custom Properties ──────────────────────────────── */

:root {
	/* Brand Colors — Navy + Gold (Galaxy Realty logo) */
	--brand-primary: #1B2D50;
	--brand-primary-dark: #0F1E38;
	--brand-primary-light: #2C5282;
	--brand-primary-pale: #E2E8F0;
	--brand-primary-bg: #F0F4F8;

	/* Accent — Rich Gold */
	--accent: #C5A03D;
	--accent-dark: #A68932;
	--accent-light: #E5CF8B;
	--accent-pale: #F5EDD5;

	/* Semantic */
	--success: #10B981;
	--success-light: #D1FAE5;
	--success-bg: #F0FDF4;
	--warning: #D97706;
	--warning-bg: #FEF3C7;
	--danger: #EF4444;
	--danger-light: #FEE2E2;

	/* Grays */
	--gray-50: #F9FAFB;
	--gray-100: #F3F4F6;
	--gray-200: #E5E7EB;
	--gray-300: #D1D5DB;
	--gray-400: #9CA3AF;
	--gray-500: #6B7280;
	--gray-600: #4B5563;
	--gray-700: #374151;
	--gray-800: #1F2937;
	--gray-900: #111827;

	/* WhatsApp */
	--whatsapp: #25D366;

	/* Spacing */
	--xs: 4px;
	--sm: 8px;
	--md: 12px;
	--lg: 16px;
	--xl: 24px;
	--2xl: 32px;
	--3xl: 48px;
	--4xl: 64px;
	--5xl: 96px;

	/* Border Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;

	/* Shadows */
	--shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--shadow-hover: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
	--shadow-sticky: 0 4px 12px rgba(0,0,0,0.06);

	/* Layout */
	--container: 1280px;
}

/* ─── Reset & Base ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	overflow-x: clip;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--gray-900);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Typography ─────────────────────────────────────────── */

.text-caption { font-size: 12px; line-height: 16px; font-weight: 500; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-base { font-size: 16px; line-height: 24px; }
.text-body-lg { font-size: 18px; line-height: 28px; }
.text-h4 { font-size: 18px; line-height: 26px; font-weight: 600; }
.text-h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.text-h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
.text-h1 { font-size: 36px; line-height: 44px; font-weight: 700; }
.text-price { font-size: 24px; line-height: 32px; font-weight: 700; }
.text-score { font-size: 32px; line-height: 40px; font-weight: 700; }

/* ─── Layout ─────────────────────────────────────────────── */

.tp-container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 48px;
}

@media (max-width: 767px) {
	.tp-container { padding: 0 var(--lg); }
}

.tp-two-col {
	display: flex;
	align-items: flex-start;
	gap: var(--3xl);
	padding-bottom: var(--5xl);
}

.tp-main { flex: 1; min-width: 0; }

.tp-sidebar {
	width: 340px;
	position: sticky;
	top: 100px;
	flex-shrink: 0;
	display: none;
}

@media (min-width: 1024px) {
	.tp-sidebar { display: flex; flex-direction: column; gap: var(--md); }
	.tp-mobile-sidebar { display: none !important; }
}

.tp-mobile-sidebar { margin-top: var(--xl); margin-bottom: var(--lg); }

@media (max-width: 1023px) {
	.tp-two-col { flex-direction: column; gap: 0; }
}

/* ─── Header ─────────────────────────────────────────────── */

.tp-header {
	background: #fff;
	border-bottom: 1px solid var(--gray-200);
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	position: sticky;
	top: 0;
	z-index: 100;
}

.tp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	padding: 0 32px;
	max-width: 1280px;
	margin: 0 auto;
}

.tp-logo {
	display: flex;
	align-items: center;
	gap: var(--sm);
	font-size: 20px;
	font-weight: 700;
	color: var(--brand-primary);
	text-decoration: none;
}

.tp-logo:hover { text-decoration: none; }

.tp-logo svg, .tp-logo img { height: 44px; width: auto; }

.tp-nav { display: flex; align-items: center; gap: 8px; }
.tp-nav a {
	font-size: 14px;
	font-weight: 500;
	color: var(--gray-600);
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 8px;
	transition: color 0.2s, background 0.2s;
	position: relative;
}
.tp-nav a:hover {
	color: var(--brand-primary);
	background: var(--brand-primary-bg);
	text-decoration: none;
}

/* Search Properties CTA button */
.tp-nav .tp-nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--brand-primary);
	color: #fff;
	font-weight: 600;
	padding: 9px 20px;
	border-radius: 10px;
	margin-left: 8px;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(27,45,80,0.2);
}
.tp-nav .tp-nav-cta:hover {
	background: var(--brand-primary-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(27,45,80,0.3);
}
.tp-nav .tp-nav-cta svg { flex-shrink: 0; }

/* Hamburger */
.tp-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	color: var(--gray-700);
	transition: background 0.2s;
}
.tp-hamburger:hover { background: var(--gray-100); }
.tp-hamburger .tp-icon-close { display: none; }
.tp-hamburger.active .tp-icon-menu { display: none; }
.tp-hamburger.active .tp-icon-close { display: block; }

@media (max-width: 768px) {
	.tp-header-inner { padding: 0 16px; height: 56px; }
	.tp-logo svg, .tp-logo img { height: 38px; }
	.tp-nav { display: none; }
	.tp-hamburger { display: flex; align-items: center; justify-content: center; }
	.tp-mobile-menu { top: 56px; }
}

/* Mobile Menu */
.tp-mobile-menu {
	display: none;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 99;
	padding: 0;
	flex-direction: column;
	animation: tp-menu-slide 0.25s ease-out;
}

@keyframes tp-menu-slide {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.tp-mobile-menu.active { display: flex; }

.tp-mobile-menu-inner {
	display: flex;
	flex-direction: column;
	padding: 20px 24px;
	gap: 4px;
}

.tp-mobile-menu a {
	font-size: 16px;
	font-weight: 500;
	color: var(--gray-700);
	padding: 14px 16px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.tp-mobile-menu a:hover {
	background: var(--gray-50);
	color: var(--brand-primary);
}

/* Mobile Search CTA */
.tp-mobile-cta {
	display: flex !important;
	align-items: center;
	gap: 10px;
	background: var(--brand-primary) !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding: 16px 20px !important;
	border-radius: 12px !important;
	margin-bottom: 8px;
	box-shadow: 0 2px 8px rgba(27,45,80,0.2);
}
.tp-mobile-cta:hover {
	background: var(--brand-primary-dark) !important;
	color: #fff !important;
}
.tp-mobile-cta svg { flex-shrink: 0; }

/* Post Property Button (Desktop Header) */
.tp-nav .tp-nav-post {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	color: var(--brand-primary);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 18px;
	border: 2px solid var(--brand-primary);
	border-radius: 10px;
	margin-left: 4px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.15s;
}
.tp-nav .tp-nav-post:hover {
	background: var(--brand-primary);
	color: #fff;
	transform: translateY(-1px);
}
.tp-nav .tp-nav-post:hover .tp-free-badge {
	background: rgba(255,255,255,0.25);
	color: #fff;
}
.tp-nav .tp-nav-post svg { flex-shrink: 0; }

.tp-free-badge {
	display: inline-block;
	background: var(--accent-pale);
	color: var(--accent-dark);
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 4px;
	letter-spacing: 0.5px;
	line-height: 1;
	vertical-align: middle;
}

/* Post Property Button (Mobile Menu) */
.tp-mobile-post-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: transparent;
	color: var(--brand-primary);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 20px;
	border: 2px solid var(--brand-primary);
	border-radius: 12px;
	margin-top: 8px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.tp-mobile-post-btn:hover {
	background: var(--brand-primary);
	color: #fff;
}
.tp-mobile-post-btn svg { flex-shrink: 0; }

@media (max-width: 768px) {
	.tp-nav .tp-nav-post { display: none; }
}

/* ─── Post Property Modal ────────────────────────────────── */

.tp-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: tp-fade-in 0.2s ease-out;
}

@keyframes tp-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.tp-modal {
	background: #fff;
	border-radius: 20px;
	width: 100%;
	max-width: 440px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 32px;
	position: relative;
	box-shadow: 0 24px 80px rgba(0,0,0,0.2);
	animation: tp-modal-up 0.3s ease-out;
}

@keyframes tp-modal-up {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.tp-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--gray-100);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--gray-500);
	transition: background 0.15s, color 0.15s;
}
.tp-modal-close:hover {
	background: var(--gray-200);
	color: var(--gray-800);
}

.tp-modal-header {
	text-align: center;
	margin-bottom: 24px;
}
.tp-modal-icon {
	width: 56px;
	height: 56px;
	background: var(--brand-primary-pale);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	color: var(--brand-primary);
}
.tp-modal-header h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 6px;
}
.tp-modal-header p {
	font-size: 14px;
	color: var(--gray-500);
}

/* Form */
.tp-form-group {
	margin-bottom: 16px;
}
.tp-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-700);
	margin-bottom: 6px;
}
.tp-form-group input[type="text"],
.tp-form-group input[type="tel"] {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--gray-200);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	color: var(--gray-900);
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
}
.tp-form-group input:focus {
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 3px var(--brand-primary-pale);
}

.tp-phone-input {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--gray-200);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.tp-phone-input:focus-within {
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 3px var(--brand-primary-pale);
}
.tp-phone-prefix {
	padding: 12px 12px 12px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gray-500);
	background: var(--gray-50);
	border-right: 1.5px solid var(--gray-200);
	user-select: none;
}
.tp-phone-input input {
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding-left: 12px !important;
	flex: 1;
}

/* BHK Chips */
.tp-bhk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tp-chip {
	cursor: pointer;
}
.tp-chip input { display: none; }
.tp-chip span {
	display: inline-block;
	padding: 8px 16px;
	border: 1.5px solid var(--gray-200);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-600);
	transition: all 0.15s;
	user-select: none;
}
.tp-chip input:checked + span {
	background: var(--brand-primary);
	color: #fff;
	border-color: var(--brand-primary);
	box-shadow: 0 2px 8px rgba(27,45,80,0.2);
}
.tp-chip:hover span {
	border-color: var(--brand-primary-light);
	color: var(--brand-primary);
}

.tp-modal-submit {
	width: 100%;
	padding: 14px;
	background: var(--brand-primary);
	color: #fff;
	border: none;
	border-radius: 12px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	transition: background 0.2s, transform 0.15s;
}
.tp-modal-submit:hover {
	background: var(--brand-primary-dark);
	transform: translateY(-1px);
}
.tp-modal-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.tp-modal-trust {
	text-align: center;
	font-size: 12px;
	color: var(--gray-400);
	margin-top: 12px;
}

/* Success state */
.tp-modal-success {
	text-align: center;
	padding: 24px 0;
}
.tp-success-icon {
	margin-bottom: 16px;
}
.tp-modal-success h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 8px;
}
.tp-modal-success p {
	font-size: 14px;
	color: var(--gray-500);
	line-height: 1.6;
}

/* ─── Footer ─────────────────────────────────────────────── */

.tp-footer {
	background: #fff;
	color: var(--gray-500);
	padding: var(--3xl) 0 var(--xl);
	border-top: 1px solid var(--gray-200);
}

.tp-footer-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--lg);
	text-align: center;
}

.tp-footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
}

.tp-footer-nav a {
	color: var(--gray-500);
	font-size: 14px;
	text-decoration: none;
	padding: 4px 14px;
	transition: color 0.15s;
}

.tp-footer-nav a:not(:last-child) {
	border-right: 1px solid var(--gray-300);
}

.tp-footer-nav a:hover { color: var(--primary); }

.tp-footer-socials {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tp-footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--gray-400);
	transition: all 0.15s;
}

.tp-footer-social-link:hover {
	color: var(--primary);
	background: var(--gray-100);
}

.tp-footer-copy {
	font-size: 13px;
	color: var(--gray-400);
	margin: 0;
}

.tp-footer-rera {
	font-size: 11px;
	color: var(--gray-400);
	margin: 0;
	max-width: 640px;
	line-height: 1.6;
}

@media (max-width: 480px) {
	.tp-footer-inner { padding: 0 var(--xl); }
	.tp-footer-nav a { font-size: 13px; padding: 4px 10px; }
}

/* ─── Breadcrumbs ────────────────────────────────────────── */

.tp-breadcrumbs {
	padding: var(--lg) 0;
	font-size: 13px;
	color: var(--gray-500);
}

.tp-breadcrumbs a { color: var(--gray-500); text-decoration: none; }
.tp-breadcrumbs a:hover { color: var(--brand-primary); }
.tp-breadcrumbs .sep { margin: 0 var(--sm); }

/* ─── Gallery Carousel ───────────────────────────────────── */

.tp-gallery-carousel {
	position: relative;
	border-radius: var(--radius-md);
	margin-bottom: var(--sm);
	overflow: hidden;
}

.tp-gallery-carousel__track {
	display: flex;
	transition: transform 0.3s ease;
	will-change: transform;
}

.tp-gallery-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	height: 220px;
	cursor: pointer;
}

.tp-gallery-carousel__slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Carousel Arrows */
.tp-gallery-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.55);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s, background 0.2s;
	padding: 0;
}

.tp-gallery-carousel__arrow:hover { background: rgba(0,0,0,0.8); }
.tp-gallery-carousel__arrow--left { left: 10px; }
.tp-gallery-carousel__arrow--right { right: 10px; }

/* Carousel Counter */
.tp-gallery-carousel__counter {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	font-size: 0.75rem;
	padding: 2px 10px;
	border-radius: 12px;
	z-index: 3;
}

@media (min-width: 768px) {
	.tp-gallery-carousel__track {
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 8px;
		transition: none;
		transform: none !important;
	}
	.tp-gallery-carousel__track::-webkit-scrollbar { display: none; }
	.tp-gallery-carousel__slide { height: 280px; flex: 1 0 280px; }
	.tp-gallery-carousel__arrow { width: 42px; height: 42px; }
	.tp-gallery-carousel__counter { display: none; }
}

/* Lightbox */
.tp-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0,0,0,0.9);
	align-items: center;
	justify-content: center;
}

.tp-lightbox.active { display: flex; }

.tp-lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--radius-sm);
}

.tp-lightbox-close {
	position: absolute;
	top: var(--lg);
	right: var(--lg);
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.2);
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-lightbox-prev { left: var(--lg); }
.tp-lightbox-next { right: var(--lg); }

.tp-lightbox-counter {
	position: absolute;
	bottom: var(--xl);
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
}

/* ─── Offers Strip ───────────────────────────────────────── */

.tp-offers-strip {
	display: flex;
	align-items: center;
	gap: 0;
	background: linear-gradient(90deg, #6B5520 0%, #8B7530 30%, #A68932 100%);
	border-radius: var(--radius-md);
	padding: 10px 16px;
	margin-bottom: var(--md);
	overflow: hidden;
}

.tp-offers-strip__label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #E5CF8B;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	white-space: nowrap;
	padding-right: 14px;
	margin-right: 14px;
	border-right: 1px solid rgba(255,255,255,0.25);
	flex-shrink: 0;
}

.tp-offers-strip__label svg {
	color: #E5CF8B;
	flex-shrink: 0;
}

.tp-offers-strip__scroll {
	display: flex;
	align-items: center;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	flex: 1;
	min-width: 0;
}

.tp-offers-strip__scroll::-webkit-scrollbar { display: none; }

.tp-offers-strip__item {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
}

.tp-offers-strip__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	flex-shrink: 0;
	margin: 0 10px;
}

@media (max-width: 767px) {
	.tp-offers-strip { padding: 8px 12px; }
	.tp-offers-strip__item { font-size: 12px; }
}

/* ─── PDP Header ─────────────────────────────────────────── */

.tp-pdp-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--2xl);
	margin-bottom: var(--xl);
}

.tp-pdp-header__left { flex: 1; min-width: 0; }

.tp-pdp-header__title-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tp-pdp-header__dev-logo {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: contain;
	border: 1px solid var(--gray-200);
	flex-shrink: 0;
}

.tp-pdp-header h1 {
	font-size: 28px;
	line-height: 36px;
	font-weight: 700;
	margin: 0;
	color: var(--gray-900);
}

@media (max-width: 768px) {
	.tp-pdp-header { flex-direction: column; gap: var(--md); margin-bottom: var(--xl); }
	.tp-pdp-header h1 { font-size: 22px; line-height: 30px; }
}

.tp-pdp-header__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--md);
	margin-top: 6px;
	font-size: 14px;
	color: var(--gray-500);
}

.tp-pdp-header__loc {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tp-pdp-header__price {
	text-align: center;
	flex-shrink: 0;
	background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
	border: 1px solid var(--brand-primary-pale, #E2E8F0);
	border-radius: var(--radius-md);
	padding: 20px 28px;
	min-width: 180px;
}

.tp-pdp-header__price-label {
	font-size: 11px;
	color: var(--gray-400);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.tp-pdp-header__price-value {
	font-size: 30px;
	font-weight: 700;
	color: var(--brand-primary);
	line-height: 1.2;
	margin-top: 4px;
}

.tp-pdp-header__emi {
	font-size: 12px;
	color: var(--gray-500);
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--gray-200, #e5e7eb);
}

@media (max-width: 768px) {
	.tp-pdp-header__price { text-align: left; padding: 16px 20px; min-width: 0; }
	.tp-pdp-header__price-value { font-size: 24px; }
}

/* ─── Highlights Strip ──────────────────────────────────── */

.tp-highlights-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	margin-bottom: var(--xl);
	overflow: hidden;
}

.tp-highlights-strip__item {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 180px;
	min-width: 0;
	padding: 16px 20px;
	border-right: 1px solid var(--gray-100);
}

.tp-highlights-strip__item:last-child { border-right: none; }

.tp-highlights-strip__item > svg {
	flex-shrink: 0;
	color: var(--brand-primary);
	opacity: 0.7;
}

.tp-highlights-strip__item .label {
	display: block;
	font-size: 11px;
	color: var(--gray-400);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 2px;
}

.tp-highlights-strip__item .value {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-900);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 768px) {
	.tp-highlights-strip { gap: 0; }
	.tp-highlights-strip__item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid var(--gray-100); padding: 14px 16px; }
	.tp-highlights-strip__item .value { white-space: normal; font-size: 13px; }
}

/* ─── Section Nav ────────────────────────────────────────── */

.tp-section-nav {
	background: #fff;
	border-bottom: 1px solid var(--gray-200);
	z-index: 49;
	margin-bottom: var(--xl);
}

.tp-section-nav.is-stuck {
	position: sticky;
	top: 64px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tp-section-nav__inner {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.tp-section-nav__inner::-webkit-scrollbar { display: none; }

.tp-section-nav__link {
	padding: var(--md) var(--lg);
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-500);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}

.tp-section-nav__link:hover {
	color: var(--gray-900);
	text-decoration: none;
}

.tp-section-nav__link.active {
	color: var(--brand-primary);
	border-bottom-color: var(--brand-primary);
}

.tp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--md);
}

/* ─── Badge ──────────────────────────────────────────────── */

.tp-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	border: 1px solid transparent;
}

.tp-badge--accent {
	background: var(--accent-pale);
	color: var(--accent-dark);
	border-color: rgba(245,158,11,0.2);
}
.tp-badge--success {
	background: var(--success-light);
	color: #065F46;
	border-color: rgba(16,185,129,0.2);
}
.tp-badge--primary {
	background: var(--brand-primary-pale);
	color: var(--brand-primary);
	border-color: rgba(26,86,219,0.15);
}
.tp-badge--gray {
	background: var(--gray-100);
	color: var(--gray-600);
	border-color: var(--gray-200);
}

/* ─── Fit Score Badge ────────────────────────────────────── */

.tp-fit-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--md) var(--lg);
	border-radius: var(--radius-sm);
	min-width: 80px;
}

.tp-fit-score__value { font-size: 32px; font-weight: 700; line-height: 1; }
.tp-fit-score__label { font-size: 11px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }

.tp-fit-score--high { background: var(--success-bg); color: var(--success); }
.tp-fit-score--medium { background: var(--accent-pale); color: var(--accent-dark); }
.tp-fit-score--low { background: var(--danger-light); color: var(--danger); }

/* ─── Section Styles ─────────────────────────────────────── */

.tp-section {
	margin-top: var(--3xl);
	padding-top: var(--3xl);
	border-top: 1px solid var(--gray-200);
}

.tp-section:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.tp-section h2 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	margin-bottom: var(--xl);
}

@media (max-width: 768px) {
	.tp-section {
		margin-top: var(--xl);
		padding-top: var(--xl);
	}
	.tp-section h2 { font-size: 20px; line-height: 28px; }
}

/* ─── Card ───────────────────────────────────────────────── */

.tp-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--xl);
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
}

.tp-card--accent {
	background: var(--accent-pale);
	border-color: var(--accent-light);
}

.tp-card--primary-bg {
	background: var(--brand-primary-bg);
	border-color: var(--brand-primary-pale);
}

/* ─── Stats Grid ─────────────────────────────────────────── */

.tp-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--lg);
}

@media (min-width: 768px) {
	.tp-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.tp-stat__label { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-bottom: 2px; }
.tp-stat__value { font-size: 14px; font-weight: 600; color: var(--gray-900); }

/* ─── Price Table ────────────────────────────────────────── */

.tp-price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.tp-price-table th {
	text-align: left;
	padding: var(--md) var(--lg);
	background: var(--gray-50);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	color: var(--gray-500);
	border-bottom: 1px solid var(--gray-200);
}

.tp-price-table td {
	padding: var(--md) var(--lg);
	border-bottom: 1px solid var(--gray-100);
	color: var(--gray-700);
}

.tp-price-table tr:last-child td { border-bottom: none; }

/* ─── Overview — Facts Grid ─────────────────────────────── */

.tp-overview-text {
	font-size: 15px;
	color: var(--gray-600);
	line-height: 1.7;
	margin-bottom: var(--sm);
}
.tp-overview-text--clamped {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tp-overview-toggle {
	background: none;
	border: none;
	color: var(--primary);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	margin-bottom: var(--xl);
	display: block;
}

.tp-facts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--md);
	margin-bottom: var(--xl);
}

@media (min-width: 768px) {
	.tp-facts-grid { grid-template-columns: repeat(4, 1fr); }
}

.tp-fact {
	display: flex;
	align-items: flex-start;
	gap: var(--sm);
	padding: var(--md);
	background: var(--gray-50);
	border-radius: var(--radius-sm);
	border: 1px solid var(--gray-100);
}

.tp-fact__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--brand-primary-pale);
	color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-fact__label {
	font-size: 11px;
	color: var(--gray-500);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.tp-fact__value {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-900);
	margin-top: 1px;
	word-break: break-word;
}

/* ─── Why Consider ──────────────────────────────────────── */

.tp-why-consider {
	background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
	border: 1px solid #D1FAE5;
	border-radius: var(--radius-md);
	padding: var(--xl);
}

.tp-why-consider h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: var(--lg);
	color: var(--gray-900);
}

.tp-why-consider__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sm);
}

@media (min-width: 768px) {
	.tp-why-consider__list { grid-template-columns: 1fr 1fr; }
}

.tp-why-consider__item {
	display: flex;
	align-items: flex-start;
	gap: var(--sm);
	font-size: 14px;
	color: var(--gray-700);
	line-height: 1.5;
}

.tp-why-consider__item svg { flex-shrink: 0; margin-top: 2px; }

/* ─── Config Cards (mobile view) ────────────────────────── */

.tp-config-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--md);
}

@media (min-width: 768px) {
	.tp-config-cards { grid-template-columns: repeat(2, 1fr); }
}

.tp-config-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--lg);
}

.tp-config-card--sold { opacity: 0.6; }

.tp-config-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--md);
}

.tp-config-card__type {
	font-size: 16px;
	font-weight: 700;
	color: var(--gray-900);
}

.tp-config-card__status {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
}

.tp-config-card__status--available {
	background: var(--success-light);
	color: var(--success);
}

.tp-config-card__status--sold {
	background: var(--danger-light);
	color: var(--danger);
}

.tp-config-card__details {
	display: flex;
	flex-direction: column;
	gap: var(--sm);
}

.tp-config-card__detail {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
}

.tp-config-card__detail .label { color: var(--gray-500); }
.tp-config-card__detail .value { font-weight: 600; color: var(--gray-900); }
.tp-config-card__detail .value.price { color: var(--brand-primary); }

.tp-config-card__cta {
	display: block;
	text-align: center;
	margin-top: var(--md);
	padding: var(--sm);
	font-size: 13px;
	font-weight: 600;
	color: var(--brand-primary);
	border: 1px solid var(--brand-primary);
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.tp-config-card__cta:hover {
	background: var(--brand-primary-bg);
	text-decoration: none;
}

/* Config cards visible on all sizes */
@media (min-width: 768px) {
	.tp-config-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ─── Interactive EMI Calculator (Compact) ─────────────── */

.tp-calc {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: 16px;
	margin-top: var(--md);
}

.tp-calc h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 12px;
}

/* EMI Result — compact inline bar */
.tp-calc__result {
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 100%);
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.tp-calc__emi-label {
	font-size: 12px;
	color: rgba(255,255,255,0.75);
	font-weight: 500;
}

.tp-calc__emi-value {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.3px;
}

/* Slider Fields — 2-col on desktop */
.tp-calc__sliders {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

@media (min-width: 768px) {
	.tp-calc__sliders { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
}

.tp-calc__field-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.tp-calc__field-head label {
	font-size: 12px;
	font-weight: 500;
	color: var(--gray-500);
}

.tp-calc__input-wrap {
	display: flex;
	align-items: center;
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: 5px;
	padding: 2px 6px;
	gap: 2px;
}

.tp-calc__rupee,
.tp-calc__pct {
	font-size: 11px;
	color: var(--gray-400);
	font-weight: 500;
}

.tp-calc__val-input {
	border: none;
	outline: none;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-900);
	font-family: inherit;
	width: 85px;
	text-align: right;
	padding: 0;
}

.tp-calc__val-input--sm { width: 40px; }

/* Range Slider */
.tp-calc__range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: var(--gray-200);
	outline: none;
	cursor: pointer;
}

.tp-calc__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--brand-primary);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	cursor: pointer;
}

.tp-calc__range::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--brand-primary);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	cursor: pointer;
}

.tp-calc__range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: var(--gray-400);
	margin-top: 2px;
}

/* Summary — inline 3-col */
.tp-calc__summary {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
	border-top: 1px solid var(--gray-100);
	padding-top: 12px;
}

.tp-calc__sum-row {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	color: var(--gray-500);
}

.tp-calc__sum-row span:last-child {
	font-weight: 600;
	font-size: 14px;
	color: var(--gray-900);
	margin-top: 2px;
}

.tp-calc__sum-row--total span:last-child {
	color: var(--brand-primary);
}

/* ─── Virtual Tour ──────────────────────────────────────── */

.tp-tour-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lg);
}

@media (min-width: 768px) {
	.tp-tour-grid { grid-template-columns: 1fr 1fr; }
}

.tp-tour-card {
	cursor: pointer;
	text-align: center;
}

.tp-tour-card__label {
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--sm);
}

.tp-tour-card__media {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #000;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	transition: box-shadow 0.3s, transform 0.3s;
}

.tp-tour-card:hover .tp-tour-card__media {
	box-shadow: 0 8px 28px rgba(0,0,0,0.15);
	transform: translateY(-3px);
}

.tp-tour-card__thumb {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
	transition: transform 0.4s, opacity 0.3s;
}

.tp-tour-card:hover .tp-tour-card__thumb {
	transform: scale(1.04);
	opacity: 0.85;
}

.tp-tour-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-tour-card__play svg {
	width: 64px;
	height: 44px;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
	transition: transform 0.3s;
}

.tp-tour-card:hover .tp-tour-card__play svg {
	transform: scale(1.15);
}

/* ─── Mid-page CTA ──────────────────────────────────────── */

.tp-mid-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--xl);
	background: var(--gray-900);
	border-radius: var(--radius-md);
	padding: var(--xl) var(--2xl);
	margin: var(--3xl) 0;
}

.tp-mid-cta__content h3 {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}

.tp-mid-cta__content p {
	color: var(--gray-400);
	font-size: 14px;
	margin-top: 4px;
}

.tp-mid-cta__actions {
	display: flex;
	gap: var(--sm);
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.tp-mid-cta {
		flex-direction: column;
		text-align: center;
		padding: var(--xl);
		margin: var(--2xl) 0;
	}
	.tp-mid-cta__actions { width: 100%; flex-direction: column; }
	.tp-mid-cta__actions .tp-btn { width: 100%; }
}

/* ─── Developer Card ────────────────────────────────────── */

.tp-dev-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--xl);
	margin-bottom: var(--xl);
}

.tp-dev-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--md);
}
.tp-dev-card__header-left {
	display: flex;
	align-items: center;
	gap: var(--md);
}
.tp-dev-card__qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.tp-dev-card__qr img {
	width: 72px;
	height: 72px;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
}
.tp-dev-card__qr-label {
	font-size: 10px;
	color: var(--gray-400);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
a.tp-dev-card__qr { text-decoration: none; }
a.tp-dev-card__qr:hover img { border-color: var(--primary); }

.tp-dev-card__logo {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	object-fit: contain;
	border: 1px solid var(--gray-200);
}

.tp-dev-card__initials {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	background: var(--brand-primary-pale);
	color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 20px;
}

.tp-dev-card__name {
	font-size: 18px;
	font-weight: 600;
	color: var(--gray-900);
}

.tp-dev-card__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--gray-500);
	margin-top: 2px;
}

.tp-dev-card__overview {
	font-size: 14px;
	color: var(--gray-600);
	line-height: 1.7;
	margin-top: var(--lg);
	padding-top: var(--lg);
	border-top: 1px solid var(--gray-100);
}

.tp-dev-card__overview--clamped {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tp-dev-card__toggle {
	background: none;
	border: none;
	color: var(--primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 0 0;
	display: block;
}

.tp-dev-card__toggle:hover { text-decoration: underline; }

/* ─── RERA QR ───────────────────────────────────────────── */

.tp-rera-qr {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--xl);
	margin-bottom: var(--xl);
}

.tp-rera-qr h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: var(--md);
}

.tp-rera-qr__codes {
	display: flex;
	gap: var(--lg);
}

.tp-rera-qr__codes img {
	width: 80px;
	height: 80px;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
}

/* ─── Offers Card ───────────────────────────────────────── */

.tp-offers-card {
	background: linear-gradient(135deg, #FAF6EA 0%, #F5EDD5 100%);
	border: 1px solid #E5CF8B;
	border-radius: var(--radius-md);
	padding: var(--xl);
}

.tp-offers-card h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: var(--md);
}

.tp-offers-list {
	display: flex;
	flex-direction: column;
	gap: var(--sm);
}

.tp-offer-item {
	display: flex;
	align-items: flex-start;
	gap: var(--sm);
	font-size: 14px;
	color: var(--gray-700);
	line-height: 1.5;
}

.tp-offer-item svg { flex-shrink: 0; margin-top: 2px; }

/* ─── Sidebar Offers ────────────────────────────────────── */

.tp-sidebar-card--offers {
	background: linear-gradient(135deg, #FAF6EA 0%, #F5EDD5 100%);
	border-color: #E5CF8B;
}

.tp-sidebar-offers__title {
	display: flex;
	align-items: center;
	gap: var(--sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--accent-dark);
	margin-bottom: var(--md);
}

.tp-sidebar-offers__item {
	font-size: 13px;
	color: var(--gray-700);
	padding: var(--xs) 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
	line-height: 1.5;
}

.tp-sidebar-offers__item:last-child { border-bottom: none; }

.tp-sidebar-card__range {
	font-size: 14px;
	color: var(--gray-500);
	margin-top: 2px;
}

/* ─── Pros & Cons ────────────────────────────────────────── */

/* Pros & Cons — Polished */

.tp-pc {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lg);
}

@media (min-width: 768px) {
	.tp-pc { grid-template-columns: 1fr 1fr; }
}

.tp-pc__card {
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--gray-200);
}

.tp-pc__card--pro { border-color: #D1FAE5; }
.tp-pc__card--con { border-color: #E5CF8B; }

.tp-pc__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
}

.tp-pc__card--pro .tp-pc__header { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); }
.tp-pc__card--con .tp-pc__header { background: linear-gradient(135deg, #FAF6EA 0%, #F5EDD5 100%); }

.tp-pc__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tp-pc__card--pro .tp-pc__icon { background: #10B981; color: #fff; }
.tp-pc__card--con .tp-pc__icon { background: #C5A03D; color: #fff; }

.tp-pc__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
	flex: 1;
}

.tp-pc__count {
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 999px;
}

.tp-pc__card--pro .tp-pc__count { background: rgba(16,185,129,0.12); color: #065F46; }
.tp-pc__card--con .tp-pc__count { background: rgba(245,158,11,0.15); color: #92400E; }

.tp-pc__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tp-pc__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 20px;
	font-size: 14px;
	color: var(--gray-700);
	line-height: 1.5;
	border-top: 1px solid var(--gray-100);
	overflow-wrap: break-word;
	word-break: break-word;
}

.tp-pc__check {
	flex-shrink: 0;
	margin-top: 3px;
}

.tp-pc__card--pro .tp-pc__check { color: #10B981; }
.tp-pc__card--con .tp-pc__check { color: #A68932; }

/* ─── Amenities ──────────────────────────────────────────── */

.tp-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sm);
}

.tp-amenity-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: var(--sm) var(--md);
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: 999px;
	font-size: 13px;
	color: var(--gray-700);
}

.tp-amenity-pill svg { width: 16px; height: 16px; color: var(--gray-400); }

.tp-show-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: var(--sm) var(--lg);
	background: none;
	border: 1px solid var(--brand-primary);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--brand-primary);
	cursor: pointer;
	margin-top: var(--md);
}

.tp-show-more:hover { background: var(--brand-primary-bg); }

/* ─── Floor Plans ────────────────────────────────────────── */

.tp-floor-plans-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lg);
}

@media (min-width: 768px) {
	.tp-floor-plans-grid { grid-template-columns: repeat(3, 1fr); }
}

.tp-floor-card {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	text-align: center;
}

.tp-floor-card__img {
	background: var(--gray-50);
	padding: var(--xl);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
}

.tp-floor-card__body { padding: var(--lg); }
.tp-floor-card__type { font-weight: 600; }
.tp-floor-card__area { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.tp-floor-card__price { font-size: 18px; font-weight: 700; margin-top: var(--sm); }

.tp-floor-cta {
	background: var(--brand-primary);
	color: #fff;
	border-radius: var(--radius-md);
	padding: var(--xl) var(--2xl);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--xl);
	margin-top: var(--xl);
}

@media (max-width: 768px) {
	.tp-floor-cta { flex-direction: column; text-align: center; }
}

.tp-floor-cta h3 { color: #fff; font-size: 18px; font-weight: 600; }
.tp-floor-cta p { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 4px; }

/* ─── Floor Plan Image Cards ────────────────────────────── */

/* ─── Floor Plans — Tabbed Config View ─────────────────── */

.tp-fp-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: var(--lg);
}

.tp-fp-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 20px;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	background: #fff;
	cursor: pointer;
	transition: all 0.2s;
	min-width: 120px;
}

.tp-fp-tab:hover {
	border-color: var(--brand-primary);
}

.tp-fp-tab.active {
	background: var(--brand-primary-pale);
	border-color: var(--brand-primary);
}

.tp-fp-tab__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--gray-900);
}

.tp-fp-tab.active .tp-fp-tab__label {
	color: var(--brand-primary);
}

.tp-fp-tab__price {
	font-size: 11px;
	color: var(--gray-500);
	font-weight: 500;
}

/* Config panels — hide inactive */
.tp-fp-config { display: none; }
.tp-fp-config.active { display: block; }

/* Area pills */
.tp-fp-areas {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: var(--lg);
}

.tp-fp-areas__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-500);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 4px;
}

.tp-fp-area {
	padding: 6px 14px;
	border: 1px solid var(--gray-200);
	border-radius: 20px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-700);
	cursor: pointer;
	transition: all 0.2s;
}

.tp-fp-area:hover {
	border-color: var(--brand-primary);
	color: var(--brand-primary);
}

.tp-fp-area.active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

/* Unit panels — hide inactive */
.tp-fp-unit { display: none; }
.tp-fp-unit.active { display: block; }

/* Floor plan image — full width */
.tp-fp-display__img {
	width: 100%;
	background: var(--gray-50);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
}

.tp-fp-display__img img {
	width: 100%;
	max-height: 420px;
	object-fit: contain;
	padding: var(--lg);
	transition: transform 0.3s;
}

.tp-fp-display__img:hover img {
	transform: scale(1.03);
}

.tp-fp-display__img--placeholder {
	flex-direction: column;
	gap: 8px;
	cursor: default;
	color: var(--gray-400);
	font-size: 13px;
	min-height: 200px;
}

.tp-fp-display__zoom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.6));
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px;
	opacity: 0;
	transition: opacity 0.2s;
}

.tp-fp-display__img:hover .tp-fp-display__zoom {
	opacity: 1;
}

/* Dummy/indicative floor plan layout */
.tp-fp-display__img--dummy {
	cursor: default;
	background: #fff;
}

.tp-fp-display__img--dummy img {
	padding: var(--md);
	max-height: 380px;
}

.tp-fp-display__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0,0,0,0.06);
	color: var(--gray-400);
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	letter-spacing: 0.3px;
}

@media (max-width: 767px) {
	.tp-fp-display__img {
		min-height: 200px;
	}
	.tp-fp-display__img img {
		max-height: 300px;
		padding: var(--sm);
	}
	.tp-fp-display__zoom { opacity: 1; }
	.tp-fp-tab {
		min-width: auto;
		flex: 1;
		padding: 8px 12px;
	}
	.tp-fp-tab__label { font-size: 13px; }
}

/* ─── Floor Plans Header (fallback scroll views) ───────── */

.tp-fp-scroll-wrap {
	position: relative;
}

.tp-fp-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.3s, background 0.2s;
	padding: 0;
}

.tp-fp-arrow:hover {
	background: rgba(0,0,0,0.8);
}

.tp-fp-arrow--left { left: 4px; }
.tp-fp-arrow--right { right: 4px; }

/* ─── Horizontal Scroll Container ──────────────────────── */

.tp-fp-scroll {
	display: flex;
	gap: var(--md);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--sm);
	margin: 0 calc(-1 * var(--lg));
	padding-left: var(--lg);
	padding-right: var(--lg);
	scrollbar-width: thin;
	scrollbar-color: var(--gray-200) transparent;
}

.tp-fp-scroll::-webkit-scrollbar {
	height: 4px;
}

.tp-fp-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.tp-fp-scroll::-webkit-scrollbar-thumb {
	background: var(--gray-200);
	border-radius: 2px;
}

.tp-fp-scroll { cursor: grab; }
.tp-fp-scroll--grabbing { cursor: grabbing; scroll-snap-type: none; }
.tp-fp-scroll--grabbing * { pointer-events: none; }

/* ─── Floor Plan Cards ─────────────────────────────────── */

.tp-fp-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.tp-fp-card { flex: 0 0 280px; }
}

@media (min-width: 1024px) {
	.tp-fp-card { flex: 0 0 300px; }
}

.tp-fp-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.tp-fp-card__img {
	position: relative;
	background: var(--gray-50);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
	cursor: pointer;
	overflow: hidden;
}

.tp-fp-card__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: var(--sm);
	transition: transform 0.3s;
}

.tp-fp-card:hover .tp-fp-card__img img { transform: scale(1.03); }

.tp-fp-card__img--placeholder {
	cursor: default;
	height: 140px;
}

.tp-fp-card--sold { opacity: 0.6; }

.tp-fp-card__badge {
	position: absolute;
	bottom: 6px;
	right: 6px;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.3px;
}

.tp-fp-card__header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tp-fp-card__status {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	white-space: nowrap;
}

.tp-fp-card__status--available {
	background: var(--success-light);
	color: var(--success);
}

.tp-fp-card__status--sold {
	background: var(--danger-light);
	color: var(--danger);
}

.tp-fp-card__emi {
	font-size: 12px;
	color: var(--gray-500);
}

.tp-fp-card__zoom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.6));
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px;
	opacity: 0;
	transition: opacity 0.2s;
}

.tp-fp-card:hover .tp-fp-card__zoom { opacity: 1; }

/* On mobile, always show zoom hint */
@media (max-width: 767px) {
	.tp-fp-card__zoom { opacity: 1; }
}

.tp-fp-card__body {
	padding: var(--md);
	border-top: 1px solid var(--gray-100);
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.tp-fp-card__type {
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
}

.tp-fp-card__meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--gray-500);
}

.tp-fp-card__meta svg {
	color: var(--gray-400);
	flex-shrink: 0;
}

.tp-fp-card__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 2px;
}

.tp-fp-card__price-label {
	font-size: 12px;
	color: var(--gray-400);
	font-weight: 500;
}

.tp-fp-card__price-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--brand-primary);
}

.tp-fp-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 8px;
	margin-top: auto;
	border: 1px solid var(--brand-primary);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--brand-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.tp-fp-card__btn:hover {
	background: var(--brand-primary);
	color: #fff;
}

/* ─── CTA Card (last in scroll) ────────────────────────── */

.tp-fp-card--cta {
	background: linear-gradient(135deg, var(--brand-primary-pale), #EFF6FF);
	border: 1px dashed var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-fp-card__cta-inner {
	text-align: center;
	padding: var(--lg) var(--md);
}

.tp-fp-card__cta-inner svg {
	color: var(--brand-primary);
	margin-bottom: var(--sm);
}

.tp-fp-card__cta-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 4px;
}

.tp-fp-card__cta-inner p {
	font-size: 13px;
	color: var(--gray-500);
	margin-bottom: var(--md);
	line-height: 1.4;
}

/* ─── Floor Plan Lightbox ───────────────────────────────── */

.tp-fp-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0,0,0,0.9);
	align-items: center;
	justify-content: center;
}

.tp-fp-lightbox.active { display: flex; }

.tp-fp-lightbox__close {
	position: absolute;
	top: var(--lg);
	right: var(--lg);
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	z-index: 1001;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-fp-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.1);
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-fp-lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.tp-fp-lightbox__prev { left: var(--lg); }
.tp-fp-lightbox__next { right: var(--lg); }

.tp-fp-lightbox__content {
	text-align: center;
	max-width: 90vw;
	max-height: 85vh;
}

.tp-fp-lightbox__content img {
	max-width: 100%;
	max-height: 78vh;
	object-fit: contain;
}

.tp-fp-lightbox__label {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	margin-top: var(--md);
}

/* ─── Location Section ───────────────────────────────────── */

.tp-loc-map {
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: var(--lg);
}

.tp-loc-map iframe {
	width: 100%;
	height: 300px;
	border: 0;
	display: block;
}

/* Advantages Grid */
.tp-loc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--md);
	margin-bottom: var(--lg);
}

@media (min-width: 768px) {
	.tp-loc-grid { grid-template-columns: 1fr 1fr; }
}

.tp-loc-card {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.tp-loc-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: var(--gray-50);
	border-bottom: 1px solid var(--gray-100);
}

.tp-loc-card__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
}

.tp-loc-card__icon--blue { background: var(--brand-primary); }
.tp-loc-card__icon--purple { background: #2C5282; }

.tp-loc-card__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0;
}

.tp-loc-card__body {
	padding: 14px 16px;
	font-size: 14px;
	color: var(--gray-600);
	line-height: 1.6;
}

.tp-loc-card__body ul { padding-left: var(--lg); margin: 0; }
.tp-loc-card__body li { margin-bottom: 6px; }
.tp-loc-card__body li:last-child { margin-bottom: 0; }

/* Location Brief */
.tp-loc-brief {
	display: flex;
	gap: 12px;
	padding: 16px 20px;
	background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
	border: 1px solid #BFDBFE;
	border-radius: var(--radius-md);
	margin-bottom: var(--lg);
}

.tp-loc-brief__icon {
	flex-shrink: 0;
	color: var(--brand-primary);
	margin-top: 2px;
}

.tp-loc-brief__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0 0 6px;
}

.tp-loc-brief__text {
	font-size: 14px;
	color: var(--gray-600);
	line-height: 1.7;
	margin: 0;
}

/* Distance Grid */
.tp-loc-distances__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0 0 var(--md);
}

.tp-loc-distances__title svg { color: var(--gray-400); }

.tp-loc-dist-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--sm);
}

@media (min-width: 768px) {
	.tp-loc-dist-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}

.tp-loc-dist-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 14px 8px;
	border: 1px solid var(--gray-100);
	border-radius: var(--radius-md);
	background: #fff;
	transition: border-color 0.2s;
}

.tp-loc-dist-item:hover { border-color: var(--gray-300); }

.tp-loc-dist-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	background: var(--gray-50);
}

.tp-loc-dist-item__value {
	font-size: 16px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 2px;
}

.tp-loc-dist-item__label {
	font-size: 11px;
	color: var(--gray-500);
	font-weight: 500;
}

/* ─── Developer Section ──────────────────────────────────── */

.tp-developer-header {
	display: flex;
	align-items: center;
	gap: var(--lg);
	margin-bottom: var(--xl);
}

.tp-developer-logo {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	object-fit: contain;
	border: 1px solid var(--gray-200);
}

.tp-developer-initials {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	background: var(--brand-primary-pale);
	color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 20px;
}

.tp-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--lg);
	margin-bottom: var(--xl);
}

@media (min-width: 768px) {
	.tp-details-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.tp-details-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── FAQ Section ────────────────────────────────────────── */

.tp-faq details {
	border-bottom: 1px solid var(--gray-200);
}

.tp-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--lg) 0;
	cursor: pointer;
	font-weight: 500;
	font-size: 15px;
	list-style: none;
}

.tp-faq summary::-webkit-details-marker { display: none; }

.tp-faq summary .chevron {
	transition: transform 0.2s;
	flex-shrink: 0;
}

.tp-faq details[open] summary .chevron { transform: rotate(180deg); }

.tp-faq .answer {
	padding: 0 0 var(--lg);
	font-size: 14px;
	color: var(--gray-600);
	line-height: 1.7;
}

/* ─── Why Galaxy Realty — Compact Strip ────────────────────── */

.tp-why-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	padding: var(--md) var(--lg);
	background: var(--gray-50);
	border-radius: var(--radius-md);
	margin: var(--xl) 0;
}

.tp-why-strip__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-700);
	white-space: nowrap;
}

.tp-why-strip__sep {
	color: var(--gray-300);
	font-size: 16px;
}

@media (max-width: 767px) {
	.tp-why-strip__sep { display: none; }
	.tp-why-strip { gap: 8px; justify-content: flex-start; }
}

/* ─── Reusable Horizontal Scroll ─────────────────────────── */

.tp-hscroll {
	display: flex;
	gap: var(--md);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--sm);
	cursor: grab;
}

.tp-hscroll::-webkit-scrollbar { height: 4px; }
.tp-hscroll::-webkit-scrollbar-track { background: transparent; }
.tp-hscroll::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.tp-hscroll__card {
	flex: 0 0 260px;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.tp-hscroll__card { flex: 0 0 280px; }
}

@media (min-width: 1024px) {
	.tp-hscroll__card { flex: 0 0 300px; }
}

.tp-scroll-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--xl);
}

.tp-scroll-header h2 { margin-bottom: 0; }

.tp-scroll-nav {
	display: flex;
	align-items: center;
	gap: var(--sm);
}

.tp-scroll-header__link {
	font-size: 14px;
	font-weight: 500;
	color: var(--brand-primary);
	text-decoration: none;
}

.tp-scroll-header__link:hover { text-decoration: underline; }

.tp-scroll-arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--gray-200);
	background: #fff;
	color: var(--gray-600);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
}

.tp-scroll-arrow:hover { background: var(--gray-50); border-color: var(--gray-300); }

/* ─── Carousel Overlay Arrows ────────────────────────────── */

.tp-hscroll-wrap {
	position: relative;
}
.tp-hscroll-arrow {
	position: absolute;
	top: 80px; /* center of 160px card image */
	transform: translateY(-50%);
	z-index: 5;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.55);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tp-hscroll-arrow:hover {
	background: rgba(0,0,0,0.8);
	transform: translateY(-50%) scale(1.08);
}
.tp-hscroll-arrow--left { left: -6px; }
.tp-hscroll-arrow--right { right: -6px; }

@media (max-width: 767px) {
	.tp-hscroll-arrow { display: none; }
}

/* ─── Similar Projects / Project Cards ───────────────────── */

.tp-project-card {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: box-shadow 0.2s;
	text-decoration: none;
	color: inherit;
	display: block;
	background: #fff;
}

.tp-project-card:hover { box-shadow: var(--shadow-hover); text-decoration: none; color: inherit; }

.tp-project-card__img {
	position: relative;
	height: 160px;
	overflow: hidden;
}

.tp-project-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-project-card__dev-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
}

.tp-project-card__body { padding: var(--lg); }

.tp-project-card__title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 2px;
	color: var(--gray-900);
}

.tp-project-card__title a {
	color: var(--gray-900);
	text-decoration: none;
}

.tp-project-card__title a:hover { color: var(--brand-primary); }

.tp-project-card__location { font-size: 13px; color: var(--gray-500); }

.tp-project-card__price {
	font-size: 15px;
	font-weight: 700;
	margin-top: var(--sm);
	color: #111827;
}

.tp-project-card__meta { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ─── Sidebar ────────────────────────────────────────────── */

.tp-sidebar-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--xl);
}

.tp-sidebar-card + .tp-sidebar-card { margin-top: var(--md); }

/* ── Premium Lead Form (sidebar) ── */

.tp-sidebar-card--form {
	padding: 0 !important;
	overflow: hidden;
	border: none;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
}

.tp-lf__header {
	background: linear-gradient(135deg, #1B2D50 0%, #152340 50%, #0F1A30 100%);
	padding: 20px 24px 18px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.tp-lf__header::before {
	content: '';
	position: absolute;
	top: -30px; right: -30px;
	width: 100px; height: 100px;
	background: rgba(255,255,255,0.06);
	border-radius: 50%;
}
.tp-lf__header::after {
	content: '';
	position: absolute;
	bottom: -20px; left: -20px;
	width: 70px; height: 70px;
	background: rgba(255,255,255,0.04);
	border-radius: 50%;
}

.tp-lf__header-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255,255,255,0.15);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.tp-lf__header-title {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.3;
}

.tp-lf__header-sub {
	font-size: 13px;
	color: rgba(255,255,255,0.8);
	margin: 4px 0 0;
	line-height: 1.4;
}
.tp-lf__header-sub strong { color: #fff; font-weight: 600; }

/* Advisor Strip */
.tp-lf__advisor {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	background: #f0f7ff;
	border-bottom: 1px solid #e0edff;
}

.tp-lf__advisor-img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	object-fit: cover;
}

.tp-lf__advisor-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-900);
}

.tp-lf__advisor-role {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--gray-500);
}

.tp-lf__online-dot {
	width: 7px;
	height: 7px;
	background: #10B981;
	border-radius: 50%;
	display: inline-block;
	animation: tp-pulse-dot 2s ease-in-out infinite;
}
@keyframes tp-pulse-dot {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* Form Fields */
.tp-lf .tp-lead-form {
	padding: 20px 24px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tp-lf__field {
	position: relative;
	display: flex;
	align-items: center;
}

.tp-lf__field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gray-400);
	display: flex;
	align-items: center;
	pointer-events: none;
	z-index: 1;
}
.tp-lf__field-icon--prefix {
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-500);
}

.tp-lf__input {
	width: 100%;
	padding: 13px 14px 13px 42px;
	border: 1.5px solid var(--gray-200);
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	color: var(--gray-900);
	background: var(--gray-50, #F9FAFB);
	transition: all 0.2s;
	outline: none;
}
.tp-lf__input--phone { padding-left: 48px; }
.tp-lf__input:focus {
	border-color: var(--brand-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(26,86,219,0.08);
}
.tp-lf__input::placeholder { color: var(--gray-400); }

.tp-lf__field.is-error .tp-lf__input {
	border-color: #EF4444;
	background: #FEF2F2;
}
.tp-lf__field.is-error .tp-lf__field-icon { color: #EF4444; }

/* Submit Button */
.tp-lf__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	background: linear-gradient(135deg, #1B2D50 0%, #152340 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(26,86,219,0.3);
	margin-top: 2px;
}
.tp-lf__submit:hover {
	background: linear-gradient(135deg, #152340 0%, #0F1A30 100%);
	box-shadow: 0 4px 12px rgba(26,86,219,0.4);
	transform: translateY(-1px);
}
.tp-lf__submit:active { transform: translateY(0); }
.tp-lf__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}
.tp-lf__submit svg { transition: transform 0.2s; }
.tp-lf__submit:hover svg { transform: translateX(3px); }

/* Status */
.tp-lead-form__status {
	font-size: 13px;
	text-align: center;
	display: none;
}
.tp-lead-form__status.is-success {
	display: block;
	color: var(--success);
	padding: 8px;
}
.tp-lead-form__status.is-error {
	display: block;
	color: #EF4444;
	padding: 8px;
}

/* Success State */
.tp-lf__success {
	text-align: center;
	padding: 20px 0 10px;
}
.tp-lf__success-icon { margin-bottom: 10px; }
.tp-lf__success h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0 0 6px;
}
.tp-lf__success p {
	font-size: 13px;
	color: var(--gray-500);
	line-height: 1.5;
	margin: 0;
}

/* Trust Row */
.tp-lf__trust-row {
	display: flex;
	justify-content: center;
	gap: 14px;
	padding: 14px 24px;
	flex-wrap: wrap;
}
.tp-lf__trust-row span {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--gray-500);
	white-space: nowrap;
}
.tp-lf__trust-row svg { color: #10B981; flex-shrink: 0; }

/* Divider */
.tp-lf__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 24px;
	margin: 4px 0;
}
.tp-lf__divider::before,
.tp-lf__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gray-200);
}
.tp-lf__divider span {
	font-size: 11px;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

/* WhatsApp Button */
.tp-lf__wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: calc(100% - 48px);
	margin: 0 24px;
	padding: 12px 20px;
	background: #25D366;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
}
.tp-lf__wa-btn:hover {
	background: #1FB855;
	text-decoration: none;
	color: #fff;
	transform: translateY(-1px);
}

/* Social Proof */
.tp-lf__social-proof {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px 16px;
	font-size: 12px;
	color: var(--gray-500);
}

.tp-lf__avatars {
	display: flex;
}
.tp-lf__avatar-dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
}
.tp-lf__avatar-dot + .tp-lf__avatar-dot { margin-left: -6px; }

/* ── Share Card ── */

.tp-sidebar-card--share { padding: 16px var(--xl); }

.tp-share-wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 20px;
	background: #25D366;
	color: #fff;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.tp-share-wa-btn:hover { background: #1FB855; text-decoration: none; color: #fff; }
.tp-share-wa-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.tp-share-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 12px;
}

.tp-share-phone-form { margin-top: 0; }
.tp-share-phone-form__label {
	font-size: 13px;
	color: var(--gray-600);
	margin-bottom: 10px;
}
.tp-share-phone-form .tp-lf__field { margin-bottom: 10px; }
.tp-share-phone-form__status {
	font-size: 13px;
	text-align: center;
	margin-top: 8px;
}
.tp-share-phone-form__status.is-success { color: var(--success); }
.tp-share-phone-form__status.is-error { color: var(--danger); }

.tp-share-hint {
	font-size: 11px;
	color: var(--gray-400);
	text-align: center;
	margin-top: 8px;
}

/* ── Brochure Card ── */

.tp-sidebar-card--brochure { padding: 16px var(--xl); }

.tp-brochure-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 20px;
	background: #fff;
	color: var(--primary);
	border: 2px solid var(--primary);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, color 0.15s;
}
.tp-brochure-btn:hover { background: var(--primary); color: #fff; }

.tp-brochure-hint {
	font-size: 11px;
	color: var(--gray-400);
	text-align: center;
	margin-top: 8px;
}

/* ── Lead Popup — Premium ── */

.tp-lead-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.tp-lead-popup.is-open { display: flex; }

.tp-lead-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.55);
	backdrop-filter: blur(4px);
}

.tp-lead-popup__card {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 0;
	width: 90%;
	max-width: 420px;
	box-shadow: 0 25px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.03);
	animation: tp-popup-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
}
@keyframes tp-popup-in {
	from { opacity: 0; transform: translateY(30px) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.tp-lead-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(255,255,255,0.15);
	border: none;
	cursor: pointer;
	color: rgba(255,255,255,0.8);
	padding: 6px;
	border-radius: 50%;
	transition: all 0.15s;
	z-index: 2;
	backdrop-filter: blur(4px);
}
.tp-lead-popup__close:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* Popup Visual Header */
.tp-popup__visual {
	background: linear-gradient(135deg, #1B2D50 0%, #152340 50%, #0F1A30 100%);
	padding: 28px 24px 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.tp-popup__visual::before {
	content: '';
	position: absolute;
	top: -40px; right: -40px;
	width: 120px; height: 120px;
	background: rgba(255,255,255,0.06);
	border-radius: 50%;
}
.tp-popup__visual::after {
	content: '';
	position: absolute;
	bottom: -30px; left: -20px;
	width: 80px; height: 80px;
	background: rgba(255,255,255,0.04);
	border-radius: 50%;
}

.tp-popup__visual-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	background: rgba(255,255,255,0.12);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	position: relative;
}

.tp-popup__title {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.3;
}

.tp-popup__project {
	font-size: 14px;
	color: rgba(255,255,255,0.75);
	margin: 4px 0 0;
}

/* Popup Benefits */
.tp-popup__benefits {
	padding: 16px 24px;
	background: #f8fafc;
	border-bottom: 1px solid var(--gray-100);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tp-popup__benefit {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gray-700);
}
.tp-popup__benefit svg { flex-shrink: 0; }

/* Popup Form */
.tp-popup__form {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tp-popup__form .tp-lf__field { margin-bottom: 0; }

.tp-lead-popup__submit {
	margin-top: 2px;
}

.tp-lead-popup__status {
	font-size: 13px;
	text-align: center;
	margin-top: 4px;
}
.tp-lead-popup__status.is-success { color: var(--success); }
.tp-lead-popup__status.is-error { color: #EF4444; }

/* Popup Trust Footer */
.tp-popup__trust-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 24px 16px;
	font-size: 12px;
	color: var(--gray-400);
}
.tp-popup__trust-footer svg { flex-shrink: 0; }

/* Popup Success State */
.tp-popup__success {
	padding: 40px 24px;
	text-align: center;
}
.tp-popup__success-icon { margin-bottom: 16px; }
.tp-popup__success h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0 0 8px;
}
.tp-popup__success p {
	font-size: 14px;
	color: var(--gray-500);
	line-height: 1.6;
	margin: 0 0 20px;
}
.tp-popup__success strong { color: var(--gray-700); }
.tp-popup__success-close {
	display: inline-flex;
	padding: 10px 32px;
	background: var(--gray-100);
	color: var(--gray-700);
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}
.tp-popup__success-close:hover { background: var(--gray-200); }

@media (max-width: 600px) {
	.tp-lead-popup__card {
		width: 92%;
	}
	.tp-popup__visual {
		padding: 16px 20px 12px;
	}
	.tp-popup__visual-icon { display: none; }
	.tp-popup__visual::before, .tp-popup__visual::after { display: none; }
	.tp-popup__title { font-size: 18px; }
	.tp-popup__project { font-size: 13px; }
	.tp-popup__benefits { display: none; }
	.tp-popup__form { padding: 14px 20px; gap: 10px; }
	.tp-popup__trust-footer { padding: 8px 20px 12px; }
	.tp-lead-popup__close { top: 10px; right: 10px; }
}

/* ── Legacy (keep for backward compat) ── */

.tp-sidebar-card__price-label {
	font-size: 12px;
	color: var(--gray-500);
	text-transform: uppercase;
	font-weight: 500;
}

.tp-sidebar-card__price {
	font-size: 28px;
	font-weight: 700;
	color: var(--gray-900);
	margin-top: 4px;
}

.tp-sidebar-card__emi {
	font-size: 13px;
	color: var(--gray-500);
	margin-top: 2px;
}

.tp-cta-stack {
	display: flex;
	flex-direction: column;
	gap: var(--sm);
	margin-top: var(--xl);
}

/* ─── Buttons ────────────────────────────────────────────── */

.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sm);
	padding: var(--md) var(--xl);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: background 0.15s, box-shadow 0.15s;
	height: 44px;
}

.tp-btn:hover { text-decoration: none; }

.tp-btn--primary {
	background: var(--brand-primary);
	color: #fff;
}
.tp-btn--primary:hover { background: var(--brand-primary-dark); }

.tp-btn--whatsapp {
	background: var(--whatsapp);
	color: #fff;
}
.tp-btn--whatsapp:hover { background: #1FB855; }

.tp-btn--outline {
	background: #fff;
	color: var(--gray-700);
	border: 1px solid var(--gray-300);
}
.tp-btn--outline:hover { background: var(--gray-50); }

.tp-btn--white {
	background: #fff;
	color: var(--brand-primary);
}
.tp-btn--white:hover { background: var(--gray-50); }

.tp-btn--block { width: 100%; }

/* ─── Trust Badge Strip (below hero) ────────────────────── */

.tp-trust-strip {
	background: var(--white);
	border-bottom: 1px solid var(--gray-100);
	padding: 16px 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.tp-trust-strip__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.tp-trust-strip__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tp-trust-strip__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tp-trust-strip__icon--green  { background: #D1FAE5; color: #059669; }
.tp-trust-strip__icon--blue   { background: #E2E8F0; color: #1B2D50; }
.tp-trust-strip__icon--purple { background: #E2E8F0; color: #2C5282; }
.tp-trust-strip__icon--amber  { background: #F5EDD5; color: #A68932; }

.tp-trust-strip__text {
	display: flex;
	flex-direction: column;
}

.tp-trust-strip__title {
	font-size: 13px;
	font-weight: 700;
	color: var(--gray-900);
	line-height: 1.2;
}

.tp-trust-strip__desc {
	font-size: 11px;
	color: var(--gray-500);
	font-weight: 400;
	line-height: 1.3;
}

.tp-trust-strip__divider {
	width: 1px;
	height: 32px;
	background: var(--gray-200);
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.tp-trust-strip { padding: 12px 0; }
	.tp-trust-strip__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 16px;
	}
	.tp-trust-strip__divider { display: none; }
	.tp-trust-strip__icon { width: 34px; height: 34px; }
	.tp-trust-strip__icon svg { width: 16px; height: 16px; }
	.tp-trust-strip__title { font-size: 12px; }
	.tp-trust-strip__desc { font-size: 10px; }
}

/* ─── Trust Shield ───────────────────────────────────────── */

.tp-trust-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--md);
}

.tp-trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}

.tp-trust-item__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.tp-trust-item__label { font-size: 11px; color: var(--gray-500); font-weight: 500; }

/* ─── Advisor Card ───────────────────────────────────────── */

.tp-advisor {
	display: flex;
	align-items: center;
	gap: var(--md);
	margin-bottom: var(--lg);
}

.tp-advisor__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--brand-primary-pale);
	color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
}

.tp-advisor__name { font-size: 14px; font-weight: 600; }
.tp-advisor__role { font-size: 12px; color: var(--gray-500); }

.tp-advisor-btns {
	display: flex;
	gap: var(--sm);
}

.tp-advisor-btns .tp-btn { flex: 1; font-size: 13px; height: 38px; }

/* ─── Offers Grid ────────────────────────────────────────── */

.tp-offers-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--md);
}

@media (min-width: 768px) {
	.tp-offers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tp-offers-grid { grid-template-columns: repeat(3, 1fr); }
}

.tp-offer-card {
	background: #fff;
	border: 1px solid var(--accent-light);
	border-radius: var(--radius-sm);
	padding: var(--md) var(--lg);
	display: flex;
	align-items: center;
	gap: var(--sm);
	font-size: 14px;
	color: var(--gray-700);
}

.tp-offer-card .tag-icon { color: var(--accent); flex-shrink: 0; }

/* ─── QR Code ────────────────────────────────────────────── */

.tp-qr-codes {
	display: flex;
	gap: var(--lg);
	margin-top: var(--md);
}

.tp-qr-codes img { width: 80px; height: 80px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); }

/* ─── Mobile Sticky Bar ──────────────────────────────────── */

.tp-mobile-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: #fff;
	border-top: 1px solid var(--gray-200);
	box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
	padding: var(--sm) var(--lg);
	display: flex;
	gap: var(--sm);
}

.tp-mobile-bar .tp-btn {
	flex: 1;
	height: 44px;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.tp-mobile-bar .tp-btn svg { flex-shrink: 0; }

@media (max-width: 400px) {
	.tp-mobile-bar { padding: var(--sm) var(--sm); gap: 4px; }
	.tp-mobile-bar .tp-btn { font-size: 12px; padding: 0 var(--sm); gap: 4px; }
}
@media (min-width: 1024px) {
	.tp-mobile-bar { display: none; }
}

/* ─── Utility Classes ────────────────────────────────────── */

.mt-xs { margin-top: var(--xs); }
.mt-sm { margin-top: var(--sm); }
.mt-md { margin-top: var(--md); }
.mt-lg { margin-top: var(--lg); }
.mt-xl { margin-top: var(--xl); }
.mt-2xl { margin-top: var(--2xl); }
.mt-3xl { margin-top: var(--3xl); }

.mb-sm { margin-bottom: var(--sm); }
.mb-md { margin-bottom: var(--md); }
.mb-lg { margin-bottom: var(--lg); }
.mb-xl { margin-bottom: var(--xl); }

.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-brand { color: var(--brand-primary); }
.text-success { color: var(--success); }
.text-accent { color: var(--accent); }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.hidden { display: none !important; }

/* ─── Category Archive Page ──────────────────────────────── */

.tp-category-page { padding-bottom: var(--3xl); }

.tp-category-header {
	margin-bottom: var(--2xl);
}

.tp-category-header h1 {
	font-size: 28px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--xs);
}

.tp-category-count {
	font-size: 14px;
	color: var(--gray-500);
}

.tp-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--xl);
}

@media (min-width: 640px) {
	.tp-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tp-category-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Homepage Project Carousels ─────────────────────────────────────── */
.tp-hp-carousel-wrap {
	position: relative;
}

.tp-hp-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	scroll-behavior: smooth;
	cursor: grab;
	padding-bottom: 6px;
}

.tp-hp-carousel::-webkit-scrollbar { display: none; }

.tp-hp-carousel.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}

/* ── Full-bleed overlay card ──────────────────────────────────────────── */
.tp-hp-card {
	flex: 0 0 320px;
	scroll-snap-align: start;
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	height: 260px;
	text-decoration: none;
	transition: transform 0.22s, box-shadow 0.22s;
	flex-shrink: 0;
	box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.tp-hp-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

.tp-hp-card__img {
	position: absolute;
	inset: 0;
}

.tp-hp-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tp-hp-card__img-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1e3a5f 0%, #2d5a9e 100%);
}

.tp-hp-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,.88) 0%,
		rgba(0,0,0,.45) 45%,
		rgba(0,0,0,.10) 75%,
		transparent 100%
	);
}

.tp-hp-card__top {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.tp-hp-card__badge {
	background: rgba(0,0,0,.55);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,.2);
}

.tp-hp-card__badge--rera {
	background: rgba(16,185,129,.75);
	border-color: rgba(16,185,129,.5);
}

.tp-hp-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px 14px 14px;
	z-index: 2;
}

.tp-hp-card__title {
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-hp-card__dev {
	color: rgba(255,255,255,.70);
	font-size: 12px;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-hp-card__meta-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 8px;
}

.tp-hp-card__meta-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tp-hp-card__meta-left span {
	color: rgba(255,255,255,.80);
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-hp-card__loc {
	display: flex !important;
	align-items: center;
	gap: 3px;
}

.tp-hp-card__price {
	color: var(--accent, #C5A03D);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
	text-align: right;
}

@media (max-width: 767px) {
	.tp-hp-card { flex: 0 0 260px; height: 220px; }
	.tp-hp-card__title { font-size: 15px; }
}

.tp-hp-carousel__arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	z-index: 2;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: opacity 0.2s, box-shadow 0.2s;
	font-size: 20px;
	line-height: 1;
	color: var(--text-primary);
	padding: 0;
}

.tp-hp-carousel__arrow--prev { left: -20px; }
.tp-hp-carousel__arrow--next { right: -20px; }
.tp-hp-carousel__arrow[disabled] { opacity: 0.25; pointer-events: none; }
.tp-hp-carousel__arrow:hover { box-shadow: var(--shadow-md); }

@media (max-width: 767px) {
	.tp-hp-carousel__arrow { display: none; }
}

/* ── Location Filter Bar ─────────────────────────────────────────────── */
.tp-location-filter {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.tp-location-filter__pills {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 2px 0;
}

.tp-location-filter__pills::-webkit-scrollbar { display: none; }

.tp-location-filter__pill {
	flex-shrink: 0;
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	color: var(--text-primary);
}

.tp-location-filter__pill--active,
.tp-location-filter__pill:hover {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

/* ── Returning User Section ──────────────────────────────────────────── */
.tp-continue-section {
	background: linear-gradient(135deg, var(--brand-primary-pale) 0%, #f0f6ff 100%);
	border-top: 3px solid var(--brand-primary);
}

.tp-pagination {
	margin-top: var(--2xl);
	text-align: center;
}

.tp-pagination .nav-links {
	display: inline-flex;
	gap: var(--xs);
}

.tp-pagination a,
.tp-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 var(--sm);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	font-size: 14px;
	color: var(--gray-700);
	text-decoration: none;
	transition: background 0.15s;
}

.tp-pagination a:hover { background: var(--gray-50); }

.tp-pagination .current {
	background: var(--brand-primary);
	color: #fff;
	border-color: var(--brand-primary);
}

.tp-empty-state {
	text-align: center;
	padding: var(--3xl) var(--xl);
}

.tp-empty-state h3 {
	font-size: 20px;
	color: var(--gray-700);
	margin-top: var(--lg);
	margin-bottom: var(--sm);
}

.tp-empty-state p {
	color: var(--gray-500);
	margin-bottom: var(--xl);
}

/* ─── Homepage Hero ──────────────────────────────────────── */

@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.5); }
}

.tp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: var(--5xl) var(--lg) var(--3xl);
	background-color: #1B2D50;
}

/* Carousel Slides */
.tp-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.tp-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease;
}
.tp-hero__slide--active { opacity: 1; }

/* Gradient Overlay */
.tp-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(15, 30, 56, 0.88) 0%, rgba(15, 30, 56, 0.6) 50%, transparent 100%);
	z-index: 1;
}

/* Carousel Dots */
.tp-hero__dots {
	position: absolute;
	bottom: 24px;
	right: 48px;
	z-index: 3;
	display: flex;
	gap: 8px;
}
.tp-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.5);
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s;
}
.tp-hero__dot:hover {
	border-color: rgba(255,255,255,0.8);
}
.tp-hero__dot--active {
	background: #fff;
	border-color: #fff;
	transform: scale(1.2);
}
/* Mobile vs Desktop banner visibility */
.tp-hero__slides--mobile { display: none; }
@media (max-width: 768px) {
	.tp-hero__slides--mobile { display: block; }
	.tp-hero__slides--desktop { display: none; }
	.tp-hero__dots { right: 16px; bottom: 16px; }
}

.tp-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--container);
	text-align: left;
	padding: 0 var(--lg);
}

@media (min-width: 768px) {
	.tp-hero__content { max-width: 55%; margin-right: auto; margin-left: 5%; }
}
@media (min-width: 1024px) {
	.tp-hero__content { margin-left: calc((100% - var(--container)) / 2 + var(--lg)); }
}

/* Live Badge */
.tp-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--sm);
	padding: 6px 16px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.8);
	margin-bottom: var(--2xl);
	backdrop-filter: blur(8px);
}

.tp-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
	animation: pulse-dot 2s ease-in-out infinite;
	box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

.tp-hero__title {
	font-size: clamp(24px, 6vw, 32px);
	font-weight: 800;
	color: #fff;
	line-height: 1.15;
	margin-bottom: var(--lg);
	letter-spacing: -0.01em;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.tp-hero__accent {
	background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

@media (min-width: 768px) {
	.tp-hero__title { font-size: clamp(36px, 4vw, 48px); }
	.tp-hero { padding: 120px var(--lg) var(--4xl); }
}

.tp-hero__subtitle {
	font-size: 16px;
	color: rgba(255,255,255,0.7);
	margin-bottom: var(--2xl);
	max-width: 540px;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.tp-hero__subtitle { font-size: 18px; }
}

/* Category Tabs */
.tp-hero__tabs {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: var(--xl);
	flex-wrap: wrap;
}

.tp-hero__tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,0.6);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.tp-hero__tab:hover {
	background: rgba(255,255,255,0.12);
	color: #fff;
	border-color: rgba(255,255,255,0.2);
}

.tp-hero__tab--active {
	background: #fff;
	color: var(--brand-primary);
	border-color: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tp-hero__tab--active:hover {
	background: #fff;
	color: var(--brand-primary);
}

/* Search Bar */
.tp-hero__search { width: 100%; }

.tp-hero__search-inner {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 6px 6px 6px var(--lg);
	box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.tp-hero__search-icon { color: var(--gray-400); flex-shrink: 0; }

.tp-hero__search-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 15px;
	padding: var(--md);
	background: transparent;
	color: var(--gray-900);
	min-width: 0;
}

.tp-hero__search-input::placeholder { color: var(--gray-400); }

.tp-hero__search-btn {
	flex-shrink: 0;
	border-radius: var(--radius-sm) !important;
	height: 44px;
	padding: 0 var(--lg);
	font-size: 14px;
}
@media (min-width: 640px) {
	.tp-hero__search-btn { padding: 0 var(--xl); font-size: 15px; }
}

/* Popular Locations */
.tp-hero__locations {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--sm);
	margin-top: var(--lg);
	font-size: 13px;
}

.tp-hero__locations span { color: rgba(255,255,255,0.4); }

.tp-hero__locations a {
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	padding: 3px 10px;
	border-radius: 6px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	transition: all 0.15s;
}

.tp-hero__locations a:hover {
	background: rgba(255,255,255,0.15);
	color: #fff;
	border-color: rgba(255,255,255,0.2);
}

/* Stats inside hero */
.tp-hero__stats {
	display: flex;
	align-items: center;
	gap: var(--2xl);
	margin-top: var(--3xl);
	padding-top: var(--2xl);
	border-top: 1px solid rgba(255,255,255,0.15);
}

.tp-hero__stat { text-align: center; }

.tp-hero__stat-num {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
}

.tp-hero__stat-label {
	font-size: 12px;
	color: rgba(255,255,255,0.45);
	margin-top: 2px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tp-hero__stat-divider {
	width: 1px;
	height: 32px;
	background: rgba(255,255,255,0.1);
}

@media (max-width: 480px) {
	.tp-hero__stats { gap: var(--md); flex-wrap: wrap; justify-content: center; }
	.tp-hero__stat-num { font-size: 18px; }
	.tp-hero__stat-divider { display: none; }
	.tp-hero__stat-label { font-size: 10px; }
}

/* ─── Homepage Sections ──────────────────────────────────── */

.tp-hp-section {
	padding: var(--4xl) 0;
}

.tp-hp-section--gray {
	background: var(--gray-50);
}

.tp-hp-section__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: var(--2xl);
	gap: var(--lg);
}

.tp-hp-section__header--center {
	justify-content: center;
	text-align: center;
}

.tp-hp-section__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--xs);
}

@media (min-width: 768px) {
	.tp-hp-section__title { font-size: 28px; }
}

.tp-hp-section__subtitle {
	font-size: 15px;
	color: var(--gray-500);
}

.tp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--brand-primary);
	text-decoration: none;
	white-space: nowrap;
	transition: gap 0.2s;
}

.tp-link-arrow:hover { gap: 8px; }

/* ─── Project Cards (enhanced) ───────────────────────────── */

a.tp-card {
	display: block;
	padding: 0;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.25s;
}

a.tp-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
	border-color: var(--gray-300);
	text-decoration: none;
}

.tp-card__img {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: var(--gray-100);
}

.tp-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.tp-card:hover .tp-card__img img { transform: scale(1.05); }

.tp-card__img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray-300);
}

.tp-card__badge-dev {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 500;
	backdrop-filter: blur(4px);
}

.tp-card__badge-stage {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--brand-primary);
	color: #fff;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 500;
}

.tp-card__badge-stage--ready { background: var(--success); }

.tp-card__body { padding: var(--lg); }

.tp-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 4px;
	line-height: 1.3;
}

.tp-card__location {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--gray-500);
	margin-bottom: var(--md);
}

.tp-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.tp-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--brand-primary);
}

.tp-card__config {
	font-size: 12px;
	color: var(--gray-400);
	background: var(--gray-50);
	padding: 2px 8px;
	border-radius: 4px;
}

.tp-card__rera {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--success);
	font-weight: 500;
	margin-top: var(--sm);
}

/* ─── How It Works Steps ─────────────────────────────────── */

.tp-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--xl);
	max-width: 900px;
	margin: 0 auto;
	counter-reset: step;
}

@media (min-width: 768px) {
	.tp-steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: flex-start; }
}

.tp-step {
	text-align: center;
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: var(--2xl) var(--xl) var(--xl);
	border: 1px solid var(--gray-100);
	box-shadow: 0 4px 24px rgba(0,0,0,0.04);
	transition: all 0.3s;
}

.tp-step:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(26,86,219,0.12);
	border-color: var(--brand-primary-pale);
}

.tp-step__number {
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}

.tp-step__icon {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--brand-primary-pale) 0%, #E2E8F0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--lg);
	color: var(--brand-primary);
	transition: all 0.3s;
}

.tp-step:hover .tp-step__icon {
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 100%);
	color: #fff;
	transform: scale(1.08);
}

.tp-step__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--sm);
}

.tp-step__desc {
	font-size: 14px;
	color: var(--gray-500);
	line-height: 1.7;
	max-width: 260px;
	margin: 0 auto;
}

.tp-step__connector { display: none; }

@media (min-width: 768px) {
	.tp-step__connector {
		display: flex;
		align-items: center;
		padding-top: 50px;
	}
	.tp-step__connector::before {
		content: '';
		width: 48px;
		height: 3px;
		background: linear-gradient(90deg, var(--brand-primary-pale) 0%, var(--brand-primary) 50%, var(--brand-primary-pale) 100%);
		border-radius: 2px;
	}
}

/* ─── Features Grid (Why Us) ─────────────────────────────── */

.tp-features {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--xl);
	max-width: 1000px;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.tp-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tp-features { grid-template-columns: repeat(3, 1fr); }
}

.tp-feature {
	background: #fff;
	border: 1px solid var(--gray-100);
	border-radius: 16px;
	padding: var(--2xl) var(--xl);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.tp-feature::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--brand-primary) 0%, #0F1E38 50%, var(--accent) 100%);
	opacity: 0;
	transition: opacity 0.3s;
}

.tp-feature:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,0.08);
	transform: translateY(-4px);
	border-color: transparent;
}

.tp-feature:hover::before { opacity: 1; }

.tp-feature__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--lg);
	transition: transform 0.3s;
}

.tp-feature:hover .tp-feature__icon { transform: scale(1.1); }

.tp-feature__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--sm);
}

.tp-feature__desc {
	font-size: 14px;
	color: var(--gray-500);
	line-height: 1.7;
}

/* ─── Category Cards ─────────────────────────────────────── */

.tp-category-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--lg);
}

@media (min-width: 640px) {
	.tp-category-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
	.tp-category-cards { grid-template-columns: repeat(5, 1fr); }
}

.tp-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sm);
	padding: var(--2xl) var(--lg);
	background: #fff;
	border: 1px solid var(--gray-100);
	border-radius: 16px;
	text-decoration: none;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.tp-category-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 0;
	background: linear-gradient(135deg, var(--brand-primary-pale) 0%, #E2E8F0 100%);
	transition: height 0.3s;
	z-index: 0;
}

.tp-category-card:hover {
	box-shadow: 0 12px 36px rgba(26,86,219,0.12);
	transform: translateY(-6px);
	border-color: var(--brand-primary-pale);
	text-decoration: none;
}

.tp-category-card:hover::after { height: 100%; }

.tp-category-card > * { position: relative; z-index: 1; }

.tp-category-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--brand-primary-pale) 0%, #E2E8F0 100%);
	color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.tp-category-card:hover .tp-category-card__icon {
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 100%);
	color: #fff;
	transform: scale(1.1);
}

.tp-category-card__label {
	font-size: 16px;
	font-weight: 700;
	color: var(--gray-900);
}

.tp-category-card__count {
	font-size: 13px;
	color: var(--gray-500);
	font-weight: 500;
}

/* ─── Location Grid ──────────────────────────────────────── */

.tp-location-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--md);
}

@media (min-width: 640px) {
	.tp-location-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
	.tp-location-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
	.tp-location-grid { grid-template-columns: repeat(6, 1fr); }
}

.tp-location-pill {
	display: flex;
	align-items: center;
	gap: var(--sm);
	padding: var(--md) var(--lg);
	background: #fff;
	border: 1px solid var(--gray-100);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-700);
	text-decoration: none;
	transition: all 0.25s;
}

.tp-location-pill svg { color: var(--brand-primary); flex-shrink: 0; }

.tp-location-pill:hover {
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 100%);
	border-color: transparent;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(26,86,219,0.2);
	text-decoration: none;
}

.tp-location-pill:hover svg { color: #fff; }

.tp-location-pill__count {
	margin-left: auto;
	background: var(--gray-100);
	color: var(--gray-500);
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 100px;
	font-weight: 700;
}

.tp-location-pill:hover .tp-location-pill__count {
	background: rgba(255,255,255,0.2);
	color: #fff;
}

/* ─── Google Reviews ─────────────────────────────────────── */

.tp-reviews__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--2xl);
	gap: var(--lg);
}

.tp-reviews__badge {
	display: flex;
	align-items: center;
	gap: var(--md);
}

.tp-reviews__google-icon {
	flex-shrink: 0;
}

.tp-reviews__rating {
	display: flex;
	align-items: center;
	gap: var(--sm);
}

.tp-reviews__rating-num {
	font-size: 24px;
	font-weight: 800;
	color: var(--gray-900);
}

.tp-reviews__stars {
	display: flex;
	gap: 2px;
}

.tp-reviews__source {
	font-size: 13px;
	color: var(--gray-500);
	margin-top: 2px;
}

.tp-reviews__carousel-wrap {
	position: relative;
}

.tp-reviews__track {
	display: flex;
	gap: var(--lg);
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 0;
}

.tp-reviews__track::-webkit-scrollbar { display: none; }

.tp-reviews__card {
	min-width: 300px;
	max-width: 340px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--xl);
	transition: box-shadow 0.2s, transform 0.2s;
}

.tp-reviews__card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.tp-reviews__card-top {
	display: flex;
	align-items: center;
	gap: var(--sm);
	margin-bottom: var(--md);
}

.tp-reviews__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--brand-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
}

.tp-reviews__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-900);
}

.tp-reviews__date {
	font-size: 11px;
	color: var(--gray-400);
}

.tp-reviews__card-stars {
	display: flex;
	gap: 1px;
	margin-left: auto;
}

.tp-reviews__text {
	font-size: 13px;
	color: var(--gray-600);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tp-reviews__powered {
	font-size: 12px;
	color: var(--gray-400);
	display: flex;
	align-items: center;
	gap: 4px;
}

@media (max-width: 767px) {
	.tp-reviews__header { flex-direction: column; align-items: flex-start; }
	.tp-reviews__card { min-width: 260px; }
	.tp-reviews__rating-num { font-size: 20px; }
}

/* ─── Developer Partners Marquee ─────────────────────────── */

.tp-dev-partners {
	padding: 56px 0 48px;
	background: #fff;
	overflow: hidden;
}
.tp-dev-partners__header {
	text-align: center;
	margin-bottom: 36px;
}
.tp-dev-partners__label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--brand-primary);
	margin: 0 0 8px;
}
.tp-dev-partners__title {
	font-size: 28px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0;
}
.tp-dev-partners__marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.tp-dev-partners__track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	animation: tp-marquee 40s linear infinite;
}
.tp-dev-partners__track:hover {
	animation-play-state: paused;
}
.tp-dev-partners__item {
	flex-shrink: 0;
	width: 120px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9fafb;
	border-radius: 10px;
	border: 1px solid var(--gray-200);
	padding: 10px 16px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tp-dev-partners__item:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.tp-dev-partners__item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: filter 0.3s ease, opacity 0.3s ease;
}
.tp-dev-partners__item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}
@keyframes tp-marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@media (max-width: 640px) {
	.tp-dev-partners { padding: 40px 0 32px; }
	.tp-dev-partners__title { font-size: 22px; }
	.tp-dev-partners__track { gap: 32px; }
	.tp-dev-partners__item { width: 100px; height: 50px; padding: 8px 12px; }
}

/* ─── Blog Grid ──────────────────────────────────────────── */

.tp-blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--xl);
}

@media (min-width: 640px) {
	.tp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tp-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.tp-blog-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: all 0.25s;
}

.tp-blog-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-3px);
}

.tp-blog-card__img {
	position: relative;
	height: 180px;
	overflow: hidden;
}

.tp-blog-card__img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-blog-card__category {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #fff;
	color: var(--gray-700);
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tp-blog-card__body { padding: var(--lg); }

.tp-blog-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--gray-900);
	line-height: 1.4;
	margin-bottom: var(--sm);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tp-blog-card:hover .tp-blog-card__title { color: var(--brand-primary); }

.tp-blog-card__excerpt {
	font-size: 14px;
	color: var(--gray-500);
	line-height: 1.5;
	margin-bottom: var(--md);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tp-blog-card__meta {
	font-size: 12px;
	color: var(--gray-400);
}

.tp-blog-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.tp-blog-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ─── Blog Archive Page ───────────────────────────────────── */

.tp-blog-hero {
	background: linear-gradient(135deg, #111827 0%, #0F1E38 50%, #111827 100%);
	padding: var(--4xl) 0;
	text-align: center;
}

.tp-blog-hero__title {
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	margin-bottom: var(--sm);
}

.tp-blog-hero__sub {
	font-size: 16px;
	color: rgba(255,255,255,0.6);
	max-width: 520px;
	margin: 0 auto;
}

/* Trending strip */
.tp-blog-trending {
	background: linear-gradient(90deg, #1a1f2e 0%, #0F1E38 100%);
	padding: 14px 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tp-blog-trending .tp-container {
	display: flex;
	align-items: center;
	gap: var(--lg);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tp-blog-trending__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	flex-shrink: 0;
	letter-spacing: 0.3px;
}

.tp-blog-trending__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(197,160,61,0.15);
	color: #C5A03D;
}

.tp-blog-trending__divider {
	width: 1px;
	height: 24px;
	background: rgba(255,255,255,0.12);
	flex-shrink: 0;
}

.tp-blog-trending__tags {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tp-blog-trending__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 18px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.25s;
	backdrop-filter: blur(4px);
}

.tp-blog-trending__tag:hover {
	background: rgba(27,45,80,0.4);
	border-color: rgba(27,45,80,0.6);
	color: #fff;
	transform: translateY(-1px);
}

.tp-blog-trending__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: rgba(255,255,255,0.1);
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,0.5);
}

/* Blog grid — archive */
.tp-blog-list {
	padding: var(--3xl) 0;
	background: var(--gray-50);
	min-height: 60vh;
}

.tp-blog-grid--archive {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--xl);
}

/* Archive card tweaks */
.tp-blog-card--archive {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: all 0.25s;
}

.tp-blog-card--archive:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-3px);
}

.tp-blog-card--archive .tp-blog-card__img {
	height: 200px;
}

.tp-blog-card--archive .tp-blog-card__title {
	font-size: 17px;
	font-weight: 700;
}

.tp-blog-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: var(--md);
	padding-top: var(--md);
	border-top: 1px solid var(--gray-100);
}

.tp-blog-card__author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-700);
}

.tp-blog-card__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.tp-blog-card__meta-row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--gray-400);
}

.tp-blog-card__dot {
	font-size: 10px;
}

/* Empty state */
.tp-blog-empty {
	text-align: center;
	padding: var(--4xl) var(--xl);
	color: var(--gray-500);
}

.tp-blog-empty h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--gray-700);
	margin: var(--lg) 0 var(--sm);
}

.tp-blog-empty p {
	margin-bottom: var(--xl);
}

/* Mobile responsive */
@media (max-width: 768px) {
	.tp-blog-hero { padding: var(--2xl) 0; }
	.tp-blog-hero__title { font-size: 24px; }
	.tp-blog-hero__sub { font-size: 14px; }
	.tp-blog-grid--archive { grid-template-columns: 1fr; gap: var(--lg); }
	.tp-blog-card__footer { flex-direction: column; align-items: flex-start; gap: var(--sm); }
}

@media (min-width: 769px) and (max-width: 1024px) {
	.tp-blog-grid--archive { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Single Blog Post ────────────────────────────────────── */

.tp-blog-single__breadcrumbs {
	padding: var(--md) 0;
	background: var(--gray-50);
	border-bottom: 1px solid var(--gray-200);
	font-size: 13px;
	color: var(--gray-400);
}

.tp-blog-single__breadcrumbs a {
	color: var(--gray-500);
	text-decoration: none;
}

.tp-blog-single__breadcrumbs a:hover { color: var(--brand-primary); }

.tp-blog-single__breadcrumbs .tp-sep {
	margin: 0 6px;
	color: var(--gray-300);
}

/* Header (title + meta, inside content column) */
.tp-blog-single__header {
	margin-bottom: 28px;
}

.tp-blog-single__title {
	font-size: 32px;
	font-weight: 800;
	color: #111827;
	line-height: 1.25;
	margin-bottom: 12px;
}

.tp-blog-single__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--gray-500);
}

.tp-blog-single__meta strong {
	color: var(--gray-700);
}

.tp-blog-single__meta-sep {
	color: var(--gray-300);
	margin: 0 2px;
}

/* Cover image (inside content column) */
.tp-blog-single__cover {
	margin-bottom: 32px;
}

.tp-blog-single__cover-img {
	width: 100%;
	border-radius: 10px;
	display: block;
}

/* Content layout — 3 col: share | content | sidebar */
.tp-blog-single__content-wrap {
	padding: 36px 0 72px;
	background: #fff;
}

.tp-blog-single__layout {
	display: grid;
	grid-template-columns: 48px 1fr 260px;
	gap: 0 40px;
	max-width: 1100px;
	margin: 0 auto;
}

/* Vertical share bar (left column) */
.tp-blog-single__sharebar {
	position: relative;
}

.tp-blog-single__sharebar-inner {
	position: sticky;
	top: 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
}

.tp-blog-single__sharebar-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.tp-blog-single__sharebar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gray-100);
	color: var(--gray-500);
	border: 1px solid var(--gray-200);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
}

.tp-blog-single__sharebar-btn:hover {
	background: var(--gray-900);
	color: #fff;
	border-color: var(--gray-900);
}

.tp-blog-single__sharebar-btn--wa:hover {
	background: #25d366;
	color: #fff;
	border-color: #25d366;
}

/* Main content */
.tp-blog-single__content {
	min-width: 0;
}

/* ── Content body typography ── */
.tp-blog-single__body {
	font-size: 18px;
	line-height: 1.85;
	color: #374151;
	letter-spacing: -0.01em;
}

.tp-blog-single__body > *:first-child {
	margin-top: 0;
}

/* H2 — Major sections */
.tp-blog-single__body h2 {
	font-size: 28px;
	font-weight: 800;
	color: #111827;
	margin: 48px 0 20px;
	padding-bottom: 12px;
	border-bottom: 3px solid #f3f4f6;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.tp-blog-single__body h2:first-child {
	margin-top: 0;
}

/* H3 — Sub-sections */
.tp-blog-single__body h3 {
	font-size: 22px;
	font-weight: 700;
	color: #1f2937;
	margin: 36px 0 14px;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

/* H4 */
.tp-blog-single__body h4 {
	font-size: 18px;
	font-weight: 700;
	color: #374151;
	margin: 28px 0 10px;
}

/* Paragraphs — generous spacing */
.tp-blog-single__body p {
	margin-bottom: 24px;
}

/* Strong / bold text */
.tp-blog-single__body strong {
	font-weight: 700;
	color: #111827;
}

/* Lists */
.tp-blog-single__body ul,
.tp-blog-single__body ol {
	margin: 8px 0 28px;
	padding-left: 24px;
}

.tp-blog-single__body ul {
	list-style: none;
	padding-left: 0;
}

.tp-blog-single__body ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	line-height: 1.7;
}

.tp-blog-single__body ul li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 11px;
	width: 8px;
	height: 8px;
	background: var(--brand-primary);
	border-radius: 50%;
	opacity: 0.5;
}

.tp-blog-single__body ol li {
	margin-bottom: 12px;
	line-height: 1.7;
	padding-left: 4px;
}

/* Images in content */
.tp-blog-single__body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 32px 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tp-blog-single__body figure {
	margin: 32px 0;
}

.tp-blog-single__body figcaption {
	text-align: center;
	font-size: 14px;
	color: #9ca3af;
	margin-top: 10px;
}

/* Blockquote — standout callout */
.tp-blog-single__body blockquote {
	position: relative;
	border-left: 4px solid var(--brand-primary);
	padding: 24px 28px;
	margin: 36px 0;
	background: linear-gradient(135deg, #f0f4f8 0%, #f3f4f6 100%);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	font-size: 17px;
	line-height: 1.75;
	color: #4b5563;
}

.tp-blog-single__body blockquote p {
	margin-bottom: 0;
}

.tp-blog-single__body blockquote p + p {
	margin-top: 16px;
}

/* Tables */
.tp-blog-single__body table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 32px 0;
	font-size: 15px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.tp-blog-single__body th,
.tp-blog-single__body td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.tp-blog-single__body th {
	background: #f9fafb;
	font-weight: 700;
	font-size: 13px;
	color: #374151;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tp-blog-single__body tr:last-child td {
	border-bottom: none;
}

.tp-blog-single__body tr:hover td {
	background: #fafbff;
}

/* Links */
.tp-blog-single__body a {
	color: var(--brand-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: all 0.15s;
}

.tp-blog-single__body a:hover {
	color: var(--brand-primary-dark);
	text-decoration-thickness: 2px;
}

/* Horizontal rule */
.tp-blog-single__body hr {
	border: none;
	height: 1px;
	background: #e5e7eb;
	margin: 40px 0;
}

/* WP block separator */
.tp-blog-single__body .wp-block-separator {
	border: none;
	height: 3px;
	background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
	margin: 48px 0;
}

/* Inline code */
.tp-blog-single__body code {
	background: #f3f4f6;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.9em;
	color: #2C5282;
}

/* Preformatted / code blocks */
.tp-blog-single__body pre {
	background: #1f2937;
	color: #e5e7eb;
	padding: 24px;
	border-radius: 10px;
	overflow-x: auto;
	margin: 28px 0;
	font-size: 14px;
	line-height: 1.6;
}

/* Table of Contents (inline) */
.tp-blog-toc {
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: var(--lg);
	margin-bottom: var(--2xl);
}

.tp-blog-toc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
}

.tp-blog-toc__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--gray-900);
}

.tp-blog-toc__chevron {
	transition: transform 0.2s;
}

.tp-blog-toc--collapsed .tp-blog-toc__chevron {
	transform: rotate(-90deg);
}

.tp-blog-toc--collapsed .tp-blog-toc__list {
	display: none;
}

.tp-blog-toc__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: var(--md);
	padding-top: var(--md);
	border-top: 1px solid var(--gray-200);
}

.tp-blog-toc__item {
	font-size: 14px;
	color: var(--gray-600);
	text-decoration: none;
	padding: 5px 0;
	transition: color 0.15s;
}

.tp-blog-toc__item:hover {
	color: var(--brand-primary);
}

.tp-blog-toc__item--h3 {
	padding-left: 20px;
	font-size: 13px;
	color: var(--gray-400);
}

/* Sidebar */
.tp-blog-single__sidebar {
	position: sticky;
	top: 140px;
	align-self: start;
}

/* Sidebar CTA card */
.tp-blog-single__cta-card {
	border: 1px solid var(--gray-200);
	border-radius: 16px;
	text-align: center;
	background: #fff;
	margin-top: 54px;
}

/* Photo circle — overlaps card top via negative margin */
.tp-blog-single__cta-photo {
	display: flex;
	justify-content: center;
	margin-top: -54px;
	margin-bottom: 12px;
}

.tp-blog-single__cta-photo-circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #F5EDD5;
	padding: 4px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.tp-blog-single__cta-photo-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* Card body */
.tp-blog-single__cta-body {
	padding: 16px 22px 24px;
}

.tp-blog-single__cta-title {
	font-size: 19px;
	font-weight: 800;
	color: #111827;
	margin-bottom: 10px;
	line-height: 1.3;
}

.tp-blog-single__cta-text {
	font-size: 13px;
	color: var(--gray-500);
	line-height: 1.65;
	margin-bottom: 16px;
}

.tp-blog-single__cta-text strong {
	color: var(--gray-700);
}

.tp-blog-single__cta-sub {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 14px;
}

.tp-blog-single__cta-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tp-blog-single__cta-input {
	width: 100%;
	border: 1px solid var(--gray-300);
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 14px;
	color: #111827;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.tp-blog-single__cta-input:focus {
	border-color: var(--brand-primary);
}

.tp-blog-single__cta-input::placeholder {
	color: var(--gray-400);
}

.tp-blog-single__cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	background: var(--brand-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.tp-blog-single__cta-btn:hover {
	background: var(--brand-primary-dark, #1544b5);
}

.tp-blog-single__cta-btn:disabled {
	background: #10B981;
	cursor: default;
}

.tp-blog-single__cta-disclaimer {
	font-size: 11px;
	color: var(--gray-400);
	margin-top: 10px;
	line-height: 1.4;
}

.tp-blog-single__cta-disclaimer a {
	color: var(--gray-500);
	text-decoration: underline;
}

/* Related articles */
.tp-blog-single__related {
	background: var(--gray-50);
	padding: var(--3xl) 0;
	border-top: 1px solid var(--gray-200);
}

.tp-blog-single__related-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--xl);
}

/* Mobile responsive */
@media (max-width: 768px) {
	.tp-blog-single__title { font-size: 24px; }
	.tp-blog-single__layout { grid-template-columns: 1fr; gap: var(--xl); }
	.tp-blog-single__sharebar { display: none; }
	.tp-blog-single__sidebar { position: static; }
	.tp-blog-single__body { font-size: 16px; }
	.tp-blog-single__body h2 { font-size: 22px; }
	.tp-blog-single__body h3 { font-size: 18px; }
	.tp-blog-single__cover-img { border-radius: 8px; }
	.tp-blog-single__related .tp-blog-grid--archive { grid-template-columns: 1fr; }
	.tp-blog-single__cta-card { padding: 20px 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
	.tp-blog-single__layout { grid-template-columns: 48px 1fr 220px; gap: 0 24px; }
	.tp-blog-single__title { font-size: 28px; }
}

/* ─── Stats Counter ─────────────────────────────────────── */

.tp-stats-counter {
	background: linear-gradient(135deg, #111827 0%, #0F1E38 50%, #111827 100%);
	padding: var(--2xl) 0;
	position: relative;
	overflow: hidden;
}

.tp-stats-counter__grid {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	text-align: center;
	position: relative;
}

.tp-stats-counter__item {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--md);
	padding: var(--lg) var(--xl);
}

.tp-stats-counter__divider {
	width: 1px;
	height: 40px;
	background: rgba(255,255,255,0.12);
	flex-shrink: 0;
}

.tp-stats-counter__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(27,45,80,0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--brand-primary-light);
}

.tp-stats-counter__icon svg {
	width: 20px;
	height: 20px;
}

.tp-stats-counter__text {
	text-align: left;
}

.tp-stats-counter__num {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.tp-stats-counter__label {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,0.5);
	letter-spacing: 0.2px;
}

@media (max-width: 767px) {
	.tp-stats-counter { padding: var(--lg) 0; }
	.tp-stats-counter__grid { flex-direction: column; gap: 0; }
	.tp-stats-counter__item { padding: var(--md) var(--lg); }
	.tp-stats-counter__divider { width: 50px; height: 1px; }
	.tp-stats-counter__num { font-size: 24px; }
}

/* ─── Trust Section ──────────────────────────────────────── */

.tp-trust-section {
	background: var(--gray-50);
	border-top: 1px solid var(--gray-200);
	border-bottom: 1px solid var(--gray-200);
	padding: var(--2xl) 0;
}

.tp-trust-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--xl);
}

@media (min-width: 768px) {
	.tp-trust-row { grid-template-columns: repeat(3, 1fr); }
}

.tp-trust-signal {
	display: flex;
	align-items: center;
	gap: var(--md);
}

@media (max-width: 767px) {
	.tp-trust-signal { justify-content: center; }
}

.tp-trust-signal__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tp-trust-signal__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-900);
}

.tp-trust-signal__desc {
	font-size: 12px;
	color: var(--gray-500);
	margin-top: 1px;
}

/* ─── Final CTA ──────────────────────────────────────────── */

.tp-final-cta {
	background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1E38 50%, var(--gray-900) 100%);
	padding: var(--5xl) 0;
	position: relative;
	overflow: hidden;
}

.tp-final-cta::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: min(600px, 80vw);
	height: min(600px, 80vw);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(197,160,61,0.1) 0%, transparent 70%);
	pointer-events: none;
}

.tp-final-cta__inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.tp-final-cta__title {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	margin-bottom: var(--md);
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.tp-final-cta__title { font-size: 36px; }
}

.tp-final-cta__desc {
	font-size: 16px;
	color: rgba(255,255,255,0.7);
	margin-bottom: var(--2xl);
	line-height: 1.6;
}

.tp-final-cta__fields {
	display: flex;
	flex-direction: column;
	gap: var(--md);
}

@media (min-width: 640px) {
	.tp-final-cta__fields {
		flex-direction: row;
	}
}

.tp-final-cta__input {
	flex: 1;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: var(--radius-sm);
	background: rgba(255,255,255,0.1);
	color: #fff;
	font-size: 15px;
	backdrop-filter: blur(8px);
	outline: none;
	transition: border-color 0.2s;
}

.tp-final-cta__input::placeholder { color: rgba(255,255,255,0.45); }
.tp-final-cta__input:focus { border-color: rgba(255,255,255,0.5); }

.tp-final-cta__phone-wrap {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: var(--radius-sm);
	backdrop-filter: blur(8px);
	overflow: hidden;
}

.tp-final-cta__phone-prefix {
	padding: 0 0 0 16px;
	color: rgba(255,255,255,0.5);
	font-size: 15px;
	font-weight: 500;
}

.tp-final-cta__input--phone {
	border: none;
	background: transparent;
	border-radius: 0;
	backdrop-filter: none;
	padding-left: var(--sm);
}

.tp-final-cta__submit {
	white-space: nowrap;
	height: 48px;
	font-size: 15px;
	padding: 0 var(--xl);
}

.tp-final-cta__trust {
	display: flex;
	justify-content: center;
	gap: var(--xl);
	margin-top: var(--lg);
	font-size: 12px;
	color: rgba(255,255,255,0.5);
}

.tp-final-cta__trust span {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* ─── Search Results Page ────────────────────────────────── */

.tp-search-page { padding-bottom: var(--3xl); }

.tp-search-header {
	margin-bottom: var(--2xl);
}

.tp-search-header h1 {
	font-size: 24px;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--xs);
}

.tp-search-header p {
	font-size: 14px;
	color: var(--gray-500);
}

/* ─── Search List View ───────────────────────────────────── */

.tp-search-list {
	display: flex;
	flex-direction: column;
	gap: var(--lg);
}

.tp-list-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.tp-list-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border-color: var(--brand-primary-light);
}

.tp-list-card__img {
	position: relative;
	width: 100%;
	height: 200px;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--gray-100);
}

.tp-list-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.tp-list-card:hover .tp-list-card__img img {
	transform: scale(1.03);
}

.tp-list-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray-300);
	background: var(--gray-50);
}

.tp-list-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--brand-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 6px;
}

.tp-list-card__badge--green {
	background: var(--success);
}

.tp-list-card__body {
	padding: var(--lg);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.tp-list-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--md);
}

.tp-list-card__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--gray-900);
	margin: 0;
	line-height: 1.3;
}

.tp-list-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--brand-primary);
	white-space: nowrap;
	flex-shrink: 0;
}

.tp-list-card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.tp-list-card__detail {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--gray-500);
}

.tp-list-card__detail svg {
	flex-shrink: 0;
	color: var(--gray-400);
}

.tp-list-card__detail--rera {
	color: var(--success);
}

.tp-list-card__detail--rera svg {
	color: var(--success);
}

.tp-list-card__desc {
	font-size: 13px;
	color: var(--gray-500);
	line-height: 1.6;
	margin: 0;
}

.tp-list-card__cta {
	font-size: 13px;
	font-weight: 600;
	color: var(--brand-primary);
	margin-top: auto;
}

.tp-list-card:hover .tp-list-card__cta {
	color: var(--brand-primary-dark);
}

/* Desktop: horizontal list card */
@media (min-width: 768px) {
	.tp-list-card {
		flex-direction: row;
	}

	.tp-list-card__img {
		width: 280px;
		height: auto;
		min-height: 200px;
	}

	.tp-list-card__body {
		padding: var(--xl) var(--xl) var(--lg);
	}

	.tp-list-card__title {
		font-size: 19px;
	}

	.tp-list-card__price {
		font-size: 18px;
	}
}

@media (min-width: 1024px) {
	.tp-list-card__img {
		width: 320px;
	}
}

/* ─── Filter Bar (Premium Dark) ─────────────────────────── */

.tp-filter-bar {
	background: #111827;
	padding: 10px 0;
	position: sticky;
	top: 64px;
	z-index: 90;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* ── Row layout ── */

.tp-fb__row {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ── Filter icon + label ── */

.tp-fb__icon {
	display: flex;
	align-items: center;
	gap: 7px;
	color: rgba(255,255,255,0.55);
	font-size: 13px;
	font-weight: 600;
	flex-shrink: 0;
	letter-spacing: 0.01em;
}

.tp-fb__divider {
	width: 1px;
	height: 24px;
	background: rgba(255,255,255,0.12);
	flex-shrink: 0;
	margin: 0 4px;
}

/* ── Filter Dropdown (tp-fd) ── */

.tp-fd {
	position: relative;
	flex-shrink: 0;
}

.tp-fd__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.75);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	font-family: inherit;
	height: 38px;
}

.tp-fd__btn:hover {
	background: rgba(255,255,255,0.11);
	border-color: rgba(255,255,255,0.2);
	color: #fff;
}

.tp-fd__btn.is-active {
	background: rgba(245,158,11,0.15);
	border-color: rgba(245,158,11,0.5);
	color: #FCD34D;
}

.tp-fd__btn-icon {
	display: flex;
	align-items: center;
	opacity: 0.6;
	flex-shrink: 0;
}

.tp-fd__btn.is-active .tp-fd__btn-icon { opacity: 1; }

.tp-fd__chev {
	transition: transform 0.2s;
	opacity: 0.4;
	margin-left: 2px;
}

.tp-fd.is-open .tp-fd__chev {
	transform: rotate(180deg);
	opacity: 0.7;
}

/* ── Panel ── */

.tp-fd__panel {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 260px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid var(--gray-100);
	z-index: 1000;
	overflow: hidden;
}

.tp-fd__panel--wide {
	min-width: min(300px, calc(100vw - 32px));
}

.tp-fd__panel--right {
	left: auto;
	right: 0;
}

.tp-fd.is-open .tp-fd__panel {
	display: block;
	animation: tp-fd-in 0.14s ease-out;
}

@keyframes tp-fd-in {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Panel Header ── */

.tp-fd__head {
	padding: 14px 16px 8px;
	font-size: 10px;
	font-weight: 700;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-bottom: 1px solid var(--gray-100);
}

/* ── Panel Body ── */

.tp-fd__body {
	padding: 8px;
	max-height: 280px;
	overflow-y: auto;
}

/* ── Panel Footer ── */

.tp-fd__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px 12px;
	border-top: 1px solid var(--gray-100);
	background: var(--gray-50);
}

/* ── Radio / Checkbox Options ── */

.tp-fd__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 7px;
	cursor: pointer;
	font-size: 13.5px;
	color: var(--gray-600);
	transition: background 0.1s;
}

.tp-fd__opt:hover { background: var(--gray-50); }

.tp-fd__opt.is-on {
	color: var(--brand-primary);
	background: #EFF6FF;
	font-weight: 600;
}

.tp-fd__opt input[type="radio"],
.tp-fd__opt input[type="checkbox"] {
	width: 15px;
	height: 15px;
	accent-color: var(--brand-primary);
	cursor: pointer;
	flex-shrink: 0;
}

/* ── BHK Chip Options ── */

.tp-fd__body--chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 7px;
	padding: 12px;
}

.tp-fd__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 0;
	border: 1.5px solid var(--gray-200);
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-500);
	transition: all 0.13s;
	user-select: none;
}

.tp-fd__chip input { display: none; }

.tp-fd__chip:hover {
	border-color: var(--brand-primary);
	color: var(--brand-primary);
	background: #EFF6FF;
}

.tp-fd__chip.is-on {
	border-color: var(--brand-primary);
	background: var(--brand-primary);
	color: #fff;
}

/* ── Reset / Apply Buttons ── */

.tp-fd__reset {
	padding: 6px 12px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--gray-400);
	background: none;
	border: none;
	cursor: pointer;
	border-radius: 6px;
	font-family: inherit;
	transition: color 0.15s;
}

.tp-fd__reset:hover { color: #EF4444; }

.tp-fd__apply {
	padding: 7px 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--brand-primary);
	border: none;
	border-radius: 7px;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}

.tp-fd__apply:hover { background: #1440A8; }

/* ── RERA Toggle ── */

.tp-fb__rera {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0 13px;
	height: 38px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,0.6);
	background: rgba(16,185,129,0.07);
	border: 1px solid rgba(16,185,129,0.2);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s;
	flex-shrink: 0;
}

.tp-fb__rera input { display: none; }

.tp-fb__rera:hover {
	color: #34D399;
	border-color: rgba(16,185,129,0.45);
	background: rgba(16,185,129,0.12);
}

.tp-fb__rera.is-active {
	color: #34D399;
	border-color: rgba(16,185,129,0.5);
	background: rgba(16,185,129,0.15);
}

/* ── Sort (pushed to right) ── */

.tp-fd--sort { margin-left: auto; }

.tp-fb__clear ~ .tp-fd--sort,
.tp-fd--sort:not(:last-child) { margin-left: 0; }

/* ── Remove Filters ── */

.tp-fb__clear {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	padding: 0 14px;
	height: 38px;
	font-size: 13px;
	font-weight: 500;
	color: #FCA5A5;
	background: rgba(239,68,68,0.08);
	border: 1px solid rgba(239,68,68,0.25);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s;
	flex-shrink: 0;
	font-family: inherit;
}

.tp-fb__clear:hover {
	color: #fff;
	background: rgba(239,68,68,0.22);
	border-color: rgba(239,68,68,0.5);
}

/* ── Budget Range Slider ── */

.tp-range {
	position: relative;
	width: 100%;
	height: 40px;
	padding: 0 2px;
}

.tp-range__track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gray-200);
	border-radius: 4px;
	transform: translateY(-50%);
}

.tp-range__fill {
	position: absolute;
	height: 100%;
	background: var(--brand-primary);
	border-radius: 4px;
	transition: left 0.04s, width 0.04s;
}

.tp-range__input {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 4px;
	background: transparent;
	pointer-events: none;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	z-index: 2;
	outline: none;
}

.tp-range__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid var(--brand-primary);
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 4px rgba(26,86,219,0.25);
	position: relative;
	z-index: 3;
}

.tp-range__input::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid var(--brand-primary);
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 4px rgba(26,86,219,0.25);
}

.tp-range__labels {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0 2px;
}

.tp-range__val {
	font-size: 14px;
	font-weight: 700;
	color: var(--brand-primary);
}

.tp-range__sep {
	font-size: 12px;
	color: var(--gray-300);
}

/* ── Mobile ── */

@media (max-width: 767px) {
	.tp-filter-bar {
		top: 56px;
		padding: 8px 0;
	}

	.tp-fb__row {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 2px;
	}

	.tp-fb__row::-webkit-scrollbar { display: none; }

	.tp-fb__icon span { display: none; }

	.tp-fd__panel,
	.tp-fd__panel--right,
	.tp-fd__panel--wide {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		min-width: auto;
		border-radius: 18px 18px 0 0;
		max-height: 75vh;
		box-shadow: 0 -8px 32px rgba(0,0,0,0.2);
		animation: tp-slide-up 0.2s ease-out;
	}

	.tp-fd__head {
		padding: 16px 18px 8px;
		font-size: 11px;
	}

	.tp-fd__body {
		padding: 8px 12px;
		max-height: 55vh;
	}

	.tp-fd__foot {
		padding: 12px 18px 24px;
	}

	.tp-fd.is-open::before {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.4);
		z-index: -1;
	}

	.tp-fb__clear span { display: none; }
}

@keyframes tp-slide-up {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

/* ─── Nearby Projects Section ────────────────────────────── */

.tp-nearby {
	padding: var(--3xl) 0 var(--xl);
	background: var(--gray-50);
	border-bottom: 1px solid var(--gray-200);
}

/* Bottom spacing for mobile sticky bar */
body.single-tp_project { padding-bottom: 72px; }
@media (min-width: 1024px) {
	body.single-tp_project { padding-bottom: 0; }
}

/* ─── Global Mobile Responsive Fixes ────────────────────── */

/* Prevent any element from overflowing viewport */
.tp-container,
.tp-main,
.tp-section,
.tp-card,
.tp-pros-cons,
.tp-highlights-strip,
.tp-hp-section .tp-container {
	max-width: 100%;
}

/* Ensure long text wraps properly everywhere */
h1, h2, h3, h4, h5, h6, p, li, td, th, span, a, label {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Mobile: reduce card padding, font sizes */
@media (max-width: 480px) {
	.tp-card { padding: var(--lg); }
	.tp-section h2 { font-size: 18px; line-height: 26px; }
	.tp-pros-cons li { font-size: 13px; }
	.tp-container { padding: 0 var(--md); }
	.tp-hero__content { padding: 0 var(--md); }
	.tp-hero__badge { font-size: 12px; padding: 5px 12px; }
	.tp-hero__subtitle { font-size: 14px; }
	.tp-hero__tabs { gap: 4px; }
	.tp-hero__tab { padding: 6px 12px; font-size: 12px; }
	.tp-hero__search-inner { padding: 4px 4px 4px var(--md); }
	.tp-hero__search-input { font-size: 14px; padding: var(--sm); }
	.tp-hero__locations { font-size: 11px; }
	.tp-hp-section { padding: var(--2xl) 0; }
	.tp-hp-section__title { font-size: 22px; }
	.tp-final-cta { padding: var(--3xl) 0; }
	.tp-final-cta__title { font-size: 22px; }
	.tp-final-cta__desc { font-size: 14px; }
	.tp-final-cta__trust { gap: var(--md); flex-wrap: wrap; justify-content: center; }
	.tp-features { grid-template-columns: 1fr !important; }
	.tp-trust-row { gap: var(--lg); }
	.tp-blog-grid { grid-template-columns: 1fr !important; }
}

/* Ultra-small screens (iPhone SE, old Androids) */
@media (max-width: 360px) {
	:root { --lg: 12px; --xl: 16px; }
	.tp-hero__title { font-size: 22px; }
	.tp-hero__tabs { display: none; }
	.tp-hero__search-btn { padding: 0 var(--md); font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── Chatbot Widget ─────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

/* ── Trigger Button ── */

/* ═══════════════════════════════════════
   Chatbot — Clean avatar style
   ═══════════════════════════════════════ */

.tp-cb-trigger {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.tp-cb-trigger__btn {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 24px rgba(7,94,84,0.4), 0 0 0 0 rgba(18,140,126,0.3);
	transition: all 0.3s;
	position: relative;
	padding: 3px;
	overflow: hidden;
	animation: tp-cb-shadow-pulse 2.5s ease-in-out infinite;
}

.tp-cb-trigger__photo {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
}

.tp-cb-trigger__btn:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 32px rgba(37,211,102,0.5), 0 0 0 0 rgba(18,140,126,0);
	animation: none;
}

/* Outer ripple ring 1 */
.tp-cb-trigger__btn::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2.5px solid rgba(37,211,102,0.5);
	opacity: 0;
	animation: tp-cb-ripple 3s ease-out infinite;
}

/* Outer ripple ring 2 (delayed) */
.tp-cb-trigger__btn::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(18,140,126,0.4);
	opacity: 0;
	animation: tp-cb-ripple 3s ease-out 1.5s infinite;
}

/* Online dot — moved to a wrapper element via extra span in HTML,
   but we keep it as a visual via box-shadow instead */

@keyframes tp-cb-ripple {
	0% { opacity: 0.6; transform: scale(1); }
	100% { opacity: 0; transform: scale(1.6); }
}

@keyframes tp-cb-shadow-pulse {
	0%, 100% { box-shadow: 0 4px 24px rgba(7,94,84,0.4), 0 0 0 0px rgba(18,140,126,0.2); }
	50% { box-shadow: 0 6px 32px rgba(37,211,102,0.45), 0 0 0 8px rgba(18,140,126,0.08); }
}

/* Online dot overlay */
.tp-cb-trigger__online {
	position: absolute;
	bottom: 4px;
	right: 4px;
	width: 14px;
	height: 14px;
	background: #22C55E;
	border: 2.5px solid #fff;
	border-radius: 50%;
	z-index: 2;
	animation: tp-online-blink 2s ease-in-out infinite;
}
@keyframes tp-online-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.tp-cb-trigger__icon--close { display: none; }
.tp-cb-trigger.is-open .tp-cb-trigger__icon--chat { display: none; }
.tp-cb-trigger.is-open .tp-cb-trigger__icon--close { display: block; }
.tp-cb-trigger.is-open .tp-cb-trigger__btn::before { display: none; }
.tp-cb-trigger.is-open .tp-cb-trigger__btn::after { display: none; }
.tp-cb-trigger.is-open .tp-cb-trigger__online { display: none; }
.tp-cb-trigger.is-open .tp-cb-trigger__btn {
	background: var(--brand-primary);
	overflow: visible;
	animation: none;
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* ── Greeting Bubble ── */

.tp-cb-trigger__greeting {
	display: none;
	align-items: center;
	gap: 6px;
	background: #fff;
	padding: 7px 12px;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	font-size: 12px;
	font-weight: 500;
	color: var(--gray-800);
	white-space: nowrap;
	animation: tp-cb-fade-in 0.3s ease-out;
	max-width: 220px;
	white-space: normal;
	line-height: 1.4;
}

.tp-cb-trigger__greeting.is-visible { display: flex; }
.tp-cb-trigger.is-open .tp-cb-trigger__greeting { display: none !important; }

.tp-cb-trigger__close-greeting {
	background: none;
	border: none;
	cursor: pointer;
	padding: 2px;
	color: var(--gray-400);
	display: flex;
}

/* ── Panel ── */

.tp-cb-panel {
	position: fixed;
	bottom: 100px;
	right: 24px;
	width: 380px;
	max-height: 520px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0,0,0,0.18);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 9998;
	opacity: 0;
	transform: translateY(20px) scale(0.95);
	pointer-events: none;
	transition: all 0.25s ease-out;
}

.tp-cb-panel.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

/* ── Header ── */

.tp-cb-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: linear-gradient(135deg, #075E54 0%, #054D44 50%, #128C7E 100%);
	border-bottom: none;
	position: relative;
	overflow: hidden;
}
.tp-cb-header::before {
	content: '';
	position: absolute;
	top: -20px; right: -20px;
	width: 80px; height: 80px;
	background: rgba(255,255,255,0.06);
	border-radius: 50%;
	pointer-events: none;
}

.tp-cb-header__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2.5px solid rgba(255,255,255,0.5);
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	position: relative;
}

.tp-cb-header__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Online dot on header avatar */
.tp-cb-header__avatar::after {
	content: '';
	position: absolute;
	bottom: 1px; right: 1px;
	width: 10px; height: 10px;
	background: #22C55E;
	border: 2px solid #fff;
	border-radius: 50%;
}

.tp-cb-header__info { flex: 1; min-width: 0; }

.tp-cb-header__name {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.tp-cb-header__role {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: rgba(255,255,255,0.75);
}

.tp-cb-header__close {
	margin-left: auto;
	background: rgba(255,255,255,0.12);
	border: none;
	cursor: pointer;
	padding: 6px;
	color: rgba(255,255,255,0.8);
	display: flex;
	align-items: center;
	border-radius: 50%;
	transition: all 0.15s;
	position: relative;
	z-index: 2;
}

.tp-cb-header__close:hover {
	background: rgba(255,255,255,0.25);
	color: #fff;
}

/* ── Messages ── */

.tp-cb-messages {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 240px;
	max-height: 360px;
	background: #fff;
}

.tp-cb-msg { display: flex; }
.tp-cb-msg--bot { justify-content: flex-start; }
.tp-cb-msg--user { justify-content: flex-end; }

.tp-cb-msg__bubble {
	max-width: 85%;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 14px;
}

.tp-cb-msg--bot .tp-cb-msg__bubble {
	background: var(--gray-50, #f9fafb);
	color: var(--gray-800);
	border-bottom-left-radius: 4px;
}

.tp-cb-msg--user .tp-cb-msg__bubble {
	background: #DCF8C6;
	color: #111;
	border-bottom-right-radius: 4px;
}

.tp-cb-msg--in { animation: tp-cb-fade-in 0.3s ease-out; }

@keyframes tp-cb-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ── Chips ── */

.tp-cb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0;
}

.tp-cb-chip {
	padding: 7px 14px;
	border: 1.5px solid var(--gray-200);
	border-radius: 20px;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-700);
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.tp-cb-chip:hover { border-color: #128C7E; color: #075E54; background: #E8F5E9; }

.tp-cb-chip.is-selected { border-color: #075E54; background: #075E54; color: #fff; }

.tp-cb-chip:disabled { cursor: default; opacity: 0.6; }
.tp-cb-chip.is-selected:disabled { opacity: 1; }

/* ── Typing Indicator ── */

.tp-cb-typing {
	display: flex;
	gap: 4px;
	padding: 12px 16px;
	background: var(--gray-50, #f9fafb);
	border-radius: 14px;
	border-bottom-left-radius: 4px;
	width: fit-content;
	animation: tp-cb-fade-in 0.2s ease-out;
}

.tp-cb-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gray-300);
	animation: tp-cb-dot 1.2s ease-in-out infinite;
}

.tp-cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.tp-cb-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes tp-cb-dot {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
	30% { transform: translateY(-5px); opacity: 1; }
}

/* ── Inline Phone Capture ── */

.tp-cb-phone-capture {
	padding: 0 4px;
	margin-top: 4px;
}

.tp-cb-phone-row {
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid var(--gray-200);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.tp-cb-phone-row:focus-within { border-color: #128C7E; }

.tp-cb-phone-prefix {
	padding: 10px 8px 10px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-500);
	white-space: nowrap;
}

.tp-cb-phone-input {
	flex: 1;
	padding: 10px 4px;
	border: none;
	outline: none;
	font-size: 15px;
	font-family: inherit;
	color: var(--gray-900);
	background: transparent;
	min-width: 0;
}

.tp-cb-phone-input::placeholder { color: var(--gray-400); }
.tp-cb-phone-input.is-error { color: #EF4444; }
.tp-cb-phone-input.is-error::placeholder { color: #F87171; }

.tp-cb-phone-send {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #075E54;
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 0 10px 10px 0;
	transition: opacity 0.15s;
	flex-shrink: 0;
}

.tp-cb-phone-send:hover { opacity: 0.85; }
.tp-cb-phone-send:disabled { opacity: 0.5; cursor: default; }

.tp-cb-phone-trust {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--gray-400);
	margin-top: 6px;
	padding-left: 2px;
}

/* ── WhatsApp Link ── */

.tp-cb-wa-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #E7F7ED;
	border-radius: 8px;
	color: #128C7E;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.tp-cb-wa-link:hover { background: #D1F2E0; text-decoration: none; }

/* ── Loan Eligibility Banner ── */

.tp-loan-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: linear-gradient(135deg, #1B2D50 0%, #2C5282 50%, #3B6AA0 100%);
	border-radius: var(--radius-lg, 12px);
	margin-top: 32px;
	color: #fff;
}

.tp-loan-banner__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,0.15);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-loan-banner__content { flex: 1; }

.tp-loan-banner__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.tp-loan-banner__text {
	font-size: 13px;
	opacity: 0.85;
	margin-top: 4px;
	line-height: 1.4;
}

.tp-loan-banner__btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background: #fff;
	color: #1B2D50;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
	white-space: nowrap;
}
.tp-loan-banner__btn:hover { background: #f0f4f8; }

@media (max-width: 600px) {
	.tp-loan-banner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
		padding: 20px;
	}
	.tp-loan-banner__btn { width: 100%; justify-content: center; }
}

/* ── Chatbot Menu Buttons ── */

.tp-cb-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 4px 0;
}

.tp-cb-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	background: #fff;
	border: 1.5px solid #3a8a7c;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #1f2937;
	cursor: pointer;
	text-align: center;
	font-family: inherit;
	transition: all 0.15s;
	white-space: nowrap;
}
.tp-cb-menu-btn:hover {
	background: #f0faf8;
	border-color: #2d7a6d;
	color: #2d7a6d;
}
.tp-cb-menu-btn.is-selected {
	background: #3a8a7c;
	border-color: #3a8a7c;
	color: #fff;
}
.tp-cb-menu-btn:disabled {
	cursor: default;
	opacity: 0.5;
}
.tp-cb-menu-btn.is-selected:disabled { opacity: 1; }

/* ── Chatbot Date Picker ── */

.tp-cb-date-picker {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 4px 0 8px;
	-webkit-overflow-scrolling: touch;
}
.tp-cb-date-picker::-webkit-scrollbar { display: none; }

.tp-cb-date-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 64px;
	padding: 10px 8px;
	background: #fff;
	border: 1px solid var(--gray-200, #e5e7eb);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
	flex-shrink: 0;
}
.tp-cb-date-btn:hover {
	border-color: var(--brand-primary);
	background: var(--brand-primary-bg, #EBF5FF);
}
.tp-cb-date-btn.is-selected {
	border-color: var(--brand-primary);
	background: var(--brand-primary);
	color: #fff;
}
.tp-cb-date-btn:disabled {
	cursor: default;
	opacity: 0.5;
}
.tp-cb-date-btn.is-selected:disabled { opacity: 1; }

.tp-cb-date-btn__day {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--gray-500);
}
.tp-cb-date-btn.is-selected .tp-cb-date-btn__day { color: rgba(255,255,255,0.8); }

.tp-cb-date-btn__date {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-800, #1f2937);
}
.tp-cb-date-btn.is-selected .tp-cb-date-btn__date { color: #fff; }

/* ── Mobile: Full-screen ── */

@media (max-width: 767px) {
	.tp-cb-trigger { bottom: 76px; right: 16px; }
	.tp-cb-trigger__btn { width: 60px; height: 60px; }
	.tp-cb-trigger__greeting { font-size: 11px; padding: 6px 10px; max-width: 180px; }

	.tp-cb-panel {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.tp-cb-panel.is-open {
		transform: translateY(0) scale(1);
	}

	.tp-cb-messages {
		max-height: none;
		flex: 1;
		min-height: 0;
	}

	/* Hide trigger when panel is open on mobile */
	.tp-cb-trigger.is-open .tp-cb-trigger__btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Category-Specific PDP Sections — Detail Table, PG, Plot
   ═══════════════════════════════════════════════════════════ */

/* Detail Table (used by Rental, Commercial, Plot) */
.tp-detail-table {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}
.tp-detail-table__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #f3f4f6;
}
.tp-detail-table__row:last-child { border-bottom: none; }
.tp-detail-table__row:nth-child(even) { background: #f9fafb; }
.tp-detail-table__label {
	font-size: 0.875rem;
	color: #6b7280;
	font-weight: 500;
}
.tp-detail-table__value {
	font-size: 0.875rem;
	color: #111827;
	font-weight: 600;
	text-align: right;
}
.tp-detail-table__value--highlight {
	color: #1B2D50;
	font-size: 1rem;
}

/* Furnishing Details (Rental) */
.tp-furnishing-details {
	margin-top: 1.5rem;
	padding: 16px 20px;
	background: #f0f5ff;
	border-radius: 10px;
	border: 1px solid #dbeafe;
}
.tp-furnishing-details h3 {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1B2D50;
	margin: 0 0 8px;
}
.tp-furnishing-details p {
	font-size: 0.85rem;
	color: #374151;
	line-height: 1.6;
	margin: 0;
}

/* PG Badges */
.tp-pg-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 1.25rem;
}

/* PG Sharing Cards */
.tp-pg-sharing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}
.tp-pg-sharing-card {
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: border-color 0.2s;
}
.tp-pg-sharing-card:hover {
	border-color: #1B2D50;
}
.tp-pg-sharing-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1B2D50, #2C5282);
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}
.tp-pg-sharing-card__label {
	font-size: 0.8rem;
	color: #6b7280;
	font-weight: 500;
	margin-bottom: 4px;
}
.tp-pg-sharing-card__price {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
}
.tp-pg-sharing-card__price span {
	font-size: 0.8rem;
	color: #9ca3af;
	font-weight: 500;
}

/* PG Facilities Grid */
.tp-pg-facilities {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}
.tp-pg-facility {
	display: flex;
	flex-direction: column;
	padding: 14px 16px;
	background: #f9fafb;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}
.tp-pg-facility__label {
	font-size: 0.75rem;
	color: #9ca3af;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}
.tp-pg-facility__value {
	font-size: 0.875rem;
	color: #111827;
	font-weight: 600;
}

/* PG Rules */
.tp-pg-rules {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.tp-pg-rule {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}
.tp-pg-rule__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tp-pg-rule__icon--yes {
	background: #d1fae5;
	color: #059669;
}
.tp-pg-rule__icon--no {
	background: #fee2e2;
	color: #dc2626;
}
.tp-pg-rule__label {
	font-size: 0.8rem;
	color: #6b7280;
	display: block;
}
.tp-pg-rule__value {
	font-size: 0.9rem;
	color: #111827;
	font-weight: 600;
	display: block;
}

/* Plot Utility Grid */
.tp-utility-grid {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.tp-utility-grid__item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.tp-utility-grid__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tp-utility-grid__icon--yes {
	background: #d1fae5;
	color: #059669;
}
.tp-utility-grid__icon--no {
	background: #fee2e2;
	color: #dc2626;
}
.tp-utility-grid__label {
	font-size: 0.875rem;
	color: #374151;
	font-weight: 500;
}

/* Mobile Responsive — Category Sections */
@media (max-width: 640px) {
	.tp-detail-table__row {
		padding: 12px 16px;
	}
	.tp-detail-table__label,
	.tp-detail-table__value {
		font-size: 0.8rem;
	}
	.tp-pg-sharing-cards {
		grid-template-columns: 1fr;
	}
	.tp-pg-facilities {
		grid-template-columns: 1fr 1fr;
	}
	.tp-pg-rules {
		grid-template-columns: 1fr;
	}
}


/* ═══════════════════════════════════════════════════════════
   Archive / Search / Taxonomy listing pages
   ─────────────────────────────────────────────────────────── */

/* Page wrapper */
.tp-archive-page {
	padding-bottom: var(--3xl);
}

/* Breadcrumbs bar */
.tp-archive-breadcrumbs {
	background: var(--gray-50);
	border-bottom: 1px solid var(--gray-200);
	padding: 10px 0;
	font-size: 13px;
	color: var(--gray-500);
}
.tp-archive-breadcrumbs a {
	color: var(--gray-500);
	text-decoration: none;
}
.tp-archive-breadcrumbs a:hover { color: var(--brand-primary); }
.tp-archive-breadcrumbs .tp-sep { margin: 0 6px; }

/* Re-search bar (search.php) */
.tp-archive-search-form {
	margin: var(--xl) 0 var(--lg);
}
.tp-archive-search-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1.5px solid var(--gray-200);
	border-radius: 10px;
	padding: 8px 8px 8px 16px;
	max-width: 640px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.tp-archive-search-inner svg {
	flex-shrink: 0;
	color: var(--gray-400);
}
.tp-archive-search-input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 14px;
	color: var(--gray-900);
	background: transparent;
}
.tp-archive-search-input::placeholder { color: var(--gray-400); }

/* Page header */
.tp-archive-header {
	margin: var(--xl) 0 var(--lg);
}
.tp-archive-header h1 {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 6px;
}
.tp-archive-header__sub {
	font-size: 14px;
	color: var(--gray-500);
}

/* Card list */
.tp-lp-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: var(--2xl);
}

/* ─── Listing Card ─────────────────────────────────────────── */

.tp-lp-card {
	display: flex;
	flex-direction: row;
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}
.tp-lp-card:hover {
	box-shadow: 0 6px 28px rgba(26, 86, 219, 0.1);
	border-color: var(--brand-primary-light);
	transform: translateY(-2px);
}

/* Image panel */
.tp-lp-card__img-link {
	display: block;
	width: 42%;
	flex-shrink: 0;
	text-decoration: none;
}
.tp-lp-card__img {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 240px;
	overflow: hidden;
	background: var(--gray-100);
}
.tp-lp-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}
.tp-lp-card:hover .tp-lp-card__img img {
	transform: scale(1.04);
}
.tp-lp-card__img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray-300);
	background: var(--gray-50);
}
.tp-lp-card__img-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--brand-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	letter-spacing: 0.2px;
}
.tp-lp-card__img-badge--green {
	background: var(--success);
}

/* Content panel */
.tp-lp-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
}

/* 1. Price */
.tp-lp-card__price {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.3px;
	line-height: 1.1;
}

/* 2. Title row */
.tp-lp-card__title-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.tp-lp-card__dev-logo {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid var(--gray-100);
	flex-shrink: 0;
	margin-top: 2px;
}
.tp-lp-card__title-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.tp-lp-card__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--gray-900);
	text-decoration: none;
	line-height: 1.25;
	display: block;
}
.tp-lp-card__title:hover { color: var(--brand-primary); }
.tp-lp-card__dev {
	font-size: 12.5px;
	color: var(--gray-500);
}

/* 3. Tagline */
.tp-lp-card__tagline {
	font-size: 13px;
	color: var(--gray-600);
	line-height: 1.45;
	margin: 0;
}

/* 4. Pills */
.tp-lp-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tp-lp-card__pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11.5px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 20px;
	line-height: 1;
	white-space: nowrap;
}
.tp-lp-card__pill svg { flex-shrink: 0; }

.tp-lp-card__pill--neutral {
	background: var(--gray-100);
	color: var(--gray-600);
}
.tp-lp-card__pill--success {
	background: #D1FAE5;
	color: #065F46;
}
.tp-lp-card__pill--blue {
	background: #E2E8F0;
	color: #1B2D50;
}
.tp-lp-card__pill--amber {
	background: #F5EDD5;
	color: #6B5520;
}

/* 5. Overview toggle */
.tp-lp-card__overview {
	border-top: 1px solid var(--gray-100);
	padding-top: 8px;
}
.tp-lp-card__overview-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--brand-primary);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
.tp-lp-card__overview-toggle:hover { text-decoration: underline; }
.tp-lp-card__chevron {
	transition: transform 0.2s;
}
.tp-lp-card__overview-toggle[aria-expanded="true"] .tp-lp-card__chevron {
	transform: rotate(180deg);
}
.tp-lp-card__overview-text {
	display: none;
	font-size: 13px;
	color: var(--gray-600);
	line-height: 1.55;
	margin: 8px 0 0;
}
.tp-lp-card__overview-text.is-open {
	display: block;
}

/* 6. Footer */
.tp-lp-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--gray-100);
}
.tp-lp-card__ctas {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.tp-lp-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	border: none;
	white-space: nowrap;
}
.tp-lp-card__btn--outline {
	background: #fff;
	color: var(--brand-primary);
	border: 1.5px solid var(--brand-primary);
}
.tp-lp-card__btn--outline:hover {
	background: var(--brand-primary);
	color: #fff;
}
.tp-lp-card__btn--primary {
	background: var(--brand-primary);
	color: #fff;
	border: 1.5px solid var(--brand-primary);
}
.tp-lp-card__btn--primary:hover {
	background: var(--brand-primary-dark, #1440A8);
}
.tp-lp-card__rera {
	font-size: 11px;
	color: var(--gray-400);
	white-space: nowrap;
	letter-spacing: 0.2px;
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 767px) {
	.tp-lp-card {
		flex-direction: column;
	}
	.tp-lp-card__img-link {
		width: 100%;
	}
	.tp-lp-card__img {
		min-height: 200px;
		height: 220px;
	}
	.tp-lp-card__body {
		padding: 16px;
		gap: 8px;
	}
	.tp-lp-card__price {
		font-size: 18px;
	}
	.tp-lp-card__title {
		font-size: 15px;
	}
	.tp-lp-card__footer {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.tp-lp-card__img-link {
		width: 38%;
	}
	.tp-lp-card__body {
		padding: 18px;
	}
}