/* Optional Christmas decoration. Enable per shop through Header snippet code.
   No scripts or text; the snowfall finishes within five seconds. */
body[data-shop-design="new"] .component_flyout-menu > .header-row {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='120' viewBox='0 0 1200 120'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%237dabc1' stroke-opacity='.48' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M0-6V6M-5.2-3L5.2 3M-5.2 3L5.2-3M-2-4L0-2 2-4M-2 4L0 2 2 4M-4.5-1L-2.5-1.5-2.5-3.5M4.5 1L2.5 1.5 2.5 3.5M-4.5 1L-2.5 1.5-2.5 3.5M4.5-1L2.5-1.5 2.5-3.5'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' x='65' y='22'/%3E%3Cuse href='%23f' x='220' y='83'/%3E%3Cuse href='%23f' transform='translate(390 40) scale(.7)'/%3E%3Cuse href='%23f' x='560' y='101'/%3E%3Cuse href='%23f' transform='translate(730 20) scale(.8)'/%3E%3Cuse href='%23f' x='880' y='65'/%3E%3Cuse href='%23f' transform='translate(1040 105) scale(.65)'/%3E%3Cuse href='%23f' x='1160' y='38'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 1200px 120px;
  background-position: center -120px;
  box-shadow: inset 0 -1px 0 rgb(184 151 85 / 38%);
  animation: wld-christmas-snow 4.8s linear 1;
}

/* A tiny evergreen sprig and three berries beside the existing logo. */
body[data-shop-design="new"] .component_flyout-menu .header-row .logo {
  position: relative;
}
body[data-shop-design="new"] .component_flyout-menu .header-row .logo::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 28px;
  top: -13px;
  right: -15px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 34'%3E%3Cg fill='none' stroke='%233d6b58' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 28L37 7M14 23L13 13M14 23L25 25M21 18L21 8M21 18L32 20M28 13L29 4M28 13L40 14'/%3E%3Cpath d='M10 26L5 20M10 26L18 29M18 20L16 10M18 20L29 23M25 15L25 5M25 15L37 18' opacity='.55'/%3E%3C/g%3E%3Cpath d='M38 5V13M34 9H42' stroke='%23b89755' stroke-width='1.2'/%3E%3Cg fill='%23b32646'%3E%3Ccircle cx='10' cy='26' r='2.5'/%3E%3Ccircle cx='15' cy='28' r='2.2'/%3E%3Ccircle cx='14' cy='23' r='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

@keyframes wld-christmas-snow {
  from { background-position: calc(50% - 14px) -120px; }
  to { background-position: calc(50% + 14px) 140px; }
}

/* A dedicated, text-free scene above the footer content. Transparent edges
   and ground blend into the existing backend-configured footer background. */
body[data-shop-design="new"] footer:has(> .footer_oben)::before {
  content: "";
  display: block;
  height: clamp(126px, 14vw, 190px);
  pointer-events: none;
  background: url("christmas-footer-landscape.svg") center bottom / auto 100% no-repeat;
}

@media (max-width: 767px) {
  body[data-shop-design="new"] .component_flyout-menu > .header-row {
    background-size: 900px 120px;
  }
  body[data-shop-design="new"] .component_flyout-menu .header-row .logo::after {
    width: 27px;
    height: 21px;
    top: -6px;
    right: -18px;
  }
}

@media (prefers-reduced-motion: reduce), print {
  body[data-shop-design="new"] .component_flyout-menu > .header-row {
    animation: none;
    background-image: none;
  }
}
@media print {
  body[data-shop-design="new"] .component_flyout-menu > .header-row { box-shadow: none; }
  body[data-shop-design="new"] .component_flyout-menu .header-row .logo::after { display: none; }
  body[data-shop-design="new"] footer:has(> .footer_oben)::before { display: none; }
}
