.gifts {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.82), rgba(246, 239, 229, 0.96)),
    #f7efe5;
  color: #47362d;
}

.gifts__header {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.gifts__header p,
.gifts__disclosure {
  margin: 0;
  font-family: var(--font-body, serif);
  font-size: clamp(17px, 4.4vw, 22px);
  line-height: 1.45;
}

.gifts__grid {
  display: grid;
  gap: 14px;
  width: min(100%, 820px);
  margin: 0 auto;
}

.gift-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(111, 84, 67, 0.22);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.84);
  box-shadow: 0 16px 36px rgba(80, 53, 37, 0.08);
}

.gift-card__topline,
.gift-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-card__category,
.gift-card__discount {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-body, serif);
  font-size: 14px;
  line-height: 1;
}

.gift-card__category {
  color: #594436;
  background: #f0e2d2;
}

.gift-card__discount {
  color: #fffaf4;
  background: #7f5548;
}

.gift-card h3 {
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 400;
  line-height: 1.04;
}

.gift-card__partner {
  margin: 0;
  color: #6c5a4e;
  font-size: 17px;
  line-height: 1.4;
}

.gift-card__footer strong {
  font-family: var(--font-body, serif);
  font-size: 18px;
  font-weight: 600;
}

.gift-card__link {
  min-width: 178px;
  min-height: 48px;
}

.gifts__disclosure {
  width: min(100%, 760px);
  margin: 22px auto 0;
  color: #6c5a4e;
  font-size: 14px;
}

@media (min-width: 760px) {
  .gifts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-card {
    min-height: 260px;
  }

  .gift-card__footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-card,
  .gift-card__link {
    transition: none;
  }
}

body.template-kidswedding.template-kidswedding,
body.template-kidswedding.template-kidswedding *,
body.template-kidswedding.template-kidswedding *::before,
body.template-kidswedding.template-kidswedding *::after {
  font-family: "shablon3", Arial, sans-serif !important;
}

body.template-kidswedding.template-kidswedding input::placeholder,
body.template-kidswedding.template-kidswedding textarea::placeholder {
  font-family: "shablon3", Arial, sans-serif !important;
}

body.template-kidswedding .kids-timing__caption {
  top: 14px;
  font-size: 38px;
}

body.template-kidswedding .kids-dress__lead {
  max-width: 360px;
  font-size: 21.5px;
}

body.template-kidswedding .kids-dress__main {
  font-size: 27px;
}

body.template-kidswedding .kids-dress__main span {
  font-size: 45px;
}

body.template-kidswedding .kids-dress__note {
  max-width: 360px;
  font-size: 20.5px;
}

body.template-kidswedding .kids-dress__avoid p,
body.template-kidswedding .kids-dress__avoid ul {
  font-size: 20px;
}

body.template-kidswedding .kids-organizer h2 {
  font-size: 47px;
}

body.template-kidswedding .kids-paper-card__script {
  font-size: 31px;
}

body.template-kidswedding .kids-paper-card p:not(.kids-paper-card__script) {
  font-size: 23.5px;
}

body.template-kidswedding .kids-paper-card--gift p:not(.kids-paper-card__script) {
  font-size: 24.5px;
}

body.template-kidswedding .kids-paper-card a {
  font-size: 22px;
}

body.template-kidswedding .kids-hero__finally {
  font-size: clamp(28px, 7.2vw, 36px);
}

body.template-kidswedding .hero__veil {
  height: 48px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

body.template-kidswedding .kids-hero__veil-track {
  opacity: 1;
  transform: translateY(0);
}

body.template-kidswedding .kids-hero__veil-text {
  transform: none;
}

body.template-kidswedding .kids-invite-copy time {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 800;
}

body.template-kidswedding .kids-venue__card {
  width: min(72%, 276px);
}

body.template-kidswedding .kids-venue__script {
  font-size: 23px;
}

body.template-kidswedding .kids-venue__address {
  font-size: 23.5px;
  line-height: 1.06;
}

body.template-kidswedding .kids-dress__lead {
  max-width: 370px;
  font-size: 24px;
}

body.template-kidswedding .kids-dress__note {
  max-width: 370px;
  font-size: 23px;
}

body.template-kidswedding .kids-rsvp__script {
  font-size: 47px;
}

body.template-kidswedding .kids-rsvp__lead {
  max-width: 360px;
  font-size: 23.5px;
  line-height: 1.06;
}

body.template-kidswedding .rsvp-form {
  row-gap: 22px;
}

body.template-kidswedding .rsvp-form label,
body.template-kidswedding .rsvp-form legend,
body.template-kidswedding .attendance-list span,
body.template-kidswedding .choice-grid span {
  font-size: 23.5px;
}

body.template-kidswedding .kids-attendance-field legend,
body.template-kidswedding .kids-transfer-field legend,
body.template-kidswedding .kids-field-title,
body.template-kidswedding .drinks-field legend {
  font-size: 31px;
}

body.template-kidswedding .rsvp-form input[type="text"],
body.template-kidswedding .rsvp-form textarea {
  min-height: 42px;
  font-size: 23.5px;
}

body.template-kidswedding .rsvp-form input::placeholder,
body.template-kidswedding .rsvp-form textarea::placeholder {
  font-size: 23.5px;
}

body.template-kidswedding .kids-companion__hint {
  font-size: 22px;
}

body.template-kidswedding .button--submit {
  min-height: 52px;
  font-size: 31px;
}

body.template-kidswedding .kids-final {
  padding: 64px 28px 78px;
}

body.template-kidswedding .kids-final__script {
  font-size: 47px;
}

body.template-kidswedding .kids-final p:not(.kids-final__script) {
  font-size: 23.5px;
}

body.template-kidswedding .kids-final strong {
  max-width: 100%;
  font-size: clamp(38px, 10.6vw, 47px);
  font-weight: 500;
  overflow-wrap: anywhere;
}

body.template-kidswedding .kids-chat__script {
  font-size: 31px;
}

body.template-kidswedding .kids-chat h2 {
  font-size: 47px;
}

body.template-kidswedding .kids-chat p:not(.kids-chat__script) {
  max-width: 360px;
  font-size: 23.5px;
  line-height: 1.06;
}

body.template-kidswedding .kids-chat a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

body.template-kidswedding .kids-contact-mini {
  gap: 10px;
}

body.template-kidswedding .kids-contact-mini p {
  max-width: 360px;
  font-size: 23.5px;
  line-height: 1.06;
}

body.template-kidswedding .kids-contact-mini span {
  font-size: 31px;
}

body.template-kidswedding .kids-contact-mini strong {
  font-size: 47px;
}

body.template-kidswedding .kids-contact-mini a {
  font-size: 23.5px;
}
