/* Collection-only gilded displays. Product photographs remain complete. */
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 34px}
.collection-card .deck-photo-link{aspect-ratio:5/6;border:0;border-radius:30% 30% 26% 26% / 15% 15% 13% 13%;background:radial-gradient(ellipse at 50% 42%,#6a35815e,transparent 66%),linear-gradient(145deg,#3a1a4f,#16091f 48%,#341340);box-shadow:inset 0 0 35px #06010e80,0 16px 30px #08020f55;overflow:visible;isolation:isolate;transition:filter .35s ease,transform .35s ease}
.collection-card .deck-photo-link::before{content:'';position:absolute;inset:-2%;z-index:2;background:url('assets/collection-gold-frame.svg') center/100% 100% no-repeat;pointer-events:none}
.collection-card .deck-photo-link::after{content:'';position:absolute;inset:-2%;z-index:3;opacity:.35;background:radial-gradient(ellipse 2px 7px at 50% 4%,#fff1c0,transparent),radial-gradient(ellipse 7px 2px at 50% 4%,#fff1c0,transparent),radial-gradient(ellipse 2px 5px at 3.5% 50%,#f9df9b,transparent),radial-gradient(ellipse 2px 5px at 96.5% 50%,#f9df9b,transparent);animation:collection-frame-shimmer 7s ease-in-out infinite;pointer-events:none}
.collection-card:nth-child(2n) .deck-photo-link::after{animation-delay:-2.7s}.collection-card:nth-child(3n) .deck-photo-link::after{animation-delay:-4.8s}
.collection-card .deck-photo-link .deck-collection-photo{position:static;display:block;width:84%;height:auto;aspect-ratio:1;padding:0;object-fit:contain;border-radius:14px;transform:none;clip-path:none;box-shadow:0 5px 20px #09021190}
.collection-card .deck-photo-link:hover,.collection-card .deck-photo-link:focus-visible{transform:translateY(-4px);filter:drop-shadow(0 0 9px #e3bd6f35);box-shadow:inset 0 0 35px #06010e80,0 18px 32px #08020f66}
.collection-card .deck-photo-link:hover::after,.collection-card .deck-photo-link:focus-visible::after{animation:collection-frame-shimmer 3s ease-in-out infinite}
.collection-card:has(.deck-photo-link) h3{margin:22px 0 10px;min-height:2.16em;color:#f2daa6}
.collection-card .amazon-link{border-radius:18px 5px 18px 5px;background:linear-gradient(150deg,#6b3b602e,#241032);box-shadow:inset 0 1px #ecd39819,0 6px 12px #09021130}.collection-card .amazon-link:hover{background:#ecd3a3;color:#211036}
@keyframes collection-frame-shimmer{0%,100%{opacity:.2}45%,60%{opacity:.85}}
@media(min-width:1001px){.collection-grid:not(:has([hidden])) .collection-card:last-child:nth-child(3n + 1){grid-column:2}}
@media(max-width:1000px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px}}
@media(max-width:560px){.collection-grid{grid-template-columns:1fr;gap:42px;max-width:380px;margin-inline:auto;padding-inline:14px}.collection-card:has(.deck-photo-link) h3{font-size:32px;min-height:0;margin-top:23px}.collection-card>p{font-size:14px}.collection-card .amazon-link{font-size:15px;min-height:48px;width:88%}}
@media(prefers-reduced-motion:reduce){.collection-card .deck-photo-link{transition:none}.collection-card .deck-photo-link:hover,.collection-card .deck-photo-link:focus-visible{transform:none}.collection-card .deck-photo-link::after{animation:none!important;opacity:.45}}
@media(forced-colors:active){.collection-card .deck-photo-link{border:1px solid LinkText}.collection-card .deck-photo-link::before,.collection-card .deck-photo-link::after{display:none}}

.collection-hero-copy .custom-deck-link{display:table;margin:1rem auto 0;padding:.6rem .2rem;color:#ffe4ad;border-bottom:1px solid currentColor;font:500 1.05rem/1.4 Jost,sans-serif;text-decoration:none}
.custom-deck-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* Sacred Love Messages Vol. 1 reading sample */
.deck-film-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-top: .4rem;
  color: #f0ce92;
  text-decoration: underline;
  text-underline-offset: .22em;
  scroll-margin-block: 25vh;
}
.deck-film-link small { color: #d2bfd5; text-decoration: none; }
.deck-film {
  box-sizing: border-box;
  width: min(31rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #aa8955;
  border-radius: 1rem;
  background: #211329;
  color: #f7e5ba;
  box-shadow: 0 16px 65px #09040ec7;
}
.deck-film::backdrop { background: #0e0716d9; }
.deck-film header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.deck-film h2 { margin: 0; font: 500 clamp(1.3rem,4vw,1.7rem)/1.08 "Cormorant Garamond",Georgia,serif; }
.deck-film header button { min-height: 44px; padding: .4rem .75rem; color: #f7e5ba; border: 1px solid #a18457; border-radius: 1rem; background: #32203b; cursor: pointer; }
.deck-film video { display: block; width: 100%; height: auto; max-height: min(67dvh, 640px); object-fit: contain; background: #140b18; border-radius: .5rem; }
.deck-film #deck-film-description { margin: .7rem 0 0; color: #decfe1; font: 400 .94rem/1.4 Jost, sans-serif; }
.deck-film-link:focus-visible, .deck-film button:focus-visible { outline: 2px solid #ffe4a8; outline-offset: 3px; }

.collection-hero.sacred-tarot-hero {
  display: grid;
  align-items: center;
  min-height: clamp(530px, 47vw, 750px);
  padding: 0;
  background: #160b23;
}
.sacred-tarot-hero .collection-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sacred-tarot-hero .collection-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.sacred-tarot-hero .collection-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #110a1e6e, #110a1e1a 42%, transparent 60%);
}
.sacred-tarot-hero .collection-hero-copy {
  width: min(48%, 46rem);
  padding: 4rem 0 5.75rem 6vw;
  text-align: left;
}
.sacred-tarot-hero .collection-hero-copy h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.2rem);
}
.sacred-tarot-hero .collection-hero-copy .custom-deck-link {
  margin-inline: 0;
}
@media (max-width: 760px) {
  .collection-hero.sacred-tarot-hero {
    min-height: 0;
  }
  .sacred-tarot-hero .collection-hero-photo {
    position: relative;
    aspect-ratio: 1.25;
  }
  .sacred-tarot-hero .collection-hero-photo img {
    object-position: 64% center;
  }
  .sacred-tarot-hero .collection-hero-photo::after {
    background: linear-gradient(transparent 77%, #160b23);
  }
  .sacred-tarot-hero .collection-hero-copy {
    width: 100%;
    padding: 0 6% 4.5rem;
    margin-top: -.3rem;
    text-align: center;
  }
  .sacred-tarot-hero .collection-hero-copy .custom-deck-link {
    margin-inline: auto;
  }
}
