/* Адаптация мобильной версии РКС. Большие экраны не затрагиваются. */
.rks-mega-picker{display:none}
@media(max-width:900px){
  .rks-mega-new.is-ready .rks-mega-nav{display:none}
  .rks-mega-new.is-ready .rks-mega-picker{display:flex;flex-direction:column;gap:7px;margin:10px 0 0;color:#57748e;font-size:12px;font-weight:700}
  .rks-mega-picker select{width:100%;min-width:0;min-height:46px;padding:10px 34px 10px 12px;border:1px solid #cbdfea;border-radius:8px;background:#f5f9fc;color:#15366f;font:600 16px/1.3 Arial,sans-serif}
  .rks-nav.is-open{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .rks-nav-menu>.rks-mega-new{min-width:0}
  .rks-mega-panel-header{gap:12px}
  .rks-mega-new .rks-mega-img{flex-shrink:0}
}
@media(max-width:767px){
  .rks-main,.rks-home,.rks-main.container,.rks-info-layout,.rks-page-content,.rks-article-content,.rks-product-page,.rks-product-tab-content{min-width:0;max-width:100%}
  .rks-main h1,.rks-main h2,.rks-main h3,.rks-main h4{overflow-wrap:anywhere;hyphens:auto}
  .rks-home h1,.rks-screw h1,.rks-brands-page h1{font-size:clamp(28px,9vw,38px);line-height:1.08}
  .rks-info-hero>div{min-width:0;max-width:100%}
  .rks-home .rks-equip-grid,.rks-brands-page .rks-brands-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rks-equip,.rks-brand-card,.rks-category-card,.rks-editorial>div{min-width:0}
  .rks-equip strong{display:block;overflow-wrap:anywhere;hyphens:auto}
  .rks-equip strong i{float:right;margin-left:5px}
  .rks-brands-page .rks-brand-card .rks-button{min-width:0;max-width:100%;white-space:normal;line-height:1.25}
  .rks-category-copy strong{overflow-wrap:anywhere;hyphens:auto}
  .rks-screw-tabs a{min-width:0;flex:1 1 0;font-size:clamp(12px,4vw,18px);gap:6px;white-space:normal}
  .rks-screw-tabs a i{font-size:16px;flex:none}
  .rks-editorial{grid-template-columns:minmax(0,40%) minmax(0,1fr)}
  .rks-editorial h3{font-size:19px;line-height:1.13;overflow-wrap:anywhere}
  .rks-page-content figure,.rks-rich-content figure,.rks-article-content figure,.rks-blog-excerpt figure{max-width:100%;width:auto!important}
  .rks-page-content figure[style*="float"],.rks-article-content figure[style*="float"]{float:none!important;margin:16px 0!important}
  .rks-page-content img,.rks-rich-content img,.rks-article-content img,.rks-blog-excerpt img,.rks-product-tab-content img{max-width:100%!important;height:auto!important}
  .rks-blog-excerpt figure{margin:12px 0}
  .rks-page-content table,.rks-article-content table,.rks-product-tab-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .rks-request-fields input,.rks-request-fields textarea,.rks-estimate-contact input:not([type="checkbox"]),.rks-estimate-contact textarea,.rks-search input{font-size:16px}
  .rks-product-tabs{gap:0}.rks-product-tabs .nav-link{font-size:14px;padding:12px 10px}
}
@media(max-width:360px){
  .rks-home .rks-editorial{grid-template-columns:1fr;gap:12px}
  .rks-home .rks-editorial img{height:160px}
  .rks-home .rks-editorial h3{font-size:19px}
  .rks-hero-copy h1{font-size:29px}
  .rks-equip{padding-left:11px;padding-right:11px}
  .rks-brand-card{padding:9px}
}
@media(max-width:767px){
  .rks-main h1,.rks-main h2,.rks-main h3,.rks-main h4{overflow-wrap:break-word;hyphens:manual}
  .rks-drive-card,.rks-series-row{grid-template-columns:minmax(0,1fr)}
  .rks-drive-card>div,.rks-series-row>div{min-width:0}
  .rks-drive-card .rks-button{min-width:0;width:100%}
  .rks-mega-panel-header h3{overflow-wrap:break-word;hyphens:manual}
}
@media(max-width:360px){
  .rks-screw-tabs a{font-size:14px}
  .rks-screw-tabs a i{display:none}
  .rks-mega-new .rks-mega-img{flex-basis:64px;width:64px;height:64px}
  .rks-mega-panel-header h3{font-size:17px;line-height:1.2}
}
@media(max-width:767px){
  .rks-product-actions>input[type="submit"]{flex:1 1 auto;min-height:48px}
}
@media(max-width:767px){
  .rks-header .rks-search-disclosure{position:static}
  .rks-header .rks-search-disclosure[open] .rks-search{top:calc(100% - 4px);left:18px;right:18px;width:auto;max-width:none}
}
@media(max-width:767px){
  .rks-view-SitemapView .rks-main h1{font:800 30px/1.12 RksRaleway,Arial,sans-serif;color:#15366f}
  .rks-view-SitemapView .rks-main h2{margin:28px 0 12px!important;color:#15366f;font:800 21px/1.2 RksRaleway,Arial,sans-serif}
  .rks-view-SitemapView .rks-main ul{padding-left:20px}
  .rks-view-SitemapView .rks-main li{margin:8px 0;line-height:1.45;overflow-wrap:anywhere}
  .rks-view-SitemapView .rks-main a{color:#17386f}
}
@media(max-width:767px){
  .rks-filter-search input,.rks-filter-range input,.rks-product-summary select{font-size:16px}
}
