
/* сердце рядом с заголовком — только на десктопе (на мобиле шаблон его прячет) */
.thb-fav-inline{position:static!important;width:44px;height:44px;border:1px solid #e6e3dc;box-shadow:none;background:#fff}
.thb-fav-inline svg{width:20px;height:20px}
/* плавающее сердце на мобиле — зеркально кнопке Back */
#thbFavFloat{position:fixed;top:88px;right:20px;z-index:60;display:none;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;box-sizing:border-box;background:rgba(255,255,255,.94);border:1px solid #e6e3dc;
  border-radius:999px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 4px 14px rgba(0,0,0,.10);
  cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#thbFavFloat svg{width:19px;height:19px;fill:none;stroke:#0a0a0a;stroke-width:2.1}
#thbFavFloat[aria-pressed="true"] svg{fill:#e11d48;stroke:#e11d48}
@media(max-width:1023px){#thbFavFloat{display:flex}}
@media(max-width:768px){#thbFavFloat{top:82px;right:14px;width:42px;height:42px}}
body.thb-menu-open #thbFavFloat{display:none!important}

/* очень узкие экраны (360px и меньше): шапка не влезала, бургер уезжал за край */
@media(max-width:399px){
  header a[href="/property-rental/"]{padding-left:11px!important;padding-right:11px!important;font-size:12.5px!important}
  header [data-hostpill]{padding:6px 12px!important;font-size:17px!important}
  header .relative.-mr-3{gap:4px!important}
  #thbBurger{width:40px!important;height:40px!important}
}
@media(max-width:339px){
  header .mx-auto.grid{padding-left:14px!important;padding-right:14px!important}
  header a[href="/property-rental/"]{padding-left:9px!important;padding-right:9px!important;font-size:11.5px!important}
  header [data-hostpill]{padding:6px 10px!important;font-size:16px!important}
}
/* в шапке: сердце со счётчиком с 640px, на узких — точка на бургере */
@media(max-width:639px){
  header [data-fav-link]{display:none!important}
  #thbBurger{position:relative}
  body.thb-has-saved #thbBurger::after{content:'';position:absolute;top:5px;right:5px;width:10px;height:10px;
    border-radius:50%;background:#e11d48;border:2px solid #fff}
}
