/* Original package artwork. CSS supplies only the catalogue/page motion. */
.business-sticker:has(.sweet-catalog){width:88px;height:70px;overflow:visible;display:grid;place-items:center;flex-shrink:0}
.sweet-catalog{position:relative;display:block;width:62px;height:52px;perspective:420px;isolation:isolate;direction:ltr;filter:drop-shadow(0 6px 4px #52261d25)}
.sweet-catalog__book{display:block;position:absolute;inset:0;transform-style:preserve-3d;transform:rotate(-7deg) rotateY(-12deg);animation:sweet-catalog-contained-settle 9s ease-in-out infinite}
.sweet-catalog__back,.sweet-catalog__paper,.sweet-catalog__cover{position:absolute;inset:0;display:block;border-radius:1px 4px 4px 1px;transform-origin:0 50%;backface-visibility:hidden}
.sweet-catalog__back{background:#10bce2;border:1px solid #15749a;transform:translateZ(-3px);box-shadow:1px 1px 0 #fff,2px 2px 0 #efdfc2,3px 3px 0 #fff}
.sweet-catalog__paper{background-color:#fffdf8;border:1px solid #e3daca;background-repeat:no-repeat;background-position:center;background-size:contain;box-shadow:inset 4px 0 5px #51281214}
.sweet-catalog__paper--last{background-image:url('assets/products/your-photo-drawer-deck-packshot.png');transform:translateZ(-1px)}
.sweet-catalog__paper--turn{background-image:url('assets/products/gummies-show-deck-packshot.png');transform:translateZ(1px);animation:sweet-catalog-contained-page 9s cubic-bezier(.45,0,.2,1) infinite}
.sweet-catalog__cover{background:#21bae2 url('assets/catalog-motion/hanukkah-original.png') center/contain no-repeat;border:1px solid #1597b2;box-shadow:inset 3px 0 0 #71332130;transform:translateZ(3px);animation:sweet-catalog-contained-cover 9s cubic-bezier(.45,0,.2,1) infinite}
.sweet-catalog__cover:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,#fff4,transparent 38%,#ffffff08 64%,#fff2);pointer-events:none}
@keyframes sweet-catalog-contained-cover{0%,17%,83%,100%{transform:translateZ(3px) rotateY(0deg)}30%,70%{transform:translateZ(3px) rotateY(-102deg)}}
@keyframes sweet-catalog-contained-page{0%,34%,79%,100%{transform:translateZ(1px) rotateY(0deg)}47%,60%{transform:translateZ(1px) rotateY(-96deg)}}
@keyframes sweet-catalog-contained-settle{0%,17%,83%,100%{transform:translateX(0) rotate(-7deg) rotateY(-12deg)}30%,70%{transform:translateX(4px) rotate(-2deg) rotateY(-3deg)}}
.paused .sweet-catalog *, .page-hidden .sweet-catalog *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.sweet-catalog *{animation:none!important}}
.sweet-catalog__cover{transform-style:preserve-3d;backface-visibility:visible}
.sweet-catalog__cover:before{content:'';position:absolute;inset:-1px;border:1px solid #e3daca;border-radius:inherit;background:#fffaf0;transform:rotateY(180deg) translateZ(.2px);backface-visibility:hidden;box-shadow:inset -4px 0 6px #51281216}
.sweet-catalog__cover:after{backface-visibility:hidden}

/* Confine the entire perspective sweep to this destination, including its shadow. */
.shop-routes .business{overflow:hidden;overflow:clip}
.shop-routes .business-sticker:has(.sweet-catalog){width:100%!important;max-width:100%;height:74px!important;min-height:74px;display:grid;place-items:center;margin:0!important;transform:none!important}
.sweet-catalog{scale:1.11;max-width:none}
@media(max-width:350px){.sweet-catalog{scale:.915}}
.large-text .shop-routes .business-sticker:has(.sweet-catalog){width:110px!important;min-width:110px;max-width:110px}
