/* ZEVYRO · product card (owner: commerce) — snippets/product-card, used by product-crosssell and main-collection. */
.z-pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }

/* the plate: the render in the tilt component, its floor fading into the page */
.z-pcard__media { position: relative; display: block; color: inherit; text-decoration: none; }
.z-pcard__plate { display: block; --zt-radius: 0; --zt-glare: .5; --zt-sheen: .45; }
.z-pcard__plate .z-tilt__target, .z-pcard__plate-in { box-shadow: none; }
.z-pcard__plate-in {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: transparent;
}
/* the edges dissolve into whatever is behind (plain obsidian, guilloché, the onyx of the featured card) */
.z-pcard__plate-in {
  -webkit-mask-image: radial-gradient(ellipse 72% 76% at 50% 44%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 76% at 50% 44%, #000 58%, transparent 100%);
}
.z-pcard__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(1.02);
  transition: transform 1.6s var(--z-ease-out);
}
.z-pcard--colecao .z-pcard__img { object-position: 50% 8%; }
@media (hover: hover) {
  .z-pcard:hover .z-pcard__img { transform: scale(1.06); }
}
.z-pcard .z-illustrative { left: 8px; bottom: 8px; }
.z-pcard__badge {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 5px 12px 4px;
  border: 1px solid var(--z-gold);
  background: rgba(7, 7, 7, .7);
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--z-gold-hi);
}

/* text */
.z-pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding-top: 22px; }
.z-pcard__num { display: flex; align-items: center; gap: 14px; height: 2.25rem; font-family: var(--z-font-display); font-size: 2.25rem; font-weight: 300; line-height: 1; }
.z-pcard__num .z-foil { flex: 0 0 auto; margin: 0; padding: 0 .1em 0 0; letter-spacing: .04em; }
.z-pcard--colecao .z-pcard__num { font-size: 1.5rem; }
.z-pcard__rule { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--z-line), transparent); }
.z-pcard__title {
  margin-top: 14px;
  font-family: var(--z-font-caps);
  font-size: clamp(.9375rem, .88rem + .25vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--z-ivory);
}
.z-pcard__title a { color: inherit; text-decoration: none; transition: color var(--z-dur-base); }
.z-pcard__title a:hover { color: var(--z-gold-hi); }
.z-pcard__sub { margin-top: 6px; font-size: var(--z-fs-xs); color: var(--z-ivory-2); }
.z-pcard__tagline {
  margin-top: 14px;
  font-family: var(--z-font-display);
  font-size: var(--z-fs-display-xs);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  color: var(--z-ivory);
}
.z-pcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--z-line-soft);
}
.z-pcard__body > .z-pcard__tagline + .z-pcard__foot, .z-pcard__body > .z-pcard__sub + .z-pcard__foot { margin-top: 22px; }
.z-pcard__price .z-price { font-size: var(--z-fs-lead); }
.z-pcard__form { display: contents; }
.z-pcard__add { gap: .65em; }
.z-pcard__status { flex: 1 0 100%; font-size: var(--z-fs-xs); color: var(--z-error); }
.z-pcard__more { align-self: flex-start; margin-top: 18px; }

/* featured (Gold): an engraved frame around the whole card */
.z-pcard--featured {
  padding: 14px 14px 22px;
  border: 1px solid var(--z-line);
  background: linear-gradient(180deg, rgba(201, 166, 91, .07), rgba(201, 166, 91, 0) 45%), var(--z-onyx);
  box-shadow: 0 40px 80px -50px rgba(201, 166, 91, .35);
}
.z-pcard--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  background: var(--z-gold);
  opacity: .85;
  -webkit-mask: var(--z-corner-tl) top left / 24px no-repeat, var(--z-corner-tr) top right / 24px no-repeat, var(--z-corner-bl) bottom left / 24px no-repeat, var(--z-corner-br) bottom right / 24px no-repeat;
  mask: var(--z-corner-tl) top left / 24px no-repeat, var(--z-corner-tr) top right / 24px no-repeat, var(--z-corner-bl) bottom left / 24px no-repeat, var(--z-corner-br) bottom right / 24px no-repeat;
}
.z-pcard--featured .z-pcard__body { padding-inline: 8px; }

@media (min-width: 750px) {
  .z-pcard--featured { padding: 18px 18px 26px; }
  .z-pcard--featured .z-pcard__body { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .z-pcard__img { transition: none; }
}
