/* Appily-Thirtynine — present full product images (no hard crops) */

:root {
  --a39-img-stage:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.95), transparent 52%),
    linear-gradient(160deg, #fbf8f2 0%, #efe8db 55%, #e7dfd0 100%);
}

/* Shared stage look for packet / product photos */
body.a39-store .a39-shop-card__img,
body.a39-store .a39-discover-card__img,
body.a39-store .product-img,
body.a39-store .a39-packet-window,
body.a39-store .a39-vault-drawer__hero,
body.a39-store .a39-cart-packet__img,
body.a39-store .a39-checkout-manifest__thumb,
body.a39-store .a39-os-item__thumb,
body.a39-store .a39-pdp-shelf-card__img,
body.a39-store .product-tile-img,
body.a39-store .product-gallery,
body.a39-store .a39-hero-frame a,
body.a39-store .a39-hero-float,
body.a39-store .a39-trust-collage__item {
  background: var(--a39-img-stage) !important;
}

body.a39-store .a39-shop-card__img img,
body.a39-store .a39-discover-card__img img,
body.a39-store .product-img img,
body.a39-store .a39-packet-window img,
body.a39-store .a39-vault-drawer__hero img,
body.a39-store .a39-vault-drawer__previews img,
body.a39-store .a39-cart-packet__img img,
body.a39-store .a39-checkout-manifest__thumb img,
body.a39-store .a39-os-item__thumb img,
body.a39-store .a39-pdp-showcase__frame img,
body.a39-store .a39-pdp-shelf-card__img img,
body.a39-store .product-tile-img img,
body.a39-store .product-gallery img,
body.a39-store .a39-hero-frame img,
body.a39-store .a39-hero-float img,
body.a39-store .a39-trust-collage__item img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100%;
  height: 100%;
}

/* Breathing room so packets aren’t edge-clipped */
body.a39-store .a39-shop-card__img img,
body.a39-store .a39-discover-card__img img,
body.a39-store .product-img img,
body.a39-store .a39-packet-window img,
body.a39-store .a39-vault-drawer__hero img,
body.a39-store .a39-cart-packet__img img,
body.a39-store .a39-checkout-manifest__thumb img,
body.a39-store .a39-os-item__thumb img,
body.a39-store .a39-pdp-shelf-card__img img,
body.a39-store .product-tile-img img,
body.a39-store .product-gallery img,
body.a39-store .a39-hero-frame img {
  padding: 8%;
  box-sizing: border-box;
}

body.a39-store .a39-vault-drawer__previews img,
body.a39-store .a39-hero-float img {
  padding: 10%;
  box-sizing: border-box;
}

/* PDP main image: soft stage, full packet visible */
body.a39-store .a39-pdp-showcase__frame {
  background: var(--a39-img-stage);
  border-radius: 24px;
  padding: 0.85rem;
}
body.a39-store .a39-pdp-showcase__frame img {
  padding: 6% !important;
  background: transparent;
  aspect-ratio: 1;
}

/* Gentle hover — no crop-zoom */
body.a39-store .a39-shop-card:hover .a39-shop-card__img img,
body.a39-store .a39-discover-card:hover .a39-discover-card__img img,
body.a39-store .a39-packet-card:hover .a39-packet-window img,
body.a39-store .a39-packet-card:focus-within .a39-packet-window img,
body.a39-store .a39-trust-collage__item:hover img,
body.a39-store .a39-pdp-showcase:hover .a39-pdp-showcase__frame img {
  transform: scale(1.03) !important;
}

body.a39-store .a39-vault-drawer:hover .a39-vault-drawer__hero {
  transform: none !important;
}

/* Soften dark crop overlays on cards */
body.a39-store .a39-shop-card__img::after,
body.a39-store .a39-discover-card__img::after,
body.a39-store .a39-packet-hover {
  opacity: 0 !important;
  pointer-events: none;
}

/* Keep circular floats readable with contain */
body.a39-store .a39-hero-float {
  display: grid;
  place-items: center;
}
