/* Scoped property detail refresh. */
body.single-property #content > .container{width:calc(100% - 72px);max-width:1376px;margin:0 auto;padding:0}
body.single-property #content h1,body.single-property #content h2,body.single-property #content h3,body.single-property #content h4,body.single-property #content h5,body.single-property #content h1 b,body.single-property #content h2 b,body.single-property #content h3 b{font-weight:600!important}
body.single-property .cw-property-gallery{clear:both;position:relative;min-height:0!important;background:none!important;width:100%;margin:24px 0!important;border-radius:16px;overflow:hidden}
.cw-photo-layout{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:10px;height:clamp(340px,40vw,580px)}
.cw-photo-layout .cw-property-photo{display:none;min-width:0;min-height:0;overflow:hidden}
.cw-photo-layout .cw-property-photo:nth-of-type(1){display:block;grid-column:1;grid-row:1/3}
.cw-photo-layout .cw-property-photo:nth-of-type(2){display:block;grid-column:2;grid-row:1}
.cw-photo-layout .cw-property-photo:nth-of-type(3){display:block;grid-column:2;grid-row:2}
.cw-photo-layout.cw-gallery-ready .cw-property-photo{display:none}
.cw-photo-layout.cw-gallery-ready .cw-photo-main{display:block;grid-column:1;grid-row:1/3}
.cw-photo-layout.cw-gallery-ready .cw-photo-side-top{display:block;grid-column:2;grid-row:1}
.cw-photo-layout.cw-gallery-ready .cw-photo-side-bottom{display:block;grid-column:2;grid-row:2}
.cw-photo-layout.cw-photos-one{grid-template-columns:1fr}
.cw-photo-layout.cw-photos-two .cw-photo-side-top{grid-row:1/3}
body.single-property .cw-photo-layout img{display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important;transform:none!important}
.cw-photo-placeholder{grid-column:1/-1;grid-row:1/3}
.cw-gallery-controls[hidden]{display:none}
.cw-gallery-controls button{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;margin:0!important;padding:0;border:1px solid #d6dedb;border-radius:50%;background:#fff;color:#223739;font-size:32px;line-height:1;box-shadow:0 2px 8px #0002;z-index:100}
.cw-gallery-controls .cw-photo-prev{left:16px}.cw-gallery-controls .cw-photo-next{right:16px}
.cw-photo-count{position:absolute;right:16px;bottom:16px;background:#fff;color:#223739;border-radius:8px;padding:8px 13px;font:600 13px Muli,sans-serif;z-index:100}
.cw-property-gallery button:focus-visible,.cw-property-gallery a:focus-visible{outline:3px solid #ff3e33;outline-offset:-3px}
body.single-property .cw-property-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;margin:0 0 32px;padding:24px 0;border-bottom:1px solid #e2e7e5}
body.single-property .cw-property-summary .top{display:contents;background:none;padding:0;border-radius:0}
body.single-property .cw-property-summary h1{grid-column:1;grid-row:1;margin:0!important;font-size:clamp(24px,2.3vw,34px);line-height:1.25;color:#223739}
body.single-property .cw-property-summary .price{grid-column:2;grid-row:1/3;position:static!important;float:none!important;display:flex;flex-direction:column;align-items:flex-end;gap:4px;margin:0!important;padding:0!important;font-size:30px;font-weight:600;color:#223739}
body.single-property .cw-property-summary .price-qualifier{position:static!important;float:none!important;width:auto!important;order:-1;margin:0;padding:0;font-size:12px;font-weight:400;color:#61706c}
body.single-property .cw-property-summary .posted-on{grid-column:1;grid-row:2;position:static!important;float:none!important;width:auto!important;padding:0;margin:0;font-size:12px;color:#61706c}
body.single-property .cw-property-summary .rooms{grid-column:1/-1;position:static!important;float:none!important;width:auto!important;margin:0!important;padding:0!important;justify-self:start;background:#f4f6f5;border-radius:8px}
body.single-property .cw-property-summary .property_actions{grid-column:1/-1;margin:0!important;padding:0!important;border:0!important;background:none!important}
body.single-property .cw-property-summary .property_actions ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
body.single-property .cw-property-summary .property_actions li{margin:0!important;float:none!important;list-style:none}
body.single-property .cw-property-summary .property_actions a{border-radius:8px!important;font-weight:600;padding:12px 18px!important}
body.single-property .cw-property-summary .display-address{display:none}
body.single-property .cw-property-summary .cw-detail-save{background:#fff!important;color:#61706c!important;border:1px solid #d6dedb!important;display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0!important;padding:10px 16px;border-radius:8px;font:400 14px Muli,sans-serif}
.cw-detail-save svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
body.single-property .cw-property-summary .cw-detail-save[aria-pressed=true]{color:#ff3e33!important;border-color:#ff3e33!important}.cw-detail-save[aria-pressed=true] svg{fill:currentColor}
@media(max-width:1100px){body.single-property #content > .container{width:calc(100% - 40px)}}
@media(max-width:700px){.cw-photo-layout{height:auto;aspect-ratio:4/3;grid-template-columns:1fr;grid-template-rows:1fr}.cw-photo-layout .cw-property-photo:nth-of-type(2),.cw-photo-layout .cw-property-photo:nth-of-type(3),.cw-photo-layout.cw-gallery-ready .cw-photo-side-top,.cw-photo-layout.cw-gallery-ready .cw-photo-side-bottom{display:none}.cw-photo-layout .cw-property-photo:nth-of-type(1),.cw-photo-layout.cw-gallery-ready .cw-photo-main{display:block!important;grid-column:1;grid-row:1}.cw-gallery-controls button{width:38px;height:38px}.cw-gallery-controls .cw-photo-prev{left:10px}.cw-gallery-controls .cw-photo-next{right:10px}body.single-property .cw-property-summary{grid-template-columns:1fr;gap:14px;padding:8px 0 24px}body.single-property .cw-property-summary .price{grid-column:1;grid-row:3;align-items:flex-start;font-size:26px}body.single-property .cw-property-summary .property_actions a{padding:10px 12px!important;font-size:13px}}

body.single-property #content .menu-main-menu-container{width:100%;clear:both;text-align:right;margin:24px 0}
body.single-property #content #menu-main-menu{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0;padding:0}
body.single-property #content #menu-main-menu li{margin:0;list-style:none}
body.single-property #content #menu-main-menu li a{display:block;padding:7px 12px;border:1px solid #d6dedb;border-radius:7px;background:#fff;color:#223739;text-decoration:none;font-size:12px;font-weight:500}
body.single-property #content #menu-main-menu li.current-menu-item a{border-color:#ff3e33;color:#ff3e33}
body.single-property .cw-gallery-controls button[hidden]{display:none}
body.single-property .cw-property-summary .property_actions li.action-shortlist{background:none}
@media(max-width:700px){body.single-property #content #menu-main-menu{justify-content:flex-start;gap:8px}}

@media(max-width:700px){.cw-photo-layout.cw-gallery-ready .cw-property-photo{display:none!important}.cw-photo-layout.cw-gallery-ready .cw-property-photo.cw-photo-main{display:block!important;grid-column:1;grid-row:1}}

body.single-property .cw-property-summary .cw-property-price-area{grid-column:2;grid-row:1/3;display:flex;align-items:flex-start;justify-content:flex-end;gap:18px}
body.single-property .cw-property-summary .cw-property-price-area .price{display:flex;position:static!important}
body.single-property .cw-property-summary .cw-property-price-area .cw-detail-save{flex-shrink:0}
body.single-property .cw-property-summary .rooms{display:flex!important;flex-wrap:wrap;gap:20px;background:none!important;border-radius:0;padding:0!important}
body.single-property .cw-property-summary .rooms .cw-room-stat{display:flex!important;align-items:center;gap:7px;float:none!important;width:auto!important;padding:0!important;margin:0!important;background:none!important;font-size:14px;color:#61706c}
body.single-property .cw-property-summary .rooms .cw-room-stat:before,body.single-property .cw-property-summary .rooms .cw-room-stat:after{content:none!important;display:none!important}
.cw-room-stat svg{width:23px;height:23px;flex-shrink:0;color:#223739}
body.single-property .cw-property-summary .rooms .room-label{display:inline!important}
body.single-property .cw-property-summary .property_actions{border-top:0!important}
body.single-property .shared-counts-wrap{max-width:100%;display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:700px){body.single-property .cw-property-summary .cw-property-price-area{grid-column:1;grid-row:3;justify-content:space-between;align-items:center}body.single-property .cw-property-summary .rooms{gap:14px}body.single-property .cw-property-summary .rooms .cw-room-stat{font-size:12px}}

/* Compact header and a favourite heart in the gallery corner. */
body.single-property #content{padding-top:0!important}
body.single-property #content #primary,body.single-property #content .site-main{margin-top:0!important;padding-top:0!important}
body.single-property #content .menu-main-menu-container{margin:16px 0 12px!important}
body.single-property #content #menu-main-menu{gap:0!important}
body.single-property #content #menu-main-menu li{margin:0!important}
body.single-property .cw-property-gallery{margin:0 0 16px!important}
body.single-property .cw-property-gallery > .cw-detail-save{    position: absolute;
    top: 0;
    right: 0;
    z-index: 101;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, .7);
    color: #61706c !important;
    border: 0 !important;
    border-radius: 0 15px 0 15px !important;
    box-shadow: none;
    cursor: pointer;}
body.single-property .cw-property-gallery > .cw-detail-save svg{width:24px;height:24px}
body.single-property .cw-property-gallery > .cw-detail-save[aria-pressed=true]{color:#ff3e33!important}

/* Tighter summary rhythm with actions flush to the content edge. */
body.single-property .cw-property-summary{gap:10px 24px;padding:8px 0 20px;margin:0 0 24px}
body.single-property .cw-property-summary .posted-on{line-height:1.4;margin:0!important}
body.single-property .cw-property-summary .rooms{margin:0!important;line-height:1.4}
body.single-property .cw-property-summary .property_actions{padding:14px 0 0!important;margin:0!important;border:0!important}
body.single-property .cw-property-summary .property_actions ul{justify-content:flex-start;margin:0!important;padding:0!important;padding-top: 1.5rem !important;gap:8px}
body.single-property .cw-property-summary .property_actions li{margin:0!important;padding:0!important}
body.single-property .cw-property-summary .property_actions li a{margin:0!important}
body.single-property .cw-property-summary .property_actions:before,body.single-property .cw-property-summary .property_actions ul:before{display:none!important}

/* Collapse visually without cutting characters, entities or HTML tags. */
body.single-property .description p.cw-description-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}
body.single-property .description .cw-read-more{display:block;clear:both;width:max-content;max-width:100%;margin:14px 0 20px!important;padding:10px 16px;background:transparent!important;color:#223739!important;border:1px solid #aebcb6!important;border-radius:8px;font:400 14px Muli,sans-serif;text-decoration:none;line-height:1.5;cursor:pointer}
body.single-property .description .cw-read-more:hover{background:#fff!important;border-color:#223739!important;opacity:1}
body.single-property .description .cw-read-more:focus-visible{outline:2px solid #223739;outline-offset:3px}

/* Mobile actions: one primary button and a quiet, even two-column grid. */
@media(max-width:700px){
 body.single-property .cw-property-summary .property_actions ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
 body.single-property .cw-property-summary .property_actions li{width:auto!important;min-width:0;float:none!important;margin:0!important}
 body.single-property .cw-property-summary .property_actions li.action-make-enquiry{grid-column:1/-1}
 body.single-property .cw-property-summary .property_actions li a{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%!important;min-height:44px;margin:0!important;padding:10px 12px!important;background:#fff!important;color:#223739!important;border:1px solid #d6dedb!important;border-radius:8px!important;font-size:13px!important;font-weight:500}
 body.single-property .cw-property-summary .property_actions li.action-make-enquiry a{min-height:48px;background:#ff3e33!important;color:#fff!important;border-color:#ff3e33!important;font-weight:600}
}

/* A single quiet control opens the existing sharing options. */
body.single-property .cw-share-section{background:transparent!important;padding:0!important;margin:0 0 20px!important;box-shadow:none!important}
body.single-property .cw-share-launcher{display:inline-flex;align-items:center;margin:0!important;padding:10px 16px;background:#fff!important;color:#223739!important;border:1px solid #d6dedb;border-radius:8px;font:400 14px Muli,sans-serif;cursor:pointer}
.cw-share-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:560px;max-height:80vh;overflow:auto;margin:auto;padding:24px;border:1px solid #d6dedb;border-radius:16px;background:#fff;color:#223739;box-shadow:0 16px 60px #0003}
.cw-share-dialog::backdrop{background:#12252580}
.cw-share-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.cw-share-dialog-header h2{font:600 22px 'Work Sans',sans-serif!important;margin:0!important}
body.single-property .cw-share-close{display:grid;place-items:center;width:36px;height:36px;margin:0!important;padding:0;background:#fff!important;color:#61706c;border:1px solid #d6dedb;border-radius:50%;font-size:25px;cursor:pointer}
body.single-property .cw-share-dialog .shared-counts-wrap{display:flex;flex-wrap:wrap;gap:10px;margin:0!important;padding:0!important}
body.single-property .cw-share-dialog .shared-counts-button{box-sizing:border-box;flex:1 1 180px;max-width:100%;margin:0!important;border-radius:8px}
body.single-property .cw-share-launcher:focus-visible,body.single-property .cw-share-close:focus-visible{outline:2px solid #223739;outline-offset:3px}

body.single-property .cw-share-dialog .sharethis-inline-share-buttons{display:flex!important;flex-wrap:wrap;gap:10px;justify-content:flex-start!important;text-align:left!important}
body.single-property .cw-share-dialog .sharethis-inline-share-buttons .st-total{display:none!important}
body.single-property .cw-share-dialog .sharethis-inline-share-buttons .st-btn{box-sizing:border-box;flex:1 1 180px;max-width:100%;margin:0!important;border-radius:8px!important}

body.single-property .cw-share-section{clear:both;margin:0 0 20px!important}
.cw-share-dialog label{display:block;margin-bottom:8px;color:#61706c;font:400 14px Muli,sans-serif}
.cw-share-dialog .cw-share-url{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d6dedb;border-radius:8px;background:#fff;color:#223739;font:400 14px Muli,sans-serif}
body.single-property .cw-share-dialog .cw-copy-link{display:block;margin:16px 0 0!important;padding:11px 18px;background:#223739;color:#fff;border:0;border-radius:8px;font:400 14px Muli,sans-serif;cursor:pointer}
.cw-share-dialog .cw-share-status{min-height:1.5em;margin:12px 0 0;font:400 14px Muli,sans-serif;color:#61706c}

/* SVG chevrons avoid text-glyph clipping and baseline offsets. */
body.single-property .cw-gallery-controls button{padding:0!important;line-height:1!important;overflow:visible;flex-shrink:0}
body.single-property .cw-gallery-controls button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}

/* Back navigation and compact mobile property filters. */
body.single-property .cw-property-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px;position:relative;z-index:5;}
body.single-property .cw-back-properties{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #d6dedb;border-radius:7px;background:white;color:#223739;text-decoration:none;font-size:14px;white-space:nowrap;}
body.single-property .cw-back-properties svg{flex-shrink:0;}
body.single-property .cw-property-filters{margin-left:auto;}
body.single-property .cw-property-filters>summary{display:none;}
body.single-property #content .cw-property-filters .menu-main-menu-container{margin:0!important;}
@media(min-width:701px){body.single-property .cw-property-filters:not([open])>*:not(summary){display:block;}}
@media(max-width:700px){
 body.single-property .cw-property-toolbar{margin:12px 0;}
 body.single-property .cw-property-filters>summary{display:flex;align-items:center;justify-content:center;width:42px;height:42px;box-sizing:border-box;list-style:none;border:1px solid #d6dedb;border-radius:7px;background:white;color:#223739;cursor:pointer;}
 body.single-property .cw-property-filters>summary::-webkit-details-marker{display:none;}
 body.single-property #content .cw-property-filters .menu-main-menu-container{position:absolute;right:0;top:calc(100% + 8px);width:190px;padding:8px;background:white;border:1px solid #d6dedb;border-radius:9px;box-shadow:0 8px 24px rgba(0,0,0,.12);}
 body.single-property #content .cw-property-filters #menu-main-menu{display:flex;flex-direction:column;gap:4px!important;}
 body.single-property #content .cw-property-filters #menu-main-menu li a{text-align:left;border:0;}
}
body.single-property .cw-back-properties:focus-visible,body.single-property .cw-property-filters>summary:focus-visible{outline:2px solid #ff3e33;outline-offset:3px;}

/* Use the same dropdown on desktop and mobile. */
body.single-property .cw-property-filters>summary{display:flex;align-items:center;justify-content:center;width:42px;height:42px;box-sizing:border-box;list-style:none;border:1px solid #d6dedb;border-radius:7px;background:white;color:#223739;cursor:pointer;}
body.single-property .cw-property-filters>summary::-webkit-details-marker{display:none;}
body.single-property .cw-property-filters:not([open])>*:not(summary){display:none!important;}
body.single-property #content .cw-property-filters .menu-main-menu-container{position:absolute;right:0;top:calc(100% + 8px);width:190px;padding:8px;background:white;border:1px solid #d6dedb;border-radius:9px;box-shadow:0 8px 24px rgba(0,0,0,.12);}
body.single-property #content .cw-property-filters #menu-main-menu{display:flex;flex-direction:column;gap:4px!important;}
body.single-property #content .cw-property-filters #menu-main-menu li a{text-align:left;border:0;}

/* Keep gallery controls inside their own layer beneath the filter dropdown. */
body.single-property .cw-property-gallery{isolation:isolate;z-index:0;}
body.single-property .cw-property-toolbar{z-index:10;}
body.single-property #content .cw-property-filters .menu-main-menu-container{z-index:1;}
