/* Kirla sale campaigns: loaded on every front-end page while a sale runs (Kirla templates and Flatsome pages). */
.k-camp--bf     { --bar-bg: #e57000; --bar-ink: #0c0c0e; }
.k-camp--xmas   { --bar-bg: #c1121f; --bar-ink: #fff; }
.k-camp--boxing { --bar-bg: #f4b400; --bar-ink: #082247; }
.k-camp--ny     { --bar-bg: #e9c46a; --bar-ink: #0a0e27; }

.k-bar { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 6px 14px; flex-wrap: wrap; min-height: 36px; padding: 7px 20px; background: var(--bar-bg, #e57000); color: var(--bar-ink, #fff) !important; text-decoration: none !important; font: 600 13px/1.25 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.k-bar strong { font: 800 13px/1 "Archivo", "Arial Black", system-ui, sans-serif; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; }
.k-bar s { opacity: .7; margin-left: 4px; }
.k-bar__count { font-variant-numeric: tabular-nums; opacity: .9; }
.k-bar:hover { filter: brightness(1.05); }

/* Seasonal particles: snow at Christmas, orange diamonds for Black Friday, confetti for Boxing Day and New Year. */
#k-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }
@media (prefers-reduced-motion: reduce) { #k-fx { display: none; } }

/* Christmas: an uneven snowdrift along the bottom of the dark hero and page-title bands. */
.k-camp--xmas :is(.k-hero, .k-shop__head) { position: relative; }
.k-camp--xmas :is(.k-hero, .k-shop__head)::after {
	--snow: #fff;
	content: ""; position: absolute; inset: auto 0 -1px 0; width: auto; max-width: none; height: 20px; z-index: 2; opacity: 1;
	background:
		radial-gradient(20px 12px at 50% 100%, var(--snow) 96%, transparent 100%) 0 100% / 40px 13px repeat-x,
		radial-gradient(34px 18px at 50% 100%, var(--snow) 96%, transparent 100%) 17px 100% / 71px 20px repeat-x,
		linear-gradient(var(--snow), var(--snow)) 0 100% / 100% 5px no-repeat;
	-webkit-mask-image: none; mask-image: none; pointer-events: none; border-radius: 0;
}
.k-camp--xmas .k-shop__head::after { --snow: #f5f2ec; }
.k-camp--xmas .k-shop__head { padding-bottom: 48px; }

/* Seasonal decorations in the sale hero: snowflakes, a price tag, a gift and a firework burst. */
.k-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.k-deco i { position: absolute; display: block; background: center / contain no-repeat; opacity: .16; }
.k-camp .k-hero__text > :not(.k-deco) { position: relative; z-index: 1; }
.k-camp--xmas .k-deco i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 50L50.0 6.0 M50.0 20.0L42.9 11.6 M50.0 20.0L57.1 11.6 M50.0 34.0L44.9 27.9 M50.0 34.0L55.1 27.9 M50 50L88.1 28.0 M76.0 35.0L79.7 24.7 M76.0 35.0L86.8 36.9 M63.9 42.0L66.6 34.5 M63.9 42.0L71.7 43.4 M50 50L88.1 72.0 M76.0 65.0L86.8 63.1 M76.0 65.0L79.7 75.3 M63.9 58.0L71.7 56.6 M63.9 58.0L66.6 65.5 M50 50L50.0 94.0 M50.0 80.0L57.1 88.4 M50.0 80.0L42.9 88.4 M50.0 66.0L55.1 72.1 M50.0 66.0L44.9 72.1 M50 50L11.9 72.0 M24.0 65.0L20.3 75.3 M24.0 65.0L13.2 63.1 M36.1 58.0L33.4 65.5 M36.1 58.0L28.3 56.6 M50 50L11.9 28.0 M24.0 35.0L13.2 36.9 M24.0 35.0L20.3 24.7 M36.1 42.0L28.3 43.4 M36.1 42.0L33.4 34.5' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E"); animation: k-spin 40s linear infinite; }
.k-camp--xmas .k-deco i:nth-child(1) { width: 150px; height: 150px; right: -20px; top: 70px; opacity: .2; }
.k-camp--xmas .k-deco i:nth-child(2) { width: 64px; height: 64px; right: 120px; top: 44px; animation-duration: 28s; animation-direction: reverse; }
.k-camp--xmas .k-deco i:nth-child(3) { width: 90px; height: 90px; right: 40px; bottom: 30px; opacity: .1; animation-duration: 55s; }
.k-camp--bf .k-deco i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M54 8h34v34L44 86 10 52z' fill='none' stroke='%23e57000' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='74' cy='22' r='6' fill='none' stroke='%23e57000' stroke-width='3'/%3E%3C/svg%3E"); width: 170px; height: 170px; right: -24px; top: 60px; opacity: .3; transform: rotate(8deg); }
.k-camp--boxing .k-deco i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23f4b400' stroke-width='3' stroke-linejoin='round'%3E%3Crect x='14' y='40' width='72' height='50' rx='3'/%3E%3Crect x='8' y='28' width='84' height='14' rx='3'/%3E%3Cpath d='M50 28v62M50 28c-6-16-26-20-26-8s20 8 26 8c6 0 26 4 26-8s-20-8-26 8'/%3E%3C/g%3E%3C/svg%3E"); width: 150px; height: 150px; right: -10px; top: 70px; opacity: .25; transform: rotate(-8deg); }
.k-camp--ny .k-deco i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M62.0 50.0L94.0 50.0 M60.4 56.0L88.1 72.0 M56.0 60.4L72.0 88.1 M50.0 62.0L50.0 94.0 M44.0 60.4L28.0 88.1 M39.6 56.0L11.9 72.0 M38.0 50.0L6.0 50.0 M39.6 44.0L11.9 28.0 M44.0 39.6L28.0 11.9 M50.0 38.0L50.0 6.0 M56.0 39.6L72.0 11.9 M60.4 44.0L88.1 28.0' stroke='%23e9c46a' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%23e9c46a'/%3E%3C/svg%3E"); animation: k-pop 3.2s ease-in-out infinite; }
.k-camp--ny .k-deco i:nth-child(1) { width: 160px; height: 160px; right: -20px; top: 60px; }
.k-camp--ny .k-deco i:nth-child(2) { width: 80px; height: 80px; right: 140px; top: 30px; animation-delay: 1.1s; }
.k-camp--ny .k-deco i:nth-child(3) { width: 110px; height: 110px; right: 60px; bottom: 40px; animation-delay: 2s; }
@keyframes k-spin { to { transform: rotate(360deg); } }
@keyframes k-pop { 0%, 100% { transform: scale(.7); opacity: .08; } 50% { transform: scale(1); opacity: .32; } }
@media (max-width: 899px) { .k-deco i:nth-child(1) { width: 110px !important; height: 110px !important; top: 90px !important; } }
@media (prefers-reduced-motion: reduce) { .k-deco i { animation: none !important; } }
