.tp-giftcard-notice {
  margin: 1.1rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(187, 53, 119, .22);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8fc 0%, #fff 70%);
  box-shadow: 0 10px 28px rgba(83, 37, 67, .07);
}

.tp-giftcard-notice__eyebrow {
  display: inline-block;
  margin-bottom: .35rem;
  color: #bb3577;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.tp-giftcard-notice h2,
.tp-giftcard-notice h3 {
  margin: 0 0 .7rem;
  color: #30212b;
  font-size: 1.08rem;
}

.tp-giftcard-amount {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(187, 53, 119, .2);
  border-radius: 12px;
  background: #fff;
}

.tp-giftcard-amount,
#tp-giftcard-customization {
  scroll-margin-top: 130px;
}

.tp-giftcard-amount .h4 {
  margin: 0 0 .75rem;
  color: #30212b;
  font-size: 1rem;
  font-weight: 700;
}

.tp-giftcard-amount-status {
  min-height: 1.25rem;
  margin: -.35rem 0 .65rem;
  color: #7e2253;
  font-size: .86rem;
  font-weight: 700;
}

.tp-giftcard-amount-status:empty {
  min-height: 0;
  margin: 0;
}

.tp-giftcard-amount--busy .tp-giftcard-amount-status::before {
  display: inline-block;
  width: .8rem;
  height: .8rem;
  margin-right: .4rem;
  border: 2px solid rgba(187, 53, 119, .28);
  border-top-color: #bb3577;
  border-radius: 50%;
  content: '';
  vertical-align: -.08rem;
  animation: tp-giftcard-spin .7s linear infinite;
}

@keyframes tp-giftcard-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-giftcard-amount--busy .tp-giftcard-amount-status::before {
    animation: none;
  }
}

#tp-giftcard-customization .card {
  margin-bottom: 1rem;
  border: 1px solid rgba(187, 53, 119, .2);
  border-radius: 12px;
  background: #fffafc;
}

#tp-giftcard-customization .product-customization-item {
  margin-bottom: .85rem;
}

#tp-giftcard-customization .product-customization-item label {
  display: block;
  margin-bottom: .35rem;
  color: #30212b;
  font-weight: 700;
}

#tp-giftcard-customization .tp-giftcard-field {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bcaeb6;
  border-radius: 8px;
  background: #fff;
}

#tp-giftcard-customization textarea.tp-giftcard-field {
  min-height: 110px;
  padding: .75rem;
  resize: vertical;
}

#tp-giftcard-customization .tp-giftcard-field:focus {
  border-color: #bb3577;
  box-shadow: 0 0 0 3px rgba(187, 53, 119, .14);
  outline: 0;
}

.tp-giftcard-home {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 1.5rem;
  align-items: center;
  max-width: 1320px;
  margin: 2rem auto;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff3f9 0%, #fff 55%, #f8edf4 100%);
  box-shadow: 0 14px 38px rgba(83, 37, 67, .1);
}

.tp-giftcard-home h2 {
  margin: .15rem 0 .65rem;
  color: #30212b;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.tp-giftcard-home p {
  max-width: 680px;
  margin-bottom: 1.15rem;
  color: #5d4a56;
  font-size: 1rem;
}

.tp-giftcard-home__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border-radius: 9px;
  background: #bb3577;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.tp-giftcard-home__cta:hover,
.tp-giftcard-home__cta:focus {
  background: #93275b;
  color: #fff;
}

.tp-giftcard-home__amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.tp-giftcard-home__amounts a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(187, 53, 119, .28);
  border-radius: 10px;
  background: #fff;
  color: #7e2253;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}

.tp-giftcard-home__amounts a:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.tp-giftcard-home__amounts a:hover,
.tp-giftcard-home__amounts a:focus {
  border-color: #bb3577;
  background: #fff7fb;
}

@media (max-width: 767px) {
  .tp-giftcard-notice {
    margin-top: .75rem;
  }

  .tp-giftcard-home {
    grid-template-columns: 1fr;
    margin: 1.25rem .75rem;
    padding: 1.35rem;
  }

  .tp-giftcard-home__amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tp-giftcard-home__amounts a:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .tp-giftcard-home__amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-giftcard-home__amounts a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.tp-giftcard-notice__steps {
  margin: 0 0 .75rem;
  padding: 0;
  list-style: none;
}

.tp-giftcard-notice__steps li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
}

.tp-giftcard-notice__steps .material-icons {
  color: #bb3577;
  font-size: 1.15rem;
  line-height: 1.35;
}

.tp-giftcard-notice__steps li + li {
  margin-top: .35rem;
}

.tp-giftcard-notice__policy {
  margin: 0;
  padding-top: .7rem;
  border-top: 1px solid rgba(187, 53, 119, .14);
  color: #5d4a56;
  font-size: .88rem;
}
