/* Vial transparency fix: all vial images should render as cutout assets with no colored/boxed background attached to the vial itself. */

.prism-hero-vial,
.prism-product-card__media,
.detail__image,
.detail__pairing-img,
.card__image,
.card--bundle .card__image,
.best-two__vial-area,
.best-two__vial-wrap,
.best-two__bundle-vials,
.featured-bundle__visual,
.drawer-item__thumb,
.ck-item__img,
.bac-popup__thumb,
.bundle-detail__product-img,
.detail__bundle-option-vials {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.prism-product-card__media::after,
.detail__image-bg,
.drawer-item__thumb-bg,
.ck-item__img-bg,
.bac-popup__thumb-bg,
.best-two__vial-glow,
.card__image-bg {
  display: none !important;
  background: transparent !important;
}

.prism-hero-vial {
  border-color: transparent !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

.prism-hero-vial span {
  margin-top: -10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 22px rgba(16,24,40,.08);
}

.prism-product-card__media {
  margin: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1300 / 1209 !important;
  border-radius: 0 !important;
}

.prism-product-card__vial,
.prism-hero-vial img,
.detail__image-vial,
.card__image-vial,
.card__bundle-vial,
.card__bundle-vial--detail,
.best-two__vial-img,
.best-two__bundle-vial-img,
.featured-bundle__vial,
.drawer-item__thumb-vial,
.drawer-item__bundle-vial,
.ck-item__img-vial,
.ck-item__bundle-vial,
.bac-popup__thumb-img,
.bundle-detail__product-img,
.detail__bundle-option-vial,
.detail__pairing-img img {
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 24px 28px rgba(16,24,40,.18)) !important;
}

.prism-product-card__media {
  display: block !important;
  padding: 0 !important;
}

.prism-product-card__vial {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

/* Keep the design color in the card itself, not behind the vial cutout. */
.prism-product-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(201,246,230,.36), transparent 32%),
    radial-gradient(circle at 10% 0%, rgba(238,228,255,.26), transparent 28%),
    #fff !important;
}

.detail__image {
  background:
    radial-gradient(circle at 50% 30%, rgba(201,246,230,.30), transparent 36%),
    #fff !important;
}

@media (max-width: 640px) {
  .prism-hero-vial span { display: none; }
}
