/* Temas sazonais — só carregado quando há tema ativo (ver App\Services\Loja\Temas). */

.tema-faixa { background: var(--tema-faixa); color: var(--tema-tinta-faixa, #fff); }
.tema-destaque { color: var(--tema-acento); }
.tema-acento { color: var(--tema-acento); }
.tema-selo { background: color-mix(in srgb, var(--tema-acento) 10%, white); color: var(--tema-acento);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tema-acento) 25%, transparent); }

/* Pisca-pisca sob o cabeçalho */
.tema-luzes { position: relative; height: 18px; overflow: hidden; pointer-events: none; }
.tema-luzes::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10'%3E%3Cpath d='M0 1 Q18 11 36 1' fill='none' stroke='%233d5a45' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 36px 10px repeat-x; opacity: .6; }
.tema-luzes span { position: absolute; top: 6px; width: 7px; height: 10px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--cor); box-shadow: 0 0 6px 1px var(--cor); animation: tema-piscar 2.4s ease-in-out infinite; animation-delay: var(--atraso); }
.tema-luzes span::before { content: ""; position: absolute; top: -3px; left: 1.5px; width: 4px; height: 3px; border-radius: 1px; background: #4a4a50; }
@keyframes tema-piscar { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }

/* Decoração caindo (neve, corações, confete) */
.tema-deco { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.tema-deco i { position: absolute; top: -6vh; left: var(--x); font-style: normal; line-height: 1;
  font-size: var(--tam); animation: tema-cair var(--dur) linear infinite; animation-delay: var(--atraso); will-change: transform; }
.tema-deco-neve i { color: #9fb6d6; opacity: .7; text-shadow: 0 0 2px #fff; }
.tema-deco-coracoes i { color: var(--cor); opacity: .45; }
.tema-deco-confete i { width: calc(var(--tam) * .55); height: var(--tam); background: var(--cor); border-radius: 2px; opacity: .55; }
@keyframes tema-cair {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(var(--deriva), 112vh, 0) rotate(300deg); }
}

/* Árvore de Natal do banner (estrela da marca no topo) */
.tema-arvore .bola { animation: tema-piscar 3s ease-in-out infinite; }
.tema-arvore .bola:nth-child(3n) { animation-delay: -1s; }
.tema-arvore .bola:nth-child(3n+1) { animation-delay: -2s; }

@media (prefers-reduced-motion: reduce) {
  .tema-deco { display: none; }
  .tema-luzes span, .tema-arvore .bola { animation: none; }
}
@media print { .tema-deco, .tema-luzes { display: none; } }
