$namespace: 'intec-universe';
$component: 'sale-basket-small';
$template: 'notifications-1';
$class: #{$component};

.ns-#{$namespace}.c-#{$component}.c-#{$component}-#{$template} {
  display: block;

  .#{$class}-content {
    position: fixed;
    top: 95px;
    right: 0;
    z-index: 11111;

    .#{$class}-products {
      display: block;
    }

    .#{$class}-product {
      display: block;
      padding: 12px 14px;
      background: #fff;
      box-shadow: 0px 1px 5px rgba(172, 172, 172, 0.64);
      width: 99px;
      height: 99px;
      margin-right: 30px;
      margin-bottom: 20px;
      text-decoration: none;

      transform: scale(0);
      border-radius: 50px;

      &[data-active="true"] {
        animation: scale-in .3s ease-out forwards,
        expand .35s .25s ease-out forwards;

        & .#{$class}-product-wrapper {
          animation: fade-in .65s ease-in forwards;
        }
      }

      &[data-active="false"] {
        animation: close .3s ease-out forwards;
      }

      &-btn-close {
        position: absolute;
        top: 0px;
        right: 4px;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        background: #fff;
        text-align: center;
        line-height: 24px;
        font-size: 11px;
        color: #fff;
        cursor: pointer;
      }

    }

    .#{$class}-product-wrapper {
      overflow: hidden;
    }

    .#{$class}-product-image-wrap {
      font-size: 0;
    }

    .#{$class}-product-image {
      display: inline-block;
      width: 75px;
      height: 75px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center center;
      border-radius: 50%;
      margin-right: 15px;
    }

    .#{$class}-product-name {
      display: block;
      margin-top: 5px;
      font-size: 14px;
      line-height: 19px;
      color: #888888;
      max-height: 38px;
      overflow: hidden;
    }
    .#{$class}-product-added-text {
      display: block;
      font-weight: bold;
      font-size: 13px;
      color: #222222;
    }
  }

    @media all and (max-width: 720px) {
      display: none;
    }
}

@keyframes scale-in {
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes expand {
  50% {
    width: 400px;
  }
  100% {
    width: 350px;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes close {
  from {
    transform: scale(1);
    opacity: 1;
    width: 350px;
  }
  to {
    transform: scale(0);
    opacity: 0;
    width: 350px;
  }
}