/**
 * DeProperty Toolkit — Frontend Design System
 * Prinsip: minimalist, clean, hirarki visual jelas, konsisten (PRD §58).
 * Font: Poppins (di-enqueue via Google Fonts, lihat includes/class-assets.php).
 */

/* ===== 1. Design Tokens ===== */
.dpt-property-card,
.dpt-listing-wrap,
.dpt-search-form,
.dpt-property-price,
.dpt-property-title,
.dpt-agent-list,
.dpt-compare-table-wrap,
.dpt-compare-bar,
.dpt-share-buttons,
.dpt-meta-list,
.dpt-features-grid,
.dpt-features-list,
.dpt-empty-state,
.dpt-loading-state,
.dpt-btn,
[data-dpt-favorites-list] {
	--dpt-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--dpt-ink: #191b1f;
	--dpt-ink-soft: #6b7280;
	--dpt-ink-faint: #9aa0ab;
	--dpt-line: #e8e9ec;
	--dpt-surface: #ffffff;
	--dpt-surface-muted: #f6f7f8;
	--dpt-primary: #1f6f50;
	--dpt-primary-ink: #ffffff;
	--dpt-primary-soft: #e7f2ec;
	--dpt-danger: #d64545;
	--dpt-warning: #b8791a;
	--dpt-info: #2563eb;
	--dpt-whatsapp: #25d366;
	--dpt-radius-sm: 6px;
	--dpt-radius-md: 10px;
	--dpt-radius-lg: 16px;
	--dpt-radius-pill: 999px;
	--dpt-shadow-sm: 0 1px 2px rgba(17, 20, 24, 0.05);
	--dpt-shadow-md: 0 8px 24px rgba(17, 20, 24, 0.08);
	--dpt-space-1: 4px;
	--dpt-space-2: 8px;
	--dpt-space-3: 12px;
	--dpt-space-4: 16px;
	--dpt-space-5: 20px;
	--dpt-space-6: 24px;
	--dpt-space-8: 32px;
	font-family: var(--dpt-font);
	box-sizing: border-box;
}

.dpt-property-card *,
.dpt-listing-wrap *,
.dpt-search-form *,
.dpt-compare-table-wrap *,
.dpt-compare-bar *,
[data-dpt-favorites-list] * {
	box-sizing: border-box;
}

/* Icon baseline — semua icon SVG dari DPT_Icons pakai class .dpt-icon */
.dpt-icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: -0.15em;
}

/* ===== 2. Button component (dipakai semua widget: WhatsApp, Share, PDF, Search, Compare Clear) ===== */
.dpt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--dpt-space-2);
	font-family: var(--dpt-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 12px 20px;
	border-radius: var(--dpt-radius-sm);
	border: 1px solid transparent;
	background: var(--dpt-primary);
	color: var(--dpt-primary-ink);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.dpt-btn:hover { filter: brightness(0.94); color: var(--dpt-primary-ink); }
.dpt-btn:active { transform: translateY(1px); }
.dpt-btn-icon { display: inline-flex; }
.dpt-btn-icon .dpt-icon { width: 16px; height: 16px; }

.dpt-btn-secondary {
	background: var(--dpt-surface);
	color: var(--dpt-ink);
	border-color: var(--dpt-line);
}
.dpt-btn-secondary:hover { background: var(--dpt-surface-muted); color: var(--dpt-ink); }

.dpt-btn-whatsapp { background: var(--dpt-whatsapp); }
.dpt-btn-pdf { background: var(--dpt-ink); }
.dpt-btn-search { padding: 12px 22px; }

/* ===== 3. Badges ===== */
.dpt-badge {
	font-family: var(--dpt-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: var(--dpt-radius-pill);
	color: #fff;
	background: var(--dpt-ink);
	line-height: 1.4;
}
.dpt-badge-transaction { background: var(--dpt-primary); }
.dpt-badge-featured { background: var(--dpt-warning); }
.dpt-badge-new { background: var(--dpt-info); }
.dpt-badge-status { background: var(--dpt-ink); }
.dpt-badge-sold { background: var(--dpt-danger); }
.dpt-badge-rented { background: var(--dpt-info); }

/* ===== 4. Property Card ===== */
.dpt-property-card {
	background: var(--dpt-surface);
	border: 1px solid var(--dpt-line);
	border-radius: var(--dpt-radius-lg);
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.dpt-property-card:hover {
	box-shadow: var(--dpt-shadow-md);
	border-color: transparent;
}

.dpt-card-media { position: relative; background: var(--dpt-surface-muted); }
.dpt-card-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.dpt-card-badges {
	position: absolute; top: var(--dpt-space-3); left: var(--dpt-space-3);
	display: flex; gap: var(--dpt-space-2); flex-wrap: wrap;
}
.dpt-card-actions {
	position: absolute; top: var(--dpt-space-3); right: var(--dpt-space-3);
	display: flex; flex-direction: column; gap: var(--dpt-space-2);
}
.dpt-card-actions button {
	width: 36px; height: 36px; border-radius: 50%; border: none;
	background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(2px);
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	color: var(--dpt-ink-soft); box-shadow: var(--dpt-shadow-sm);
	transition: color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}
.dpt-card-actions button:hover { transform: scale(1.06); }
.dpt-card-actions .dpt-icon { width: 17px; height: 17px; }

.dpt-btn-favorite.is-active { color: var(--dpt-danger); }
.dpt-btn-favorite.is-active .dpt-icon { fill: var(--dpt-danger); }

.dpt-btn-compare.is-active { background: var(--dpt-primary); color: #fff; }

.dpt-card-body { padding: var(--dpt-space-4) var(--dpt-space-5) var(--dpt-space-5); }
.dpt-card-title { font-size: 16px; font-weight: 600; margin: 0 0 var(--dpt-space-1); line-height: 1.35; }
.dpt-card-title a { color: var(--dpt-ink); text-decoration: none; }
.dpt-card-title a:hover { color: var(--dpt-primary); }

.dpt-card-location {
	display: flex; align-items: center; gap: var(--dpt-space-1);
	color: var(--dpt-ink-soft); font-size: 12.5px; margin: 0 0 var(--dpt-space-3);
}
.dpt-card-location .dpt-icon { width: 13px; height: 13px; color: var(--dpt-ink-faint); }

.dpt-card-price { font-weight: 700; font-size: 18px; color: var(--dpt-ink); margin: 0 0 var(--dpt-space-3); }
.dpt-price-label { font-weight: 400; font-size: 12px; color: var(--dpt-ink-faint); margin-left: var(--dpt-space-1); }

.dpt-card-meta {
	display: flex; gap: var(--dpt-space-4); font-size: 12.5px; color: var(--dpt-ink-soft);
	padding-top: var(--dpt-space-3); border-top: 1px solid var(--dpt-line);
}
.dpt-card-meta span { display: inline-flex; align-items: center; gap: var(--dpt-space-1); }
.dpt-card-meta .dpt-icon { width: 15px; height: 15px; color: var(--dpt-ink-faint); }

/* ===== 5. Listing grid/list ===== */
.dpt-listing-wrap.is-loading { opacity: 0.55; pointer-events: none; transition: opacity 0.15s ease; }

.dpt-listing-grid {
	display: grid; gap: var(--dpt-space-6);
	grid-template-columns: repeat(var(--dpt-columns, 3), 1fr);
}
@media (max-width: 1024px) { .dpt-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dpt-listing-grid { grid-template-columns: 1fr; } }

.dpt-listing-grid.dpt-layout-list { display: flex; flex-direction: column; gap: var(--dpt-space-4); grid-template-columns: none; }
.dpt-listing-grid.dpt-layout-list .dpt-property-card { display: flex; flex-direction: row; }
.dpt-listing-grid.dpt-layout-list .dpt-card-media { flex: 0 0 280px; }
.dpt-listing-grid.dpt-layout-list .dpt-card-media img { height: 100%; min-height: 180px; }
.dpt-listing-grid.dpt-layout-list .dpt-card-body { flex: 1; }
@media (max-width: 640px) {
	.dpt-listing-grid.dpt-layout-list .dpt-property-card { flex-direction: column; }
	.dpt-listing-grid.dpt-layout-list .dpt-card-media { flex-basis: auto; }
}

.dpt-pagination { display: flex; gap: var(--dpt-space-2); justify-content: center; margin-top: var(--dpt-space-8); font-family: var(--dpt-font); }
.dpt-pagination a, .dpt-pagination span {
	min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--dpt-radius-sm); border: 1px solid var(--dpt-line); color: var(--dpt-ink-soft);
	text-decoration: none; font-size: 13px; padding: 0 var(--dpt-space-2);
}
.dpt-pagination a:hover { border-color: var(--dpt-primary); color: var(--dpt-primary); }
.dpt-pagination .current { background: var(--dpt-primary); border-color: var(--dpt-primary); color: #fff; }

/* ===== 6. Search widget (Live Search) ===== */
.dpt-search-form {
	display: flex; flex-wrap: wrap; gap: var(--dpt-space-3);
	background: var(--dpt-surface-muted); padding: var(--dpt-space-4);
	border-radius: var(--dpt-radius-md); align-items: center;
}
.dpt-search-layout-stacked { flex-direction: column; align-items: stretch; }

.dpt-search-field {
	font-family: var(--dpt-font); font-size: 14px; color: var(--dpt-ink);
	padding: 11px 14px; border: 1px solid var(--dpt-line); border-radius: var(--dpt-radius-sm);
	background: var(--dpt-surface); flex: 1 1 170px; min-width: 0;
}
.dpt-search-field-small { flex: 1 1 110px; }
.dpt-search-field:focus, .dpt-search-form select:focus { outline: none; border-color: var(--dpt-primary); }
.dpt-search-form select.dpt-search-field { appearance: none; background-image: none; }

/* Loading indicator saat live search berjalan */
.dpt-search-form.is-searching .dpt-btn-search { opacity: 0.7; pointer-events: none; }

/* ===== 7. WhatsApp / unavailable state ===== */
.dpt-whatsapp-unavailable { color: var(--dpt-ink-faint); font-size: 13px; font-style: italic; }

/* ===== 8. Property Meta (spec list, icon-based) ===== */
.dpt-meta-list {
	display: flex; flex-wrap: wrap; gap: var(--dpt-space-5);
	list-style: none; margin: 0; padding: var(--dpt-space-4) 0; border-top: 1px solid var(--dpt-line); border-bottom: 1px solid var(--dpt-line);
}
.dpt-meta-item { display: flex; align-items: center; gap: var(--dpt-space-2); font-size: 13.5px; color: var(--dpt-ink); }
.dpt-meta-icon { display: inline-flex; color: var(--dpt-primary); }
.dpt-meta-icon .dpt-icon { width: 19px; height: 19px; }
.dpt-meta-value { font-weight: 600; }
.dpt-meta-label { color: var(--dpt-ink-soft); }

/* ===== 9. Features ===== */
.dpt-features-grid, .dpt-features-list { list-style: none; margin: 0; padding: 0; }
.dpt-features-grid { display: grid; grid-template-columns: repeat(var(--dpt-columns, 3), 1fr); gap: var(--dpt-space-3); }
.dpt-features-list { display: flex; flex-direction: column; gap: var(--dpt-space-2); }
.dpt-feature-item {
	display: flex; align-items: center; gap: var(--dpt-space-2); font-size: 13.5px; color: var(--dpt-ink);
	padding: var(--dpt-space-2) var(--dpt-space-3); background: var(--dpt-surface-muted); border-radius: var(--dpt-radius-sm);
}

/* ===== 10. Agent card ===== */
.dpt-agent-list { display: flex; flex-direction: column; gap: var(--dpt-space-4); }
.dpt-agent-card {
	display: flex; gap: var(--dpt-space-4); align-items: flex-start;
	padding: var(--dpt-space-4); border: 1px solid var(--dpt-line); border-radius: var(--dpt-radius-md);
}
.dpt-agent-photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.dpt-agent-info { flex: 1; }
.dpt-agent-name { font-weight: 600; font-size: 15px; margin: 0 0 2px; color: var(--dpt-ink); }
.dpt-agent-position { font-size: 12.5px; color: var(--dpt-ink-soft); margin: 0 0 var(--dpt-space-2); }
.dpt-agent-phone { font-size: 13px; margin: 0 0 var(--dpt-space-2); }
.dpt-agent-phone a { color: var(--dpt-ink); text-decoration: none; }
.dpt-agent-card .dpt-btn-whatsapp { padding: 8px 16px; font-size: 13px; }

/* ===== 11. Location / map ===== */
.dpt-property-address { display: flex; align-items: flex-start; gap: var(--dpt-space-2); color: var(--dpt-ink); font-size: 14px; margin: 0 0 var(--dpt-space-2); }
.dpt-location-description { color: var(--dpt-ink-soft); font-size: 13.5px; margin: 0 0 var(--dpt-space-3); }
.dpt-property-map { border-radius: var(--dpt-radius-md); overflow: hidden; border: 1px solid var(--dpt-line); }
.dpt-property-map iframe { width: 100%; display: block; border: 0; }

/* ===== 12. Compare table ===== */
.dpt-compare-table-wrap { overflow-x: auto; border: 1px solid var(--dpt-line); border-radius: var(--dpt-radius-md); }
.dpt-compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dpt-compare-table th, .dpt-compare-table td { padding: var(--dpt-space-3) var(--dpt-space-4); border-bottom: 1px solid var(--dpt-line); text-align: left; }
.dpt-compare-table th { background: var(--dpt-surface-muted); font-weight: 600; color: var(--dpt-ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.dpt-compare-table tr:last-child td { border-bottom: 0; }
.dpt-compare-remove { background: none; border: none; color: var(--dpt-danger); cursor: pointer; font-size: 12px; }

/* Floating Compare Bar — muncul di bawah layar begitu >=1 property dipilih */
.dpt-compare-bar {
	position: fixed; left: 50%; bottom: -100px; transform: translateX(-50%);
	display: flex; align-items: center; gap: var(--dpt-space-4);
	background: var(--dpt-ink); color: #fff; padding: var(--dpt-space-3) var(--dpt-space-5);
	border-radius: var(--dpt-radius-lg); box-shadow: var(--dpt-shadow-md);
	z-index: 9999; transition: bottom 0.25s ease; max-width: calc(100vw - 32px);
}
.dpt-compare-bar.is-visible { bottom: 24px; }
.dpt-compare-bar-items { display: flex; gap: var(--dpt-space-2); }
.dpt-compare-bar-item { position: relative; width: 40px; height: 40px; border-radius: var(--dpt-radius-sm); overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.1); }
.dpt-compare-bar-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dpt-compare-bar-thumb-placeholder { display: block; width: 100%; height: 100%; background: rgba(255,255,255,0.15); }
.dpt-compare-bar-remove {
	position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--dpt-danger); color: #fff; border: none; font-size: 10px; line-height: 1; cursor: pointer;
}
.dpt-compare-bar-count { font-size: 13px; color: #d8dadd; white-space: nowrap; }
.dpt-compare-bar-actions { display: flex; align-items: center; gap: var(--dpt-space-3); }
.dpt-compare-bar-clear {
	width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
	background: transparent; color: #fff; font-size: 13px; line-height: 1; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dpt-compare-bar-clear:hover { background: rgba(255,255,255,0.15); }
.dpt-compare-bar .dpt-btn { padding: 9px 16px; font-size: 13px; white-space: nowrap; }

/* ===== 13. Share buttons ===== */
.dpt-share-buttons { display: flex; flex-wrap: wrap; gap: var(--dpt-space-2); }
.dpt-share-btn { background: var(--dpt-surface-muted); color: var(--dpt-ink); border: 1px solid var(--dpt-line); }
.dpt-share-btn:hover { background: var(--dpt-surface); border-color: var(--dpt-primary); color: var(--dpt-primary); }
.dpt-share-icon-only .dpt-btn-text { display: none; }
.dpt-share-icon-only .dpt-share-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* ===== 14. Empty / loading states ===== */
.dpt-empty-state {
	text-align: center; color: var(--dpt-ink-faint); font-size: 14px;
	padding: var(--dpt-space-8) var(--dpt-space-4); grid-column: 1 / -1;
}
.dpt-loading-state { text-align: center; color: var(--dpt-ink-faint); font-size: 13px; padding: var(--dpt-space-6); }

/* ===== 15. Property Title / Price (single widgets) ===== */
.dpt-property-title { font-weight: 700; color: var(--dpt-ink); margin: 0 0 var(--dpt-space-2); line-height: 1.25; }
.dpt-property-title a { color: inherit; text-decoration: none; }
.dpt-property-price { display: flex; align-items: baseline; gap: var(--dpt-space-2); font-weight: 700; font-size: 28px; color: var(--dpt-primary); flex-wrap: wrap; }

/* ===== 16. Property Description ===== */
.dpt-property-description {
	font-family: var(--dpt-font); color: var(--dpt-ink-soft); font-size: 14.5px; line-height: 1.75;
}
.dpt-property-description p { margin: 0 0 var(--dpt-space-4); }
.dpt-property-description p:last-child { margin-bottom: 0; }

/* ===== 17. Property CTA (WhatsApp = primer, Phone/Email = sekunder) ===== */
.dpt-cta-buttons { display: flex; flex-wrap: wrap; gap: var(--dpt-space-3); font-family: var(--dpt-font); }
.dpt-btn-phone, .dpt-btn-email {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--dpt-space-2);
	font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: var(--dpt-radius-sm);
	background: var(--dpt-surface); color: var(--dpt-ink); border: 1px solid var(--dpt-line); text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.dpt-btn-phone:hover, .dpt-btn-email:hover { border-color: var(--dpt-primary); color: var(--dpt-primary); }

/* ===== 18. Property Gallery + Lightbox ===== */
.dpt-gallery-grid {
	display: grid; gap: var(--dpt-space-3);
	grid-template-columns: repeat(var(--dpt-columns, 4), 1fr);
}
@media (max-width: 900px) { .dpt-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .dpt-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.dpt-gallery-carousel {
	display: flex; gap: var(--dpt-space-3); overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: var(--dpt-space-2); -webkit-overflow-scrolling: touch;
}
.dpt-gallery-carousel .dpt-gallery-item { flex: 0 0 260px; scroll-snap-align: start; }

.dpt-gallery-item {
	display: block; border-radius: var(--dpt-radius-md); overflow: hidden; position: relative;
	aspect-ratio: 4 / 3; background: var(--dpt-surface-muted);
}
.dpt-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.dpt-gallery-item:hover img { transform: scale(1.04); }

/* Lightbox overlay — dibuat & di-remove dinamis oleh JS (initGalleryLightbox) */
.dpt-lightbox-overlay {
	position: fixed; inset: 0; background: rgba(15, 17, 20, 0.92); z-index: 100000;
	display: flex; align-items: center; justify-content: center; padding: var(--dpt-space-6);
	font-family: var(--dpt-font);
}
.dpt-lightbox-overlay img {
	max-width: 100%; max-height: 85vh; border-radius: var(--dpt-radius-sm); display: block;
	box-shadow: var(--dpt-shadow-md);
}
.dpt-lightbox-close, .dpt-lightbox-prev, .dpt-lightbox-next {
	position: absolute; background: rgba(255,255,255,0.08); border: none; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center; border-radius: 50%;
	transition: background-color 0.15s ease;
}
.dpt-lightbox-close:hover, .dpt-lightbox-prev:hover, .dpt-lightbox-next:hover { background: rgba(255,255,255,0.18); }
.dpt-lightbox-close { top: var(--dpt-space-5); right: var(--dpt-space-5); width: 40px; height: 40px; }
.dpt-lightbox-close .dpt-icon { width: 18px; height: 18px; }
.dpt-lightbox-prev, .dpt-lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.dpt-lightbox-prev { left: var(--dpt-space-5); }
.dpt-lightbox-next { right: var(--dpt-space-5); }
.dpt-lightbox-prev .dpt-icon, .dpt-lightbox-next .dpt-icon { width: 22px; height: 22px; }
.dpt-lightbox-counter {
	position: absolute; bottom: var(--dpt-space-5); left: 50%; transform: translateX(-50%);
	color: #d8dadd; font-size: 13px; letter-spacing: 0.02em;
}

/* ===== 19. Single Property Page ===== */
.dpt-single-container { max-width: 1160px; margin: 0 auto; padding: var(--dpt-space-8) var(--dpt-space-4); font-family: var(--dpt-font); }
.dpt-single-gallery { margin-bottom: var(--dpt-space-6); }
.dpt-single-gallery .dpt-gallery-item { aspect-ratio: 16 / 10; }
.dpt-single-gallery .dpt-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) { .dpt-single-gallery { grid-template-columns: repeat(2, 1fr) !important; } .dpt-single-gallery .dpt-gallery-item:first-child { grid-column: span 2; grid-row: span 1; } }

.dpt-single-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--dpt-space-8); align-items: start; }
@media (max-width: 900px) { .dpt-single-layout { grid-template-columns: 1fr; } }

.dpt-single-header { margin-bottom: var(--dpt-space-6); }
.dpt-single-title { font-size: 30px; margin: var(--dpt-space-3) 0 var(--dpt-space-2); }
.dpt-single-location { font-size: 14px; margin-bottom: var(--dpt-space-4); }
.dpt-single-location .dpt-icon { width: 15px; height: 15px; }
.dpt-single-price { font-size: 30px; margin-bottom: var(--dpt-space-4); }
.dpt-single-actions { display: flex; gap: var(--dpt-space-3); flex-wrap: wrap; }
.dpt-single-actions .dpt-btn-favorite.is-active,
.dpt-single-actions .dpt-btn-compare.is-active { background: var(--dpt-primary-soft); border-color: var(--dpt-primary); color: var(--dpt-primary); }

.dpt-section-title { font-size: 18px; font-weight: 600; color: var(--dpt-ink); margin: var(--dpt-space-8) 0 var(--dpt-space-4); padding-top: var(--dpt-space-6); border-top: 1px solid var(--dpt-line); }
.dpt-single-main > .dpt-meta-list { margin-top: var(--dpt-space-2); }

.dpt-single-sidebar { position: sticky; top: var(--dpt-space-6); display: flex; flex-direction: column; gap: var(--dpt-space-4); }
.dpt-sidebar-box { border: 1px solid var(--dpt-line); border-radius: var(--dpt-radius-md); padding: var(--dpt-space-5); display: flex; flex-direction: column; gap: var(--dpt-space-3); }
.dpt-btn-block { width: 100%; }
.dpt-sidebar-share { padding-top: var(--dpt-space-2); border-top: 1px solid var(--dpt-line); }
.dpt-sidebar-heading { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dpt-ink-soft); margin: 0 0 var(--dpt-space-2); }

/* ===== 20. Archive / Search Results Page ===== */
.dpt-archive-container { max-width: 1160px; margin: 0 auto; padding: var(--dpt-space-8) var(--dpt-space-4); font-family: var(--dpt-font); }
.dpt-archive-title { font-size: 26px; font-weight: 700; color: var(--dpt-ink); margin: 0 0 var(--dpt-space-5); }
.dpt-archive-container .dpt-search-form { margin-bottom: var(--dpt-space-6); }

/* ===== 21. Single Agent Page ===== */
.dpt-single-agent { max-width: 1000px; }
.dpt-agent-profile-header { display: flex; gap: var(--dpt-space-5); align-items: center; margin-bottom: var(--dpt-space-6); }
.dpt-agent-profile-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dpt-agent-profile-header .dpt-agent-position { font-size: 14px; margin: 0 0 var(--dpt-space-3); }
