/* «🎉 Праздники и акции»: the strip above the header and light holiday themes (inc/events.php). Decorations only — no layout changes. */
.ev-strip{position:relative;z-index:21;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;padding:8px 14px;text-align:center;font:600 14px/1.3 inherit;letter-spacing:.02em;background:#fa6964;color:#fff}
.ev-cd{font-variant-numeric:tabular-nums;background:rgba(0,0,0,.18);padding:3px 10px;border-radius:999px;font-weight:700;white-space:nowrap}
.ev-pv{position:fixed;left:8px;bottom:40px;z-index:9999;background:#222;color:#fff;font:600 12px/1 system-ui;padding:7px 10px;border-radius:8px;text-decoration:none}
.ev-fx{position:fixed;inset:0;pointer-events:none;z-index:15}
.ev-off .ev-fx,.ev-off .ev-deco{display:none!important}
.logo{position:relative}
.ev-deco{position:absolute;pointer-events:none;line-height:1;z-index:2}

/* Black Friday — our salmon + the yellow that worked in the promo creatives */
.ev-strip.ev-bf{background:#ffd23f;color:#1d1d1d;text-transform:uppercase;letter-spacing:.06em}
.ev-strip.ev-bf .ev-cd{background:#fa6964;color:#fff}
html.ev-bf .bdg-sale{background:#ffd23f!important;color:#1d1d1d!important;font-weight:700}
html.ev-bf .hdr{box-shadow:inset 0 -3px 0 #ffd23f}
html.ev-bf .old,html.ev-bf s{text-decoration-color:#fa6964}
.ev-strip.ev-bf::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.5) 50%,transparent 70%);background-size:250% 100%;animation:evShine 3.5s linear infinite;pointer-events:none}
@keyframes evShine{from{background-position:150% 0}to{background-position:-100% 0}}

/* New Year / Christmas */
.ev-strip.ev-winter{background:linear-gradient(90deg,#c6283a,#e0453f,#c6283a);color:#fff}
html.ev-winter .hdr{border-bottom:0}
.ev-garland{position:absolute;left:0;right:0;bottom:-11px;height:14px;display:flex;justify-content:space-around;pointer-events:none;background:linear-gradient(#2a2a2a,#2a2a2a) 0 2px/100% 1px no-repeat}
.ev-garland i{width:7px;height:10px;border-radius:50% 50% 45% 45%;background:var(--c);box-shadow:0 0 8px 2px var(--c);animation:evBulb 1.4s ease-in-out infinite;margin-top:2px}
@keyframes evBulb{0%,100%{opacity:1;filter:brightness(1.15)}50%{opacity:.25;box-shadow:0 0 2px 0 var(--c);filter:brightness(.8)}}
html.ev-winter .bdg-sale{background:#c6283a!important;color:#fff!important}

/* the others */
.ev-strip.ev-hearts{background:#f06292;color:#fff}html.ev-hearts .bdg-sale{background:#f06292!important;color:#fff!important}
.ev-strip.ev-green{background:#3d9a5c;color:#fff}html.ev-green .bdg-sale{background:#3d9a5c!important;color:#fff!important}
.ev-strip.ev-flowers{background:#e86aa6;color:#fff}html.ev-flowers .bdg-sale{background:#e86aa6!important;color:#fff!important}
.ev-strip.ev-easter{background:#ffd23f;color:#3a2a00}html.ev-easter .bdg-sale{background:#ffd23f!important;color:#3a2a00!important}
.ev-strip.ev-halloween{background:#ff7a1a;color:#1d1d1d}html.ev-halloween .bdg-sale{background:#ff7a1a!important;color:#1d1d1d!important}
.ev-strip.ev-summer{background:linear-gradient(90deg,#ffb33f,#fa6964);color:#fff}html.ev-summer .bdg-sale{background:#ffb33f!important;color:#1d1d1d!important}
@media (max-width:640px){.ev-strip{font-size:12.5px;padding:7px 10px}}
@media (prefers-reduced-motion:reduce){.ev-strip.ev-bf::after{animation-duration:7s}.ev-garland i{animation-duration:2.8s}}
.logo .ev-deco svg{height:auto!important;width:28px!important;display:block}
.ev-has-strip .rail{top:var(--railtop,70px)!important}
.ev-has-strip .rail{transition:width .2s;height:auto!important}   /* top + bottom define it (a fixed height would pin it to the bottom) */
/* Halloween: cobwebs in the top corners + a spider on a thread */
.ev-web{position:fixed;top:0;z-index:16;pointer-events:none;opacity:.8}.ev-web-l{left:0}.ev-web-r{right:0;transform:scaleX(-1)}
html.ev-has-strip .ev-web{top:var(--railtop,0px)}
.ev-spider{position:fixed;right:18%;top:0;z-index:16;pointer-events:none;display:flex;flex-direction:column;align-items:center;animation:evSpider 9s ease-in-out infinite}
.ev-spider i{width:1px;height:120px;background:rgba(255,255,255,.4)}.ev-spider span{font-size:22px;margin-top:-4px}
@keyframes evSpider{0%,100%{transform:translateY(-110px)}45%,60%{transform:translateY(40px)}}
@media (max-width:899px){.ev-web{width:80px;height:80px}.ev-web svg{width:80px;height:80px}}
.flyer-em{position:fixed;z-index:200;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.4))}

/* ---- New Year: snow caps on menu links / categories / section titles, a shaded drift, a snowman, a walking reindeer, a sleigh ---- */
html.ev-winter .topnav a,html.ev-winter .cats a,html.ev-winter .sec-head h2{position:relative}
html.ev-winter .topnav a::before,html.ev-winter .cats a::before,html.ev-winter .sec-head h2::before{content:"";position:absolute;left:-3px;right:-3px;top:-5px;height:9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 7 Q3 0 12 2 Q22 -1 34 2 Q46 0 58 2 Q72 -1 84 2 Q95 0 100 6 L100 7 Q96 8 94 11 Q92 8 86 8 Q78 9 70 8 Q64 12 60 8 Q50 9 40 8 Q34 11 30 8 Q20 9 12 8 Q6 10 4 8 Z' fill='%23fff'/%3E%3Cpath d='M2 7 Q20 9 40 8 Q60 9 98 7' stroke='%23cfe0f5' stroke-width='1' fill='none'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));z-index:1}
html.ev-winter .cats a::before{top:-1px;left:2px;right:2px;height:7px}
html.ev-winter .sec-head h2::before{top:-7px;right:auto;width:min(100%,220px);height:11px}
.ev-drift{position:fixed;left:0;right:0;bottom:0;height:34px;z-index:16;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23dbe7f7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 26 Q30 8 70 20 Q105 30 140 14 Q175 0 215 18 Q250 32 275 16 Q290 10 300 26 L300 40 L0 40 Z' fill='%23c9d9ef'/%3E%3Cpath d='M0 30 Q40 16 80 26 Q120 34 160 22 Q200 10 240 26 Q275 36 300 30 L300 40 L0 40 Z' fill='url(%23g)'/%3E%3C/svg%3E") 0 100%/600px 34px repeat-x;filter:drop-shadow(0 -2px 5px rgba(255,255,255,.3))}
.ev-snowman{position:fixed;left:14px;bottom:10px;z-index:16;pointer-events:none;font-size:46px;line-height:1;transform-origin:50% 100%;animation:evSway 5s ease-in-out infinite}
@keyframes evSway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.ev-deer{position:fixed;bottom:16px;left:100%;z-index:16;pointer-events:none;font-size:34px;line-height:1;animation:evWalk 70s linear infinite}
.ev-deer span{display:inline-block;animation:evStep .9s ease-in-out infinite}
@keyframes evWalk{0%{left:100%}55%{left:-60px}100%{left:-60px}}
@keyframes evStep{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}
.ev-sleigh{position:fixed;top:22%;left:100%;z-index:14;pointer-events:none;font-size:36px;white-space:nowrap;opacity:.85;animation:evSleigh 45s linear infinite 6s;filter:drop-shadow(0 0 6px rgba(255,255,255,.5))}
@keyframes evSleigh{0%{left:100%;transform:translateY(0)}12%{transform:translateY(-30px)}24%{left:-200px;transform:translateY(10px)}100%{left:-200px}}
@media (max-width:899px){.ev-drift,.ev-snowman,.ev-deer,.ev-cake,.ev-bouquet{bottom:calc(58px + env(safe-area-inset-bottom))}.ev-snowman{font-size:34px}.ev-deer{font-size:26px;bottom:calc(64px + env(safe-area-inset-bottom))}.ev-snowman{bottom:calc(64px + env(safe-area-inset-bottom))}}

/* ---- Black Friday: hazard-tape edge on the strip + swinging price tags under the header ---- */
.ev-strip.ev-bf{border-bottom:5px solid transparent;border-image:repeating-linear-gradient(-45deg,#1d1d1d 0 8px,#ffd23f 8px 16px) 5}
.ev-tags{position:absolute;left:0;right:0;top:100%;height:0;transition:opacity .3s}.ev-tags.ev-hide{opacity:0}
.ev-tags i{position:absolute;top:0;font:800 13px/1.05 system-ui;font-style:normal;text-align:center;background:#ffd23f;color:#1d1d1d;padding:7px 10px 7px 16px;border-radius:3px 6px 6px 3px;transform-origin:50% calc(-1 * var(--h));margin-top:var(--h);animation:evSwing 3s ease-in-out infinite;box-shadow:0 3px 8px rgba(0,0,0,.4);clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%)}
.ev-tags i::before{content:"";position:absolute;left:50%;bottom:100%;width:1px;height:var(--h);background:rgba(255,210,63,.6)}
.ev-tags i::after{content:"";position:absolute;left:4px;top:50%;width:3px;height:3px;margin-top:-1.5px;border-radius:50%;background:#1d1d1d}
@keyframes evSwing{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(9deg)}}
@media (max-width:640px){.ev-tags i:nth-child(2),.ev-tags i:nth-child(4){display:none}}

/* ---- 14 February: a cupid flies across now and then, the cart icon beats ---- */
.ev-cupid{position:fixed;top:30%;left:-80px;z-index:14;pointer-events:none;font-size:30px;white-space:nowrap;animation:evCupid 32s linear infinite 4s}
.ev-cupid b{display:inline-block;font-size:20px;animation:evBeat 1s ease-in-out infinite}
@keyframes evCupid{0%{left:-80px;transform:translateY(0)}10%{transform:translateY(-40px)}20%{transform:translateY(20px)}30%{left:100%;transform:translateY(-10px)}100%{left:100%}}
@keyframes evBeat{0%,100%{transform:scale(1)}15%{transform:scale(1.25)}30%{transform:scale(1)}45%{transform:scale(1.18)}}
html.ev-cartlove .cart-btn::after{content:"💗";position:absolute;left:-7px;top:-8px;font-size:13px;animation:evBeat 1.2s ease-in-out infinite;pointer-events:none}

/* ---- 8 March: a bouquet in the corner (butterflies and petals are in the canvas) ---- */
.ev-bouquet{position:fixed;left:12px;bottom:10px;z-index:16;pointer-events:none;font-size:44px;transform-origin:50% 100%;animation:evSway 4s ease-in-out infinite}

/* ---- Yasumaki birthday: party colours + confetti dots in the strip, a cake with a bounce ---- */
.ev-strip.ev-bday{background:radial-gradient(circle,#ffd23f 1.6px,transparent 2px) 0 0/22px 22px,radial-gradient(circle,#6ec6ff 1.4px,transparent 2px) 11px 11px/22px 22px,linear-gradient(90deg,#fa6964,#ff8a5c,#fa6964);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25)}
html.ev-bday .bdg-sale{background:#fa6964!important;color:#fff!important}
html.ev-bday .hdr{box-shadow:inset 0 -3px 0 #ffd23f}
.ev-cake{position:fixed;left:12px;bottom:10px;z-index:16;pointer-events:none;font-size:44px;line-height:1}
.ev-cake span{display:inline-block;transform-origin:50% 100%;animation:evHop 2.4s ease-in-out infinite}
@keyframes evHop{0%,70%,100%{transform:translateY(0) scale(1)}80%{transform:translateY(-14px) scale(1.05,.95)}90%{transform:translateY(0) scale(1.08,.9)}}
@media (prefers-reduced-motion:reduce){.ev-deer,.ev-sleigh,.ev-cupid{animation-duration:140s}.ev-tags i,.ev-snowman,.ev-bouquet,.ev-cake span{animation:none}}

/* ---- Easter: pieces of painted eggshell on the menu links and categories, painted eggs on ribbons, a peeking bunny ---- */
html.ev-easter .topnav a,html.ev-easter .cats a{position:relative}
html.ev-easter .topnav a::after,html.ev-easter .cats a::after{content:"";position:absolute;right:-9px;top:-7px;width:20px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M1 3 L4 6 L6 2 L9 6 L11 1 L13 5 L16 2 L18 6 L21 3 Q21 13 11 13 Q1 13 1 3 Z' fill='%23fff6e6' stroke='rgba%280%2C0%2C0%2C.18%29' stroke-width='.6'/%3E%3Cpath d='M3 8 Q11 12 19 8' stroke='%23f4b6c8' stroke-width='1.4' fill='none'/%3E%3Ccircle cx='7' cy='10' r='.9' fill='%23f4b6c8'/%3E%3Ccircle cx='15' cy='10' r='.9' fill='%23f4b6c8'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;transform:rotate(14deg);pointer-events:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));z-index:1}
html.ev-easter .topnav a:nth-child(3n+2)::after,html.ev-easter .cats a:nth-child(3n+2)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M1 3 L4 6 L6 2 L9 6 L11 1 L13 5 L16 2 L18 6 L21 3 Q21 13 11 13 Q1 13 1 3 Z' fill='%23cfe8ff' stroke='rgba%280%2C0%2C0%2C.18%29' stroke-width='.6'/%3E%3Cpath d='M3 8 Q11 12 19 8' stroke='%23ffd23f' stroke-width='1.4' fill='none'/%3E%3Ccircle cx='7' cy='10' r='.9' fill='%23ffd23f'/%3E%3Ccircle cx='15' cy='10' r='.9' fill='%23ffd23f'/%3E%3C/svg%3E");transform:rotate(-12deg);right:auto;left:-8px}
html.ev-easter .topnav a:nth-child(3n)::after,html.ev-easter .cats a:nth-child(3n)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M1 3 L4 6 L6 2 L9 6 L11 1 L13 5 L16 2 L18 6 L21 3 Q21 13 11 13 Q1 13 1 3 Z' fill='%23ffd6e4' stroke='rgba%280%2C0%2C0%2C.18%29' stroke-width='.6'/%3E%3Cpath d='M3 8 Q11 12 19 8' stroke='%237cc7a0' stroke-width='1.4' fill='none'/%3E%3Ccircle cx='7' cy='10' r='.9' fill='%237cc7a0'/%3E%3Ccircle cx='15' cy='10' r='.9' fill='%237cc7a0'/%3E%3C/svg%3E");transform:rotate(6deg)}
html.ev-easter .cats a::after{top:-2px;right:-4px;width:16px;height:10px}html.ev-easter .cats a:nth-child(3n+2)::after{left:-3px}
.ev-eggs i{background:none;padding:0;box-shadow:none;clip-path:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.ev-eggs i::after{display:none}.ev-eggs i::before{background:repeating-linear-gradient(#fa6964 0 3px,#ffd23f 3px 6px);width:2px;margin-left:-1px}
.ev-bunny{position:fixed;right:-6px;top:58%;z-index:14;pointer-events:none;font-size:44px;line-height:1;transform:translateX(70px) rotate(-18deg);animation:evPeek 26s ease-in-out infinite 3s}
@keyframes evPeek{0%,8%,100%{transform:translateX(70px) rotate(-18deg)}12%,22%{transform:translateX(0) rotate(-18deg)}15%{transform:translateX(0) rotate(-10deg)}18%{transform:translateX(0) rotate(-22deg)}26%{transform:translateX(70px) rotate(-18deg)}}
@media (prefers-reduced-motion:reduce){.ev-bunny{animation-duration:60s}}

/* ---- Halloween: little cobwebs in the corners of menu links and categories, a spider hanging from the menu, one crawling along the bottom ---- */
html.ev-halloween .topnav a,html.ev-halloween .cats a{position:relative}
html.ev-halloween .topnav a::before,html.ev-halloween .cats a::before{content:"";position:absolute;left:-6px;top:-4px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg stroke='rgba%28255%2C255%2C255%2C.55%29' stroke-width='.7' fill='none'%3E%3Cpath d='M0 0L30 30M0 0L15 30M0 0L30 15M0 0L0 30M0 0L30 0'/%3E%3Cpath d='M0 7Q5 5 7 0M0 14Q10 10 14 0M0 21Q15 15 21 0M0 28Q20 20 28 0'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;pointer-events:none;z-index:1}
html.ev-halloween .topnav a:nth-child(even)::before,html.ev-halloween .cats a:nth-child(even)::before{left:auto;right:-6px;transform:scaleX(-1)}
html.ev-halloween .cats a::before{left:0;top:0;width:16px;height:16px}html.ev-halloween .cats a:nth-child(even)::before{right:0}
html.ev-halloween .topnav a:nth-child(2)::after{content:"🕷";position:absolute;left:50%;top:100%;font-size:18px;line-height:1;padding-top:var(--d,10px);border-left:1px solid rgba(255,255,255,.45);margin-left:0;text-indent:-7px;pointer-events:none;animation:evDangle 6s ease-in-out infinite}
@keyframes evDangle{0%,100%{padding-top:4px}50%{padding-top:26px}}
.ev-crawl{position:fixed;bottom:6px;left:-40px;z-index:16;pointer-events:none;font-size:22px;line-height:1;animation:evCrawl 48s linear infinite 8s}
@keyframes evCrawl{0%{left:-40px;transform:translateY(0)}10%{transform:translateY(-6px)}12%{transform:translateY(0)}14%,18%{transform:translateY(0)}35%{left:calc(100% + 40px)}100%{left:calc(100% + 40px)}}
@media (max-width:899px){.ev-crawl{bottom:calc(62px + env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.ev-crawl{animation-duration:100s}}
