/* Новогоднее оформление шапки: колпак на логотипе и пункт меню «Новый год» со счётчиком дней.
   Подключается из шаблона (Header.html) со 2 декабря 2026 по 14 января 2027. Собрано из pro-work/ny.js (вариант hat). */
.ny-rel{position:relative}
.ny-hat{pointer-events:none;position:absolute;left:-13px;top:-9px;width:29px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'46'%20height%3D'38'%20viewBox%3D'0%200%2046%2038'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'c'%20x1%3D'0'%20y1%3D'0'%20x2%3D'1'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23ff5b4e'%2F%3E%3Cstop%20offset%3D'.55'%20stop-color%3D'%23e8372a'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23bf261b'%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D'url(%23c)'%20d%3D'M7.5%2C27.5C7%2C15%2014.5%2C5.4%2025%2C4.2C32.6%2C3.4%2039%2C8.6%2041%2C18.4C37.6%2C14.6%2033.4%2C13.8%2030.4%2C15.6C32%2C19.6%2033%2C23.6%2033%2C28.5Z'%2F%3E%3Cpath%20fill%3D'none'%20stroke%3D'%23a81d13'%20stroke-width%3D'1'%20stroke-linecap%3D'round'%20opacity%3D'.55'%20d%3D'M30.4%2C15.6C27.6%2C13.6%2024.4%2C13.2%2021.4%2C14.2'%2F%3E%3Ccircle%20cx%3D'41'%20cy%3D'21'%20r%3D'4.6'%20fill%3D'%23fff'%20stroke%3D'%23d3dde8'%20stroke-width%3D'.7'%2F%3E%3Crect%20x%3D'3'%20y%3D'24.5'%20width%3D'34'%20height%3D'9.6'%20rx%3D'4.8'%20fill%3D'%23fff'%20stroke%3D'%23d3dde8'%20stroke-width%3D'.7'%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;transform:rotate(-16deg);filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.22))}
.a-bottom-header-mobile .ny-hat{left:-11px;top:-10px;width:25px;height:21px}
.b-header__nav-link.ny-pill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 4px 0 10px;border-radius:14px;background:#e8372a;color:#fff;transition:background .2s}
.b-header__nav-link.ny-pill:hover{background:#c92c20;color:#fff}
.ny-pill-ico{pointer-events:none;flex:none;width:15px;height:15px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'24'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-linecap%3D'round'%20stroke-width%3D'1.5'%3E%3Cg%20transform%3D'rotate(0%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'rotate(60%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'rotate(120%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'rotate(180%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'rotate(240%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'rotate(300%2012%2012)'%3E%3Cpath%20d%3D'M12%2C12V2.2M12%2C5.6l-2.4%2C-2M12%2C5.6l2.4%2C-2'%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;animation:nySpin 14s linear infinite}
.ny-days{flex:none;height:20px;padding:0 9px;border-radius:10px;background:#fff;color:#e8372a;font-size:12px;font-weight:700;line-height:21px}
@keyframes nySpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ny-pill-ico{animation:none}}

/* Гирлянда «В цветах сайта» под шапкой (вариант g_brand из pro-work/ny.js). Прячется при прокрутке (класс ny-away от скрипта в Header.html), в корзине не выводится. */
.ny-edge{position:absolute;left:0;right:0;top:100%;z-index:-1;pointer-events:none;transition:opacity .35s}
.ny-edge i{position:absolute;left:0;top:0;width:100%;height:100%;background-repeat:repeat-x}
.b-header.ny-away .ny-edge{opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s}
.ny-gbrand{height:31px;margin-top:-4px}
.ny-gbrand i{background-size:224px 31px}
.ny-gbrand .b{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'320'%20height%3D'44'%20viewBox%3D'0%200%20320%2044'%3E%3Cpath%20d%3D'M0%2C4Q80%2C30%20160%2C4Q240%2C30%20320%2C4'%20fill%3D'none'%20stroke%3D'%238a938c'%20stroke-width%3D'1.5'%2F%3E%3Crect%20x%3D'17.2'%20y%3D'9.1'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M17.4%2C13.2C13.4%2C17.2%2014.7%2C26.2%2020%2C26.2C25.3%2C26.2%2026.6%2C17.2%2022.6%2C13.2Z'%20fill%3D'%23d2574d'%2F%3E%3Crect%20x%3D'57.2'%20y%3D'15.6'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M57.4%2C19.7C53.4%2C23.7%2054.7%2C32.7%2060%2C32.7C65.3%2C32.7%2066.6%2C23.7%2062.6%2C19.7Z'%20fill%3D'%23efe5cb'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Crect%20x%3D'97.2'%20y%3D'15.6'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M97.4%2C19.7C93.4%2C23.7%2094.7%2C32.7%20100%2C32.7C105.3%2C32.7%20106.6%2C23.7%20102.6%2C19.7Z'%20fill%3D'%23d2574d'%2F%3E%3Crect%20x%3D'137.2'%20y%3D'9.1'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M137.4%2C13.2C133.4%2C17.2%20134.7%2C26.2%20140%2C26.2C145.3%2C26.2%20146.6%2C17.2%20142.6%2C13.2Z'%20fill%3D'%23efe5cb'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Crect%20x%3D'177.2'%20y%3D'9.1'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M177.4%2C13.2C173.4%2C17.2%20174.7%2C26.2%20180%2C26.2C185.3%2C26.2%20186.6%2C17.2%20182.6%2C13.2Z'%20fill%3D'%23d2574d'%2F%3E%3Crect%20x%3D'217.2'%20y%3D'15.6'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M217.4%2C19.7C213.4%2C23.7%20214.7%2C32.7%20220%2C32.7C225.3%2C32.7%20226.6%2C23.7%20222.6%2C19.7Z'%20fill%3D'%23efe5cb'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Crect%20x%3D'257.2'%20y%3D'15.6'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M257.4%2C19.7C253.4%2C23.7%20254.7%2C32.7%20260%2C32.7C265.3%2C32.7%20266.6%2C23.7%20262.6%2C19.7Z'%20fill%3D'%23d2574d'%2F%3E%3Crect%20x%3D'297.2'%20y%3D'9.1'%20width%3D'5.6'%20height%3D'4.6'%20rx%3D'1.3'%20fill%3D'%238a938c'%2F%3E%3Cpath%20d%3D'M297.4%2C13.2C293.4%2C17.2%20294.7%2C26.2%20300%2C26.2C305.3%2C26.2%20306.6%2C17.2%20302.6%2C13.2Z'%20fill%3D'%23efe5cb'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3C%2Fsvg%3E")}
.ny-gbrand .g{animation:nyBreath 8s ease-in-out infinite}
.ny-gbrand .g0{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'320'%20height%3D'44'%20viewBox%3D'0%200%20320%2044'%3E%3Cdefs%3E%3CradialGradient%20id%3D'h0'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0.5'%2F%3E%3Cstop%20offset%3D'.45'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0.19'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D'h1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0.5'%2F%3E%3Cstop%20offset%3D'.45'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0.19'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D'20'%20cy%3D'20.2'%20r%3D'14'%20fill%3D'url(%23h0)'%2F%3E%3Cpath%20d%3D'M17.4%2C13.2C13.4%2C17.2%2014.7%2C26.2%2020%2C26.2C25.3%2C26.2%2026.6%2C17.2%2022.6%2C13.2Z'%20fill%3D'%23ee4033'%2F%3E%3Cellipse%20cx%3D'18.1'%20cy%3D'18.7'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'100'%20cy%3D'26.7'%20r%3D'14'%20fill%3D'url(%23h0)'%2F%3E%3Cpath%20d%3D'M97.4%2C19.7C93.4%2C23.7%2094.7%2C32.7%20100%2C32.7C105.3%2C32.7%20106.6%2C23.7%20102.6%2C19.7Z'%20fill%3D'%23ee4033'%2F%3E%3Cellipse%20cx%3D'98.1'%20cy%3D'25.2'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'180'%20cy%3D'20.2'%20r%3D'14'%20fill%3D'url(%23h0)'%2F%3E%3Cpath%20d%3D'M177.4%2C13.2C173.4%2C17.2%20174.7%2C26.2%20180%2C26.2C185.3%2C26.2%20186.6%2C17.2%20182.6%2C13.2Z'%20fill%3D'%23ee4033'%2F%3E%3Cellipse%20cx%3D'178.1'%20cy%3D'18.7'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'260'%20cy%3D'26.7'%20r%3D'14'%20fill%3D'url(%23h0)'%2F%3E%3Cpath%20d%3D'M257.4%2C19.7C253.4%2C23.7%20254.7%2C32.7%20260%2C32.7C265.3%2C32.7%20266.6%2C23.7%20262.6%2C19.7Z'%20fill%3D'%23ee4033'%2F%3E%3Cellipse%20cx%3D'258.1'%20cy%3D'25.2'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3C%2Fsvg%3E")}
.ny-gbrand .g1{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'320'%20height%3D'44'%20viewBox%3D'0%200%20320%2044'%3E%3Cdefs%3E%3CradialGradient%20id%3D'h0'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0.5'%2F%3E%3Cstop%20offset%3D'.45'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0.19'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23ff7468'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D'h1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0.5'%2F%3E%3Cstop%20offset%3D'.45'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0.19'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23ffdb8f'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D'60'%20cy%3D'26.7'%20r%3D'14'%20fill%3D'url(%23h1)'%2F%3E%3Cpath%20d%3D'M57.4%2C19.7C53.4%2C23.7%2054.7%2C32.7%2060%2C32.7C65.3%2C32.7%2066.6%2C23.7%2062.6%2C19.7Z'%20fill%3D'%23fff4d9'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Cellipse%20cx%3D'58.1'%20cy%3D'25.2'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'140'%20cy%3D'20.2'%20r%3D'14'%20fill%3D'url(%23h1)'%2F%3E%3Cpath%20d%3D'M137.4%2C13.2C133.4%2C17.2%20134.7%2C26.2%20140%2C26.2C145.3%2C26.2%20146.6%2C17.2%20142.6%2C13.2Z'%20fill%3D'%23fff4d9'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Cellipse%20cx%3D'138.1'%20cy%3D'18.7'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'220'%20cy%3D'26.7'%20r%3D'14'%20fill%3D'url(%23h1)'%2F%3E%3Cpath%20d%3D'M217.4%2C19.7C213.4%2C23.7%20214.7%2C32.7%20220%2C32.7C225.3%2C32.7%20226.6%2C23.7%20222.6%2C19.7Z'%20fill%3D'%23fff4d9'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Cellipse%20cx%3D'218.1'%20cy%3D'25.2'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3Ccircle%20cx%3D'300'%20cy%3D'20.2'%20r%3D'14'%20fill%3D'url(%23h1)'%2F%3E%3Cpath%20d%3D'M297.4%2C13.2C293.4%2C17.2%20294.7%2C26.2%20300%2C26.2C305.3%2C26.2%20306.6%2C17.2%20302.6%2C13.2Z'%20fill%3D'%23fff4d9'%20stroke%3D'%23d6c495'%20stroke-width%3D'.7'%2F%3E%3Cellipse%20cx%3D'298.1'%20cy%3D'18.7'%20rx%3D'1.1'%20ry%3D'2.5'%20fill%3D'%23fff'%20opacity%3D'.7'%2F%3E%3C%2Fsvg%3E");animation-delay:-4s}
@keyframes nyBreath{0%,100%{opacity:1}50%{opacity:.3}}
@media (max-width:1023px){.ny-gbrand{height:27px;margin-top:-3px}
.ny-gbrand i{background-size:192px 27px}}
@media (prefers-reduced-motion:reduce){.ny-gbrand .g{animation:none}}
