/* Extra Christmas touches (preview). Loaded only when VIKI_XMAS2=1. */

/* 1. light snow in the home hero (holiday.js draws it) */
.snow--light { z-index: -1; }

/* 2. snow resting on the floating VIKI cards */
.stage6 .ui6::before { content: ""; position: absolute; left: -5px; right: -5px; top: -9px; height: 22px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M0 13C0 6 6 1 16 1h268c10 0 16 5 16 12 0 3-3 4-4 1-1-3-4-3-5 1-1 5-6 5-7 1-1-3-4-3-5 0-2 4-6 4-7 0-1-3-4-3-5 0-1 6-7 6-8 1-1-3-4-3-5 0-1 3-5 3-6 0-1-4-5-4-6 0-1 4-6 4-7 0-1-3-4-3-5 1-1 3-5 3-6-1-1-3-4-3-5 0-2 5-7 5-8 0-1-3-4-3-5 1-1 3-5 3-6-1H40c-1 3-4 3-5 0-1-3-4-3-5 1-1 4-6 4-7 0-1-3-4-3-5 0-1 3-5 3-6 0-1-4-5-4-6 1-1 3-4 3-5 0C0 17 0 15 0 13z' fill='%23FFFFFF' stroke='%23D6DEE9' stroke-width='1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgba(20,25,40,.10)); }

/* 3. gift bows on the product cards */
.giftline { margin: 10px auto 0; text-align: center; font-weight: 600; color: #C81E33; font-size: 1.05rem; }
.ptile .bow { position: absolute; top: -6px; right: 22px; width: 92px; height: auto; filter: drop-shadow(0 6px 10px rgba(150,20,40,.25)); }
.ptile::after { content: ""; position: absolute; top: 0; bottom: 0; right: 63px; width: 10px; background: linear-gradient(90deg, #D92A3D, #B5162B); opacity: .9; pointer-events: none; z-index: 0; }
.ptile > * { position: relative; z-index: 1; }
.ptile .bow { z-index: 2; position: absolute; }
/* phones: the ribbon wraps across the top of the card like a gift box, and the bow sits centred above the logo, clear of every word */
@media (max-width: 767px) {
  .ptile { padding-top: 74px; }
  .ptile::after { top: 22px; bottom: auto; left: 0; right: 0; width: auto; height: 8px; background: linear-gradient(180deg, #D92A3D, #B5162B); }
  .ptile .bow { top: 2px; left: 50%; right: auto; width: 72px; transform: translateX(-50%); }
}

/* 4. small twinkling lights under the green banner */
.xlights { position: relative; height: 20px; margin-bottom: -20px; z-index: 101; display: flex; justify-content: center; overflow: hidden; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 1 Q20 11 40 1' fill='none' stroke='%232E3A33' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 40px 12px repeat-x; }
.xlights i { flex: none; position: relative; width: 40px; }
.xlights i::before { content: ""; position: absolute; left: 50%; top: 6px; width: 7px; height: 11px; margin-left: -3.5px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--c); box-shadow: 0 0 6px 1px var(--c); animation: xtw 2.6s ease-in-out infinite; animation-delay: var(--d); }
.xlights i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 5px; height: 4px; margin-left: -2.5px; border-radius: 1px; background: #2E3A33; }
@keyframes xtw { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }

/* 5. "Happy holidays" card */
.hcard { position: relative; overflow: hidden; max-width: 760px; margin: 0 auto; padding: 44px 28px; border-radius: 28px; text-align: center; background: linear-gradient(160deg, #FFF6F3, #FFFFFF 45%, #F1FAF5); box-shadow: 0 0 0 1px #F0E3DE, 0 30px 60px -36px rgba(150,30,40,.35); }
.hcard img { width: 72px; height: 72px; margin: 0 auto 14px; }
.hcard h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; }
.hcard p { margin: 12px auto 0; max-width: 520px; color: var(--muted); font-size: 1.05rem; }
.hcard::before, .hcard::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; filter: blur(40px); opacity: .35; pointer-events: none; }
.hcard::before { left: -60px; top: -60px; background: #FF8A95; }
.hcard::after { right: -60px; bottom: -70px; background: #6EDC9E; }
.hcard > * { position: relative; }

@media (prefers-reduced-motion: reduce) { .xlights i::before { animation: none; } }
