/* Single-property layout aligned with the TanpaPerantara reference application. */
.single-gp-property {
	padding-top: 1px;
	background: #f3f8fc;
}

.single-gp-property .container {
	width: min(100% - 40px, 1280px);
}

.single-gp-property .property-back {
	padding-top: 22px;
	padding-bottom: 18px;
}

.single-gp-property .property-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #4b5563;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
}

.single-gp-property .property-back-link:hover {
	color: var(--gp-primary);
}

.single-gp-property .property-showcase.container {
	width: min(100% - 40px, 1440px);
	margin: 0 auto;
}

.single-gp-property .property-showcase__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 7;
	background: #dfe8ef;
	border-radius: 16px;
	box-shadow: 0 7px 24px rgba(15, 45, 70, .08);
}

.single-gp-property .property-showcase__slides,
.single-gp-property .property-showcase__slide,
.single-gp-property .property-showcase__slide img {
	width: 100%;
	height: 100%;
}

.single-gp-property .property-showcase__slide {
	position: absolute;
	inset: 0;
	display: none;
	margin: 0;
}

.single-gp-property .property-showcase__slide.is-active {
	display: block;
}

.single-gp-property .property-showcase__slide img {
	display: block;
	object-fit: cover;
}

.single-gp-property .property-showcase__badges {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	z-index: 4;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
}

.single-gp-property .property-showcase__badge-group {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.single-gp-property .property-showcase__badge-group--right {
	justify-content: flex-end;
	margin-left: auto;
}

.single-gp-property .property-showcase__badges .badge {
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
	font-size: .75rem;
	font-weight: 800;
}

.single-gp-property .badge--gold {
	color: #744c00;
	background: #ffd76a;
}

.single-gp-property .badge--silver {
	color: #334155;
	background: #e2e8f0;
}

.single-gp-property .badge--offer {
	color: #fff;
	background: #1577d4;
}

.single-gp-property .badge--type {
	color: #075985;
	background: #e0f2fe;
}

.single-gp-property .gp-slider__arrow {
	z-index: 4;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	color: #1e293b;
	background: rgba(255, 255, 255, .94);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
	font-size: 1.75rem;
}

.single-gp-property .gp-slider__arrow--prev { left: 20px; }
.single-gp-property .gp-slider__arrow--next { right: 20px; }

.single-gp-property .property-showcase .gp-slider__dots {
	bottom: 18px;
	z-index: 4;
}

.single-gp-property .property-showcase .gp-slider__dots button {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, .7);
	border: 0;
}

.single-gp-property .property-showcase .gp-slider__dots button[aria-current="true"] {
	width: 24px;
	background: #fff;
	border-radius: 999px;
}

.single-gp-property .property-showcase .gallery-open {
	right: 20px;
	bottom: 18px;
	z-index: 5;
	min-height: 38px;
	padding: 9px 14px;
	color: #1e293b;
	background: rgba(255, 255, 255, .95);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 3px 12px rgba(15, 23, 42, .16);
	font-size: .8125rem;
	font-weight: 700;
}

.single-gp-property .property-showcase__thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 12px 2px 4px;
	scrollbar-width: thin;
}

.single-gp-property .property-showcase__thumbs button {
	flex: 0 0 96px;
	overflow: hidden;
	width: 96px;
	height: 64px;
	padding: 0;
	background: #fff;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
}

.single-gp-property .property-showcase__thumbs button[aria-current="true"] {
	border-color: #1681e5;
	box-shadow: 0 0 0 2px rgba(22, 129, 229, .16);
}

.single-gp-property .property-showcase__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-gp-property .property-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
	gap: 32px;
	align-items: start;
	padding-top: 30px;
	padding-bottom: 48px;
}

.single-gp-property .property-content {
	min-width: 0;
}

.single-gp-property .property-heading {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 22px;
}

.single-gp-property .property-heading h1 {
	margin: 0 0 10px;
	color: #0f172a;
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	font-style: italic;
	font-weight: 800;
	line-height: 1.35;
}

.single-gp-property .property-heading__meta,
.single-gp-property .property-location {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.single-gp-property .property-location {
	color: #64748b;
	font-size: .875rem;
}

.single-gp-property .property-location svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.single-gp-property .property-code {
	padding: 4px 10px;
	color: #475569;
	background: #e7eef5;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
}

.single-gp-property .property-heading__actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex: 0 0 auto;
}

.single-gp-property .property-heading__actions .button,
.single-gp-property .property-heading__actions .favorite-button {
	min-height: 36px;
	padding: 7px 11px;
	font-size: .78rem;
}

.single-gp-property .property-panel {
	overflow: hidden;
	margin-bottom: 22px;
	background: #fff;
	border: 1px solid #dce5ed;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(15, 45, 70, .04);
}

.single-gp-property .property-panel > h2 {
	margin: 0;
	padding: 18px 24px;
	color: #1e293b;
	border-bottom: 1px solid #e4ebf1;
	font-size: 1rem;
	font-weight: 800;
}

.single-gp-property .property-spec-table {
	margin: 0;
}

.single-gp-property .property-spec-table__row {
	display: grid;
	grid-template-columns: minmax(120px, 30%) 12px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	min-height: 44px;
	padding: 10px 24px;
	font-size: .875rem;
}

.single-gp-property .property-spec-table__row:nth-child(even) {
	background: #edf7fd;
}

.single-gp-property .property-spec-table dt {
	color: #475569;
	text-align: right;
}

.single-gp-property .property-spec-table dd {
	min-width: 0;
	margin: 0;
	color: #1e293b;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.single-gp-property .property-description .entry-content,
.single-gp-property .property-extra-panel > :not(h2) {
	margin: 0;
	padding: 20px 24px;
}

.single-gp-property .property-description .entry-content {
	color: #475569;
	font-size: .925rem;
	line-height: 1.75;
}

.single-gp-property .property-description .entry-content > :first-child { margin-top: 0; }
.single-gp-property .property-description .entry-content > :last-child { margin-bottom: 0; }

.single-gp-property .feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
	list-style: none;
}

.single-gp-property .property-extra-panel .external-embed {
	width: calc(100% - 48px);
	margin: 20px 24px;
	padding: 0;
}

.single-gp-property .property-media-section .external-embed,
.single-gp-property .external-embed--video {
	position: relative;
	aspect-ratio: 16 / 9;
	min-height: 0;
	overflow: hidden;
}

.single-gp-property .external-embed--map {
	min-height: 340px;
}

.single-gp-property .external-embed__prompt {
	display: grid;
	width: 100%;
	height: 100%;
	padding: 24px;
	place-content: center;
	text-align: center;
}

.single-gp-property .external-embed iframe,
.single-gp-property .property-media-section .external-embed iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
}

.single-gp-property .property-sidebar {
	min-width: 0;
}

.single-gp-property .owner-contact-card {
	position: sticky;
	top: 100px;
	padding: 20px;
	background: #fff;
	border: 1px solid #dce5ed;
	border-radius: 16px;
	box-shadow: 0 5px 18px rgba(15, 45, 70, .06);
}

.single-gp-property .sidebar-owner {
	display: flex;
	gap: 13px;
	align-items: center;
	margin: 0;
}

.single-gp-property .sidebar-owner__avatar {
	display: grid;
	overflow: hidden;
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	place-items: center;
	color: #64748b;
	background: #eaf1f7;
	border-radius: 50%;
}

.single-gp-property .sidebar-owner__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-gp-property .sidebar-owner > div:last-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.single-gp-property .sidebar-owner span {
	color: #64748b;
	font-size: .78rem;
}

.single-gp-property .sidebar-owner strong {
	color: #1e293b;
	font-size: .95rem;
}

.single-gp-property .owner-contact-card__divider {
	height: 1px;
	margin: 18px 0;
	background: #e2e8f0;
}

.single-gp-property .owner-contact-card .button {
	display: flex;
	min-height: 42px;
	margin-top: 10px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
}

.single-gp-property .owner-contact-card .button--phone {
	color: #fff;
	background: #147bd1;
}

.single-gp-property .owner-contact-card .button--whatsapp {
	color: #fff;
	background: #20b65b;
}

.single-gp-property .owner-contact-card .button:hover {
	filter: brightness(.94);
}

.single-gp-property .owner-contact-card__empty {
	margin: 0;
	color: #64748b;
	font-size: .85rem;
}

.single-gp-property .section--soft {
	background: #edf5fa;
}

.single-gp-property .property-disclaimer {
	margin-top: 24px;
	margin-bottom: 52px;
}

@media (max-width: 899px) {
	.single-gp-property .property-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-gp-property .owner-contact-card {
		position: static;
	}
}

@media (max-width: 680px) {
	.single-gp-property .container,
	.single-gp-property .property-showcase.container {
		width: min(100% - 24px, 1280px);
	}

	.single-gp-property .property-back {
		padding-top: 16px;
		padding-bottom: 12px;
	}

	.single-gp-property .property-showcase__viewport {
		aspect-ratio: 4 / 3;
		border-radius: 12px;
	}

	.single-gp-property .property-showcase__badges {
		top: 12px;
		left: 12px;
		right: 12px;
		gap: 5px;
	}

	.single-gp-property .property-showcase__badge-group {
		gap: 5px;
	}

	.single-gp-property .property-showcase__badges .badge {
		padding: 5px 9px;
		font-size: .68rem;
	}

	.single-gp-property .gp-slider__arrow {
		width: 36px;
		height: 36px;
	}

	.single-gp-property .gp-slider__arrow--prev { left: 10px; }
	.single-gp-property .gp-slider__arrow--next { right: 10px; }

	.single-gp-property .property-showcase .gallery-open {
		right: 10px;
		bottom: 10px;
		padding: 7px 10px;
		font-size: .72rem;
	}

	.single-gp-property .property-showcase .gp-slider__dots {
		display: none;
	}

	.single-gp-property .property-showcase__thumbs button {
		flex-basis: 76px;
		width: 76px;
		height: 52px;
	}

	.single-gp-property .property-layout {
		gap: 22px;
		padding-top: 24px;
	}

	.single-gp-property .property-heading {
		flex-direction: column;
	}

	.single-gp-property .property-heading__actions {
		width: 100%;
	}

	.single-gp-property .property-spec-table__row {
		grid-template-columns: minmax(102px, 39%) 8px minmax(0, 1fr);
		gap: 5px;
		padding: 10px 14px;
		font-size: .8rem;
	}

	.single-gp-property .property-panel > h2 {
		padding: 16px;
	}

	.single-gp-property .property-description .entry-content,
	.single-gp-property .property-extra-panel > :not(h2) {
		padding: 18px 16px;
	}

	.single-gp-property .property-extra-panel .external-embed {
		width: calc(100% - 32px);
		margin: 16px;
		padding: 0;
	}

	.single-gp-property .feature-list {
		grid-template-columns: 1fr;
	}
}
