/* site_extra: добавлено при правках */

/* ===== Новогодняя гирлянда в шапке (03.12.2026) ===== */
.th-xmas{position:relative;height:72px;background:url(../img/xmas-garland.svg) repeat-x 0 0/240px 40px;overflow:visible;pointer-events:none;z-index:5}
.th-xmas__in{display:flex;justify-content:center;gap:56px;height:100%}
.th-xmas__item{position:relative;display:flex;flex-direction:column;align-items:center;text-decoration:none;pointer-events:auto;transform-origin:50% 0;animation:th-xmas-swing 3.2s ease-in-out infinite}
.th-xmas__item:nth-child(2){animation-delay:.8s}
.th-xmas__item:nth-child(3){animation-delay:1.6s}
.th-xmas__string{width:2px;height:10px;background:#2f5d3a}
.th-xmas__ball{width:30px;height:34px;display:block}
.th-xmas__label{margin-top:2px;padding:2px 10px;border-radius:12px;font-size:12px;font-weight:700;line-height:1.4;color:#fff;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:transform .2s}
.th-xmas__item:hover .th-xmas__label{transform:scale(1.08)}
.th-xmas__item--red{color:#e53935}.th-xmas__item--red .th-xmas__label{background:#e53935}
.th-xmas__item--gold{color:#f9a825}.th-xmas__item--gold .th-xmas__label{background:#f9a825}
.th-xmas__item--blue{color:#1e88e5}.th-xmas__item--blue .th-xmas__label{background:#1e88e5}
.th-xmas__item:hover{animation-play-state:paused}
@keyframes th-xmas-swing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@media (max-width:575px){
.th-xmas{height:62px}
.th-xmas__in{gap:18px}
.th-xmas__ball{width:24px;height:28px}
.th-xmas__label{font-size:11px;padding:1px 8px}
}
@media (prefers-reduced-motion:reduce){.th-xmas__item{animation:none}}
