@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] {scroll-padding-top:100px!important;}
  html[data-rx-bento] :is(section,h2,h3)[id] {scroll-margin-top:100px!important;}
  html[data-rx-bento] .rx-header {overflow:visible!important;transform:none!important;filter:none!important;backdrop-filter:none!important;contain:none!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-height:76px!important;padding:12px 16px!important;overflow:visible!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header > div:first-child {flex:1 1 auto!important;min-width:0!important;max-width:130px!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header .custom-logo {width:clamp(96px,24vw,130px)!important;max-width:100%!important;height:auto!important;}
  html[data-rx-bento] .rb-mobile-header .rx-hdr-tag {display:none!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right {display:flex!important;width:auto!important;flex:0 0 auto!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right > .rx-hdr-cta {min-height:48px!important;min-width:88px!important;padding:12px!important;font-size:0!important;line-height:1!important;flex:0 0 auto!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right > .rx-hdr-cta::after {content:'Расчёт';font:600 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-header > rx-megamenu {display:block!important;flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:48px!important;position:static!important;}
  html[data-rx-bento] .rb-mobile-header nav.rxmm2 {position:static!important;width:48px!important;height:48px!important;--rxmm2-bar:48px!important;border:0!important;background:transparent!important;}
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-bar,.rxmm2-barin) {position:static!important;width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:0!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-tabs {display:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-all {width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;justify-content:center!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-all > span:last-child {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-panel,.rxmm2-veil) {position:fixed!important;top:var(--rb-header-bottom,76px)!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-panel {display:flex!important;flex-direction:column!important;border-radius:0!important;max-height:calc(100dvh - var(--rb-header-bottom,76px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-inner {height:auto!important;flex:1 0 280px!important;min-height:280px!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-rail {min-height:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmb-cta {flex:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmb-cta a {font-size:16px!important;min-height:48px!important;white-space:normal!important;}
  html[data-rx-bento] .rb-mobile-menu-tools {padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px))!important;flex:none!important;border-top:1px solid var(--rb-line)!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] .rb-mobile-menu-theme {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;font:400 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-menu-theme .rb-theme-toggle {width:48px!important;height:48px!important;margin:0!important;}
  html[data-rx-bento] .rb-mobile-menu-details > summary {min-height:48px!important;padding:12px 0!important;cursor:pointer!important;font:600 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-menu-details :is(.rx-desknav,.rx-desknav ul) {display:grid!important;gap:4px!important;padding:0!important;margin:0!important;}
  html[data-rx-bento] .rb-mobile-menu-details :is(a,.rx-hdr-tel,.rx-hdr-mail,.rx-hdr-price,.rx-hdr-contacts) {display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;padding:12px!important;margin:4px 0!important;gap:10px!important;font:400 16px/1.5 var(--rb-font)!important;color:var(--rb-ink)!important;background:var(--rb-soft)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;overflow-wrap:anywhere!important;white-space:normal!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-tel::before {display:none!important;content:none!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-price::after {content:'Калькулятор стоимости';font:inherit!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-contacts span {position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-side {display:grid!important;width:100%!important;padding:0!important;gap:4px!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-hot span {display:inline!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-tg b {display:inline!important;font:inherit!important;}
 }
}
@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-cat,.rxmm2-catn,.rxmm2-i,.rxmm2-it,.rxmm2-chip) {font-size:16px!important;line-height:1.5!important;min-height:48px!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-catn, html[data-rx-bento] .rb-mobile-header .rxmm2-it {min-height:0!important;}
 }
}
@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] body:not(.admin-bar) .rx-header {top:0!important;}
 }
}
