/* Seasonal decoration for the storefront. Remove this file link from header.twig to disable. */
body.page-homepage {
  background: #faf6ef;
}

body.page-homepage::before,
body.page-homepage::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 118px;
  width: min(24vw, 430px);
  height: 730px;
  pointer-events: none;
  background: url('/image/catalog/design/autumn-2026-leaves.png') left top / contain no-repeat;
  opacity: 1;
  filter: saturate(1.45) contrast(1.16) brightness(.96);
}

body.page-homepage::before {
  left: 0;
}

body.page-homepage::after {
  right: 0;
  transform: scaleX(-1);
}

body.page-homepage #app {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199px) {
  body.page-homepage::before,
  body.page-homepage::after {
    width: 185px;
    height: 510px;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  body.page-homepage {
    background: #faf6ef;
  }

  body.page-homepage::before,
  body.page-homepage::after {
    display: none;
  }

  /* Compact seasonal corners, scoped to the homepage hero. */
  body.page-homepage .main > .intro:first-child {
    position: relative;
    padding-top: 46px;
  }

  body.page-homepage .main > .intro:first-child::before,
  body.page-homepage .main > .intro:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    width: 72px;
    height: 42px;
    pointer-events: none;
    background: url('/image/catalog/design/autumn-2026-leaves.png') left top / 110px auto no-repeat;
    filter: saturate(1.45) contrast(1.16) brightness(.96);
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
    mask-image: linear-gradient(to bottom, #000 75%, transparent);
  }

  body.page-homepage .main > .intro:first-child::before {
    left: 0;
  }

  body.page-homepage .main > .intro:first-child::after {
    right: 0;
    transform: scaleX(-1);
  }
}
