.vivid-shortlist-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid #ded4df;
  border-radius: 999px;
  background: #fff;
  color: #822361;
  font-size: .86rem;
  font-weight: 700;
}
.vivid-shortlist-ready .vivid-shortlist-button { display: inline-flex; }
.vivid-shortlist-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.vivid-shortlist-button[aria-pressed="true"] { background: #fff0f8; border-color: #da85b8; color: #c71c77; }
.vivid-shortlist-button[aria-pressed="true"] svg { fill: currentColor; }
.vivid-shortlist-button:hover { background: #fff0f8; }
.vivid-shortlist-button:focus-visible, .vivid-shortlist-nav:focus-visible { outline: 3px solid #b86fd4; outline-offset: 3px; }
.vivid-product-card__media { position: relative; }
.vivid-product-card__media .vivid-trending-badge { top: auto; bottom: .45rem; left: .45rem; right: auto; }
.vivid-shortlist-button--compact { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 44px; padding: 0; }
.vivid-shortlist-button--compact [data-shortlist-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.vivid-product-shortlist { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .8rem; margin: .7rem 0 1rem; }
.vivid-product-shortlist > span, .vivid-shortlist-help { color: #667085; font-size: .8rem; }
.vivid-shortlist-nav { align-items: center; gap: .4rem; color: #822361; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; }
.vivid-shortlist-nav > span:first-child { font-size: 1.5rem; line-height: 1; }
.vivid-shortlist-nav small { background: #fff0f8; padding: .15rem .4rem; border-radius: 999px; min-width: 1.4rem; text-align: center; }
.vivid-shortlist-eyebrow { color: #98206d; font-size: .8rem; letter-spacing: .09em; font-weight: 800; text-transform: uppercase; }
.vivid-shortlist-page [data-shortlist-grid] { margin-top: 1.5rem; }
.vivid-shortlist-remove { display: block; margin: .7rem auto 0; background: none; border: 0; color: #667085; font-size: .8rem; text-decoration: underline; min-height: 36px; }
.vivid-shortlist-remove:hover { color: #ad145c; }
.vivid-shortlist-notice { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 1050; width: max-content; max-width: calc(100% - 2rem); padding: .8rem 1.2rem; border: 1px solid #edd7e6; border-radius: .7rem; background: #fff; color: #562044; box-shadow: 0 4px 20px #36224224; font-size: .85rem; }
.vivid-shortlist-notice[hidden] { display: none; }

/* A brief, local celebration: transform/opacity only, no layout movement. */
#main-image-container, .vivid-product-shortlist { position: relative; }
.vivid-shortlist-burst {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.vivid-shortlist-burst > span {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 25px;
  height: 25px;
  margin: -12.5px;
  color: #ed258e;
  opacity: 0;
  animation: vivid-shortlist-float 1000ms ease-out both;
}
.vivid-shortlist-burst svg { display: block; width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: 1; }
.vivid-shortlist-burst > span:first-child { width: 52px; height: 52px; margin: -26px; animation: vivid-shortlist-pop 1050ms ease-out both; }
.vivid-shortlist-burst > span:nth-child(2) { --heart-x: -48px; --heart-y: -65px; --heart-turn: -22deg; animation-delay: 60ms; color: #c33bc4; }
.vivid-shortlist-burst > span:nth-child(3) { --heart-x: 45px; --heart-y: -78px; --heart-turn: 20deg; animation-delay: 100ms; color: #f65daf; }
.vivid-shortlist-burst > span:nth-child(4) { --heart-x: -20px; --heart-y: -92px; --heart-turn: -12deg; width: 18px; height: 18px; margin: -9px; animation-delay: 160ms; color: #f65daf; }
.vivid-shortlist-burst > span:nth-child(5) { --heart-x: 58px; --heart-y: -38px; --heart-turn: 28deg; width: 18px; height: 18px; margin: -9px; animation-delay: 120ms; color: #bd48cc; }
.vivid-product-shortlist > .vivid-shortlist-burst { left: 0; top: auto; bottom: 0; width: 150px; height: 150px; overflow: visible; }
.vivid-product-shortlist > .vivid-shortlist-burst > span { top: 85%; }
@keyframes vivid-shortlist-pop {
  0% { opacity: 0; transform: scale(.25) rotate(-12deg); }
  20% { opacity: 1; transform: scale(1.15) rotate(7deg); }
  38%, 65% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: translateY(-22px) scale(.85); }
}
@keyframes vivid-shortlist-float {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); }
  18% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--heart-x), var(--heart-y)) scale(.8) rotate(var(--heart-turn)); }
}
@media (prefers-reduced-motion: reduce) {
  /* Keep confirmation visible without any floating, bouncing or scaling. */
  .vivid-shortlist-burst > span,
  .vivid-shortlist-burst > span:first-child {
    animation: vivid-shortlist-gentle 1050ms ease-out both;
    transform: translate(calc(var(--heart-x, 0px) * .85), calc(var(--heart-y, 0px) * .65)) rotate(var(--heart-turn, 0deg));
  }
}
@keyframes vivid-shortlist-gentle {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}
@media (max-width: 575.98px) {
  .vivid-shortlist-notice { bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .vivid-product-shortlist > span { font-size: .75rem; }
  .vivid-shortlist-button--compact { top: .2rem; right: .2rem; }
}
