@import '../helpers/helpers';

.p-promotion {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: $red;
  color: $white;
  margin-bottom: 5px;
  padding: 10px 30px 10px 10px;
  border-radius: 3px;

  &__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    background: $white;

    .icon {
      color: $red;
    }
  }

  &__description {
    padding-left: 15px;
    font-size: .875rem;
    font-weight: 500;
    line-height: 20px;
  }

  &__close {
    position: absolute;
    right: 17px;
    top: 8px;
    cursor: pointer;
  }
}

@include media-breakpoint-up(md) {
  .p-promotion {
    padding: 15px 30px 15px 15px;
  }
}
