.gift-page {
  --gift-ink: #3a1c24;
  --gift-muted: #7a5a62;
  --gift-paper: rgba(255, 248, 244, 0.78);
  --gift-wine: #7a2d3b;
  --gift-rose: #c26a74;
  --gift-gold: #b58a5a;
  --gift-line: rgba(122, 45, 59, 0.14);
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--gift-ink);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(194, 106, 116, 0.22), transparent 55%),
    radial-gradient(740px 480px at 100% 12%, rgba(181, 138, 90, 0.2), transparent 50%),
    linear-gradient(180deg, #f7ebe6 0%, #f3ddd8 42%, #efe4d8 100%);
  padding: 118px 20px 88px;
}

[data-theme="dark"] .gift-page {
  --gift-ink: #f7ece7;
  --gift-muted: #d7b8bc;
  --gift-paper: rgba(42, 18, 24, 0.72);
  --gift-wine: #e8c2b2;
  --gift-rose: #e39aa3;
  --gift-gold: #e4c27a;
  --gift-line: rgba(228, 194, 122, 0.22);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(194, 106, 116, 0.22), transparent 55%),
    radial-gradient(740px 480px at 100% 12%, rgba(181, 138, 90, 0.16), transparent 50%),
    linear-gradient(180deg, #1a0d12 0%, #2a141a 55%, #1c1210 100%);
}

.gift-glow {
  pointer-events: none;
  position: absolute;
  inset: -10% -8% auto;
  z-index: -1;
  height: 70vh;
  background:
    radial-gradient(circle at 22% 38%, rgba(255, 214, 210, 0.55), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(232, 196, 154, 0.38), transparent 32%);
  filter: blur(8px);
}

.gift-hero,
.gift-steps {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.gift-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: 40px 48px;
  align-items: start;
}

.gift-kicker,
.gift-spec__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gift-rose);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gift-rings {
  position: relative;
  width: 26px;
  height: 16px;
}

.gift-rings::before,
.gift-rings::after {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gift-gold);
  border-radius: 50%;
}

.gift-rings::before { inset-inline-start: 0; }
.gift-rings::after { inset-inline-start: 8px; }

.gift-hero h1,
.gift-spec h2,
.gift-pass h2,
.gift-steps h2 {
  font-family: Fraunces, "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.gift-hero h1 {
  margin: 0;
  max-width: 11.5ch;
  color: var(--gift-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
}

.gift-hero h1 em {
  display: block;
  color: var(--gift-wine);
  font-style: italic;
  font-weight: 400;
}

.gift-flourish {
  display: block;
  width: 180px;
  height: 20px;
  margin: 18px 0 0;
  fill: var(--gift-gold);
  stroke: var(--gift-gold);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.gift-lead,
.gift-spec p,
.gift-steps p {
  color: var(--gift-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gift-lead {
  max-width: 40rem;
  margin: 16px 0 0;
}

.gift-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 28px 0 0;
}

.gift-price__now,
.gift-pass__price strong,
.gift-bar strong {
  color: var(--gift-wine);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gift-price__now abbr {
  font-family: Manrope, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.gift-price__was,
.gift-pass__price s,
.gift-bar s {
  color: var(--gift-muted);
  font-size: 1rem;
}

.gift-cta,
.gift-bar button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #8d3a48 0%, #6c2432 100%);
  box-shadow: 0 12px 28px rgba(108, 36, 50, 0.28);
  color: #fff7f2;
  cursor: pointer;
  font: 700 0.95rem/1 Manrope, sans-serif;
  letter-spacing: 0.02em;
  padding: 16px 28px;
}

[data-theme="dark"] .gift-cta,
[data-theme="dark"] .gift-bar button {
  background: linear-gradient(180deg, #e8c2b2 0%, #d7a394 100%);
  color: #3a1c24;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.gift-cta {
  margin-top: 24px;
}

.gift-pass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 90, 0.45);
  border-radius: 30px;
  background:
    linear-gradient(var(--gift-paper), var(--gift-paper)) padding-box,
    linear-gradient(160deg, #f3e0c8, #c26a74 48%, #7a2d3b) border-box;
  box-shadow:
    0 30px 70px rgba(58, 28, 36, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.gift-pass__photo {
  position: relative;
}

.gift-pass img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.gift-pass__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(42, 16, 22, 0.38));
}

.gift-pass__body {
  padding: 22px 24px 26px;
}

.gift-pass__kicker,
.gift-pass__body p {
  margin: 0;
}

.gift-pass__kicker {
  color: var(--gift-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gift-pass h2 {
  margin: 8px 0 6px;
  font-size: 2.5rem;
}

.gift-pass__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px !important;
}

.gift-pass__price strong {
  font-size: 2.2rem;
}

.gift-pass__ribbon {
  display: inline-block;
  margin: 0 0 12px;
  border-radius: 999px;
  background: rgba(122, 45, 59, 0.1);
  color: var(--gift-wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.gift-pass__seal {
  position: absolute;
  z-index: 1;
  top: 16px;
  inset-inline-start: 16px;
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #f4d7b0, #b58a5a 58%, #7a2d3b);
  color: #fff8ea;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  box-shadow:
    inset 0 0 0 5px rgba(255, 248, 234, 0.28),
    0 10px 24px rgba(58, 28, 36, 0.22);
}

.gift-spec {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
}

.gift-spec article,
.gift-steps li {
  min-width: 0;
  border: 1px solid var(--gift-line);
  border-radius: 26px;
  background: var(--gift-paper);
  backdrop-filter: blur(16px);
  padding: 24px 24px 10px;
  box-shadow: 0 18px 40px rgba(58, 28, 36, 0.06);
}

.gift-spec h2,
.gift-steps h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.gift-spec .gift-spec__label,
.gift-steps .gift-spec__label {
  margin-bottom: 8px;
}

.gift-spec h2 {
  margin: 0 0 6px;
}

.gift-spec p,
.gift-spec li {
  line-height: 1.55;
}

.gift-spec ul,
.gift-spec ol,
.gift-steps ol {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gift-spec li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--gift-line);
  color: var(--gift-ink);
}

.gift-spec li span,
.gift-spec ul li::before,
.gift-steps li > span {
  color: var(--gift-rose);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
}

.gift-spec ul li::before {
  content: "♡";
  font-size: 0.85rem;
  line-height: 1.6;
}

.gift-spec article > p:last-child {
  margin: 8px 0 16px;
  font-size: 0.92rem;
}

.gift-steps {
  margin-top: 56px;
}

.gift-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gift-steps li {
  padding: 24px;
}

.gift-steps h3 {
  margin: 8px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.gift-steps p {
  margin: 8px 0 0;
}

.gift-bar {
  display: none;
}

@media (max-width: 860px) {
  .gift-hero,
  .gift-spec,
  .gift-steps ol {
    grid-template-columns: 1fr;
  }

  .gift-hero h1 {
    max-width: none;
  }

  .gift-hero h1 em {
    display: inline;
  }

  .gift-hero__copy { order: 1; }
  .gift-spec { order: 2; }
  .gift-pass { order: 3; }
}

@media (max-width: 760px) {
  .gift-page {
    padding-top: 104px;
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .gift-hero {
    gap: 28px;
  }

  .gift-cta {
    display: none;
  }

  .gift-bar {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    padding-inline-end: 78px;
    background: rgba(255, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--gift-line);
  }

  [data-theme="dark"] .gift-bar {
    background: rgba(42, 18, 24, 0.92);
  }

  .gift-bar p {
    margin: 0;
    min-width: 0;
  }

  .gift-bar strong {
    display: block;
    font-size: 1.45rem;
  }

  .gift-bar button {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 16px;
    white-space: nowrap;
  }
}
