/* Shared limited-edition treatment and Pearanormal's launch presentation. */
.edition-swipe {
  position: relative;
  isolation: isolate;
  display: inline-block;
  color: var(--ink);
  font: 700 12px/20px var(--font);
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.edition-swipe::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  transform: rotate(-1.5deg);
}
.edition-swipe::before {
  inset: 1px -5px -2px;
  background: linear-gradient(96deg, transparent 0%, color-mix(in srgb, var(--launch-green) 38%, transparent) 5%, color-mix(in srgb, var(--launch-green) 66%, transparent) 28%, color-mix(in srgb, var(--launch-green) 46%, transparent) 82%, transparent 100%);
  clip-path: polygon(3% 18%, 17% 8%, 37% 13%, 62% 4%, 86% 12%, 98% 6%, 96% 26%, 100% 38%, 97% 56%, 99% 75%, 90% 86%, 67% 91%, 42% 84%, 21% 97%, 2% 87%, 4% 66%, 0% 51%, 3% 36%);
  /* Texture removes green pigment so the real background shows through. */
  mask-image: repeating-linear-gradient(178deg, var(--ink) 0 3px, transparent 3px 3.7px, var(--ink) 3.7px 6px);
}
.product-launch-labels {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-8) var(--sp-12);
}
.product-launch-labels .op-card__chip { position: static; }
.edition-caption,
.edition-caption__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-12);
}
.edition-caption__label { flex-wrap: nowrap; gap: var(--sp-8); }
.product-card__type.edition-caption { font-size: 12px; }
.product-card__media--paper { overflow: hidden; }
.launch-portrait { transform: rotate(10deg); }
.pd-hero__media img.launch-portrait { transform: scale(1.08) rotate(10deg); }
.pd-gallery__thumb img.launch-portrait { transform: rotate(10deg); }

/* Approved pear-green primary actions for Pearanormal only. */
.sm-hero__slide[data-hero-slide="pearanormal-activity"] .op-btn--primary,
.pd-hero__cta[data-product-find-store="pearanormal-activity"] {
  background: var(--launch-green);
  color: var(--ink);
}
@media (hover: hover) {
  .sm-hero__slide[data-hero-slide="pearanormal-activity"] .op-btn--primary:hover,
  .pd-hero__cta[data-product-find-store="pearanormal-activity"]:hover {
    background: color-mix(in srgb, var(--launch-green) 85%, var(--white));
  }
}

/* Keep the supplied campaign image upright and its face/product in frame. */
.sm-hero__art { position: relative; }
.sm-hero__pic--pearanormal img { object-position: center top; }
@media (min-width: 769px) {
  .sm-hero__slide[data-hero-slide="pearanormal-activity"] .sm-hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, color-mix(in srgb, var(--white) 32%, transparent) 0%, color-mix(in srgb, var(--white) 32%, transparent) 45%, transparent 58%);
  }
  .sm-hero__slide[data-hero-slide="pearanormal-activity"] .sm-hero__copy {
    width: min(500px, calc(45% - 48px));
  }
}
@media (max-width: 768px) {
  .product-launch-labels { top: 12px; left: 12px; right: 12px; }
}

/* Approved seasonal card finish; all other flavors retain their styling. */
.op-card[data-product="pearanormal-activity"] .op-card__title {
  animation: launch-title-glow 5s ease-in-out infinite paused;
}
.op-cards[data-launch-motion="running"] .op-card[data-product="pearanormal-activity"].is-focal .op-card__title {
  animation-play-state: running;
}
@keyframes launch-title-glow {
  0%, 100% { text-shadow: 0 0 3px color-mix(in srgb, var(--launch-green) 55%, transparent), 0 0 8px color-mix(in srgb, var(--launch-green) 40%, transparent); }
  50% { text-shadow: 0 0 6px var(--launch-green), 0 0 18px var(--launch-green); }
}
@media (prefers-reduced-motion: reduce) {
  .op-card[data-product="pearanormal-activity"] .op-card__title { animation: none; }
  .op-card[data-product="pearanormal-activity"] .op-card__title {
    text-shadow: 0 0 4px color-mix(in srgb, var(--launch-green) 60%, transparent);
  }
}
