@font-face {
  font-family: "Invaito Onest";
  src: url("assets/fonts/onest-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.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__description {
  margin: 0;
  color: #6c5a4e;
  font-family: var(--font-body, serif);
  font-size: 17px;
  line-height: 1.45;
}

.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 [hidden] {
  display: none !important;
}

body.template-kidswedding .invitation-error,
body.template-kidswedding .invitation-error * {
  font-family: "Invaito Onest", system-ui, sans-serif !important;
}

body.template-kidswedding .invitation-error {
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 34px;
  padding:
    max(36px, env(safe-area-inset-top))
    max(22px, env(safe-area-inset-right))
    max(36px, env(safe-area-inset-bottom))
    max(22px, env(safe-area-inset-left));
  color: #2f2630;
  background:
    radial-gradient(circle at 82% 18%, rgba(189, 77, 121, 0.1), transparent 30%),
    #ffffff;
}

body.template-kidswedding .invitation-error__brand {
  margin: 0;
  color: #bd4d79;
  font-size: 15px;
  font-weight: 720;
}

body.template-kidswedding .invitation-error__copy {
  display: grid;
  gap: 16px;
}

body.template-kidswedding .invitation-error h1 {
  max-width: 340px;
  margin: 0;
  color: #2f2630;
  font-size: clamp(42px, 11.5vw, 58px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

body.template-kidswedding .invitation-error__copy p {
  max-width: 330px;
  margin: 0;
  color: #756a73;
  font-size: 18px;
  line-height: 1.5;
}

body.template-kidswedding .invitation-error__retry {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #bd4d79;
  font-size: 16px;
  font-weight: 650;
}

body.template-kidswedding .invitation-error__retry:focus-visible {
  outline: 3px solid rgba(189, 77, 121, 0.3);
  outline-offset: 3px;
}

body.template-kidswedding .kids-hero__custom-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.92) contrast(1.02);
}

body.template-kidswedding .hero.has-custom-photo .hero__media {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.template-kidswedding .hero.has-custom-photo::after {
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(251, 243, 232, 0.92) 0%,
      rgba(251, 243, 232, 0.44) 27%,
      rgba(251, 243, 232, 0.08) 58%,
      rgba(251, 243, 232, 0.88) 100%
    );
}

body.template-kidswedding .hero.is-personalized .hero__names {
  position: absolute;
  left: 50%;
  bottom: 86px;
  width: calc(100% - 44px);
  display: grid;
  gap: 0;
  color: var(--kids-ink);
  font-family: var(--kids-headline-font);
  font-size: clamp(34px, 10vw, 50px);
  font-weight: 600;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(251, 243, 232, 0.72);
  transform: translateX(-50%) rotate(-1deg);
}

body.template-kidswedding .hero.is-personalized .hero__amp {
  color: var(--kids-accent-dark);
  font-size: 0.64em;
}

body.template-kidswedding .hero.is-personalized .kids-hero__date {
  position: absolute;
  right: 0;
  bottom: 48px;
  left: 0;
  display: block;
  margin: 0;
  color: var(--kids-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(251, 243, 232, 0.72);
}

body.template-kidswedding .hero.is-text-only .hero__media {
  display: none;
}

body.template-kidswedding .hero.is-text-only .hero__names {
  top: 52%;
  bottom: auto;
  transform: translate(-50%, -50%) rotate(-1deg);
}

body.template-kidswedding .hero.is-text-only .kids-hero__date {
  bottom: 22%;
}

body.template-kidswedding .kids-venue.has-no-photo {
  min-height: 270px;
  padding-bottom: 42px;
}

body.template-kidswedding .kids-venue.has-no-photo .kids-venue__card {
  position: relative;
  left: auto;
  top: auto;
  width: min(86%, 300px);
  margin: 28px auto 0;
}

body.template-kidswedding .kids-dress__palette {
  grid-template-columns: repeat(var(--kids-palette-count, 5), minmax(0, 1fr));
}

body.template-kidswedding .kids-dress__palette:empty {
  display: none;
}

body.template-kidswedding .kids-dress__palette span[role="listitem"] {
  min-width: 0;
}

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 {
  max-width: 340px;
  margin-right: auto;
  margin-left: auto;
  font-size: 47px;
}

body.template-kidswedding .kids-gifts__lead {
  max-width: 350px;
  margin: 0 auto 30px;
  color: var(--kids-muted);
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.28;
  text-align: center;
}

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--gift {
  display: grid;
  gap: 12px;
}

body.template-kidswedding .kids-paper-card--gift .kids-gift-card__title {
  font-family: var(--display-font) !important;
  font-size: 34px;
  font-weight: 400;
  line-height: 0.95;
}

body.template-kidswedding .kids-paper-card--gift .kids-gift-card__description {
  max-width: 310px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.32;
}

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 .rsvp-consent label {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}

body.template-kidswedding .rsvp-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #fff;
}

body.template-kidswedding .rsvp-consent input:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

body.template-kidswedding .rsvp-consent span,
body.template-kidswedding .rsvp-consent a {
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
}

body.template-kidswedding .rsvp-consent a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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;
}
body.template-kidswedding .invite-photo-interlude {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #f2e8dc;
}

body.template-kidswedding .invite-photo-interlude[hidden] {
  display: none;
}

body.template-kidswedding .invite-photo-interlude img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
