/**
 * Manx Rent – Single property detail polish (Homeo Layout v1).
 */

.manx-property-detail-polish {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Gallery / hero */
.manx-property-detail-polish .property-gallery,
.manx-property-detail-polish .tabs-gallery,
.manx-property-detail-polish .property-gallery-wrapper {
	border-radius: 0;
	overflow: hidden;
}

.manx-property-detail-polish .property-gallery img,
.manx-property-detail-polish .slick-slide img {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.manx-property-detail-polish .property-gallery .slick-slide:hover img {
	transform: scale(1.02);
}

/* Header: title + price highlight */
.manx-property-detail-polish .property-single-header,
.manx-property-detail-polish .property-header {
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8eef2;
}

.manx-property-detail-polish .property-single-header h1,
.manx-property-detail-polish .property-title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 12px;
}

.manx-property-detail-polish .property-price,
.manx-property-detail-polish .listing-price {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #ff5a5f;
}

.manx-property-detail-polish .property-metas,
.manx-property-detail-polish .property-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	font-size: 15px;
	color: #5c6b7a;
}

.manx-property-detail-polish .property-metas i,
.manx-property-detail-polish .property-meta i {
	color: #ff5a5f;
	margin-right: 6px;
}

/* Content sections */
.manx-property-detail-polish #property-single-details > .widget,
.manx-property-detail-polish .property-section,
.manx-property-detail-polish .property-detail-section {
	margin-bottom: 36px;
	padding: 28px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(32, 32, 64, 0.04);
}

.manx-property-detail-polish .property-section h3,
.manx-property-detail-polish .widget-title,
.manx-property-detail-polish #property-single-details h2 {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f3f6;
}

/* Details table */
.manx-property-detail-polish .property-detail-list li,
.manx-property-detail-polish .list li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f3f6;
}

.manx-property-detail-polish .property-detail-list li:last-child {
	border-bottom: 0;
}

/* Amenities & materials */
.manx-property-detail-polish .amenities-list li,
.manx-property-detail-polish .property-amenities li {
	padding: 8px 0;
	transition: color 0.2s ease;
}

.manx-property-detail-polish .amenities-list li:hover {
	color: #ff5a5f;
}

/* Floor plans */
.manx-property-detail-polish .floor-plans-item,
.manx-property-detail-polish .floor-plan-item {
	border-radius: 10px;
	border: 1px solid #e8eef2;
	overflow: hidden;
	margin-bottom: 16px;
	transition: box-shadow 0.3s ease;
}

.manx-property-detail-polish .floor-plans-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Map */
.manx-property-detail-polish #property-map,
.manx-property-detail-polish .property-map-wrapper,
.manx-property-detail-polish .leaflet-container {
	border-radius: 12px;
	overflow: hidden;
	min-height: 320px;
}

/* Video / virtual tour tabs */
.manx-property-detail-polish .nav-tabs-property li a {
	border-radius: 8px 8px 0 0;
	font-weight: 600;
	transition: color 0.2s ease, background 0.2s ease;
}

.manx-property-detail-polish .nav-tabs-property li.active a {
	color: #ff5a5f;
}

/* Sticky sidebar: contact, mortgage, agent */
.manx-property-detail-polish .sidebar-property .sidebar {
	position: sticky;
	top: calc(var(--manx-header-height, 90px) + 16px);
	align-self: flex-start;
}

.manx-property-detail-polish .sidebar-property .widget {
	margin-bottom: 20px;
	padding: 22px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(32, 32, 64, 0.06);
}

.manx-property-detail-polish .sidebar-property .widget-title {
	font-size: 1.1rem;
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 16px;
}

.manx-property-detail-polish .sidebar-property .form-control {
	border-radius: 8px;
	min-height: 44px;
}

.manx-property-detail-polish .sidebar-property .btn-theme {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manx-property-detail-polish .sidebar-property .btn-theme:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255, 90, 95, 0.35);
}

/* Related properties carousel */
.manx-property-detail-polish .property-related,
.manx-property-detail-polish .related-properties {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #e8eef2;
}

.manx-property-detail-polish .property-related .property-item {
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	border-radius: 12px;
}

.manx-property-detail-polish .property-related .property-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 36px rgba(32, 32, 64, 0.1);
}

/* Section reveal */
.manx-property-detail-polish .manx-detail-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.manx-property-detail-polish .manx-detail-reveal.manx-in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Mobile */
@media (max-width: 991px) {
	.manx-property-detail-polish .sidebar-property .sidebar {
		position: static;
	}

	.manx-property-detail-polish #property-single-details > .widget,
	.manx-property-detail-polish .property-section {
		padding: 20px 16px;
		margin-bottom: 24px;
	}

	.manx-property-detail-polish .manx-mobile-enquiry-bar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 10040;
		padding: 12px 16px;
		background: #fff;
		border-top: 1px solid #e8eef2;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
		gap: 10px;
	}

	.manx-property-detail-polish .manx-mobile-enquiry-bar a,
	.manx-property-detail-polish .manx-mobile-enquiry-bar button {
		flex: 1;
		text-align: center;
		padding: 12px;
		border-radius: 8px;
		font-weight: 600;
		font-size: 14px;
		border: 0;
		cursor: pointer;
	}

	.manx-property-detail-polish .manx-mobile-enquiry-bar .btn-contact {
		background: #ff5a5f;
		color: #fff;
	}

	.manx-property-detail-polish .manx-mobile-enquiry-bar .btn-sidebar {
		background: #202040;
		color: #fff;
	}

	.manx-property-detail-polish {
		padding-bottom: 72px;
	}
}

@media (min-width: 992px) {
	.manx-property-detail-polish .manx-mobile-enquiry-bar {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.manx-property-detail-polish .manx-detail-reveal,
	.manx-property-detail-polish .property-item,
	.manx-property-detail-polish .property-gallery img {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
