.pdep-matterport {
	display: flex;
	flex-direction: column;
	gap: var(--pdep-matterport-stack-gap, 55px);
	width: 100%;
	max-width: 100%;
}

.pdep-matterport--width-viewport .pdep-matterport {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
}

.pdep-matterport--width-custom .pdep-matterport {
	max-width: var(--pdep-matterport-max-width, 100%);
	margin-inline: var(--pdep-matterport-align, auto);
}

.pdep-matterport--pos-bottom .pdep-matterport {
	flex-direction: column-reverse;
}

.pdep-matterport__tabs {
	display: flex;
	align-items: center;
	gap: 25px;
	max-width: 100%;
	padding: 0;
}

.pdep-matterport--nav-scroll .pdep-matterport__tabs {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.pdep-matterport--nav-scroll .pdep-matterport__tabs::-webkit-scrollbar {
	display: none;
}

.pdep-matterport--nav-wrap .pdep-matterport__tabs {
	flex-wrap: wrap;
}

.pdep-matterport__tab {
	flex: 0 0 auto;
	appearance: none;
	padding: 18px 30px;
	border: 1px solid #d7c6e2;
	border-radius: 50px;
	background: transparent;
	color: #d7c6e2;
	cursor: pointer;
	font: inherit;
	font-family: "Century Gothic", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: capitalize;
	white-space: nowrap;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.pdep-matterport__tab[aria-selected="true"] {
	border-color: #d7c6e2;
	background: #d7c6e2;
	color: #24303f;
}

.pdep-matterport__tab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.pdep-matterport--nav-scroll .pdep-matterport__tab:focus-visible {
	outline-offset: -3px;
}

.pdep-matterport__viewer {
	position: relative;
	width: 100%;
	height: var(--pdep-matterport-height, 909px);
	min-height: 240px;
	overflow: hidden;
	background: #8a8f99;
	isolation: isolate;
}

.pdep-matterport--size-ratio .pdep-matterport__viewer {
	height: auto;
	min-height: 0;
	aspect-ratio: var(--pdep-matterport-ratio, 16 / 9);
}

.pdep-matterport__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.pdep-matterport__panel.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.pdep-matterport__panel iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.pdep-matterport--single {
	gap: 0;
}

.pdep-matterport__empty {
	padding: 24px;
	border: 1px dashed #8a8f99;
	color: #24303f;
	text-align: center;
}

@media (max-width: 767px) {
	.pdep-matterport__viewer {
		min-height: 300px;
	}

	.pdep-matterport__tab {
		font-size: 16px;
	}
}
