/* Сезон и праздник: фон страницы и цвет пятен над панорамой.
   Бренд (синяя шапка, логотип, кнопки) остаётся своим. */

body[data-season="autumn"] { background: #f4eee6; }
body[data-season="winter"] { background: #eef3f8; }
body[data-season="spring"] { background: #f4f7f2; }
body[data-season="summer"] { background: #f7f4ea; }
body[data-season="ny"] {
  background: #e7f0fa;
  --ny-flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%235d7ea3' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 1.5v21M3.8 6.2l16.4 11.6M20.2 6.2L3.8 17.8'/%3E%3Cpath d='M12 5.2L9.6 3.4M12 5.2l2.4-1.8M12 18.8L9.6 20.6M12 18.8l2.4 1.8'/%3E%3C/g%3E%3C/svg%3E");
  --ny-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='260' viewBox='0 0 220 260'%3E%3Cg fill='none' stroke='%238eafd0' stroke-width='1.5' stroke-linecap='round' opacity='0.7'%3E%3Cg transform='translate(16 28) scale(.72)'%3E%3Cpath d='M12 1.5v21M3.8 6.2l16.4 11.6M20.2 6.2L3.8 17.8'/%3E%3C/g%3E%3Cg transform='translate(150 150) scale(.5)'%3E%3Cpath d='M12 1.5v21M3.8 6.2l16.4 11.6M20.2 6.2L3.8 17.8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --ny-drift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 48h240V26c-16 10-32-8-52-4s-28 16-48 10-34-18-54-8-28 18-46 12S18 20 0 28v20z'/%3E%3Cpath fill='%23f3f7fc' d='M0 48h240V34c-20 6-36-6-56-2s-30 12-50 6-32-14-50-6-28 14-48 8S24 32 0 36v12z'/%3E%3C/svg%3E");
}
body[data-season="ny"] .page-shell {
  background-color: #f6f9fd;
  background-image: var(--ny-field);
  background-size: 220px 260px;
}
body[data-season="may9"] { background: #f6f3ee; }
body[data-season="sep1"] { background: #f7f1ea; }
body[data-season="halloween"] { background: #f3eee8; }

body[data-season="autumn"] .ga-header-spot--sun { background: #e08a2e; }
body[data-season="autumn"] .ga-header-spot--mint { background: #c45c32; }
body[data-season="autumn"] .ga-header-spot--lilac { background: #e7c27a; }
body[data-season="autumn"] .ga-header-spot--blush { background: #d4653a; }

body[data-season="winter"] .ga-header-spot--sun { background: #f4f8fc; opacity: 0.9; }
body[data-season="winter"] .ga-header-spot--mint { background: #c5dced; }
body[data-season="winter"] .ga-header-spot--iris { background: #9eb6d4; }
body[data-season="winter"] .ga-header-spot--lilac { background: #d5e4f4; }
body[data-season="winter"] .ga-header-spot--blush { background: #e7eef6; }

body[data-season="spring"] .ga-header-spot--sun { background: #f3b6cb; }
body[data-season="spring"] .ga-header-spot--mint { background: #8fce9a; }
body[data-season="spring"] .ga-header-spot--lilac { background: #f7d6e4; }
body[data-season="spring"] .ga-header-spot--blush { background: #d7efc8; }

body[data-season="summer"] .ga-header-spot--sun { background: #f5c542; opacity: 0.8; }
body[data-season="summer"] .ga-header-spot--mint { background: #7ec8ea; }
body[data-season="summer"] .ga-header-spot--blush { background: #f7d78a; }

body[data-season="ny"] .ga-header-spot--sun { background: #f6e7b4; }
body[data-season="ny"] .ga-header-spot--mint { background: #1f6b45; opacity: 0.7; }
body[data-season="ny"] .ga-header-spot--iris { background: #d4af37; }
body[data-season="ny"] .ga-header-spot--lilac { background: #f6e7b4; }
body[data-season="ny"] .ga-header-spot--blush { background: #8c98f2; }

body[data-season="may9"] .ga-header-spot--sun { background: #e37b12; }
body[data-season="may9"] .ga-header-spot--mint { background: #1a1a1a; opacity: 0.35; }
body[data-season="may9"] .ga-header-spot--lilac { background: #f0a04a; }
body[data-season="may9"] .ga-header-spot--blush { background: #c45c32; }

body[data-season="sep1"] .ga-header-spot--sun { background: #e2b15a; }
body[data-season="sep1"] .ga-header-spot--mint { background: #c45c3e; }
body[data-season="sep1"] .ga-header-spot--lilac { background: #f3d48a; }
body[data-season="sep1"] .ga-header-spot--blush { background: #7a2f3a; opacity: 0.35; }

body[data-season="halloween"] .ga-header-spot--sun { background: #e07a22; }
body[data-season="halloween"] .ga-header-spot--mint { background: #5a3d86; }
body[data-season="halloween"] .ga-header-spot--iris { background: #2a2144; opacity: 0.35; }
body[data-season="halloween"] .ga-header-spot--lilac { background: #f0a04a; }
body[data-season="halloween"] .ga-header-spot--blush { background: #3a2458; }

/* ---------- Новый год: снег на всех страницах ---------- */
.ny-scene { pointer-events: none; }
.ny-fall {
  position: fixed;
  inset: 0;
  z-index: 34;
  overflow: hidden;
  pointer-events: none;
}
.ny-fall span {
  position: absolute;
  top: -12vh;
  left: calc(18% + (var(--i) - 1) * 28%);
  width: 18px;
  height: 18px;
  background: var(--ny-flake) center / contain no-repeat;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 1px 1px rgba(31, 40, 115, 0.35));
  animation: ny-fall 15s linear infinite;
  animation-delay: calc((var(--i) - 1) * -5s);
}
@keyframes ny-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  6% { opacity: 1; }
  32% { transform: translateY(118vh) rotate(160deg); opacity: 1; }
  38%, 100% { transform: translateY(120vh) rotate(180deg); opacity: 0; }
}
.ny-flake--sky {
  position: absolute;
  left: 11%;
  top: 14%;
  z-index: 2;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.ny-snowman {
  position: absolute;
  left: 44%;
  bottom: 0;
  z-index: 2;
  width: clamp(72px, 8vw, 108px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 1px 0 rgba(31, 40, 115, 0.18)) drop-shadow(0 8px 10px rgba(27, 31, 92, 0.22));
}

body[data-season="ny"] .float-cta {
  overflow: visible;
}
body[data-season="ny"] .float-cta::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -8px;
  top: -20px;
  height: 28px;
  background: var(--ny-drift) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
body[data-season="ny"] .ga-site-header__skyline-band::after,
body[data-season="ny"] .ga-site-footer__body::before,
body[data-season="ny"] .home-hero__visual::after,
body[data-season="ny"] .product-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  background: var(--ny-drift) center bottom / 100% 100% no-repeat;
}
body[data-season="ny"] .ga-site-header__skyline-band::after {
  bottom: -1px;
  height: 36px;
  z-index: 3;
}
body[data-season="ny"] .ga-site-footer__body {
  position: relative;
}
body[data-season="ny"] .ga-site-footer__body::before {
  top: -18px;
  height: 26px;
}
body[data-season="ny"] .home-hero__visual::after {
  bottom: 0;
  height: 36px;
  z-index: 1;
}
body[data-season="ny"] .product-card__media::after {
  bottom: 0;
  height: 28px;
  z-index: 1;
}
body[data-season="ny"] .home-hero__tile,
body[data-season="ny"] .home-feature {
  position: relative;
}
body[data-season="ny"] .home-hero__tile::after,
body[data-season="ny"] .home-feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: var(--ny-drift) center top / 100% 100% no-repeat;
  pointer-events: none;
}

@media (max-width: 720px) {
  .ny-snowman { width: 72px; left: 38%; }
  .ny-flake--sky { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ny-fall span {
    animation: none;
    top: calc(var(--i) * 4.6%);
  }
}
