/* ===== Новорічний режим PowerShop (сезон 2026/27) =====
   Вмикається класом html.xmas (рядок-скрипт у <head> кожної сторінки) і сам вимикається 8.01.2027.
   Щоб вимкнути раніше — очистіть цей файл і assets/xmas.js. */
:root{--xg-t-base:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3Cpath d='M0 5Q15 15 30 5Q45 15 60 5' fill='none' stroke='%23163521' stroke-width='1.7'/%3E%3Cpath d='M0 5.9Q15 14 30 5.9Q45 14 60 5.9' fill='none' stroke='%232b6141' stroke-width='.8'/%3E%3CradialGradient id='r' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%2393303a'/%3E%3Cstop offset='1' stop-color='%236a1820'/%3E%3C/radialGradient%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23r)'/%3E%3CradialGradient id='g' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%232b6a45'/%3E%3Cstop offset='1' stop-color='%2317492c'/%3E%3C/radialGradient%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23g)'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/svg%3E");--xg-t-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3CradialGradient id='hr'%3E%3Cstop offset='0' stop-color='%23ff2f43' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%23ff2f43' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%23ff2f43' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='br' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff1f1'/%3E%3Cstop offset='.3' stop-color='%23ff5866'/%3E%3Cstop offset='1' stop-color='%23c80d1e'/%3E%3C/radialGradient%3E%3Ccircle cx='15' cy='19.5' r='10.5' fill='url(%23hr)'/%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23br)'/%3E%3Cellipse cx='13.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/svg%3E");--xg-t-grn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3CradialGradient id='hg'%3E%3Cstop offset='0' stop-color='%2327e070' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%2327e070' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%2327e070' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='bg' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f0fff5'/%3E%3Cstop offset='.3' stop-color='%234dff96'/%3E%3Cstop offset='1' stop-color='%230f9c47'/%3E%3C/radialGradient%3E%3Ccircle cx='45' cy='19.5' r='10.5' fill='url(%23hg)'/%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23bg)'/%3E%3Cellipse cx='43.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/svg%3E");--xg-b-base:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3Cg transform='matrix(1 0 0 -1 0 30)'%3E%3Cpath d='M0 5Q15 15 30 5Q45 15 60 5' fill='none' stroke='%23163521' stroke-width='1.7'/%3E%3Cpath d='M0 5.9Q15 14 30 5.9Q45 14 60 5.9' fill='none' stroke='%232b6141' stroke-width='.8'/%3E%3CradialGradient id='r' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%2393303a'/%3E%3Cstop offset='1' stop-color='%236a1820'/%3E%3C/radialGradient%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23r)'/%3E%3CradialGradient id='g' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%232b6a45'/%3E%3Cstop offset='1' stop-color='%2317492c'/%3E%3C/radialGradient%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23g)'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-b-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3Cg transform='matrix(1 0 0 -1 0 30)'%3E%3CradialGradient id='hr'%3E%3Cstop offset='0' stop-color='%23ff2f43' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%23ff2f43' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%23ff2f43' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='br' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff1f1'/%3E%3Cstop offset='.3' stop-color='%23ff5866'/%3E%3Cstop offset='1' stop-color='%23c80d1e'/%3E%3C/radialGradient%3E%3Ccircle cx='15' cy='19.5' r='10.5' fill='url(%23hr)'/%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23br)'/%3E%3Cellipse cx='13.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-b-grn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' width='60' height='30'%3E%3Cg transform='matrix(1 0 0 -1 0 30)'%3E%3CradialGradient id='hg'%3E%3Cstop offset='0' stop-color='%2327e070' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%2327e070' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%2327e070' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='bg' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f0fff5'/%3E%3Cstop offset='.3' stop-color='%234dff96'/%3E%3Cstop offset='1' stop-color='%230f9c47'/%3E%3C/radialGradient%3E%3Ccircle cx='45' cy='19.5' r='10.5' fill='url(%23hg)'/%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23bg)'/%3E%3Cellipse cx='43.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-l-base:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 1 0 0 0)'%3E%3Cpath d='M0 5Q15 15 30 5Q45 15 60 5' fill='none' stroke='%23163521' stroke-width='1.7'/%3E%3Cpath d='M0 5.9Q15 14 30 5.9Q45 14 60 5.9' fill='none' stroke='%232b6141' stroke-width='.8'/%3E%3CradialGradient id='r' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%2393303a'/%3E%3Cstop offset='1' stop-color='%236a1820'/%3E%3C/radialGradient%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23r)'/%3E%3CradialGradient id='g' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%232b6a45'/%3E%3Cstop offset='1' stop-color='%2317492c'/%3E%3C/radialGradient%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23g)'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-l-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 1 0 0 0)'%3E%3CradialGradient id='hr'%3E%3Cstop offset='0' stop-color='%23ff2f43' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%23ff2f43' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%23ff2f43' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='br' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff1f1'/%3E%3Cstop offset='.3' stop-color='%23ff5866'/%3E%3Cstop offset='1' stop-color='%23c80d1e'/%3E%3C/radialGradient%3E%3Ccircle cx='15' cy='19.5' r='10.5' fill='url(%23hr)'/%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23br)'/%3E%3Cellipse cx='13.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-l-grn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 1 0 0 0)'%3E%3CradialGradient id='hg'%3E%3Cstop offset='0' stop-color='%2327e070' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%2327e070' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%2327e070' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='bg' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f0fff5'/%3E%3Cstop offset='.3' stop-color='%234dff96'/%3E%3Cstop offset='1' stop-color='%230f9c47'/%3E%3C/radialGradient%3E%3Ccircle cx='45' cy='19.5' r='10.5' fill='url(%23hg)'/%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23bg)'/%3E%3Cellipse cx='43.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-r-base:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 -1 0 30 0)'%3E%3Cpath d='M0 5Q15 15 30 5Q45 15 60 5' fill='none' stroke='%23163521' stroke-width='1.7'/%3E%3Cpath d='M0 5.9Q15 14 30 5.9Q45 14 60 5.9' fill='none' stroke='%232b6141' stroke-width='.8'/%3E%3CradialGradient id='r' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%2393303a'/%3E%3Cstop offset='1' stop-color='%236a1820'/%3E%3C/radialGradient%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23r)'/%3E%3CradialGradient id='g' cx='.38' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%232b6a45'/%3E%3Cstop offset='1' stop-color='%2317492c'/%3E%3C/radialGradient%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23g)'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-r-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 -1 0 30 0)'%3E%3CradialGradient id='hr'%3E%3Cstop offset='0' stop-color='%23ff2f43' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%23ff2f43' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%23ff2f43' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='br' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff1f1'/%3E%3Cstop offset='.3' stop-color='%23ff5866'/%3E%3Cstop offset='1' stop-color='%23c80d1e'/%3E%3C/radialGradient%3E%3Ccircle cx='15' cy='19.5' r='10.5' fill='url(%23hr)'/%3E%3Cellipse cx='15' cy='19.2' rx='4.3' ry='6.6' fill='url(%23br)'/%3E%3Cellipse cx='13.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='12.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='13.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-r-grn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60' width='30' height='60'%3E%3Cg transform='matrix(0 1 -1 0 30 0)'%3E%3CradialGradient id='hg'%3E%3Cstop offset='0' stop-color='%2327e070' stop-opacity='.8'/%3E%3Cstop offset='.42' stop-color='%2327e070' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%2327e070' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='bg' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f0fff5'/%3E%3Cstop offset='.3' stop-color='%234dff96'/%3E%3Cstop offset='1' stop-color='%230f9c47'/%3E%3C/radialGradient%3E%3Ccircle cx='45' cy='19.5' r='10.5' fill='url(%23hg)'/%3E%3Cellipse cx='45' cy='19.2' rx='4.3' ry='6.6' fill='url(%23bg)'/%3E%3Cellipse cx='43.6' cy='16.6' rx='1.1' ry='2' fill='%23fff' opacity='.85'/%3E%3Crect x='42.6' y='9.3' width='4.8' height='4.4' rx='1.1' fill='%2312301c'/%3E%3Crect x='43.4' y='9.8' width='1.1' height='3.4' rx='.5' fill='%233d7552'/%3E%3C/g%3E%3C/svg%3E");--xg-holly:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233fae62'/%3E%3Cstop offset='1' stop-color='%2314592f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(15 15) rotate(8)'%3E%3Cpath d='M0 0C4-3 7-2 9-5C10-2 13-2 15-4C15-1 18 0 21-1C19 1 18 3 20 5C17 4 14 5 13 7C11 5 8 5 6 7C5 4 3 3 0 0Z' fill='url(%23l)'/%3E%3Cpath d='M1 0.5C7 1 13 2 19 1' stroke='%230e4423' stroke-width='.8' fill='none'/%3E%3C/g%3E%3Cg transform='translate(15 15) rotate(82)'%3E%3Cpath d='M0 0C4-3 7-2 9-5C10-2 13-2 15-4C15-1 18 0 21-1C19 1 18 3 20 5C17 4 14 5 13 7C11 5 8 5 6 7C5 4 3 3 0 0Z' fill='url(%23l)'/%3E%3Cpath d='M1 0.5C7 1 13 2 19 1' stroke='%230e4423' stroke-width='.8' fill='none'/%3E%3C/g%3E%3Ccircle cx='13' cy='17' r='4' fill='%23d81b2c'/%3E%3Ccircle cx='18.5' cy='13.5' r='4' fill='%23e3263a'/%3E%3Ccircle cx='11.5' cy='11' r='3.6' fill='%23c41426'/%3E%3Ccircle cx='11.8' cy='15.6' r='1.1' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='17.3' cy='12.1' r='1.1' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='10.5' cy='9.8' r='1' fill='%23fff' opacity='.8'/%3E%3C/svg%3E");}

/* ---------- Гірлянда (спільні стилі) ---------- */
.xg{position:absolute;pointer-events:none;--gs:30px}
.xg,.xg::before,.xg::after{background-repeat:round no-repeat;background-size:calc(var(--gs)*2) var(--gs)}
.xg::before,.xg::after{content:"";position:absolute;inset:0;will-change:opacity}
.xg::before{animation:xgRed 6s linear infinite}
.xg::after{animation:xgGrn 6s linear infinite}
.xg-t{background-image:var(--xg-t-base)}.xg-t::before{background-image:var(--xg-t-red)}.xg-t::after{background-image:var(--xg-t-grn)}
.xg-b{background-image:var(--xg-b-base)}.xg-b::before{background-image:var(--xg-b-red)}.xg-b::after{background-image:var(--xg-b-grn)}
.xg-l,.xg-r,.xg-l::before,.xg-l::after,.xg-r::before,.xg-r::after{background-repeat:no-repeat round;background-size:var(--gs) calc(var(--gs)*2)}
.xg-l{background-image:var(--xg-l-base)}.xg-l::before{background-image:var(--xg-l-red)}.xg-l::after{background-image:var(--xg-l-grn)}
.xg-r{background-image:var(--xg-r-base)}.xg-r::before{background-image:var(--xg-r-red)}.xg-r::after{background-image:var(--xg-r-grn)}
.xg-d1::before,.xg-d1::after{animation-delay:-.4s}.xg-d2::before,.xg-d2::after{animation-delay:-.8s}.xg-d3::before,.xg-d3::after{animation-delay:-1.2s}
@keyframes xgRed{0%,9%{opacity:1}11%,22%{opacity:.07}24%,34%{opacity:1}36%,47%{opacity:.07}49%,58%{opacity:1}60%,64%{opacity:.07}66%,80%{opacity:1}90%{opacity:.25}100%{opacity:1}}
@keyframes xgGrn{0%,9%{opacity:.07}11%,22%{opacity:1}24%,34%{opacity:.07}36%,47%{opacity:1}49%,58%{opacity:.07}60%,64%{opacity:1}66%,80%{opacity:1}90%{opacity:.25}100%{opacity:.07}}

/* ---------- Пункт «Новорічний декор» у меню та вкладках (на всіх сторінках) ---------- */
html.xmas .nav-dd .dd a[href$="novorichnyi-dekor/"],
html.xmas .mnav a[href$="novorichnyi-dekor/"],
html.xmas .cat-tabs a[href$="novorichnyi-dekor/"]{color:#B8152B;font-weight:600;white-space:nowrap}
html.xmas .cat-tabs a[href$="novorichnyi-dekor/"]:not([aria-current]){border-color:#E2A2A9;background:#FFF4F3}
html.xmas .nav-dd .dd a[href$="novorichnyi-dekor/"]::before,
html.xmas .mnav a[href$="novorichnyi-dekor/"]::before,
html.xmas .cat-tabs a[href$="novorichnyi-dekor/"]::before{content:"🎄";margin-right:6px}
html.xmas .nav-dd .dd a[href$="novorichnyi-dekor/"]::after,
html.xmas .mnav a[href$="novorichnyi-dekor/"]::after,
html.xmas .cat-tabs a[href$="novorichnyi-dekor/"]::after{content:"";display:inline-block;vertical-align:middle;width:26px;height:10px;margin:-2px 0 0 7px;
  background:
   radial-gradient(circle at 4px 5px,#ff2f43 2.4px,rgba(255,47,67,.35) 3.6px,transparent 5px),
   radial-gradient(circle at 13px 5px,#1d6b3d 2.4px,transparent 2.9px),
   radial-gradient(circle at 22px 5px,#ff2f43 2.4px,rgba(255,47,67,.35) 3.6px,transparent 5px),
   radial-gradient(circle at 30px 5px,#7a1d27 2.4px,transparent 2.9px),
   radial-gradient(circle at 39px 5px,#27e070 2.4px,rgba(39,224,112,.35) 3.6px,transparent 5px),
   radial-gradient(circle at 48px 5px,#7a1d27 2.4px,transparent 2.9px);
  background-size:52px 10px;background-repeat:no-repeat;animation:xmTw 1.3s infinite}
@keyframes xmTw{0%{background-position:0 0;animation-timing-function:steps(1,end)}50%{background-position:-26px 0;animation-timing-function:steps(1,end)}100%{background-position:0 0}}

/* ---------- Плашка на головній ---------- */
.xb{display:none}
html.xmas .xb{display:block;position:relative;overflow:hidden;text-decoration:none;color:#fff;
  background:
   radial-gradient(520px 170px at 88% 130%,rgba(220,38,58,.55),transparent 65%),
   radial-gradient(520px 200px at 6% -30%,rgba(40,170,95,.42),transparent 62%),
   linear-gradient(100deg,#0c3524 0%,#0f2a3b 52%,#3d0d19 100%);
  border-bottom:1px solid rgba(0,0,0,.2)}
html.xmas .xb::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.75;
  background:
   radial-gradient(circle at 20px 30px,rgba(255,255,255,.85) 1.3px,transparent 1.8px),
   radial-gradient(circle at 75px 80px,rgba(255,255,255,.6) 1px,transparent 1.5px),
   radial-gradient(circle at 110px 20px,rgba(255,255,255,.7) 1.6px,transparent 2.1px),
   radial-gradient(circle at 50px 110px,rgba(255,255,255,.5) 1px,transparent 1.5px),
   radial-gradient(circle at 95px 55px,rgba(255,255,255,.75) 1.2px,transparent 1.7px);
  background-size:130px 130px;animation:xbSnow 9s linear infinite}
@keyframes xbSnow{from{background-position:0 0}to{background-position:-30px 130px}}
html.xmas .xb .xg-t{left:0;right:0;top:0;height:var(--gs)}
.xb-in{position:relative;z-index:1;display:flex;align-items:center;gap:18px;padding-top:36px;padding-bottom:18px}
.xb-tree{flex:0 0 auto;width:58px;height:66px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}
.xb-tree svg{width:100%;height:100%;overflow:visible}
.xb-tree .st{transform-origin:24px 6px;animation:xbStar 2.4s ease-in-out infinite}
.xb-tree .o1{animation:xbO 1.6s steps(1,end) infinite}
.xb-tree .o2{animation:xbO 1.6s steps(1,end) infinite -.8s}
@keyframes xbStar{50%{transform:scale(1.18);filter:drop-shadow(0 0 6px #ffd54a)}}
@keyframes xbO{0%{opacity:1}50%{opacity:.25}}
.xb-txt{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.xb-kick{font:600 12.5px/1.2 "Golos Text",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#FFD86B}
.xb-txt b{font:700 clamp(21px,2.3vw,30px)/1.1 Unbounded,"Golos Text",sans-serif;letter-spacing:-.01em;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.xb-txt span:last-child{font-size:15.5px;color:rgba(255,255,255,.86)}
.xb-btn em{font-style:normal}
.xb-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 22px;border-radius:14px;background:var(--lamp);color:var(--lamp-ink);font-weight:700;font-size:16.5px;
  box-shadow:0 0 0 0 rgba(255,210,80,.7),0 10px 24px -10px rgba(0,0,0,.6);animation:xbPulse 2.4s ease-out infinite;transition:transform .2s}
html.xmas .xb:hover .xb-btn{transform:translateY(-2px)}
@keyframes xbPulse{0%{box-shadow:0 0 0 0 rgba(255,210,80,.65),0 10px 24px -10px rgba(0,0,0,.6)}70%,100%{box-shadow:0 0 0 14px rgba(255,210,80,0),0 10px 24px -10px rgba(0,0,0,.6)}}
@media (max-width:700px){
  .xb .xg{--gs:24px}
  .xb-in{gap:12px;padding-top:30px;padding-bottom:14px}
  .xb-tree{width:42px;height:48px}
  .xb-kick{font-size:11px;letter-spacing:.1em}
  .xb-txt b{font-size:19px}
  .xb-txt span:last-child{font-size:13.5px;line-height:1.35}
  .xb-opt{display:none}
  .xb-btn{width:46px;height:46px;padding:0;justify-content:center;border-radius:50%}
  .xb-btn em{display:none}
}

/* ---------- Сторінка «Новорічний декор» ---------- */
html.xmas body.xmas-page{background:
   radial-gradient(1100px 520px at 12% -5%,rgba(200,30,55,.22),transparent 62%),
   radial-gradient(1000px 620px at 92% 8%,rgba(30,150,85,.2),transparent 62%),
   linear-gradient(180deg,#0c1630 0%,#0c1c30 40%,#0a2421 100%)}
html.xmas .xmas-page .top{background:#fff}
html.xmas .xmas-page .page-head{background:transparent;color:#EEF3FA;border-bottom-color:rgba(255,255,255,.09)}
html.xmas .xmas-page .page-head h1{color:#fff;text-shadow:0 3px 22px rgba(0,0,0,.45)}
html.xmas .xmas-page .page-head p,html.xmas .xmas-page .crumbs{color:#B7C3D9}
html.xmas .xmas-page .crumbs a:hover{color:#FFD86B}
html.xmas .xmas-page .cat-tabs a{color:#E6ECF6;border-color:rgba(255,255,255,.22)}
html.xmas .xmas-page .cat-tabs a:hover{background:rgba(255,255,255,.08)}
html.xmas .xmas-page .cat-tabs a[aria-current="page"]{color:#8E0F20;background:var(--lamp);border-color:var(--lamp)}
html.xmas .xmas-page .cat-tabs-2>span{color:#9DAECA}
html.xmas .xmas-page .found{color:#C3CEE1}
html.xmas .xmas-page .toolbar .btn-line{background:#fff;color:var(--ink);border-color:#fff}
html.xmas .xmas-page .empty{color:#C3CEE1;border-color:rgba(255,255,255,.25)}
html.xmas .xmas-page .foot-site{position:relative;z-index:41}
.xk{display:none}
html.xmas .xk{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:6px 14px;border-radius:999px;font-weight:600;font-size:14.5px;color:#FFE3A1;background:rgba(255,255,255,.07);border:1px solid rgba(255,216,107,.35)}

/* рамка-гірлянда навколо товарів */
html.xmas .xmas-page .xmas-frame{--gs:28px;position:relative;padding:calc(var(--gs) + 10px);margin:0 -12px;border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset 0 0 70px rgba(255,47,67,.07)}
html.xmas .xmas-page .xmas-frame>.xg{--gs:inherit}
html.xmas .xmas-page .xmas-frame>.xg-t{top:4px;left:calc(var(--gs) + 6px);right:calc(var(--gs) + 6px);height:var(--gs)}
html.xmas .xmas-page .xmas-frame>.xg-b{bottom:4px;left:calc(var(--gs) + 6px);right:calc(var(--gs) + 6px);height:var(--gs)}
html.xmas .xmas-page .xmas-frame>.xg-l{left:4px;top:calc(var(--gs) + 6px);bottom:calc(var(--gs) + 6px);width:var(--gs)}
html.xmas .xmas-page .xmas-frame>.xg-r{right:4px;top:calc(var(--gs) + 6px);bottom:calc(var(--gs) + 6px);width:var(--gs)}
.xc{display:none}
html.xmas .xmas-page .xmas-frame>.xc{display:block;position:absolute;width:52px;height:52px;background:var(--xg-holly) center/contain no-repeat;pointer-events:none;z-index:1;filter:drop-shadow(0 3px 6px rgba(0,0,0,.4))}
html.xmas .xc-tl{left:-6px;top:-6px}
html.xmas .xc-tr{right:-6px;top:-6px;transform:scaleX(-1)}
html.xmas .xc-bl{left:-6px;bottom:-6px;transform:scaleY(-1)}
html.xmas .xc-br{right:-6px;bottom:-6px;transform:scale(-1,-1)}
.xmas-frame>.xg{display:none}
html.xmas .xmas-page .xmas-frame>.xg{display:block}
@media (max-width:700px){
  html.xmas .xmas-page .xmas-frame{--gs:22px;padding:calc(var(--gs) + 6px);border-radius:18px;margin:0 -10px}
  html.xmas .xmas-page .xmas-frame>.xc{width:40px;height:40px}
}

/* ---------- Сторінки ялинок (товар) ---------- */
html.xmas .xmas-page .crumbs{color:#B7C3D9!important}
html.xmas .xmas-page .crumbs a:hover{color:#FFD86B}
html.xmas .xmas-tovar .xmas-frame{margin-top:18px}
html.xmas .xmas-tovar .pp{padding:0}
html.xmas .xmas-tovar .pp .brand{color:#B7C3D9}
html.xmas .xmas-tovar .pp h1{color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.4)}
html.xmas .xmas-tovar .pp .chips li{color:#DCE4F0;border-color:rgba(255,255,255,.25)}
html.xmas .xmas-tovar .gal-main{border-color:rgba(255,255,255,.15)}
html.xmas .xmas-tovar .ptabs{border-bottom-color:rgba(255,255,255,.15)}
html.xmas .xmas-tovar .ptabs button{color:#AFC0D8}
html.xmas .xmas-tovar .ptabs button[aria-selected="true"]{color:#fff}
html.xmas .xmas-tovar .pane{color:#E3E9F3}
html.xmas .xmas-tovar .pane h3{color:#fff}
html.xmas .xmas-tovar .pane h4{color:#B7C3D9}
html.xmas .xmas-tovar .pane a{color:#FFD86B}
html.xmas .xmas-tovar .spec th{color:#AFC0D8}
html.xmas .xmas-tovar .spec td{color:#E9EEF6}
html.xmas .xmas-tovar .spec tr{border-bottom-color:rgba(255,255,255,.12)}
html.xmas .xmas-tovar .sec-head h2{color:#fff}
html.xmas .xmas-tovar .xmus{transition:bottom .25s}
@media (max-width:900px){html.xmas body.xmas-tovar:has(.sticky-buy.show) .xmus{bottom:calc(88px + env(safe-area-inset-bottom))}}
@media (max-width:700px){
  .xb-tv .xb-in{gap:10px}
  .xb-tv .xb-tree{width:34px;height:40px}
  .xb-tv .xb-txt b{font-size:17px}
  .xb-tv .xb-btn{width:auto;height:40px;padding:0 13px;border-radius:12px;font-size:14px;gap:6px}
  .xb-tv .xb-btn em{display:inline}
  .xb-tv .xb-btn svg{width:18px;height:18px}
}

/* сніг і музика */
.xsnow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:40}
.xmus{position:fixed;left:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:46;display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 18px 0 14px;border-radius:999px;border:1px solid rgba(255,216,107,.55);
  background:linear-gradient(120deg,#b3122b,#7e0c1e);color:#fff;font:600 15px/1 "Golos Text",sans-serif;cursor:pointer;box-shadow:0 12px 30px -10px rgba(0,0,0,.6)}
.xmus:hover{filter:brightness(1.08)}
.xmus .ic{width:22px;height:22px;display:grid;place-items:center}
.xmus .eq{display:none;align-items:flex-end;gap:2px;height:16px}
.xmus .eq i{width:3px;background:#FFD86B;border-radius:2px;animation:xEq .9s ease-in-out infinite}
.xmus .eq i:nth-child(2){animation-delay:-.3s}.xmus .eq i:nth-child(3){animation-delay:-.6s}.xmus .eq i:nth-child(4){animation-delay:-.15s}
@keyframes xEq{0%,100%{height:4px}50%{height:16px}}
.xmus[aria-pressed="true"] .eq{display:inline-flex}
.xmus[aria-pressed="true"] .ic{display:none}
.xmus .mute{display:none;opacity:.8;margin-left:2px;padding-left:10px;border-left:1px solid rgba(255,255,255,.3)}
.xmus[aria-pressed="true"] .mute{display:inline-flex}
.xmus:not([aria-pressed="true"])::after{content:"";position:absolute;inset:-1px;border-radius:inherit;box-shadow:0 0 0 0 rgba(255,216,107,.7);animation:xbPulse2 2s ease-out infinite;pointer-events:none}
@keyframes xbPulse2{70%,100%{box-shadow:0 0 0 12px rgba(255,216,107,0)}}
@media (max-width:700px){.xmus{height:46px;padding:0 14px 0 12px;font-size:14px;left:12px}}

@media (prefers-reduced-motion:reduce){
  .xg::before,.xg::after,.xb-tree *,html.xmas .xb::before,.xb-btn,.xmus .eq i,.xmus::after{animation:none!important}
  .xg::before,.xg::after{opacity:1}
  html.xmas .nav-dd .dd a[href$="novorichnyi-dekor/"]::after,html.xmas .mnav a[href$="novorichnyi-dekor/"]::after,html.xmas .cat-tabs a[href$="novorichnyi-dekor/"]::after{animation:none}
}
@media print{.xsnow,.xmus,.xb{display:none!important}}

/* телефон, сторінка ялинки: без банера, рамки-гірлянди, снігу й кнопки музики — щоб ціна і «Купити» були на першому екрані */
@media (max-width:900px){
  html.xmas body.xmas-tovar .xb-tv,
  html.xmas body.xmas-tovar .xsnow,
  html.xmas body.xmas-tovar .xmus{display:none!important}
  html.xmas body.xmas-tovar .xmas-frame{padding:0;margin:0;background:none;box-shadow:none;border-radius:0}
  html.xmas body.xmas-tovar .xmas-frame>.xg,
  html.xmas body.xmas-tovar .xmas-frame>.xc{display:none}
}
/* телефон, розділ «Новорічний декор»: без рядків з категоріями інверторів/дому — ялинки одразу після заголовка */
@media (max-width:900px){
  html.xmas body.xmas-page:not(.xmas-tovar) .page-head .cat-tabs{display:none}
  html.xmas body.xmas-page:not(.xmas-tovar) .page-head p{margin-bottom:0}
}
