/* ════════════════════════════════════════════════════════════
   Праздничные темы — holiday-themes.css v2.0
   ════════════════════════════════════════════════════════════ */

/* ── Базовая декорация ───────────────────────────────────────── */
.holiday-theme .hero-home {
  transition: background 0.4s ease;
}

.holiday-floating-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.holiday-floating-decor span {
  position: absolute;
  font-size: clamp(1.2rem, 2.4vw, 2.2rem);
  opacity: 0;
  animation: holiday-float 12s ease-in-out infinite both;
}

/* 5 позиций — разные места и задержки */
.holiday-floating-decor span:nth-child(1) { left: 7%;  top: 15%; animation-delay: 0s;   animation-duration: 11s; }
.holiday-floating-decor span:nth-child(2) { right: 10%; top: 25%; animation-delay: 1.8s; animation-duration: 13s; }
.holiday-floating-decor span:nth-child(3) { left: 40%; bottom: 18%; animation-delay: 3.5s; animation-duration: 10s; }
.holiday-floating-decor span:nth-child(4) { right: 26%; bottom: 25%; animation-delay: 0.9s; animation-duration: 14s; }
.holiday-floating-decor span:nth-child(5) { left: 20%; top: 55%; animation-delay: 2.6s; animation-duration: 12s; }

@keyframes holiday-float {
  0%   { opacity: 0; transform: translateY(8px) rotate(-4deg) scale(.9); }
  15%  { opacity: .22; }
  50%  { opacity: .28; transform: translateY(-16px) rotate(5deg) scale(1.06); }
  85%  { opacity: .22; }
  100% { opacity: 0; transform: translateY(8px) rotate(-4deg) scale(.9); }
}

/* ── Баннер под hero ─────────────────────────────────────────── */
.holiday-home-banner {
  width: min(1140px, calc(100% - 32px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.holiday-home-banner b   { display: block; font-size: .95rem; }
.holiday-home-banner span { font-size: .84rem; opacity: .92; }

/* ── Eyebrow / accent ────────────────────────────────────────── */
.holiday-theme .eyebrow.home-visible-kicker,
.holiday-theme .hero-copy .eyebrow {
  color: rgba(255,255,255,.92);
  letter-spacing: .08em;
}

.holiday-hero-accent {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: .88rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  animation: accent-pulse 3.5s ease-in-out infinite;
}

@keyframes accent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
}

.hero-promo-line {
  margin: 12px 0 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,.94);
  max-width: 36rem;
}
.holiday-theme .hero-promo-line { color: rgba(255,255,255,.96); }

/* ── Блок «auto-holiday-promo» ───────────────────────────────── */
.auto-holiday-promo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8ef, #fff);
  border: 1px solid #ffd8a8;
  font-size: .88rem;
}
.auto-holiday-promo-icon { font-size: 1.2rem; line-height: 1; }
.auto-holiday-promo b     { color: #7a4510; display: block; }
.auto-holiday-promo small { color: #8a5a2d; display: block; margin-top: 2px; }


/* ════════════════════════════════════════════════════════════
   НОВЫЙ ГОД — snowfall
   ════════════════════════════════════════════════════════════ */
.holiday-theme--newyear .hero-home {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,215,120,.32), transparent 34%),
    radial-gradient(circle at 85% 75%, rgba(120,200,255,.25), transparent 32%),
    linear-gradient(135deg, #0d1c4a 0%, #2a2280 45%, #4a3acc 100%);
  animation: ny-shimmer 8s ease-in-out infinite;
}

@keyframes ny-shimmer {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.06) saturate(1.1); }
}

/* Снежинки — разные скорости и позиции */
.holiday-theme--newyear .holiday-floating-decor span {
  animation-name: ny-snowfall;
  animation-timing-function: linear;
  opacity: 0;
}

.holiday-theme--newyear .holiday-floating-decor span:nth-child(1) { left: 10%;  animation-duration: 9s;  animation-delay: 0s;   font-size: 1.4rem; }
.holiday-theme--newyear .holiday-floating-decor span:nth-child(2) { left: 30%;  animation-duration: 12s; animation-delay: 1.5s; font-size: 1rem; }
.holiday-theme--newyear .holiday-floating-decor span:nth-child(3) { left: 55%;  animation-duration: 10s; animation-delay: 3s;   font-size: 1.6rem; }
.holiday-theme--newyear .holiday-floating-decor span:nth-child(4) { left: 75%;  animation-duration: 14s; animation-delay: 0.8s; font-size: .9rem; }
.holiday-theme--newyear .holiday-floating-decor span:nth-child(5) { left: 88%;  animation-duration: 11s; animation-delay: 2.2s; font-size: 1.2rem; }

@keyframes ny-snowfall {
  0%   { top: -8%; opacity: 0; transform: translateX(0) rotate(0deg); }
  10%  { opacity: .35; }
  90%  { opacity: .25; }
  100% { top: 108%; opacity: 0; transform: translateX(30px) rotate(360deg); }
}

.holiday-theme--newyear .holiday-hero-accent {
  background: linear-gradient(90deg, rgba(255,215,120,.3), rgba(180,220,255,.25), rgba(255,215,120,.3));
  background-size: 200% auto;
  animation: ny-gold-shine 3s linear infinite, accent-pulse 4s ease-in-out infinite;
  color: #fff;
}

@keyframes ny-gold-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}


/* ════════════════════════════════════════════════════════════
   14 ФЕВРАЛЯ — floating hearts
   ════════════════════════════════════════════════════════════ */
.holiday-theme--feb14 .hero-home {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,120,160,.4), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(255,180,210,.2), transparent 30%),
    linear-gradient(135deg, #5a1238 0%, #a02860 48%, #e05090 100%);
  animation: feb14-glow 5s ease-in-out infinite;
}

@keyframes feb14-glow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50%       { filter: brightness(1.07) saturate(1.15); }
}

.holiday-theme--feb14 .holiday-floating-decor span {
  animation-name: heart-rise;
  animation-timing-function: ease-out;
  color: rgba(255,180,200,.9);
}

.holiday-theme--feb14 .holiday-floating-decor span:nth-child(1) { left: 12%;  animation-duration: 7s;  animation-delay: 0s;   font-size: 1.6rem; }
.holiday-theme--feb14 .holiday-floating-decor span:nth-child(2) { left: 35%;  animation-duration: 9s;  animation-delay: 1.2s; font-size: 1rem; }
.holiday-theme--feb14 .holiday-floating-decor span:nth-child(3) { left: 60%;  animation-duration: 8s;  animation-delay: 2.5s; font-size: 1.4rem; }
.holiday-theme--feb14 .holiday-floating-decor span:nth-child(4) { left: 80%;  animation-duration: 10s; animation-delay: 0.6s; font-size: .8rem; }
.holiday-theme--feb14 .holiday-floating-decor span:nth-child(5) { left: 50%;  animation-duration: 11s; animation-delay: 3.8s; font-size: 1.2rem; }

@keyframes heart-rise {
  0%   { bottom: -5%; opacity: 0; transform: scale(.6) translateX(0); top: auto; }
  15%  { opacity: .35; transform: scale(1) translateX(-8px); }
  50%  { opacity: .3; transform: scale(1.1) translateX(12px); }
  85%  { opacity: .2; transform: scale(.9) translateX(-5px); }
  100% { bottom: 110%; opacity: 0; transform: scale(.7) translateX(0); top: auto; }
}

.holiday-theme--feb14 .holiday-hero-accent {
  background: rgba(255,160,190,.22);
  border: 1px solid rgba(255,160,190,.4);
  animation: feb14-accent-beat 1.4s ease-in-out infinite, accent-pulse 4s ease-in-out infinite;
}

@keyframes feb14-accent-beat {
  0%, 100% { transform: scale(1); }
  30%       { transform: scale(1.03); }
  60%       { transform: scale(.98); }
}


/* ════════════════════════════════════════════════════════════
   23 ФЕВРАЛЯ — stars ascending
   ════════════════════════════════════════════════════════════ */
.holiday-theme--feb23 .hero-home {
  background:
    radial-gradient(circle at 80% 20%, rgba(120,180,120,.28), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(180,220,180,.15), transparent 28%),
    linear-gradient(150deg, #0d2218 0%, #1a3d28 50%, #2a5c3a 100%);
}

.holiday-theme--feb23 .holiday-floating-decor span {
  animation-name: star-ascend;
  color: rgba(255,230,120,.9);
}
.holiday-theme--feb23 .holiday-floating-decor span:nth-child(1) { left: 15%; animation-duration: 9s;  animation-delay: 0s; }
.holiday-theme--feb23 .holiday-floating-decor span:nth-child(2) { left: 40%; animation-duration: 11s; animation-delay: 2s; }
.holiday-theme--feb23 .holiday-floating-decor span:nth-child(3) { left: 65%; animation-duration: 8s;  animation-delay: 1s; }
.holiday-theme--feb23 .holiday-floating-decor span:nth-child(4) { left: 80%; animation-duration: 13s; animation-delay: 3s; }
.holiday-theme--feb23 .holiday-floating-decor span:nth-child(5) { left: 55%; animation-duration: 10s; animation-delay: 4s; }

@keyframes star-ascend {
  0%   { bottom: -5%; opacity: 0; top: auto; transform: scale(.8) rotate(-10deg); }
  20%  { opacity: .35; transform: scale(1.1) rotate(5deg); }
  80%  { opacity: .2; }
  100% { bottom: 110%; opacity: 0; top: auto; transform: scale(.6) rotate(20deg); }
}


/* ════════════════════════════════════════════════════════════
   8 МАРТА — petals falling
   ════════════════════════════════════════════════════════════ */
.holiday-theme--mar8 .hero-home {
  background:
    radial-gradient(circle at 18% 24%, rgba(255,180,210,.4), transparent 36%),
    radial-gradient(circle at 75% 65%, rgba(255,140,180,.2), transparent 30%),
    linear-gradient(135deg, #6a2050 0%, #b83275 45%, #e878a8 100%);
  animation: mar8-bloom 7s ease-in-out infinite;
}

@keyframes mar8-bloom {
  0%, 100% { filter: brightness(1) saturate(1); }
  50%       { filter: brightness(1.05) saturate(1.2); }
}

.holiday-theme--mar8 .holiday-floating-decor span {
  animation-name: petal-fall;
  animation-timing-function: ease-in-out;
}

.holiday-theme--mar8 .holiday-floating-decor span:nth-child(1) { left: 8%;  animation-duration: 8s;  animation-delay: 0s;   font-size: 1.4rem; }
.holiday-theme--mar8 .holiday-floating-decor span:nth-child(2) { left: 28%; animation-duration: 11s; animation-delay: 1.5s; font-size: 1rem; }
.holiday-theme--mar8 .holiday-floating-decor span:nth-child(3) { left: 52%; animation-duration: 9s;  animation-delay: 3s;   font-size: 1.6rem; }
.holiday-theme--mar8 .holiday-floating-decor span:nth-child(4) { left: 72%; animation-duration: 13s; animation-delay: 0.8s; font-size: .85rem; }
.holiday-theme--mar8 .holiday-floating-decor span:nth-child(5) { left: 88%; animation-duration: 10s; animation-delay: 2.5s; font-size: 1.2rem; }

@keyframes petal-fall {
  0%   { top: -6%; opacity: 0; transform: rotate(0deg) translateX(0); }
  15%  { opacity: .3; }
  50%  { transform: rotate(120deg) translateX(20px); }
  85%  { opacity: .2; }
  100% { top: 110%; opacity: 0; transform: rotate(240deg) translateX(-15px); }
}

.holiday-theme--mar8 .holiday-hero-accent {
  background: linear-gradient(90deg, rgba(255,180,210,.3), rgba(255,220,240,.25), rgba(255,180,210,.3));
  background-size: 200% auto;
  animation: ny-gold-shine 4s linear infinite, accent-pulse 4s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════════
   1 МАЯ + 9 МАЯ — spring
   ════════════════════════════════════════════════════════════ */
.holiday-theme--may1 .hero-home,
.holiday-theme--may9 .hero-home {
  background:
    radial-gradient(circle at 12% 18%, rgba(180,255,180,.22), transparent 32%),
    radial-gradient(circle at 80% 75%, rgba(120,220,140,.15), transparent 28%),
    linear-gradient(135deg, #0e3318 0%, #1d5c30 55%, #2e8045 100%);
  animation: may-glow 9s ease-in-out infinite;
}

@keyframes may-glow {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.07) saturate(1.1); }
}

.holiday-theme--may1 .holiday-floating-decor span,
.holiday-theme--may9 .holiday-floating-decor span {
  animation-name: leaf-sway;
  color: rgba(200,255,200,.8);
}

@keyframes leaf-sway {
  0%   { opacity: 0; transform: translateY(0) rotate(-8deg) scale(.8); }
  20%  { opacity: .28; }
  50%  { transform: translateY(-20px) rotate(8deg) scale(1.1); }
  80%  { opacity: .2; }
  100% { opacity: 0; transform: translateY(0) rotate(-8deg) scale(.8); }
}


/* ════════════════════════════════════════════════════════════
   ДЕНЬ РОССИИ — blue/white
   ════════════════════════════════════════════════════════════ */
.holiday-theme--jun12 .hero-home {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,220,255,.2), transparent 40%),
    linear-gradient(135deg, #111c44 0%, #1e3480 40%, #3a56c0 100%);
}

.holiday-theme--jun12 .holiday-floating-decor span {
  color: rgba(220,230,255,.8);
  animation-name: star-twinkle;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0; transform: scale(.5); }
  30%, 70%  { opacity: .3; transform: scale(1); }
  50%        { opacity: .35; transform: scale(1.2); }
}


/* ════════════════════════════════════════════════════════════
   1 СЕНТЯБРЯ — school
   ════════════════════════════════════════════════════════════ */
.holiday-theme--sep1 .hero-home {
  background:
    radial-gradient(circle at 75% 18%, rgba(255,210,120,.28), transparent 30%),
    radial-gradient(circle at 25% 75%, rgba(180,160,255,.15), transparent 28%),
    linear-gradient(135deg, #3a2c7a 0%, #4e40bc 50%, #6a5ce0 100%);
}

.holiday-theme--sep1 .holiday-floating-decor span {
  color: rgba(255,220,160,.85);
  animation-name: bounce-in;
  animation-timing-function: ease-out;
}

@keyframes bounce-in {
  0%   { opacity: 0; transform: translateY(-20px) scale(.7); }
  25%  { opacity: .35; transform: translateY(4px) scale(1.08); }
  50%  { transform: translateY(-10px) scale(.96); }
  75%  { transform: translateY(2px) scale(1.03); }
  100% { opacity: 0; transform: translateY(-20px) scale(.7); }
}


/* ════════════════════════════════════════════════════════════
   ХЭЛЛОУИН — bats + flicker
   ════════════════════════════════════════════════════════════ */
.holiday-theme--halloween .hero-home {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,120,30,.22), transparent 34%),
    radial-gradient(circle at 20% 70%, rgba(180,50,200,.18), transparent 28%),
    linear-gradient(135deg, #0d0818 0%, #2a1040 50%, #4a1a70 100%);
  animation: halloween-flicker 0.5s steps(1) infinite;
}

@keyframes halloween-flicker {
  0%   { filter: brightness(1); }
  92%  { filter: brightness(1); }
  93%  { filter: brightness(1.18); }
  94%  { filter: brightness(1); }
  96%  { filter: brightness(1.1); }
  100% { filter: brightness(1); }
}

.holiday-theme--halloween .holiday-floating-decor span {
  animation-name: bat-fly;
  color: rgba(255,160,60,.8);
  animation-timing-function: ease-in-out;
}

.holiday-theme--halloween .holiday-floating-decor span:nth-child(1) { animation-duration: 6s;  animation-delay: 0s; }
.holiday-theme--halloween .holiday-floating-decor span:nth-child(2) { animation-duration: 8s;  animation-delay: 1s; }
.holiday-theme--halloween .holiday-floating-decor span:nth-child(3) { animation-duration: 7s;  animation-delay: 2.5s; }
.holiday-theme--halloween .holiday-floating-decor span:nth-child(4) { animation-duration: 9s;  animation-delay: 0.5s; }
.holiday-theme--halloween .holiday-floating-decor span:nth-child(5) { animation-duration: 10s; animation-delay: 3.5s; }

@keyframes bat-fly {
  0%   { opacity: 0; transform: translateX(-30px) translateY(0) scaleX(-1); left: -5%; top: 40%; }
  20%  { opacity: .35; transform: translateX(0) translateY(-20px) scaleX(-1); }
  50%  { transform: translateX(50px) translateY(10px) scaleX(1); }
  80%  { opacity: .25; transform: translateX(80px) translateY(-15px) scaleX(1); }
  100% { opacity: 0; transform: translateX(110vw) translateY(0) scaleX(1); }
}

.holiday-theme--halloween .holiday-hero-accent {
  background: rgba(255,120,30,.22);
  border: 1px solid rgba(255,140,50,.45);
  color: rgba(255,220,160,.95);
  animation: halloween-accent 2.5s ease-in-out infinite;
}

@keyframes halloween-accent {
  0%, 100% { text-shadow: 0 0 8px rgba(255,140,60,.4); }
  50%       { text-shadow: 0 0 16px rgba(255,140,60,.7); }
}


/* ════════════════════════════════════════════════════════════
   4 НОЯБРЯ — autumn leaves
   ════════════════════════════════════════════════════════════ */
.holiday-theme--nov4 .hero-home {
  background:
    radial-gradient(circle at 20% 70%, rgba(255,160,90,.25), transparent 32%),
    radial-gradient(circle at 75% 25%, rgba(200,100,50,.18), transparent 28%),
    linear-gradient(135deg, #3a1c0a 0%, #6a3818 50%, #9a5a2a 100%);
}

.holiday-theme--nov4 .holiday-floating-decor span {
  animation-name: autumn-leaf;
  animation-timing-function: ease-in-out;
}

.holiday-theme--nov4 .holiday-floating-decor span:nth-child(1) { font-size: 1.4rem; color: rgba(255,150,50,.8); }
.holiday-theme--nov4 .holiday-floating-decor span:nth-child(2) { font-size: 1.0rem; color: rgba(220,100,40,.7); }
.holiday-theme--nov4 .holiday-floating-decor span:nth-child(3) { font-size: 1.6rem; color: rgba(255,180,70,.8); }
.holiday-theme--nov4 .holiday-floating-decor span:nth-child(4) { font-size: 0.9rem; color: rgba(200,80,30,.7); }
.holiday-theme--nov4 .holiday-floating-decor span:nth-child(5) { font-size: 1.2rem; color: rgba(240,140,50,.75); }

@keyframes autumn-leaf {
  0%   { top: -6%; opacity: 0; transform: rotate(0deg) translateX(0); }
  15%  { opacity: .35; }
  33%  { transform: rotate(40deg) translateX(25px); }
  66%  { transform: rotate(-20deg) translateX(-20px); }
  85%  { opacity: .22; }
  100% { top: 110%; opacity: 0; transform: rotate(60deg) translateX(10px); }
}


/* ════════════════════════════════════════════════════════════
   ЧЁРНАЯ ПЯТНИЦА — flash + glow
   ════════════════════════════════════════════════════════════ */
.holiday-theme--black_friday .hero-home {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,210,80,.18), transparent 42%),
    linear-gradient(135deg, #080808 0%, #141428 55%, #1e1e3a 100%);
  animation: bf-hero-pulse 5s ease-in-out infinite;
}

@keyframes bf-hero-pulse {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.1) saturate(1.2); }
}

.holiday-theme--black_friday .holiday-floating-decor span {
  animation-name: bf-tag-drift;
  animation-timing-function: ease-in-out;
}

.holiday-theme--black_friday .holiday-floating-decor span:nth-child(1) { color: #ffd54a; animation-delay: 0s;   font-size: 1.6rem; }
.holiday-theme--black_friday .holiday-floating-decor span:nth-child(2) { color: #fff;    animation-delay: 1.2s; }
.holiday-theme--black_friday .holiday-floating-decor span:nth-child(3) { color: #ff6b35; animation-delay: 2.4s; font-size: 1.8rem; }
.holiday-theme--black_friday .holiday-floating-decor span:nth-child(4) { color: #ffd54a; animation-delay: 0.6s; }
.holiday-theme--black_friday .holiday-floating-decor span:nth-child(5) { color: #ff6b35; animation-delay: 3.2s; font-size: 1.1rem; }

@keyframes bf-tag-drift {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.8); }
  20%, 80%  { opacity: .4; }
  50%        { opacity: .45; transform: translateY(-22px) scale(1.15); }
}

.holiday-theme--black_friday .holiday-hero-accent,
.holiday-theme--black_friday .hero-promo-line {
  background: linear-gradient(90deg, #ffd54a, #ff8c42, #ffd54a);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bf-shine 2.5s linear infinite;
  border: 1px solid rgba(255,213,74,.4);
  padding: 8px 14px;
  border-radius: 999px;
}

@keyframes bf-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Счётчик / badge анимация для чёрной пятницы */
.holiday-theme--black_friday .eyebrow.home-visible-kicker {
  animation: bf-eyebrow-flash 2s ease-in-out infinite;
}
@keyframes bf-eyebrow-flash {
  0%, 100% { opacity: .92; }
  50%       { opacity: 1; text-shadow: 0 0 12px rgba(255,213,74,.5); }
}


/* ════════════════════════════════════════════════════════════
   РОЖДЕСТВО — warm snow + sparkle
   ════════════════════════════════════════════════════════════ */
.holiday-theme--christmas .hero-home {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,100,100,.18), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(100,200,140,.2), transparent 28%),
    linear-gradient(135deg, #0e2e1c 0%, #1a4c30 50%, #2a6a44 100%);
  animation: christmas-glow 8s ease-in-out infinite;
}

@keyframes christmas-glow {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.06) saturate(1.1); }
}

.holiday-theme--christmas .holiday-floating-decor span {
  animation-name: christmas-sparkle;
}

.holiday-theme--christmas .holiday-floating-decor span:nth-child(1) { color: #ffd700; }
.holiday-theme--christmas .holiday-floating-decor span:nth-child(2) { color: rgba(255,255,255,.8); }
.holiday-theme--christmas .holiday-floating-decor span:nth-child(3) { color: #ff6060; }
.holiday-theme--christmas .holiday-floating-decor span:nth-child(4) { color: #ffd700; }
.holiday-theme--christmas .holiday-floating-decor span:nth-child(5) { color: rgba(200,255,220,.8); }

@keyframes christmas-sparkle {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  20%  { opacity: .38; transform: scale(1.2) rotate(15deg); }
  50%  { opacity: .32; transform: scale(1) rotate(0deg); }
  70%  { opacity: .38; transform: scale(1.15) rotate(-10deg); }
  100% { opacity: 0; transform: scale(0) rotate(0deg); }
}

.holiday-theme--christmas .holiday-hero-accent {
  background: linear-gradient(90deg, rgba(255,200,100,.3), rgba(100,220,140,.25), rgba(255,200,100,.3));
  background-size: 200% auto;
  animation: ny-gold-shine 5s linear infinite, accent-pulse 4s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════════
   ПАСХА — rainbow shimmer + egg bounce
   ════════════════════════════════════════════════════════════ */
.holiday-theme--easter .hero-home {
  background:
    radial-gradient(circle at 25% 25%, rgba(255,245,180,.3), transparent 38%),
    radial-gradient(circle at 75% 65%, rgba(180,220,255,.22), transparent 32%),
    linear-gradient(135deg, #4060c0 0%, #6080e0 50%, #90aaf0 100%);
  animation: easter-rainbow 10s ease-in-out infinite;
}

@keyframes easter-rainbow {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  25%  { filter: hue-rotate(20deg) brightness(1.05); }
  50%  { filter: hue-rotate(0deg) brightness(1.08); }
  75%  { filter: hue-rotate(-20deg) brightness(1.05); }
  100% { filter: hue-rotate(0deg) brightness(1); }
}

.holiday-theme--easter .holiday-floating-decor span {
  animation-name: egg-bounce;
}

.holiday-theme--easter .holiday-floating-decor span:nth-child(1) { color: rgba(255,200,100,.8); }
.holiday-theme--easter .holiday-floating-decor span:nth-child(2) { color: rgba(200,255,200,.8); }
.holiday-theme--easter .holiday-floating-decor span:nth-child(3) { color: rgba(255,180,220,.8); }
.holiday-theme--easter .holiday-floating-decor span:nth-child(4) { color: rgba(200,220,255,.8); }
.holiday-theme--easter .holiday-floating-decor span:nth-child(5) { color: rgba(255,230,180,.8); }

@keyframes egg-bounce {
  0%   { opacity: 0; transform: translateY(0) scale(.7); }
  15%  { opacity: .35; transform: translateY(-16px) scale(1.1); }
  30%  { transform: translateY(6px) scale(.95); }
  45%  { transform: translateY(-10px) scale(1.05); }
  60%  { opacity: .28; transform: translateY(3px) scale(.98); }
  80%  { opacity: .2; }
  100% { opacity: 0; transform: translateY(0) scale(.7); }
}

.holiday-theme--easter .holiday-hero-accent {
  animation: easter-accent-shine 3s linear infinite, accent-pulse 4s ease-in-out infinite;
  background: linear-gradient(90deg,
    rgba(255,200,100,.3),
    rgba(200,255,200,.25),
    rgba(200,200,255,.3),
    rgba(255,200,100,.3));
  background-size: 300% auto;
}

@keyframes easter-accent-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}


/* Отключение праздничных анимаций — галочка «Выключить анимацию» в панели Aa */
html.a11y-reduce-motion .holiday-floating-decor {
  display: none !important;
}

html.a11y-reduce-motion .holiday-hero-accent,
html.a11y-reduce-motion .holiday-theme .hero-home,
html.a11y-reduce-motion [class*="holiday-theme--"] .hero-home {
  animation: none !important;
}


/* ════════════════════════════════════════════════════════════
   Visitor region chip (из прежней версии — сохраняем)
   ════════════════════════════════════════════════════════════ */
.site-header:has(.region-prompt-bubble) { position: relative; z-index: 110; overflow: visible; }
.brand-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; position: relative; }

.visitor-region-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 4px 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(91,70,232,.18);
  font-size: .72rem; line-height: 1.2; box-shadow: 0 2px 8px rgba(40,20,100,.08);
}
.visitor-region-chip-label { color: #5a4a78; font-weight: 600; white-space: nowrap; }
.visitor-region-chip-btn {
  border: 0; background: #f3f0fb; color: #5a4a78; border-radius: 999px;
  padding: 3px 8px; font: inherit; font-size: .68rem; font-weight: 700;
  cursor: pointer; transition: background .15s, color .15s;
}
.visitor-region-chip[data-abroad="0"] .visitor-region-chip-btn[data-abroad-set="0"],
.visitor-region-chip[data-abroad="1"] .visitor-region-chip-btn[data-abroad-set="1"] { background: #5b46e8; color: #fff; }
.visitor-region-chip[data-ambiguous="1"] { border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.15); }
.visitor-region-chip.is-busy { opacity: .72; pointer-events: none; }
.visitor-region-chip-btn:disabled, .visitor-region-cur-btn:disabled { cursor: wait; opacity: .7; }

.abroad-prompt-overlay {
  position: fixed; inset: 0; z-index: 12000;
  background: rgba(15,10,40,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.abroad-prompt-card {
  width: min(420px,100%); background: #fff; border-radius: 18px;
  padding: 22px 20px; box-shadow: 0 18px 50px rgba(40,20,100,.22);
}
.abroad-prompt-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.abroad-prompt-card p  { margin: 0 0 16px; color: #6b7280; font-size: .88rem; line-height: 1.5; }
.abroad-prompt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.abroad-prompt-actions button { flex: 1; min-width: 120px; border: 0; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.abroad-prompt-actions .abroad-yes { background: #5b46e8; color: #fff; }
.abroad-prompt-actions .abroad-no  { background: #f3f0fb; color: #4c1d95; }

.checkout-payment-methods   { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.checkout-payment-option    { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid #e0d9f5; border-radius: 12px; cursor: pointer; font-size: .88rem; transition: border-color .15s, background .15s, box-shadow .15s; }
.checkout-payment-option:has(input:checked) { border-color: #7c3aed; background: linear-gradient(135deg,#faf5ff,#f5f3ff); box-shadow: 0 4px 14px rgba(124,58,237,.12); }
.checkout-payment-option input { accent-color: #7c3aed; }
.checkout-pay-icon { width: 36px; height: 36px; border-radius: 10px; background: #f3f0fb; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.checkout-pay-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.checkout-pay-copy b { font-size: .92rem; color: #1f2937; }
.checkout-pay-copy em { font-size: .76rem; color: #6b7280; font-style: normal; }
.checkout-crypto-group { border: 2px solid #e0d9f5; border-radius: 14px; overflow: hidden; background: #fff; }
.checkout-crypto-group.is-open { border-color: #a78bfa; box-shadow: 0 8px 24px rgba(124,58,237,.1); }
.checkout-crypto-group .checkout-crypto-trigger { border: 0; border-radius: 0; margin: 0; }
.checkout-crypto-group.has-selection .checkout-crypto-trigger:has(input:checked) { background: linear-gradient(135deg,#faf5ff,#f5f3ff); }
.checkout-crypto-main-icon { background: linear-gradient(135deg,#7c3aed,#a855f7) !important; color: #fff; }
.checkout-crypto-chevron { color: #7c3aed; font-size: .9rem; transition: transform .2s; margin-left: auto; }
.checkout-crypto-group.is-open .checkout-crypto-chevron { transform: rotate(180deg); }
.checkout-crypto-panel { display: none; padding: 0 12px 12px; border-top: 1px solid #ede9fe; background: #fcfbff; }
.checkout-crypto-group.is-open .checkout-crypto-panel { display: block; }
.checkout-crypto-hint { margin: 10px 0 8px; font-size: .78rem; color: #6b7280; }
.checkout-crypto-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
@media (min-width: 520px) { .checkout-crypto-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.checkout-crypto-coin { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1.5px solid #e5e7eb; border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, transform .12s, box-shadow .15s; }
.checkout-crypto-coin:hover { border-color: #c4b5fd; transform: translateY(-1px); }
.checkout-crypto-coin.is-selected, .checkout-crypto-coin:has(input:checked) { border-color: #7c3aed; background: #f5f3ff; box-shadow: 0 4px 12px rgba(124,58,237,.1); }
.checkout-crypto-coin input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-crypto-coin-icon { width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.checkout-crypto-coin-body { display: flex; flex-direction: column; min-width: 0; }
.checkout-crypto-coin-body b { font-size: .82rem; color: #111827; }
.checkout-crypto-coin-body small { font-size: .68rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.region-prompt-bubble {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 5000;
  display: flex; align-items: flex-start; gap: 8px;
  width: min(248px, calc(100vw - 28px)); padding: 9px 10px 10px;
  border-radius: 14px 14px 14px 5px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(91,70,232,.14);
  box-shadow: 0 8px 24px rgba(40,20,100,.1), 0 2px 6px rgba(91,70,232,.06);
  font-size: .72rem; color: #5a4a78;
  animation: region-bubble-in .45s cubic-bezier(.22,1,.36,1) both;
  pointer-events: auto;
}
.region-prompt-bubble::before {
  content: ""; position: absolute; top: -5px; left: 18px;
  width: 10px; height: 10px; background: rgba(255,255,255,.97);
  border-left: 1px solid rgba(91,70,232,.14); border-top: 1px solid rgba(91,70,232,.14);
  transform: rotate(45deg);
}
@keyframes region-bubble-in {
  from { opacity: 0; transform: translateY(-6px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.region-prompt-bubble-icon   { flex-shrink: 0; font-size: .95rem; line-height: 1; margin-top: 1px; filter: grayscale(.15); }
.region-prompt-bubble-body   { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.region-prompt-bubble-title  { display: block; font-size: .76rem; font-weight: 700; color: #3d2f62; line-height: 1.25; }
.region-prompt-bubble-sub    { display: block; font-size: .64rem; line-height: 1.35; color: #8b7da8; }
.region-prompt-bubble-actions { display: flex; gap: 5px; margin-top: 2px; }
.region-prompt-bubble-btn    { flex: 1; border: 0; border-radius: 999px; padding: 4px 8px; font: inherit; font-size: .66rem; font-weight: 700; cursor: pointer; background: #f3f0fb; color: #4c1d95; transition: background .15s, transform .12s; }
.region-prompt-bubble-btn:hover { transform: translateY(-1px); }
.region-prompt-bubble-btn--yes  { background: #5b46e8; color: #fff; }
.region-prompt-bubble-close     { position: absolute; top: 4px; right: 5px; border: 0; background: transparent; color: #b8afc8; font-size: .95rem; line-height: 1; padding: 2px 4px; cursor: pointer; border-radius: 6px; }
.region-prompt-bubble-close:hover { color: #6b5a8a; background: #f5f2fb; }

@media (max-width: 720px) {
  .region-prompt-bubble { left: auto; right: 0; border-radius: 14px 14px 5px 14px; }
  .region-prompt-bubble::before { left: auto; right: 18px; }
}

.visitor-region-cur-btn { border: 0; background: #f3f0fb; color: #5a4a78; border-radius: 999px; padding: 3px 7px; font: inherit; font-size: .68rem; font-weight: 700; cursor: pointer; }
.visitor-region-cur-btn[data-active="1"] { background: #5b46e8; color: #fff; }

.crypto-pay-card .crypto-qr-wrap { display: flex; justify-content: center; margin: 18px 0; }
.crypto-pay-card .crypto-pay-details code { display: block; word-break: break-all; padding: 10px 12px; background: #f8f6ff; border-radius: 10px; margin: 6px 0 12px; font-size: .82rem; }
.crypto-pay-card .crypto-address { font-size: .78rem; }

.cart-promo-remove { border: 0; background: #f3f4f6; color: #6b7280; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: .85rem; line-height: 1; flex-shrink: 0; }
.cart-promo-remove:hover { background: #fee2e2; color: #b91c1c; }
