.sng_page-template-sng-gift-certificate-template #content.type-sng-page {
  max-width: 1366px;
  margin: 0 auto;
  padding: 152px 0px 0px;
}

.sng_page-template-sng-gift-certificate-template header.page-header {
  width: 100%;
  padding: 70px 40px;
  border-radius: 30px;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 1;
}

.sng_page-template-sng-gift-certificate-template header.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22260c;
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
  border-radius: 30px;
}

.sng_page-template-sng-gift-certificate-template
  header.page-header
  h1.entry-title {
  color: #fff !important;
  margin: 5px 0px 0px 0px;
  position: relative;
  z-index: 2;
}

.sng_page-template-sng-gift-certificate-template
  #content.type-sng-page
  .sng-page-content {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 0px 40px;
}

.sng_page-template-sng-gift-certificate-template
  #content.type-sng-page
  .sng-page-content
  > div {
  width: 50%;
}

#sng_gift_certificate_form {
  max-width: 530px;
  background: #ffffff;
  border-radius: 30px;
  padding: 50px 62px;
  margin: -120px 0px 0px !important;
  width: 100%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  float: right;
  z-index: 2;
}

#gift_certificate_submit {
  margin-top: 0px;
}

.sng-gift-certificate-promo {
  flex-direction: column;
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 20px;
}

.sng-gift-certificate-promo h2 {
  font-size: 20px;
  margin: 0px;
  line-height: 37px;
}

.sng-gift-certificate-promo p {
  font-size: 20px;
  margin: 0px;
  line-height: 37px;
}

.sng-amount-total {
  background: #f2f9f6;
  border-radius: 30px;
  padding: 30px;
}

.gift-bonus-subtitle {
  border: none;
  text-align: left;
  padding: 0px;
  background: transparent;
  font-size: 20px;
  color: #202020;
  margin-bottom: 8px;
}

.gift-amount,
.gift-bonus,
.gift-total {
  padding: 0rem;
  border-bottom: none;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 28px;
}

.gift-total {
  margin-bottom: 0px;
}

.gift-total .value {
  font-weight: bold;
}

#sng_send_to_group {
  margin-bottom: 0px;
}

#sng_send_to_group > * {
  margin-bottom: 20px;
}

@media only screen and (max-width: 1024px) {
  .sng_page-template-sng-gift-certificate-template #content.type-sng-page {
    padding: 110px 20px 0px;
  }

  .sng_page-template-sng-gift-certificate-template
    #content.type-sng-page
    .sng-page-content {
    padding: 20px 10px;
    gap: 20px;
    flex-direction: column;
  }

  .sng_page-template-sng-gift-certificate-template
    #content.type-sng-page
    .sng-page-content
    > div {
    width: 100%;
  }

  #sng_gift_certificate_form {
    margin: 0px !important;
    padding: 50px 20px;
  }

  .sng_page-template-sng-gift-certificate-template header.page-header {
    padding: 30px 10px;
    min-height: 200px;
  }

  .sng_page-template-sng-gift-certificate-template
    header.page-header
    h1.entry-title {
    font-size: 40px;
    line-height: 40px;
  }
}
