/* Shared ATP header. Intentionally scoped: no page-content styles. */
.atp-header-v2{font-family:Onest,Arial,sans-serif;color:#12151a;background:#fff;padding:0 0 18px;height:auto;min-height:0;margin-top:0}
.atp-header-v2 *{box-sizing:border-box}
.atp-header-v2>.ah-wrap{width:calc(100% - 48px);max-width:1280px;margin:0 auto;padding:0}
.atp-header-v2 .ah-top{display:grid;grid-template-columns:168px minmax(168px,1fr) max-content max-content max-content;align-items:center;gap:20px;min-height:104px;height:auto;margin:0;padding:0}
.atp-header-v2 .hd_desc,.atp-header-v2 .hd_contacts{display:contents}
.atp-header-v2 .ah-logo{display:flex;align-items:center;flex-shrink:0;width:168px;height:44px;margin:0;padding:0}
.atp-header-v2 .ah-logo img{display:block;width:168px;min-width:0;height:auto;max-height:44px;object-fit:contain}
.atp-header-v2 .ah-description{position:static;z-index:auto;font:400 14px/1.3 Onest,Arial,sans-serif;letter-spacing:0;color:#12151a;max-width:240px;margin:0}
.atp-header-v2 .ah-description br{display:none}
.atp-header-v2 .ah-socials{display:block;margin:0}
.atp-header-v2 .ah-socials p{display:block;font:400 12px/1.4 Onest,Arial,sans-serif;color:#12151a;margin:0 0 6px}
.atp-header-v2 .ah-socials ul{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0}
.atp-header-v2 .ah-socials li{padding:0;margin:0}
.atp-header-v2 .ah-socials li a{display:flex;align-items:center;gap:4px;width:auto;height:auto;text-decoration:none;margin:0;background:none;border:0}
.atp-header-v2 .ah-socials li a:after,.atp-header-v2 .ah-socials li a:before{width:25px;height:25px;flex:0 0 25px;background-size:contain;background-position:center;background-repeat:no-repeat;margin:0;opacity:1;filter:none;transform:none}
.atp-header-v2 .ah-socials small{font:400 11px/1.3 Onest,Arial,sans-serif;color:#738093}
.atp-header-v2 .ah-phone{display:block;white-space:nowrap;min-width:0;margin:0}
.atp-header-v2 .ah-phone>a{display:block;color:#12151a;font:700 19px/1.2 Onest,Arial,sans-serif;letter-spacing:-.55px;text-decoration:none}
.atp-header-v2 .ah-phone>a svg{display:none}
.atp-header-v2 .ah-phone p,.atp-header-v2 .ah-phone small{display:block;font:400 11px/1.3 Onest,Arial,sans-serif;color:#738093;margin:7px 0 0}
.atp-header-v2 .ah-request-wrap{display:block;margin:0;width:auto;max-width:none}
.atp-header-v2 .ah-request{display:flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:52px;padding:15px 25px;border:0;border-radius:10px;background:#e60012;box-shadow:none;color:#fff;font:500 14px/1.4 Onest,Arial,sans-serif;text-decoration:none;white-space:nowrap}
.atp-header-v2 .ah-request span{font:inherit;color:inherit;margin:0;padding:0}
.atp-header-v2 .ah-request:after,.atp-header-v2 .ah-request:before{content:none}
.atp-header-v2 .ah-request:hover{background:#cf0010;color:#fff;box-shadow:none}
.atp-header-v2 .ah-nav{display:flex;align-items:center;justify-content:space-between;gap:0 17px;padding:0 25px;margin:0;min-height:55px;height:auto;background:#f7f8fa;border:1px solid #e7ebef;border-radius:18px;box-shadow:none}
.atp-header-v2 .ah-nav>nav{width:100%}
.atp-header-v2 .ah-nav>nav>ul{display:flex;align-items:center;justify-content:space-between;gap:0 17px;list-style:none;height:auto;min-height:53px;padding:0;margin:0;width:100%}
.atp-header-v2 .ah-nav .menu-item{display:block;position:relative;margin:0;padding:0;gap:0}
.atp-header-v2 .ah-nav .menu-item:before{display:none!important;content:none!important}
.atp-header-v2 .ah-nav a,.atp-header-v2 .ah-nav summary{display:inline-flex;align-items:center;gap:6px;padding:18px 0;margin:0;color:#12151a;font:400 14px/1.35 Onest,Arial,sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap}
.atp-header-v2 .ah-nav a:hover,.atp-header-v2 .ah-nav summary:hover{color:#e60012}
.atp-header-v2 .ah-nav a[href='/novye-avtomobili/'],.atp-header-v2 .ah-nav a[href='https://atp-auto.ru/novye-avtomobili/'],.atp-header-v2 .ah-nav a.active{color:#e60012}
.atp-header-v2 .ah-nav .menu-item-has-children{display:flex;align-items:center;gap:6px}
.atp-header-v2 .ah-nav .menu-item-has-children:after{position:static;width:6px;height:6px;margin:0 0 3px;border:solid #596575;border-width:0 1px 1px 0;transform:rotate(45deg);background:none;flex-shrink:0}
.atp-header-v2 .ah-nav .sub-menu,.atp-header-v2 .ah-submenu{position:absolute;z-index:50;right:-16px;left:auto;top:100%;width:max-content;min-width:200px;padding:8px 16px;margin:0;background:#fff;border:1px solid #e7ebef;border-radius:12px;box-shadow:0 8px 28px #14202e12;list-style:none}
.atp-header-v2 .ah-nav .sub-menu a,.atp-header-v2 .ah-submenu a{display:block;padding:10px 0;font-size:14px;line-height:1.4;white-space:normal}
.atp-header-v2 .ah-nav .menu-item-has-children:focus-within>.sub-menu{display:block!important}
.atp-header-v2 .ah-about{position:relative}
.atp-header-v2 .ah-about summary{list-style:none;cursor:pointer}
.atp-header-v2 .ah-about summary::-webkit-details-marker{display:none}
.atp-header-v2 .ah-about summary:after{content:'';width:6px;height:6px;margin:0 0 3px 1px;border:solid #596575;border-width:0 1px 1px 0;transform:rotate(45deg)}
.atp-header-v2 .ah-about[open] summary:after{transform:rotate(225deg);margin-bottom:0}
.atp-header-v2 .ah-toggle{display:none!important}
.atp-header-v2 .ah-mobile-nav{display:none}
.atp-header-v2 a:focus-visible,.atp-header-v2 button:focus-visible,.atp-header-v2 summary:focus-visible{outline:3px solid #1379d0;outline-offset:4px}
@media(max-width:1100px){
 .atp-header-v2>.ah-wrap{width:calc(100% - 40px)}
 .atp-header-v2 .ah-top{gap:16px}
 .atp-header-v2 .ah-request{padding:15px 20px}
 .atp-header-v2 .ah-socials ul{gap:7px}
 .atp-header-v2 .ah-nav{padding:0 20px;gap:0 15px}
 .atp-header-v2 .ah-nav>nav>ul{gap:0 15px}
}
@media(min-width:681px) and (max-width:970px){
 .atp-header-v2 .ah-top{grid-template-columns:168px 1fr auto;gap:19px 22px;padding:24px 0}
 .atp-header-v2 .ah-phone{grid-column:1 / 3}
 .atp-header-v2 .ah-request-wrap,.atp-header-v2 .header-cta{grid-column:3}
 .atp-header-v2 .ah-nav,.atp-header-v2 .ah-nav>nav>ul{display:flex;flex-wrap:wrap;justify-content:center;gap:0 24px}
 .atp-header-v2 .ah-nav a,.atp-header-v2 .ah-nav summary{padding:13px 0}
}
@media(max-width:680px){
 .atp-header-v2{padding:0;height:auto}
 .atp-header-v2>.ah-wrap{width:calc(100% - 32px)}
 .atp-header-v2 .ah-top{grid-template-columns:139px 1fr 32px;gap:15px 10px;min-height:0;padding:20px 0 16px}
 .atp-header-v2 .ah-logo{grid-column:1;grid-row:1;width:139px;height:36px}
 .atp-header-v2 .ah-logo img{width:139px;height:auto;max-height:36px}
 .atp-header-v2 .ah-description,.atp-header-v2 .ah-request-wrap,.atp-header-v2 .header-cta{display:none}
 .atp-header-v2 .ah-phone{grid-column:2;grid-row:1;justify-self:end}
 .atp-header-v2 .ah-phone>a{font-size:13px;letter-spacing:-.4px}
 .atp-header-v2 .ah-phone p,.atp-header-v2 .ah-phone small{font-size:9px;margin-top:4px}
 .atp-header-v2 .ah-socials{grid-column:1 / -1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:12px}
 .atp-header-v2 .ah-socials p{font-size:11px;margin:0}
 .atp-header-v2 .ah-socials ul{gap:9px}
 .atp-header-v2 .ah-toggle{display:flex!important;grid-column:3;grid-row:1;align-items:center;justify-content:center;flex-direction:column;gap:5px;position:relative;width:32px;height:44px;padding:8px 5px;margin:0;border:0;border-radius:7px;background:#f4f6f8;font-size:0;z-index:2;cursor:pointer}
 .atp-header-v2 .ah-toggle span{display:block;position:relative;width:22px;height:2px;margin:0;border-radius:1px;background:#12151a;font-size:0}
 .atp-header-v2 .bt_menu span:after{content:'';position:absolute;top:6px;left:0;width:22px;height:2px;margin:0;background:#12151a;border-radius:1px}
 .atp-header-v2 .bt_menu.mb_active span{transform:rotate(45deg);margin:0}
 .atp-header-v2 .bt_menu.mb_active span:after{top:0;transform:rotate(90deg)}
 .atp-header-v2 .ah-nav{display:none;padding:10px 0 18px;margin:0;border:0;border-radius:0;background:#fff;min-height:0}
 .atp-header-v2 .ah-nav.open{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
 .atp-header-v2 .ah-nav a,.atp-header-v2 .ah-nav summary{font-size:14px;padding:13px 0}
 .atp-header-v2 .ah-nav a.active{padding-inline:10px}
 .atp-header-v2 .ah-submenu{right:0;left:auto;max-width:calc(100vw - 32px)}
 .atp-header-v2 .ah-mobile-nav{position:static;z-index:auto;left:auto;right:auto;top:auto;width:100%!important;margin:0;padding:0 0 18px;border-radius:0;background:#fff;box-shadow:none}
 .atp-header-v2 .ah-mobile-nav.mb_active{display:block}
 .atp-header-v2 .ah-mobile-nav .hd_menu{max-width:none;margin:0;padding:0}
 .atp-header-v2 .ah-mobile-nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;margin:0;list-style:none}
 .atp-header-v2 .ah-mobile-nav .menu-item{display:block;width:100%;margin:0;padding:0;border-bottom:1px solid #e7ebef;text-align:left}
 .atp-header-v2 .ah-mobile-nav .menu-item>a{display:block;width:100%;padding:14px 0;font:400 14px/1.4 Onest,Arial,sans-serif;color:#12151a}
 .atp-header-v2 .ah-mobile-nav .menu-item:after{display:none}
 .atp-header-v2 .ah-mobile-nav .sub-menu{position:static;display:block!important;width:100%;padding:0 0 8px 16px;margin:0;border:0;background:#f7f8fa}
 .atp-header-v2 .ah-mobile-nav .sub-menu .menu-item{border:0}
 .atp-header-v2 .ah-mobile-nav .sub-menu a{padding:10px 0}
 .atp-header-v2 .ah-mobile-nav .hd_bt{display:block;max-width:none;margin:16px 0 0}
 .atp-header-v2 .ah-mobile-nav .hd_bt .bt{padding:14px;border-radius:10px;background:#e60012;color:#fff;font:500 14px/1.4 Onest,Arial,sans-serif}
}
@media(max-width:380px){
 .atp-header-v2 .ah-top{grid-template-columns:119px 1fr 30px;column-gap:8px}
 .atp-header-v2 .ah-logo{width:119px;height:32px}
 .atp-header-v2 .ah-logo img{width:119px;height:auto;max-height:32px}
 .atp-header-v2 .ah-phone>a{font-size:12px}
 .atp-header-v2 .ah-phone p,.atp-header-v2 .ah-phone small{font-size:8px}
 .atp-header-v2 .ah-toggle{width:30px}
 .atp-header-v2 .ah-socials{gap:8px}
}

/* ATP SOCIAL ICONS */
.atp-header-v2 .ah-socials .social a.tg:after,.atp-header-v2 .ah-socials a.header-social-0:before{background-image:url("data:image/svg+xml,%3Csvg width='29' height='28' viewBox='0 0 29 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.333405 14C0.333405 21.732 6.60142 28 14.3334 28C22.0654 28 28.3334 21.732 28.3334 14C28.3334 6.26801 22.0654 0 14.3334 0C6.60142 0 0.333405 6.26801 0.333405 14ZM11.7667 20.4167L12.0049 16.848L12.0047 16.8478L18.4966 10.9894C18.7815 10.7366 18.4344 10.6132 18.0561 10.8426L10.0443 15.8972L6.5836 14.8171C5.83624 14.5882 5.83088 14.0747 6.75139 13.7055L20.2369 8.5055C20.8528 8.22587 21.4473 8.65343 21.2122 9.59612L18.9156 20.4185C18.7552 21.1875 18.2905 21.3715 17.6467 21.0162L14.1483 18.4315L12.4667 20.0667C12.4614 20.0718 12.4561 20.077 12.4509 20.0821C12.2628 20.2652 12.1072 20.4167 11.7667 20.4167Z' fill='%23229ED9'/%3E%3C/svg%3E%0A");background-color:transparent}
.atp-header-v2 .ah-socials .social a.yt:after,.atp-header-v2 .ah-socials a.header-social-1:before{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28ZM20.3407 8.6402C21.0408 8.82827 21.5945 9.38203 21.7826 10.0821C22.1274 11.3568 22.1378 14.0002 22.1378 14.0002C22.1378 14.0002 22.1378 16.654 21.793 17.9183C21.605 18.6183 21.0512 19.1721 20.3512 19.3601C19.0869 19.7049 13.9986 19.7049 13.9986 19.7049C13.9986 19.7049 8.91028 19.7049 7.64604 19.3601C6.946 19.1721 6.39224 18.6183 6.20417 17.9183C5.85938 16.6436 5.85938 14.0002 5.85938 14.0002C5.85938 14.0002 5.85938 11.3568 6.19372 10.0925C6.38179 9.39248 6.93555 8.83872 7.63559 8.65065C8.89983 8.30586 13.9882 8.29541 13.9882 8.29541C13.9882 8.29541 19.0765 8.29541 20.3407 8.6402Z' fill='%23FF0000'/%3e%3cpath d='M12.369 16.4451L16.5901 14.0002L12.369 11.5553V16.4451Z' fill='%23FF0000'/%3e%3c/svg%3e");background-color:transparent}
.atp-header-v2 .ah-socials .social a.vk:after,.atp-header-v2 .ah-socials a.header-social-2:before{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M14 28C21.7324 28 28 21.7319 28 14C28 6.26807 21.7324 0 14 0C6.26758 0 0 6.26807 0 14C0 21.7319 6.26758 28 14 28ZM5.5957 8.75537C5.73242 15.3074 9.00781 19.2449 14.752 19.2449H15.0781V15.4963C17.1875 15.7063 18.7832 17.2498 19.4238 19.2449H22.4062C21.5879 16.2629 19.4355 14.6143 18.0898 13.9844C19.4355 13.2073 21.3242 11.3174 21.7754 8.75537H19.0664C18.4785 10.8345 16.7363 12.7244 15.0781 12.9028V8.75537H12.3691V16.0215C10.6875 15.6013 8.56641 13.5645 8.47266 8.75537H5.5957Z' fill='%230077FF'/%3e%3c/svg%3e");background-color:transparent}
