/* Bulk & Partner – Recommended Properties on property detail pages\n   Three compact cards, same visual language as Home/Search/List. */
.single-property .listing-layout.property-grid .list-container{box-sizing:border-box}
.single-property .listing-layout.property-grid .list-container>h2{margin-bottom:18px}
.single-property .bp-recommended-property-row{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.single-property .bp-recommended-property-card{display:grid!important;grid-template-columns:minmax(0,55%) minmax(0,45%)!important;width:100%!important;max-width:none!important;margin:0 0 42px!important;padding:0!important;border:0!important;background:#fff!important;box-sizing:border-box!important;overflow:visible!important;text-align:left!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__media{position:relative!important;order:1;float:none!important;width:100%!important;max-width:none!important;height:auto!important;min-width:0!important;margin:0!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#eee}
.single-property .bp-recommended-property-card .bp-property-card-v2__image-link{display:block!important;width:100%!important;height:100%!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__image,
.single-property .bp-recommended-property-card .bp-property-card-v2__media>a>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;transition:opacity .16s ease}
.single-property .bp-recommended-property-card .bp-property-card-v2__image.is-changing{opacity:.72}
.single-property .bp-recommended-property-card .bp-property-card-v2__content{order:2;float:none!important;width:auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;padding:18px 18px 18px 24px!important;box-sizing:border-box!important;text-align:left!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__title{width:100%!important;margin:0 0 10px!important;font-size:19px!important;line-height:1.35!important;font-weight:400!important;text-align:left!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__title a{color:inherit!important;text-decoration:none!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__title a:hover{color:#e38b0d!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__price{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;column-gap:7px!important;width:100%!important;margin:0 0 8px!important;font-size:20px!important;line-height:1.25!important;font-weight:600!important;color:#333!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies{display:flex!important;flex-wrap:wrap!important;align-items:center!important;width:100%!important;margin:0 0 8px!important;font-size:12.5px!important;line-height:1.55!important;color:#555!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies a{color:#555!important;text-decoration:none!important;border-bottom:1px solid transparent!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies a:hover{border-bottom-color:#e38b0d!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__separator{padding:0 7px!important;color:#bbb!important;font-weight:300!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__id{width:100%!important;margin:0 0 14px!important;font-size:12px!important;line-height:1.4!important;color:#888!important;text-align:left!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;margin:0!important;padding:13px 0 0!important;border-top:1px solid #e6e6e6!important;background:none!important;align-items:stretch!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta .bp-card-meta-item{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0 8px!important;background:none!important;color:#555!important;font-size:12px!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta .bp-card-meta-item:first-child{padding-left:0!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta .bp-card-meta-item:last-child{padding-right:0!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta .bp-card-meta-item+.bp-card-meta-item:before{content:""!important;position:absolute!important;left:0!important;top:50%!important;width:1px!important;height:30px!important;transform:translateY(-50%)!important;background:#dedede!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta svg{width:34px!important;height:34px!important;max-width:34px!important;flex:0 0 34px!important;fill:none!important;stroke:#e38b0d!important;stroke-width:1.55!important;color:#e38b0d!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta b{display:block!important;font-size:12px!important;line-height:1.15!important;font-weight:400!important;color:#555!important}

/* Four established image corners. */
.single-property .bp-recommended-property-card .bp-property-card-v2__media .add-to-fav{position:absolute!important;z-index:50!important;top:14px!important;right:14px!important;margin:0!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__media .property-label,
.single-property .bp-recommended-property-card .bp-property-card-v2__media .property-labels{margin:14px!important;white-space:nowrap!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__media>figcaption{position:absolute!important;z-index:48!important;left:14px!important;right:auto!important;bottom:14px!important;width:auto!important;height:auto!important;margin:0!important;padding:6px 11px!important;box-sizing:border-box!important;font-size:14px!important;line-height:1.25!important;white-space:nowrap!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__media>figcaption a,
.single-property .bp-recommended-property-card .bp-property-card-v2__media>figcaption span{font-size:14px!important;line-height:1.25!important;white-space:nowrap!important}
.single-property .bp-recommended-property-card .bp-card-gallery__total{position:absolute!important;z-index:46!important;right:14px!important;bottom:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:38px!important;height:38px!important;padding:0 7px!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(0,0,0,.34)!important;color:#fff!important;font-size:11px!important;line-height:1!important;pointer-events:none!important}
.single-property .bp-recommended-property-card .bp-card-gallery__total svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important}
.single-property .bp-recommended-property-card .bp-card-gallery__arrow{position:absolute!important;top:50%!important;z-index:45!important;width:36px!important;height:44px!important;margin:0!important;padding:0!important;transform:translateY(-50%)!important;border:0!important;background:rgba(0,0,0,.24)!important;color:#fff!important;font:300 30px/40px Arial,sans-serif!important;text-align:center!important;cursor:pointer!important;opacity:.78!important}
.single-property .bp-recommended-property-card .bp-card-gallery__arrow:hover,
.single-property .bp-recommended-property-card .bp-card-gallery__arrow:focus{background:rgba(0,0,0,.42)!important;opacity:1!important;outline:0!important}
.single-property .bp-recommended-property-card .bp-card-gallery__arrow--prev{left:14px!important}
.single-property .bp-recommended-property-card .bp-card-gallery__arrow--next{right:14px!important}
.single-property .bp-recommended-property-card .bp-card-gallery__counter{display:none!important}

/* The detail content column gets narrow early because of its sidebar: stack before it feels cramped. */
@media (max-width:1199px){
 .single-property .bp-recommended-property-card{grid-template-columns:1fr!important;margin-bottom:38px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media{aspect-ratio:16/8.8!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{width:100%!important;padding:20px 22px 22px!important}
}
@media (max-width:600px){
 .single-property .bp-recommended-property-card{margin-bottom:32px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media{aspect-ratio:16/8.5!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{padding:17px 14px 19px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{font-size:18px!important;margin-bottom:9px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{font-size:19px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta .bp-card-meta-item{padding:0 5px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta svg{width:30px!important;height:30px!important;max-width:30px!important;flex-basis:30px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media .add-to-fav{top:12px!important;right:12px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media .property-label,
 .single-property .bp-recommended-property-card .bp-property-card-v2__media .property-labels{margin:12px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media>figcaption{left:12px!important;bottom:12px!important}
 .single-property .bp-recommended-property-card .bp-card-gallery__total{right:12px!important;bottom:12px!important}
 .single-property .bp-recommended-property-card .bp-card-gallery__arrow--prev{left:12px!important}
 .single-property .bp-recommended-property-card .bp-card-gallery__arrow--next{right:12px!important}
}

/* V36 – responsive refinement: wide desktop side-by-side, compact stack below. */
@media (min-width:1200px){
 .single-property .listing-layout.property-grid .list-container>h2{margin-left:22px!important;margin-right:22px!important}
 .single-property .bp-recommended-property-row{width:auto!important;margin-left:22px!important;margin-right:22px!important}
 .single-property .bp-recommended-property-card{grid-template-columns:minmax(0,54%) minmax(0,46%)!important;margin-bottom:34px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{justify-content:center!important;padding:14px 0 14px 18px!important;min-height:0!important;height:auto!important}
}
@media (min-width:601px) and (max-width:1199px){
 .single-property .listing-layout.property-grid .list-container>h2{margin-left:22px!important;margin-right:22px!important}
 .single-property .bp-recommended-property-row{width:auto!important;margin-left:22px!important;margin-right:22px!important}
 .single-property .bp-recommended-property-card{display:block!important;margin-bottom:30px!important;min-height:0!important;height:auto!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__media{width:100%!important;aspect-ratio:16/8.8!important;min-height:0!important;height:auto!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{display:flex!important;width:100%!important;min-height:0!important;height:auto!important;justify-content:flex-start!important;padding:16px 0 18px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin-bottom:7px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin-bottom:6px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies{margin-bottom:5px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:10px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:10px!important}
}
@media (max-width:600px){
 .single-property .listing-layout.property-grid .list-container>h2{margin-left:14px!important;margin-right:14px!important}
 .single-property .bp-recommended-property-row{width:auto!important;margin-left:14px!important;margin-right:14px!important}
 .single-property .bp-recommended-property-card{display:block!important;min-height:0!important;height:auto!important;margin-bottom:26px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{min-height:0!important;height:auto!important;justify-content:flex-start!important;padding:14px 0 16px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:9px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:9px!important}
}

/* V38 – desktop two-column breakpoint restored; final spacing/grid correction for Recommended Properties only.
   Keep Home/Search/List/Detail cards untouched. */
.single-property .listing-layout.property-grid .list-container{
  padding-left:22px!important;
  padding-right:22px!important;
}
.single-property .listing-layout.property-grid .list-container>h2{
  margin-left:0!important;
  margin-right:0!important;
  margin-bottom:18px!important;
}
.single-property .bp-recommended-property-row{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__content{
  min-height:0!important;
  height:auto!important;
}

/* Only truly wide detail-content areas stay side-by-side. */
@media (min-width:1200px){
 .single-property .bp-recommended-property-card{
   display:grid!important;
   grid-template-columns:minmax(0,55%) minmax(0,45%)!important;
   align-items:stretch!important;
   margin-bottom:34px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   justify-content:center!important;
   padding:12px 0 12px 18px!important;
 }
}

/* Smaller desktop + tablet: image first, compact information immediately below. */
@media (min-width:601px) and (max-width:1199px){
 .single-property .bp-recommended-property-card{
   display:block!important;
   margin-bottom:30px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__media{
   aspect-ratio:16/8.8!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   display:block!important;
   padding:14px 0 16px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin:0 0 7px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin:0 0 6px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies{margin:0 0 5px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin:0 0 10px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{margin:0!important;padding-top:10px!important}
}

/* Phone: same compact flow and one common left/right alignment. */
@media (max-width:600px){
 .single-property .listing-layout.property-grid .list-container{
   padding-left:14px!important;
   padding-right:14px!important;
 }
 .single-property .bp-recommended-property-card{
   display:block!important;
   margin-bottom:26px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   display:block!important;
   padding:12px 0 14px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin:0 0 7px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin:0 0 6px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies{margin:0 0 5px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin:0 0 9px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{margin:0!important;padding-top:9px!important}
}

/* V39 – final compact Recommended Properties geometry.
   Categories are hidden in the template. Home/Search/List remain untouched. */
.single-property .listing-layout.property-grid .list-container{
  padding-left:44px!important;
  padding-right:22px!important;
}
.single-property .listing-layout.property-grid .list-container>h2{
  margin:0 0 18px!important;
}
.single-property .bp-recommended-property-row{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.single-property .bp-recommended-property-card{
  align-items:start!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__content{
  align-self:start!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-height:0!important;
  height:auto!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__title{
  margin:0 0 12px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__price{
  margin:0 0 7px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__taxonomies{
  display:none!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__id{
  margin:0 0 12px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta{
  margin:0!important;
  padding-top:12px!important;
}

@media (min-width:1200px){
 .single-property .bp-recommended-property-card{
   grid-template-columns:minmax(0,53%) minmax(0,47%)!important;
   column-gap:20px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   padding:0!important;
 }
}

@media (min-width:601px) and (max-width:1199px){
 .single-property .listing-layout.property-grid .list-container{
   padding-left:22px!important;
   padding-right:22px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   padding:14px 0 16px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin-bottom:10px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin-bottom:6px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:10px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:10px!important}
}

@media (max-width:600px){
 .single-property .listing-layout.property-grid .list-container{
   padding-left:14px!important;
   padding-right:14px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__content{
   padding:12px 0 14px!important;
 }
 .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin-bottom:9px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin-bottom:6px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:9px!important}
 .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:9px!important}
}

/* V40 – recommendation alignment + compact vertical rhythm.
   Desktop: use the same inner gutter as the share/action content above.
   All breakpoints: prevent inherited flex growth from stretching title/price/ID/meta. */
.single-property .bp-recommended-property-card .bp-property-card-v2__title,
.single-property .bp-recommended-property-card .bp-property-card-v2__price,
.single-property .bp-recommended-property-card .bp-property-card-v2__id,
.single-property .bp-recommended-property-card .bp-property-card-v2__meta{
  flex:0 0 auto!important;
  min-height:0!important;
  height:auto!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__title{margin:0 0 6px!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__price{margin:0 0 3px!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__id{margin:0 0 7px!important}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:8px!important}

@media (min-width:1200px){
  .single-property .listing-layout.property-grid .list-container>h2{
    width:calc(100% - 44px)!important;
    margin-left:22px!important;
    margin-right:22px!important;
  }
  .single-property .bp-recommended-property-row{
    width:calc(100% - 44px)!important;
    margin-left:22px!important;
    margin-right:22px!important;
  }
  .single-property .bp-recommended-property-card{
    grid-template-columns:minmax(0,53%) minmax(0,47%)!important;
    column-gap:18px!important;
  }
  .single-property .bp-recommended-property-card .bp-property-card-v2__content{padding:0!important}
}

@media (min-width:601px) and (max-width:1199px){
  .single-property .bp-recommended-property-card .bp-property-card-v2__content{padding:10px 0 12px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin-bottom:6px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin-bottom:3px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:7px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:8px!important}
}

@media (max-width:600px){
  .single-property .bp-recommended-property-card .bp-property-card-v2__content{padding:10px 0 12px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__title{margin-bottom:6px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__price{margin-bottom:3px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__id{margin-bottom:7px!important}
  .single-property .bp-recommended-property-card .bp-property-card-v2__meta{padding-top:8px!important}
}

/* V41 – visual refinement from responsive QA screenshots.
   Keep the recommendation block aligned with the share controls, restore a
   calmer text rhythm, remove inherited card/row height, and force the camera
   counter (icon + number) to white. */
.single-property .bp-recommended-property-row,
.single-property .bp-recommended-property-card{
  min-height:0!important;
  height:auto!important;
}
.single-property .bp-recommended-property-card{
  margin-bottom:28px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__title{
  margin-bottom:10px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__price{
  margin-bottom:5px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__id{
  margin-bottom:10px!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__meta{
  padding-top:10px!important;
}
.single-property .bp-recommended-property-card .bp-card-gallery__total,
.single-property .bp-recommended-property-card .bp-card-gallery__total *,
.single-property .bp-recommended-property-card .bp-card-gallery__total span,
.single-property .bp-recommended-property-card .bp-card-gallery__total b{
  color:#fff!important;
}
.single-property .bp-recommended-property-card .bp-card-gallery__total svg,
.single-property .bp-recommended-property-card .bp-card-gallery__total svg *{
  stroke:#fff!important;
  color:#fff!important;
}

/* Wide desktop already matches the share-content edge in V40. */
@media (min-width:1200px){
  .single-property .listing-layout.property-grid .list-container>h2{
    margin-bottom:22px!important;
  }
  .single-property .bp-recommended-property-card{
    margin-bottom:30px!important;
  }
}

/* Tablet / narrow desktop: share buttons sit visibly farther in than the
   recommendation panel itself. Use the same visual gutter. */
@media (min-width:601px) and (max-width:1199px){
  .single-property .listing-layout.property-grid .list-container{
    padding-left:44px!important;
    padding-right:22px!important;
  }
  .single-property .listing-layout.property-grid .list-container>h2{
    margin-bottom:16px!important;
  }
  .single-property .bp-recommended-property-card .bp-property-card-v2__content{
    padding:12px 0 14px!important;
  }
}

/* Phone: match the ~20px inner gutter used by the sharing buttons above. */
@media (max-width:600px){
  .single-property .listing-layout.property-grid .list-container{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .single-property .listing-layout.property-grid .list-container>h2{
    margin-bottom:16px!important;
  }
  .single-property .bp-recommended-property-card{
    margin-bottom:24px!important;
  }
  .single-property .bp-recommended-property-card .bp-property-card-v2__content{
    padding:12px 0 14px!important;
  }
}

/* V42 – narrow-desktop one-column alignment.
   In the desktop layout after the recommendation switches from two columns
   to one column, move the recommendation content one additional gutter step
   inward so its left edge follows the share-button content line above. */
@media (min-width:769px) and (max-width:1199px){
  .single-property .listing-layout.property-grid .list-container{
    padding-left:55px!important;
    padding-right:22px!important;
  }
}

/* V43 – favorite tooltip must always sit above the recommendation card/media. */
.single-property .bp-recommended-property-card,
.single-property .bp-recommended-property-card .bp-property-card-v2__media,
.single-property .bp-recommended-property-card .bp-property-card-v2__media .add-to-fav,
.single-property .bp-recommended-property-card .add-to-favorite-form{
  overflow:visible!important;
}
.single-property .bp-recommended-property-card .bp-property-card-v2__media .add-to-fav{
  z-index:2147483000!important;
}
.single-property .bp-recommended-property-card .bp-tooltip{
  z-index:2147483647!important;
}

/* V44 – phone alignment: apply the gutter directly to the heading and
   recommendation rows so the image/card cannot sit flush against the panel edge. */
@media (max-width:600px){
  .single-property .listing-layout.property-grid .list-container{
    padding-left:0!important;
    padding-right:0!important;
  }
  .single-property .listing-layout.property-grid .list-container>h2,
  .single-property .bp-recommended-property-row{
    width:calc(100% - 40px)!important;
    margin-left:20px!important;
    margin-right:20px!important;
  }
}


/* V45 – small/tablet-preview transition: the recommendation panel has a
   different outer gutter than the share block. Keep the existing right edge,
   but move heading + rows another 20px inward on the left so both start on
   the same visual line as the share buttons. */
@media (max-width:600px){
  .single-property .listing-layout.property-grid .list-container>h2,
  .single-property .bp-recommended-property-row{
    width:calc(100% - 40px)!important;
    margin-left:20px!important;
    margin-right:20px!important;
  }
}

/* V57 – small smartphone: symmetric 20px outer gutter.
   Keep all V47 card/layout rules unchanged; only correct the asymmetric 40/20 offset. */

/* V46 – Last Viewed uses the approved Recommended Property card system.
   Only the section geometry is defined here; the cards themselves share the
   exact same markup/classes/rules as the recommendation cards below. */
.single-property .bp-last-viewed-properties{
  display:none;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 34px!important;
  padding:0 22px 0 44px!important;
  background:#fff!important;
}
.single-property .bp-last-viewed-properties.bp-last-viewed-has-items{
  display:block;
}
.single-property .bp-last-viewed-title{
  margin:0 0 22px!important;
  padding:0!important;
  font-size:20px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:#394041!important;
}
.single-property .bp-last-viewed-grid{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.single-property .bp-last-viewed-grid .bp-recommended-property-row:last-child .bp-recommended-property-card{
  margin-bottom:0!important;
}

/* Same alignment breakpoint as the recommendation block. */
@media (min-width:1200px){
  .single-property .bp-last-viewed-properties{
    padding-left:22px!important;
    padding-right:22px!important;
  }
}
@media (min-width:769px) and (max-width:1199px){
  .single-property .bp-last-viewed-properties{
    padding-left:55px!important;
    padding-right:22px!important;
  }
  .single-property .bp-last-viewed-title{margin-bottom:16px!important}
}
@media (min-width:601px) and (max-width:768px){
  .single-property .bp-last-viewed-properties{
    padding-left:44px!important;
    padding-right:22px!important;
  }
  .single-property .bp-last-viewed-title{margin-bottom:16px!important}
}
@media (max-width:600px){
  .single-property .bp-last-viewed-properties{
    padding-left:20px!important;
    padding-right:20px!important;
    margin-bottom:28px!important;
  }
  .single-property .bp-last-viewed-title{
    margin-bottom:16px!important;
    font-size:19px!important;
  }
}

/* V60 – phone geometry: preserve the already-correct right edge.
   Recommendations return to the proven V44/V45 geometry: the outer list
   container has no phone padding; heading and each row use equal 20px
   left/right margins. This makes the left gap exactly the same as the right. */
@media (max-width:600px){
  .single-property .listing-layout.property-grid .list-container{
    box-sizing:border-box!important;
    width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .single-property .listing-layout.property-grid .list-container>h2,
  .single-property .listing-layout.property-grid .list-container>.bp-recommended-property-row{
    box-sizing:border-box!important;
    width:calc(100% - 40px)!important;
    margin-left:20px!important;
    margin-right:20px!important;
  }
  .single-property .bp-last-viewed-properties{
    box-sizing:border-box!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
}

/* V61 – Property Detail rails are the reference geometry.
   JS measures #overview (slider/map/video/detail area) and places both
   Recommendations and Last Views on those exact rendered left/right edges.
   This fallback also removes the old fixed 20px phone guess. */
@media (max-width:600px){
  .single-property .listing-layout.property-grid .list-container>h2,
  .single-property .listing-layout.property-grid .list-container>.bp-recommended-property-row{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .single-property .bp-last-viewed-properties{
    padding-left:0!important;
    padding-right:0!important;
  }
}


/* V68 — <=600px: Last Views uses exactly the same mobile rails as Recommendations */
@media (max-width: 600px) {
  .single-property .bp-last-viewed-container {
    box-sizing: border-box !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .single-property .bp-last-viewed-title,
  .single-property .bp-last-viewed-grid,
  .single-property .bp-last-viewed-grid > .bp-recommended-property-row {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
}

