/* Villarabet Next Phase 13.9.3 — Property Detail mobile regression hotfix.
   Scoped to .property-detail-page only. */
.property-detail-page{width:100%;min-width:0}
.property-detail-page .page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.property-detail-page .page-head h1{margin:0 0 4px;font-size:28px;line-height:1.5}
.property-detail-page .property-primary-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.property-detail-page .detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.property-detail-page .detail-grid>.card{min-width:0}
.property-detail-page .property-social-content{box-sizing:border-box;max-width:100%;overflow:hidden}
.property-detail-page .property-social-grid{min-width:0}
.property-detail-page .property-social-tile{display:block;min-width:0}
.property-detail-page .property-social-tile img,.property-detail-page .property-social-tile video{display:block;max-width:none}

@media(max-width:700px){
  .property-detail-page{font-size:15px;line-height:1.9;padding-bottom:18px}
  .property-detail-page .page-head{display:block;margin:2px 0 14px}
  .property-detail-page .page-head h1{font-size:23px;line-height:1.55;margin-bottom:4px}
  .property-detail-page .page-head .muted{font-size:12px;line-height:1.8}
  .property-detail-page .property-primary-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
  .property-detail-page .property-primary-actions .btn{display:block;width:100%;text-align:center;padding:11px 14px;font-size:14px}
  .property-detail-page .property-slider{margin:10px 0 18px}
  .property-detail-page .property-slider-thumbs{padding-top:7px}

  .property-detail-page .property-social-content{margin:16px 0!important;padding:14px!important;border-radius:18px!important}
  .property-detail-page .property-social-head{display:flex;align-items:flex-end!important;gap:8px;margin-bottom:10px}
  .property-detail-page .property-social-head>div{min-width:0;flex:1}
  .property-detail-page .property-social-head small{font-size:11px;line-height:1.6}
  .property-detail-page .property-social-head h2{font-size:17px!important;line-height:1.55;margin:2px 0 0!important}
  .property-detail-page .property-social-head>a{flex:0 0 auto;font-size:11px;white-space:nowrap}
  .property-detail-page .property-social-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .property-detail-page .property-social-tile,.property-detail-page .property-social-tile.is-reel{width:100%!important;aspect-ratio:1/1!important;border-radius:10px!important;overflow:hidden!important}
  .property-detail-page .property-social-tile img,.property-detail-page .property-social-tile video{width:100%!important;height:100%!important;object-fit:cover!important}
  .property-detail-page .property-social-badge{top:6px;right:6px;padding:3px 6px;font-size:9px}

  .property-detail-page .detail-grid{grid-template-columns:1fr!important;gap:0}
  .property-detail-page .card{padding:15px!important;margin-bottom:12px!important;border-radius:16px!important}
  .property-detail-page .card h2,.property-detail-page>section>h2{font-size:18px;line-height:1.6;margin:0 0 10px}
  .property-detail-page .card p{font-size:14px;line-height:1.9;margin:7px 0}
  .property-detail-page .amenity-grid{display:flex;flex-wrap:wrap;gap:7px}
  .property-detail-page .amenity-grid .tag{margin:0;min-width:0}
  .property-detail-page .metric{gap:10px;font-size:13px;line-height:1.8}
  .property-detail-page .availability-card{overflow:hidden}
  .property-detail-page .availability-grid{max-width:100%;min-width:0}
  .property-detail-page .property-section-head{display:block}
  .property-detail-page .property-map-external{display:inline-block;margin-top:8px}
}

@media(max-width:390px){
 .property-detail-page .property-social-head{align-items:flex-start!important;flex-direction:column}
 .property-detail-page .property-social-grid{gap:4px!important}
}
