/* Автолидер: доработки, 09.09.2026 */
body{overflow-x:hidden}
body.al-stuck .fsc_header__wrap{position:fixed;top:0;left:0;right:0;z-index:900;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.14)}
body.al-stuck .fsc_header__top{padding-top:6px!important;padding-bottom:6px!important}
body.al-stuck .fsc_header__top img{max-height:46px;width:auto}
.al-up{position:fixed;left:30px;bottom:20px;z-index:880;width:64px;height:64px;padding:0;border:0;border-radius:50%;cursor:pointer;background:#e6332a;color:#fff;font:400 27px/64px Arial,sans-serif;text-align:center;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.al-up.is-on{opacity:1;visibility:visible}
.al-up:hover{background:#c92c24}
.al-up:focus-visible{outline:2px solid #1b1b1b;outline-offset:2px}
body.al-stuck .fsc_header__top_r{display:flex;align-items:center;gap:10px;justify-content:flex-end}
body.al-stuck .fsc_header__top_r .header-top{display:block!important;margin:0!important;padding:0!important;flex:0 0 auto;order:-1}
body.al-stuck .fsc_header__top_r .shop2-elements{margin-right:0!important}
body.al-stuck .fsc_header__desc{display:none}
body.al-stuck .fsc_header__logo_name{display:flex;align-items:center;gap:10px}
body.al-stuck .fsc_header__name{font-size:20px;line-height:1.1}}
@media (prefers-reduced-motion:reduce){.al-up{transition:none}}

/* --- v6: собственный бургер в закреплённой шапке + одна карта на /nashi-magaziny --- */
.al-burger{display:none;position:relative;flex:0 0 auto;order:-1;width:36px;height:36px;padding:0;border:0;border-radius:50%;cursor:pointer;background:#e6332a}
.al-burger:hover{background:#c92c24}
.al-burger:focus-visible{outline:2px solid #1b1b1b;outline-offset:2px}
.al-burger::before{content:"";position:absolute;left:9px;right:9px;top:11px;height:2px;border-radius:1px;background:#fff;box-shadow:0 6px 0 #fff,0 12px 0 #fff}
body.al-stuck .fsc_header__top_r .al-burger.is-on{display:block}
.al-menu{position:fixed;z-index:960;display:none;min-width:230px;max-height:80vh;overflow:auto;padding:8px 0;background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.al-menu.is-open{display:block}
.al-menu a{display:block;padding:10px 20px;font:400 16px/1.25 inherit;color:#232323;text-decoration:none}
.al-menu a.lvl2{padding-left:38px;font-size:15px;color:#5a5a5a}
.al-menu a:hover,.al-menu a:focus{background:#f6f6f6;color:#e6332a}
.lpc-contact-7__maps-button,.lpc-contact-7__maps-container{display:none!important}

/* v7: у .menu-button width:80px — убираем 44px пустоты справа от значка */
body.al-stuck .fsc_header__top_r .header-top{display:flex!important;align-items:center;width:auto!important}
body.al-stuck .fsc_header__top_r .header-top .menu-button{width:auto!important;flex:0 0 auto;margin:0!important;padding:0!important}
body.al-stuck .fsc_header__top_r .header-top .shop2-elements,
body.al-stuck .fsc_header__top_r .header-top .shop2-search-toggle{display:none!important}

/* v8: декоративный слой блока перехватывал клики по меткам карты */
.lpc-map-1 .lp-block-bg,.lpc-map-1 .lp-block-overlay,
.lpc-map-1 .lp-block-bg__video{pointer-events:none!important}
.lpc-map-1 .js-lpc-simple-map{position:relative;z-index:2}
/* названия магазинов кликабельны — показывают магазин на общей карте */
.al-shop-link{cursor:pointer;transition:color .15s}
.al-shop-link:hover,.al-shop-link:focus-visible{color:#e6332a}
.al-shop-link.is-active{color:#e6332a}

/* --- v9: форма оформления заказа --- */
.shop2-order-options .option-item label > span{color:#33383f!important;font-size:13.5px!important;font-weight:500!important;line-height:1.4}
.shop2-order-options .option-item .required{color:#e6332a!important;font-weight:700}
.shop2-order-options .option-label > span{color:#232323;font-size:15px}
.shop2-order-options .option-item input[type=text],
.shop2-order-options .option-item input[type=date],
.shop2-order-options .option-item input[type=time],
.shop2-order-options .option-item textarea{border:1px solid #c9ccd1;border-radius:6px;padding:8px 10px;font-size:15px;color:#16181b;background:#fff}
.shop2-order-options .option-item input[type=text]:focus,
.shop2-order-options .option-item input[type=date]:focus,
.shop2-order-options .option-item input[type=time]:focus,
.shop2-order-options .option-item textarea:focus{outline:none;border-color:#e6332a;box-shadow:0 0 0 3px rgba(230,51,42,.12)}
.al-invalid{border-color:#e6332a!important;background:#fff8f7!important}
.al-err{display:block;margin-top:5px;color:#e6332a;font-size:12.5px;line-height:1.35;font-weight:500}
.al-hint{display:block;margin-top:4px;color:#7c7f86;font-size:12px;line-height:1.35}
.al-sugwrap{position:relative;display:block}
.al-sug{position:absolute;z-index:970;left:0;right:0;top:100%;margin-top:2px;background:#fff;border:1px solid #d9dce1;border-radius:8px;box-shadow:0 10px 26px rgba(0,0,0,.15);max-height:260px;overflow:auto;display:none}
.al-sug.is-open{display:block}
.al-sug .al-opt{display:block;padding:9px 12px;font:400 14px/1.35 inherit;color:#232323;cursor:pointer;border-bottom:1px solid #f1f2f4}
.al-sug .al-opt:last-child{border-bottom:0}
.al-sug .al-opt:hover,.al-sug .al-opt.is-cur{background:#f6f7f8;color:#e6332a}
.al-dt{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.al-dt input{flex:0 1 auto;min-width:140px}

/* --- v10: мобильное меню открывалось обрезанным сверху --- */
/* Панель меню — position:absolute от body, а скроллится на этом сайте
   именно body. При открытии со скроллом 900 px панель уезжала на 900 px
   вверх, и был виден только хвост списка. Раньше не замечали: бургер был
   доступен только у верха страницы. Закреплённая шапка сделала его
   доступным всегда — и это вылезло. */
body > .panel.open{position:fixed!important;top:0!important;bottom:0!important;height:100%!important}
body > .panel.open > .scroll{height:100%!important;overflow-y:auto;-webkit-overflow-scrolling:touch}

/* --- v11: карта на мобильном была 200 px и метки не помещались --- */
@media (max-width:767px){
  .lpc-map-1 .js-lpc-simple-map{min-height:340px!important}
  #myMap{min-height:340px!important}
}
