/* Phương Hằng BĐS V5.5 — HEADER SIZE FIX */
body.ph39-site .ph39-header,
body.ph39-catalog .ph39-header,
body.ph44-detail .ph39-header{
  height:108px!important;
  min-height:108px!important;
  background:#fff!important;
}
body.ph39-site .ph39-nav,
body.ph39-catalog .ph39-nav,
body.ph44-detail .ph39-nav{
  min-height:108px!important;
  grid-template-columns:360px minmax(0,1fr) auto auto!important;
  gap:24px!important;
  align-items:center!important;
}
body.ph39-site .ph39-brand.ph51-brand,
body.ph39-catalog .ph39-brand.ph51-brand,
body.ph44-detail .ph39-brand.ph51-brand{
  min-width:340px!important;
  width:340px!important;
  height:88px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!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:330px!important;
  height:86px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:left center!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
body.ph39-site .ph39-menu,
body.ph39-catalog .ph39-menu,
body.ph44-detail .ph39-menu{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:30px!important;
}
body.ph39-site .ph39-menu a,
body.ph39-catalog .ph39-menu a,
body.ph44-detail .ph39-menu a{
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  color:#112d53!important;
  text-shadow:none!important;
  opacity:1!important;
  white-space:nowrap!important;
}
body.ph39-site .ph39-menu a.active,
body.ph39-catalog .ph39-menu a.active,
body.ph44-detail .ph39-menu a.active{
  color:#b77b00!important;
}
body.ph39-site .ph39-hotline,
body.ph39-catalog .ph39-hotline,
body.ph44-detail .ph39-hotline{
  min-height:58px!important;
  padding:10px 18px!important;
  border-radius:14px!important;
}
body.ph39-site .ph39-hotline span,
body.ph39-catalog .ph39-hotline span,
body.ph44-detail .ph39-hotline span{
  font-size:22px!important;
}
body.ph39-site .ph39-hotline small,
body.ph39-catalog .ph39-hotline small,
body.ph44-detail .ph39-hotline small{
  font-size:11px!important;
  font-weight:800!important;
}
body.ph39-site .ph39-hotline b,
body.ph39-catalog .ph39-hotline b,
body.ph44-detail .ph39-hotline b{
  font-size:17px!important;
  font-weight:950!important;
}
body.ph39-site .ph40-admin-entry,
body.ph39-catalog .ph40-admin-entry,
body.ph44-detail .ph40-admin-entry{
  min-height:54px!important;
  padding:0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:16px!important;
  font-weight:950!important;
  border-radius:14px!important;
}

/* Increase remaining important header/hero text */
body.ph39-site .ph53-hero-brand{font-size:22px!important;font-weight:950!important}
body.ph39-site .ph39-kicker{font-size:19px!important;font-weight:950!important}
body.ph39-site .ph46-home-hero-title span{font-size:76px!important;font-weight:950!important}
body.ph39-site .ph46-home-hero-title strong{font-size:64px!important;font-weight:950!important}
body.ph39-site .ph39-subtitle{font-size:20px!important;font-weight:800!important}
body.ph39-site .ph46-hero-metrics b{font-size:22px!important;font-weight:950!important}
body.ph39-site .ph46-hero-metrics span{font-size:14px!important;font-weight:700!important}

@media(max-width:1250px){
  body.ph39-site .ph39-nav,
  body.ph39-catalog .ph39-nav,
  body.ph44-detail .ph39-nav{grid-template-columns:315px minmax(0,1fr) auto auto!important;gap:16px!important}
  body.ph39-site .ph39-brand.ph51-brand,
  body.ph39-catalog .ph39-brand.ph51-brand,
  body.ph44-detail .ph39-brand.ph51-brand{min-width:300px!important;width:300px!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:295px!important;height:80px!important}
  body.ph39-site .ph39-menu,
  body.ph39-catalog .ph39-menu,
  body.ph44-detail .ph39-menu{gap:20px!important}
  body.ph39-site .ph39-menu a,
  body.ph39-catalog .ph39-menu a,
  body.ph44-detail .ph39-menu a{font-size:15px!important}
}
@media(max-width:980px){
  body.ph39-site .ph39-header,
  body.ph39-catalog .ph39-header,
  body.ph44-detail .ph39-header{height:88px!important;min-height:88px!important}
  body.ph39-site .ph39-nav,
  body.ph39-catalog .ph39-nav,
  body.ph44-detail .ph39-nav{min-height:88px!important;grid-template-columns:1fr auto auto!important}
  body.ph39-site .ph39-brand.ph51-brand,
  body.ph39-catalog .ph39-brand.ph51-brand,
  body.ph44-detail .ph39-brand.ph51-brand{min-width:230px!important;width:230px!important;height:70px!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:225px!important;height:68px!important}
}

/* V5.7 — logo + dấu tiếng Việt + canh giữa + promo compact fix */
body.ph39-site .ph39-header,
body.ph39-catalog .ph39-header,
body.ph44-detail .ph39-header{
  height:112px!important;
  min-height:112px!important;
}
body.ph39-site .ph39-nav,
body.ph39-catalog .ph39-nav,
body.ph44-detail .ph39-nav{
  min-height:112px!important;
  grid-template-columns:390px minmax(0,1fr) auto auto!important;
  gap:26px!important;
}
body.ph39-site .ph39-brand.ph51-brand,
body.ph39-catalog .ph39-brand.ph51-brand,
body.ph44-detail .ph39-brand.ph51-brand{
  min-width:375px!important;
  width:375px!important;
  height:96px!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:360px!important;
  height:92px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
body.ph39-site .ph39-menu,
body.ph39-catalog .ph39-menu,
body.ph44-detail .ph39-menu{
  justify-content:center!important;
  gap:26px!important;
  padding-right:10px!important;
  margin-right:8px!important;
}
body.ph39-site .ph39-menu a,
body.ph39-catalog .ph39-menu a,
body.ph44-detail .ph39-menu a{
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.ph39-site .ph39-menu a.active,
body.ph39-catalog .ph39-menu a.active,
body.ph44-detail .ph39-menu a.active{
  text-decoration:none!important;
  box-shadow:inset 0 -3px 0 #cf9b1b!important;
  padding-bottom:8px!important;
}
body.ph39-site .ph39-hotline,
body.ph39-catalog .ph39-hotline,
body.ph44-detail .ph39-hotline{
  margin-left:12px!important;
}

body.ph39-site .ph39-hero-center{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
body.ph39-site .ph39-hero-center > *{width:100%!important;text-align:center!important}
body.ph39-site .ph53-hero-brand{
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  margin:0 auto 10px!important;
}
body.ph39-site .ph39-kicker{
  font-size:20px!important;
  line-height:1.18!important;
  margin:0 auto 10px!important;
}
body.ph39-site .ph46-home-hero-title{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:4px!important;
  margin:0 auto 12px!important;
}
body.ph39-site .ph46-home-hero-title span,
body.ph39-site .ph46-home-hero-title strong{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  line-height:1.02!important;
}
body.ph39-site .ph39-subtitle{
  font-size:21px!important;
  line-height:1.28!important;
  text-align:center!important;
  margin:0 auto 20px!important;
}
body.ph39-site .ph46-hero-metrics{justify-content:center!important; width:100%!important}

body.ph39-site .ph47-promo-card,
body.ph39-site .ph47-promo-card.sale,
body.ph39-site .ph47-promo-card.rent{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  padding:18px 18px 16px!important;
  overflow:hidden!important;
}
body.ph39-site .ph47-promo-card > div{display:block!important}
body.ph39-site .ph47-promo-card h3{
  font-size:22px!important;
  line-height:1.18!important;
  font-weight:950!important;
  letter-spacing:0!important;
  max-width:100%!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding-top:2px!important;
  overflow:visible!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-wrap:balance!important;
}
body.ph39-site .ph47-promo-list{
  display:grid!important;
  gap:10px!important;
  margin:0 0 12px!important;
}
body.ph39-site .ph47-promo-item{
  grid-template-columns:36px 1fr!important;
  gap:10px!important;
  align-items:center!important;
}
body.ph39-site .ph47-promo-item i{
  width:36px!important;
  height:36px!important;
  font-size:16px!important;
}
body.ph39-site .ph47-promo-item div{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
body.ph39-site .ph47-promo-item b{
  font-size:13.5px!important;
  line-height:1.26!important;
  font-weight:950!important;
}
body.ph39-site .ph47-promo-item span{
  font-size:11.5px!important;
  line-height:1.24!important;
  font-weight:700!important;
}
body.ph39-site .ph47-promo-card .cta{
  align-self:flex-start!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:950!important;
  padding:11px 14px!important;
  white-space:nowrap!important;
}

@media (max-width:1250px){
  body.ph39-site .ph39-nav,
  body.ph39-catalog .ph39-nav,
  body.ph44-detail .ph39-nav{grid-template-columns:340px minmax(0,1fr) auto auto!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{min-width:320px!important;width:320px!important;height:86px!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:310px!important;height:80px!important}
  body.ph39-site .ph39-menu a,
  body.ph39-catalog .ph39-menu a,
  body.ph44-detail .ph39-menu a{font-size:16px!important}
}
@media (max-width:980px){
  body.ph39-site .ph39-header,
  body.ph39-catalog .ph39-header,
  body.ph44-detail .ph39-header{height:92px!important;min-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:1fr auto auto!important}
  body.ph39-site .ph39-brand.ph51-brand,
  body.ph39-catalog .ph39-brand.ph51-brand,
  body.ph44-detail .ph39-brand.ph51-brand{min-width:250px!important;width:250px!important;height:72px!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:242px!important;height:68px!important}
  body.ph39-site .ph39-menu a,
  body.ph39-catalog .ph39-menu a,
  body.ph44-detail .ph39-menu a{font-size:15px!important}
  body.ph39-site .ph53-hero-brand{font-size:20px!important}
  body.ph39-site .ph39-kicker{font-size:17px!important}
  body.ph39-site .ph39-subtitle{font-size:17px!important}
}
@media (max-width:620px){
  body.ph39-site .ph39-brand.ph51-brand,
  body.ph39-catalog .ph39-brand.ph51-brand,
  body.ph44-detail .ph39-brand.ph51-brand{min-width:220px!important;width:220px!important;height:64px!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:215px!important;height:60px!important}
  body.ph39-site .ph53-hero-brand{font-size:18px!important;line-height:1.18!important}
  body.ph39-site .ph39-kicker{font-size:15px!important}
  body.ph39-site .ph39-subtitle{font-size:14px!important}
  body.ph39-site .ph47-promo-card h3{font-size:18px!important;line-height:1.2!important;margin-bottom:10px!important}
  body.ph39-site .ph47-promo-item b{font-size:12px!important}
  body.ph39-site .ph47-promo-item span{font-size:10.5px!important}
  body.ph39-site .ph47-promo-card .cta{font-size:12px!important;white-space:normal!important}
}
