/* BMW-E responsive components. No URL-specific rules or page overflow clipping. */
.bmwe-mobile-navigation{display:none}
.logotype .a55{white-space:nowrap}
.slider-text a{color:#b9e2ff;text-decoration:underline;text-underline-offset:3px}
.bmwe-header a.modal-btn{background:#fff;color:#173946!important;border:1px solid #fff;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.bmwe-header a.modal-btn:hover,.bmwe-header a.modal-btn:focus{background:#e8f2f7;border-color:#e8f2f7;color:#173946!important}
.bmwe-legacy-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:16px;margin:16px 0}
.bmwe-legacy-gallery a{display:block;min-width:0}
.bmwe-legacy-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.telo,.content_b{overflow:visible}
.container{max-width:100%}
main,article,.main-content,.comp,.content_b,[class*="col-"]{min-width:0}
main img,article img,.jbzoo img,.features-item img{max-width:100%;height:auto}
.features-item img{width:100%;max-width:150px}
h1,h2,h3,.title,.item-title,.breadcrumbs{overflow-wrap:anywhere}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #1878bd!important;outline-offset:3px}
.bmwe-table-scroll{max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:1rem 0}
.bmwe-table-scroll>table{margin:0;min-width:100%;width:auto;float:none}
.item-table{max-width:100%;overflow-x:auto!important}
.item-table table{min-width:580px;font-size:14px}
.item-table th,.item-table td{white-space:normal}
.item-table .checkbox-inline{min-width:44px;min-height:44px;display:inline-flex;align-items:center;padding-left:24px}
.item-table input[type=checkbox]{width:20px;height:20px}
.bmwe-table-scroll:focus-visible{outline-offset:-3px}
iframe[src*="youtube"],iframe[src*="youtu.be"],video{max-width:100%;aspect-ratio:16/9;height:auto}
.modal{overflow-y:auto!important;overscroll-behavior:contain}
.modal-dialog{max-width:calc(100% - 24px);margin:12px auto}
.modal-content{max-height:calc(100dvh - 24px);overflow-y:auto}
.modal .close{min-width:44px;min-height:44px}
.modal input:not([type=checkbox]):not([type=radio]),.modal textarea,.modal select{max-width:100%;font-size:16px;min-height:44px}
.bmwe-menu-close,.bmwe-submenu-toggle,.bmwe-section-toggle{font:inherit;cursor:pointer}
.bmwe-menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1040;border:0}
.bmwe-menu-backdrop[hidden],#js-bootstrap-offcanvas[hidden]{display:none!important}
#js-bootstrap-offcanvas{position:fixed;inset:0 auto 0 0;width:min(360px,92vw);max-width:none;height:100dvh;padding:12px;overflow:auto;background:#fff;color:#333;z-index:1050;transform:none;transition:none}
#js-bootstrap-offcanvas .bmwe-menu-close{display:block;margin:0 0 12px auto;min-height:44px;padding:8px 16px;background:#eee;border:1px solid #ccc;border-radius:4px}
#js-bootstrap-offcanvas .panel{border:0;margin:0;box-shadow:none}
#js-bootstrap-offcanvas .panel-body{padding:0}
#js-bootstrap-offcanvas .panel-collapse[hidden],#js-bootstrap-offcanvas ul[hidden]{display:none!important}
#js-bootstrap-offcanvas .bmwe-section-toggle{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;padding:12px;border:0;border-top:1px solid #ddd;text-align:left;background:#eee;font-weight:600}
#js-bootstrap-offcanvas li{position:relative;float:none;display:block;width:100%}
#js-bootstrap-offcanvas li>a,#js-bootstrap-offcanvas li>.separator{display:block;min-height:44px;padding:12px 50px 12px 12px;font-size:15px;white-space:normal;line-height:1.35;color:#333}
#js-bootstrap-offcanvas .separator img{display:none}
#js-bootstrap-offcanvas ul ul{padding-left:12px;position:static;width:auto;max-width:100%;float:none}
#js-bootstrap-offcanvas .bmwe-submenu-toggle{position:absolute;right:0;top:0;width:44px;height:44px;border:0;border-left:1px solid #ddd;background:#f4f4f4;color:#222;font-size:24px}
#js-bootstrap-offcanvas .mobile-icons{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1199px){
 .bmwe-desktop-navigation{display:none}
 .bmwe-mobile-navigation{display:block;background:#fff;color:#333;position:relative;z-index:20}
 .bmwe-mobile-navigation .header-box{position:static}
 .bmwe-mobile-navigation .header-box>.container>.row{display:flex;align-items:center;margin:0;justify-content:space-between}
 .bmwe-mobile-navigation .header-box>.container>.row>[class*=col-]{width:auto;padding:0;float:none}
 .bmwe-menu-toggle{display:flex!important;align-items:center;gap:8px;min-height:48px;margin:4px 0;padding:8px 4px}
 .bmwe-menu-toggle .btn-title{padding:0;font-size:14px;order:1}
 .bmwe-menu-toggle .icon-bar{background:#222;height:3px;width:24px;display:block;margin:4px 0}
 .bmwe-mobile-navigation .mobile-icons{display:flex;align-items:center;gap:4px;margin:0;max-width:none}
 .bmwe-mobile-navigation .soc-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;float:none;margin:0}
 .bmwe-mobile-navigation .mob-phone{width:auto;padding:0 8px;gap:4px}
 .bmwe-header .up_info,.bmwe-header .up_info.mainpage{position:relative;inset:auto;padding:16px 0;background:#173946;color:#fff}
 .bmwe-header .up_info .line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"brand brand" "service parts" "details details";gap:16px;align-items:center}
 .bmwe-header .up_info .line>[class*=col-]{display:block!important;width:auto;float:none;padding:0;margin:0}
 .bmwe-header .up_info .line>.bmwe-brand-col{grid-area:brand}
 .bmwe-header .up_info .line>.bmwe-service-col{grid-area:service}
 .bmwe-header .up_info .line>.bmwe-parts-col{grid-area:parts}
 .bmwe-header .up_info .line>.bmwe-details-col{grid-area:details}
 .bmwe-header .logotype{max-width:100%;width:320px;margin:0 auto;min-height:64px;padding:0 0 0 70px;background-position:left center;display:flex;flex-direction:column;justify-content:center}
 .bmwe-header .logotype .a25{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;column-gap:4px;line-height:1.2}
 .bmwe-header .top_contacts a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px;font-size:16px;white-space:nowrap}
 .bmwe-header .logotype,.bmwe-header .logotype:hover,.bmwe-header .top_contacts,.bmwe-header .top_contacts a,.bmwe-header .top_contacts .smallfont,.bmwe-header .top_adress{color:#fff}
 .bmwe-header .logotype .blind{color:#fff!important}
 .bmwe-header .top_contacts a.modal-btn{color:#333}
 .bmwe-header .top_contacts{padding:0;text-align:center}
 .bmwe-header .m_logo{padding:0}
 .bmwe-header .top_contacts p{margin:0}
 .bmwe-header .top_adress .m_adress>p{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
 .bmwe-header .top_adress .m_adress>p:first-child{flex-direction:column;justify-content:center;gap:4px;font-size:12px;line-height:1.5}
 .bmwe-header .top_adress .m_adress>p:last-child{justify-content:center;margin-top:10px}
 .slider{height:auto!important;max-height:none}
 .slider .slide-box img{height:auto;width:100%}
 .slider .slide-box:before,.slider-image:after{display:none}
 .slider-text{position:relative;inset:auto;width:100%;padding:16px;background:#333}
 .slider-text .h1{font-size:28px;line-height:1.2}
 .slider-text .h1+.h1{font-size:24px;line-height:1.25}
 .main-content{display:flex;flex-direction:column;gap:24px}
 .main-content>[class*=col-],.col-md-10.full.middle{width:100%;float:none}
 .comp{padding:0}
 .category .image-full,.raboty .image-full{margin-left:0;margin-right:0;max-width:100%}
 .mod-custom.custom>.well{margin-left:0!important;margin-right:0!important;padding:20px!important}
 .calc-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
 .calc-header:before,.calc-header:after{display:none}
 .calc-header .pull-left,.calc-header .pull-right{float:none!important}
 .bmw-calc-box>.row{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0}
 .bmw-calc-box>.row>[class*=col-],.bmw-calc-box>.row>[class*=col-]>.row>[class*=col-]{width:auto;float:none;padding:0;min-width:0}
 .bmw-calc-box>.row>[class*=col-]>.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:16px;margin:0}
 .bmw-calc-box #calc_btn{margin-top:0!important;display:inline-flex;align-items:center;justify-content:center;min-height:48px}
 .calc-header a,.bmw-calc-box button,.bmw-calc-box select{min-height:44px}
 .bmw-calc-box select,.chosen-container{max-width:100%;font-size:16px}
 .calc-range-slider{margin:24px 12px!important}
 .modal-dialog{width:600px}
 .foot_navi_area{overflow:visible}
 .m_footer_1 ul{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
 .m_footer_1 ul li{float:none}
 .m_footer_1 a{display:flex;align-items:center;min-height:44px;padding:8px 12px}
 .footer [class*=col-]{overflow-wrap:anywhere}
}
@media(min-width:768px) and (max-width:1199px){
 .bmwe-header .up_info .line{grid-template-columns:minmax(280px,1.4fr) repeat(2,minmax(150px,1fr));grid-template-areas:"brand service parts" "details details details"}
 .bmwe-header .logotype{width:100%;max-width:320px}
 .bmwe-header .a25{font-size:20px}
}
@media(max-width:599px){
 .container{padding-left:15px;padding-right:15px;width:100%}
 .bmwe-header .up_info .line{gap:14px 12px}
 .bmwe-header .up_info,.bmwe-header .up_info.mainpage{padding:10px 0}
 .bmwe-header .top_adress .m_adress>p:last-child{display:none}
 .bmwe-header .top_contacts .smallfont{font-size:10px}
 .bmwe-header .top_contacts a[href^="tel:"]{font-size:14px}
 h1,.h1{font-size:28px;line-height:1.2}
 h2,.h2{font-size:24px;line-height:1.25}
 h3,.h3{font-size:21px;line-height:1.3}
 .main-content,.our_works{margin-left:0;margin-right:0}
 .m_works,.m_news,.news_area{overflow:visible}
 .item-column,.raboty_item,.jbzoo .jbzoo-item{max-width:100%;min-width:0}
 .calc-header .head-text{width:100%;font-size:18px}
 .calc-header .nav{display:flex;flex-wrap:wrap}
 .calc-price-box{font-size:16px;line-height:1.6}
 .modal-dialog{width:auto}
 .modal-body{padding:16px}
 .modal input,.modal textarea{width:100%}
}
@media(min-width:1200px){
 .slider-text{inset:auto auto 24px 30px;width:min(640px,calc(100% - 60px));max-width:640px;min-height:0;padding:16px 20px;background:rgba(18,42,53,.94)}
 .slider-text p{margin:8px 0;line-height:1.4}
 .slider-text .h2{font-size:26px;line-height:1.25}
 .bmwe-desktop-navigation .m_menu>.nav{flex-wrap:wrap}
 .bmwe-desktop-navigation .m_menu ul li a{padding:10px 12px}
 .bmwe-desktop-navigation .m_models>ul{flex-wrap:wrap}
 .bmwe-desktop-navigation .m_models ul.level1{display:none;max-width:100%;left:0;right:0;opacity:1;max-height:calc(100dvh - 90px);overflow:auto}
 .bmwe-desktop-navigation .m_models .nav li:hover>ul.level1,.bmwe-desktop-navigation .m_models .nav li:focus-within>ul.level1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));top:40px;width:100%;padding:12px;background:#fff;border-bottom:3px solid #4e9fd8;z-index:9999}
 .bmwe-desktop-navigation .m_models .nav>li>ul.level1>li{width:auto;float:none;min-height:0;padding:12px;text-align:left}
 .bmwe-desktop-navigation .m_models .level1:before,.bmwe-desktop-navigation .m_models .level1:after{content:none}
 .bmwe-desktop-navigation .m_models .nav ul a{white-space:normal}
}
