.ddf-listings-wrap { max-width: var(--container-width, 1200px); margin: 0 auto; }

.ddf-listings-body { padding: 2em 1.8em; box-sizing: border-box; }

.ddf-single { padding: 0 24px 40px; box-sizing: border-box; }

.ddf-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e6e3da;
	border-radius: 10px;
}

.ddf-filters-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
	align-items: end;
}

.ddf-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ddf-field label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #8a8778;
}

.ddf-field-label-spacer { visibility: hidden; }

.ddf-filters select,
.ddf-filters input[type="number"],
.ddf-filters input[type="text"] {
	padding: 9px 10px;
	border: 1px solid #d3d0c8;
	border-radius: 6px;
	font-size: 14px;
	width: 100%;
	background: #fff;
	color: #333;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}
.ddf-filters select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238a8778'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.19l3.71-3.96a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 16px;
	padding-right: 28px;
}
.ddf-filters select:focus,
.ddf-filters input:focus {
	outline: none;
	border-color: #1B3A5C;
	box-shadow: 0 0 0 3px rgba(27,58,92,.12);
}

.ddf-filters button {
	padding: 9px 20px;
	background: #1B3A5C;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
	white-space: nowrap;
	transition: background .15s ease;
}
.ddf-filters button:hover { background: #14293f; }

.ddf-more-filters {
	border-top: 1px solid #ece9e1;
	padding-top: 10px;
}
.ddf-more-filters summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: #1B3A5C;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	user-select: none;
}
.ddf-more-filters summary::-webkit-details-marker { display: none; }
.ddf-more-filters summary::before {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	font-size: 15px;
	line-height: 1;
	color: #B8934A;
}
.ddf-more-filters[open] summary::before { content: '\2212'; }

.ddf-more-filters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.ddf-field-checkbox { justify-content: flex-end; }
.ddf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	padding-bottom: 9px;
}
.ddf-checkbox-label input { width: auto; }

.ddf-reset-filters {
	align-self: flex-start;
	font-size: 12px;
	color: #9a8f6b !important;
	text-decoration: underline;
}
.ddf-reset-filters:hover { color: #1B3A5C !important; }

.ddf-results-meta {
	margin-bottom: 12px;
	color: #6b6b6b;
	font-size: 14px;
}

.ddf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}

.ddf-card {
	display: block;
	border: 1px solid #e6e3da;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}
.ddf-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }

.ddf-card-photo {
	height: 190px;
	background-size: cover;
	background-position: center;
	background-color: #eceae3;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ddf-no-photo { color: #9a9688; font-size: 13px; }
.ddf-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ddf-card-body { padding: 14px 16px 16px; }
.ddf-card-price { font-size: 20px; font-weight: 800; color: #1B3A5C; }
.ddf-card-address { font-size: 14px; color: #333; margin-top: 4px; }
.ddf-card-meta { display: flex; gap: 10px; font-size: 13px; color: #6b6b6b; margin-top: 8px; }
.ddf-card-office { font-size: 12px; color: #9a9688; margin-top: 8px; }

.ddf-empty { grid-column: 1/-1; color: #6b6b6b; }

.ddf-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.ddf-pagination a {
	padding: 6px 12px;
	border: 1px solid #d3d0c8;
	border-radius: 5px;
	text-decoration: none;
	color: #1B3A5C !important;
	font-size: 14px;
}
.ddf-pagination a.active { background: #1B3A5C; color: #fff !important; border-color: #1B3A5C; }
.ddf-pagination a.ddf-page-nav { font-weight: 700; }
.ddf-page-ellipsis { padding: 6px 4px; color: #9a9688; font-size: 14px; }

.ddf-compliance {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e6e3da;
}
.ddf-powered-by { display: inline-block; margin-bottom: 12px; }
.ddf-trademark,
.ddf-source,
.ddf-copyright {
	font-size: 11px;
	line-height: 1.5;
	color: #9a9688;
	max-width: 1200px;
	margin: 0 0 8px 0;
}

/* Single listing */
.ddf-single { max-width: var(--container-width, 1200px); margin: 0 auto; }

.ddf-single-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.ddf-single-price { font-size: 34px; font-weight: 800; color: #1B3A5C; }
.ddf-single-address { font-size: 18px; color: #333; margin-top: 4px; }
.ddf-single-facts { display: flex; gap: 24px; flex-wrap: wrap; margin: 28px 0; padding: 20px; background: #f6f5f2; border-radius: 8px; }
.ddf-single-facts div { font-size: 14px; }
.ddf-single-facts strong { display: block; font-size: 18px; color: #1B3A5C; }
.ddf-single-remarks { line-height: 1.7; margin-bottom: 28px; }
.ddf-single-office { font-size: 14px; color: #6b6b6b; margin-bottom: 28px; padding-top: 24px; border-top: 1px solid #ece9e1; }
/* Keep the contact card and compliance footer on the same vertical rhythm as the sections above them (single listing page only). */
.ddf-single .ddf-cta { margin: 48px 0; }
.ddf-single .ddf-compliance { margin-top: 48px; }
/* CTA card */
.ddf-cta {
	background: #1B3A5C;
	color: #fff;
	border-radius: 12px;
	padding: 24px 32px;
	margin: 40px 0;
	max-width: 480px;
}
.ddf-cta-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ddf-cta-avatar {
	width: 52px; height: 52px; border-radius: 50%;
	background: #B8934A; color: #1B3A5C;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.ddf-cta-name { font-size: 18px; font-weight: 700; }
.ddf-cta-title { font-size: 13px; color: #cfd9e3; margin-top: 2px; }
.ddf-cta-contact { font-size: 13px; margin-top: 6px; }
.ddf-cta-contact a { color: #fff !important; text-decoration: underline; }
.ddf-cta-form { display: flex; flex-direction: column; gap: 8px; }
.ddf-cta-form input,
.ddf-cta-form textarea {
	padding: 8px 12px; border-radius: 6px; border: none; font-size: 14px; font-family: inherit;
}
.ddf-cta-form button {
	background: #B8934A; color: #1B3A5C; border: none; border-radius: 6px;
	padding: 12px; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 4px;
}
.ddf-cta-form button:hover { background: #cba758; }
.ddf-cta-thanks { font-size: 16px; padding: 8px 0; }
.ddf-cta-error { background: rgba(255,255,255,.15); padding: 8px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 8px; }

/* Preset page intro */
.ddf-preset-intro { margin: 0; padding: 4em 2em 2em; }
.ddf-preset-intro h1 { font-size: 30px; margin: 0 0 8px 0; color: #1B3A5C; }
.ddf-preset-intro p { color: #555; font-size: 15px; max-width: 1200px; }

/* Gallery */
.ddf-gallery { margin-bottom: 18px; }
.ddf-gallery-main { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; background: #eceae3; }
.ddf-gallery-main-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ddf-gallery-empty {
	aspect-ratio: 16/9; border-radius: 10px; background: #eceae3;
	display: flex; align-items: center; justify-content: center;
	color: #9a9688; font-size: 14px; margin-bottom: 18px;
}
.ddf-gallery-count {
	position: absolute; right: 12px; bottom: 12px;
	background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 20px;
	padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.ddf-gallery-thumbs {
	display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px;
	scrollbar-width: thin;
}
.ddf-gallery-thumb {
	width: 100px; height: 72px; object-fit: cover; border-radius: 6px; cursor: pointer;
	flex: 0 0 auto; opacity: .65; border: 2px solid transparent; transition: opacity .15s ease, border-color .15s ease;
}
.ddf-gallery-thumb:hover { opacity: .9; }
.ddf-gallery-thumb.active { opacity: 1; border-color: #1B3A5C; }

.ddf-lightbox {
	display: none;
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(10,14,20,.94);
	align-items: center; justify-content: center;
}
.ddf-lightbox.open { display: flex; }
.ddf-lightbox-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.ddf-lightbox-close,
.ddf-lightbox-prev,
.ddf-lightbox-next {
	position: absolute; background: rgba(255,255,255,.1); color: #fff; border: none;
	cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 26px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.ddf-lightbox-close:hover,
.ddf-lightbox-prev:hover,
.ddf-lightbox-next:hover { background: rgba(255,255,255,.22); }
.ddf-lightbox-close { top: 18px; right: 18px; }
.ddf-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ddf-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.ddf-lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfd4da; font-size: 13px; }

/* Top quick-action CTAs */
.ddf-quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.ddf-cta-btn {
	display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px;
	text-decoration: none; text-align: center; transition: background .15s ease, box-shadow .15s ease;
}
.ddf-cta-btn-primary { background: #1B3A5C; color: #fff !important; }
.ddf-cta-btn-primary:hover { background: #14293f; color: #fff !important; }
.ddf-cta-btn-secondary { background: #fff; color: #1B3A5C !important; border: 2px solid #1B3A5C; padding: 10px 22px; }
.ddf-cta-btn-secondary:hover { background: #f2f5f8; color: #1B3A5C !important; }
.ddf-cta-btn-call { color: #6b6a63 !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.ddf-cta-btn-call:hover { color: #1B3A5C !important; }

/* Header refinements */
.ddf-single-txn { font-size: 14px; font-weight: 600; color: #9a9688; }
.ddf-badge-new {
	display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 20px;
	background: #1f8a4c; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase;
	vertical-align: middle;
}
.ddf-address-note { font-size: 13px; color: #9a9688; margin-top: 4px; font-style: italic; }

/* Content sections */
.ddf-section { margin: 48px 0; padding-top: 6px; }
.ddf-section-heading { font-size: 20px; font-weight: 800; color: #1B3A5C; margin: 0 0 16px; }

/* Property Details grid */
.ddf-details-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
	border-top: 1px solid #ece9e1;
}
.ddf-details-row {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 12px 0; border-bottom: 1px solid #ece9e1; font-size: 14px;
}
.ddf-details-label { color: #6b6a63; }
.ddf-details-value { color: #1B3A5C; font-weight: 700; text-align: right; }

/* Map */
.ddf-map-wrap { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid #e6e3da; }
.ddf-map-frame { width: 100%; height: 360px; border: 0; display: block; }
.ddf-map-guard {
	position: absolute; inset: 0; z-index: 5; cursor: pointer;
	background: rgba(27,42,74,0); display: flex; align-items: center; justify-content: center;
	transition: background .15s ease;
}
.ddf-map-guard:hover { background: rgba(27,42,74,.06); }
.ddf-map-guard-hint {
	background: rgba(0,0,0,.65); color: #fff; font-size: 13px; font-weight: 600;
	padding: 8px 16px; border-radius: 20px; opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.ddf-map-guard:hover .ddf-map-guard-hint { opacity: 1; }
.ddf-map-wrap.is-active .ddf-map-guard { display: none; }

.ddf-map-toggle {
	position: absolute; top: 10px; left: 10px; z-index: 6;
	display: flex; background: #fff; border-radius: 8px; overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.ddf-map-toggle-btn {
	border: 0; background: #fff; color: #1B3A5C; font-size: 12px; font-weight: 700;
	padding: 8px 14px; cursor: pointer; font-family: inherit;
}
.ddf-map-toggle-btn.is-active { background: #1B3A5C; color: #fff !important; }
.ddf-map-directions { display: inline-block; margin-top: 10px; font-weight: 700; color: #1B3A5C !important; text-decoration: none; }
.ddf-map-directions:hover { text-decoration: underline; }
.ddf-map-note { font-size: 12px; color: #9a9688; margin: 6px 0 0; }

.ddf-similar-section .ddf-grid { margin-bottom: 0; }
/* Responsive: tablet */
@media (max-width: 768px) {
	.ddf-filters-main { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
	.ddf-listings-body { padding: 2.5em 2.5em; }
	.ddf-single { padding: 0 18px 28px; }
	.ddf-preset-intro h1 { font-size: 26px; }
	.ddf-single-price { font-size: 28px; }
	.ddf-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
	.ddf-quick-actions { margin-bottom: 22px; }
	.ddf-single-header { margin-bottom: 22px; }
	.ddf-single-facts { margin: 22px 0; padding: 16px; }
	.ddf-single-remarks { margin-bottom: 22px; }
	.ddf-single-office { margin-bottom: 22px; padding-top: 20px; }
	.ddf-cta { margin: 32px 0; }
	.ddf-single .ddf-cta { margin: 32px 0; }
	.ddf-single .ddf-compliance { margin-top: 32px; }
	.ddf-section { margin: 32px 0; }
}

/* Responsive: mobile */

/* Utility actions (Save / Share) in the single-listing header */
.ddf-utility-actions { display: flex; align-items: flex-start; gap: 8px; }
.ddf-icon-btn {
	display: flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 8px !important;
	/* !important: the site's global button style (Elementor kit) targets bare <button> elements via a
	   class+element selector that outranks this single-class one, and was overriding this utility
	   button's intended neutral colour with the gold accent -- restoring the neutral style here. */
	border: 1px solid #e6e3da; background: #fff !important; color: #333 !important;
	font-size: 13px; font-weight: 700; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ddf-icon-btn:hover { background: #f7f5f0; border-color: #d8d4c8; }
.ddf-icon-btn .ddf-icon-heart { font-size: 15px; color: #b7b2a3; }
.ddf-icon-btn.is-saved { border-color: #1B3A5C; color: #1B3A5C; }
.ddf-icon-btn.is-saved .ddf-icon-heart { color: #c0392b; }

/* Property Details subsection headings (smaller than the main section heading) */
.ddf-details-subheading {
	font-size: 15px; font-weight: 700; color: #1B3A5C;
	margin: 20px 0 8px; padding-top: 12px; border-top: 1px solid #ece9e1;
}

/* Sticky mobile bottom CTA bar - hidden by default, shown only on small screens */
.ddf-sticky-cta {
	display: none;
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	gap: 10px; padding: 10px 14px;
	background: #fff; border-top: 1px solid #e6e3da;
	box-shadow: 0 -4px 14px rgba(0,0,0,.08);
}
.ddf-sticky-btn {
	flex: 1; text-align: center; padding: 12px 10px; border-radius: 8px;
	font-weight: 700; font-size: 14px; text-decoration: none;
}
.ddf-sticky-call { background: #f2efe8; color: #1B3A5C !important; }
.ddf-sticky-primary { background: #1B3A5C; color: #fff !important; }

@media (max-width: 480px) {
	.ddf-sticky-cta { display: flex; }

	.ddf-listings-body { padding: 1.25em 1em; }
	.ddf-single { padding: 0 14px 84px; }
	.ddf-preset-intro h1 { font-size: 22px; }
	.ddf-preset-intro p { font-size: 14px; }

	.ddf-filters { padding: 14px; }
	.ddf-filters-main { grid-template-columns: 1fr; }
	.ddf-more-filters-grid { grid-template-columns: 1fr; }
	.ddf-field-checkbox { justify-content: flex-start; }
	.ddf-checkbox-label { padding-bottom: 0; }

	.ddf-grid { grid-template-columns: 1fr; gap: 16px; }

	.ddf-single-header { flex-direction: column; gap: 6px; margin-bottom: 20px; }
	.ddf-single-price { font-size: 24px; }
	.ddf-single-address { font-size: 15px; }
	.ddf-single-facts { gap: 14px 20px; padding: 14px; margin: 20px 0; }

	.ddf-quick-actions { margin-bottom: 20px; }
	.ddf-single-remarks { margin-bottom: 20px; }
	.ddf-single-office { margin-bottom: 20px; padding-top: 16px; }
	.ddf-section { margin: 32px 0; }
	.ddf-section-heading { margin: 0 0 12px; }

	.ddf-cta { padding: 18px; max-width: 100%; margin: 24px 0; }
	.ddf-single .ddf-cta { margin: 32px 0; }
	.ddf-cta-header { flex-wrap: wrap; }

	.ddf-pagination a { padding: 6px 10px; font-size: 13px; }

	.ddf-gallery-main-img { aspect-ratio: 4/3; }
	.ddf-gallery-thumb { width: 76px; height: 56px; }
	.ddf-lightbox-prev, .ddf-lightbox-next { width: 38px; height: 38px; font-size: 22px; }
	.ddf-lightbox-prev { left: 6px; }
	.ddf-lightbox-next { right: 6px; }

	.ddf-quick-actions { flex-direction: column; align-items: stretch; }
	.ddf-cta-btn { width: 100%; }
	.ddf-cta-btn-call { margin-left: 0; text-align: center; padding: 6px 0; }

	.ddf-details-grid { grid-template-columns: 1fr; }
	.ddf-section-heading { font-size: 18px; }
	.ddf-map-frame { height: 240px; }
}

/* List/Map view toggle -- lives here (not map.css) so it's styled on both views, since
   listings.css always loads but map.css only loads on the map view. */
.ddf-view-toggle {
	display: inline-flex;
	background: #fff;
	border: 1px solid #d3d0c8;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
}
.ddf-view-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 24px;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 13px;
	font-weight: 700;
	color: #1B3A5C !important;
	text-decoration: none !important;
	background: #fff;
	transition: background .15s ease, color .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.ddf-view-toggle-icon { flex-shrink: 0; color: inherit; }
.ddf-view-toggle-btn:hover { background: #f2f5f8; }
.ddf-view-toggle-btn + .ddf-view-toggle-btn { border-left: 1px solid #d3d0c8; }
.ddf-view-toggle-btn.is-active { background: #1B3A5C; color: #fff !important; }
.ddf-view-toggle-btn.is-active:hover { background: #1B3A5C; }

@media (max-width: 480px) {
	.ddf-view-toggle { display: flex; width: 100%; }
	.ddf-view-toggle-btn { flex: 1 1 0; }
}

/* Key Features chip list (single listing) */
.ddf-feature-chips {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 10px;
}
.ddf-feature-chips li {
	background: #f6f5f2; color: #1B3A5C; font-size: 13px; font-weight: 700;
	padding: 8px 16px; border-radius: 20px; border: 1px solid #ece9e1;
}
/* Mortgage payment estimate card (single listing) */
.ddf-mortgage-card {
	background: #f6f5f2; border: 1px solid #ece9e1; border-radius: 10px;
	padding: 24px; margin: 24px 0;
}
.ddf-mortgage-card h3 {
	margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #1B3A5C;
	text-transform: uppercase; letter-spacing: 0.04em;
}
.ddf-mortgage-amount {
	font-size: 32px; font-weight: 800; color: #1B3A5C; line-height: 1.2; margin: 0 0 6px;
}
.ddf-mortgage-amount span {
	font-size: 15px; font-weight: 600; color: #6b6b6b; margin-left: 4px;
}
.ddf-mortgage-note {
	font-size: 13px; color: #6b6b6b; margin: 0 0 14px; line-height: 1.5;
}
.ddf-mortgage-btn {
	margin-top: 2px;
}
@media (max-width: 480px) {
	.ddf-mortgage-card { padding: 16px; margin: 16px 0; }
	.ddf-mortgage-amount { font-size: 26px; }
}