/* Urbiax P14 - mobile listing card contrast / premium polish.
   Visual-only layer. No layout logic, no PHP behaviour changes. */

@media (max-width: 680px){
  body.urbiax-modern-home-v1 #listingsGrid .card-shell{
    border-color:rgba(148,163,184,.32) !important;
    box-shadow:0 14px 30px rgba(15,23,42,.085), 0 2px 8px rgba(37,99,235,.045) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .card .body{
    color:#111827 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .listing-title{
    color:#0b1220 !important;
    font-weight:950 !important;
    text-shadow:0 1px 0 rgba(255,255,255,.72) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .listing-reviews-mini .stars,
  body.urbiax-modern-home-v1 #listingsGrid .listing-reviews-mini .stars.is-ghost{
    color:#f3bd2e !important;
    text-shadow:0 1px 0 rgba(255,255,255,.85), 0 1px 5px rgba(245,158,11,.20) !important;
    opacity:1 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .price,
  body.urbiax-modern-home-v1 #listingsGrid .price-deposit-row .price{
    color:#8f4b5a !important;
    font-weight:950 !important;
    text-shadow:0 1px 0 rgba(255,255,255,.72) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .deposit-chip{
    background:linear-gradient(180deg,#fff8ed,#ffe9ce) !important;
    border:1px solid rgba(205,132,53,.34) !important;
    color:#794116 !important;
    font-weight:950 !important;
    box-shadow:0 5px 14px rgba(180,103,34,.12) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .meta-row,
  body.urbiax-modern-home-v1 #listingsGrid .meta,
  body.urbiax-modern-home-v1 #listingsGrid .meta-pill{
    color:#4b5565 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .meta-loc-chip,
  body.urbiax-modern-home-v1 #listingsGrid .loc-city{
    color:#4a5568 !important;
    font-weight:850 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .loc-postcode{
    color:#2f3a4d !important;
    font-weight:950 !important;
    letter-spacing:.01em !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .loc-sep{
    color:#a0aec0 !important;
    padding:0 2px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .meta-added{
    color:#536174 !important;
    font-weight:950 !important;
    letter-spacing:-.01em !important;
    opacity:1 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .share-mini,
  body.urbiax-modern-home-v1 #listingsGrid .share-mini-label{
    color:#394457 !important;
    font-weight:950 !important;
    opacity:1 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .share-mini svg{
    color:#45536a !important;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.85)) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .modern-message-btn{
    background:linear-gradient(180deg,#ffffff,#f8fbff) !important;
    border:1px solid rgba(37,99,235,.28) !important;
    color:#2563d8 !important;
    box-shadow:0 8px 18px rgba(37,99,235,.08) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .modern-details-btn{
    background:linear-gradient(135deg,#2f8cff,#16a8f5) !important;
    border:1px solid rgba(14,116,220,.22) !important;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(37,99,235,.22) !important;
    text-shadow:0 1px 0 rgba(0,0,0,.13) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid .photo-count{
    background:rgba(15,23,42,.86) !important;
    color:#fff !important;
    box-shadow:0 8px 20px rgba(15,23,42,.22) !important;
  }
}

@media (max-width: 680px){
  body.urbiax-modern-home-v1 #listingsGrid.view-list .card-shell{
    background:linear-gradient(135deg,rgba(255,255,255,.99),rgba(249,252,255,.985)) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .card-shell .card .body{
    padding:10px 11px 5px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .listing-title{
    font-size:17.3px !important;
    line-height:1.06 !important;
    margin-bottom:5px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .listing-reviews-mini{
    transform:scale(.86) !important;
    transform-origin:left center !important;
    margin-top:1px !important;
    margin-bottom:2px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .price-deposit-row{
    margin-top:5px !important;
    margin-bottom:3px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-list .price{
    font-size:16.6px !important;
    line-height:1.03 !important;
    letter-spacing:-.035em !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .deposit-chip{
    min-height:24px !important;
    padding:0 7px !important;
    font-size:10.4px !important;
    max-width:94px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .meta-row{
    margin-top:7px !important;
    align-items:center !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .meta-pill{
    font-size:11px !important;
    line-height:1.15 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .meta-loc-chip{
    font-size:12.2px !important;
    line-height:1.18 !important;
    max-width:100% !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .meta-added{
    min-height:21px !important;
    padding:0 6px !important;
    font-size:11.2px !important;
    line-height:21px !important;
    border-radius:10px !important;
    background:rgba(248,250,252,.86) !important;
    border:1px solid rgba(148,163,184,.24) !important;
    white-space:nowrap !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .share-mini{
    gap:4px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .share-mini-label{
    font-size:11.2px !important;
    line-height:1.1 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .modern-card-actions a{
    min-height:35px !important;
    border-radius:13px !important;
    font-size:12.2px !important;
    font-weight:950 !important;
  }
}

@media (max-width: 390px){
  body.urbiax-modern-home-v1 #listingsGrid.view-list .listing-title{
    font-size:16.4px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-list .price{
    font-size:15.8px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .meta-added{
    font-size:10.8px !important;
    padding:0 5px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-list .share-mini-label{
    font-size:10.8px !important;
  }
}

@media (max-width: 680px){
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-added{
    font-size:13.4px !important;
    font-weight:900 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-added{
    color:#536174 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions a{
    font-weight:950 !important;
  }
}

body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .card-shell{
  border-color:rgba(148,163,184,.22) !important;
}
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .listing-title{
  color:#f8fbff !important;
  text-shadow:none !important;
}
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .meta-row,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .meta,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .meta-pill,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .meta-loc-chip,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .loc-city,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .loc-postcode,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .share-mini,
body.urbiax-modern-home-v1.ubx-theme-dark #listingsGrid .share-mini-label{
  color:#d7e1f3 !important;
}
