/**
 * Property Listing Frontend Styles
 */

/* Body Background */
body.single-pl_property,
body.post-type-archive-pl_property,
body.single-pl_property .site-main,
body.post-type-archive-pl_property .site-main,
body.single-pl_property .content-area,
body.post-type-archive-pl_property .content-area,
body .pl-property-listing {
	background: #fff;
}
body.single-pl_property #primary{
	margin-top: 0px;
}
/* Main Container */
.pl-property-listing {
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
}

/* Header Section */
.pl-property-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 30px;
	padding: 30px 0px;
	background: #fff;
	border-radius: 8px;
}

.pl-header-left {
	flex: 1;
}

.pl-property-title {
	font-size: 32px;
	font-weight: 700;
	color: #222;
}

.pl-property-address {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #222;
}

.pl-header-right {
	text-align: right;
}

.pl-property-cost {
	margin-bottom: 20px;
}

.pl-cost-label {
	display: block;
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.pl-cost-amount {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #2c3e50;
}

.pl-contact-btn {
	padding: 12px 30px;
	background: #0080ff;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.pl-contact-btn:hover {
	background: #0066cc;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 128, 255, 0.3);
}

.pl-icon {
	font-size: 18px;
}

/* Image Gallery Section */
.pl-property-image-gallery {
	display: grid;
	grid-template-columns: 790px 400px;
	gap: 8px;
	margin-bottom: 40px;
	max-height: 400px;
}

.pl-gallery-cover-image {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
}

.pl-gallery-cover-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pl-gallery-right-section {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 8px;
	height: 100%;
}

.pl-gallery-featured-image {
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
	min-height: 0;
}

.pl-gallery-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pl-gallery-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.pl-gallery-btn,
.pl-floor-plan-btn {
	padding: 20px;
	background: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 120px;
}

.pl-gallery-btn-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.pl-gallery-btn .pl-gallery-icon,
.pl-gallery-btn .pl-gallery-text,
.pl-gallery-btn .pl-gallery-count {
	position: relative;
	z-index: 2;
}

.pl-gallery-btn:hover,
.pl-floor-plan-btn:hover {
	border-color: #0080ff;
}

.pl-gallery-btn:hover .pl-gallery-btn-overlay {
	background: rgba(0, 0, 0, 0.5);
}

.pl-gallery-icon,
.pl-floor-plan-icon {
	font-size: 32px;
}

.pl-gallery-text,
.pl-floor-plan-text {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.pl-gallery-btn .pl-gallery-text {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pl-gallery-count {
	font-size: 12px;
	color: #666;
}

.pl-gallery-btn .pl-gallery-count {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	font-weight: 600;
}

/* Content Layout */
.pl-property-content {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 16px;
	background: #fff;
}

.pl-property-main {
	display: flex;
	flex-direction: column;
	gap: 30px;
	background: #fff;
}

.pl-property-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
	background: #fff;
}

/* Section Styles */

.pl-section-title {
	font-size: 18px;
	font-weight: 700;
	margin: 24px 0 32px;
	color: #2c3e50;
	padding-bottom: 10px;
}

.pl-apartment-details .pl-section-title {
	margin-bottom: 0px;
}

.pl-section.pl-amenities .pl-section-title,
.pl-section.pl-location .pl-section-title {
	border-bottom: none;
	margin-bottom: 24px;
	padding-bottom: 0px;
}

.pl-subsection-title {
	font-size: 20px;
	font-weight: 600;
	margin: 20px 0 15px 0;
	color: #333;
}

/* Apartment Details */
.pl-bhk-summary {
	display: flex;
	flex-direction: row;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid #d8d8d8;
}

.pl-bhk-summary-item {
	width: 210px;
	height: 118px;
	padding: 12px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.pl-bhk-summary-type {
	font-size: 16px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 8px;
    padding-bottom: 8px;
	border-bottom: 1px dashed #d8d8d8;
}

.pl-bhk-summary-details {
	display: flex;
	flex-direction: column;
}

.pl-summary-label {
	font-size: 12px;
	color: #434343;
	font-weight: 500;
	margin-bottom: 0;
	line-height: 16px;
}

.pl-summary-value {
	font-size: 12px;
	font-weight: 500;
	color: #434343;
	line-height: 16px;
}

.pl-summary-price {
	font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 16px;
	margin-top: 8px;
}

.pl-bhk-selector-wrapper {
	margin-bottom: 20px;
}

/* Floor Plans and Pricing */


.pl-floor-plans-pricing-wrapper .pl-bhk-type-selector {
	margin-top: 20px;
}

.pl-floor-plan-group {
	display: none;
}

.pl-floor-plan-group.active {
	display: block;
	animation: fadeIn 0.3s ease;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	padding: 20px;
}

.pl-all-sizes-text {
	font-size: 14px;
	color: #666;
	margin: 16px 0px;
}

.pl-area-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.pl-area-tab {
	padding: 10px 20px;
	background: #fff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	transition: all 0.3s ease;
}

.pl-area-tab:hover {
	background: #f5f5f5;
	border-bottom-color: #d8d8d8;
	color: #333;
}

.pl-area-tab.active {
	background: #fff;
	border: none;
	border-bottom: 1px solid #333;
	color: #333;
	font-weight: 700;
}

.pl-floor-plan-content {
	position: relative;
	min-height: 300px;
}

.pl-area-content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.pl-area-content.active {
	display: block;
}

.pl-floor-plan-image-wrapper {
	margin-bottom: 30px;
	text-align: center;
}

.pl-floor-plan-image-wrapper img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pl-pricing-details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pl-pricing-item {
	padding: 15px;
	font-size: 12px;
}

.pl-pricing-rate,
.pl-pricing-builtup,
.pl-pricing-cost {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pl-pricing-label {
	font-size: 12px;
	color: #767676;
	font-weight: 500;
}

.pl-pricing-value {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
}

.pl-bhk-type-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	padding-bottom: 20px;
}

.pl-bhk-type-btn {
	padding: 12px 24px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	min-width: 150px;
}

.pl-bhk-type-btn:hover {
	background: #e6f2ff;
	border-color: #0080ff;
	color: #0080ff;
}

.pl-bhk-type-btn.active {
	background: #0080ff;
	border-color: #0080ff;
	color: #fff;
}

.pl-bhk-count {
	font-size: 12px;
	font-weight: 400;
	opacity: 0.8;
}

.pl-bhk-type-btn.active .pl-bhk-count {
	opacity: 1;
}

.pl-bhk-configs-container {
	position: relative;
	min-height: 200px;
}

.pl-bhk-config-group {
	display: none;
	animation: fadeIn 0.3s ease;
}

.pl-bhk-config-group.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pl-bhk-group-title {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0080ff;
}

.pl-bhk-configs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.pl-bhk-item {
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.pl-bhk-floor-plan {
	margin-bottom: 15px;
}

.pl-bhk-floor-plan img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}

.pl-bhk-header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid #ddd;
}

.pl-bhk-type {
	font-size: 20px;
	font-weight: 700;
	color: #2c3e50;
}

.pl-bhk-rate {
	font-size: 16px;
	color: #0080ff;
	font-weight: 600;
}

.pl-rate-unit {
	font-size: 12px;
	font-weight: 400;
	color: #666;
}

.pl-bhk-details {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pl-bhk-detail-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.pl-bhk-detail-item:last-child {
	border-bottom: none;
}

.pl-detail-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.pl-detail-value {
	font-size: 15px;
	font-weight: 600;
	color: #2c3e50;
}

/* Floor Plans */
.pl-floor-plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.pl-floor-plan-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	background: #fff;
}

.pl-floor-plan-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 15px 0;
	color: #2c3e50;
}

.pl-floor-plan-image {
	margin-bottom: 15px;
}

.pl-floor-plan-image img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}

.pl-floor-plan-pricing {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

/* Amenities */
.pl-amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.pl-amenity-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 24px 8px 16px;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	text-align: center;
	transition: transform 0.2s ease;
}

.pl-amenity-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pl-amenity-item.pl-amenity-hidden {
	display: none;
}

.pl-amenity-item.pl-amenity-visible {
	display: flex !important;
}

.pl-amenity-icon {
	margin-bottom: 10px;
}

.pl-amenity-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.pl-amenity-name {
	font-size: 14px;
	color: #333;
	font-weight: 500;
	margin-bottom: 4px;
}

.pl-amenity-distance {
	font-size: 12px;
	color: #666;
	font-weight: 400;
}

.pl-show-more-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 24px 8px 16px;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.pl-show-more-btn:hover {
	background: #f8f9fa;
	border-color: #0080ff;
	color: #0080ff;
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Location & Nearby Attractions */
.pl-nearby-attractions {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.pl-nearby-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: #fff;
	border-radius: 8px;
}

.pl-nearby-icon {
	flex-shrink: 0;
}

.pl-nearby-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.pl-nearby-info {
	flex: 1;
}

.pl-nearby-name {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 5px;
}

.pl-nearby-distance {
	font-size: 14px;
	color: #666;
}

/* Developer */
.pl-developer-info {
	display: flex;
	gap: 20px;
	background: #fff;
	border-radius: 8px;
}

.pl-developer-logo {
	flex-shrink: 0;
}

.pl-developer-logo img {
	max-width: 120px;
	height: auto;
	border-radius: 5px;
}

.pl-developer-details {
	flex: 1;
}

.pl-developer-name {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #2c3e50;
}

.pl-developer-description {
	font-size: 14px;
	line-height: 1.8;
	color: #666;
}

/* Marketed By */
.pl-marketed-by-info {
	display: flex;
	gap: 20px;
	background: #fff;
	border-radius: 8px;
}

.pl-marketed-by-logo {
	flex-shrink: 0;
}

.pl-marketed-by-logo img {
	max-width: 120px;
	height: auto;
	border-radius: 5px;
}

.pl-marketed-by-details {
	flex: 1;
}

.pl-marketed-by-name {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #2c3e50;
}

.pl-marketed-by-description {
	font-size: 14px;
	line-height: 1.8;
	color: #666;
}

/* Contact Form */
.pl-contact-form {
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* No Data Message */
.pl-no-data {
	color: #999;
	font-style: italic;
	padding: 15px;
	text-align: center;
	background: #fff;
	border-radius: 5px;
}

/* Archive/List View */
.page-header {
	margin-bottom: 30px;
}

.page-title {
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 20px;
}

.pl-properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.pl-property-item {
	border: 1px solid #ddd;
	overflow: hidden;
	background: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pl-property-thumbnail {
	width: 100%;
	overflow: hidden;
}

.pl-property-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.pl-property-item:hover .pl-property-thumbnail img {
	transform: scale(1.05);
}

.pl-property-title a {
	color: #2c3e50;
	text-decoration: none;
}

.pl-property-title a:hover {
	color: #0080ff;
}

.pl-property-address {
	color: #666;
	font-size: 16px;
	margin-bottom: 10px;
}

.pl-property-price {
	font-size: 18px;
	font-weight: 700;
	color: #0080ff;
	margin-bottom: 15px;
}

.pl-property-excerpt {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
}

.pl-view-property-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #2c3e50;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	transition: background 0.3s ease;
}

.pl-view-property-btn:hover {
	background: #0080ff;
	color: #fff;
}

/* Contact Form Popup */
.pl-contact-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.pl-contact-popup.active {
	display: block;
}

.pl-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
}

.pl-popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
	from {
		opacity: 0;
		transform: translate(-50%, -60%);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.pl-popup-close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: none;
	border: none;
	font-size: 32px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.pl-popup-close:hover {
	color: #333;
}

.pl-popup-title {
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #0080ff;
}

.pl-popup-form {
	margin-top: 20px;
}

.pl-popup-form .wpcf7-form {
	max-width: 100%;
}

body.pl-popup-open {
	overflow: hidden;
}

/* Gallery Modal */
.pl-gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.pl-gallery-modal.active {
	display: block;
}

.pl-gallery-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(5px);
}

.pl-gallery-popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	max-width: 1200px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: popupSlideIn 0.3s ease;
}

.pl-gallery-popup-close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: none;
	border: none;
	font-size: 32px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
	z-index: 10;
}

.pl-gallery-popup-close:hover {
	color: #333;
}

.pl-gallery-popup-title {
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #0080ff;
}

.pl-gallery-slideshow {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: 20px auto 0;
	overflow: hidden;
	border-radius: 8px;
}

.pl-gallery-slide {
	display: none;
	width: 100%;
	text-align: center;
}

.pl-gallery-slide.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.pl-gallery-slide img {
	max-width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: contain;
	border-radius: 8px;
}

.pl-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pl-gallery-nav:hover {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pl-gallery-nav svg {
	width: 24px;
	height: 24px;
	color: #333;
}

.pl-gallery-prev {
	left: 20px;
}

.pl-gallery-next {
	right: 20px;
}

.pl-gallery-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	z-index: 10;
}

/* Responsive Popup */
@media (max-width: 768px) {
	.pl-popup-content {
		padding: 30px 20px;
		max-width: 95%;
	}

	.pl-popup-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.pl-gallery-popup-content {
		padding: 30px 20px;
		max-width: 95%;
	}

	.pl-gallery-popup-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.pl-gallery-slideshow {
		max-width: 100%;
	}

	.pl-gallery-nav {
		width: 40px;
		height: 40px;
	}

	.pl-gallery-nav svg {
		width: 20px;
		height: 20px;
	}

	.pl-gallery-prev {
		left: 10px;
	}

	.pl-gallery-next {
		right: 10px;
	}
}

/* Responsive Design */
@media (max-width: 1200px) {
	.pl-property-image-gallery {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 968px) {
	.pl-property-image-gallery {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.pl-gallery-cover-image {
		min-height: 300px;
	}

	.pl-gallery-right-section {
		min-height: auto;
	}

	.pl-property-content {
		grid-template-columns: 1fr;
	}

	.pl-property-sidebar {
		position: static;
	}

	.pl-property-header {
		flex-direction: column;
		text-align: left;
	}

	.pl-header-right {
		text-align: left;
		width: 100%;
	}

	.pl-contact-options {
		width: 100%;
	}

	.pl-bhk-configs {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	.pl-floor-plans-grid {
		grid-template-columns: 1fr;
	}

	.pl-amenities-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.pl-nearby-attractions {
		grid-template-columns: 1fr;
	}

	.pl-bhk-type-selector {
		flex-direction: column;
	}

	.pl-bhk-type-btn {
		width: 100%;
		min-width: auto;
	}

	.pl-bhk-summary {
		flex-direction: column;
	}

	.pl-bhk-summary-item {
		min-width: 100%;
	}

	.pl-developer-info {
		flex-direction: column;
		text-align: center;
	}

	.pl-marketed-by-info {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.pl-property-listing {
		padding: 10px;
	}

	.pl-property-title {
		font-size: 24px;
	}

	.pl-amenities-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pl-bhk-configs {
		grid-template-columns: 1fr;
	}
}

/* Property Carousel with Swiper */


.pl-carousel-title {
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 2px solid #0080ff;
}

.pl-property-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.pl-carousel-swiper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.pl-carousel-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.pl-carousel-swiper .swiper-slide {
	height: auto;
	display: flex;
	width: auto;
	flex-shrink: 0;
	box-sizing: border-box;
}

.pl-carousel-swiper .swiper-slide>* {
	width: 100%;
}

.pl-property-carousel .pl-carousel-swiper .pl-carousel-slide-item a {
	text-decoration: none;
}

.pl-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: 2px solid #0080ff;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	color: #0080ff;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin: 0;
}

/* Hide Swiper's default button pseudo-elements (the oval shapes) */
.pl-property-carousel .swiper-button-prev::after,
.pl-property-carousel .swiper-button-next::after {
	display: none !important;
}

/* Hide any duplicate Swiper default buttons */
.pl-property-carousel .swiper-button-prev:not(.pl-carousel-nav),
.pl-property-carousel .swiper-button-next:not(.pl-carousel-nav) {
	display: none !important;
}

.pl-carousel-nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: auto;
	pointer-events: none;
}

.pl-carousel-prev {
	left: -24px;
}

.pl-carousel-next {
	right: -24px;
}

.pl-carousel-nav i {
	font-size: 20px;
	line-height: 1;
}

/* Carousel property items */
.pl-property-carousel .pl-property-item {
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pl-property-carousel .pl-property-thumbnail {
	flex-shrink: 0;
}

.pl-property-carousel .pl-property-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.pl-property-carousel .pl-property-title {
	font-size: 20px;
	margin-bottom: 10px;
}

.pl-property-carousel .pl-property-title a {
	color: #2c3e50;
	text-decoration: none;
	transition: color 0.3s ease;
}

.pl-property-carousel .pl-property-title a:hover {
	color: #0080ff;
}

.pl-property-carousel .pl-property-address {
	margin-bottom: 10px;
	flex-shrink: 0;
}

.pl-property-carousel .pl-property-price {
	margin-bottom: 15px;
	flex-shrink: 0;
}

.pl-property-carousel .pl-view-property-btn {
	margin-top: auto;
	text-align: center;
	padding: 10px 20px;
	background: #fff;
	border: 2px solid #0080ff;
	color: #0080ff;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}

.pl-property-carousel .pl-view-property-btn:hover {
	background: #0080ff;
	color: #fff;
}

/* Responsive carousel */
@media (max-width: 768px) {
	.pl-carousel-prev {
		left: 10px;
	}

	.pl-carousel-next {
		right: 10px;
	}

	.pl-carousel-nav {
		width: 40px;
		height: 40px;
	}

	.pl-carousel-nav i {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.pl-carousel-title {
		font-size: 24px;
	}
}

/* Carousel Layout Styles */

/* Card Layout (Default) - Similar to SSS Property Carousel */
.pl-layout-card .pl-carousel-slide-item {
	height: 100%;
	width: 100%;
}

.pl-layout-card .pl-carousel-slide-item a {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.pl-layout-card .pl-single-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pl-layout-card .pl-single-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pl-layout-card .pl-property-graphic {
	flex-shrink: 0;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.pl-layout-card .pl-property-image {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #f5f5f5;
}

.pl-layout-card .pl-property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-layout-card .pl-property-content {
	flex: 1;
	display: flex;
	flex-direction: row;
	padding: 15px;
}

.pl-layout-card .pl-property-brand {
	margin-bottom: 12px;
}

.pl-layout-card .pl-property-logo {
	display: inline-block;
	max-width: 92px;
	max-height: 84px;
}

.pl-layout-card .pl-property-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pl-layout-card .pl-property-details {
	flex: 1;
	margin-bottom: 12px;
}

.pl-layout-card .pl-property-name {
	font-size: 18px;
	font-weight: 600;
	color: #23282d;
	line-height: 1.3;
}

.pl-layout-card .pl-property-by {
	font-size: 14px;
	color: #666;
}

.pl-layout-card .pl-property-marketed {
	color: #606060;
	font-size: 12px;
	line-height: 16px;
	padding-top: 4px;
}

.pl-layout-card .pl-property-location {
	font-size: 14px;
	color: #606060;
	display: flex;
	align-items: center;
	gap: 6px;
}

.pl-layout-card .pl-property-location .pl-location-icon {
	font-size: 14px;
	line-height: 1;
}

.pl-layout-card .pl-property-info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.pl-layout-card .pl-property-type {
	font-size: 14px;
	color: #303030;
	font-weight: 500;
}

.pl-layout-card .pl-property-price {
	color: #303030;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	padding-bottom: 4px;
}

.pl-layout-card .pl-property-price .onwards {
	font-size: 12px;
	font-weight: 400;
	color: #666;
}

/* Minimal Layout */
.pl-layout-minimal .pl-carousel-slide-item {
	height: 360px;
	overflow: hidden;
	background: #fff;
}

.pl-layout-minimal .pl-single-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 8px;
}

.pl-layout-minimal .pl-property-graphic {
	flex-shrink: 0;
}

.pl-layout-minimal .pl-property-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: calc(100% - 160px);
	padding: 20px 16px;
	position: relative;
}

.pl-layout-minimal .pl-property-name {
	color: #303030;
	font-size: 18px;
	font-weight: 600;
	line-height: 20px;
	padding-bottom: 4px;
}

.pl-layout-minimal .pl-property-by {
	color: #303030;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding-bottom: 4px;
}

.pl-layout-minimal .pl-property-location {
	color: #303030;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding-bottom: 16px;
}

.pl-layout-minimal .pl-property-type {
	color: #303030;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding-bottom: 4px;
}

.pl-layout-minimal .pl-property-price {
	color: #303030;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	padding-bottom: 12px;
}

.pl-layout-minimal .pl-property-marketed {
	color: #606060;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

/* Featured Layout */
.pl-layout-featured .pl-carousel-slide-item {
	height: 100%;
	overflow: hidden;
}

.pl-layout-featured .pl-carousel-slide-item a {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.pl-layout-featured .pl-single-item {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
}

.pl-layout-featured .pl-property-graphic {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.pl-layout-featured .pl-property-image {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.pl-layout-featured .pl-property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-layout-featured .pl-property-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);

}

.pl-layout-featured .pl-property-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0px;
	background-color: unset;
}

.pl-layout-featured .pl-property-details {
	display: flex;
	flex-direction: column;
}

.pl-layout-featured .pl-property-name {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.3;
}

.pl-layout-featured .pl-property-location {
	color: #fff;
	font-size: 16px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	gap: 6px;
}

.pl-layout-featured .pl-property-location i {
	font-size: 16px;
}

.pl-layout-featured .pl-property-price {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 0px;
}

.pl-layout-featured .pl-property-price .rupees {
	font-size: 20px;
}

.pl-layout-featured .pl-property-price .onwards {
	font-size: 16px;
	font-weight: 400;
}

.pl-layout-featured .pl-view-property-btn {
	background: #0080ff;
	color: #fff;
	border: 2px solid #0080ff;
	margin-top: 15px;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	align-self: flex-start;
}

.pl-layout-featured .pl-view-property-btn:hover {
	background: #0066cc;
	border-color: #0066cc;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 128, 255, 0.3);
}

/* Grid Layout */
.pl-layout-grid .pl-property-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pl-layout-grid .pl-property-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pl-layout-grid .pl-property-thumbnail {
	flex-shrink: 0;
	position: relative;
}

.pl-layout-grid .pl-property-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.pl-layout-grid .pl-property-content {
	padding: 15px;
}

.pl-layout-grid .pl-property-title {
	font-size: 16px;
	margin-bottom: 10px;
}

.pl-layout-grid .pl-property-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pl-layout-grid .pl-property-address {
	font-size: 13px;
	color: #666;
}

.pl-layout-grid .pl-property-price {
	font-size: 18px;
	font-weight: 700;
	color: #0080ff;
}

/* List Layout */
.pl-layout-list .pl-property-item {
	display: flex;
	flex-direction: row;
	height: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	gap: 15px;
}

.pl-layout-list .pl-property-thumbnail {
	flex: 0 0 150px;
	width: 150px;
	height: 150px;
	overflow: hidden;
}

.pl-layout-list .pl-property-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-layout-list .pl-property-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px;
}

.pl-layout-list .pl-property-title {
	font-size: 18px;
	margin-bottom: 8px;
}

.pl-layout-list .pl-property-address {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

.pl-layout-list .pl-property-price {
	font-size: 20px;
	font-weight: 700;
	color: #0080ff;
	margin-bottom: 10px;
}

.pl-layout-list .pl-view-property-btn {
	align-self: flex-start;
}

/* Responsive adjustments for layouts */
@media (max-width: 768px) {
	.pl-layout-featured .pl-property-graphic {
		min-height: 300px;
	}
	
	.pl-layout-featured .pl-property-name {
		font-size: 20px;
	}
	
	.pl-layout-featured .pl-property-price {
		font-size: 20px;
	}
	
	.pl-layout-featured .pl-property-overlay {
		padding: 20px 15px 15px;
	}

	.pl-layout-list .pl-property-item {
		flex-direction: column;
	}

	.pl-layout-list .pl-property-thumbnail {
		width: 100%;
		height: 200px;
		flex: 0 0 auto;
	}
}

/* Minimal Horizontal Layout */
.pl-layout-minimal-horizontal .pl-carousel-slide-item {
	display: flex;
	flex-direction: row;
	height: 184px;
	overflow: hidden;
	background: #fff;

}

.pl-layout-minimal-horizontal .pl-carousel-slide-item>a {
	display: flex;
	flex-direction: row;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.pl-layout-minimal-horizontal .pl-single-item {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

.pl-layout-minimal-horizontal .pl-horizontal-image {
	flex: 0 0 auto;
	width: 136px;
	overflow: hidden;
}

.pl-layout-minimal-horizontal .pl-horizontal-image .pl-property-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pl-layout-minimal-horizontal .pl-horizontal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-layout-minimal-horizontal .pl-horizontal-content {
	flex: 1;
	padding: 20px;
	display: flex;
	gap: 0px;
	flex-direction: column;
}

.pl-layout-minimal-horizontal .pl-horizontal-content .pl-property-name {
	color: #303030;
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pl-layout-minimal-horizontal .pl-horizontal-content .pl-property-location {
	color: #606060;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding-bottom: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pl-layout-minimal-horizontal .pl-horizontal-content .pl-property-type {
	color: #303030;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pl-layout-minimal-horizontal .pl-horizontal-content .pl-property-price {
	color: #303030;
	font-size: 14px;
	font-weight: 600;
	padding-bottom: 8px;
	line-height: 20px;
	margin-bottom: 0px;
}

.pl-layout-minimal-horizontal .pl-horizontal-content .pl-property-marketed {
	color: #606060;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Responsive adjustments for minimal horizontal layout */
@media (max-width: 768px) {
	.pl-layout-minimal-horizontal .pl-carousel-slide-item>a {
		flex-direction: column;
	}

	.pl-layout-minimal-horizontal .pl-single-item {
		flex-direction: column;
	}

	.pl-layout-minimal-horizontal .pl-horizontal-image {
		width: 100%;
		height: 200px;
		flex: 0 0 auto;
	}

	.pl-layout-minimal-horizontal .pl-horizontal-content {
		padding: 15px;
	}
}

.pl-carousel-prev.swiper-button-prev,
.pl-carousel-next.swiper-button-next{
	border: none;
    box-shadow: unset;
    width: var(--swiper-navigation-size);
	border: 1px solid;
}