.template--page.page--holiday-drops #MainContent,
.template--holiday_drops #MainContent {
  background: linear-gradient(0deg, rgba(23, 54, 37, 0.8) 0%, rgba(23, 54, 37, 0.8) 100%), url('./noise-textured-body.webp') lightgray;
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
}

.m-holiday-hero__picture img,
.m-holiday-hero__logo img {
  max-width: 100%;
  height: auto;
  width: 100%;
  aspect-ratio: unset;
}

.m-holiday-hero__picture img {
  object-fit: cover;
}

.m-holiday-hero__wrapper {
  display: grid;
}

.m-holiday-hero__wrapper .m-holiday-hero__video {
  grid-area: 1 / 1;
  display: flex;
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.m-holiday-hero__wrapper .m-holiday-hero__content-wrapper {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: flex;
}

.m-holiday-hero__content-wrapper .m-holiday-hero__content {
  padding: 42px 16px;
  max-width: 535px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m-holiday-hero__logo {
  max-width: 210px;

  @media (min-width: 768px) {
    max-width: 425px;
  }
}

.m-holiday-hero__picture {
  display: flex;
  width: 100%;
}

/* Video Container */
.m-holiday-hero__video-container {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.m-holiday-hero__video-player {
  position: relative;
  overflow: hidden;
  pointer-events: none;
  transition: 1s ease-in-out all;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.m-holiday-hero__video-player--playing,
.m-holiday-hero__video-player--loaded,
.m-holiday-hero__video-player--paused {
  pointer-events: all;
}

.m-holiday-hero__video-player--playing:hover .m-holiday-hero__video-cta[data-video='play'] {
  display: block;
}

.m-holiday-hero__video-player iframe,
.m-holiday-hero__video-player object,
.m-holiday-hero__video-player embed {
  border: 0;
  background-color: transparent;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-holiday-hero__video-player--playing iframe,
.m-holiday-hero__video-player--playing object,
.m-holiday-hero__video-player--playing embed {
  pointer-events: all;
}

.m-holiday-hero__video-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  z-index: 2;
  display: none;
}

.m-holiday-hero__video-button--play {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.m-holiday-hero__video-pause-icon svg {
  width: 12px;
}

@media (min-width: 1025px) {
  .m-holiday-hero__video-cta[data-video='play'] {
    display: none;
  }

  .m-holiday-hero__video-cta[data-video='play'] .m-holiday-hero__video-play-icon {
    display: none;
  }
}

.m-holiday-hero__video-play-icon,
.m-holiday-hero__video-pause-icon {
  line-height: 0;
  display: block;
}

.m-holiday-hero__video-play-icon svg path,
.m-holiday-hero__video-pause-icon svg path {
  fill: #000000;
}

.m-holiday-hero__video-mute {
  position: absolute;
  right: 32px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  z-index: 2;
  border-radius: 40px;
  overflow: hidden;
  display: none;
}

.m-holiday-hero__video-mute::before {
  content: '';
  position: absolute;
  left: 5px;
  bottom: 5px;
  width: 40px;
  height: 1px;
  background: #fff;
  transform: rotate(-45deg);
  transform-origin: left;
  pointer-events: none;
  transition: 0.3s ease-in-out all;
}

.m-holiday-hero__video-mute-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.m-holiday-hero__video-mute-button:hover,
.m-holiday-hero__video-mute-button:focus {
  outline: none;
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.7);
}

.m-holiday-hero__video-mute-button svg {
  width: 20px;
  height: 20px;
}

.m-holiday-hero__video-mute-button svg path {
  fill: #ffffff;
}

.m-holiday-hero__video-mute-button.is-active {
  background-color: var(--holiday-green, #02753b);
  transform: scale(1.05);
}

.m-holiday-hero__video-mute:has(.is-active)::before {
  width: 0;
}

.m-holiday-hero__countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-family: 'IBM Plex Mono', 'Helvetica Neue', helvetica, arial, robot, sans-serif;
}

.m-holiday-hero__countdown-icon {
  display: flex;
  align-items: center;
  line-height: 0;
}

.m-holiday-hero__countdown-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.m-holiday-hero__countdown-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Grid view */
.m-holiday-hero {
  position: relative;
}

.m-holiday-hero--open {
  position: unset !important;
  transform: none !important;
}

modal-dialog-holiday-drops[open]~.m-holiday-hero,
modal-dialog-holiday-drops[open]+.m-holiday-hero {
  background: #f4f4e8;
  z-index: 1;
  position: relative;
}

.m-holiday-hero__wrapper--grid {
  display: block;
  position: relative;
  z-index: 1;

  .m-holiday-hero__wrapper--grid-container {
    position: relative;
    display: flex;
    flex-direction: column-reverse;

    @media (min-width: 768px) {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 1px;
    }

    .m-holiday-hero__video {
      grid-column: 1 / span 2;
      min-height: 620px;

      @media (max-width: 767px) {
        margin-inline: -16px;
      }
    }

    .m-holiday-hero__content-wrapper {
      grid-column: 3 / span 4;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .m-holiday-hero__logo {
      order: 2;
    }

    .m-holiday-hero__countdown {
      order: 1;
    }

    .m-holiday-hero__grid-content-wrapper {
      order: 3;
    }

    .m-holiday-hero__content {
      max-width: 607px;

      @media (max-width: 767px) {
        padding-bottom: 60px;
      }
    }

    .m-holiday-hero__logo {
      max-width: 607px;
    }
  }
}

.m-holiday-hero__video:not(:has(.m-holiday-hero__video-container)) {
  display: none;
}

.m-holiday-hero__wrapper--grid .m-holiday-hero__wrapper--grid-container:not(:has(.m-holiday-hero__video-container)) {
  .m-holiday-hero__countdown {
    margin-bottom: 0;
  }

  .m-holiday-hero__content-wrapper {
    grid-column: 1 / span 6;
  }

  .m-holiday-hero__logo {
    max-width: 563px;
  }

  .m-holiday-hero__button {
    margin-top: 32px;
  }
}

.m-holiday-hero__wrapper--grid.m-holiday-hero__wrapper--grid__reverse {
  .m-holiday-hero__video {
    grid-column: 3 / span 4;
  }

  .m-holiday-hero__content-wrapper {
    grid-column: 1 / span 2;
  }

  .m-holiday-hero__content-wrapper-container {
    height: 100%;
  }

  .m-holiday-hero__content {
    height: 100%;
    padding: 40px 16px 60px;

    @media(min-width:768px) {
      padding: 40px 16px;
    }
  }

  .m-holiday-hero__logo {
    max-width: 270px;

    @media (max-width: 767px) {
      max-width: 136px;
      margin-bottom: 30px;
    }
  }

  .m-holiday-hero__grid-content-wrapper {
    margin-top: auto;
  }

  .m-holiday-hero__heading,
  .m-holiday-hero__heading>* {
    color: var(--holiday-oatmeal);
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.96px;
    max-width: 296px;
    margin: 0 auto 24px;

    @media (max-width: 767px) {
      margin: 0 auto 16px;
    }
  }

  .m-holiday-hero__button {
    margin-top: 32px;
  }
}

.m-holiday-hero__wrapper.m-holiday-hero__wrapper--grid:before {
  content: '';
  display: none;
  background-color: var(--holiday-forest-green);
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  top: 128px;
}

.m-holiday-hero__wrapper--grid-container:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 300%;
  background-color: var(--holiday-forest-green);
  left: 0;
  top: -100%;
  display: none;
}

.m-holiday-hero__wrapper--grid-container:after {
  content: '';
  position: absolute;
  width: 1px;
  height: 300%;
  background-color: var(--holiday-forest-green);
  right: 0;
  top: -100%;
  display: none;
}

.ne-btn-oatmeal {
  --_button-bg: var(--holiday-oatmeal);
  --_button-text-color: var(--holiday-forest-green);
}

.ne-btn-oatmeal:hover {
  --_button-bg: var(--holiday-forest-green);
  --_button-text-color: var(--holiday-oatmeal);
  --_button-border-color: var(--holiday-oatmeal);
}

.m-holiday-hero__video-has-mobile {
  display: none;

  @media(min-width: 768px) {
    display: block;
  }
}

.m-holiday-hero__video-mobile {
  display: block;

  @media(min-width: 768px) {
    display: none;
  }
}

/* Parallax  */
.parallax__layer {
  will-change: transform;
}

.parallax__layer.sticky-active {
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .parallax__layer {
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
  }
}
