/* Kreizi Nails · decorative layer (butterflies, neon, sparkles, ribbon, reveals) */

/* ── Butterfly (logo artwork, two halves = two wings) ── */
.kz-lbf{position:relative;display:block;width:100%;aspect-ratio:370/306;perspective:420px;transform-style:preserve-3d;--bf:linear-gradient(160deg,#fff,#f3e6ff 45%,#ffc6ec)}
.kz-lbf-w{position:absolute;top:0;width:50%;height:100%;background:var(--bf);-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat;backface-visibility:visible}
.kz-lbf-l{left:0;--m:url(assets/kz-bf-left.png);transform-origin:100% 50%;animation:kz-wing-l 2.8s ease-in-out infinite}
.kz-lbf-r{right:0;--m:url(assets/kz-bf-right.png);transform-origin:0% 50%;animation:kz-wing-r 2.8s ease-in-out infinite}
/* two quick flaps, then a glide */
@keyframes kz-wing-l{0%,55%,100%{transform:rotateY(0)}63%{transform:rotateY(68deg)}71%{transform:rotateY(4deg)}79%{transform:rotateY(60deg)}88%{transform:rotateY(0)}}
@keyframes kz-wing-r{0%,55%,100%{transform:rotateY(0)}63%{transform:rotateY(-68deg)}71%{transform:rotateY(-4deg)}79%{transform:rotateY(-60deg)}88%{transform:rotateY(0)}}

/* in the "Sklep" card */
.entry-butterfly-single.kz-bf-holder{overflow:visible;opacity:.92;filter:none;width:146px;height:auto;top:14%;right:5%;transform:rotate(42deg);animation:kz-hover 6s ease-in-out infinite}
.entry-butterfly-single.kz-bf-holder .kz-lbf{filter:drop-shadow(0 0 12px #ff61c570)}
.entry-card:hover .kz-lbf-w{animation-duration:1s}
@keyframes kz-hover{0%,100%{transform:translate(0,0) rotate(42deg)}50%{transform:translate(-6px,-10px) rotate(48deg)}}
html[data-theme="light"] .entry-butterfly-single.kz-bf-holder{opacity:1;filter:none}
html[data-theme="light"] .kz-lbf{--bf:linear-gradient(160deg,#6c2bb8,#a43fd8 50%,#e0479e)}
html[data-theme="light"] .entry-butterfly-single.kz-bf-holder .kz-lbf{filter:drop-shadow(0 6px 12px #9b3fd640)}

/* small butterflies drifting across the page */
.kz-sky{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}
.kz-flyer{position:absolute;width:40px;left:-60px;opacity:0}
.kz-flyer .kz-lbf{--bf:linear-gradient(160deg,#ffd6f2,#ff6fd0);filter:drop-shadow(0 0 8px #ff61c588)}
.kz-flyer .kz-lbf-l{animation:kz-flap-l .5s ease-in-out infinite}
.kz-flyer .kz-lbf-r{animation:kz-flap-r .5s ease-in-out infinite}
@keyframes kz-flap-l{0%,100%{transform:rotateY(0)}50%{transform:rotateY(70deg)}}
@keyframes kz-flap-r{0%,100%{transform:rotateY(0)}50%{transform:rotateY(-70deg)}}
.kz-flyer-a{top:22%;animation:kz-fly-a 26s linear 4s infinite}
.kz-flyer-b{top:64%;width:30px;animation:kz-fly-b 34s linear 15s infinite}
.kz-flyer-b .kz-lbf{--bf:linear-gradient(160deg,#efe0ff,#b98cff)}
@keyframes kz-fly-a{0%{transform:translate(0,0) rotate(70deg);opacity:0}4%{opacity:.95}25%{transform:translate(28vw,-60px) rotate(60deg)}50%{transform:translate(56vw,30px) rotate(78deg)}75%{transform:translate(82vw,-40px) rotate(62deg)}96%{opacity:.95}100%{transform:translate(110vw,-10px) rotate(70deg);opacity:0}}
@keyframes kz-fly-b{0%{transform:translate(110vw,0) rotate(-70deg);opacity:0}5%{opacity:.85}30%{transform:translate(70vw,-70px) rotate(-60deg)}60%{transform:translate(38vw,20px) rotate(-78deg)}95%{opacity:.85}100%{transform:translate(-12vw,-30px) rotate(-66deg);opacity:0}}
html[data-theme="light"] .kz-flyer .kz-lbf{--bf:linear-gradient(160deg,#c03fae,#7d2fd0);filter:drop-shadow(0 2px 6px #9b3fd655)}

/* ── Neon accent words ── */
.kz-neon{text-shadow:0 0 12px #ff3fbf66,0 0 28px #ff3fbf33;animation:kz-neon 5s ease-in-out infinite}
@keyframes kz-neon{0%,100%{text-shadow:0 0 12px #ff3fbf66,0 0 28px #ff3fbf33}46%{text-shadow:0 0 16px #ff3fbf99,0 0 40px #ff3fbf55}48%{text-shadow:none}49%{text-shadow:0 0 16px #ff3fbf99,0 0 40px #ff3fbf55}52%{text-shadow:0 0 14px #ff3fbf80,0 0 34px #ff3fbf44}}
html[data-theme="light"] .kz-neon{text-shadow:0 0 18px #ff61c533;animation:none}

/* ── Sparkles ── */
.kz-sparkle{display:inline-block;margin-left:.18em;font-size:.32em;vertical-align:.95em;color:#ff61c5;animation:kz-twinkle 3s ease-in-out infinite;text-shadow:0 0 10px #ff61c5aa}
@keyframes kz-twinkle{0%,100%{transform:scale(.7) rotate(0);opacity:.5}50%{transform:scale(1.15) rotate(25deg);opacity:1}}

/* ── Ticker ribbon ── */
.kz-ribbon{position:relative;z-index:2;overflow:hidden;padding:13px 0;background:linear-gradient(90deg,#f05bbd,#a85cff 55%,#f05bbd);transform:rotate(-1.2deg);margin:10px -2% 20px;box-shadow:0 10px 30px #f05bbd33}
.kz-ribbon::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,#ffffff10 0 2px,transparent 2px 14px);pointer-events:none}
.kz-ribbon-track{display:flex;align-items:center;gap:22px;width:max-content;animation:kz-marquee 38s linear infinite;font:700 13px 'Space Grotesk';letter-spacing:.2em;color:#fff;white-space:nowrap}
.kz-ribbon-track b{font-size:14px;color:#2a0d3a}
@keyframes kz-marquee{from{transform:translateX(0)}to{transform:translateX(-33.333%)}}
html[data-theme="light"] .kz-ribbon{box-shadow:0 10px 30px #c45cff33}

/* ── Reveal on scroll ── */
.kz-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease var(--kz-delay,0ms),transform .7s cubic-bezier(.2,.7,.2,1) var(--kz-delay,0ms)}
.kz-reveal.kz-in{opacity:1;transform:none}
.entry-card.kz-reveal.kz-in:hover{transform:translateY(-4px)}

@media (max-width:600px){
  .entry-butterfly-single.kz-bf-holder{width:110px;right:2%;top:10%}
  .kz-ribbon-track{font-size:11px;gap:16px}
  .kz-flyer-b{display:none}
}
@media (prefers-reduced-motion:reduce){
  .kz-lbf-w,.entry-butterfly-single.kz-bf-holder,.kz-neon,.kz-sparkle,.kz-ribbon-track{animation:none}
  .kz-reveal{opacity:1;transform:none;transition:none}
}

/* ── Liquid chrome decor (pre-rendered PNGs) ── */
.kz-chrome-host{isolation:isolate}
.kz-chrome{position:absolute;z-index:-1;pointer-events:none;transform:rotate(var(--r,0deg));animation:kz-float 9s ease-in-out infinite}
.kz-chrome img{display:block;width:100%;height:auto}
.kz-chrome:nth-of-type(2n){animation-duration:11s;animation-delay:-3s}
@keyframes kz-float{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-12px) rotate(calc(var(--r,0deg) + 6deg))}}
.kz-glint{position:absolute;width:22%;height:22%;top:6%;left:64%;filter:drop-shadow(0 0 4px #fff);animation:kz-twinkle 2.6s ease-in-out infinite}
.kz-chrome-star .kz-glint{display:none}
.kz-chrome-bf .kz-lbf-chrome .kz-lbf-w{-webkit-mask:none;mask:none;background:var(--img) center/100% 100% no-repeat}
.kz-chrome-bf .kz-lbf-chrome .kz-lbf-l{--img:url(assets/chrome/butterfly-left.png)}
.kz-chrome-bf .kz-lbf-chrome .kz-lbf-r{--img:url(assets/chrome/butterfly-right.png)}
/* dark theme: deep shadows on the purple background; light theme: soft pink shadow */
html:not([data-theme="light"]) .kz-chrome{filter:drop-shadow(0 22px 24px #000000d9) drop-shadow(0 6px 8px #05010aa6) drop-shadow(0 0 22px #ff61c52e)}
html[data-theme="light"] .kz-chrome{filter:drop-shadow(0 14px 18px #b0408f40) drop-shadow(0 3px 4px #6b3a8a33)}
@media (max-width:700px){.kz-hide-sm{display:none}}
@media (prefers-reduced-motion:reduce){.kz-chrome,.kz-glint{animation:none}}

/* Butterfly may fly over the card edge (wings are never clipped) */
.entry-card.entry-store{overflow:visible;z-index:2}
.entry-store .entry-butterfly-single.kz-bf-holder{z-index:3}

/* Heart on the booking card: draws itself, then beats gently */
.entry-card-mark.kz-heart-mark{width:118px;height:auto;font-size:0;line-height:0;color:#ff61c5;top:20%;right:6%;transform:rotate(-12deg)}
.kz-heart-mark svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 0 10px #ff61c588)}
.kz-heart-mark path{fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;fill-opacity:0}
.kz-heart-mark.kz-draw path{animation:kz-draw-heart 2.4s cubic-bezier(.6,.1,.3,1) .3s forwards,kz-fill-heart 1s ease 2.5s forwards}
.kz-heart-mark.kz-draw svg{transform-origin:50% 55%;animation:kz-beat 2.6s ease-in-out 2.9s infinite}
@keyframes kz-draw-heart{to{stroke-dashoffset:0}}
@keyframes kz-fill-heart{to{fill:currentColor;fill-opacity:.1}}
@keyframes kz-beat{0%,40%,100%{transform:scale(1)}10%{transform:scale(1.12)}20%{transform:scale(1.02)}30%{transform:scale(1.09)}}
html[data-theme="light"] .entry-card-mark.kz-heart-mark{color:#d94bb3}
html[data-theme="light"] .kz-heart-mark svg{filter:drop-shadow(0 3px 8px #d94bb355)}
@media (max-width:600px){.entry-card-mark.kz-heart-mark{width:84px}}
@media (prefers-reduced-motion:reduce){.kz-heart-mark path{stroke-dashoffset:0;animation:none!important}.kz-heart-mark svg{animation:none!important}}

/* Shop page circle: chrome flapping butterfly instead of the faded static picture */
.products-orbit-butterfly.kz-orbit-bf{position:relative;width:170px;height:auto;background:none;opacity:1;transform:rotate(15deg);animation:kz-hover-orbit 6s ease-in-out infinite;filter:drop-shadow(0 18px 22px #000000c0) drop-shadow(0 0 18px #ff61c540)}
.kz-orbit-bf .kz-glint{top:2%;left:70%}
@keyframes kz-hover-orbit{0%,100%{transform:translateY(0) rotate(15deg)}50%{transform:translateY(-10px) rotate(9deg)}}
html[data-theme="light"] .products-orbit-butterfly.kz-orbit-bf{filter:drop-shadow(0 12px 16px #b0408f45) drop-shadow(0 3px 4px #6b3a8a33)}
@media (max-width:600px){.products-orbit-butterfly.kz-orbit-bf{width:120px}}
@media (prefers-reduced-motion:reduce){.products-orbit-butterfly.kz-orbit-bf{animation:none}}
/* "Sklep" card butterfly in chrome, with deep shadow like the other chrome pieces */
.entry-butterfly-single.kz-bf-holder.kz-chrome-bf{opacity:1}
.entry-butterfly-single.kz-bf-holder.kz-chrome-bf .kz-lbf{filter:drop-shadow(0 16px 18px #000000b0) drop-shadow(0 0 16px #ff61c545)}
html[data-theme="light"] .entry-butterfly-single.kz-bf-holder.kz-chrome-bf .kz-lbf{filter:drop-shadow(0 10px 14px #b0408f45) drop-shadow(0 3px 4px #6b3a8a33)}
/* keep the Sklep card text clear of the butterfly */
.entry-store .entry-card-content p{max-width:min(360px,56%)}
@media (max-width:600px){.entry-store .entry-card-content p{max-width:62%}}

/* ── Language switch PL / UA (left of the theme button) ── */
html.kz-i18n-pending body{visibility:hidden}
.kz-lang{display:inline-flex;align-items:center;gap:2px;height:40px;margin-right:8px;padding:0 4px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font:700 11px 'Space Grotesk';letter-spacing:.08em;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.kz-lang b,.kz-lang span{display:grid;place-items:center;min-width:30px;height:30px;border-radius:999px}
.kz-lang b{background:linear-gradient(120deg,#f05bbd,#a85cff);color:#fff}
.kz-lang span{color:var(--muted)}
.kz-lang:hover{border-color:#f25bc7;box-shadow:0 0 14px #f25bc733}
html[data-theme="light"] .kz-lang{border-color:#3d294522;background:#fff}
@media (max-width:600px){.kz-lang{height:34px;margin-right:4px}.kz-lang b,.kz-lang span{min-width:26px;height:26px;font-size:10px}}
.kz-tools{display:flex;align-items:center;gap:8px}
.kz-tools .kz-lang{margin-right:0}

/* Cyrillic (Ukrainian) glyphs: Space Grotesk / DM Sans have none, so the same family names
   borrow Manrope for the Cyrillic range only (one rule per weight, matching the Google Fonts faces). */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F}
