/* Floorplan Widget Styles */

.elem-floorplan {
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.elem-floorplan .floorplan-section-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
	color: #1a1a1a;
}

/* Tabs Navigation */
.elem-floorplan .floorplan-tabs-nav {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
	border-bottom: 1px solid #BFBFBF;
	padding-bottom: 30px;
}

.elem-floorplan .floorplan-tab-button {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #FBFBFB;
	border: 1px solid #E2E2E2;
	padding: 12px 20px;
	font-size: 0.95rem;
	font-weight: 500;
	color: #666666;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.3s ease;
	position: relative;
}

.elem-floorplan .floorplan-tab-button .tab-icon {
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.elem-floorplan .floorplan-tab-button .tab-icon .tab-icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	filter: brightness(0);
}
.elem-floorplan .floorplan-tab-button.active .tab-icon .tab-icon-img{
	filter: brightness(0) invert(1);
}

.elem-floorplan .floorplan-tab-button .tab-label {
	display: flex;
	align-items: center;
}

.elem-floorplan .floorplan-tab-button:hover {
	background-color: #e0e0e0;
	color: #333333;
}

.elem-floorplan .floorplan-tab-button.active {
	background-color: #2a2a2a;
	color: #ffffff;
	border-color: #2a2a2a;
	font-weight: 600;
	position: relative;
}

.elem-floorplan .floorplan-tab-button.active::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #2a2a2a;
}

.elem-floorplan .floorplan-tab-button.active .tab-icon {
	color: #ffffff;
}

/* Tabs Content */
.elem-floorplan .floorplan-tabs-content {
	display: block;
	/*     max-width: 1200px; */
	margin: auto;
}

.elem-floorplan .floorplan-tab-pane {
	display: none;
	animation: fadeIn 0.3s ease;
}

.elem-floorplan .floorplan-tab-pane.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Main Content Layout */
.elem-floorplan .floorplan-unit {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.elem-floorplan .floorplan-main-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: center;
}

.elem-floorplan .floorplan-left {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.elem-floorplan .floorplan-right {
	display: flex;
	flex-direction: column;
}

/* Floor Plan Image */
.elem-floorplan .floorplan-image-wrapper {
	position: relative;
	width: 100%;
	background-color: #f5f5f5;
	border-radius: 0px;
	overflow: hidden;
}

.elem-floorplan .floorplan-image-wrapper .floorplan-image {
	width: 100%;
	height: 535px;
	display: block;
	object-fit: contain;
}

/* Unit Info Badge */
.elem-floorplan .unit-info-badge {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.elem-floorplan .unit-info-badge .unit-details .unit-name {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 0 12px 0;
	color: #1a1a1a;
}

.elem-floorplan .unit-info-badge .unit-details .unit-specs {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.elem-floorplan .unit-info-badge .unit-details .unit-specs .spec-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
}

.elem-floorplan .unit-info-badge .unit-details .unit-specs .spec-item .spec-value {
	font-weight: 600;
	color: #1a1a1a;
	min-width: 25px;
}

.elem-floorplan .unit-info-badge .unit-details .unit-specs .spec-item .spec-label {
	color: #666666;
	font-size: 0.8rem;
}

.elem-floorplan .unit-info-badge .unit-details .unit-specs .spec-item .spec-icon {
	font-size: 1.1rem;
}

/* Description Box */
.elem-floorplan .floorplan-description-box {
	background-color: #2D3440;
	color: #ffffff;
	padding: 60px;
	border-radius: 0px;
	height: 100%;
	display: flex;
	align-items: center;
}

.elem-floorplan .floorplan-description-box .floorplan-description {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #fff!important;
}

/* Video Player */
.elem-floorplan .floorplan-video-wrapper {
	width: 100%;
	margin-top: 40px;
}

.elem-floorplan .floorplan-video-wrapper .video-player {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 0px;
}

.elem-floorplan .floorplan-video-wrapper .video-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0px;
}

/* Gallery */
.elem-floorplan .floorplan-gallery {
	width: 100%;
	margin-top: 30px;
}

.elem-floorplan .floorplan-gallery .gallery-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 0px;
	aspect-ratio: 1;
	cursor: pointer;
	background-color: #f5f5f5;
	display: block;
	text-decoration: none;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item::after {
	content: url(/website_571ecd86/wp-content/uploads/2026/07/gallery-zoom-icon.svg);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 44px;
	color: white;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 3;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item:hover::before {
	opacity: 1;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item:hover::after {
	opacity: 1;
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item:hover .gallery-image {
	transform: scale(1.1);
}

.elem-floorplan .floorplan-gallery .gallery-images .gallery-item .gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

/* Lity Lightbox Customization */
/* --- Custom Gallery Lightbox --- */
.fp-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.fp-lightbox[style*="display: block"],
.fp-lightbox[style*="display:block"] {
	display: flex !important;
}

.fp-lb-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	cursor: pointer;
}

.fp-lb-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90vw;
	max-height: 90vh;
	pointer-events: none;
}

.fp-lb-img {
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
	pointer-events: auto;
	border-radius: 0px;
	will-change: opacity;
}

.fp-lb-close {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 2;
	width: 48px;
	height: 48px;
	background-color: unset!important;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50px;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.fp-lb-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.fp-lb-prev,
.fp-lb-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 50px;
	height: 50px;
	background-color: unset !important;
	border: unset;
	border-radius: 50px;
	font-size: unset;
	display: flex;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.fp-lb-prev { left: 20px; }
.fp-lb-next { right: 20px; }

.fp-lb-prev:hover,
.fp-lb-next:hover {
	background: rgba(255, 255, 255, 0.35);
}

.fp-lb-counter {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 2;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	background: rgba(0, 0, 0, 0.5);
	padding: 8px 16px;
	border-radius: 4px;
}

body.fp-lb-open {
	overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.elem-floorplan .floorplan-section-title {
		font-size: 1.75rem;
	}

	.elem-floorplan .floorplan-main-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.elem-floorplan .floorplan-tabs-nav {
		margin-bottom: 20px;
		gap: 10px;
	}

	.elem-floorplan .floorplan-tab-button {
		padding: 10px 15px;
		font-size: 0.85rem;
	}

	.elem-floorplan .floorplan-tab-button .tab-icon {
		font-size: 1rem;
	}

	.elem-floorplan .floorplan-section-title {
		font-size: 1.5rem;
		margin-bottom: 30px;
	}

	.elem-floorplan .unit-info-badge {
		padding: 15px;
	}

	.elem-floorplan .unit-info-badge .unit-name {
		font-size: 1rem;
		margin-bottom: 10px;
	}

	.elem-floorplan .unit-info-badge .unit-specs {
		gap: 15px;
	}

	.elem-floorplan .unit-info-badge .unit-specs .spec-item {
		font-size: 0.85rem;
	}

	.elem-floorplan .floorplan-description-box {
		padding: 15px;
	}

	.elem-floorplan .floorplan-description-box .floorplan-description {
		font-size: 0.85rem;
	}

	.elem-floorplan .floorplan-gallery .gallery-images {
		grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.elem-floorplan .floorplan-tabs-nav {
		gap: 5px;
	}

	.elem-floorplan .floorplan-tab-button {
		padding: 8px 12px;
		font-size: 0.75rem;
	}

	.elem-floorplan .floorplan-tab-button .tab-icon {
		font-size: 0.9rem;
	}

	.elem-floorplan .floorplan-tab-button .tab-label {
		min-width: fit-content;
	}

	.elem-floorplan .floorplan-section-title {
		font-size: 1.25rem;
		margin-bottom: 20px;
	}

	.elem-floorplan .unit-info-badge {
		padding: 12px;
	}

	.elem-floorplan .unit-info-badge .unit-name {
		font-size: 0.95rem;
	}

	.elem-floorplan .floorplan-gallery .gallery-images {
		grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
		gap: 8px;
	}
}

.fp-dropdown-toggle,.fp-dropdown-list{
	display: none;
}
@media (max-width: 767px) {
	.floorplan-image{
		height: unset!important;
	}
	
	.fp-dropdown-toggle,.fp-dropdown-list{
		display: block;
	}
	.floorplan-tabs-nav {
		position: relative;
		display: block !important;
	}
	.floorplan-tabs-nav .floorplan-tab-button {
		display: none !important;
	}
	.fp-dropdown-toggle {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 16px;
		background: #fff;
		border: 1px solid #ddd;
		border-radius: 8px;
		font-size: 15px;
		cursor: pointer;
	}
	.fp-dropdown-toggle .fp-chevron {
		display: inline-flex;
		transition: transform 0.2s ease;
		color: #666;
	}
	.fp-dropdown-toggle.open .fp-chevron {
		transform: rotate(180deg);
	}
	.fp-dropdown-list {
		display: none;
		position: absolute;
		top: 55px;
		left: 0;
		right: 0;
		background: #fff;
		border: 1px solid;
		border-radius: 8px;
		box-shadow: 0 8px 24px rgba(0,0,0,0.12);
		z-index: 20;
		overflow: hidden;
	}
	.fp-dropdown-list.open {
		display: block;
	}
	.fp-dropdown-list button {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 12px 16px;
		background: none;
		border: none;
		border-top: 1px solid #eee;
		font-size: 15px;
		text-align: left;
		cursor: pointer;
	}
	.fp-dropdown-list button:first-child {
		border-top: none;
	}
	.fp-dropdown-toggle{
		background-color: unset!important;
		border: 1px solid;
	}
	.fp-dropdown-list button{
		background-color: #fff!important;
	}
}
