body {
  /* Alguns elementos de modal causam um scroll no body devido ao layour da página de gift-card ser diferente, os mesmeos elementos também não são usados na página de gift-card */
  overflow-x: hidden;
}

.gift-card-container {
  display: flex;
  width: 90%;
  margin: 0 auto;
  gap: 4rem;
}

.gift-card-container .card,
.gift-card-container .wrapper-image-gift,
.gift-card-container .gift-card-form {
  width: 50%;
}

.gift-card-container .card-image {
  width: 100%;
  height: fit-content;
}

.gift-card-container .card {
  max-height: 40vh;

  background: linear-gradient(to right, #1d1d1d, #131313);
  color: #fefefe;

  /* border-radius: 24px; */

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media screen and (max-width: 1440px) {
    max-height: 30vh;
  }

  @media screen and (max-width: 1024px) {
    max-height: 25vh;
  }

  .card-title {
    font-size: 10rem;
    font-weight: 700;
    align-self: center;
    width: 70%;

    svg {
      width: 100%;
      height: 100%;
    }

    @media screen and (max-width: 1440px) {
      font-size: 7rem;
    }
  }

  .card-info {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: end;

    .card-value {
      line-height: 1;
      font-size: 10rem;
      font-weight: 700;

      @media screen and (max-width: 1440px) {
        font-size: 7rem;
      }
    }

    .card-subtitle {
      font-size: 3rem;
      font-weight: 700;

      @media screen and (max-width: 1440px) {
        font-size: 2rem;
      }
    }
  }
}

.gift-card-container .gift-card-form {
  display: flex;
  flex-direction: column;
  align-items: start;

  @media screen and (max-width: 768px) {
    padding: 20px;
  }

  .product__title {
    font-size: 2rem;
  }

  h2,
  .card-value {
    margin: 0;
    font-weight: 400;
  }

  .card-value {
    margin-top: 1rem;
    font-size: 2rem;
  }

  h3 {
    font-weight: 400;
  }

  .card-variants {
    display: flex;
    align-items: center;
    gap: 1rem;

    .variant-option {
      cursor: pointer;

      padding: 0.5rem 2rem;
      border: 1px solid #121926;
      min-width: auto;
      flex: 1;
      /* border-radius: 24px; */

      &.active {
        background-color: #f7e6e3;
        color: #121926;
      }
    }
  }

  .invalid-feedback {
    color: red;
    font-size: 1.5rem;
    margin-left: 1rem;
    display: none;
  }

  .separator {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ccc;
    margin: 2rem 0;
  }

  label {
    font-size: 1.6rem;
    font-weight: 500;

    &.required::after {
      content: "*";
      color: #f00;
    }
  }

  .delivery-date input {
    -webkit-appearance: none;
    appearance: none;
  }

  .personalized-message,
  .name,
  .delivery-date,
  .destination-email {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    margin-top: 6px;

    textarea,
    input {
      outline: none;
      border: 1px solid #e4e4e4;
      padding: 1.5rem;
      /* border-radius: 24px; */
      font-family: inherit;
    }

    textarea {
      height: 10rem;
      resize: none;
    }
  }

  .send-buttons {
    /* background-color: #f8f8f8; */
    padding: 0.5rem;
    /* border-radius: 24px; */
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;

    .option {
      cursor: pointer;

      width: 50%;
      display: flex;
      align-items: center;
      justify-content: center;

      padding: 0.7rem 0;

      /* border-radius: 24px; */

      &.active {
        background-color: #f7e6e3;
        color: #121926;
      }
    }

    .option:first-child {
      border-right: transparent;
    }
  }

  .checkout-buttons {
    display: flex;
    align-items: center;

    .ssw-faveiticon {
      width: fit-content !important;
      position: unset !important;
      font-size: 20px;
      margin: 0 auto;
    }

    .add-to-cart {
      cursor: pointer;
      background-color: #1d1d1d;
      color: #fefefe;
      padding: 0.7rem 0;
      width: 100%;
      text-transform: uppercase;
      font-weight: 700;
      font-size: 1.6rem;
      text-align: center;

      display: flex;
      align-items: center;
      gap: 4px;
    }
  }
}

@media screen and (max-width: 1440px) {
  .card.card-value {
    font-size: 7rem !important;
  }

  .card-subtitle {
    font-size: 2rem !important;
  }
}

@media screen and (max-width: 1024px) {
  .card-title {
    font-size: 6rem !important;
  }

  .card.card-value {
    font-size: 7rem !important;
  }
}

@media screen and (max-width: 768px) {
  .gift-card-container .wrapper-image-gift {
    width: 100%;
  }
  .gift-card-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;

    .card {
      width: 70% !important;
      height: 25vh;
    }

    .gift-card-form {
      width: 100%;

      .checkout-buttons {
        width: 100%;
        z-index: 2;
        background-color: #fff;
      }
    }
  }
}

@media screen and (max-width: 425px) {
  .gift-card-container {
    .card {
      height: 18vh !important;

      .card-title {
        font-size: 5rem !important;
      }

      .card-value {
        font-size: 5rem !important;
      }
    }
  }
}

@media screen and (max-width: 375px) {
  .gift-card-container {
    .card {
      width: 100% !important;
    }
  }
}
