/* Technodelic Tees v5.6.81 | The Personal Gift Shop (gifts.html only). All rules scoped to .gifts / .gifts-page. */
.gifts {
  --g-ink: #071444;
  --g-cream: #fffaf3;
  --g-plum: #3d1f3f;
  --g-plum-deep: #2a1632;
  --g-warm: #fff7ee;
  --g-wrap: 1062px;
  color: var(--g-ink);
  background: var(--g-cream);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Selected nav state (no shared aria-current style exists yet; scoped to this page) */
.gifts-page .desktop-nav a[aria-current="page"] { color: var(--pink, #ed0b86); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gifts-page .mobile-nav a[aria-current="page"] { color: var(--pink, #ed0b86); }

:where(.gifts) h1, :where(.gifts) h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.02em; margin: 0; }
:where(.gifts) p { margin: 0; }
.gifts-wrap { width: min(var(--g-wrap), calc(100% - 64px)); margin-inline: auto; }
.gifts a:focus-visible { outline: 3px solid var(--pink, #ed0b86); outline-offset: 3px; }

/* Buttons */
.gifts-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 7px; border: 1.5px solid var(--g-ink);
  font: 700 13px/1.2 Jost, "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.gifts-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(11, 20, 51, .14); }
.gifts-btn-dark { background: var(--g-ink); color: #fff; }
.gifts-btn-cream { background: var(--g-warm); color: var(--g-plum-deep); border-color: var(--g-warm); }
.gifts-btn-ghost { background: transparent; color: var(--g-warm); border-color: rgba(255, 247, 238, .75); }
.gifts-btn-ghost:hover { background: rgba(255, 247, 238, .1); box-shadow: none; }
.gifts-close a:focus-visible { outline-color: #fff; }

/* 1 / Hero: shallow split, copy left, approved photo right */
.gifts-hero { padding: clamp(28px, 3.4vw, 52px) 0 clamp(30px, 3.4vw, 48px); }
.gifts-hero-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.gifts-hero h1 { font-size: clamp(50px, 4.6vw, 72px); line-height: .96; letter-spacing: -.035em; font-weight: 700; }
.gifts-lede { margin-top: 18px; font: 400 clamp(17px, 1.3vw, 20px)/1.5 Jost, sans-serif; max-width: 380px; }
.gifts-hero-copy .gifts-btn { margin-top: 26px; }
.gifts-hero-photo { display: block; border-radius: 14px; overflow: hidden; background: #f8f0e7; }
.gifts-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* 2 / Two featured cards: restrained photo beside text, equal width */
.gifts-featured { padding: 0 0 clamp(44px, 5vw, 72px); }
.gifts-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gifts-card {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: clamp(20px, 2.4vw, 32px);
  padding: 20px; background: #fff; border: 1px solid rgba(7, 20, 68, .1); border-radius: 14px;
  box-shadow: 0 2px 14px rgba(42, 22, 50, .06);
}
.gifts-card-photo { display: block; border-radius: 10px; overflow: hidden; background: #f8f0e7; }
.gifts-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1122 / 1402; }
.gifts-card-body { padding-right: 6px; }
.gifts-card h2 { font-size: clamp(30px, 2.5vw, 38px); line-height: 1.02; font-weight: 700; }
.gifts-card-desc { margin-top: 12px; font: 400 16.5px/1.45 Jost, sans-serif; color: rgba(7, 20, 68, .8); max-width: 270px; }
.gifts-card-price { margin-top: 16px; font: 600 18px/1.2 Jost, sans-serif; }
.gifts-card .gifts-btn { margin-top: 20px; }

/* 3 / Plum closing CTA: compact, centered */
.gifts-close { background: linear-gradient(180deg, var(--g-plum) 0%, var(--g-plum-deep) 100%); color: var(--g-warm); padding: clamp(44px, 4.6vw, 64px) 0; text-align: center; }
.gifts-close-inner { width: min(720px, calc(100% - 40px)); margin-inline: auto; }
.gifts-close h2 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.02; font-weight: 700; }
.gifts-close p { margin-top: 14px; font: 400 clamp(16px, 1.2vw, 18px)/1.5 Jost, sans-serif; opacity: .92; }
.gifts-close-actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.gifts-br { display: none; }

/* Tablet */
@media (max-width: 1000px) {
  .gifts-wrap { width: calc(100% - 48px); }
  .gifts-hero-grid { grid-template-columns: minmax(250px, 4fr) 5fr; gap: 28px; }
  .gifts-hero h1 { font-size: clamp(40px, 5.4vw, 54px); }
  .gifts-cards { gap: 18px; }
  .gifts-card { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .gifts-card-photo { width: min(100%, 300px); margin-inline: auto; }
  .gifts-card-body { text-align: center; padding: 0 4px 6px; }
  .gifts-card-desc { margin-inline: auto; }
}

/* Mobile */
@media (max-width: 700px) {
  .gifts-wrap { width: calc(100% - 40px); }
  .gifts-hero { padding: 22px 0 32px; }
  .gifts-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .gifts-hero-photo { order: 2; border-radius: 12px; }
  .gifts-hero h1 { font-size: clamp(44px, 12.5vw, 54px); }
  .gifts-lede { font-size: 17px; max-width: none; }
  .gifts-hero-copy .gifts-btn { width: 100%; margin-top: 22px; }
  .gifts-cards { grid-template-columns: 1fr; gap: 18px; }
  .gifts-card { grid-template-columns: 1fr; padding: 14px 14px 18px; }
  .gifts-card-photo { width: min(78%, 300px); }
  .gifts-card h2 { font-size: 32px; }
  .gifts-card .gifts-btn { width: 100%; }
  .gifts-close { padding: 44px 0 48px; }
  .gifts-br { display: inline; }
  .gifts-close-actions { flex-direction: column; align-items: stretch; }
  .gifts-close .gifts-btn { width: 100%; min-height: 52px; }
}

/* v5.6.84 | Cozy Custom premium note */
.gifts-card-note { margin-top: 4px; font: 400 14px/1.35 Jost, sans-serif; color: rgba(7, 20, 68, .66); }
.gifts-card-note + .gifts-btn { margin-top: 16px; }

/* v5.6.86 | Whole composition scaled ~90% from the approved 5.6.85 layout: one shared centered rail for hero + cards,
   hero type/photo/gap scaled together, tighter top/bottom whitespace. Cards share row tracks (subgrid) so price, detail and button align. */
@media (min-width: 1001px) {
  .gifts-hero { padding: 26px 0 18px; }
  .gifts-hero-grid { gap: clamp(30px, 4.2vw, 58px); }
  .gifts-hero h1 { font-size: clamp(45px, 4.15vw, 65px); }
  .gifts-lede { font-size: clamp(15.5px, 1.17vw, 18px); margin-top: 16px; }
  .gifts-hero-copy .gifts-btn { margin-top: 22px; }

  .gifts-cards { grid-template-rows: minmax(0, 1fr) auto auto auto auto minmax(0, 1fr); row-gap: 0; column-gap: 24px; }
  .gifts-card {
    grid-row: 1 / span 6; grid-template-rows: subgrid;
    grid-template-columns: 220px minmax(0, 1fr); gap: 0 18px; align-items: start; padding: 18px;
  }
  .gifts-card-photo { grid-column: 1; grid-row: 1 / -1; align-self: start; }
  .gifts-card-body { display: contents; }
  .gifts-card h2 { grid-column: 2; grid-row: 2; font-size: clamp(30px, 2.5vw, 34.2px); }
  .gifts-card-desc { grid-column: 2; grid-row: 3; }
  .gifts-card-pricing { grid-column: 2; grid-row: 4; margin-top: 16px; }
  .gifts-card-pricing .gifts-card-price { margin-top: 0; }
  .gifts-card .gifts-btn { grid-column: 2; grid-row: 5; justify-self: start; margin-top: 20px; }
}

/* v5.6.86 | Hero text block nudged right on desktop; subtle divider where the plum CTA meets the navy footer */
@media (min-width: 1001px) { .gifts-hero-copy { margin-left: 22px; } }
.gifts-page .tt-footer { box-shadow: inset 0 1px 0 rgba(255, 250, 243, .15); }

/* v5.6.87 | Featured tiles scaled to ~90%, uniformly (photo, type, spacing, button, footprint). Description one notch lighter than the title. */
.gifts-card-desc { font-size: 14.5px; line-height: 1.45; margin-top: 11px; max-width: 250px; }
.gifts-card-price { font-size: 16.2px; }
.gifts-card-note { font-size: 12.6px; margin-top: 3px; }
.gifts-card .gifts-btn { min-height: 44px; padding: 10px 21px; font-size: 12px; }
@media (min-width: 1001px) {
  .gifts-cards { max-width: 1010px; margin-inline: auto; column-gap: 34px; }
  .gifts-card { grid-template-columns: 198px minmax(0, 1fr); gap: 0 16px; padding: 16px; border-radius: 13px; }
  .gifts-card-photo { border-radius: 9px; }
  .gifts-card h2 { font-size: clamp(27px, 2.25vw, 30.8px); }
  .gifts-card-pricing { margin-top: 14px; }
  .gifts-card .gifts-btn { margin-top: 18px; }
}
@media (max-width: 1000px) {
  .gifts-card h2 { font-size: 30px; }
  .gifts-card-photo { width: min(72%, 270px); }
}
@media (max-width: 700px) {
  .gifts-card h2 { font-size: 29px; }
}
