/* RG VISUAL PREVIEW (visuals-preview-1): studio-first homepage + gallery-grade cards.
   Preview only. No payment styles or behaviour are changed here. */

/* ---------- A. Studio-first hero ---------- */
.hero--studio{background:#2a1530}
.hero--studio>img{opacity:1;object-position:50% 50%}
.hero--studio:after{background:
  radial-gradient(ellipse 46% 52% at 50% 47%,#28102ed9 0%,#28102ea6 55%,#28102e00 100%),
  linear-gradient(0deg,#28102ee0 0%,#28102e00 38%),
  linear-gradient(180deg,#28102e66 0%,#28102e00 22%)}
.hero--studio .hero-copy h1,.hero--studio .hero-copy .eyebrow{text-shadow:0 2px 24px #1a0a1fcc}
.hero--studio .cta{background:#28102e66;backdrop-filter:blur(2px)}
.hero--studio .hero-caption{text-shadow:0 1px 10px #1a0a1f}
@media(max-width:800px){.hero--studio>img{object-position:50% 50%}
  .hero--studio:after{background:linear-gradient(0deg,#28102ef0 0%,#28102e8c 45%,#28102e99 100%)}}

/* Editorial detail crop (Nerissa) sits a little higher so the mermaid's face is in frame. */
.feature .editorial img[src*="nerissa-detail"]{object-position:50% 30%}
.feature-product img{object-fit:contain;background:#efe3d1;padding:8px}

/* ---------- B. Gallery-grade product cards ---------- */
.grid .product{position:relative}
.grid .product h3{font:500 18px/1.25 'Cormorant Garamond',Georgia,serif;letter-spacing:.01em;margin-top:16px;min-height:0}
.grid .product>p{font-size:12px;letter-spacing:.06em;margin-top:4px;color:#6b4f6e}
.grid .product .product-info{padding:6px 0;min-height:32px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6b4f6e;text-decoration:none;border-bottom:1px solid transparent}
.grid .product .product-info:hover,.grid .product .product-info:focus-visible{color:var(--plum);border-bottom-color:var(--gold)}
.grid .product-photo{position:relative;transition:box-shadow .5s ease}
@media(hover:hover){.grid .product:hover .product-photo{box-shadow:0 18px 38px #28102e1f,inset 0 0 0 1px #42184a10}}

/* Quiet quick add: a small corner "+" over the photo, same add() path (data-add). */
.grid .product .quick-add{position:absolute;z-index:2;top:12px;right:12px;width:auto;min-width:44px;height:44px;min-height:44px;margin:0;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:6px;
  background:#fbf5eaeb;color:var(--plum);border:1px solid #42184a2e;border-radius:999px;box-shadow:0 4px 14px #28102e1f;font-size:11px;letter-spacing:.06em}
.grid .product .quick-add .qa-plus{font-size:20px;line-height:1;font-weight:400}
.grid .product .quick-add .qa-label{display:none}
.grid .product .quick-add:hover,.grid .product .quick-add:focus-visible{background:var(--plum);color:var(--cream);transform:none}
.grid .product .quick-add:hover .qa-label,.grid .product .quick-add:focus-visible .qa-label{display:inline}
@media(hover:hover) and (min-width:801px){
  .grid .product .quick-add{opacity:0;transform:translateY(-4px);transition:opacity .25s,transform .25s,background .25s,color .25s}
  .grid .product:hover .quick-add,.grid .product:focus-within .quick-add{opacity:1;transform:none}
}
@media(max-width:800px){.grid .product .quick-add{top:8px;right:8px;padding:0;width:40px;min-width:40px;height:40px;min-height:40px}
  .grid .product h3{font-size:17px}}

/* Second image on hover/focus (only rendered when the catalogue has a genuine alternate). */
.grid .product-photo .product-alt{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:none;max-height:none;object-fit:contain;opacity:0;transition:opacity .45s ease;border-radius:20px}
.grid .product.has-alt:hover .product-alt,.grid .product.has-alt .product-photo:focus-visible .product-alt{opacity:1}
.grid .product.has-alt:hover .product-photo>img:first-child{opacity:0}
@media(max-width:800px){.grid .product-photo .product-alt{inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}}

/* ---------- Curated home edit ---------- */
.collection--curated .filters:has(+ .grid.is-curated){display:none}
.curated-more{text-align:center;margin-top:46px}
.curated-more p{font-size:11px;letter-spacing:.08em;margin-top:14px;color:#6b4f6e}
.cta--plum{background:var(--plum);color:var(--cream);border-color:var(--plum);padding:15px 34px}
.cta--plum:hover{background:var(--deep);color:var(--cream)}
/* No-JS fallback cards are links */
a.product-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;padding:12px;background:#F5EBDC;border-radius:var(--photo-radius,28px)}
a.product-photo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:20px}

@media(prefers-reduced-motion:reduce){.grid .product .quick-add,.grid .product-photo .product-alt{transition:none}}
