/* ================================================================
1. GLOBAL & BASE STYLES
================================================================
*/



body, html {
	margin:0;
	padding:0;
}

.heading-border {
	height:3px;
	width:70px;
	background-color: var(--dac-accent, var(--e-global-color-accent, #333)); 
	margin:20px 0 20px 0;
}

button {
	border:none;
}

.btn {
	border:none;
}

.btn-primary, .btn-primary:focus,.btn-primary:not(.disabled):active:focus {
	background: var(--dac-accent, var(--e-global-color-accent, #333)) !important;	transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

.btn-primary:hover {
	opacity:0.9;
}
.fixed-width {
	max-width:1500px;
	padding:0 20px;
}

.visually-hidden { 
    position: absolute !important; 
    width: 1px !important; 
    height: 1px !important; 
    padding: 0 !important; 
    margin: -1px !important; 
    overflow: hidden !important; 
    clip: rect(0,0,0,0) !important; 
    white-space: nowrap !important; 
    border: 0 !important; 
}



/* ================================================================
2. FEATURED PROPERTIES (MULTIPLE/SLIDER)
================================================================
*/

.featured-wrapper {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

.featured-slider-row {
    margin-right: -15px;
    margin-left: -15px;
}

.slider-item-padding {
    padding: 15px;
    box-sizing: border-box;
}

.featured-property-container {
	opacity: 1;
	position:relative;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    overflow: hidden;
    border-radius: 15px;
    display: block; 
    text-decoration: none !important; /* [FRIENDLY LABEL: Remove link underlines] */
}


.featured-property-container:hover {
	opacity: 0.8;
}

img.featured-property-image {

	transition: transform 0.5s ease;
	width:100%;
	object-fit: cover;
	-webkit-border-top-left-radius: 15px;
	-webkit-border-top-right-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-topright: 15px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

/* 3. Trigger the zoom on hover */
img.featured-property-image:hover {
    transform: scale(1.1); /* Zooms the image to 110% */
}

.featured-property-details {
	background:var(--dac-surface, #FFF);
   	padding:20px;
}

.featured-property-details .featured-details-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.featured-details-price-column {
    flex-grow: 1; 
    padding-right: 10px;
}

.featured-details-status-column {
    flex-shrink: 0;
    text-align: right;
}

.featured-details-address-row {
    width: 100%;
    margin-top: 5px;
}

.featured-price-label { 
	font-size:0.75rem;
	color:var(--dac-muted, #666666);
	letter-spacing: 5px;
}

.featured-price { 
	font-size:1.5rem;
	color:var(--dac-heading, #000);
	font-weight:500;
	margin:2px 0 5px 0;
}

.featured-address {
	font-size:0.9rem;
	color:var(--dac-muted, #666666);
	font-weight:300;
}

.featured-status-label-available, .featured-status-label-unavailable, .featured-status-label-new-valuation {
	float:right;
	padding:8px 20px;
	border-radius:10px;
	font-size:0.9rem;
	color:#FFF;
	text-transform:uppercase;
}

.featured-status-label-available { background-color: #333; }
.featured-status-label-unavailable { background-color: #BB1C1C; }
.featured-status-label-new-valuation { background-color: #E78F30; }

.prev, .next {
	font-size:55px;
	cursor:pointer;
}

.next i, .prev i {
	color:#000;
	opacity:0.1;
}

.prev i:hover, .next i:hover {
	opacity:0.15;
}

.featured-nav-row {
    width: 100%;
    margin-top: 15px;
}

.featured-nav-center {
    width: 100%;
    text-align: center;
}

/* ================================================================
3. SEARCH RESULTS (LIST & GRID)
================================================================
*/

#search-results-container {
	background: var(--dac-secondary, var(--e-global-color-secondary, #F5F5F5));
	padding:0 0 40px 0;
}

input::placeholder, textarea::placeholder {
	color:#666;
	font-weight:300;
}

#home-search-area input:focus {
	border:1px solid #CCC;
}

.form-select:focus, .form-control:focus {
	box-shadow:0 0 0 .25rem rgba(0,0,0,0.1);
	border-color:rgba(0,0,0,0.1);
}

.btn-check:active+.btn-primary:focus, .btn-check:checked+.btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show>.btn-primary.dropdown-toggle:focus, .btn-check:focus+.btn-primary, .btn-primary:focus {
	box-shadow:0 0 0 .25rem #CCC;
}

.form-check-input:focus {
	border-color:#666;
	outline:0;
	box-shadow:0 0 0 .25rem rgba(0,0,0,.10);
}

.form-check-input:checked {
	background-color:#333;
	border-color:#333;
}



.property-link {
	
	text-decoration:none;
	
}

.search-result:hover {
	background: var(--e-global-color-c4946b0);
}

.property-container {
	/*opacity: 1;*/
	position:relative;
	border-radius: var(--dac-radius, 15px);
	overflow:hidden;
   /* transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;*/
    display: block; 
    text-decoration: none !important; /* [FRIENDLY LABEL: Remove link underlines] */
}

/* [FRIENDLY LABEL: IMAGE HOVER ZOOM EFFECT] */
.grid-image-wrapper {
	overflow: hidden; /* Keep the zoom inside the box */
}

.grid-image-wrapper img {
	transition: transform 0.4s ease; /* Smooth zoom transition */
}

.property-container:hover .grid-image-wrapper img {
	transform: scale(1.08); /* Slight zoom on hover */
}

.property-details {
   padding:20px 20px 20px 20px;
   position:relative;
   background:var(--dac-surface, #FFF);
   text-decoration:none;
}

/* [FRIENDLY LABEL: META BAR DIVIDER] */
.grid-result-meta {
	display: flex;
	align-items: center;
	gap: 0px;
	margin-top: 0px;
	padding-top: 0px;
	/*border-top: 1px solid #eee;*/ /* Light divider line */
}

.grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image {
	width:100%;
	height:270px;
	object-fit: cover;
	
}

.status-label, .status-label-under-offer, .status-label-new, .status-label-available {
	position:absolute;
	font-size:0.8rem;
	top:15px;
	right:15px;
	display:block;
	padding:8px 15px;
	font-weight:300;
	color:#fff;
	border-radius:10px;
	z-index:10;
	/*text-transform:uppercase;*/
}

.status-label { background:var( --e-global-color-e58a26a ); }
.status-label-under-offer { background:var( --e-global-color-9c435f3 ); }

.grid-result-type {
	font-size:0.9rem;
	margin:3px 10px 0 10px;
	padding:0 0 0 0;
	text-decoration:none;
	color:var(--dac-text, #333);
	font-weight:300;
	/*border-top: 1px solid #f0f0f0*/
}

.grid-result-type i {
	color: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
}

.grid-result-address {
	font-size:0.9rem;
	color:var(--dac-muted, #666666);
	font-weight:300;
	padding-right:110px;
}

.grid-result-price {
	
	position: absolute; 
	top: 20px; 
	right: 20px;
	padding-left:10px; 
	text-align: right; 
	line-height: 1.2;
	font-size:1.2rem;
	color: var(--dac-heading, #000);
	font-weight:500;
	background: var(--dac-surface, #fff);

}

.price-qualifier {

	display: block; 
	font-size: 0.6em;
	padding-bottom:4px;
	opacity: 0.7;
	font-weight:300;
}



/* Smartphone only (Screens smaller than 768px) */
@media (max-width: 1400px) {
	
	.grid-result-address {
	padding-right:0;
}

.price-qualifier {

	display: inline-block; 
	font-size: 0.6em;
	padding-bottom:0px;

}
	
    /* 1. Reset the absolute positioning if you had it set globally */
    .grid-result-price {
        position: static !important; 
        display: block !important;
        margin-top: 10px;
		margin-bottom:13px;
	    padding-left:0px; 
		text-align:left;
        order: 2; /* Ensures it sits after address */
    }

    /* 2. Ensure address has breathing room */
    .grid-result-address {
        margin-bottom: 0;
        line-height: 1.3;
    }
}


/* Base link styling */
.page-item .page-link {
    color: var(--dac-text, #333);
    background-color: var(--dac-surface, #fff);
    border-color: var(--dac-border, #dee2e6);
    padding: 6px 12px; 
    font-size: 1.1rem;   
    min-width: 35px;    
    text-align: center;
}

/* Remove default Bootstrap focus rings */
.pagination .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: var(--dac-border, #dee2e6) !important; 
    background-color: var(--dac-surface, #fff) !important;
}

/* Active page focus state */
.pagination .page-item.active .page-link:focus {
    box-shadow: none !important;
    border-color: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
    background-color: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
}

/* Hover state: Only apply to non-active items */
.pagination .page-item:not(.active) .page-link:hover {
    box-shadow: none !important;
    background-color: #F9F9F9 !important;
}

/* Active page static state */
.pagination .page-item.active .page-link {
    border-color: var(--dac-accent, var(--e-global-color-accent, #333));
    background: var(--dac-accent, var(--e-global-color-accent, #333));
    color: var(--dac-accent-text, #FFF); /* [FRIENDLY LABEL: Design > Text on Accent] */
}

/* Active page hover state */
.pagination .page-item.active .page-link:hover {
    color: var(--dac-accent-text, #FFF);
    background: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
}

/* Optional: If you want to fix the corners of the first and last links specifically 
   to match the pagination block structure exactly */
.pagination .page-item:first-child .page-link {
    border-top-left-radius: calc(var(--dac-radius, 15px) / 2) !important;
    border-bottom-left-radius: calc(var(--dac-radius, 15px) / 2) !important;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: calc(var(--dac-radius, 15px) / 2) !important;
    border-bottom-right-radius: calc(var(--dac-radius, 15px) / 2) !important;
}

/* [FRIENDLY LABEL: HEART BUTTON WRAPPER & HOVER EFFECTS] */
.property-card-wrapper {
	position: relative;
}

.favorite-action-wrapper {
	position: absolute; 
	top: 20px; 
	right: 20px; 
	z-index: 20;
	opacity: 0.8; /* Semi-transparent by default */
	transition: opacity 0.3s ease, transform 0.2s ease;
}

/* Reveal heart when the property card is hovered */
.property-card-wrapper:hover .favorite-action-wrapper {
	opacity: 1;
}

.favorite-action-wrapper .domus-fav-btn {
	background: white !important; 
	border: none; 
	border-radius: 50%; 
	width: 31px; 
	height: 31px; 
	min-width: 31px; 
	min-height: 31px; 
	flex-shrink: 0; 
	box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
	cursor: pointer; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	padding: 0;
	transition: transform 0.2s ease;
}

/* Extra pop when specifically hovering the button */
.domus-fav-btn:hover {
	transform: scale(1.1);
}

.fa-heart, .fa-trash {
	 
	color: var(--dac-heart, var(--e-global-color-accent, #ff4757));
	font-size: 0.9rem;

}


	
	    /* [FRIENDLY LABEL: COMPACT PRICE OVERLAY STYLES] */
    .hybrid-thumb-wrapper, .popup-image-container { position: relative; overflow: hidden; }
    .price-overlay-box {
        position: absolute;
		z-index:10;
        bottom: 10px;
        left: 10px;
        color: #ffffff;
        padding: 8px 12px;
        z-index: 10;
        font-weight: 600;
        border-radius: calc(var(--dac-radius, 15px) / 2) !important;
        display: flex;
		font-size:0.9rem;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1;
    }
	
	/* [FRIENDLY LABEL: IMAGE DARK FADE OVERLAY] */
.thumb-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none; /* Allows clicks to pass through to the card link */
    z-index: 5;
}


    .price-qualifier-small { font-size: 0.6rem; text-transform: none; margin-bottom: 4px; opacity: 0.7; }
	
/* Ensure the frequency label doesn't wrap */
.rent-frequency {
    white-space: nowrap;
    display: inline-block;
	font-size:0.6rem;
}
	
    .status-label {
        position: absolute;
        top: 10px;
        left: 10px;
        color: #fff;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 500;
        z-index: 10;
        width: max-content;
        max-width: calc(100% - 20px);
        display: block;
        line-height: 1;
		border-radius: calc(var(--dac-radius, 15px) / 1.5) !important;
    }
	
	.status-label-globals {
		
		background-color: #333;
		
	}

/* ================================================================
4. MAP VIEW & LEAFLET STYLES
================================================================
*/

#map-wrapper { position: relative; }
#map-column #map { height: 825px; width: 100%; }

#search-results #map, #maptab #map {
	height:825px;
    min-height: 820px;
	box-shadow: 0px 1px 2px #DADADA;
	background: url('../images/preloader.gif')  center no-repeat;
	z-index:0;
	display:block;
} 

#map-preloader {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-list-item {
	background:var(--dac-surface, #fff);
}

.map-list-item:hover {
	background: var(--e-global-color-c4946b0);
}

.my-fontawesome-icon {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

i.map-icon {
	color: var(--dac-accent, var(--e-global-color-accent, #333)); 
	font-size: 25px;
	text-shadow: 0 3px 3px rgba(0,0,0,0.2);
	line-height: 1;
}

.leaflet-popup-tip {
    background: #FFF;
	padding-top:0;	
}

#search-results #map .leaflet-popup-content-wrapper {
	background: #FFF;
    color: #ffffff;
	padding:5px 0 0px 0;
	height:130px;
	width:350px;
	margin-bottom:0;
	position:relative;
}

.popup-photo {
	width:180px;
	position:absolute;
	top:10px;
	left:10px;	
}

.popup-photo .status-label, .popup-photo .status-label-under-offer {
	position:absolute;
	top:5px;
	left:5px;
	display:block;
	width:90px;
	text-align:center;
	font-size:0.7em;
}

.popup-details {
	width:150px;
	position:absolute;
	top:10px;
	left:180px;
	font-family:var(--e-global-typography-primary-font-family);
}

.popup-type {
	color:var(--dac-text, #333);
	font-weight:500;
	padding:4px 0 4px 0;
	font-size:1em;
	border-bottom:2px dotted #E4E4E4;
}

.popup-address {
	color:var(--dac-text, #333);
	font-weight:300;
	padding:4px 0 4px 0;
	font-size:1em;
	border-bottom:2px dotted #E4E4E4;
}

.popup-price {
	color:var(--dac-heading, #000);
	font-weight:600;
	padding:3px 0 3px 0;
	font-size:1.2em;
}

.popup-button a.btn-primary, .popup-button .btn-primary:focus, .popup-button .btn-primary:not(.disabled):active:focus {
	position:absolute;
	bottom:5px;
	right:5px;
	color:var(--dac-accent-text, #fff);
	padding:8px 8px;
	font-size:0.7rem;
	background: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
}

.popup-price-qualifier { font-size:0.8em; }

a.openpopuplink { text-decoration:none; }

.map-list-type {
	font-size:0.75rem;
	color:var(--dac-text, #333);
	width:100%;
	padding:10px 10px 0 7px;
}

.map-list-price {
	font-size:0.9rem;
	font-weight:500;
	color:var(--dac-text, #333);
	width:100%;
	padding:5px 10px 10px 7px;
}

/* [FRIENDLY LABEL: MATCHING MAP PIN STYLES] */
.custom-pin {
    width: 34px; height: 34px; border-radius: 50% 50% 50% 0;
    background: var(--dac-accent, var(--e-global-color-accent, #333));
    position: absolute; transform: rotate(-45deg);
    left: 50%; top: 50%; margin: -17px 0 0 -17px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.3); 
}
.custom-pin i { transform: rotate(45deg); color: var(--dac-accent-text, #fff); font-size: 16px; margin-bottom: 2px; margin-left: 2px; }
.custom-div-icon { background: transparent !important; border: none !important; }

/* ================================================================
4.1 HYBRID MAP & RESULTS SPLIT VIEW
================================================================
*/

#hybrid-container {
    display: flex;
    height: calc(100vh - 100px); 
    overflow: hidden;
    background: var(--dac-surface, #fff);
}

#map-column {
    flex: 0 0 60%; 
    height: 100%;
    position: relative;
}

#results-column {
    flex: 0 0 40%; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--dac-surface, #ffffff);
    border-left: 1px solid var(--dac-border, #eee);
}

.scrollable-results {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
}

.hybrid-card {
    background: var(--dac-surface, #fff);
    border-radius: var(--dac-radius, 10px);
    border: 1px solid var(--dac-border, #f0f0f0);
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    color: inherit;
}

.hybrid-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--dac-accent, var(--e-global-color-accent, #333));
}

.hybrid-thumb-wrapper {
    position: relative;
    height: 180px; 
    width: 100%;
    background: #f4f4f4;
    overflow: hidden; /* [FRIENDLY LABEL: Keeps zoom inside] */
}

.hybrid-thumb-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.hybrid-card:hover .hybrid-thumb-wrapper img {
    transform: scale(1.08); /* [FRIENDLY LABEL: Match main results zoom] */
}


.thumb-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbb;
    background: #f9f9f9;
}
.thumb-placeholder i { font-size: 24px; margin-bottom: 8px; opacity: 0.5; }
.thumb-placeholder span { font-size: 11px; font-weight: 700; letter-spacing: 1px; }

.hybrid-price-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--dac-accent, var(--e-global-color-accent, #333));
    color: var(--dac-accent-text, #fff);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hybrid-card-content { 
    padding: 18px; 
    flex-grow: 1; 
    min-width: 0; 
    width: 100%; 
    box-sizing: border-box; 
}

.hybrid-card-address { 
    font-size: 14px; 
    font-weight: 200; 
    color: var(--dac-muted, #666); 
    margin: 0; 
    white-space: normal; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    word-break: break-word; 
}

.hybrid-card-price { font-size:16px; font-weight:500; color: var(--dac-heading, #333); padding-top: 3px;}
.price-label { font-size: 0.8em; font-weight: normal; }


.hybrid-meta-bar {
    display: flex; align-items: center; gap: 11px; margin-top: 12px;
    padding-top: 12px; border-top: 1px solid var(--dac-border, #f0f0f0); color: var(--dac-text, #444); font-size: 14px; 
}
.hybrid-meta-item { display: flex; align-items: center; gap: 6px; }
.hybrid-meta-item i { color: var(--dac-accent, var(--e-global-color-accent, #333)); }

/* [FRIENDLY LABEL: Custom Leaflet Overrides for Hybrid Map] */
/* (Older popups only - the results map's own popups, .dmap-leaflet-popup, are styled in section 17 so their controls work) */
.leaflet-popup:not(.dmap-leaflet-popup) .leaflet-popup-content-wrapper { padding: 0 !important; overflow: hidden !important; border-radius: var(--dac-radius, 10px) !important; width: 290px !important; box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important; }
.leaflet-popup:not(.dmap-leaflet-popup) .leaflet-popup-content {
    margin: 0 !important; 
    width: 290px !important; 
    font-family: var(--e-global-typography-primary-font-family, inherit) !important; 
}
.popup-image-container { position: relative; height: 160px; width: 100%; background: #eee; }
.popup-image-container img { width: 100%; height: 100%; object-fit: cover; }
.popup-price-badge { position: absolute; bottom: 12px; left: 12px; background: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #fff); padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.popup-text-content { padding: 18px; }
.popup-text-content h6 { 
    margin: 0 0 6px 0; font-weight: 700; font-size: 17px; color: var(--dac-heading, #111); 
    font-family: var(--e-global-typography-primary-font-family, inherit) !important; 
}
.popup-text-content p { 
    margin: 0 0 15px 0; font-size: 14px; color: var(--dac-muted, #666); line-height: 1.4; 
    font-family: var(--e-global-typography-secondary-font-family, inherit) !important; 
}
.popup-view-footer { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--dac-accent, var(--e-global-color-accent, #333)); display: block; }


/* ================================================================
5. PROPERTY PARTICULARS (SINGLE VIEW)
================================================================
*/

#particulars-container {
	background: var(--dac-secondary, var(--e-global-color-secondary, #F5F5F5));
	padding:0 0 40px 0;
}

#particulars-viewing-box {
	background:var(--dac-surface, #FFF);
	border-radius: var(--dac-radius, 15px);
}

#particulars-viewing-box h5 {
	border-bottom:3px solid var(--dac-accent, var(--e-global-color-accent, #333));
	/*font-size:1.2rem;
	font-weight:400;
	color:#333;*/
}

#particulars-viewing-box .btn-primary i { color: var(--dac-accent-text, #FFF); }

#particulars-viewing-box p.error, #particulars-viewing-box .error { color:#C00; }

.particulars-type {
	font-size:0.95em;
	color:#333;
	margin-bottom:13px;
	background: rgb(255,255,255);
	background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	padding:10px 12px;
	border-radius: var(--dac-radius, 15px);
}

.particulars-type .material-symbols-outlined {
	font-size:22px;
	color:#999;
	vertical-align:text-top;
}

.particulars-address {
	color: var(--dac-text, #333);
	font-size:1.05rem;
	margin-bottom:10px;
	font-weight:400;
}

.particulars-address i {
	color: var(--dac-accent, var(--e-global-color-accent, #333)) !important;
}

.particulars-price {
	color:var(--dac-heading, #000);
	font-size:1.7rem;
	font-weight:400;
}

.status-label-particulars {
	font-size:0.8rem;
	display:inline-block;
	vertical-align: middle;
	padding:5px 15px;
	margin-bottom:3px;
	color:#fff;
	text-transform:uppercase;
	font-weight:300;

} 

#features-list {
	margin:20px 5px 20px 5px;
	padding:0;
	list-style-position:inside;
	font-size:1rem;
	font-weight:300;
}

#features-list li {
	width:50%;
	float:left;
	margin:0 0 6px 0;
	color: var(--dac-accent, var(--e-global-color-accent, #333));
}

#features-list li span { color: var(--dac-text, #333); }

#description h2 {
	font-size:1.3rem;
	color:var(--dac-heading, #000);
	font-weight:600;
}

#description h3 {
	font-size:1.1rem;
	font-weight:500;
}

#description p {
	font-weight:200;
	line-height:1.4em;
	color:var(--dac-text, #333);
}

#maptab #map,
#floorplans img {
	border-radius: var(--dac-radius, 15px);
	overflow: hidden;
}

#particulars-contact-box, #particulars-features-box {
	background-color:#F5F5F5;
	box-shadow: 0px 0 25px #E8E8E8;
}

#particulars-contact-box { display:none; }

#particulars-contact-box h4, #particulars-features-box h4 {
	border-bottom:3px solid var(--dac-accent, var(--e-global-color-accent, #333));
	font-size:1.3em;
} 

#particulars-contact-box a {
	color:#333;
	text-decoration:none;
	font-weight:300;
}

#particulars-contact-box i { color:#999; }

#particulars-contact-box a:hover { color:#000; }

   .domus-enquiry-container {
        width: 100%;
        margin: 0 auto;

    }
    #domus-enquiry-form {
        background: transparent !important; /* Let your template box show through */
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important; /* Removed outer padding */
        margin: 0 !important;
    }
    #domus-enquiry-form .form-control, 
    #domus-enquiry-form .form-select, #mortgage-calculator-box .form-control, 
    #mortgage-calculator-box .form-select {
        border: 1px solid #d1d5da;
        padding: 0.75rem;
        font-size: 14px;
        transition: border-color 0.2s, box-shadow 0.2s;
        background-color: #fcfcfc;
    }
    #domus-enquiry-form .form-control:focus, 
    #domus-enquiry-form .form-select:focus {
        
        box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
        outline: none;
        background-color: #fff;
    }
    #domus-enquiry-form .consent-title {
        color: #444;
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

/* ================================================================
6. GALLERY & SLIDER-PRO STYLES
================================================================
*/

/* Gallery with thumbs on right style */

/* ==========================================================================\
   PROPERTY GALLERY COMPONENT
   [FRIENDLY LABEL: Controls grid layout, main display, sidebar navigation,
   and lightbox overlays for property image management]
   ========================================================================== */

.gallery-outer-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 10px;
    margin-bottom: 25px;
    margin-top: 20px;
    height: 650px; 
    width: 100%;
}

.gallery-main {
    position: relative;
    height: 100%; 
    width: 100%;
    overflow: hidden;
    border-radius: var(--dac-radius, 8px);
    background: #000; 
    cursor: zoom-in;
}

#active-photo {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    display: block;
    transition: opacity 0.4s ease-in-out;
}

/* [FRIENDLY LABEL: Photo Counter Overlay] */
.photo-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.15);
}

/* [FRIENDLY LABEL: Gallery Navigation Buttons] */
.gallery-nav {
    position: absolute;
    top: 0; bottom: 0; width: 120px; 
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease; 
    opacity: 0.3; 
}

.nav-prev { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.4), transparent) !important; }
.nav-next { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.4), transparent) !important; }

.gallery-main:hover .gallery-nav,
.modal-body:hover .gallery-nav {
    opacity: 1; 
}

.gallery-nav i {
    font-size: 24px;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.gallery-nav:hover i { transform: scale(1.1); }

/* [FRIENDLY LABEL: Sidebar & Scrolling] */
.sidebar-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.gallery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.gallery-sidebar::-webkit-scrollbar { display: none; }

.gallery-sidebar-img {
    position: relative;
    flex: 0 0 calc(33.333% - 7px);
    width: 100%;
    overflow: hidden;
    border-radius: var(--dac-radius, 8px);
    background: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-sidebar-img:hover { filter: brightness(1.1); }
.gallery-sidebar-img img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.sidebar-scroll-btn {
    position: absolute;
    left: 0; right: 0;
    height: 50px;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar-scroll-btn:hover, .sidebar-scroll-btn:focus {
    background-color: transparent !important;
    color: #fff !important;
}

.sidebar-container:hover .sidebar-scroll-btn { opacity: 1; }

.btn-scroll-up { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent) !important; border-radius: var(--dac-radius, 8px) var(--dac-radius, 8px) 0 0; }
.btn-scroll-down { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent) !important; border-radius: 0 0 var(--dac-radius, 8px) var(--dac-radius, 8px); }

.view-all-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}



/* [FRIENDLY LABEL: Lightbox Styling] */

/* Modal Container */
#galleryLightbox .modal-dialog { 
    max-width: 90vw; 
    width: fit-content; 
    height: auto; 
    margin: 1.75rem auto; 
    display: flex; 
    justify-content: center; 
}

/* Modal Content & Background */
#galleryLightbox .modal-content { 
    background-color: transparent !important; 
    border: none !important; 
    width: auto; 
    height: auto; 
    display: inline-block; 
    box-shadow: none; 
}

/* Body Styling */
#galleryLightbox .modal-body { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 !important; 
    position: relative; 
    background: #000; 
    border-radius: 8px; 
    overflow: hidden; 
    height: auto; 
}

/* Image & Counter */
.lightbox-img { 
    max-width: 100%; 
    max-height: 80vh; 
    object-fit: contain; 
    display: block; 
    width: auto; 
    transition: opacity 0.3s ease; 
}

.photo-counter { 
    height: 40px !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 15px; 
    background: rgba(0,0,0,0.5); 
    border-radius: 20px; 
    color: white; 
}

/* Header */
.modal-header { 
    border: none; 
    padding: 0 0 10px 0; 
    justify-content: space-between; 
    align-items: center; 
}

.modal-title { 
    color: white; 
    font-size: 1.1rem; 
}



.btn-close-gallery {
    background: rgba(0, 0, 0, 0.5) !important; 
    border: none !important;
    color: #fff !important; 
    font-size: 28px !important;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: none !important;
    outline: none !important;
}
.btn-close-gallery:hover { background: rgba(0, 0, 0, 0.8) !important; }

/* [FRIENDLY LABEL: Updated Lightbox Styling to remove border effect] */
/* [FRIENDLY LABEL: Lightbox Styling - Forced Flush Edge] */
#galleryLightbox .modal-dialog { 
    max-width: 90vw; 
    display: flex; 
    justify-content: center; 
    margin: 1.75rem auto; /* Default Bootstrap margin */
}

#galleryLightbox .modal-content { 
    background-color: transparent !important; 
    border: none !important; 
    width: auto !important; 
    display: inline-block !important; 
    box-shadow: none !important; 
}

#galleryLightbox .modal-body { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 !important; /* Force no padding */
    margin: 0 !important;   /* Force no margin */
    position: relative; 
    background: transparent !important; /* Removed the black background */
    border-radius: 8px; 
    overflow: hidden; 
}

.lightbox-img { 
    max-width: 100%; 
    max-height: 80vh; 
    object-fit: contain; 
    display: block !important; 
    width: auto; 
    transition: opacity 0.3s ease;
    /* Ensure no margins are applied to the image itself */
    margin: 0 !important;
}


/* End of gallery with thumbs on right style */

#gallery-preloader { 
    width: 100%; 
    height: 500px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f8f9fa; 
}

.gallery-spinner { 
    width: 40px; 
    height: 40px; 
    border: 4px solid #f3f3f3; 
    border-top: 4px solid var(--e-global-color-accent, #0073aa); 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}

#slideshow { 
    opacity: 0; 
    transition: opacity 0.5s ease; 
}

#slideshow .sp-selected-thumbnail {
	border: 4px solid var(--dac-accent, var(--e-global-color-accent, #333));
}

.sp-black {
	color:#FFF;
	background:rgba(0,0,0,0.5);
}
	
.slider-pro p.sp-layer{
	font-size:14px;
	line-height:1.4;
	margin:0;
	padding:7px 0;
	text-align:center;
}
	
.sp-buttons {
	position: relative;
	width: 100%;
	text-align: center;
	padding-top: 20px;
	padding-bottom:20px;
}	
	
.sp-button {
	width:13px;
	height:13px;
	border:none;
	background-color:#CCCCCC;
	border-radius:50%;
	margin:4px;
	display:inline-block;
	box-sizing:border-box;
	cursor:pointer;
}
	
.sp-selected-button {
	background-color: var(--dac-accent, var(--e-global-color-accent, #333));
}

/* --- UPDATED PROPERTY LISTING UTILITY CLASSES --- */

/* Meta Bar Layout */
.grid-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Price & Qualifier Styles */
.meta-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dac-heading, #000);
}

.price-qualifier-text {
    font-size: 0.75rem;
    color: var(--dac-muted, #666);
    text-transform: uppercase;
}

/* Property Stats */
.property-stat {
    font-size: 0.9rem;
    color: var(--dac-text, #555);
    display: inline-flex;
    align-items: center;
}

.property-stat i {
    margin-right: 5px;
    color: var(--dac-accent, #333);
}

/* --- PROPERTY LISTING: UTILITY & MODAL LAYOUTS --- */

/*.prop-utility-bar { padding: 20px 15px 0 15px; background: transparent; }*/
.utility-flex-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.utility-buttons-group { display: flex; gap: 8px; align-items: center; }

/* Modal Backdrop */
.domus-modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.domus-modal-backdrop.is-active { opacity: 1; visibility: visible; }

.domus-modal-content { background-color: #ffffff; width: 100%; max-width: 440px; border-radius: 12px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); padding: 24px; margin: 0 15px; transform: translateY(15px); transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.domus-modal-backdrop.is-active .domus-modal-content { transform: translateY(0); }

.domus-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.domus-modal-header h3 { margin: 0; font-size: 20px; color: #0c2340; font-weight: 700; }

.domus-close-btn { background: none !important; border: none !important; font-size: 24px; color: #666 !important; cursor: pointer; line-height: 1; padding: 4px; transition: color 0.15s ease; outline: none !important; box-shadow: none !important; }
.domus-close-btn:hover { color: #111 !important; }

/* Share Preview Card */
.domus-share-preview-card { display: flex; gap: 14px; background-color: #f4f6f9; padding: 12px; border-radius: 8px; margin-bottom: 24px; align-items: center; }
.preview-thumb { width: 80px; height: 52px; flex-shrink: 0; }
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.preview-details h4 { margin: 0 0 4px 0; font-size: 14px; color: #666; font-weight: 300; }
.preview-meta { margin: 0; font-size: 13px; color: #555; }


/* Share List Actions */
.domus-share-options-list { list-style: none; margin: 0; padding: 0; }
.domus-share-options-list li { border-top: 1px solid #eef1f6; }
.domus-share-options-list li:last-child { border-bottom: 1px solid #eef1f6; }

.share-action-row { display: flex !important; align-items: center !important; padding: 14px 8px !important; border: none !important; background: transparent !important; color: #2c3e50 !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer !important; width: 100%; text-decoration: none; }
.share-action-row:hover { background-color: #f8fafc !important; color: #1a252f !important; }

.share-icon-fa { width: 24px; font-size: 18px; margin-right: 14px; display: inline-flex; align-items: center; justify-content: center; }
.share-icon-fa.fa-copy { color: #64748b; }
.share-icon-fa.fa-envelope { color: #e11d48; }
.share-icon-fa.fa-whatsapp { color: #25d366; }
.share-icon-fa.fa-facebook-f { color: #1877f2; }
.share-icon-fa.fa-x-twitter { color: #14171a; }
.share-icon-fa.fa-pinterest-p { color: #bd081c; }


.domus-share-options-list, .domus-share-options-list button {
	
	font-family:Arial, Helvetica, sans-serif !important;
	
}

.copy-status-bubble { position: absolute; right: 8px; background-color: #0c2340; color: #ffffff; font-size: 12px; padding: 4px 10px; border-radius: 4px; opacity: 0; visibility: hidden; transition: opacity 0.2s ease; }
.copy-status-bubble.show-toast { opacity: 1; visibility: visible; }

/* ================================================================
7. TABS, FORMS & MISC
================================================================
*/

/* [FRIENDLY LABEL: EVOLVED PILL DESIGN] */
#page-tabs {
    border: none !important;
    display: flex !important;
    width: 100% !important;
    padding: 5px !important;
    margin: 0 !important;
    border-radius: var(--dac-radius, 50px) !important;
    background: linear-gradient(90deg, #ffffff 50%, rgba(255,255,255,0) 100%) !important;
    position: relative;
    overflow: hidden;
}

#page-tabs .nav-item {
    flex: 0 0 calc(60% / 5); 
    display: flex;
    max-width: 150px;
}

#page-tabs .nav-link {
    flex: 1;
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center;
    padding: 12px 15px !important;
    font-size: 16px;
    border-radius: var(--dac-radius, 50px) !important;
    border: none !important;
    margin: 0 2px !important;
    background: none !important;
    color: #666;
    box-shadow: none !important;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#page-tabs .nav-link i {
    margin-right: 10px !important;
    font-size: 16px !important;
    background: none !important; /* Removed old circle background */
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

#page-tabs .nav-link.active, #page-tabs .nav-link:hover {
    color: #333;
    background-color: rgba(0,0,0,0.03) !important; /* Subtle highlight */
}

#page-tabs .nav-link.active i {
    color: var(--dac-accent, var(--e-global-color-accent, #333)) !important;

}

#domus-enquiry-form { 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    padding: 0 !important; 
}

#domus-enquiry-form .form-control, #domus-enquiry-form .form-select { 
    border: 1px solid #d1d5da; 
    padding: 0.75rem; 
    font-size: 15px; 
    background-color: #fcfcfc; 
}

#domus-enquiry-form .consent-title { 
    color: #444; 
    margin-bottom: 10px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px; 
}



#share-icons i { font-size:20px; }
i.fa-facebook, .fa-facebook-f { color:#45619D; }
i.fa-twitter { color:#1CA1F3; }
i.fa-linkedin-in { color:#0077B7; }

#register-form i { font-size:55px; }


#renting-requirements, #buying-requirements, #rentingReqs, #buyingReqs { display:none; }
.error { color:#C00; }

.amber { color: #F90; }
.red { color:#C00; }
.amber, .red { font-size:90%; }

/* ================================================================
8. REGISTRATION FORM STYLES
================================================================ */

.bh-registration-container { width: 100%; box-sizing: border-box; }
.bh-registration-container * { box-sizing: border-box; }
.bh-name-grid { display: grid; grid-template-columns: 0.5fr 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.bh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 15px; }
.bh-section-label { display: block; text-transform: uppercase; font-weight: 700; font-size: 0.8rem; border-bottom: none; margin-top: 15px; margin-bottom: 5px; color: inherit; }
.domus-form-input { width: 100%; font-family: inherit; transition: all 0.3s ease; padding: 10px 12px; border: 1px solid #dee2e6; border-radius: var(--dac-field-radius, 4px); }
/* [FRIENDLY LABEL: Same light border on every field type.
   Themes such as Hello Elementor give text/email inputs a dark #666 border via input[type="text"],
   which out-ranks plain .domus-form-input. Adding the element name (input./select./textarea.) matches
   the theme's strength, and because this stylesheet loads later it wins. The Elementor
   "Input Fields > Border" controls are stronger still, so they always override this.] */
input.domus-form-input, select.domus-form-input, textarea.domus-form-input { border: 1px solid #dee2e6; }
textarea.domus-form-input { min-height: 100px; resize: vertical; }
/* [FRIENDLY LABEL: Registration consent row - spacing matched to the Valuation/Enquiry .bh-marketing-grid] */
.bh-flex-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; margin-bottom: 20px; }

/* [FRIENDLY LABEL: Simple Pills - label text size/gap matched to the other forms] */
.bh-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: inherit;
}

/* [FRIENDLY LABEL: Custom Checkbox Styling - 20px with a #ccc border, the same as Valuation/Enquiry] */
.bh-registration-container input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; background-color: #fff; margin: 0;
    border: 1px solid #ccc; border-radius: 3px; display: grid; place-content: center;
    width: 20px; height: 20px; flex-shrink: 0; transition: background-color 0.2s ease;
}
.bh-registration-container input[type="checkbox"]::before {
    content: ""; width: 0.65em; height: 0.65em; transform: scale(0);
    transition: 120ms transform ease-in-out; box-shadow: inset 1em 1em #fff;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.bh-registration-container input[type="checkbox"]:checked { border-color: transparent; background-color: #000; }
.bh-registration-container input[type="checkbox"]:checked::before { transform: scale(1); }

.bh-alert { padding: 25px; border-radius: 6px; border: 1px solid transparent; }
.bh-alert-danger { background: #f8d7da; color: #721c24; margin-bottom: 20px;}
.bh-alert-success { background: #d4edda; color: #155724; text-align: center; padding: 50px 20px; }
/* [FRIENDLY LABEL: Error list spacing. Kept deliberately "weak" (single class) so the
   Elementor List Padding / List Margin controls always override it.
   The gap above the list is removed when the heading is switched off.] */
.bh-alert-list { margin: 10px 0 0 0; }
.bh-alert-list:first-child { margin-top: 0; }
.bh-req-box { padding: 10px 0; margin-bottom: 20px; border-top: 1px solid #eee; }
.bh-captcha-wrapper { display: flex; width: 100%; margin-bottom: 20px; } 

/* [FRIENDLY LABEL: Dynamic Button Layout using Variables] */
.bh-button-wrapper { 
    display: flex; 
    width: 100%; 
    justify-content: var(--bh-btn-align, flex-start); 
}

/* [FRIENDLY LABEL: No border on the submit button out of the box.
   Hello Elementor's reset.css adds "1px solid #c36" (the pink/red line) to every [type="submit"].
   The widget's Submit Button > Border control is more specific, so it still works when you want a border.] */
#bh-submit-btn,
.bh-button-wrapper .bh-submit-btn {
    border: none;
    display: inline-flex;
    width: var(--bh-btn-width, auto); 
    max-width: 100%;
    justify-content: center;
}

.bh-button-content { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* [FRIENDLY LABEL: Moved here from the <style> blocks the three form templates used to print.
   Same selectors and strength as before, so saved Elementor styling behaves the same.] */
.bh-req-box { display: none; overflow: hidden; }                               /* opened by the Interests picker */
.bh-reg-form .bh-section-label { display: block; margin-top: 20px; }            /* registration headings */
.bh-marketing-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; margin-bottom: 20px; }
.bh-choice-wrapper { display: flex !important; align-items: center !important; cursor: pointer; margin-bottom: 5px; position: relative; }
.bh-choice-wrapper input[type="checkbox"], .bh-choice-wrapper input[type="radio"] {
    appearance: none !important; -webkit-appearance: none !important;
    background-color: #fff; border: 1px solid #ccc;
    position: relative; display: inline-grid; place-content: center;
    box-sizing: border-box !important; width: 20px; height: 20px;
    margin: 0 !important;
}
.bh-choice-wrapper input[type="radio"] { border-radius: 50%; }
.bh-choice-wrapper input[type="checkbox"]::before { content: ""; width: 0.65em; height: 0.65em; transform: scale(0); transition: 120ms transform ease-in-out; box-shadow: inset 1em 1em #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.bh-choice-wrapper input[type="radio"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; transform: scale(0); transition: 120ms transform ease-in-out; background-color: #fff; display: block; }
.bh-choice-wrapper input:checked::before { transform: scale(1); }
.bh-choice-label { margin-left: 8px; }
.domus-textarea-wrapper { width: 100%; display: block; }
textarea.domus-form-input { display: block; width: 100%; margin: 0 !important; }
.bh-enquiry-form textarea.domus-form-input { min-height: 120px; }
select.domus-form-input { background-color: #fff !important; }
/* [FRIENDLY LABEL: Dropdowns are drawn by us, not the browser or the theme: no native arrow (some themes swap in
   their own arrow image and colours, which also stopped the widget's field background reaching dropdowns), our
   own arrow drawn in the text colour (or the widget's Arrow Colour, --domus-select-arrow), and the list in the
   field's own font - some themes left it in a Times-style default font.] */
.bh-registration-container select.domus-form-input {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    padding-right: 36px; cursor: pointer; text-overflow: ellipsis; font-family: inherit;
    background-image: linear-gradient(45deg, transparent 50%, var(--domus-select-arrow, currentColor) 50%),
                      linear-gradient(135deg, var(--domus-select-arrow, currentColor) 50%, transparent 50%) !important;
    background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50% !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}
.bh-registration-container select.domus-form-input::-ms-expand { display: none; }
/* Optional visible labels (widget "Show Labels Above Fields"): each field is wrapped in label.bh-field, so grids keep their cells */
.bh-registration-container .bh-field { display: block; min-width: 0; margin: 0; cursor: default; }
.bh-registration-container .bh-field .bh-field-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; color: inherit; }
.bh-registration-container .bh-field .bh-field-req { color: #d63638; }
/* [FRIENDLY LABEL: One focus look for EVERY field (text, dropdown, message box) when a visitor clicks in: a border +
   soft ring in the accent colour. Themes often style only text boxes on focus (Hello gives them a dark border), so
   dropdowns and the message box used to do nothing. The widgets' Focus tab sets --dff-focus (border colour),
   --dff-ring (ring size, 0 = none) and --dff-ring-color.] */
.bh-registration-container input.domus-form-input:focus,
.bh-registration-container select.domus-form-input:focus,
.bh-registration-container textarea.domus-form-input:focus {
    outline: none;
    border-color: var(--dff-focus, var(--dac-accent, var(--e-global-color-accent, #333333)));
    box-shadow: 0 0 0 var(--dff-ring, 3px) var(--dff-ring-color, color-mix(in srgb, var(--dff-focus, var(--dac-accent, var(--e-global-color-accent, #333333))) 20%, transparent));
}
.bh-registration-container select.domus-form-input option { font-family: var(--domus-opt-font, inherit); font-size: inherit; font-weight: normal; color: #222222; background-color: #ffffff; }
.bh-address-grid-3, .bh-prop-grid-3 { display: grid; grid-gap: 15px; grid-template-columns: 1fr 1fr 1fr; margin-bottom: 15px; }
.bh-prop-grid-3.mode-single { grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) {
    .bh-address-grid-3, .bh-prop-grid-3, .bh-prop-grid-3.mode-single { grid-template-columns: 1fr; }
}

/* ================================================================
8b. FORMS ON NON-ELEMENTOR PAGES ([domus_register_form] etc.)
[FRIENDLY LABEL: .domus-form--site = a form drawn by a shortcode. It has no Elementor button style
 to lean on, so it gets its own look from the Design tab colours. Domus > Forms > Style prints
 stronger rules (.bh-registration-container.domus-form--site ...) on top. Elementor widgets
 never get this class, so they don't change.]
================================================================ */
.domus-form--site .bh-section-label { margin-top: 22px; margin-bottom: 10px; color: var(--dac-heading, inherit); letter-spacing: 0.04em; }
.domus-form--site form > .bh-section-label:first-of-type { margin-top: 0; }
.domus-form--site input.domus-form-input,
.domus-form--site select.domus-form-input,
.domus-form--site textarea.domus-form-input {
    background-color: var(--dac-surface, #ffffff) !important; color: var(--dac-text, #333);
    border: 1px solid var(--dac-border, #dee2e6); border-radius: var(--dac-field-radius, 6px);
    font-size: 15px; line-height: 1.4;
}
.domus-form--site input.domus-form-input, .domus-form--site select.domus-form-input { min-height: 46px; }
.domus-form--site .domus-form-input:focus {
    outline: none; border-color: var(--dac-accent, var(--e-global-color-accent, #333));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dac-accent, #333) 18%, transparent);
}
.domus-form--site input[type="checkbox"]:checked { background-color: var(--dac-accent, var(--e-global-color-accent, #333)) !important; border-color: var(--dac-accent, var(--e-global-color-accent, #333)) !important; }
.domus-form--site input[type="checkbox"]::before { box-shadow: inset 1em 1em var(--dac-accent-text, #ffffff); }
.domus-form--site .bh-req-box { border-top-color: var(--dac-border, #eeeeee); }
.domus-form--site .bh-button-wrapper .bh-submit-btn,
.domus-form--site .bh-button-wrapper .bh-submit-btn:hover,
.domus-form--site .bh-button-wrapper .bh-submit-btn:focus {
    padding: 14px 30px; border: none; border-radius: var(--dac-btn-radius, var(--dac-radius, 8px));
    background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff);
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; text-decoration: none;
    cursor: pointer; transition: filter 0.2s ease;
}
.domus-form--site .bh-button-wrapper .bh-submit-btn:hover { filter: brightness(0.92); }
.domus-form--site .bh-button-wrapper .bh-submit-btn:disabled { cursor: wait; }
.domus-form--site .bh-button-icon-left, .domus-form--site .bh-button-icon-right { display: inline-flex; font-size: 1.1em; }
.domus-form--site .bh-alert { border-radius: var(--dac-radius, 8px); }
.domus-form--site .bh-alert-success h2 { margin: 0 0 8px; font-size: 1.4rem; color: inherit; }
.domus-form--site .bh-alert-success p { margin: 0; }

/* ================================================================
9. PROPERTY FAVORITES PAGE STYLES
================================================================ */

/* [FRIENDLY LABEL: Custom Button Padding & Alignment] */
.domus-utility-bar .btn-sm {
    padding: 10px 18px !important; /* [FRIENDLY LABEL: Increased padding for a better feel] */
    font-size: 13px !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.domus-utility-bar .btn-sm i {
    font-size: 14px;
}

h1.shortlist-title {
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 0;
}

/* [FRIENDLY LABEL: Advanced Print Grid Stylesheet] */
@media print {
    /* HIDE EVERYTHING NOT NEEDED FOR PRINT */
    header, footer, #header, #footer, .elementor-header, .elementor-footer, 
    .prop-utility-bar, .utility-actions-wrapper, .favorite-action-wrapper, 
    .modal, .btn, .btn-close, .domus-fav-btn, button, hr, script { 
        display: none !important; 
    }
    
    @page { size: A4 portrait; margin: 10mm; }

    /* RESET PAGE CONTAINERS */
    body, #search-results-container, .container-fluid { 
        margin: 0 !important; 
        padding: 0 !important; 
        background: #ffffff !important; 
    }

    /* GRID LAYOUT - 6 PER PAGE */
    #search-results .row { 
        display: flex !important; 
        flex-wrap: wrap !important; 
        margin: 0 !important;
    }

    .shortlist-card-item { 
        width: 50% !important; 
        flex: 0 0 50% !important; 
        padding: 5px !important; 
        page-break-inside: avoid !important; 
    }

    .property-card-wrapper { 
        border: 1px solid #e0e0e0 !important; 
        display: flex !important; 
        flex-direction: column !important; 
    }

    /* REDUCED IMAGE HEIGHT BACK TO 200px */
    .grid-image-wrapper {
        height: 180px !important; 
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .grid-image-wrapper img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        display: block !important;
    }

    /* ALIGN DETAILS */
    .property-details { 
        padding: 10px !important; 
        display: flex !important;
        flex-direction: column !important;
    }

    .grid-result-address {
        font-weight: normal !important;
        margin-bottom: 5px !important;
        width: 100% !important;
        padding-left: 0 !important;
    }

    .grid-result-price { 
        display: block !important;
        text-align: right !important; 
        font-weight: bold !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* LEFT-ALIGNED ICONS */
    .grid-result-type {
        margin-top: 5px !important;
        text-align: left !important;
        display: block !important;
        padding-left: 0 !important;
    }
    
    .grid-result-type .row {
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    /* ENABLE URL DISPLAY */
    a[href]:after {
        content: " (" attr(href) ")" !important;
        font-size: 8pt !important;
        color: #666 !important;
        display: block !important;
        word-break: break-all !important;
        margin-top: 5px !important;
    }
}

/* ================================================================
10. RESPONSIVE MEDIA QUERIES
================================================================ */

/* DESKTOP (Standard) */
@media (max-width: 1399px) {    
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 230px; }
    #particulars-address { font-size:1.1rem; }
    #features-list li { width:100%; }
    
}

@media (min-width: 1200px) {
    .prev {left:30px;color:#fff;}
    .next {right:30px;color:#fff;}
    .prev:hover, .next:hover {color:#ccc;}
    
}

/* LARGE TABLETS / SMALL LAPTOPS */

@media (max-width: 1199px) {
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 300px; }
    #particulars-address { font-size:1rem; }

    /* [FRIENDLY LABEL: Hybrid View Responsive] */
    .hybrid-grid { grid-template-columns: 1fr; }
    
    .grid-result-address {
        padding-right:0;
    }

    .price-qualifier {
        display: inline-block; 
        font-size: 0.6em;
        padding-bottom:0px;
    }
    
    /* 1. Reset the absolute positioning if you had it set globally */
    .grid-result-price {
        position: static !important; 
        display: block !important;
        margin-top: 10px;
        margin-bottom:13px;
        padding-left:0px; 
        text-align:left;
        order: 2; /* Ensures it sits after address */
    }

    /* 2. Ensure address has breathing room */
    .grid-result-address {
        margin-bottom: 0;
        line-height: 1.3;
    }
    
}

/* MOBILE & TABLET (Large) */
@media (max-width: 991px) {
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 220px; }

    #search-results #map, #maptab #map { height:400px; min-height: 400px; } 
    #map-column #map { height:400px; } 
    #search-results #map .leaflet-popup-content-wrapper { height:100px; width:300px; }
    .popup-photo { width:100px; }
    .popup-photo img { width:100px; height:75px; }
    .popup-details { width:170px; left:120px; }
    
    .gallery-grid { grid-template-columns: 1fr; height: 350px; }
    .sidebar-container { display: none; } 
    .gallery-nav { opacity: 1; width: 60px; } 

    /* [FRIENDLY LABEL: Hybrid View Responsive Stacked & 2-Column Grid for Tablet] */
    #hybrid-container { flex-direction: column; height: auto; }
    #map-column { height: 400px; flex: none; width: 100%; }
    #results-column { flex: none; width: 100%; height: auto; }
    .hybrid-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 20px; }
    
}

/* MOBILE (Medium / Smartphone) */
@media (max-width: 767px) {
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 320px; }
    
    /* [FRIENDLY LABEL: Hybrid View 1-Column Grid for Mobile] */
    .hybrid-grid { grid-template-columns: 1fr; grid-gap: 15px; }
    
    .slider-pro p.sp-layer{
        font-size:32px;
        line-height:1.4;
        margin:0;
        padding:9px 0px;
        width:100%;
        text-align:center;
    }
    #epc img { width:100%; height:auto; }
    /* FIXED SMARTPHONE POPUP IMAGE SIZE */
    .popup-photo img { width:100px !important; height: 70px !important; object-fit: cover !important; }

    /* [FRIENDLY LABEL: MOBILE SMARTPHONE TABS] */
    .gallery-grid { height: 240px !important; } 
    .tab-container-mobile { padding: 0 !important; }

    #page-tabs {
        background: #fff !important; /* No fade on mobile */
        border-radius: var(--dac-radius, 15px) !important;
        margin: 0 15px !important;
        width: auto !important;
    }

    #page-tabs .nav-item {
        flex: 1;
        max-width: none;
    }

    #page-tabs .nav-link {
        flex-direction: column; 
        padding: 10px 2px !important;
        font-size: 11px;
    }

    #page-tabs .nav-link i {
        margin-right: 0 !important;
        margin-bottom: 5px;
        display: flex !important; 
        align-items: center !important;
        justify-content: center !important;
        /*background: #999 !important;*/ /* Restore circle for mobile if desired */
        /*color: #fff */ !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50%;
    }
}

    @media (max-width: 650px) {
        .bh-name-grid { grid-template-columns: 1fr; }
        .bh-grid { grid-template-columns: 1fr; }
        #bh-submit-btn, .bh-button-wrapper .bh-submit-btn { width: 100%; } /* Usually better for mobile UX */
    }

/* MOBILE (Small) */
@media (max-width: 500px) {
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 260px; }    

}


/* MOBILE (Extra Small - This is likely your 'stuck' 260px issue) */
@media (max-width: 400px) {
    .grid-image-wrapper, img.property-image, img#property-image, .image-coming-soon, img.featured-property-image { height: 200px; }
}

/* --- SHORTLIST & LISTING UI CONSOLIDATION --- */

/* [HYBRID CARD ADDRESS WRAPPING FIX] */
.hybrid-card-content { padding: 18px; flex-grow: 1; min-width: 0; width: 100%; box-sizing: border-box; }
.hybrid-card-address { font-size: 14px; font-weight: 200; color: var(--dac-muted, #666); margin: 0; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; word-break: break-word; }

/* [SHORTLIST UTILITY BAR] */
.prop-utility-bar { padding-top: 20px; background: transparent; }
.utility-link-btn { display: inline-flex; align-items: center; padding: 8px 14px !important; background: var(--dac-surface, #ffffff) !important; border:none; border-radius: var(--dac-radius, 8px)!important; color: var(--dac-text, #333) !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.04); cursor: pointer; }
.utility-link-btn:hover { background: #f8f9fa !important; border-color: #ccc !important; transform: translateY(-1px); color: #000 !important; }
.utility-link-btn i { font-size: 14px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.domus-fav-btn.is-active i { color: #ff4757 !important; font-weight: 900; }
h1.shortlist-title { color:#333; }

/* [MODAL OVERRIDES] */
.modal-content { box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important; padding: 10px !important; border-radius: var(--dac-radius, 15px); border: none; }
.modal-header { padding: 1.5rem 1.5rem 0 1.5rem !important; }
.modal-header .btn-close { background-color: transparent !important; box-shadow: none !important; opacity: 0.5; transition: opacity 0.2s ease; }
.modal-header .btn-close:hover { opacity: 0.8; }
.modal-body { color: #555 !important; font-size: 14px !important; line-height: 1.5 !important; padding: 1rem 1.5rem !important; }
.modal-footer { padding: 0 1.5rem 1.5rem 1.5rem !important; display: flex !important; justify-content: flex-end !important; gap: 12px !important; }
.modal-footer .utility-link-btn { margin: 0 !important; box-shadow: none; }
.modal-footer .confirm-delete-btn { background: var(--dac-accent, var(--e-global-color-accent, #EE404D)) !important; color: var(--dac-accent-text, #ffffff) !important; }
.modal-footer .confirm-delete-btn:hover { opacity: 0.9; color: var(--dac-accent-text, #ffffff) !important; }
.modal-footer .confirm-delete-btn i { color: var(--dac-accent-text, #ffffff) !important; opacity: 0.8; transition: opacity 0.2s ease; }
.modal-footer .confirm-delete-btn:hover i { opacity: 1.0; }

/* [RESPONSIVE] */
@media (max-width: 767px) {
    .shortlist-title { text-align: center; margin-bottom: 15px; }
    .utility-actions-wrapper { text-align: center !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
    .utility-link-btn { margin-right: 0 !important; }
}

/* ================================================================
11. DOMUS PROPERTY SEARCH (Elementor widget "Domus Property Search")
    Template: templates/blocks/elementor/search-bar.php
    [FRIENDLY LABEL: The out-of-the-box look. Every value here can be changed in the widget.
    These rules are kept deliberately "weak" (1-2 classes) so the widget's controls,
    which are always 1+ class stronger, win. The exceptions marked "keep strong" protect
    space for icons/arrows and must beat the Padding control.]
    Colours follow the site accent (--dac-accent -> Elementor accent) where possible.
================================================================ */
.dps-wrap { display: flex; justify-content: center; width: 100%; }
.dps {
    --dps-field-h: 52px;
    --dps-placeholder: #6b7280;
    --dps-arrow: #6b7280;
    --dps-icon-size: 16px;
    --dps-icon-gap: 14px;
    --dps-col-gap: 12px;
    --dps-row-gap: 12px;
    --dps-tab-grow: 0;
    --dps-accent: var(--dac-accent, var(--e-global-color-accent, #111827));
    width: 100%;
    box-sizing: border-box;
}
.dps *, .dps *::before, .dps *::after { box-sizing: border-box; }
.dps [hidden] { display: none !important; }
.dps-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- Tabs (folder-tab look: active tab is white like the box below) --- */
.dps-tabs { display: flex; gap: 4px; justify-content: flex-start; padding: 0 12px; margin: 0; }
.dps-tabs .dps-tab {
    flex: var(--dps-tab-grow) 1 auto;
    -webkit-appearance: none; appearance: none;
    margin: 0; padding: 12px 28px;
    border: none; border-radius: 8px 8px 0 0;
    background-color: rgba(17, 24, 39, 0.6); color: #ffffff;
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
    text-transform: none; text-decoration: none; cursor: pointer; box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dps-tabs .dps-tab:hover,
.dps-tabs .dps-tab:focus { background-color: rgba(17, 24, 39, 0.8); color: #ffffff; }
.dps-tabs .dps-tab.is-active,
.dps-tabs .dps-tab.is-active:hover,
.dps-tabs .dps-tab.is-active:focus { background-color: #ffffff; color: #111827; }
.dps-tabs .dps-tab:focus-visible { outline: 2px solid var(--dps-accent); outline-offset: -4px; }

/* --- The search box --- */
.dps-form { margin: 0; padding: 20px; background-color: #ffffff; border-radius: 10px; box-shadow: var(--dac-shadow, 0 4px 16px rgba(17, 24, 39, 0.06)); }

/* --- Field layout --- */
.dps-fields { display: flex; flex-wrap: nowrap; align-items: flex-end; column-gap: var(--dps-col-gap); row-gap: var(--dps-row-gap); }
.dps-fields.dps-layout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.dps-layout-inline .dps-field { flex: 1 1 0; min-width: 0; }
.dps-layout-inline .dps-field--unavailable,
.dps-layout-inline .dps-field--submit { flex: 0 0 auto; }
.dps-layout-grid.dps-button-own-row .dps-field--submit { grid-column: 1 / -1; }
.dps-field { position: relative; margin: 0; min-width: 0; }
.dps-field--submit { order: 100; display: flex; flex-direction: column; }

/* --- Labels --- */
.dps-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 1.3; color: #374151; }

/* --- Inputs & dropdowns --- */
.dps-control { position: relative; }
.dps-form .dps-input {
    display: block; width: 100%; max-width: none; height: var(--dps-field-h); margin: 0;
    padding: 0 14px; border: 1px solid #d1d5db; border-radius: 6px;
    background-color: #ffffff; color: #111827; box-shadow: none;
    font-family: inherit; font-size: 15px; line-height: normal;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.dps-form .dps-input::placeholder { color: var(--dps-placeholder); opacity: 1; }
.dps-form .dps-input:focus {
    outline: none; border-color: var(--dps-accent);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.10);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dps-accent) 20%, transparent);
}
.dps-form select.dps-input { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.dps-form select.dps-input option { color: #111827; font-family: var(--domus-opt-font, inherit); /* var set by domus-favorites.js: the field font + a system backup */ font-size: inherit; font-weight: normal; } /* the open list otherwise falls back to the browser's Times-style font */

/* [FRIENDLY LABEL: "Collapse on phones" - a bar that opens the search box. Hidden on bigger screens;
   the widget prints the media rule that shows it, at the size picked in the widget] */
.dps-collapse > .dps-toggle { display: none; }
.dps-collapse > .dps-toggle { /* 2 classes: beats Hello's [type=button]:hover (it loads first); weaker than the widget's {{WRAPPER}} controls */
    align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 0; padding: 14px 18px;
    border: none; border-radius: var(--dac-radius, 10px);
    background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff);
    font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: none; box-shadow: none; cursor: pointer;
}
.dps-collapse > .dps-toggle svg { width: 18px; height: 18px; flex: none; }
.dps-collapse .dps-toggle-arrow { display: flex; transition: transform 0.25s ease; }
.dps-collapse.is-open .dps-toggle-arrow { transform: rotate(180deg); }
/* keep strong: dropdown placeholder colour, arrow room, icon room */
.dps .dps-form .dps-field select.dps-input.is-empty { color: var(--dps-placeholder); }
.dps .dps-form .dps-control--select .dps-input { padding-right: 40px; }
.dps .dps-form .dps-control.has-icon .dps-input { padding-left: calc(var(--dps-icon-gap) * 2 + var(--dps-icon-size)); }

/* Dropdown arrow */
.dps-control--select::after {
    content: ""; position: absolute; right: 18px; top: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid var(--dps-arrow); border-bottom: 2px solid var(--dps-arrow);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* Field icons */
.dps-icon {
    position: absolute; left: var(--dps-icon-gap); top: 50%; transform: translateY(-50%); z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: var(--dps-icon-size); height: var(--dps-icon-size);
    font-size: var(--dps-icon-size); line-height: 1; color: #9ca3af; pointer-events: none;
}
.dps-icon i { font-size: inherit; line-height: 1; }
.dps-icon svg { width: var(--dps-icon-size); height: var(--dps-icon-size); fill: currentColor; }

/* Include sold / let tickbox */
.dps-check { display: flex; align-items: center; gap: 8px; min-height: var(--dps-field-h); margin: 0; font-size: 14px; color: #374151; cursor: pointer; white-space: nowrap; }
.dps-check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--dps-accent); cursor: pointer; }

/* --- Search button --- */
.dps-form .dps-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    align-self: stretch; min-height: var(--dps-field-h); margin: 0; padding: 0 30px;
    border: none; border-radius: 6px;
    background-color: var(--dps-accent); color: var(--dac-accent-text, #ffffff);
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
    text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.dps-form .dps-submit:hover,
.dps-form .dps-submit:focus { background-color: var(--dps-accent); color: var(--dac-accent-text, #ffffff); filter: brightness(0.92); }
.dps-form .dps-submit:focus-visible { outline: 2px solid var(--dps-accent); outline-offset: 2px; }
.dps-form .dps-submit--lift:hover { transform: translateY(-1px); box-shadow: var(--dac-shadow-hover, 0 8px 22px rgba(17, 24, 39, 0.08)); }
.dps-form .dps-submit--icon-only { padding: 0 18px; }
.dps-submit-icon { display: inline-flex; align-items: center; font-size: 1em; line-height: 1; }
.dps-submit-icon i { font-size: inherit; }
.dps-submit-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* Search box without tabs: nothing above it, so round all corners */
.dps--no-tabs .dps-form { border-radius: 10px; }

/* ================================================================
12. DOMUS FEATURED HERO (Elementor widget "Featured Properties Hero Slider")
    Template: templates/blocks/elementor/featured-properties-fullwidth.php
    [FRIENDLY LABEL: The out-of-the-box look - clean, square-cornered, white info card bottom-left,
    "FEATURED" badge top-left, counter + arrows bottom-right with the Next arrow in the accent colour.
    Kept "weak" (1-2 classes) so every widget control (always 1+ class stronger) wins.]
================================================================ */
.dfh {
    --dfh-arrow-size: 44px;
    --dfh-accent: var(--dac-accent, var(--e-global-color-accent, #111827));
    position: relative; width: 100%; overflow: hidden; isolation: isolate; box-sizing: border-box;
}
.dfh *, .dfh *::before, .dfh *::after { box-sizing: border-box; }

/* Frame + slides */
.dfh-frame { position: relative; width: 100%; height: 560px; margin: 0; background-color: #e5e7eb; }
.dfh-frame .swiper-wrapper { height: 100%; }
.dfh-frame .swiper-slide { height: 100%; overflow: hidden; }
.dfh-frame:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; } /* before Swiper starts / in the editor */
.dfh-slide-inner { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.dfh-slide-inner:hover, .dfh-slide-inner:focus { color: inherit; text-decoration: none; }
/* 3 classes on purpose: Elementor's own ".elementor img { height: auto }" would otherwise stop the photo
   filling the frame (it shrank to its natural shape and left a grey band). Widget controls are still stronger. */
.dfh .dfh-frame .dfh-img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0;
    object-fit: cover; object-position: var(--dfh-img-x, center) var(--dfh-img-y, center);
}
.dfh-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dfh--zoom .dfh-img { transform: scale(1); transition: transform var(--dfh-zoom-time, 6s) ease-out; }
.dfh--zoom .swiper-slide-active .dfh-img { transform: scale(var(--dfh-zoom, 1.08)); }

/* Overlay layers - each one fills the photo and places its content with flexbox (9 positions) */
.dfh-layer { position: absolute; inset: 0; z-index: 2; display: flex; padding: 16px; pointer-events: none; }
.dfh-layer > * { pointer-events: auto; }
.dfh-layer--badge { justify-content: flex-start; align-items: flex-start; }
.dfh-layer--card  { justify-content: flex-start; align-items: flex-end; }
.dfh-layer--nav   { justify-content: flex-end; align-items: flex-end; z-index: 5; }
.dfh-layer--sides { justify-content: space-between; align-items: center; z-index: 5; }
.dfh-layer--dots  { justify-content: center; align-items: flex-end; z-index: 5; }

/* Badge */
.dfh-badge {
    display: inline-block; padding: 7px 11px; background-color: #111827; color: #ffffff;
    font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Info card */
.dfh-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    width: min(340px, 55%); max-width: 100%; padding: 20px 22px; margin: 0; /* 55% leaves room for the counter + arrows in narrow columns */
    background-color: #ffffff; color: #111827; text-align: left;
    box-shadow: var(--dac-shadow, 0 4px 16px rgba(17, 24, 39, 0.06));
}
.dfh-part { margin: 0; }
.dfh-card .dfh-label { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; }
.dfh-card .dfh-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dfh-card .dfh-price { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: #111827; }
.dfh-card .dfh-freq { font-size: 0.5em; font-weight: 500; letter-spacing: 0; color: #6b7280; }
.dfh-card .dfh-details,
.dfh-card .dfh-address { font-size: 14px; line-height: 1.45; color: #4b5563; }
.dfh-card .dfh-meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; font-size: 13px; line-height: 1.4; color: #4b5563; }
.dfh-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.dfh-meta-icon { display: inline-flex; color: var(--dfh-accent); }
.dfh-meta-icon svg, .dfh-btn-icon svg, .dfh-arrow svg { width: 1em; height: 1em; fill: currentColor; }
.dfh-card .dfh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px 18px;
    border: none; background-color: var(--dfh-accent); color: var(--dac-accent-text, #ffffff);
    font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.dfh-slide:hover .dfh-card .dfh-btn,
.dfh-card .dfh-btn:hover { color: var(--dac-accent-text, #ffffff); filter: brightness(0.92); }
.dfh-btn-icon { display: inline-flex; }

/* Status colours (card tag + badge when it shows a status) */
.dfh-status { color: #ffffff; }
.dfh-status.dfh-status--available   { background-color: #16a34a; }
.dfh-status.dfh-status--under-offer { background-color: #d97706; }
.dfh-status.dfh-status--sold        { background-color: #dc2626; }
.dfh-status.dfh-status--let         { background-color: #2563eb; }
.dfh-card .dfh-tag { display: inline-block; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }

/* Counter + arrows */
.dfh-nav { display: flex; align-items: center; gap: 8px; }
.dfh-counter {
    display: inline-flex; align-items: center; justify-content: center; height: var(--dfh-arrow-size); padding: 0 14px;
    background-color: #ffffff; color: #111827; white-space: nowrap;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.dfh .dfh-arrow {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: var(--dfh-arrow-size); height: var(--dfh-arrow-size); padding: 0; margin: 0;
    border: none; border-radius: 0; background-color: #ffffff; color: #111827;
    font-size: 16px; line-height: 1; cursor: pointer; box-shadow: none; text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
.dfh .dfh-arrow:hover,
.dfh .dfh-arrow:focus { background-color: #f3f4f6; color: #111827; }
.dfh .dfh-arrow.dfh-arrow--hl { background-color: var(--dfh-accent); color: var(--dac-accent-text, #ffffff); }
.dfh .dfh-arrow.dfh-arrow--hl:hover,
.dfh .dfh-arrow.dfh-arrow--hl:focus { background-color: var(--dfh-accent); color: var(--dac-accent-text, #ffffff); filter: brightness(0.92); }
.dfh .dfh-arrow:focus-visible { outline: 2px solid var(--dfh-accent); outline-offset: 2px; }
.dfh .dfh-arrow.is-disabled { opacity: 0.4; cursor: default; }

/* Dots */
.dfh-dots { display: flex; align-items: center; gap: 8px; }
.dfh-dots .dfh-dot {
    display: block; width: 8px; height: 8px; padding: 0; margin: 0; border: none; border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.55); cursor: pointer; opacity: 1; box-shadow: none;
    transition: width 0.25s ease, background-color 0.25s ease;
}
.dfh-dots .dfh-dot:hover,
.dfh-dots .dfh-dot:focus { background-color: rgba(255, 255, 255, 0.85); }
.dfh-dots .dfh-dot.is-active { width: 24px; background-color: #ffffff; }

/* Small screens: full-width card (the widget moves the counter/arrows to the top on mobile by default) */
@media (max-width: 767px) {
    .dfh-card { width: 100%; padding: 16px 18px; }
    .dfh-card .dfh-price { font-size: 24px; }
}

/* Message when Domus returns nothing */
.dfh-empty { padding: 30px 20px; background-color: #f3f4f6; color: #6b7280; text-align: center; font-size: 14px; }

/* ================================================================
13. DOMUS FEATURED CAROUSEL (Elementor widget "Featured Properties Carousel")
    Template: templates/blocks/elementor/featured-properties-carousel.php
    [FRIENDLY LABEL: Clean cards with a 4:3 photo, status badge top-left, shortlist heart top-right,
    price label / price / details line, a gentle lift + photo zoom on hover. Kept "weak" so every
    widget control (always 1+ class stronger) wins.]
================================================================ */
.dfc {
    --dfc-arrow-size: 44px;
    --dfc-arrow-offset: 12px;
    --dfc-arrow-top: 40%;
    --dfc-fav-size: 36px;
    --dfc-lift: -4px;
    --dfc-accent: var(--dac-accent, var(--e-global-color-accent, #111827));
    --dfc-heart: var(--dac-heart, #ef4444);
    position: relative; width: 100%; box-sizing: border-box;
}
.dfc *, .dfc *::before, .dfc *::after { box-sizing: border-box; }

/* Section header */
.dfc-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin: 0 0 28px; }
.dfc-header--stacked { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.dfc-header-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dfc-header-actions { display: flex; align-items: center; gap: 20px; }
.dfc-header .dfc-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: #111827; }
.dfc-eyebrow-marker { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; background-color: var(--dfc-accent); }
.dfc-header .dfc-title { margin: 0; padding: 0; font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: #111827; }
.dfc-header .dfc-view-all {
    display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
    border-bottom: 2px solid var(--dfc-accent); color: #111827;
    font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 0.2s ease;
}
.dfc-header .dfc-view-all:hover,
.dfc-header .dfc-view-all:focus { color: var(--dfc-accent); }
.dfc-view-all-icon { display: inline-flex; }
.dfc-view-all-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* Track (padding/negative margin = room for the hover lift and shadow without shifting the layout) */
.dfc-viewport { position: relative; }
.dfc-slider.swiper { padding: 8px 0 24px; margin: -8px 0 -24px; }
.dfc-slider .swiper-slide { display: flex; height: auto; }

/* Card */
.dfc-card {
    position: relative; display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; margin: 0;
    background-color: #ffffff; color: #111827; border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.dfc-slide .dfc-card:hover { transform: translateY(var(--dfc-lift)); box-shadow: var(--dac-shadow-hover, 0 8px 22px rgba(17, 24, 39, 0.08)); }
.dfc-cover-link { position: absolute; inset: 0; z-index: 3; }

/* Photo */
.dfc-media { position: relative; flex-shrink: 0; overflow: hidden; aspect-ratio: 4 / 3; background-color: #e5e7eb; }
.dfc .dfc-media .dfc-img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0;
    object-fit: cover; object-position: center var(--dfc-img-y, center); transition: transform 0.6s ease;
}
.dfc--zoom .dfc-card:hover .dfc-img { transform: scale(var(--dfc-zoom, 1.06)); }
.dfc-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dfc-layer { position: absolute; inset: 0; z-index: 2; display: flex; padding: 12px; pointer-events: none; }
.dfc-layer > * { pointer-events: auto; }
.dfc-layer--badge { justify-content: flex-start; align-items: flex-start; }
.dfc-layer--fav   { justify-content: flex-end; align-items: flex-start; z-index: 4; }
.dfc-badge { display: inline-block; padding: 6px 10px; background-color: #111827; color: #ffffff; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; }

/* Shortlist heart */
.dfc .dfc-fav {
    display: inline-flex; align-items: center; justify-content: center;
    width: var(--dfc-fav-size); height: var(--dfc-fav-size); padding: 0; margin: 0;
    border: none; border-radius: 50%; background-color: rgba(255, 255, 255, 0.92); color: #111827;
    font-size: 17px; line-height: 1; cursor: pointer; box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10));
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.dfc .dfc-fav:hover,
.dfc .dfc-fav:focus { background-color: #ffffff; color: #111827; transform: scale(1.08); }
.dfc .dfc-fav svg { width: 1em; height: 1em; }
.dfc-fav .dfc-heart-fill { fill: transparent; stroke: currentColor; stroke-width: 2; transition: fill 0.2s ease; }
.dfc .dfc-fav.is-saved,
.dfc .dfc-fav.is-saved:hover,
.dfc .dfc-fav.is-saved:focus { color: var(--dfc-heart); }
.dfc-fav.is-saved .dfc-heart-fill { fill: currentColor; stroke: var(--dac-heart-outline, currentColor); }

/* Details */
.dfc-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; gap: 4px; padding: 18px 20px 20px; text-align: left; }
.dfc-part { margin: 0; }
.dfc-body .dfc-label { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; }
.dfc-body .dfc-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dfc-body .dfc-price { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #111827; }
.dfc-body .dfc-freq { font-size: 0.6em; font-weight: 500; letter-spacing: 0; color: #6b7280; }
.dfc-body .dfc-details,
.dfc-body .dfc-address { font-size: 14px; line-height: 1.45; color: #4b5563; }
.dfc-body .dfc-meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #4b5563; }
.dfc-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.dfc-meta-icon { display: inline-flex; color: var(--dfc-accent); }
.dfc-meta-icon svg, .dfc-btn-icon svg, .dfc-arrow svg { width: 1em; height: 1em; fill: currentColor; }
.dfc-body .dfc-btn {
    position: relative; z-index: 4; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 12px; padding: 10px 16px; border: none; background-color: var(--dfc-accent); color: var(--dac-accent-text, #ffffff);
    font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.dfc--pin-btn .dfc-body .dfc-btn { margin-top: auto; }
.dfc-slide .dfc-card:hover .dfc-body .dfc-btn { color: var(--dac-accent-text, #ffffff); filter: brightness(0.92); }
.dfc-btn-icon { display: inline-flex; }

/* Status colours (badge + tag) */
.dfc-status { color: #ffffff; }
.dfc-status.dfc-status--available   { background-color: #16a34a; }
.dfc-status.dfc-status--under-offer { background-color: #d97706; }
.dfc-status.dfc-status--sold        { background-color: #dc2626; }
.dfc-status.dfc-status--let         { background-color: #2563eb; }
.dfc-body .dfc-tag { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }

/* "Details over the photo" card style: photo and details share one grid cell */
.dfc--overlay .dfc-card { border: none; }
.dfc--overlay .dfc-overlay-wrap { display: grid; flex: 1 1 auto; }
.dfc--overlay .dfc-overlay-wrap > * { grid-area: 1 / 1; }
.dfc--overlay .dfc-overlay-wrap > .dfc-body { z-index: 2; align-self: end; flex: none; background-color: transparent; color: #ffffff; pointer-events: none; }
.dfc--overlay .dfc-overlay-wrap > .dfc-body .dfc-btn { pointer-events: auto; }
.dfc--overlay .dfc-shade { background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.35) 45%, rgba(17, 24, 39, 0) 72%); }
.dfc--overlay .dfc-body .dfc-price { color: #ffffff; }
.dfc--overlay .dfc-body .dfc-label,
.dfc--overlay .dfc-body .dfc-freq,
.dfc--overlay .dfc-body .dfc-details,
.dfc--overlay .dfc-body .dfc-address,
.dfc--overlay .dfc-body .dfc-meta { color: rgba(255, 255, 255, 0.85); }
.dfc--overlay .dfc-meta-icon { color: #ffffff; }

/* Arrows */
.dfc-arrows { display: flex; align-items: center; gap: 8px; }
.dfc .dfc-arrow {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: var(--dfc-arrow-size); height: var(--dfc-arrow-size); padding: 0; margin: 0;
    border: 1px solid #e5e7eb; border-radius: 0; background-color: #ffffff; color: #111827;
    font-size: 16px; line-height: 1; cursor: pointer; box-shadow: none; text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.dfc .dfc-arrow:hover,
.dfc .dfc-arrow:focus { background-color: var(--dfc-accent); border-color: var(--dfc-accent); color: var(--dac-accent-text, #ffffff); }
.dfc .dfc-arrow:focus-visible { outline: 2px solid var(--dfc-accent); outline-offset: 2px; }
.dfc .dfc-arrow.is-disabled { opacity: 0.35; cursor: default; }
.dfc .dfc-arrow.is-locked,
.dfc .dfc-dots.is-locked { display: none; } /* everything fits - nothing to scroll */
.dfc--arrows-sides-outside .dfc-viewport { padding: 0 calc(var(--dfc-arrow-size) + var(--dfc-arrow-offset)); }
.dfc--arrows-sides-outside .dfc-viewport > .dfc-arrows,
.dfc--arrows-sides-inside .dfc-viewport > .dfc-arrows {
    position: absolute; left: 0; right: 0; top: var(--dfc-arrow-top); z-index: 6; transform: translateY(-50%);
    justify-content: space-between; pointer-events: none;
}
.dfc--arrows-sides-inside .dfc-viewport > .dfc-arrows { padding: 0 var(--dfc-arrow-offset); }
.dfc-viewport > .dfc-arrows .dfc-arrow { pointer-events: auto; }

/* Bottom bar: dots / progress / numbers and "below" arrows */
.dfc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.dfc .dfc-dots { position: static; display: flex; align-items: center; gap: 8px; width: auto; }
.dfc-dots .dfc-dot {
    display: block; width: 8px; height: 8px; padding: 0; margin: 0; border: none; border-radius: 999px;
    background-color: rgba(17, 24, 39, 0.2); cursor: pointer; box-shadow: none; opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease;
}
.dfc-dots .dfc-dot:hover,
.dfc-dots .dfc-dot:focus { background-color: rgba(17, 24, 39, 0.4); }
.dfc-dots .dfc-dot.is-active { width: 24px; background-color: var(--dfc-accent); }
.dfc .dfc-dots.swiper-pagination-progressbar { position: relative; display: block; width: 200px; height: 3px; background-color: rgba(17, 24, 39, 0.15); }
.dfc .dfc-dots .swiper-pagination-progressbar-fill { background-color: var(--dfc-accent); }
.dfc .dfc-dots--fraction { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #6b7280; font-variant-numeric: tabular-nums; }
.dfc-dots--fraction .swiper-pagination-current { color: #111827; }

@media (max-width: 767px) {
    .dfc-header .dfc-title { font-size: 32px; }
    .dfc-header { margin-bottom: 20px; }
}

.dfc-empty { padding: 30px 20px; background-color: #f3f4f6; color: #6b7280; text-align: center; font-size: 14px; }

/* ================================================================
14. RESULTS PAGE SEARCH + TOOLBAR (shared blocks)
    Templates: templates/blocks/shared/results-search.php, results-toolbar.php
    [FRIENDLY LABEL: The top of the results pages. Colours come from Domus > Design
    (--dac-* variables), and the search bar's own look from Domus > Search Bar.]
================================================================ */

/* --- The search bar in "site mode" (results pages + [domus_search]) ---
   Only the .dps--site class is touched, so the Elementor widget never changes.
   Fallbacks are the widget's built-in look. */
.dps--site .dps-form { background-color: var(--dac-surface, #ffffff); }
.dps--site .dps-tabs .dps-tab.is-active,
.dps--site .dps-tabs .dps-tab.is-active:hover,
.dps--site .dps-tabs .dps-tab.is-active:focus { background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #111827); }
.dps--site .dps-form .dps-input { border-color: var(--dac-border, #d1d5db); color: var(--dac-text, #111827); border-radius: var(--dac-field-radius, 6px); }
.dps--site .dps-form .dps-input:focus { border-color: var(--dps-accent); }
.dps--site .dps-form .dps-submit { border-radius: var(--dac-btn-radius, 6px); }
.dps--site .dps-label,
.dps--site .dps-check { color: var(--dac-text, #374151); }

/* The tickbox keeps at least 12px on the left and 20px on the right (next to the button), even when
   "Space Between Fields" is 0 (joined-up bar). The right is wider because the dropdown on its left
   already has built-in room for its arrow, so equal spacing looks lopsided. */
.dps--site .dps-layout-inline .dps-field--unavailable {
    padding-left: max(0px, calc(12px - var(--dps-col-gap)));
    padding-right: max(0px, calc(20px - var(--dps-col-gap)));
}

/* Include sold / let tickbox: drawn by us (a browser's own tickbox picks its tick colour itself).
   Colours: Domus > Search Bar > Style (--dps-check-* variables). Default = white tick on the accent. */
.dps--site .dps-check input[type="checkbox"] {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    display: grid; place-content: center; flex-shrink: 0; width: 18px; height: 18px; margin: 0; padding: 0;
    border: 1px solid var(--dps-check-border, var(--dac-border, #c4c9d1)); border-radius: 4px;
    background-color: var(--dps-check-box, #ffffff); cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dps--site .dps-check input[type="checkbox"]::before {
    content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform 0.12s ease-in-out;
    background-color: var(--dps-check-tick, #ffffff);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.dps--site .dps-check input[type="checkbox"]:checked { background-color: var(--dps-check-on, var(--dps-accent)); border-color: var(--dps-check-on, var(--dps-accent)); }
.dps--site .dps-check input[type="checkbox"]:checked::before { transform: scale(1); }
.dps--site .dps-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--dps-accent); outline-offset: 2px; }

/* --- Search area --- */
.drs { padding: 35px 0 0; }
.drs .container-fluid.fixed-width { padding-left: 24px; padding-right: 24px; }
.drs-toggle { display: none; }

/* --- Toolbar: count | sort + views --- */
.drt { padding: 26px 0 24px; }
.drt .drt-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.drt .container-fluid.fixed-width.drt-inner { padding-left: 24px; padding-right: 24px; }
.drt.drt--bare { padding: 0 0 24px; } /* Property Results widget: no page padding, Elementor's column does that */
.drt-count { font-size: 15px; font-weight: 600; letter-spacing: 0.2px; color: var(--dac-muted, #666); }
.drt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.drt-sort { display: flex; align-items: center; gap: 12px; }
.drt .drt-sort-label { margin: 0; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dac-text, #333); }
/* "Normal" style: quieter - same grey as the "Properties Found" count, medium weight */
.drt .drt-sort-label.drt-sort-label--normal { font-size: 15px; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--dac-muted, #666); }
.drt-select { position: relative; }
.drt .drt-sort-select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    display: block; height: 44px; min-width: 150px; margin: 0; padding: 0 42px 0 16px;
    border: 1px solid transparent; border-radius: var(--dac-field-radius, 4px);
    background-color: var(--dac-surface, #ffffff); color: var(--dac-muted, #666);
    font-family: inherit; font-size: 16px; line-height: normal; box-shadow: none; cursor: pointer;
}
.drt .drt-sort-select option { font-family: var(--domus-opt-font, inherit); }
.drt .drt-sort-select:focus { outline: none; border-color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.drt-select-arrow { position: absolute; top: 50%; right: 14px; display: flex; transform: translateY(-50%); font-size: 16px; color: var(--dac-text, #333); pointer-events: none; }

.drt-views { display: flex; align-items: center; gap: 24px; }
.drt .drt-view,
.drt .drt-view:hover,
.drt .drt-view:focus { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: none; background: none; font-size: 16px; color: var(--dac-text, #333); text-decoration: none; }
.drt .drt-view svg { width: 18px; height: 18px; color: #999999; transition: color 0.2s ease; }
.drt .drt-view:hover svg,
.drt .drt-view.is-active svg { color: var(--dac-accent, var(--e-global-color-accent, #333)); }
/* Shortlist: grey like the others (it's never the "current" view here); heart colour on hover */
.drt .drt-view.drt-view--shortlist:hover svg { color: var(--dac-heart, var(--e-global-color-accent, #ff4757)); }

/* --- Phones --- */
@media (max-width: 767px) {
    .drs { padding-top: 20px; }
    .drs--collapsible .drs-toggle,
    .drs--collapsible .drs-toggle:hover,
    .drs--collapsible .drs-toggle:focus {
        display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 0; padding: 14px 18px;
        border: none; border-radius: var(--dac-radius, 10px);
        background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff);
        font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: none; box-shadow: none; cursor: pointer;
    }
    .drs-toggle svg { width: 18px; height: 18px; }
    .drs-toggle-arrow { display: flex; transition: transform 0.25s ease; }
    .drs--collapsible.is-open .drs-toggle-arrow { transform: rotate(180deg); }
    .drs--collapsible .drs-panel { display: none; }
    .drs--collapsible.is-open .drs-panel { display: block; margin-top: 12px; }

    .drt .drt-inner { flex-direction: column; align-items: stretch; }
    .drt-actions { justify-content: space-between; }
    .drt .drt-view.drt-view--grid,
    .drt .drt-view.drt-view--map { display: none; }
}

/* ================================================================
15. SHARED PROPERTY CARD: "CLASSIC RESULTS" STYLE + RESULTS GRID
    Templates: templates/blocks/shared/property-card.php, property-grid.php
    [FRIENDLY LABEL: The card is the carousel's card (.dfc-*). "Classic results" (.dfc--classic)
    is the original results-page look: photo, address on the left, price on the right,
    beds / baths / type icons underneath. Colours follow Domus > Design.
    Kept "weak" (2-3 classes) so the carousel's Elementor controls (4+ classes) always win.]
================================================================ */
.dfc--classic {
    --dfc-fav-size: 31px;
    --dfc-zoom: 1.08;
    --dfc-heart: var(--dac-heart, var(--e-global-color-accent, #ff4757));
}
.dfc--classic .dfc-card {
    border: none; border-radius: var(--dac-radius, 15px); overflow: hidden;
    background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333);
    container-type: inline-size; /* lets the card rearrange itself when it is narrow */
}
.dfc--classic .dfc-media { aspect-ratio: auto; height: 270px; }

/* Badge (status) - top left, the site status colour from Domus > Design */
.dfc--classic .dfc-layer--badge { padding: 10px; }
.dfc--classic .dfc-badge {
    padding: 8px 14px; border-radius: calc(var(--dac-radius, 15px) / 1.5);
    font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none;
}
.dfc--classic .dfc-badge.dfc-status { background-color: var(--dac-status-bg, #333); color: #ffffff; }

/* Heart - top right, outlined in the heart colour, filled once saved */
.dfc--classic .dfc-layer--fav { padding: 20px; }
.dfc--classic .dfc-fav { font-size: 15px; color: var(--dfc-heart); }
.dfc--classic .dfc-fav:hover,
.dfc--classic .dfc-fav:focus { color: var(--dfc-heart); }

/* Details: address on the left, (qualifier +) price on the right, everything else full width below */
.dfc--classic .dfc-body {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 0;
    align-items: start; padding: 20px;
}
.dfc--classic .dfc-body > .dfc-part { grid-column: 1 / -1; }
.dfc--classic .dfc-body > .dfc-part--label,
.dfc--classic .dfc-body > .dfc-part--price { grid-column: 2; }
.dfc--classic .dfc-body > .dfc-part--address { grid-column: 1; grid-row: 1 / span 2; }
.dfc--classic .dfc-body .dfc-label {
    padding-bottom: 4px; text-align: right; font-size: 11.5px; font-weight: 300; line-height: 1.2;
    letter-spacing: 0; text-transform: none; color: var(--dac-heading, #000); opacity: 0.7;
}
.dfc--classic .dfc-body .dfc-price-row { justify-content: flex-end; }
.dfc--classic .dfc-body .dfc-price { font-size: 1.2rem; font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; color: var(--dac-heading, #000); }
.dfc--classic .dfc-body .dfc-freq { margin-left: 3px; font-size: 0.7em; font-weight: 400; color: inherit; }
.dfc--classic .dfc-body .dfc-address { font-size: 0.9rem; font-weight: 300; line-height: 1.4; color: var(--dac-muted, #666); }
.dfc--classic .dfc-body .dfc-details { margin-top: 6px; font-size: 0.9rem; color: var(--dac-text, #333); }
.dfc--classic .dfc-body .dfc-meta { margin-top: 14px; column-gap: 24px; font-size: 0.9rem; font-weight: 300; color: var(--dac-text, #333); }
.dfc--classic .dfc-meta-item { gap: 8px; }

/* Narrow card (e.g. 4 columns, the map side list): price drops under the address */
@container (max-width: 380px) {
    .dfc--classic .dfc-body > .dfc-part--address { grid-column: 1 / -1; grid-row: auto; order: -1; }
    .dfc--classic .dfc-body > .dfc-part--label,
    .dfc--classic .dfc-body > .dfc-part--price { grid-column: 1 / -1; margin-top: 8px; }
    .dfc--classic .dfc-body > .dfc-part--price { margin-top: 0; }
    .dfc--classic .dfc-body .dfc-label { text-align: left; padding-bottom: 0; }
    .dfc--classic .dfc-body .dfc-price-row { justify-content: flex-start; }
}

/* No photo */
.dfc-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-color: #f3f4f6; color: #b8bec7; font-size: 34px; }

/* --- Results grid (results page, map side list, shortlist) --- */
.dfc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.dfc-grid > .dfc-grid-item { display: flex; min-width: 0; }
.dfc--no-lift .dfc-slide .dfc-card:hover { transform: none; box-shadow: none; }
.drg { padding-top: 16px; }
.drg.container-fluid.fixed-width { padding-left: 24px; padding-right: 24px; }
.drg-empty { padding: 60px 20px; text-align: center; color: var(--dac-muted, #666); }
.drg-pagination { margin-top: 32px; }

/* ================================================================
16. PAGE NUMBERS (shared block templates/blocks/shared/pagination.php)
    [FRIENDLY LABEL: Joined boxes by default (the original look), or separate buttons.
    Current page = accent colour. Kept "weak" so the Property Results widget's controls win.]
================================================================ */
.dpg { display: flex; justify-content: flex-end; margin: 32px 0 0; }
.dpg--left   { justify-content: flex-start; }
.dpg--center { justify-content: center; }
.dpg .dpg-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.dpg .dpg-list > li { margin: 0; padding: 0; list-style: none; }
.dpg .dpg-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 40px; height: 40px; margin: 0 0 0 -1px; padding: 0 12px;
    border: 1px solid var(--dac-border, #dee2e6); border-radius: 0;
    background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333);
    font-family: inherit; font-size: 16px; line-height: 1; text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dpg .dpg-link svg { width: 1em; height: 1em; flex-shrink: 0; }
.dpg .dpg-list > li:first-child .dpg-link { margin-left: 0; border-top-left-radius: calc(var(--dac-radius, 15px) / 2); border-bottom-left-radius: calc(var(--dac-radius, 15px) / 2); }
.dpg .dpg-list > li:last-child .dpg-link { border-top-right-radius: calc(var(--dac-radius, 15px) / 2); border-bottom-right-radius: calc(var(--dac-radius, 15px) / 2); }
.dpg a.dpg-link:hover,
.dpg a.dpg-link:focus { background-color: #f9f9f9; color: var(--dac-text, #333); }
.dpg .dpg-link.is-active { position: relative; z-index: 1; background-color: var(--dac-accent, var(--e-global-color-accent, #333)); border-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); }
.dpg .dpg-link--gap { color: var(--dac-muted, #666); }

/* Separate buttons: a small gap, every button rounded */
.dpg--separate .dpg-list { gap: 6px; }
.dpg--separate .dpg-list > li .dpg-link,
.dpg--separate .dpg-list > li:first-child .dpg-link,
.dpg--separate .dpg-list > li:last-child .dpg-link { margin-left: 0; border-radius: calc(var(--dac-radius, 15px) / 2); }

/* Map page: inside the list beside the map */
.dpg--map { margin: 24px 0 4px; }

@media (max-width: 767px) {
    .dpg .dpg-link { min-width: 36px; height: 36px; padding: 0 10px; font-size: 15px; }
    .dpg .dpg-link--prev span, .dpg .dpg-link--next span { display: none; } /* arrows only on phones */
}

/* ================================================================
17. RESULTS MAP (shared block templates/blocks/shared/map-view.php)
    [FRIENDLY LABEL: Leaflet map with accent-coloured pins and a mini card in each popup.
    The map fills its parent box - the parent sets the height.]
================================================================ */
.dmap { position: relative; width: 100%; height: 100%; min-height: 320px; background-color: #e9edf1; }
.dmap .dmap-canvas { position: absolute; inset: 0; z-index: 0; }
.dmap .leaflet-container { font-family: inherit; }
.dmap-empty { position: absolute; top: 14px; left: 50%; z-index: 500; transform: translateX(-50%); padding: 7px 14px; border-radius: 20px; background: #ffffff; color: #555; font-size: 13px; box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10)); white-space: nowrap; }

/* Pins */
.dmap .dmap-pin-wrap { background: transparent; border: none; }
.dmap .dmap-pin {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background-color: var(--dmap-pin, var(--dac-accent, var(--e-global-color-accent, #333)));
    color: var(--dmap-pin-icon, var(--dac-accent-text, #ffffff));
    box-shadow: var(--dac-shadow-sm, -1px 1px 4px rgba(17, 24, 39, 0.18));
}
.dmap .dmap-pin svg { width: 16px; height: 16px; transform: rotate(45deg); }
.dmap .dmap-pin-wrap.is-active .dmap-pin { background-color: var(--dmap-pin-active, var(--dac-heading, #1d1b2e)); }

/* Price pins: "£700k" labels with a small point underneath (Results > Map > Pin Style, or the map widget) */
.dmap .dmap-price-wrap { width: 0; height: 0; background: transparent; border: none; }
.dmap .dmap-price-wrap .dmap-price {
    position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 8px));
    display: block; padding: 6px 10px; border-radius: var(--dmap-price-radius, 0); white-space: nowrap; cursor: pointer;
    background-color: var(--dmap-price-bg, var(--dac-heading, #1d1b2e)); color: var(--dmap-price-color, #ffffff);
    font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
    box-shadow: var(--dac-shadow-sm, 0 2px 6px rgba(17, 24, 39, 0.16)); transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.dmap .dmap-price-wrap .dmap-price::after {
    content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
    border: 7px solid transparent; border-bottom: 0; border-top-color: var(--dmap-price-bg, var(--dac-heading, #1d1b2e));
    transition: border-top-color 0.15s ease;
}
.dmap .dmap-price-wrap:hover .dmap-price,
.dmap .dmap-price-wrap.is-active .dmap-price { background-color: var(--dmap-price-active-bg, var(--dac-accent, var(--e-global-color-accent, #333))); color: var(--dmap-price-active-color, var(--dac-accent-text, #ffffff)); }
.dmap .dmap-price-wrap:hover .dmap-price::after,
.dmap .dmap-price-wrap.is-active .dmap-price::after { border-top-color: var(--dmap-price-active-bg, var(--dac-accent, var(--e-global-color-accent, #333))); }

/* Popup box - corners / shadow / background are controls in the map widget, corners also in Domus > Results > Map */
.dmap-leaflet-popup .leaflet-popup-content-wrapper {
    padding: 0; overflow: hidden; border-radius: var(--dmap-popup-radius, var(--dac-radius, 10px));
    background-color: var(--dac-surface, #ffffff); box-shadow: var(--dac-shadow-lg, 0 10px 28px rgba(17, 24, 39, 0.10));
}
.dmap-leaflet-popup .leaflet-popup-tip { background-color: var(--dac-surface, #ffffff); }
.dmap-leaflet-popup .leaflet-popup-content { margin: 0; font-family: inherit; line-height: 1.3; }
.dmap .dmap-leaflet-popup a.leaflet-popup-close-button { z-index: 3; top: 6px; right: 6px; width: 26px; height: 26px; font-size: 20px; line-height: 24px; color: #666666; }
.dmap .dmap-leaflet-popup:has(.dmap-popup-media) a.leaflet-popup-close-button { color: #ffffff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); } /* over the photo */

/* Popup card */
.dmap-leaflet-popup .dmap-popup { display: block; color: var(--dac-text, #333); text-decoration: none; }
.dmap-leaflet-popup .dmap-popup:hover { color: var(--dac-text, #333); }
.dmap-popup-media { position: relative; display: block; height: var(--dmap-popup-photo-h, 160px); overflow: hidden; background-color: #eeeeee; }
.dmap-leaflet-popup .dmap-popup-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.dmap-popup-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%); }
.dmap-popup-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #b8bec7; font-size: 30px; }
.dmap-popup-status { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 12px; border-radius: calc(var(--dac-radius, 15px) / 1.5); background-color: var(--dac-status-bg, #333); color: #ffffff; font-size: 12px; font-weight: 500; line-height: 1; }
.dmap-popup-media .dmap-popup-price { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #ffffff; }
.dmap-popup-qualifier { display: block; margin-bottom: 2px; font-size: 11px; opacity: 0.85; }
.dmap-popup-amount { font-size: 17px; font-weight: 600; line-height: 1.1; }
.dmap-popup-freq { font-size: 0.65em; font-weight: 500; }
.dmap-popup-body { display: block; padding: 14px 16px 16px; }
.dmap-popup-body .dmap-popup-price { display: block; margin-bottom: 6px; color: var(--dac-heading, #000); }
.dmap-popup-body .dmap-popup-status { position: static; display: inline-block; margin-bottom: 8px; }
.dmap-popup-address { display: block; font-size: 14px; line-height: 1.4; color: var(--dac-muted, #666); }
.dmap-popup-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dac-border, #f0f0f0); font-size: 13px; color: var(--dac-text, #444); }
.dmap-popup-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.dmap-popup-meta-item svg { width: 14px; height: 14px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }

/* ================================================================
18. PROPERTY RESULTS MAP WIDGET LAYOUT (templates/blocks/elementor/property-results-map.php)
    [FRIENDLY LABEL: Map and scrolling list side by side. Width, height, side, list padding etc.
    are the widget's controls; these are the starting values.]
================================================================ */
.dprm { display: flex; width: 100%; height: calc(100vh - 100px); min-height: 420px; overflow: hidden; background-color: #ffffff; }
.dprm.dprm--map-right { flex-direction: row-reverse; }
.dprm .dprm-map { position: relative; flex: 0 0 60%; min-width: 0; }
.dprm .dprm-map .dmap { position: absolute; inset: 0; height: auto; min-height: 0; }
.dprm .dprm-list { flex: 1 1 0; min-width: 0; padding: 20px; overflow-y: auto; background-color: var(--dac-surface, #ffffff); border: 0 solid var(--dac-border, #eeeeee); }
.dprm.dprm--map-left .dprm-list { border-left-width: 1px; }
.dprm.dprm--map-right .dprm-list { border-right-width: 1px; }
.dprm .dprm-list .dpg--map { margin: 24px 0 4px; }

/* ================================================================
19. SHORTLIST (shared block templates/blocks/shared/shortlist.php)
    [FRIENDLY LABEL: Title + count, the Back / Email / Print / Clear buttons, the card grid,
    the empty state and the "clear list" dialog. Button looks: pill (the original white
    buttons), outline, accent (filled) or text. Kept "weak" so widget controls win.]
================================================================ */
.dsl { width: 100%; }
.dsl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.dsl-head .dsl-title { margin: 0; padding: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--dac-heading, #333); }
.dsl-head .dsl-count { margin: 4px 0 0; font-size: 14px; color: var(--dac-muted, #666); }
.dsl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dsl .dsl-btn,
.dsl .dsl-btn:hover,
.dsl .dsl-btn:focus {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px;
    border: 1px solid transparent; border-radius: var(--dac-radius, 8px);
    background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333);
    font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; text-transform: none;
    box-shadow: var(--dac-shadow-sm, 0 1px 3px rgba(17, 24, 39, 0.05)); cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dsl .dsl-btn:hover { transform: translateY(-1px); }
.dsl .dsl-btn svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dsl .dsl-btn.dsl-btn--clear svg,
.dsl .dsl-dialog-confirm svg { color: #ee404d; }
/* Button looks */
.dsl--btn-outline .dsl-actions .dsl-btn { background-color: transparent; border-color: var(--dac-border, #d1d5db); box-shadow: none; }
.dsl--btn-accent .dsl-actions .dsl-btn { background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); box-shadow: none; }
.dsl--btn-accent .dsl-actions .dsl-btn svg { color: currentColor; }
.dsl--btn-text .dsl-actions .dsl-btn { padding-left: 4px; padding-right: 4px; background-color: transparent; box-shadow: none; }
.dsl.is-empty .dsl-needs-items,
.dsl.is-empty .dsl-count { display: none; } /* nothing to count / email / print / clear */

.dsl-divider { margin: 24px 0 32px; border-top: 1px solid var(--dac-border, #dee2e6); }
.dsl-list .dfc-grid-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.dsl-list .dfc-grid-item.is-leaving { opacity: 0; transform: scale(0.96); }
.dsl-list .drg-empty { display: none; } /* the block shows its own empty state */
.dsl-list .dsl-sample-note { margin: 0 0 16px; padding: 8px 12px; border-radius: 6px; background: #fff8e1; color: #7a5b00; font-size: 13px; }

/* Empty state */
.dsl .dsl-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; text-align: center; }
.dsl .dsl-empty[hidden] { display: none; }
.dsl-empty-icon { display: flex; font-size: 44px; color: var(--dac-heart, var(--e-global-color-accent, #ff4757)); }
.dsl-empty .dsl-empty-title { margin: 16px 0 0; font-size: 20px; font-weight: 600; color: var(--dac-heading, #333); }
.dsl-empty .dsl-empty-text { max-width: 420px; margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--dac-muted, #666); }
.dsl-empty-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.dsl .dsl-empty-btn,
.dsl .dsl-empty-btn:hover,
.dsl .dsl-empty-btn:focus {
    display: inline-flex; align-items: center; padding: 12px 22px; border-radius: var(--dac-btn-radius, var(--dac-radius, 8px));
    background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff);
    font-size: 15px; font-weight: 600; text-decoration: none;
}
.dsl .dsl-empty-btn:hover { filter: brightness(0.92); }

/* "Clear list?" dialog */
.dsl .dsl-dialog { width: min(420px, calc(100vw - 32px)); padding: 24px; border: none; border-radius: var(--dac-radius, 12px); background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333); box-shadow: var(--dac-shadow-lg, 0 10px 28px rgba(17, 24, 39, 0.10)); }
.dsl .dsl-dialog::backdrop { background-color: rgba(0, 0, 0, 0.45); }
.dsl-dialog .dsl-dialog-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--dac-heading, #333); }
.dsl-dialog .dsl-dialog-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dac-muted, #555); }
.dsl-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.dsl .dsl-dialog .dsl-btn { border-color: var(--dac-border, #e5e7eb); box-shadow: none; }

/* Template page wrapper */
.dsl-page { padding: 48px 24px; }
.dsl-page.fixed-width { margin: 0 auto; }

@media (max-width: 767px) {
    .dsl-head { flex-direction: column; align-items: flex-start; }
    .dsl-actions { width: 100%; }
    .dsl-divider { margin: 18px 0 24px; }
}
@media print {
    .dsl-actions, .dsl-dialog, .dsl .dfc-layer--fav { display: none !important; }
    .dsl-page { padding: 0; }
}

/* Map page side list - sits on white, so the cards get a light border (accent on hover), as before */
.dfc--map-list .dfc-grid { gap: 20px; }
.dfc--map-list.dfc--classic .dfc-card { border: 1px solid var(--dac-border, #f0f0f0); }
.dfc--map-list.dfc--classic .dfc-card:hover { border-color: var(--dac-accent, var(--e-global-color-accent, #333)); }

/* Optional line above the icon line (Domus > Results > Line Above Icons, or the widgets' Card Content > Icon Line).
   "Full card width" draws the line as a very wide pseudo-element clipped by the card, so it always reaches
   both edges whatever the card style or the Details Area padding. Colour: --dfc-line (widget control). */
.dfc--meta-line .dfc-body .dfc-meta { position: relative; padding-top: 14px; border-top: 1px solid var(--dfc-line, var(--dac-border, #eeeeee)); }
.dfc--meta-line-full .dfc-slide .dfc-card { overflow: hidden; }
.dfc--meta-line-full .dfc-body .dfc-meta { border-top-color: transparent; }
.dfc--meta-line-full .dfc-body .dfc-meta::before {
    content: ""; position: absolute; top: -1px; left: -200vw; right: -200vw;
    border-top: 1px solid var(--dfc-line, var(--dac-border, #eeeeee)); pointer-events: none;
}
@media print {
    .dfc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .dfc-grid-item { break-inside: avoid; page-break-inside: avoid; }
    .dfc-card { border: 1px solid #e0e0e0 !important; }
}
/* ================================================================
20. QUICK SEARCH (Elementor "Domus Simple Search" + [domus_quick_search])
[FRIENDLY LABEL: One box + Buy / Rent buttons. The base rules are the ones the widget used to print
 inline, wrapped in :where(.dqs) so they only touch this widget but are NO stronger than before:
 the widget's controls ({{WRAPPER}} .search-input ...) still win.
 .dqs--site (shortcode) gets its own look from the Design tab + Domus > Search Bar > Style.]
================================================================ */
:where(.dqs) .simple-search-form { display: flex; align-items: center; gap: 10px; }
:where(.dqs) .search-input { flex-grow: 1; border: 1px solid #ccc; }
:where(.dqs) .search-input, :where(.dqs) .btn-search { box-sizing: border-box; min-width: 0; } /* themes without a reset: 100% width + padding mustn't overflow */
:where(.dqs) .btn-search { cursor: pointer; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
:where(.dqs) .btn-search i, :where(.dqs) .btn-search svg { pointer-events: none; }
@media (max-width: 767px) {
    :where(.dqs) .simple-search-form { flex-wrap: wrap; flex-direction: row; }
    :where(.dqs) .search-input { flex: 0 0 100%; margin-bottom: 10px; }
    :where(.dqs) .btn-search { flex: 1; }
}

.dqs.dqs--site { --dqs-h: 52px; width: 100%; margin-left: auto; margin-right: auto; }
.dqs.dqs--site .dqs-form .dqs-input {
    height: var(--dqs-h); min-height: var(--dqs-h); margin: 0; padding: 0 18px;
    border: 1px solid var(--dac-border, #d1d5db); border-radius: var(--dac-field-radius, 8px);
    background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333);
    font-family: inherit; font-size: 15px; box-shadow: none;
}
.dqs.dqs--site .dqs-form .dqs-input:focus { outline: none; border-color: var(--dac-accent, var(--e-global-color-accent, #333)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dac-accent, #333) 18%, transparent); }
.dqs.dqs--site .dqs-form .dqs-btn,
.dqs.dqs--site .dqs-form .dqs-btn:hover,
.dqs.dqs--site .dqs-form .dqs-btn:focus {
    height: var(--dqs-h); min-height: var(--dqs-h); margin: 0; padding: 0 28px;
    border: none; border-radius: var(--dac-btn-radius, var(--dac-radius, 8px));
    font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-transform: none; text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.dqs.dqs--site .dqs-form .dqs-btn--buy { background-color: var(--dac-secondary, var(--e-global-color-secondary, #111827)); color: #ffffff; }
.dqs.dqs--site .dqs-form .dqs-btn--rent { background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); }
.dqs.dqs--site .dqs-form .dqs-btn:hover { filter: brightness(0.92); }
.dqs.dqs--site .dqs-btn svg { font-size: 1.1em; }

/* ================================================================
21. PROPERTY LISTING (single property page: templates/blocks/listing/*)
[FRIENDLY LABEL: .dlp = the listing page. Colours, corners and fonts follow the Design tab.
 Buttons use 2+ classes, with their own :hover / :focus, so Hello Elementor's pink
 [type="button"] style never shows. Photos use 3 classes to beat Elementor's ".elementor img".]
================================================================ */
.dlp-page, #particulars-container.dlp-page { padding: 32px 0 64px; } /* the ID version beats the old "#particulars-container { padding: 0 0 40px }" rule */
.dlp { padding: 0 24px; box-sizing: border-box; color: var(--dac-text, #333); }
.dlp.fixed-width { margin-left: auto; margin-right: auto; } /* centred, as Bootstrap's container used to do */
.dlp.dlp--widget { padding: 0; } /* Elementor widgets: the container's own padding decides the spacing (nothing hidden) */
.dlp *, .dlp *::before, .dlp *::after { box-sizing: border-box; }
.dlp svg.domus-svg-icon { flex-shrink: 0; }
html.dlp-no-scroll { overflow: hidden; }

/* --- Top bar --- */
.dlp-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dlp-tb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dlp .dlp-tb-btn, .dlp .dlp-tb-btn:hover, .dlp .dlp-tb-btn:focus {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px;
    border: 1px solid var(--dac-border, #e5e7eb); border-radius: var(--dac-btn-radius, var(--dac-radius, 8px));
    background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333);
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; text-transform: none; cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.dlp .dlp-tb-btn:hover { border-color: var(--dac-accent, var(--e-global-color-accent, #333)); transform: translateY(-1px); }
.dlp .dlp-tb-btn svg { width: 16px; height: 16px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-tb-btn.dlp-tb-save svg { color: var(--dac-heart, var(--e-global-color-accent, #ff4757)); }
.dlp .dlp-tb-btn.dlp-tb-save.is-saved svg { fill: currentColor !important; stroke: var(--dac-heart-outline, currentColor); }

/* --- Dialogs (share) --- */
.dlp .dlp-dialog { width: min(420px, calc(100vw - 32px)); padding: 22px; border: none; border-radius: var(--dac-radius, 12px); background-color: var(--dac-surface, #ffffff); color: var(--dac-text, #333); box-shadow: var(--dac-shadow-lg, 0 10px 28px rgba(17, 24, 39, 0.10)); }
.dlp .dlp-dialog::backdrop { background-color: rgba(0, 0, 0, 0.5); }
.dlp-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dlp-dialog-head .dlp-dialog-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--dac-heading, #333); }
.dlp .dlp-dialog-close, .dlp .dlp-dialog-close:hover, .dlp .dlp-dialog-close:focus { display: inline-flex; padding: 6px; border: none; border-radius: 50%; background: transparent; color: var(--dac-muted, #666); cursor: pointer; }
.dlp .dlp-dialog-close svg { width: 20px; height: 20px; }
.dlp-share-card { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 12px; border-radius: var(--dac-radius, 8px); background-color: var(--dac-bg-soft, #f6f7f9); }
.dlp .dlp-share-card img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.dlp-share-card strong { display: block; font-size: 14px; color: var(--dac-heading, #333); }
.dlp-share-card span { font-size: 13px; color: var(--dac-muted, #666); }
.dlp-share-list { display: flex; flex-direction: column; }
.dlp .dlp-share-row, .dlp .dlp-share-row:hover, .dlp .dlp-share-row:focus {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 6px; margin: 0;
    border: none; border-bottom: 1px solid var(--dac-border, #eeeeee); border-radius: 0; background: transparent;
    color: var(--dac-text, #333); font-family: inherit; font-size: 15px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.dlp .dlp-share-row:hover { color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-share-row svg { width: 18px; height: 18px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp-share-row .dlp-copied { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #2e7d32; }

/* --- Gallery --- */
/* Height: the Listing tab's Photo Height, otherwise automatic - grows with the screen width so the photos keep a
   natural shape (about 600px tall on a 1500px-wide page) */
.dlp-gallery { position: relative; display: grid; gap: 8px; height: var(--dlp-gallery-h, clamp(340px, 40vw, 640px)); }
.dlp-gallery--grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.dlp-gallery--single { grid-template-columns: minmax(0, 1fr); }
.dlp-gallery--empty { display: flex; align-items: center; justify-content: center; gap: 10px; height: 240px; border-radius: var(--dac-radius, 12px); background-color: var(--dac-bg-soft, #f3f4f6); color: var(--dac-muted, #888); font-size: 16px; }
.dlp-gallery--empty svg { width: 28px; height: 28px; }
.dlp-g-main { position: relative; min-height: 0; overflow: hidden; border-radius: var(--dac-radius, 12px); background-color: #e9ecef; }
.dlp-g-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.dlp .dlp-g-photo, .dlp .dlp-g-photo:hover, .dlp .dlp-g-photo:focus { position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: none; border-radius: 0; background: none; overflow: hidden; cursor: zoom-in; }
.dlp .dlp-g-side .dlp-g-thumb { border-radius: var(--dac-radius, 12px); background-color: #e9ecef; }
.dlp .dlp-gallery .dlp-g-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity 0.25s ease, transform 0.6s ease; }
.dlp .dlp-gallery .dlp-g-photo:hover img { transform: scale(1.02); }
.dlp .dlp-gallery .dlp-g-photo .dlp-g-fade { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease, transform 0.6s ease; pointer-events: none; }
.dlp .dlp-gallery .dlp-g-photo .dlp-g-fade.is-in { opacity: 1; }
.dlp .dlp-lightbox .dlp-lb-img { opacity: 0; transition: opacity 0.25s ease; }
.dlp .dlp-lightbox .dlp-lb-img.is-shown { opacity: 1; }
/* Smaller photos as a scrolling column ("Every photo - scroll up and down"): two show at a time */
.dlp-g-sidewrap { position: relative; min-height: 0; }
.dlp .dlp-g-sidewrap .dlp-g-side--scroll { height: 100%; }
/* "+N photos" shade over the lower visible photo (follows the scroll; hidden while moving and at the end) */
.dlp .dlp-g-sidewrap .dlp-g-more--float { inset: auto 0 0 0; z-index: 2; height: calc(50% - 4px); border-radius: var(--dac-radius, 12px); pointer-events: none; transition: opacity 0.2s ease; }
.dlp .dlp-g-sidewrap .dlp-g-more--float.is-hidden { opacity: 0; }
/* Up / down arrows: fade in when the pointer is over the column, only in a direction there's more to see */
.dlp .dlp-g-sidewrap .dlp-g-scroll, .dlp .dlp-g-sidewrap .dlp-g-scroll:hover, .dlp .dlp-g-sidewrap .dlp-g-scroll:focus {
    position: absolute; left: 50%; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin: 0 0 0 -18px; padding: 0; border: none; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92); color: #222; box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10));
    opacity: 0; pointer-events: none; cursor: pointer; transition: opacity 0.2s ease;
}
.dlp .dlp-g-sidewrap .dlp-g-scroll--up { top: 10px; }
.dlp .dlp-g-sidewrap .dlp-g-scroll--down { bottom: 10px; }
.dlp .dlp-g-sidewrap .dlp-g-scroll svg { width: 18px; height: 18px; transform: rotate(90deg); }
.dlp .dlp-g-sidewrap:hover .dlp-g-scroll.can-go, .dlp .dlp-g-sidewrap .dlp-g-scroll.can-go:focus-visible { opacity: 1; pointer-events: auto; }
@media (hover: none) { .dlp .dlp-g-sidewrap .dlp-g-scroll.can-go { opacity: 1; pointer-events: auto; } }
.dlp .dlp-g-side.dlp-g-side--scroll { grid-template-rows: none; grid-auto-rows: calc(50% - 4px); overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.25) transparent; border-radius: var(--dac-radius, 12px); }
.dlp .dlp-g-side--scroll .dlp-g-thumb { scroll-snap-align: start; }
.dlp .dlp-g-side--scroll::-webkit-scrollbar { width: 6px; }
.dlp .dlp-g-side--scroll::-webkit-scrollbar-thumb { border-radius: 3px; background-color: rgba(0, 0, 0, 0.25); }
/* First load: the photo stays hidden on the plain grey box until it has arrived, then fades in (0.4s) */
.dlp .dlp-gallery .dlp-g-photo.is-loading img { opacity: 0; }
.dlp .dlp-gallery .dlp-g-photo img:not(.dlp-g-fade) { transition: opacity 0.4s ease, transform 0.6s ease; }
/* Look: thumbnail strip - big photo, a row of thumbnails underneath (clicking one changes the big photo) */
.dlp .dlp-gallery--strip { display: block; height: auto; }
.dlp .dlp-gallery--strip .dlp-g-main { height: var(--dlp-gallery-h, clamp(340px, 40vw, 640px)); }
.dlp .dlp-g-strip { position: relative; display: flex; gap: 8px; margin-top: 8px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.25) transparent; }
.dlp .dlp-g-strip .dlp-g-pick, .dlp .dlp-g-strip .dlp-g-pick:hover, .dlp .dlp-g-strip .dlp-g-pick:focus {
    flex: 0 0 auto; width: 112px; height: 76px; margin: 0; padding: 0; border: 2px solid transparent; border-radius: 8px;
    overflow: hidden; background-color: #e9ecef; opacity: 0.65; cursor: pointer; transition: opacity 0.2s ease, border-color 0.2s ease;
}
.dlp .dlp-g-strip .dlp-g-pick:hover, .dlp .dlp-g-strip .dlp-g-pick:focus-visible { opacity: 1; }
.dlp .dlp-g-strip .dlp-g-pick.is-active { opacity: 1; border-color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-g-strip .dlp-g-pick img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Look: slider - photos side by side with a peek of the next / previous; full width on the template page */
.dlp-gallery--slider { grid-template-columns: minmax(0, 1fr); }
.dlp .dlp-g-main.dlp-g-main--slider { border-radius: 0; background-color: transparent; }
.dlp .dlp-g-track { position: relative; display: flex; gap: 8px; height: 100%; padding: 0 10%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dlp .dlp-g-track::-webkit-scrollbar { display: none; }
.dlp .dlp-g-track .dlp-g-slide, .dlp .dlp-g-track .dlp-g-slide:hover, .dlp .dlp-g-track .dlp-g-slide:focus { flex: 0 0 100%; width: 100%; /* 100% of the inner width = 80% of the track, 10% peek each side */ border-radius: var(--dac-radius, 12px); background-color: #e9ecef; scroll-snap-align: center; }
.dlp .dlp-g-main--slider .dlp-g-prev { left: calc(10% - 22px); } .dlp .dlp-g-main--slider .dlp-g-next { right: calc(10% - 22px); }
.dlp .dlp-g-main--slider .dlp-g-chips { left: calc(10% + 14px); }
.dlp.dlp--site > .dlp-gallery--slider { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
#particulars-container.dlp-page { overflow-x: clip; } /* the full-width slider never adds a sideways scrollbar */
.dlp-g-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.45); color: #ffffff; font-size: 18px; font-weight: 700; }
.dlp .dlp-g-arrow, .dlp .dlp-g-arrow:hover, .dlp .dlp-g-arrow:focus {
    position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: -22px 0 0; padding: 0; border: none; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92); color: #111111; box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10)); cursor: pointer;
    opacity: 0; transition: opacity 0.2s ease;
}
.dlp .dlp-g-prev { left: 14px; } .dlp .dlp-g-next { right: 14px; }
.dlp .dlp-g-arrow svg { width: 20px; height: 20px; }
.dlp-gallery--single .dlp-g-arrow, .dlp-g-main:hover .dlp-g-arrow, .dlp .dlp-g-arrow:focus-visible { opacity: 1; }
.dlp-g-chips { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.dlp .dlp-chip, .dlp .dlp-chip:hover, .dlp .dlp-chip:focus {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; border: none; border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.94); color: #111111; box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10));
    font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.dlp .dlp-chip svg { width: 15px; height: 15px; }
.dlp .dlp-g-chips .dlp-chip[hidden] { display: none; }
/* Elementor widgets: a note in the editor when a stand-in property is shown */
.dlp .dlp-editor-note { margin: 0 0 10px; padding: 6px 10px; border-radius: 6px; background: #fff8e1; color: #7a5b00; font-size: 12px; }
.dlp .dlp-editor-note[hidden] { display: none; }
/* Contact widget "Stay in View When Scrolling": room for the WordPress admin bar when logged in */
/* Contact / Section Links widgets "stay in view": room for the WordPress admin bar when logged in */
body.admin-bar .elementor-widget-domus_listing_contact, body.admin-bar .elementor-widget-domus_listing_links { --dlp-w-admin: 32px; }
.elementor-widget-domus_listing_links .dlp.dlp--widget .dlp-links { position: static; } /* the widget itself sticks */
@media (max-width: 767px) { .elementor-widget-domus_listing_links { position: static !important; } }
.dlp .dlp-chip:hover { background-color: #ffffff; }

/* Full-screen viewer */
.dlp .dlp-lightbox { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: none; background-color: rgba(10, 10, 10, 0.94); color: #ffffff; }
.dlp .dlp-lightbox[open] { display: block; }
.dlp .dlp-lightbox::backdrop { background-color: rgba(10, 10, 10, 0.94); }
.dlp-lb-stage { position: absolute; inset: 56px 64px 56px; display: flex; align-items: center; justify-content: center; }
.dlp .dlp-lightbox .dlp-lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.dlp .dlp-lb-close, .dlp .dlp-lb-close:hover, .dlp .dlp-lb-close:focus,
.dlp .dlp-lb-arrow, .dlp .dlp-lb-arrow:hover, .dlp .dlp-lb-arrow:focus {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0;
    border: none; border-radius: 50%; background-color: rgba(255, 255, 255, 0.14); color: #ffffff; cursor: pointer;
}
.dlp .dlp-lb-close { top: 12px; right: 12px; width: 44px; height: 44px; }
/* Centred with transform (not a negative margin), so the hover rule above can't shift it */
.dlp .dlp-lb-arrow, .dlp .dlp-lb-arrow:hover, .dlp .dlp-lb-arrow:focus { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); transition: background-color 0.2s ease; }
.dlp .dlp-lb-arrow:hover, .dlp .dlp-lb-close:hover { background-color: rgba(255, 255, 255, 0.28); }
.dlp .dlp-lb-prev { left: 8px; } .dlp .dlp-lb-next { right: 8px; }
.dlp .dlp-lightbox svg { width: 24px; height: 24px; }
.dlp-lb-count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }

/* --- Layout: details + contact box --- */
.dlp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; margin-top: 32px; align-items: start; }
.dlp--sidebar-below .dlp-layout { grid-template-columns: minmax(0, 1fr); }
.dlp--sidebar-sticky .dlp-side { position: sticky; top: var(--dlp-sticky-top, 24px); }
body.admin-bar .dlp--sidebar-sticky .dlp-side { top: calc(var(--dlp-sticky-top, 24px) + 32px); }

/* --- Heading --- */
.dlp-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: start; }
.dlp .dlp-summary .dlp-address { margin: 0; padding: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--dac-heading, #222); }
.dlp-summary .dlp-subtitle { margin: 6px 0 0; font-size: 1.05rem; color: var(--dac-muted, #666); }
.dlp-sum-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.dlp-sum-price .dlp-qualifier { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dac-muted, #666); }
.dlp-sum-price .dlp-price { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; line-height: 1.1; color: var(--dac-heading, #222); white-space: nowrap; }
.dlp-sum-price .dlp-freq { font-size: 0.5em; font-weight: 600; color: var(--dac-muted, #666); }
.dlp-sum-price .dlp-status { margin-top: 4px; padding: 4px 10px; border-radius: 999px; background-color: var(--dac-status-bg, #333333); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.dlp .dlp-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--dac-border, #e5e7eb); list-style: none; }
.dlp .dlp-facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 500; }
.dlp .dlp-facts svg { width: 20px; height: 20px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }

/* --- Section links (sticky) --- */
.dlp-links { position: sticky; top: 0; z-index: 20; margin: 28px 0 0; background-color: var(--dlp-links-bg, var(--dac-surface, #ffffff)); border-bottom: 1px solid var(--dac-border, #e5e7eb); }
body.admin-bar .dlp-links { top: 32px; }
.dlp .dlp-links ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.dlp .dlp-links ul::-webkit-scrollbar { display: none; }
.dlp .dlp-links li { margin: 0; flex-shrink: 0; }
.dlp .dlp-links a { display: block; padding: 14px 0 12px; border-bottom: 2px solid transparent; color: var(--dac-muted, #666); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.dlp .dlp-links a:hover { color: var(--dac-heading, #222); }
.dlp .dlp-links a.is-active { color: var(--dac-heading, #222); border-bottom-color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-links a { display: inline-flex; align-items: center; gap: 7px; }
.dlp .dlp-links:not(.dlp-links--pills) ul { padding: 0 16px; }
/* Grey icons, so they don't repeat the coloured ones just above; the current section's icon takes the accent */
.dlp .dlp-links a svg { width: 16px; height: 16px; color: var(--dlp-links-icon, var(--dac-muted, #8a8f98)); }
.dlp .dlp-links a.is-active svg, .dlp .dlp-links a:hover svg { color: var(--dac-accent, var(--e-global-color-accent, #333)); }
/* Look: thin line between the words */
.dlp .dlp-links--divided ul { gap: 0; }
.dlp .dlp-links--divided li { display: flex; align-items: center; }
.dlp .dlp-links--divided li + li::before { content: ""; width: 1px; height: 16px; margin: 0 18px; background-color: var(--dac-border, #d9dde3); }
/* Look: rounded buttons */
.dlp .dlp-links--pills { border-bottom: none; padding: 10px 0; }
.dlp .dlp-links--pills ul { gap: 8px; }
.dlp .dlp-links--pills a { padding: 8px 14px; border: 1px solid var(--dac-border, #e5e7eb); border-bottom-width: 1px; border-radius: 999px; background-color: var(--dac-surface, #ffffff); }
.dlp .dlp-links--pills a.is-active { border-color: var(--dac-accent, var(--e-global-color-accent, #333)); background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); }
.dlp .dlp-links--pills a.is-active svg { color: currentColor; opacity: 1; }

/* --- Sections --- */
.dlp-section { padding: 36px 0; border-bottom: 1px solid var(--dac-border, #e5e7eb); scroll-margin-top: 80px; }
.dlp-section:last-child { border-bottom: none; }
.dlp .dlp-section .dlp-h2 { margin: 0 0 18px; padding: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--dac-heading, #222); }
.dlp .dlp-section .dlp-h3 { margin: 24px 0 8px; padding: 0; font-size: 1.05rem; font-weight: 700; color: var(--dac-heading, #222); }
.dlp .dlp-section .dlp-h3:first-child { margin-top: 0; }
.dlp .dlp-text { font-size: 16px; line-height: 1.7; }
.dlp .dlp-text p { margin: 0 0 1em; }
.dlp .dlp-text p:last-child { margin-bottom: 0; }
.dlp .dlp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.dlp .dlp-features li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; }
.dlp .dlp-features svg { width: 18px; height: 18px; margin-top: 2px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-rooms { margin: 0; }
.dlp .dlp-room { padding: 12px 0; border-bottom: 1px dashed var(--dac-border, #e5e7eb); }
.dlp .dlp-room dt { font-weight: 600; color: var(--dac-heading, #222); }
.dlp .dlp-room-size { margin-left: 6px; font-weight: 400; font-size: 14px; color: var(--dac-muted, #666); }
.dlp .dlp-room dd { margin: 4px 0 0; font-size: 15px; line-height: 1.6; }
.dlp .dlp-room dd p { margin: 0; }
.dlp .dlp-floorplans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dlp .dlp-floorplans:has(> .dlp-floorplan:only-child) { grid-template-columns: minmax(0, 720px); } /* one plan: a readable size, not the full column */
.dlp .dlp-floorplans .dlp-floorplan { display: block; padding: 12px; border: 1px solid var(--dac-border, #e5e7eb); border-radius: var(--dac-radius, 12px); background-color: #ffffff; cursor: zoom-in; }
.dlp .dlp-floorplans .dlp-floorplan img { display: block; width: 100%; height: auto; max-width: 100%; }
.dlp .dlp-epc img { display: block; width: auto; max-width: min(100%, 360px); height: auto; } /* natural size, never stretched */
.dlp .dlp-map { position: relative; height: 380px; overflow: hidden; border-radius: var(--dac-radius, 12px); }
/* Elementor widgets: sections sit in your own containers, so no built-in padding or dividing line (the widget has controls) */
.dlp.dlp--widget .dlp-section { padding: 0; border-bottom: none; }
.dlp .dlp-map .dmap { position: absolute; inset: 0; height: 100%; }

/* Mortgage calculator */
.dlp-mortgage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.dlp-mc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dlp .dlp-mc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.dlp .dlp-mc-field > span:first-child { font-size: 13px; font-weight: 600; color: var(--dac-muted, #666); }
.dlp .dlp-mc-field em { font-style: normal; font-weight: 400; }
.dlp-mc-input { display: flex; align-items: center; border: 1px solid var(--dac-border, #d1d5db); border-radius: var(--dac-field-radius, 8px); background-color: var(--dac-surface, #ffffff); overflow: hidden; }
.dlp-mc-input:focus-within { border-color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp-mc-input i { padding: 0 10px; font-style: normal; font-size: 14px; color: var(--dac-muted, #888); }
.dlp .dlp-mc-input input, .dlp .dlp-mc-input input:focus { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 10px; border: none; border-radius: 0; background: transparent; color: var(--dac-text, #333); font-family: inherit; font-size: 15px; box-shadow: none; outline: none; }
.dlp-mc-result { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px; border-radius: var(--dac-radius, 12px); background-color: var(--dac-bg-soft, #f6f7f9); text-align: center; }
.dlp-mc-result .dlp-mc-label { font-size: 13px; font-weight: 600; color: var(--dac-muted, #666); }
.dlp-mc-result .dlp-mc-monthly { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--dac-heading, #222); }
.dlp-mc-result .dlp-mc-loan { font-size: 13px; color: var(--dac-muted, #666); }
.dlp .dlp-mc-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--dac-muted, #888); }

/* --- Contact box + viewing form --- */
.dlp-contact { padding: 26px; border: 1px solid var(--dac-border, #e5e7eb); border-radius: var(--dac-radius, 12px); background-color: var(--dac-surface, #ffffff); box-shadow: var(--dac-shadow, 0 4px 16px rgba(17, 24, 39, 0.06)); }
.dlp .dlp-contact .dlp-contact-title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 600; color: var(--dac-heading, #222); }
/* Details below the form: the dividing line moves to above the details */
.dlp .dlp-contact--details-bottom .dlp-viewing { margin-top: 0; padding-top: 0; border-top: none; }
.dlp .dlp-contact--details-bottom .dlp-contact-details { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--dac-border, #e5e7eb); }
.dlp .dlp-contact--details-top .dlp-contact-details:only-child .dlp-contact-lines li:last-child { margin-bottom: 0; }
.dlp .dlp-contact-lines { margin: 0; padding: 0; list-style: none; }
.dlp .dlp-contact-lines li { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.dlp .dlp-contact-lines svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-contact-lines a { color: var(--dac-text, #444); font-size: 15px; font-weight: 400; line-height: 1.4; text-decoration: none; word-break: break-word; }
.dlp .dlp-contact-lines a:hover { color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlp .dlp-viewing { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--dac-border, #e5e7eb); }
.dlp .dlp-viewing .dlp-form-title { margin: 0 0 12px; font-size: 1rem; font-weight: 700; color: var(--dac-heading, #222); }
.dlp .dlp-viewing-form { display: flex; flex-direction: column; gap: 10px; }
.dlp .dlp-viewing-form .dlp-vf-names { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
.dlp .dlp-viewing-form .domus-form-input { width: 100%; margin: 0; }
.dlp .dlp-viewing-form .bh-section-label { margin: 6px 0 0; }
.dlp .dlp-viewing-form .bh-marketing-grid { margin: 0 0 4px; }
.dlp .dlp-viewing-form .bh-captcha-wrapper { margin: 4px 0; overflow: hidden; }
.dlp .dlp-viewing .bh-button-wrapper .bh-submit-btn { width: 100%; }
.dlp .dlp-viewing .bh-alert { margin-bottom: 12px; padding: 16px; }
.dlp .dlp-viewing .bh-alert-success { padding: 24px 16px; }

/* --- Similar properties --- */
.dlp-similar { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--dac-border, #e5e7eb); }
/* The carousel's own title is a big "hero" heading; here it matches the section headings (Listing > Style can change it) */
/* 3 classes: beats the carousel's 44px title, but the Similar widget's own Title controls (4 classes) still win */
.dlp-similar .dfc-header .dfc-title { font-size: 1.5rem; line-height: 1.25; letter-spacing: 0; color: var(--dac-heading, #222); }

/* --- Withdrawn property --- */
.dlp-missing { padding: 80px 24px; text-align: center; }
.dlp-missing h1 { margin: 0 0 12px; font-size: 1.75rem; color: var(--dac-heading, #333); }
.dlp-missing p { color: var(--dac-muted, #666); }
.dlp-missing .dlp-missing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.dlp-missing .dlp-missing-links a { padding: 12px 22px; border-radius: var(--dac-btn-radius, var(--dac-radius, 8px)); background-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #fff); font-weight: 600; text-decoration: none; }

/* --- Smaller screens --- */
@media (max-width: 1024px) {
    .dlp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .dlp--sidebar-sticky .dlp-side { position: static; }
    .dlp-gallery, .dlp .dlp-gallery--strip .dlp-g-main { height: min(var(--dlp-gallery-h, 50vw), 460px); }
}
@media (max-width: 782px) { body.admin-bar .dlp-links { top: 46px; } }
@media (max-width: 767px) {
    .dlp-page, #particulars-container.dlp-page { padding-top: 16px; }
    .dlp { padding: 0 16px; }
    .dlp .dlp-tb-btn span { display: none; }
    .dlp .dlp-tb-btn.dlp-tb-back span { display: inline; }
    .dlp-gallery, .dlp-gallery--grid { grid-template-columns: minmax(0, 1fr); height: 300px; margin: 0 -16px; }
    .dlp-g-main { border-radius: 0; }
    .dlp-g-side, .dlp-g-sidewrap { display: none; }
    /* Phones: one big photo for every look (the slider keeps its peek) */
    .dlp .dlp-gallery--strip .dlp-g-main { height: 300px; border-radius: 0; }
    .dlp .dlp-gallery--strip { margin: 0 -16px; }
    .dlp .dlp-g-strip { display: none; }
    .dlp.dlp--widget .dlp-gallery { margin: 0; } /* the widget has no side padding to pull out of */
    .dlp .dlp-g-track { padding: 0 6%; gap: 6px; }
    .dlp .dlp-g-main--slider .dlp-g-prev { left: 10px; } .dlp .dlp-g-main--slider .dlp-g-next { right: 10px; }
    .dlp .dlp-g-main--slider .dlp-g-chips { left: calc(6% + 10px); }
    .dlp .dlp-g-arrow, .dlp .dlp-g-arrow:hover, .dlp .dlp-g-arrow:focus { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
    .dlp-g-chips { left: 10px; bottom: 10px; gap: 6px; }
    /* Section links: wrap onto more lines instead of running off the screen; not sticky (it would cover too much) */
    .dlp-links, body.admin-bar .dlp-links { position: static; }
    .dlp.dlp--widget .dlp-links { position: static !important; } /* beats the widget's "stay at the top" setting on phones */
    .dlp .dlp-links ul { flex-wrap: wrap; overflow: visible; gap: 2px 0; padding: 6px 12px; }
    .dlp .dlp-links--plain ul, .dlp .dlp-links--divided ul { gap: 2px 20px; }
    .dlp .dlp-links--pills ul { gap: 8px; padding: 0; }
    .dlp .dlp-links a { padding: 8px 0; border-bottom: none; }
    .dlp .dlp-links--pills a { padding: 7px 12px; }
    .dlp .dlp-links--divided li + li::before { display: none; } /* lines would land at the start of wrapped rows */
    .dlp .dlp-chip, .dlp .dlp-chip:hover, .dlp .dlp-chip:focus { padding: 6px 10px; font-size: 12px; }
    .dlp-summary { grid-template-columns: minmax(0, 1fr); }
    .dlp-sum-price { align-items: flex-start; text-align: left; }
    .dlp .dlp-features { grid-template-columns: minmax(0, 1fr); }
    .dlp-mortgage, .dlp-mc-fields { grid-template-columns: minmax(0, 1fr); }
    .dlp-lb-stage { inset: 56px 8px 56px; }
    .dlp .dlp-lb-arrow, .dlp .dlp-lb-arrow:hover, .dlp .dlp-lb-arrow:focus { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
    .dlp-contact { padding: 20px; }
}
@media (max-width: 600px) { body.admin-bar .dlp-links { top: 0; } }

/* --- Printing --- */
/* Template page AND Elementor-built page. Printed: the main photo, address / price / facts, every text section,
   floorplans, EPC and the branch phone / email. Left out: buttons bar, section links, map, mortgage calculator,
   viewing form, similar properties, editor notes. The old shortlist print block above hides every <button> and
   <header>, so the gallery photo (a button) is switched back on here with a stronger rule. */
@media print {
    .dlp .dlp-topbar, .dlp .dlp-links, .dlp .dlp-g-arrow, .dlp .dlp-g-chips, .dlp .dlp-g-side, .dlp .dlp-g-sidewrap, .dlp .dlp-g-strip,
    .dlp .dlp-section--map, .dlp .dlp-section--mortgage, .dlp .dlp-viewing, .dlp .dlp-similar,
    .dlp .dlp-lightbox, .dlp .dlp-editor-note, .dlp .dlp-dialog,
    .elementor-widget-domus_listing_similar, .elementor-widget-domus_listing_top_bar, .elementor-widget-domus_listing_links { display: none !important; }
    .dlp-page, #particulars-container.dlp-page { padding: 0 !important; overflow: visible !important; }
    .dlp, .dlp.dlp--widget { padding: 0 !important; color: #222 !important; }
    /* nothing sticks or floats on paper */
    .dlp .dlp-side, .elementor-widget-domus_listing_contact, .elementor-widget-domus_listing_links { position: static !important; }
    /* Photo: just the main one, every gallery look */
    .dlp .dlp-gallery, .dlp.dlp--site > .dlp-gallery--slider { display: block !important; width: auto !important; height: auto !important; margin: 0 0 18px !important; }
    .dlp .dlp-gallery .dlp-g-main { height: 9cm !important; border-radius: 6px !important; overflow: hidden; break-inside: avoid; }
    .dlp .dlp-gallery .dlp-g-main .dlp-g-photo { display: block !important; }
    .dlp .dlp-gallery .dlp-g-fade { display: none !important; }
    .dlp .dlp-gallery .dlp-g-photo img { opacity: 1 !important; transform: none !important; }
    .dlp .dlp-g-track { display: block !important; height: 100% !important; padding: 0 !important; overflow: hidden !important; }
    .dlp .dlp-gallery .dlp-g-main .dlp-g-track .dlp-g-slide { display: none !important; } /* stronger than the "photos back on" rule above */
    .dlp .dlp-gallery .dlp-g-main .dlp-g-track .dlp-g-slide:not(.dlp-g-slide--copy)[data-index="0"] { display: block !important; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
    /* Summary + layout */
    .dlp .dlp-summary { display: grid !important; break-inside: avoid; }
    .dlp .dlp-layout { display: block !important; }
    .dlp .dlp-side { margin-top: 18px; }
    .dlp .dlp-contact { padding: 14px 16px !important; border: 1px solid #ddd !important; box-shadow: none !important; break-inside: avoid; }
    .dlp .dlp-contact-details { margin: 0 !important; padding: 0 !important; border: none !important; }
    /* Sections flow from page to page (no big gaps); just keep headings with their text and rooms / pictures whole */
    .dlp .dlp-section { padding: 0 0 14px !important; margin: 0 0 14px; border-bottom: 1px solid #ddd; break-inside: auto; }
    .dlp .dlp-section .dlp-h2, .dlp .dlp-section .dlp-h3 { break-after: avoid; }
    .dlp .dlp-room, .dlp .dlp-features li, .dlp .dlp-floorplan, .dlp .dlp-epc, .dlp .dlp-facts { break-inside: avoid; }
    .dlp .dlp-floorplans { display: block !important; }
    .dlp .dlp-floorplans .dlp-floorplan { max-width: 15cm; margin: 0 0 10px; padding: 0; border: none; }
    .dlp a { color: inherit !important; text-decoration: none !important; }
}

/* ================================================================
22. LIST CARD + PROPERTY LIST (shared blocks property-list-card.php / property-list.php)
   [FRIENDLY LABEL: The wide results card - photo one side, details the other. Used by the
   "Domus Property Results List" widget. Two classes per rule, so the widget's {{WRAPPER}}
   controls (3+ classes) always win; colours come from the Design tab (--dac-*).]
================================================================ */
.dlc { --dlc-photo-w: 42%; --dlc-gap: 18px; width: 100%; }
.dlc .dlc-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--dlc-gap); }
.dlc .dlc-card {
    position: relative; display: grid; grid-template-columns: var(--dlc-photo-w) minmax(0, 1fr); margin: 0; overflow: hidden;
    background-color: var(--dac-surface, #ffffff); border: 1px solid var(--dac-border, #ebe7e2); border-radius: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.dlc.dlc--linked .dlc-card:hover { box-shadow: var(--dac-shadow-hover, 0 8px 22px rgba(17, 24, 39, 0.08)); }
.dlc.dlc--photo-right .dlc-card .dlc-media { order: 2; }

/* --- Photo --- */
.dlc .dlc-media { position: relative; min-height: 260px; overflow: hidden; background-color: #efeeec; }
.dlc .dlc-media .dlc-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
.dlc.dlc--linked .dlc-card:hover .dlc-media .dlc-img { transform: scale(var(--dlc-zoom, 1.04)); }
.dlc .dlc-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 38px; color: #c9c5bf; }

/* Status badge on the photo */
.dlc .dlc-badge {
    position: absolute; z-index: 2; top: 16px; left: 16px; padding: 5px 9px; border-radius: 0;
    background-color: #ffffff; color: var(--dac-heading, #1d1b2e);
    font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase;
}
.dlc.dlc--badge-top-right .dlc-badge { left: auto; right: 16px; }
.dlc.dlc--badge-bottom-left .dlc-badge { top: auto; bottom: 16px; }
.dlc.dlc--badge-bottom-right .dlc-badge { top: auto; bottom: 16px; left: auto; right: 16px; }
.dlc .dlc-badge.dlc-badge--under-offer,
.dlc .dlc-badge.dlc-badge--sold,
.dlc .dlc-badge.dlc-badge--let { background-color: var(--dac-status-bg, #1d1b2e); color: #ffffff; }

/* --- Details --- */
.dlc .dlc-body { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px 32px; }
.dlc .dlc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dlc .dlc-head { min-width: 0; }
.dlc .dlc-label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dac-muted, #6b6878); }
.dlc .dlc-price { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--dac-heading, #1d1b2e); }
.dlc .dlc-price .dlc-freq { font-size: 0.55em; font-weight: 600; letter-spacing: 0.04em; }
.dlc .dlc-address { margin: 10px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--dac-heading, #1d1b2e); }

/* Facts row (lines above / below are switchable) */
.dlc .dlc-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 12px 0; list-style: none; }
.dlc.dlc--line-above .dlc-facts { border-top: 1px solid var(--dlc-line, var(--dac-border, #ebe7e2)); }
.dlc.dlc--line-below .dlc-facts { border-bottom: 1px solid var(--dlc-line, var(--dac-border, #ebe7e2)); }
.dlc .dlc-fact { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; line-height: 1.3; color: var(--dac-text, #3d3a4b); }
.dlc .dlc-fact-icon { display: inline-flex; font-size: 16px; color: var(--dac-accent, var(--e-global-color-accent, #333)); }
.dlc .dlc-fact-icon svg { width: 1em; height: 1em; }
.dlc .dlc-fact-icon i { font-size: 1em; }
.dlc .dlc-fact-icon .e-font-icon-svg,
.dlc .dlc-btn-icon .e-font-icon-svg { width: 1em; height: 1em; fill: currentColor; }

/* Description */
.dlc .dlc-desc { margin: 16px 0 0; font-size: 15px; line-height: 1.65; color: var(--dac-muted, #6b6878); }
.dlc .dlc-desc .dlc-more { position: relative; z-index: 2; font-weight: 600; color: var(--dac-heading, #1d1b2e); text-decoration: underline; text-underline-offset: 3px; }
.dlc .dlc-desc .dlc-more:hover { color: var(--dac-accent, var(--e-global-color-accent, #333)); }

/* Buttons */
.dlc .dlc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 20px; }
.dlc.dlc--btns-left .dlc-foot { justify-content: flex-start; }
.dlc.dlc--btns-stretch .dlc-foot .dlc-btn { flex: 1 1 0; }
.dlc .dlc-foot .dlc-btn,
.dlc .dlc-foot .dlc-btn:hover,
.dlc .dlc-foot .dlc-btn:focus {
    position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--dac-btn-radius, 0);
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; text-transform: none; box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dlc .dlc-foot .dlc-btn--viewing { background-color: transparent; border-color: var(--dac-heading, #1d1b2e); color: var(--dac-heading, #1d1b2e); }
.dlc .dlc-foot .dlc-btn--viewing:hover,
.dlc .dlc-foot .dlc-btn--viewing:focus { background-color: var(--dac-heading, #1d1b2e); border-color: var(--dac-heading, #1d1b2e); color: #ffffff; }
.dlc .dlc-foot .dlc-btn--view { background-color: var(--dac-accent, var(--e-global-color-accent, #333)); border-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); }
.dlc .dlc-foot .dlc-btn--view:hover,
.dlc .dlc-foot .dlc-btn--view:focus { background-color: var(--dac-accent, var(--e-global-color-accent, #333)); border-color: var(--dac-accent, var(--e-global-color-accent, #333)); color: var(--dac-accent-text, #ffffff); filter: brightness(0.94); }
.dlc .dlc-btn-icon { display: inline-flex; font-size: 1em; }
.dlc .dlc-btn-icon svg { width: 1em; height: 1em; }

/* Heart: square button in the details (default) or round on the photo */
.dlc .dlc-fav {
    position: relative; z-index: 2; display: inline-flex; flex: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--dac-border, #ebe7e2); border-radius: 0;
    background-color: #ffffff; color: var(--dac-heading, #1d1b2e); font-size: 16px; line-height: 1; cursor: pointer; box-shadow: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.dlc .dlc-fav:hover,
.dlc .dlc-fav:focus { background-color: #ffffff; border-color: var(--dac-heart, var(--dac-accent, #333)); color: var(--dac-heart, var(--dac-accent, #333)); }
.dlc .dlc-fav.dlc-fav--photo { position: absolute; top: 14px; right: 14px; border: none; border-radius: 50%; background-color: rgba(255, 255, 255, 0.92); box-shadow: var(--dac-shadow-sm, 0 1px 4px rgba(17, 24, 39, 0.10)); }
.dlc.dlc--badge-top-right .dlc-fav.dlc-fav--photo { top: auto; bottom: 14px; }
.dlc .dlc-fav.dlc-fav--round { border-radius: 50%; }
.dlc .dlc-fav svg { width: 1em; height: 1em; }
.dlc .dlc-fav .dfc-heart-fill { fill: transparent; stroke: currentColor; stroke-width: 2; transition: fill 0.2s ease; }
.dlc .dlc-fav.is-saved { color: var(--dac-heart, var(--dac-accent, #333)); border-color: currentColor; } /* saved = border in the heart colour, not the grey/dark normal border */
.dlc .dlc-fav.is-saved .dfc-heart-fill { fill: currentColor; stroke: var(--dac-heart-outline, currentColor); }

/* Whole card clickable (sits under the buttons, heart and "Read more") */
.dlc .dlc-cover-link { position: absolute; inset: 0; z-index: 1; }

/* Phones: a little tighter (the photo-on-top switch is printed per list, see property-list.php) */
@media (max-width: 767px) {
    .dlc .dlc-body { padding: 20px; }
    .dlc .dlc-price { font-size: 25px; }
    .dlc .dlc-foot .dlc-btn { flex: 1 1 auto; }
}
@media print {
    .dlc .dlc-fav, .dlc .dlc-foot { display: none !important; }
    .dlc .dlc-card { break-inside: avoid; }
}
/* --- Compact list cards beside the map (Domus Property Results Map widget, Card Layout: List) --- */
.dlc.dlc--compact { --dlc-photo-w: 38%; --dlc-gap: 14px; }
.dlc.dlc--compact .dlc-media { min-height: 140px; }
.dlc.dlc--compact .dlc-body { padding: 16px 18px; }
.dlc.dlc--compact .dlc-price { font-size: 22px; }
.dlc.dlc--compact .dlc-address { margin-top: 4px; font-size: 15px; }
.dlc.dlc--compact .dlc-facts { margin-top: 8px; padding: 6px 0 0; gap: 4px 16px; }
.dlc.dlc--compact .dlc-fact { font-size: 13px; }
.dlc.dlc--compact .dlc-desc { margin-top: 8px; font-size: 14px; }
.dlc.dlc--compact .dlc-foot { padding-top: 12px; }
.dlc.dlc--compact .dlc-fav { width: 34px; height: 34px; font-size: 14px; }
/* The card being hovered (its pin opens on the map): accent edge */
.dlc.dlc--map-list .dlc-card:hover { border-color: var(--dac-heading, #1d1b2e); box-shadow: inset 3px 0 0 var(--dac-accent, var(--e-global-color-accent, #333)); }
/* ================================================================
23. SHADOWS OFF (every widget's Style > Shadows = Off -> class "domus-shadows-off" on the widget)
   [FRIENDLY LABEL: Removes every shadow inside that widget, including ones from its own shadow
   controls. Keyboard focus rings (also drawn with box-shadow) are kept for accessibility.]
================================================================ */
.domus-shadows-off,
.domus-shadows-off *:not(:focus):not(:focus-visible),
.domus-shadows-off *::before,
.domus-shadows-off *::after { box-shadow: none !important; }