/* Product card (design: FEATURED PRODUCTS), shared by the home carousel, the product page, shop grids and Favourites. */
.pm-card { position: relative; }
.pm-card__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pm-card__photo { display: block; position: absolute; inset: 0; }
.pm-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--pm-ease), transform .8s var(--pm-ease); }
.pm-card__img--alt { opacity: 0; }
.pm-card:hover .pm-card__img--alt { opacity: 1; }
.pm-card:hover .pm-card__img { transform: scale(1.03); }
.pm-card__fav { position: absolute; right: 31.3px; bottom: 64.8px; width: 22.51px; height: 20.6px; color: var(--pm-indigo); z-index: 2; }
.pm-card__fav .pm-i { width: 22.51px; height: 20.6px; transition: transform var(--pm-fast) var(--pm-ease); }
.pm-card__fav[aria-pressed="true"] .pm-i { fill: var(--pm-indigo); animation: pm-pop .3s var(--pm-ease); }
@keyframes pm-pop { 50% { transform: scale(1.25); } }
.pm-card__fav:hover .pm-i { transform: scale(1.12); }
.pm-card__add {   /* 29.9px periwinkle disc, 28.9 from the right, 27.2 from the bottom */
  position: absolute; right: 28.9px; bottom: 27.2px; z-index: 2; width: 29.9px; height: 29.9px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--pm-periwinkle); color: var(--pm-indigo);
  box-shadow: inset 0 0 0 .91px var(--pm-arrow-line); transition: transform var(--pm-fast) var(--pm-ease), background var(--pm-fast);
}
.pm-card__add:hover { transform: scale(1.08); background: var(--pm-blush); }
.pm-card__add .pm-i { width: 15.7px; height: 15.7px; }
.pm-card__tick { display: none; }
.pm-card__add.is-added .i-plus { display: none; }
.pm-card__add.is-added .pm-card__tick { display: block; }
.pm-card__add.is-loading .pm-i { animation: pm-spin .7s linear infinite; }
.pm-card__name { margin-top: 31.55px; font: 600 18px/21.6px var(--pm-font); color: var(--pm-indigo); }   /* full names as written (client 2026-10-27; the design set short lowercase ones) */
.pm-card__name::first-letter, .pm-bag__name::first-letter, .pm-quick__title::first-letter { text-transform: uppercase; }   /* client: "Ocean child pin" */
.pm-card__name a:hover { text-decoration: underline; text-underline-offset: .15em; }
.pm-card__price { margin-top: 7.8px; font: 600 18px/21.6px var(--pm-font); color: var(--pm-indigo); }
/* the slashed price on every card (client, 2026-11), as on the product page */
.pm-card__price .pm-price__was, .pm-fbt__price .pm-price__was { margin-right: .4em; font-weight: 400; color: var(--pm-strike); text-decoration: line-through; text-decoration-thickness: .06em; }
/* sold out: a clear label on the photo, the photo dimmed, no "+" */
.pm-soldout { display: inline-block; padding: 4px 9px 3px; border-radius: 2px; background: var(--pm-indigo); color: var(--pm-blush); font: 600 11px/1.2 var(--pm-font); letter-spacing: .1em; text-transform: uppercase; }
.pm-card__soldout { position: absolute; z-index: 2; left: 12px; top: 12px; }
.pm-card.is-soldout .pm-card__img { opacity: .55; filter: grayscale(.35); }

@media (max-width: 767px) {
  /* client, 2026-11: the heart on phone cards too (the phone design had none) */
  .pm-card__fav { right: 16.9px; bottom: 54px; width: 20px; height: 18.3px; }
  .pm-card__fav .pm-i { width: 20px; height: 18.3px; }
  .pm-card__soldout { left: 8px; top: 8px; padding: 3px 7px 2px; font-size: 9.5px; }
  .pm-card__add { right: 16.6px; bottom: 21.5px; width: 23.6px; height: 23.6px; box-shadow: inset 0 0 0 .72px var(--pm-arrow-line); }
  .pm-card__add .pm-i { width: 12.4px; height: 12.4px; }
  .pm-card__name { margin-top: 13px; font-size: 13px; line-height: 15.6px; }   /* client: larger than the design's 9px */
  .pm-card__price { margin-top: 4px; font-size: 13px; line-height: 15.6px; }
}
