header .buy-now-container {
  position: absolute;
  display: grid;
  background: rgba(217, 217, 217, 0.95);
  border-radius: 20px;
  font-family: "Exo";
  font-style: normal;
  font-weight: 700;
  color: #000000;
  visibility: hidden;
  width: 92vw;
  left: -100%;
}

header .buy-now-container.active {
  visibility: visible;
  transition: 0.35s;
  left: 4%;
}

header .buy-now-container a {
  color: #000000;
  text-decoration: underline;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

header .buy-now-container .caption-container {
  width: 92%;
  margin-left: 4%;
  overflow: hidden;
}

header .buy-now-container .caption-container h1 {
  text-align: center;
  padding-left: 1.5vw;
  padding-right: 1.5vw;
}

header .buy-now-container .caption-container h2 {
  margin-top: calc(20px + 0.5vw);
  text-align: center;
}

header .buy-now-container .close-button {
  position: absolute;
  cursor: pointer;
  width: 30px;
  height: 30px;
  right: 10px;
  top: 10px;
}

header .buy-now-container .close-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

header .buy-now-container .shops-container {
  display: flex;
  justify-content: center;
}

header .buy-now-container .shops-container .shop {
  transition: 0.3s;
  transition-delay: 0.1s;
  text-align: center;
}

header .buy-now-container .shops-container .shop:hover {
  transform: scale(1.1);
}

header .buy-now-container .shops-container .shop .icon-bx {
  width: 10vw;
  height: 10vw;
  min-width: 50px;
  min-height: 50px;
}

header .buy-now-container .shops-container .shop .icon-bx img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

header .buy-now-container .shops-container .shop .link-bx span {
  display: flex;
  align-items: center;
  margin-bottom: 0.5vw;
}

header .buy-now-container .shops-container .shop .link-bx span a,
h3 {
  margin: 0;
  padding: 0;
}

header .buy-now-container .under-caption {
  width: 100%;
  display: flex;
  justify-content: right;
  align-items: end;
}

header .buy-now-container .under-caption span {
  color: #000000;
  text-decoration-line: underline;
  opacity: 0.4;
  padding-right: 2vw;
  padding-bottom: 20px;
}

/*REMOVE LAST SHOP*/
header .buy-now-container .shops-container .shop:nth-last-child(1) {
  display: none;
}

@media (min-width: 1026px) {
  header .buy-now-container {
    min-height: 660px;
    top: 2.5vw;
    height: 45vw;
    font-size: calc(14px + 0.5vw);
    text-underline-offset: 0.35rem;
    box-shadow: 0px 0px 2.5vw black;
  }

  header .buy-now-container .close-button {
    top: 1vw;
    right: 1vw;
    width: 2.5vw;
    height: 2.5vw;
  }

  header .buy-now-container .caption-container {
    margin-top: 3vw;
  }

  header .buy-now-container .shops-container {
    justify-content: center;
    margin-top: 1vw;
  }

  header .buy-now-container .shops-container .shop {
    text-align: center;

    /*REMOVE WHEN 3 SHOPS*/
    margin-left: 6vw;
    margin-right: 6vw;
  }

  /*  ONLY WHEN 3 SHOPS
  header .buy-now-container .shops-container .shop#middle {
    margin-left: 10vw;
    margin-right: 10vw;
  }
  */

  header .buy-now-container .shops-container .shop .icon {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  header .buy-now-container .shops-container .shop .link-bx span {
    justify-content: center;
  }

  header .buy-now-container .shops-container .shop .link-bx span a,
  h3 {
    margin-left: calc(3px + 0.25vw);
    margin-right: calc(3px + 0.25vw);
  }
}

@media (max-width: 1025px) {
  header .buy-now-container {
    top: 100px;
    text-underline-offset: 0.2rem;
    box-shadow: 0px 0px 30px black;
  }

  header .buy-now-container .caption-container {
    margin-top: 18px;
    font-size: 12px;
  }

  header .buy-now-container .caption-container h2 {
    margin-top: 18px;
  }

  header .buy-now-container .shops-container {
    display: grid;
    margin-bottom: 12px;
    margin-top: 40px;
    width: 90vw;
  }

  header .buy-now-container .shops-container .shop {
    display: flex;
    align-items: center;
    margin-left: 3vw;
  }

  header .buy-now-container .shops-container .shop#middle {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  header .buy-now-container .shops-container .shop .link-bx {
    margin-left: 12px;
    font-size: calc(11px + 0.5vw);
  }

  header .buy-now-container .shops-container .shop .link-bx span {
    justify-content: left;
  }

  header .buy-now-container .shops-container .shop .link-bx span a,
  h3 {
    margin-left: calc(3px + 0.25vw);
    margin-right: calc(3px + 0.25vw);
  }

  header .buy-now-container .under-caption span {
    font-size: calc(8px + 0.5vw);
    padding-bottom: 15px;
  }
}
