/* The box comes inline from ImageComposers::FrontLayout#css_style: the same box the t-shirt photo and the print
   file use. The art fits whole inside it, centered across, on its top edge. */
.product-design-overlay {
  position: absolute;
  overflow: hidden;
}

.product-design-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  filter: saturate(0.95) contrast(0.95);
}

.skeleton-mask {
  animation: pulse 1.4s infinite;
}

/* Specific mask per base model */
.skeleton-mask.tshirt_oversized {
  mask: url("/images/tshirt_oversized_white_base.webp") no-repeat center / contain;
  -webkit-mask: url("/images/tshirt_oversized_white_base.webp") no-repeat center / contain;
}

.skeleton-mask.tshirt_regular {
  mask: url("/images/tshirt_regular_white_base.webp") no-repeat center / contain;
  -webkit-mask: url("/images/tshirt_regular_white_base.webp") no-repeat center / contain;
}

.skeleton-loaded .skeleton-mask {
  opacity: 0;
  animation: none;
}

.skeleton-loaded .base-product-image {
  opacity: 1;
}

.base-product-image-shadow {
  filter: drop-shadow(0 6px 8px oklch(0 0 0 / 0.12));
}

.product-footer-safe-area {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px));
}
