/* Mobile layout repairs: keep desktop layout and existing ordering behaviour. */
@media(max-width:1024px){
 .header,.header.fixed{position:sticky;top:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'logo contacts' 'menu menu';gap:8px 14px;padding:12px 20px;background:#111;transition:box-shadow .2s ease;z-index:1030}
 .header>.logo{grid-area:logo;min-width:0}.header .logo img{display:block;width:auto;height:54px;max-width:100%;margin:0;padding:0;object-fit:contain;object-position:left center}
 .header>.contacts{grid-area:contacts;min-width:0;margin:0;padding:0;gap:14px}.header>.menu{grid-area:menu;min-width:0;order:initial;flex:auto;padding:0}
 .header .menu__list{padding:0;gap:12px;justify-content:center;flex-wrap:wrap}.header .link-item{display:flex;align-items:center;min-height:40px}
 .header .phone>a{font-size:18px}.header .phone small{font-size:11px}.header .socials{display:flex;gap:6px;flex-shrink:0}.header .socials>a{display:grid;place-items:center;min-width:36px;min-height:36px;margin:0}
 .banner{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;height:auto;min-height:420px;padding:66px 24px;background-position:center;background-image:linear-gradient(#0005,#0005),url('../img/karusel-2-e1691658288571.jpg')}.banner h1{max-width:820px;line-height:1.15;margin:0}.banner>.descr{line-height:1.5;margin:0}.banner>.btn{margin:8px 0 0;max-width:100%}
 #catalog,.about,.form{scroll-margin-top:145px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog-item{width:auto;min-width:0;padding:10px}.catalog-item .catalog-image{flex:none;position:relative;aspect-ratio:4/5;width:100%;min-width:0;overflow:hidden}.catalog-item .catalog-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.catalog-item .item-block{display:flex;flex-direction:column;align-items:stretch;gap:10px;flex:1;margin-top:12px;min-width:0}.catalog-item .item-name{padding:0;min-width:0;flex:auto}.catalog-item .item-title{max-width:100%;overflow-wrap:anywhere;line-height:1.45}.catalog-item .item-buy{width:100%;margin:0;min-height:44px}.catalog-item .item-price{padding:8px 0 0}
 .about-text,.about-img,.form-grid,#mapexMap{min-width:0}.about-img img{max-width:100%;object-fit:cover}.footer-grid>div{min-width:0}.footer-bottom>div{max-width:100%;overflow-wrap:anywhere}
 #item-buy .modal-dialog{width:auto;max-width:500px;margin:12px auto;padding:0 12px}#item-buy .modal-content{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}#item-buy .modal-body{min-width:0;gap:16px;flex-wrap:nowrap;flex-direction:column}#item-buy .modal-body .item-buy-image{flex:none;width:100%;height:160px;margin:0;text-align:center}#item-buy .modal-body .item-buy-image img{width:100%;height:100%;object-fit:contain}#item-buy .modal-body .item-buy-form{flex:none;min-width:0;width:100%}#item-buy .modal-footer{gap:12px;align-items:stretch;flex-direction:column}#item-buy .modal-footer>*{margin:0}#item-buy .item-buy-send{width:100%;min-height:44px}#item-buy .modal-body{overflow-y:auto;overscroll-behavior:contain}.form-control{font-size:16px}
}
@media(max-width:600px){
 .header,.header.fixed{padding:10px 16px;gap:4px 10px}.header .logo img{height:44px;max-width:130px}.header>.contacts{flex-direction:column;align-items:flex-end;gap:2px}.header .phone>a{font-size:14px;white-space:nowrap}.header .phone small{display:none}.header .socials>a{min-height:32px;min-width:32px}.header .menu__list{justify-content:space-between;gap:6px}.header .link-item{font-size:13px;min-height:42px}.header .socials img{width:22px;height:22px}
 .banner{min-height:350px;padding:54px 20px;gap:16px}.banner h1{font-size:clamp(29px,7.8vw,40px);max-width:16ch}.banner>.descr{font-size:17px}.banner>.btn{font-size:16px;padding:13px 22px;min-height:48px}
 #catalog{padding:38px 16px}h2{font-size:27px;line-height:1.25;padding-bottom:22px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-item{padding:8px}.catalog-item .item-title{font-size:14px}.catalog-item .item-price{font-size:17px}.catalog-item .item-buy{padding:10px 8px;font-size:12px}
 section.about{padding:22px 16px 38px;gap:24px;font-size:16px}section.about p{font-size:16px}.tizers{padding-top:16px}.tizer-item{gap:14px;margin-bottom:20px}.tizer-item-name{font-size:20px;line-height:1.3}.tizer-item-descr{font-size:14px}.tizer-item-icon{flex:0 0 40px}.tizer-item-icon i{font-size:36px}.about-img img{height:220px;width:100%}
 section.form{padding:24px 16px 40px;gap:26px;flex-direction:column;align-items:stretch}.form-grid{padding:0;flex:none;width:100%}.form-grid h2{font-size:24px;text-align:left;overflow-wrap:break-word}#mapexMap{flex:none;width:100%;height:270px!important;padding:0!important;display:flex;flex-direction:column}.w0-map-placeholder{font-size:13px;line-height:1.5}#mapexMap iframe{min-height:0;flex:1;width:100%}.form-grid form{margin-inline:0;max-width:100%}.form-grid .form-check{padding-left:1.5em}.form-grid .footer-form-btn{width:100%;min-height:48px}.form-grid .form-control{min-height:46px}
 body>footer{padding:32px 16px}.footer-grid>div{padding:12px 0}.footer-grid .menu__list{flex-wrap:wrap;gap:12px 18px}.footer-socials{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}.footer-socials>span{flex-basis:100%}.footer-bottom>div{padding:8px 0}.w0-legal{overflow-wrap:anywhere}.w0-legal nav{line-height:1.9}
}
@media(max-width:359px){.catalog-grid{grid-template-columns:minmax(0,1fr)}.catalog-item .catalog-image{aspect-ratio:6/5}.catalog-item .item-title{font-size:17px}.header .logo img{max-width:110px}.header .phone>a{font-size:13px}}
@media(prefers-reduced-motion:reduce){.header,.header.fixed{transition:none}}
