/* Uniform photo backdrop; product pixels remain the supplied JPEGs. */
.xmas-category-tile-image,.xmas-card-image,.xmas-product-stage,.xmas-product-cut,.xmas-product-related-grid>a>div{background:#fffaf3}
.xmas-product-cut img{object-fit:contain!important;background:transparent}
.xmas-category-tile-image img,.xmas-card-image>img,.xmas-product-main-image,.xmas-product-cut img,.xmas-product-related-grid img{filter:drop-shadow(0 5px 4px rgba(73,43,25,.13))}

/* Keep every cut photograph in normal flow, below the whole cake. */
.xmas-product-stage:has(.xmas-product-cut){flex-direction:column;height:auto}
.xmas-product-stage>.xmas-product-main-image{flex-shrink:0}
.xmas-product-stage>.xmas-product-cut{position:relative;inset:auto;transform:none;flex-shrink:0;align-self:center;max-width:100%;box-sizing:border-box;margin:1.25rem auto 0}

/* Match apparent cut-cake size after trimming photographic margins. */
.xmas-product-stage .xmas-product-cut img{width:150px!important;height:150px!important;max-width:100%;object-fit:contain!important;aspect-ratio:1/1}
.xmas-product-stage .xmas-product-cut:has(img+img){width:max-content;grid-template-columns:repeat(2,minmax(0,150px))}
.xmas-product-stage .xmas-product-cut-many:has(img+img){width:max-content;grid-template-columns:repeat(4,minmax(0,150px))}
@media(max-width:640px){.xmas-product-stage .xmas-product-cut-many:has(img+img){grid-template-columns:repeat(2,minmax(0,150px))}.xmas-product-stage .xmas-product-cut img{width:130px!important;height:130px!important}.xmas-product-stage .xmas-product-cut:has(img+img){grid-template-columns:repeat(2,minmax(0,130px))}}
