.sc-alert__here:not(.sc-popup__open) {
  transition: margin-top 0.2s ease-in-out;
}

.sc-alert__showing:not(.sc-popup__open) {
  transition: margin-top 0.2s ease-in-out;
}

.sc-alert {
  position: fixed;
  z-index: 999999;
  bottom: 0;
  transform: translateY(150%);
  transition: all 0.2s ease-in-out;
  left: 0;
  width: 100%;
  padding: 32px 18px 18px;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.sc-alert__showing .sc-alert {
  transform: translateY(0);
}

.sc-alert__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sc-alert__heading {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  flex-shrink: 0;
}

.sc-alert__icon {
  color: #ffffff;
  margin: 0 12px 0 0;
  font-size: 24px !important;
}

.sc-alert__title {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 22px;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
}

.sc-alert__subtitle {
  font-family: 'Open Sans', sans-serif;
  color: #292929;
  font-size: 14px;
  line-height: 2;
  text-align: center;
  margin: 0;
  flex-shrink: 0;
}

.sc-alert__subtitle .coupon {
  border: 2px dashed #ffffff;
  padding: 2px 6px;
  margin: 0 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.sc-alert__subtitle .coupon__icon {
  color: #ffffff;
  margin-right: 4px;
}

.sc-alert__extras {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin: 20px 0 0 0;
  flex-shrink: 0;
}

.sc-alert__countdown__heading {
  text-align: center;
}

.sc-alert__countdown {
  display: flex;
  align-items: space-between;
  padding: 4px 0;
  min-width: 145px;
}

.sc-alert__countdown__group {
  flex: 1;
  text-align: center;
  color: #292929;
}

.sc-alert__countdown__num {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #292929;
  font-weight: bold;
  font-size: 22px;
  line-height: 1;
  margin: 0 0 4px;
}

.sc-alert__countdown__name {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 10px;
  color: #292929;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}

.sc-alert__countdown__separator {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 18px;
  margin: -6px 4px 0;
  color: #ffffff;
  font-weight: bold;
}

.sc-alert__cta {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #292929;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 16px;
  margin: 0 0 20px;
  text-decoration: none;
  line-height: 1.2;
  border-radius: 0 !important;
  display: inline-block;
}

.sc-alert__cta:hover {
  background-color: transparent;
  color: #292929;
}

.sc-alert__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  z-index: 999;
  background: none;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
}

.sc-alert__close:hover {
  background: none;
}

.sc-alert__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 3px;
  background-color: #292929;
  border-radius: 2px;
}

.sc-alert__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (min-width: 576px) {
  .sc-alert {
    padding: 24px 18px;
  }
}

@media screen and (min-width: 992px) {
  .sc-alert__showing:not(.sc-popup__open) {
    margin-top: 78.2px !important;
  }

  .sc-alert {
    bottom: auto;
    top: 0;
    padding: 18px;
    transform: translateY(-100%);
  }

  .sc-alert__wrapper {
    flex-direction: row;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
  }

  .sc-alert__heading {
    margin: 0 6px 0 0;
  }

  .sc-alert__icon {
    font-size: 18px !important;
  }

  .sc-alert__title {
    font-size: 14px;
  }

  .sc-alert__subtitle {
    font-size: 12px;
  }

  .sc-alert__countdown__num {
    font-size: 16px;
  }

  .sc-alert__countdown__name {
    font-size: 10px;
  }

  .sc-alert__extras {
    margin: 0 0 0 14px;
    flex-direction: row;
    justify-content: flex-end;
  }

  .sc-alert__cta {
    font-size: 12px;
    padding: 8px 12px;
    margin: 0 0 0 14px;
  }

  .sc-alert__close {
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
  }

  .sc-alert__close span {
    width: 12px;
  }
}

@media screen and (min-width: 1200px) {
  .sc-alert__wrapper {
    max-width: 94%;
  }

  .sc-alert__cta {
    font-size: 14px;
    margin: 0 0 0 40px;
  }

  .sc-alert__icon {
    font-size: 20px !important;
  }

  .sc-alert__title {
    font-size: 16px;
  }

  .sc-alert__subtitle {
    font-size: 14px;
  }

  .sc-alert__countdown__num {
    font-size: 20px;
  }

  .sc-alert__close {
    top: 50%;
    right: 20px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
  }

  .sc-alert__close span {
    width: 16px;
  }
}
