/* Property Listing Section - Custom Plugin CSS */

.pls-section {
	--pls-orange: #f15a29;
	--pls-navy: #14213d;
	--pls-gray: #6b7280;
	--pls-border: #e5e7eb;
	max-width: 1280px;
	margin: 0 auto;
	padding: 60px 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header row */
.pls-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.pls-eyebrow {
	display: block;
	color: var(--pls-orange);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
}

.pls-title {
	color: var(--pls-navy);
	font-size: 40px;
	line-height: 1.2;
	font-weight: 800;
	margin: 0;
	max-width: 480px;
}

/* Tabs */
.pls-tabs {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f4f4f6;
	padding: 6px;
	border-radius: 999px;
}

.pls-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	background: transparent;
	color: var(--pls-navy);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
	white-space: nowrap;
}

.pls-tab i {
	font-size: 13px;
}

.pls-tab:hover {
	color: var(--pls-orange);
}

.pls-tab.is-active {
	background: var(--pls-orange);
	color: #fff;
	box-shadow: 0 6px 14px rgba(241, 90, 41, 0.35);
}

.pls-tab.is-active:hover {
	color: #fff;
}

/* Slider wrap / panels */
.pls-slider-wrap {
	position: relative;
}

.pls-slider {
	display: none;
	position: relative;
}

.pls-slider.is-active {
	display: block;
}

.pls-slider-track {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 6px;
	scrollbar-width: none; /* Firefox mein scrollbar hide */
}

.pls-slider-track::-webkit-scrollbar {
	display: none; /* Chrome/Safari mein scrollbar hide */
}

.pls-card {
	flex: 0 0 calc((100% - 56px) / 3);
}

@media (max-width: 992px) {
	.pls-card {
		flex-basis: 85%;
	}
}

@media (max-width: 600px) {
	.pls-card {
		flex-basis: 92%;
	}
}

.pls-slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.pls-prev,
.pls-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--pls-border);
	background: #fff;
	color: var(--pls-navy);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.pls-prev:hover,
.pls-next:hover {
	background: var(--pls-navy);
	color: #fff;
}

/* Card */
.pls-card {
	scroll-snap-align: start;
	background: #f8f8fa;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pls-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px rgba(20, 33, 61, 0.1);
}

.pls-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.pls-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pls-wishlist {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(20, 33, 61, 0.45);
	color: #fff;
	backdrop-filter: blur(2px);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.pls-wishlist:hover {
	background: var(--pls-orange);
}

.pls-agent-avatar {
	position: absolute;
	bottom: -20px;
	right: 16px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 3px solid #fff;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pls-agent-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pls-card-body {
	padding: 28px 20px 20px;
}

.pls-rating {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-bottom: 10px;
	font-size: 13px;
}

.pls-rating i {
	color: #f5b400;
	font-size: 12px;
}

.pls-rating-number {
	color: var(--pls-navy);
	font-weight: 700;
	margin-left: 6px;
}

.pls-review-count {
	color: var(--pls-gray);
}

.pls-card-title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
}

.pls-card-title a {
	color: var(--pls-navy);
	text-decoration: none;
}

.pls-card-title a:hover {
	color: var(--pls-orange);
}

.pls-card-title.pls-cat-for-sale a {
	color: #2563eb;
}

.pls-card-title.pls-cat-for-rent a {
	color: var(--pls-navy);
}

.pls-address {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--pls-orange);
	font-size: 13px;
	margin: 0 0 12px;
}

.pls-address i {
	color: var(--pls-orange);
}

.pls-excerpt {
	color: var(--pls-gray);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pls-features {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--pls-border);
	font-size: 13px;
	color: var(--pls-navy);
}

.pls-features span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pls-features i {
	color: var(--pls-gray);
}

.pls-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.pls-price {
	background: #fff;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 700;
	color: var(--pls-orange);
	font-size: 16px;
	flex: 1;
}

.pls-details-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pls-navy);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.pls-details-btn:hover {
	background: var(--pls-orange);
	color: #fff;
}

.pls-empty {
	color: var(--pls-gray);
	padding: 40px 0;
	text-align: center;
}

@media (max-width: 600px) {
	.pls-title {
		font-size: 28px;
	}
	.pls-header {
		align-items: flex-start;
	}
}
