/* Modern Single Property Page Stylesheet (Matched to Detailed Reference Screenshot) */

.uxd-single-property-wrapper {
	width: 100%;
	background-color: #f8fafc;
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	padding-bottom: 60px;
}

.uxd-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 1. 5-Photo Split Hero Grid */
.uxd-hero-gallery-container {
	position: relative;
	max-width: 1280px;
	margin: 20px auto 24px auto;
	padding: 0 20px;
}

.uxd-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	height: 480px;
	border-radius: 16px;
	overflow: hidden;
	background: #0f172a;
}

.uxd-hero-main-photo,
.uxd-hero-sub-photo {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.uxd-hero-main-photo img,
.uxd-hero-sub-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.uxd-hero-main-photo:hover img,
.uxd-hero-sub-photo:hover img {
	transform: scale(1.03);
}

.uxd-hero-sub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
}

.uxd-btn-all-photos {
	position: absolute;
	bottom: 20px;
	right: 40px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s ease;
	z-index: 10;
}

.uxd-btn-all-photos:hover {
	background: rgba(15, 23, 42, 0.98);
}

.uxd-icon-grid {
	width: 16px;
	height: 16px;
	fill: #ffffff;
}

/* 2. Header Title Bar & Quick Stats */
.uxd-single-header-bar {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 24px 0;
	margin-bottom: 0;
}

.uxd-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.uxd-single-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 6px 0;
	color: #0f172a;
	letter-spacing: 0.3px;
}

.uxd-single-city-state {
	color: #64748b;
	font-size: 14px;
	margin: 0;
}

.uxd-header-stats-row {
	display: flex;
	align-items: center;
	gap: 20px;
}

.uxd-stat-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-right: 20px;
	border-right: 1px solid #e2e8f0;
}

.uxd-stat-box:last-child {
	border-right: none;
}

.uxd-stat-val {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
}

.uxd-stat-lbl {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
	text-transform: uppercase;
}

.uxd-price-box .uxd-stat-val {
	color: #2563eb;
}

.uxd-btn-tour {
	background: #2563eb;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	display: inline-block;
}

.uxd-btn-tour:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	color: #ffffff;
}

/* 3. Sticky Sub-Nav Tabs */
.uxd-sticky-nav-bar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	margin-bottom: 32px;
}

.uxd-nav-tabs {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 14px 0;
	overflow-x: auto;
}

.uxd-nav-tabs li a {
	color: #64748b;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: color 0.2s ease;

}

.uxd-nav-tabs li.active a,
.uxd-nav-tabs li a:hover {
	color: #2563eb;
}

/* 4. Two Column Layout */
.uxd-content-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
}

@media (max-width: 992px) {
	.uxd-content-grid {
		grid-template-columns: 1fr;
	}
}

.uxd-section-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 28px;
	margin-bottom: 28px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.uxd-section-card h2 {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 20px 0;
	color: #0f172a;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 12px;
}

.uxd-remarks-text {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
}

/* Property Details Grid */
.uxd-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 24px;
}

.uxd-detail-item {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 1px dashed #e2e8f0;
	font-size: 14px;
}

.uxd-dt-label {
	color: #64748b;
	font-weight: 500;
}

.uxd-dt-val {
	color: #0f172a;
	font-weight: 700;
}

/* Features Checklist */
.uxd-features-checklist {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.uxd-feature-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	font-weight: 500;
}

.uxd-check-icon {
	width: 22px;
	height: 22px;
	background: #dcfce7;
	color: #16a34a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 12px;
}

/* Mortgage Calculator */
.uxd-mortgage-flex {
	display: flex;
	gap: 32px;
	align-items: center;
	flex-wrap: wrap;
}

.uxd-donut-chart {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 10px solid #3b82f6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
}

.uxd-donut-chart span {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
}

.uxd-donut-chart small {
	font-size: 11px;
	color: #64748b;
}

.uxd-mortgage-inputs-grid {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.uxd-calc-group label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 4px;
}

.uxd-calc-group input,
.uxd-calc-group select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
}

/* Full Gallery Grid */
.uxd-full-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.uxd-gallery-item {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
}

.uxd-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* IDX Disclaimer Box */
.uxd-idx-disclaimer-box {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.6;
}

/* 5. Right Sticky Sidebar */
.uxd-right-sidebar {
	position: relative;
}

.uxd-sticky-sidebar-wrapper {
	position: sticky;
	top: 80px;
}

.uxd-agent-profile-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.uxd-agent-header {
	display: flex;
	gap: 16px;
	align-items: center;
}

.uxd-agent-headshot {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
}

.uxd-agent-meta h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px 0;
	color: #0f172a;
}

.uxd-agent-title {
	font-size: 12px;
	color: #64748b;
	margin: 0 0 6px 0;
}

.uxd-agent-phone {
	font-size: 13px;
	font-weight: 700;
	color: #2563eb;
	margin: 0;
}

/* Sidebar Contact Form */
.uxd-sidebar-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.uxd-sidebar-form-card h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: #0f172a;
}

.uxd-form-field {
	margin-bottom: 14px;
}

.uxd-form-field input,
.uxd-form-field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
}

.uxd-btn-submit-tour {
	width: 100%;
	background: #2563eb;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	margin-bottom: 10px;
}

.uxd-btn-req-info {
	width: 100%;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	font-size: 14px;
	padding: 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
}
