@media only screen and (max-width: 1024px) {
	.arch_bg {
		background-position: left center!important;
		background-size: cover!important;
	}
}
.archive-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.archive-result-count {
	font-size: 13px;
	color: var(--darkgray);
	font-weight: 500;
}
.archive-sorting select {
    padding: 6px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-size: 13px;
    font-weight: 600;
}
.gp-search-summary-notice {
	margin-bottom: 20px;
	padding: 8px 14px;
	background-color: rgba(28,105,83,0.1);
	border: 1px solid rgba(28,105,83,0.25);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.gp-property-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}
.coll4 .gp-property-archive-grid {
	grid-template-columns: 1fr 1fr 1fr 1fr;
	 gap: 25px;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray);
	box-shadow: 0px 10px 15px 5px rgba(97,97,97,0.04);
    display: flex;
    flex-direction: column;
}
.splide__slide .property-card {
	box-shadow:none;
}
.property-card-link { text-decoration: none !important; color: inherit !important; display: flex; flex-direction: column; height: 100%; }

.property-card-thumb { position: relative; overflow: hidden; }
.property-card-thumb img { width: 100%; height: auto; display:block;}

.card-badges-top { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.card-badge {
	padding: 0px 12px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}
.badge-sale { background-color: var(--accent); } /* Biru untuk Dijual */
.badge-rent { background-color: #579f83; } /* Hijau untuk Disewa */
.badge-sold { background-color: #e53e3e; } /* Merah Sold */

.property-card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; gap:8px;}

.card-title { 
	font-size: 15px !important; 
	font-weight: 700; 
	line-height: 1.3; 
	margin-bottom:0;
	min-height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.card-location { font-size: 12px; color: var(--darkgray); display: flex; align-items: center; gap: 4px; line-height:1.3em;}
.card-price { font-size: 18px; font-weight: 800; color: var(--accent); }
.card-price span {
	font-size: 12px;
	font-weight: normal;
	color: var(--darkgray);
	position: relative;
	margin-left: 5px;
	bottom: 1px;
} 

.card-specs {
	display: flex;
	align-items: center;
	gap: 7px;
	row-gap: 7px;
	font-size: 11px;
	color: var(--darkgray);
	font-weight: 600;
	flex-wrap: wrap;
	row-gap: 0;
}
.card-specs span { display: flex; align-items: center; gap: 2px; line-height:2em;}
.card-specs span strong { font-size: 12px; color: var(--darkgray);}

.card-features-pill {
    display: flex; align-items: center; gap: 8px; border-top: 1px solid #edf2f7; padding-top: 15px; font-size: 10px; color: #579f83; font-weight: 600; position: relative;
}
.card-features-pill span {
	background-color: rgba(28,105,83,0.1);
	padding: 7px 10px;
	color: var(--accent);
	font-weight: bold;
	border: 1px solid rgba(28,105,83,0.25);
	line-height: 1em;
	border-radius: 50px;
}
.card-arrow-link { 
	position: absolute; 
	right: 0; 
	display:flex;
}
.card-arrow-link svg { 
	width:26px; 
	height:26px;
}
.reset_not_found {
	display: inline-block;
	background: var(--accent);
	color: #fff!important;
	padding: 10px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.2s;
	font-size: 14px;
}

.gp-filter-container {
    background: #fff; border: 1px solid var(--gray); border-radius: 8px; padding: 20px;
}
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #edf2f7; padding-bottom: 15px; }
.filter-header h3 { margin: 0; font-size: 16px; font-weight: 700; }
.reset-filter { font-size: 12px; color: var(--darkgray); text-decoration: none; }
.reset-filter:hover { color: #e53e3e; }

.filter-group { margin-bottom: 20px; }
.filter-label { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: #2d3748; }

.checkbox-list { display: flex; flex-direction: column; gap: 10px; max-height: 200px; overflow-y: auto; }
.custom-checkbox { font-size: 13px; display: flex; align-items: center; cursor: pointer; position: relative; padding-left: 25px; line-height: 1.3em;}
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; }
.checkmark { position: absolute; top: 0; left: 0; height: 16px; width: 16px; background-color: #fff; border-radius: 4px; border: 1px solid var(--gray); }
.custom-checkbox input:checked ~ .checkmark { background-color: #579f83; border-color: #579f83; }
.checkmark:after { content: ""; position: absolute; display: none; left: 5px; top: 2px; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

.select-wrapper select { width: 100%; padding: 10px; border: 1px solid var(--gray); border-radius: 6px; font-size: 13px; color: #4a5568;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 16px !important;
}
.btn-apply-filter {
	width: 100%;
	background: var(--accent);
	color: #fff;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	transition: background 0.2s;
}
.btn-apply-filter:hover,
.btn-apply-filter:focus { background: var(--main-color); }

.mobile-filter-trigger { display: none; }
.close-filter { display: none; }

@media (max-width: 768px) {
    .mobile-filter-trigger {
        display: flex; justify-content: center; align-items: center; gap: 8px; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        background: var(--accent); color: #fff; border: none; padding: 12px 25px; border-radius: 30px; font-weight: bold; font-size: 14px; box-shadow: 0 4px 15px rgba(43,108,176,0.4); z-index: 999; cursor: pointer;
    }
    
    #gp-filter-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999;
        opacity: 0; visibility: hidden; transition: 0.3s ease;
    }
    #gp-filter-overlay.active { opacity: 1; visibility: visible; }

    .gp-filter-container {
        position: fixed; bottom: -100%; left: 0; width: 100%; max-height: 85vh; overflow-y: auto;
        background: #fff; border-radius: 20px 20px 0 0; z-index: 10000; transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 25px; box-shadow: 0 -5px 25px rgba(0,0,0,0.1); border: none;
    }
    .gp-filter-container.active { bottom: 0; }

    .close-filter { display: block; font-size: 18px; color: var(--darkgray); cursor: pointer; font-weight: bold; }
    .filter-actions { display: flex; align-items: center; gap: 15px; }
}

/* Single Property */
.sp-content-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}
.brd {
	font-size:12px;
	color: var(--darkgray);
	font-weight:500;
	border-bottom:1px solid #f1f1f1;
	padding-bottom:5px;
	margin-bottom:15px;
}
.sp-price-box {
	display: flex;
	align-items: center;
	gap: 20px;
}
.sp-price-period {
	font-size: 14px;
	font-weight: bold;
	position: relative;
	bottom: 2px;
}
.sp-rc {
	font-size:26px;
	font-weight:900;
	color:var(--accent);
}
.sp-lc {
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--darkgray);
}
.sp-lc svg {
	width:13px;
	height:13px;
}
.sp-title {
	font-size:16px;
	line-height: 1.45em;
	font-weight:normal;
	color: var(--darkgray);
	margin:5px 0;
}
.sp-price-bar { 
	display: flex; 
	align-items: center; 
	gap: 20px; 
	flex-wrap: wrap; 
	margin-bottom: 25px;
	justify-content:space-between;
}
.sp-quick-specs { 
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	color: var(--darkgray);
	font-size: 13px;
	font-weight: 600;
}
.sp-qs-item {
	display: flex;
	align-items: center;
	gap: 5px;
	border: 1px solid var(--gray);
	border-radius: 5px;
	line-height: 1em;
	padding: 5px 8px;
	font-size: 12px;
}

.sp-share-wrap { 
	position: relative; 
	margin-left: auto; 
}
.sp-share-toggle { 
	display: flex;
	align-items: center;
	gap: 6px;
	background: #fff!important;
	border: 1px solid var(--gray);
	padding: 7px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	color:#000!important;
}
.sp-share-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--gray); border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); width: 180px; z-index: 100; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s ease; padding:12px 0; }
.sp-share-wrap.active .sp-share-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-share-item { display: flex; align-items: center; gap: 10px; padding: 6px 16px; color: var(--sp-text); text-decoration: none; font-size: 13px; font-weight: 500; border: none; background: transparent; width: 100%; text-align: left; cursor: pointer; transition: 0.2s; }
.sp-share-item:hover { background: #f1f5f9; color: var(--sp-blue); }
.copy-tooltip { position: absolute; right: 10px; background: #334155; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; opacity: 0; transition: 0.2s; pointer-events: none; }
.copy-tooltip.show { opacity: 1; }

.sp-main { 
	flex: 1; 
	min-width: 0; 
	max-width: 100%;
} 
.sp-gallery-wrap {
	position: relative;
	margin-bottom: 30px;
	border-radius: 0;
	overflow: hidden;
	width: 100%;
}
.sp-badge-sale {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 15px;
	text-transform: uppercase;
	z-index: 10;
	border-radius: 50px;
}
#property-thumb-slider .splide__arrows {
	display:none;
}
#property-thumb-slider-track .splide__list {
	justify-content:center;
}
#property-main-slider-list li.splide__slide {
	border-radius:8px;
}
#property-thumb-slider-track li.splide__slide {
	border-radius:5px;
	border: none;
}
#property-thumb-slider-track li.splide__slide.is-active {
	opacity:1!important;
}
#property-main-slider .splide__arrow {
	background: #fff; 
}
#property-main-slider .splide__arrow svg {
	height: 12px;
	width: 12px;
}

.sp-section { margin-bottom: 40px; }
.sp-section-title { font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.sp-desc { font-size: 16px; line-height: 1.6em; }
.sp-desc ul { padding-left:1em; margin:10px 0;}
.sp-desc p { margin-bottom:15px;}

.sp-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 8px 30px;
}
.sp-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--gray);
	padding: 10px 0;
}
.sp-detail-label {
	display: flex;
	align-items: center;
	gap: 8px;
}
.sp-detail-value {
	font-weight: 600;
	text-align: right;
}

.sp-features-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.sp-features-list li { 
	position: relative; 
	padding-left: 25px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231C6852' class='bi bi-check-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 14px;
}


/* Sidebar */
.sp-sidebar {
	width: 320px; 
	padding-top:25px;
	flex-shrink: 0;
	position: sticky;
	top: 90px;
}
.sp-agent-card {
	border: 1px solid var(--gray);
	border-radius: 12px;
	margin-bottom: 30px;
	overflow:hidden;
	box-shadow: 0px 10px 15px 5px rgba(97,97,97,0.07);
}
.sp-agent-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--gray);
	padding:15px 20px;
	background:#f1f1f1;
}
.sp-agent-avatar {
	width: 58px;
	height: 58px;
	border:3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}
.sp-agent-info h3 { 
	font-size: 18px; 
	font-weight: 700; 
	margin: 0;
}
.sp-agent-info p {
	font-size: 12px;
	color: var(--darkgray);
	margin: 0;
}
.sp-btn-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding:0 25px 25px;
}
.sp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 7px 12px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
	transition: 0.2s;
	border: 1px solid transparent;
	box-sizing: border-box;
}
.sp-btn-wa { background-color: #1C6852;; color: #fff; }
.sp-btn-wa:hover { background-color: #000; color: #fff; }
.sp-btn-outline { background-color: #fff; border-color: var(--gray); }
.sp-btn-outline:hover { background-color: #f8fafc; }
.sp-agent-info .sp-nib { font-size: 11px; font-weight: 600; }

/* Social */
.sp-agent-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
	padding-bottom:30px;
}

.sp-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #111827;
    color: #ffffff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sp-social-link:hover {
    background-color: #374151; 
    transform: translateY(-2px);
    color: #ffffff !important;
}
.sp-social-link svg {
    display: block;
}

.sp-related-area { margin-top: 60px; border-top: 1px solid var(--gray); padding-top: 40px; }
.sp-related-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.sp-related-title { font-size: 22px; font-weight: 700; margin: 0; }
.sp-btn-view-all { font-size: 13px; font-weight: 600; border: 1px solid var(--gray); padding: 8px 16px; border-radius: 6px; text-decoration: none; }

.sp-mobile-sticky { display: none; }
#sp-agent-overlay { display: none; }
#sp-agent-popup { display: none; }

@media (max-width: 992px) {
    .sp-content-wrapper { flex-direction: column; gap: 30px; padding-bottom: 80px; }
    .sp-agent-card { display: none; }
    .sp-share-wrap { margin-left: 0; }
    
    .sp-mobile-sticky {
        display: flex; justify-content: space-between; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%; background: #fff;
        padding: 15px 20px; box-shadow: 0 -4px 15px rgba(0,0,0,0.08); z-index: 999; border-top: 1px solid var(--gray);
        box-sizing: border-box;
		margin-bottom: 0 !important;
    }
    .sp-sticky-price { font-size: 18px; font-weight: 800; color: #000; line-height: 1.2; }
    .sp-sticky-btn { background: #1C6852!important; color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; white-space: nowrap; }

    #sp-agent-overlay {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s;
    }
    #sp-agent-overlay.active { opacity: 1; visibility: visible; }
    
    #sp-agent-popup {
        display: block; position: fixed; bottom: -100%; left: 0; width: 100%;
        background: #fff; border-radius: 20px 20px 0 0; z-index: 1001;
        padding: 30px 25px; transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 -5px 25px rgba(0,0,0,0.1); text-align: center; box-sizing: border-box;
		margin-bottom: 0 !important;
    }
    #sp-agent-popup.active { bottom: 0; }
    
    .sp-popup-close { position: absolute; top: 20px; right: 20px; font-size: 20px; color: var(--sp-text-muted); background: none; border: none; cursor: pointer; }
    .sp-popup-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
    .sp-popup-name { font-size: 20px; font-weight: 800; margin: 0; }
    .sp-popup-role { font-size: 13px; color: var(--darkgray); margin-bottom: 25px; display: block; }
}

/* General Responsive */
@media only screen and (max-width: 1024px) {
	.coll4 .gp-property-archive-grid,
	.gp-property-archive-grid {
		grid-template-columns: 1fr 1fr;
		margin-bottom: 0;
	}
	.site-main .gp-property-archive-grid article {
		margin-bottom:0!important;
	}
	.sp-content-wrapper {
		padding-bottom: 0px;
		gap: 0;
	}
}

@media only screen and (max-width: 767px) {
	.coll4 .gp-property-archive-grid,
	.gp-property-archive-grid {
		grid-template-columns: 1fr;
	}
	.property-card { box-shadow: 0px 10px 15px 5px rgba(97,97,97,0.07); }
	.card-title {
		font-size: 17px !important;
	}
	.card-price {
		font-size: 20px;
		font-weight: 800;
		color: var(--accent);
	}
	.sp-quick-specs { gap: 6px;}
	.sp-share-toggle {
		padding: 3.5px 9px;
		font-size:10px;
	}
	.sp-price-bar {
		margin-top:15px;
		gap: 10px;
		flex-wrap:nowrap;
		align-items: flex-start;
	}
	.sp-share-wrap {
		text-align: right;
		display: flex;
		justify-content: flex-end;
	}
}
