.jf-gifts-page main .entry-title,
.jf-gifts-page main .wp-block-post-title { display: none; }

.jf-gifts {
  --gift-paper: #fbfaf7;
  --gift-ink: #17202a;
  --gift-magenta: #c40064;
  --gift-border: #ded5cd;
  background: var(--gift-paper);
  color: var(--gift-ink);
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(20px, 5vw, 64px);
  font-size: 1rem;
  line-height: 1.55;
}

.jf-gifts h1,
.jf-gifts h2,
.jf-gifts h3 {
  color: inherit;
  font: 400 clamp(2rem, 4.4vw, 4.4rem)/1.03 Georgia, serif;
  margin: 0 0 0.5em;
}

.jf-gifts h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.jf-gifts h3 { font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.jf-gifts p { margin: 0 0 1.1em; }

.jf-gifts-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
  padding: 0 0 clamp(38px, 7vw, 84px);
}

.jf-gifts-hero p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 32ch; }
.jf-gifts-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
}

.jf-gifts .jf-gifts-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--gift-magenta);
  color: #fff;
  padding: 12px 18px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.jf-gifts .jf-gifts-button:hover { background: #a90056; color: #fff; }
.jf-gifts .jf-gifts-link { display: table; margin-top: 1rem; }
.jf-gifts a:not(.jf-gifts-button) { color: #a90056; text-decoration: underline; text-underline-offset: 0.2em; }
.jf-gifts :focus-visible { outline: 2px solid #17202a; outline-offset: 4px; }

.jf-gifts-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.jf-gifts-offer {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fffdfb;
  border: 1px solid var(--gift-border);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.jf-gifts-offer h3 { background: #f2ba97; color: #332018; margin: 0; padding: 16px 10px; }
.jf-gifts-offer:nth-child(2) h3 { background: #006383; color: #fff; }
.jf-gifts-offer:nth-child(3) h3 { background: #a90056; color: #fff; }
.jf-gifts-offer-body { display: flex; flex-direction: column; align-items: center; padding: 20px 12px; }
.jf-gifts-offer-body .jf-gifts-button { margin-top: auto; }
.jf-gifts-offer-body > span { margin-bottom: 18px; }
.jf-gifts-price { color: #a90056; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; margin-block: auto 6px; }
.jf-gifts .jf-gifts-unavailable { margin-bottom: 0; color: #5b6370; }
.jf-gifts-details { max-width: 42rem; margin: clamp(36px, 7vw, 84px) auto 0; }
.jf-gifts details { border-top: 1px solid var(--gift-border); padding: 10px 0; }
.jf-gifts summary { cursor: pointer; padding: 8px 0; font-weight: 700; }
.jf-gifts-redeem { max-width: 680px; }
.jf-gifts-redeem h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.jf-gifts-redeem blockquote { border-inline-start: 3px solid #eea460; margin: 0 0 1.1em; padding-inline-start: 16px; }
.jf-gifts-notice { padding: 10px 14px; background: #f7efe9; border-inline-start: 3px solid var(--gift-magenta); }
.jf-gifts-account { margin-top: 1.3em; }
.jf-gifts-verify { display: grid; gap: 12px; justify-items: start; margin: 0.7em 0 1.5em; }
.jf-gifts-verify label { display: grid; gap: 4px; width: min(100%, 24rem); font-weight: 600; }
.jf-gifts-verify input { border: 1px solid #796f68; border-radius: 5px; color: var(--gift-ink); background: #fff; min-height: 42px; padding: 6px 10px; }

@media (max-width: 720px) {
  .jf-gifts-hero,
  .jf-gifts-offers { grid-template-columns: 1fr; }
  .jf-gifts-hero img { max-height: 240px; }
}
