html,body,button,input,textarea,select{font-family:'TildaSans',Arial,sans-serif!important;}

/* RIKO 2026-10-02: let Tilda compensate the scrollbar until its native scroll lock is fully released, including the closing transition. */
html:has(body.t-body_popupshowed),
html:has(body[style*="padding-right"][style*="overflow: hidden"]){scrollbar-gutter:auto;}


/* RIKO 2026-10-06: mobile gallery focal position; keep photos 1-3 and desktop unchanged. */
@media (max-width:767px){
  #rec4096227001 .gallery button:nth-child(n+4) img{
    transform:none!important;
    transform-origin:center center!important;
    object-position:center center!important;
  }
}
/* RIKO 2026-10-06: visible telephone in the compact header. */
@media (max-width:1100px){
  .rv-header .rv-contacts{display:flex!important;}
  .rv-header .rv-contacts a[href^="mailto:"]{display:none;}
}
@media (max-width:767px){
  .rv-header,.rv-header-space{height:96px!important;}
  .rv-header .rv-header-inner{height:70px!important;}
  .rv-header .rv-contacts{
    position:absolute;left:28px;right:28px;bottom:2px;
    align-items:flex-start;font-size:15px;line-height:19px;
  }
  .rv-header .rv-contacts a[href^="tel:"]{display:inline-flex;align-items:center;min-height:28px;}
  .rv-header .rv-nav{top:96px!important;max-height:calc(100dvh - 96px)!important;}
  html{scroll-padding-top:108px;}
}
@media (max-width:640px){
  .rv-header .rv-contacts{left:18px;right:18px;}
  .rv-header,.rv-header-space{height:88px!important;}
  .rv-header .rv-header-inner{height:62px!important;}
  .rv-header .rv-nav{top:88px!important;max-height:calc(100dvh - 88px)!important;}
  html{scroll-padding-top:100px;}
}
