@media (min-width: 120px) {
  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
      /* 保持在原位 */
    }
    40% {
      transform: translateY(-15px);
      /* 向上彈跳15px */
    }
    60% {
      transform: translateY(-7px);
      /* 向上彈跳7px */
    }
  }
  @keyframes pulse {
    0% {
      transform: scale(1);
      /* 原始大小 */
      opacity: 1;
      /* 原始透明度 */
    }
    50% {
      transform: scale(1.05);
      /* 放大5% */
      opacity: 0.8;
      /* 稍微變淡 */
    }
    100% {
      transform: scale(1);
      /* 回到原始大小 */
      opacity: 1;
      /* 回到原始透明度 */
    }
  }
  .icon_square {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 2rem;
  }
  .icon_square .item_box {
    margin: 2rem;
    width: 43rem;
    height: 45rem;
    border: 0.1rem solid #df0cbf;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    overflow: hidden;
  }
  .icon_square .item_box .prod_img,
  .icon_square .item_box .prod_words {
    width: 43rem;
    height: 24.75rem;
  }
  .icon_square .item_box .prod_img img,
  .icon_square .item_box .prod_words img {
    width: 100%;
    height: 100%;
  }
  .icon_square .item_box .prod_words {
    display: block;
    position: relative;
    height: 20.25rem;
  }
  .icon_square .item_box .prod_words .name,
  .icon_square .item_box .prod_words .price {
    position: absolute;
    padding: 1rem;
    top: 0;
    left: 0;
    font-size: 3rem;
    line-height: 6rem;
  }
  .icon_square .item_box .prod_words .name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 限制為兩行 */
    -webkit-box-orient: vertical;
  }
  .icon_square .item_box .prod_words .name .max_qty {
    font-size: 4rem;
    color: #df0cbf;
  }
  .icon_square .item_box .prod_words .price {
    top: 12rem;
    font-size: 4rem;
  }
  .icon_square .item_box .prod_words .price .remain_qty {
    color: #df0cbf;
  }
}
@media (min-width: 750.1px) {
  .icon_square {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 4rem;
  }
  .icon_square .item_box {
    margin: 1rem;
    width: 20rem;
    height: 22rem;
    border: 0.1rem solid #df0cbf;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
  }
  .icon_square .item_box .prod_img,
  .icon_square .item_box .prod_words {
    width: 20rem;
    height: 11.5rem;
  }
  .icon_square .item_box .prod_img img,
  .icon_square .item_box .prod_words img {
    width: 100%;
    height: 100%;
  }
  .icon_square .item_box .prod_words {
    position: relative;
    height: 10.5rem;
  }
  .icon_square .item_box .prod_words .name,
  .icon_square .item_box .prod_words .price {
    position: absolute;
    padding: 0.5rem;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    line-height: 3rem;
  }
  .icon_square .item_box .prod_words .name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 限制為兩行 */
    -webkit-box-orient: vertical;
  }
  .icon_square .item_box .prod_words .name .max_qty {
    font-size: 1.75rem;
    color: #df0cbf;
  }
  .icon_square .item_box .prod_words .price {
    top: 6rem;
    font-size: 1.75rem;
  }
}
