/* Bulk & Partner — Property Detail Head V16. Breadcrumbs/gallery intentionally untouched. */
.single-property .bp-property-detail-head{margin:0 0 28px;padding:18px 0 0;background:#fff;text-align:left;color:#444}
.single-property .bp-property-detail-head__price{margin:0 0 10px;font-size:21px;line-height:1.25;font-weight:600;color:#333}
.single-property .bp-property-detail-head__price *{vertical-align:baseline}
.single-property .bp-property-detail-head__taxonomies{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 9px;font-size:13px;line-height:1.55;color:#555}
.single-property .bp-property-detail-head__taxonomies a,.single-property .bp-property-detail-head__taxonomies a:link,.single-property .bp-property-detail-head__taxonomies a:visited{color:#555!important;text-decoration:none!important;border-bottom:1px solid transparent!important;box-shadow:none!important}
.single-property .bp-property-detail-head__taxonomies a:hover,.single-property .bp-property-detail-head__taxonomies a:focus{color:#555!important;border-bottom-color:#e38b0d!important}
.single-property .bp-property-detail-head__slash{padding:0 8px;color:#bbb;font-weight:300}
.single-property .bp-property-detail-head__id{margin:0 0 17px;font-size:12px;line-height:1.4;color:#888}
.single-property .bp-property-detail-head__meta{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;border-top:1px solid #e5e5e5;padding-top:18px}
.single-property .bp-property-detail-head__meta-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;padding:0 12px;text-align:center;color:#555;font-size:13px;line-height:1.2}
.single-property .bp-property-detail-head__meta-item+.bp-property-detail-head__meta-item:before{content:"";position:absolute;left:0;top:50%;width:1px;height:42px;transform:translateY(-50%);background:#dedede}
.single-property .bp-property-detail-head__meta-item img{display:block;width:48px;height:48px;object-fit:contain;max-width:48px}
.single-property .property-item>.property-meta{display:none!important}
.single-property .property-item>.outer-wrapper{display:none!important}
@media(max-width:980px){.single-property .bp-property-detail-head__meta{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px}.single-property .bp-property-detail-head__meta-item:nth-child(4):before{display:none}}
@media(max-width:600px){.single-property .bp-property-detail-head{padding-top:15px;margin-bottom:24px}.single-property .bp-property-detail-head__meta{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.single-property .bp-property-detail-head__meta-item:nth-child(odd):before{display:none}.single-property .bp-property-detail-head__meta-item:nth-child(4):before{display:block}.single-property .bp-property-detail-head__meta-item img{width:44px;height:44px;max-width:44px}}

/* V17 gallery/detail-head refinements — gallery structure itself remains unchanged. */
.single-property .bp-property-detail-head__price,
.single-property .bp-property-detail-head__taxonomies,
.single-property .bp-property-detail-head__id{padding-left:25px;padding-right:25px}

/* Match the subtle V15 card arrows on the classic detail gallery. */
.single-property #property-detail-flexslider{position:relative}
.single-property #property-detail-flexslider .flex-direction-nav{display:block!important;opacity:0;transition:opacity .18s ease}
.single-property #property-detail-flexslider:hover .flex-direction-nav,
.single-property #property-detail-flexslider:focus-within .flex-direction-nav{opacity:1}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a{
  display:flex!important;align-items:center;justify-content:center;
  width:42px!important;height:46px!important;margin-top:-23px!important;
  background:rgba(45,45,45,.38)!important;color:#fff!important;
  text-indent:-9999px!important;overflow:hidden!important;
  opacity:1!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a:before{
  display:block!important;width:10px;height:10px;content:""!important;
  border-top:2px solid #fff;border-right:2px solid #fff;
}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-prev{left:18px!important}
.bp-v20-disabled .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next{right:calc(82px + 18px)!important}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-prev:before{transform:rotate(-135deg);margin-left:4px}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next:before{transform:rotate(45deg);margin-right:4px}

/* Pull existing status/favourite badges slightly into the image, as on V15 cards. */
.single-property #property-detail-flexslider .slider-property-status-custom{right:100px!important;bottom:16px!important;margin:0!important}
.single-property .slider-main-wrapper .slider-socket{left:16px!important;bottom:16px!important;margin:0!important}

/* Total gallery count belongs to the thumbnail/navigation area, not the property data block. */
.single-property #property-detail-flexslider .bp-detail-gallery-count{
  position:absolute;right:8px;bottom:5px;z-index:20;display:flex;align-items:center;justify-content:center;gap:5px;
  min-width:64px;height:30px;padding:0 7px;box-sizing:border-box;
  color:#666;background:#fff;font-size:12px;line-height:1;font-weight:400;pointer-events:none
}
.single-property #property-detail-flexslider .bp-detail-gallery-count svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:767px){
  .single-property .bp-property-detail-head__price,
  .single-property .bp-property-detail-head__taxonomies,
  .single-property .bp-property-detail-head__id{padding-left:20px;padding-right:20px}
  .single-property #property-detail-flexslider .flex-direction-nav{opacity:1}
}

/* V18 — main-image corner layout. Keep the thumbnail carousel/navigation untouched.
   Top left: property label (e.g. LICENSE GRANTED)
   Top right: favourite heart
   Bottom left: status (FOR SALE / SOLD)
   Bottom right: total photo count */
.single-property .slider-main-wrapper{position:relative}
.single-property #property-detail-flexslider .slider-label{
  left:16px!important;top:16px!important;right:auto!important;bottom:auto!important;margin:0!important
}
.single-property #property-detail-flexslider .slider-property-status-custom{
  left:16px!important;bottom:16px!important;right:auto!important;top:auto!important;margin:0!important
}
.single-property .slider-main-wrapper .slider-socket{
  left:auto!important;right:calc(82px + 16px)!important;top:16px!important;bottom:auto!important;margin:0!important;z-index:30
}
.single-property #property-detail-flexslider .bp-detail-gallery-count{
  left:auto!important;right:calc(82px + 16px)!important;top:auto!important;bottom:16px!important;
  z-index:30;min-width:0;height:36px;padding:0 10px;gap:6px;
  color:#fff;background:rgba(45,45,45,.45);font-size:12px;line-height:1;font-weight:400;pointer-events:none
}
.single-property #property-detail-flexslider .bp-detail-gallery-count svg{width:16px;height:16px}

/* Arrows remain V15-style and operate only over the main image. */
.bp-v20-disabled .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next{right:calc(82px + 18px)!important}

@media(max-width:767px){
  .single-property #property-detail-flexslider .slider-label{left:12px!important;top:12px!important}
  .single-property #property-detail-flexslider .slider-property-status-custom{left:12px!important;bottom:12px!important}
  .single-property .slider-main-wrapper .slider-socket{right:12px!important;top:12px!important}
  .single-property #property-detail-flexslider .bp-detail-gallery-count{right:12px!important;bottom:12px!important}
  .single-property #property-detail-flexslider .flex-direction-nav .flex-next{right:12px!important}
  .single-property #property-detail-flexslider .flex-direction-nav .flex-prev{left:12px!important}
}

/* V19 — align detail gallery controls with the approved V15 homepage cards. */
.single-property .bp-property-detail-head__meta-item img{
  width:36px!important;height:36px!important;max-width:36px!important;
}

/* Four-corner layout on the MAIN image only. The thumbnail carousel stays untouched. */
.single-property #property-detail-flexslider .slider-label{
  position:absolute!important;left:16px!important;top:16px!important;right:auto!important;bottom:auto!important;z-index:40!important;
}
.single-property #property-detail-flexslider .slider-property-status-custom{
  position:absolute!important;left:16px!important;bottom:16px!important;right:auto!important;top:auto!important;z-index:40!important;
}
.single-property #property-detail-flexslider .bp-detail-gallery-count{
  position:absolute!important;left:auto!important;right:100px!important;top:auto!important;bottom:16px!important;z-index:40!important;
}

/* Same visual language as the homepage property-card arrows. */
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a{
  position:absolute!important;top:50%!important;bottom:auto!important;
  width:38px!important;height:46px!important;margin:0!important;padding:0!important;
  transform:translateY(-50%)!important;
  background:rgba(0,0,0,.24)!important;color:#fff!important;
  font:300 32px/42px Arial,sans-serif!important;text-align:center!important;
  opacity:.78!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  text-indent:0!important;overflow:hidden!important;
}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a:hover,
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a:focus{background:rgba(0,0,0,.42)!important;opacity:1!important;outline:0!important}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a:before{
  display:block!important;width:auto!important;height:auto!important;border:0!important;
  color:#fff!important;font:300 32px/42px Arial,sans-serif!important;transform:none!important;margin:0!important;
}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-prev{left:16px!important;right:auto!important}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next{right:100px!important;left:auto!important}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-prev:before{content:"‹"!important}
.bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next:before{content:"›"!important}

@media(max-width:767px){
  .single-property .bp-property-detail-head__meta-item img{width:33px!important;height:33px!important;max-width:33px!important}
  .single-property #property-detail-flexslider .slider-label{left:12px!important;top:12px!important}
  .single-property #property-detail-flexslider .slider-property-status-custom{left:12px!important;bottom:12px!important}
  .single-property #property-detail-flexslider .bp-detail-gallery-count{right:12px!important;bottom:12px!important}
  .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a{width:34px!important;height:42px!important;font-size:28px!important;line-height:38px!important}
  .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav a:before{font-size:28px!important;line-height:38px!important}
  .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-prev{left:12px!important}
  .bp-v20-disabled .single-property #property-detail-flexslider .flex-direction-nav .flex-next{right:12px!important}
}
\n\n/* V20 — final gallery refinements. Existing V17/V19 custom arrow declarations above are disabled, not deleted. */
/* Labels stay on one line and size themselves to their text. */
.single-property #property-detail-flexslider .slider-label,
.single-property #property-detail-flexslider .slider-property-status-custom{
  display:block!important;width:max-content!important;max-width:calc(100% - 32px)!important;
  white-space:nowrap!important;line-height:1!important;
}
.single-property #property-detail-flexslider .slider-label{left:16px!important;top:16px!important;right:auto!important;bottom:auto!important}
.single-property #property-detail-flexslider .slider-property-status-custom{left:16px!important;bottom:16px!important;right:auto!important;top:auto!important}
/* Keep RealHomes' original previous/next controls and only make them slightly transparent. */
.single-property #property-detail-flexslider .flex-direction-nav a{opacity:.68!important}
.single-property #property-detail-flexslider .flex-direction-nav a:hover,
.single-property #property-detail-flexslider .flex-direction-nav a:focus{opacity:.9!important}
@media(max-width:767px){
  .single-property #property-detail-flexslider .slider-label{left:12px!important;top:12px!important}
  .single-property #property-detail-flexslider .slider-property-status-custom{left:12px!important;bottom:12px!important}
}

/* V21 — final corner spacing/status/label fixes. Previous rules above stay in place. */
.single-property #property-detail-flexslider .slider-label,
.single-property #property-detail-flexslider .slider-label *,
.single-property #property-detail-flexslider .slider-label figcaption{
  width:auto!important;max-width:none!important;white-space:nowrap!important;word-break:normal!important;
}
.single-property #property-detail-flexslider .slider-label{display:inline-block!important}
.single-property #property-detail-flexslider .slider-property-status-custom{
  display:inline-block!important;left:16px!important;bottom:16px!important;right:auto!important;top:auto!important;
  width:auto!important;max-width:none!important;white-space:nowrap!important;
}
.single-property #property-detail-flexslider .bp-detail-status{
  display:inline-block;padding:5px 10px;color:#fff;background:#4b8f16;font-size:13px;line-height:1.15;font-weight:600;text-transform:uppercase;white-space:nowrap;
}
.single-property #property-detail-flexslider .bp-detail-status--sold,
.single-property #property-detail-flexslider .bp-detail-status--verkauft,
.single-property #property-detail-flexslider .bp-detail-status--sprzedane,
.single-property #property-detail-flexslider .bp-detail-status--vendido{background:#df2b16}
/* Same visual inset from the right edge of the MAIN image as the 16px left inset. */
.single-property .slider-main-wrapper .slider-socket{right:calc(82px + 22px)!important}
.single-property #property-detail-flexslider .bp-detail-gallery-count{right:calc(82px + 22px)!important}
@media(max-width:767px){
  .single-property #property-detail-flexslider .slider-property-status-custom{left:12px!important;bottom:12px!important}
  .single-property .slider-main-wrapper .slider-socket{right:18px!important}
  .single-property #property-detail-flexslider .bp-detail-gallery-count{right:18px!important}
}

/* V22 — final status-banner sizing.
   FOR SALE / SOLD keeps its semantic colour, but uses the same banner proportions
   as the property label in the upper-left corner. */
.single-property #property-detail-flexslider .slider-property-status-custom .bp-detail-status{
  display:inline-block!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:7px 10px!important;
  box-sizing:border-box!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:400!important;
  white-space:nowrap!important;
}

/* V23 – >=1200px: keep heart and photo count at the same 16px inset
   from the right edge of the MAIN image as at the smaller desktop widths. */
@media (min-width:1200px){
  .single-property .slider-main-wrapper .slider-socket{
    right:calc(100px + 16px)!important;
  }
  .single-property #property-detail-flexslider .bp-detail-gallery-count{
    right:calc(100px + 16px)!important;
  }
}
