
.floating-banner {
  position: fixed;
  bottom: 8px;
  right: 8px;
  z-index: 1000;
  display: inline-block;
  animation: slide-in 0.5s ease-out;
  @media screen and (max-width: 1024px) {
    width: calc(100% - 16px);
  }

  .banner-content {
    flex-grow: 1;
  }

  .banner-button {
    img {
      transition: .4s;
    }
    &:hover {
      opacity: 1;
      img {
        scale: 1.01;
      }
    }
  }

  .floating-banner--content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: #FFFF00;
    border-radius: 10px;
    padding: 0 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);

    .floating-banner--content__primary {
      flex: 1 0 56%;
      text-align: center;
      padding: 4px 0;
    }
    .floating-banner--content__secondary {
      flex: 0 1 100%;
    }

    .floating-banner--content__list-1 {
      list-style: none;
      margin: 0;
      padding: 0;
      > li {
        &:not(:last-child) {
          border-bottom: 2px solid #0951BA;
        }
        .banner-link {
          display: flex;
          justify-content: space-between;
          align-items: center;
          gap: 4px;
          width: 100%;

          text-transform: uppercase;
          font-size: 10px;
          font-weight: bold;
          padding: 6px;
          color: #0951BA;
          text-decoration: none;
          &::after {
            content: "";
            display: block;
            background: url(../img/floating_icon_1.png) center / cover no-repeat;
            width: 12px;
            height: 12px;
          }
        }
      }
    }
  }

  .close-button {
    position: absolute;
    top: -48px;
    right: -16px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    @media screen and (max-width: 1024px) {
      display: none;
    }
  }

  .close-button:hover {
    color: #f0f0f0;
  }

}

@keyframes slide-in {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .floating-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

.hidden {
  display: none;
}
