/* A single drawn outline follows each photo's own proportions. */
#mural [data-gallery-image],
#pumpkin .shop-pumpkin-photo {
  border: 6px solid transparent;
  border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8.2 8.5C28 6.9 51 9.2 74 7.8S88 7.5 91.8 8.4C93.4 28 91 51 92.4 74L91.7 91.9C73 93.1 50 91.3 27 92.1L8.3 91.6C6.9 73 9.2 51 8.2 8.5Z' fill='none' stroke='%23f1eee4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-image-slice: 10;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(2px 3px 0 rgb(36 32 24 / 32%)) drop-shadow(3px 6px 5px rgb(36 32 24 / 14%));
}

/* Room photographs need space for the mural and its surroundings. */
#mural .shop-gallery-stage {
  --gallery-stage-height: clamp(280px, 76vw, 330px);
  height: var(--gallery-stage-height);
}

#mural .shop-gallery-stage [data-gallery-image] {
  max-width: calc(100% - 8px);
  max-height: calc(100% - 8px);
}

@media (min-width: 761px) {
  #mural .shop-gallery { height: calc(var(--shop-visual-height) + 64px); }
  #mural .shop-gallery-stage {
    --gallery-stage-height: calc(var(--shop-gallery-height) + 64px);
    height: 100%;
  }
}

@media (min-width: 1001px) {
  #mural .shop-gallery-stage { --gallery-stage-height: calc(var(--shop-visual-height) + 28px); }
}

@media (forced-colors: active) {
  #mural [data-gallery-image],
  #pumpkin .shop-pumpkin-photo { border: 2px solid CanvasText; border-image: none; filter: none; }
}
