/* Poprawka świątecznego podglądu na telefonie. Tylko strona główna w szkicu. */
/* Wyłączamy stare pseudo-elementy ulokowane w transformowanym kontenerze Divi. */
body.home #page-container::before,
body.home #page-container::after,
body.home::before,
body.home::after{
  content:none!important;
  display:none!important;
}
/* Osobne elementy bezpośrednio pod body: stałe względem widocznego ekranu. */
body.home .do-xmas-corner {
  position:fixed!important;
  pointer-events:none!important;
  background-position:left top!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-color:transparent!important;
  z-index:9990!important;
  width:clamp(100px,14vw,200px);
  height:clamp(110px,17vw,235px);
  opacity:0.93;
  transform-origin:center center;
  will-change:auto;
}
body.home .do-xmas-corner--tl{top:0;left:0;transform:none;}
body.home .do-xmas-corner--tr{top:0;right:0;transform:scaleX(-1);}
body.home .do-xmas-corner--bl{bottom:0;left:0;transform:scaleY(-1);}
body.home .do-xmas-corner--br{bottom:0;right:0;transform:rotate(180deg);}
/* Logo trzymamy w nagłówku i odrywamy od hero. */
body.home #main-header #logo{
  display:block!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  float:none!important;
}
body.home #main-header .logo_container,
body.home #main-header .logo_container a{
  background:transparent!important;
  box-shadow:none!important;
}
/* Divi mobile / tablet: nagłówek normalnie poprzedza sekcję świąteczną. */
@media (max-width:980px) {
  body.home #top-header,
  body.home #main-header,
  body.home #main-header.et-fixed-header{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  body.home #page-container{
    padding-top:0!important;
  }
  body.home #main-header{
    min-height:74px!important;
  }
  body.home #main-header .container.et_menu_container{
    min-height:74px!important;
    height:74px!important;
    position:relative!important;
  }
  body.home #main-header .logo_container{
    position:absolute!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:72%!important;
    height:74px!important;
    display:flex!important;
    align-items:center!important;
    z-index:1!important;
  }
  body.home #main-header .logo_container a{
    display:flex!important;
    height:74px!important;
    max-width:100%!important;
    align-items:center!important;
  }
  body.home #main-header #logo{
    position:static!important;
    width:auto!important;
    height:auto!important;
    max-height:49px!important;
    max-width:min(66vw,230px)!important;
    vertical-align:middle!important;
  }
  body.home #et-top-navigation{position:relative!important;z-index:2!important;}
  body.home .do-xmas-hero-content{
    padding-top:40px!important;
  }
  body.home .do-xmas-corner {
    width:clamp(66px,9.5vw,100px)!important;
    height:clamp(75px,12vw,110px)!important;
    opacity:.82!important;
    z-index:95!important;
  }
  body.home .do-xmas-corner--tl{top:0;left:-8px;}
  body.home .do-xmas-corner--tr{top:0;right:-8px;}
  body.home .do-xmas-corner--bl{bottom:0;left:-8px;}
  body.home .do-xmas-corner--br{bottom:0;right:-8px;}
}
@media(max-width:480px){
  body.home #main-header #logo{max-height:44px!important;max-width:185px!important;}
  body.home .do-xmas-corner{width:70px!important;height:88px!important;}
  body.home .do-xmas-hero-content{padding-top:45px!important;}
}
/* Przy małej wysokości poziomego telefonu zmniejszamy dekoracje. */
@media(max-height:480px) and (orientation:landscape){
  body.home .do-xmas-corner{height:58px!important;width:65px!important;opacity:.7!important;}
}
@media(prefers-reduced-motion:reduce){
  body.home .do-xmas-corner{animation:none!important;transition:none!important;}
}
/* Górne gałązki ponad paskiem kontaktowym i nagłówkiem Divi już przy wejściu.
   Tylko dwie górne: dolne i baner cookies zachowują dotychczasowe warstwy. */
body.home .do-xmas-corner--tl,
body.home .do-xmas-corner--tr{
  z-index:100200!important;
}
