/* Phương Hằng BĐS V5.3 — logo/header refinement + stronger promo block + larger image cards */

/* =========================
   Header + official logo
   ========================= */
body.ph39-site .ph39-header,
body.ph39-catalog .ph39-header,
body.ph44-detail .ph39-header{
  height:92px!important;
}
body.ph39-site .ph39-nav,
body.ph39-catalog .ph39-nav,
body.ph44-detail .ph39-nav{
  min-height:92px!important;
  grid-template-columns:290px minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:18px!important;
}
body.ph39-site .ph39-brand.ph51-brand,
body.ph39-catalog .ph39-brand.ph51-brand,
body.ph44-detail .ph39-brand.ph51-brand{
  height:auto!important;
  min-width:0!important;
  overflow:visible!important;
  display:flex!important;
  align-items:center!important;
}
body.ph39-site .ph39-brand.ph51-brand img,
body.ph39-catalog .ph39-brand.ph51-brand img,
body.ph44-detail .ph39-brand.ph51-brand img{
  width:255px!important;
  height:auto!important;
  max-height:66px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))!important;
}
body.ph39-site .ph39-menu,
body.ph39-catalog .ph39-menu,
body.ph44-detail .ph39-menu{
  gap:22px!important;
}
body.ph39-site .ph39-menu a,
body.ph39-catalog .ph39-menu a,
body.ph44-detail .ph39-menu a{
  font-size:14px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* =========================
   Hero title cleanup
   ========================= */
body.ph39-site .ph46-home-hero-title{
  max-width:700px!important;
  line-height:1.01!important;
}
body.ph39-site .ph46-home-hero-title span{
  font-size:70px!important;
  font-weight:950!important;
}
body.ph39-site .ph46-home-hero-title strong{
  display:block!important;
  margin-top:2px!important;
  font-size:58px!important;
  font-weight:950!important;
}

/* =========================
   Promo card copy stronger
   ========================= */
body.ph39-site .ph47-promo-card{
  padding:18px 18px 16px!important;
}
body.ph39-site .ph47-promo-card h3{
  font-size:28px!important;
  font-weight:950!important;
  line-height:1.02!important;
  letter-spacing:-.2px!important;
  max-width:172px!important;
  margin-bottom:12px!important;
}
body.ph39-site .ph47-promo-list{
  gap:10px!important;
  margin:10px 0 12px!important;
}
body.ph39-site .ph47-promo-item{
  grid-template-columns:34px 1fr!important;
  gap:10px!important;
}
body.ph39-site .ph47-promo-item i{
  width:34px!important;
  height:34px!important;
  font-size:16px!important;
}
body.ph39-site .ph47-promo-item b{
  font-size:15px!important;
  line-height:1.17!important;
  font-weight:950!important;
}
body.ph39-site .ph47-promo-item span{
  font-size:12px!important;
  line-height:1.22!important;
}
body.ph39-site .ph47-promo-card .cta{
  font-size:13.5px!important;
  font-weight:950!important;
  padding:11px 13px!important;
}

/* =========================
   Home cards: larger image, tighter body
   ========================= */
body.ph39-site .ph47-home-layout{
  grid-template-columns:228px minmax(0,1fr)!important;
}
body.ph39-site .ph47-promo-card,
body.ph39-site .ph47-grid-shell,
body.ph39-site .ph47-home-card{
  height:286px!important;
  min-height:286px!important;
  max-height:286px!important;
}
body.ph39-site .ph47-home-card{
  grid-template-rows:168px 118px!important;
}
body.ph39-site .ph47-home-card .image{
  height:168px!important;
  min-height:168px!important;
  max-height:168px!important;
}
body.ph39-site .ph47-home-card .body{
  height:118px!important;
  padding:9px 12px 10px!important;
}
body.ph39-site .ph47-home-card .price{
  font-size:17px!important;
  margin:0 0 4px!important;
}
body.ph39-site .ph47-home-card .price small{
  font-size:11px!important;
}
body.ph39-site .ph47-home-card h3{
  font-size:14px!important;
  font-weight:950!important;
  line-height:1.24!important;
  max-height:34px!important;
  margin:0 0 4px!important;
}
body.ph39-site .ph47-home-card .loc{
  margin:0 0 6px!important;
  font-size:11.8px!important;
  line-height:1.18!important;
}
body.ph39-site .ph47-home-card .meta{
  gap:9px!important;
  font-size:11.5px!important;
}

@media (max-width:1180px){
  body.ph39-site .ph39-nav,
  body.ph39-catalog .ph39-nav,
  body.ph44-detail .ph39-nav{grid-template-columns:250px minmax(0,1fr) auto auto!important;gap:14px!important}
  body.ph39-site .ph39-brand.ph51-brand img,
  body.ph39-catalog .ph39-brand.ph51-brand img,
  body.ph44-detail .ph39-brand.ph51-brand img{width:230px!important;max-height:60px!important}
  body.ph39-site .ph39-menu,
  body.ph39-catalog .ph39-menu,
  body.ph44-detail .ph39-menu{gap:16px!important}
  body.ph39-site .ph39-menu a,
  body.ph39-catalog .ph39-menu a,
  body.ph44-detail .ph39-menu a{font-size:13px!important}
}

@media (max-width:900px){
  body.ph39-site .ph39-header,
  body.ph39-catalog .ph39-header,
  body.ph44-detail .ph39-header{height:80px!important}
  body.ph39-site .ph39-nav,
  body.ph39-catalog .ph39-nav,
  body.ph44-detail .ph39-nav{min-height:80px!important;grid-template-columns:1fr auto auto!important}
  body.ph39-site .ph39-brand.ph51-brand img,
  body.ph39-catalog .ph39-brand.ph51-brand img,
  body.ph44-detail .ph39-brand.ph51-brand img{width:195px!important;max-height:52px!important}
  body.ph39-site .ph46-home-hero-title span{font-size:54px!important}
  body.ph39-site .ph46-home-hero-title strong{font-size:44px!important}
  body.ph39-site .ph47-home-layout{grid-template-columns:1fr!important}
  body.ph39-site .ph47-promo-card{height:auto!important;min-height:250px!important;max-height:none!important}
}

@media (max-width:620px){
  body.ph39-site .ph39-brand.ph51-brand img,
  body.ph39-catalog .ph39-brand.ph51-brand img,
  body.ph44-detail .ph39-brand.ph51-brand img{width:170px!important;max-height:46px!important}
  body.ph39-site .ph46-home-hero-title span{font-size:44px!important}
  body.ph39-site .ph46-home-hero-title strong{font-size:35px!important}
  body.ph39-site .ph47-promo-card h3{font-size:24px!important;max-width:160px!important}
  body.ph39-site .ph47-home-card,
  body.ph39-site .ph47-grid-shell{height:298px!important;min-height:298px!important;max-height:298px!important}
  body.ph39-site .ph47-home-card{grid-template-rows:176px 122px!important}
  body.ph39-site .ph47-home-card .image{height:176px!important;min-height:176px!important;max-height:176px!important}
  body.ph39-site .ph47-home-card .body{height:122px!important}
}

/* =========================
   V5.4: centered hero title + gold brand + stronger promo column
   ========================= */
body.ph39-site .ph39-hero-center{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
}
body.ph39-site .ph53-hero-brand{
  margin:0 0 10px!important;
  font-size:20px!important;
  font-weight:950!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  background:linear-gradient(180deg,#fff3b0 0%,#ffd85f 26%,#e0b338 58%,#b67f0a 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
}
body.ph39-site .ph39-kicker{
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  margin:0 0 8px!important;
  text-align:center!important;
}
body.ph39-site .ph46-home-hero-title{
  max-width:900px!important;
  margin:0 auto 10px!important;
  text-align:center!important;
}
body.ph39-site .ph39-subtitle{
  max-width:760px!important;
  margin:0 auto 18px!important;
  text-align:center!important;
  font-size:18px!important;
  font-weight:700!important;
}
body.ph39-site .ph46-hero-metrics{
  justify-content:center!important;
  margin-inline:auto!important;
}

/* Promo column: bigger, bolder title and cleaner wrapping */
body.ph39-site .ph47-promo-card{
  overflow:hidden!important;
}
body.ph39-site .ph47-promo-card h3{
  font-size:28px!important;
  font-weight:950!important;
  line-height:1.08!important;
  max-width:none!important;
  width:100%!important;
  margin:0 0 12px!important;
  letter-spacing:0!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  text-wrap:balance!important;
}
body.ph39-site .ph47-promo-item b{
  font-size:15.5px!important;
  font-weight:950!important;
}
body.ph39-site .ph47-promo-item span{
  font-size:12.5px!important;
  font-weight:700!important;
}
body.ph39-site .ph47-promo-card .cta{
  font-size:14px!important;
  font-weight:950!important;
}

/* Keep cards compact but with fuller image and tighter text body */
body.ph39-site .ph47-home-card{
  height:284px!important;
  min-height:284px!important;
  max-height:284px!important;
  grid-template-rows:172px 112px!important;
}
body.ph39-site .ph47-home-card .image{
  height:172px!important;
  min-height:172px!important;
  max-height:172px!important;
}
body.ph39-site .ph47-home-card .body{
  height:112px!important;
  padding:10px 13px 10px!important;
}
body.ph39-site .ph47-home-card h3{
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.22!important;
}
body.ph39-site .ph47-home-card .loc{
  font-size:12px!important;
}

@media (max-width:900px){
  body.ph39-site .ph53-hero-brand{font-size:17px!important;letter-spacing:.12em!important}
  body.ph39-site .ph39-kicker{font-size:15px!important}
  body.ph39-site .ph39-subtitle{font-size:16px!important}
}

@media (max-width:620px){
  body.ph39-site .ph53-hero-brand{font-size:14px!important;letter-spacing:.08em!important;margin-bottom:6px!important}
  body.ph39-site .ph39-kicker{font-size:14px!important;margin-bottom:6px!important}
  body.ph39-site .ph39-subtitle{font-size:14px!important;margin-bottom:14px!important}
  body.ph39-site .ph47-promo-card h3{font-size:26px!important;line-height:1.1!important}
}
