/* Approved artisan-bakery side art + progressive 3D hover. Safe: no change to order logic. */
.baking-products-zone{background:#f8e5dd}
.baking-products-zone .baking-backdrop{background:linear-gradient(90deg,#bc7465,#fff5ef 23%,#fff5ef 77%,#bd7967);}
.baking-backdrop__video{display:none!important}
.baking-backdrop__art{position:absolute;top:0;bottom:0;width:20%;background-size:cover;background-repeat:no-repeat;background-position:top center;animation:artisan-breathe 13s ease-in-out infinite alternate;filter:saturate(1.12) contrast(1.03)}
.baking-backdrop__art--left{left:0;background-image:url('assets/bakery-craft-left.webp');transform-origin:bottom left}
.baking-backdrop__art--right{right:0;background-image:url('assets/bakery-craft-right.webp');transform-origin:bottom right;animation-delay:-6s}
.baking-backdrop__wash{background:linear-gradient(90deg,rgba(77,12,32,.05) 0%,rgba(255,247,243,.07) 13%,rgba(255,248,245,.96) 21%,rgba(255,248,245,.97) 79%,rgba(255,247,243,.07) 87%,rgba(77,12,32,.05) 100%)}
.baking-backdrop__side-note{z-index:2;text-shadow:0 2px 8px #6d251b;font-size:10px}
.baking-products-zone .products-section::before{background:rgba(255,248,246,.80)}
.baking-backdrop__sparkle{position:absolute;top:0;bottom:0;width:17%;pointer-events:none;opacity:.58;background-image:radial-gradient(circle,#fff5b9 0 1px,transparent 3px),radial-gradient(circle,#ffcf7a 0 2px,transparent 5px);background-size:90px 125px,140px 190px;animation:artisan-sparkle 15s linear infinite;mix-blend-mode:screen}
.baking-backdrop__sparkle--left{left:0}.baking-backdrop__sparkle--right{right:0;animation-delay:-8s}
@keyframes artisan-breathe{from{scale:1;filter:saturate(1.08)}to{scale:1.045;filter:saturate(1.24)}}
@keyframes artisan-sparkle{from{background-position:0 30px,70px 170px}to{background-position:0 -210px,70px -170px}}
/* CSS only fallback for pointer hover; richer motion supplied by bakery-card-3d.js. */
.product-grid{perspective:1400px;overflow:visible}
.category-track{perspective:1400px}
.product-card,.category{transform-style:preserve-3d;backface-visibility:hidden;will-change:auto}
.product-card .product-photo img,.category img{backface-visibility:hidden;transition:transform .4s cubic-bezier(.2,.8,.2,1),filter .4s}
.product-card .product-photo{transform:translateZ(0)}
.product-card .product-meta{transform:translateZ(0)}
.product-card.is-tilting{--tilt-x:0deg;--tilt-y:0deg;--glow-x:50%;--glow-y:50%;transform:perspective(900px) translateY(-9px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.018)!important;box-shadow:0 23px 38px rgba(102,8,46,.26),0 0 0 1px rgba(255,228,178,.8)!important;transition:transform .12s ease-out,box-shadow .2s;z-index:5;position:relative}
.product-card.is-tilting .product-photo img{transform:scale(1.105) translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0);filter:saturate(1.12) contrast(1.04)}
.product-card.is-tilting .product-photo::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;background:radial-gradient(circle at var(--glow-x) var(--glow-y),rgba(255,255,255,.40),transparent 60%);mix-blend-mode:screen}
.product-card.is-tilting .product-meta{transform:translateZ(24px)}
.product-card.is-tilting .product-badge{transform:translateZ(35px)}
.product-card.is-tilting button[data-add]{transform:translateZ(30px) scale(1.09);box-shadow:0 6px 18px rgba(163,4,63,.33)}
.category.is-tilting{transform:perspective(850px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.055)!important;box-shadow:0 19px 32px rgba(142,13,50,.26)!important;position:relative;z-index:6;transition:transform .12s ease-out,box-shadow .2s}
.category.is-tilting img{transform:translateZ(30px) scale(1.07);filter:saturate(1.14)}
.category.is-tilting strong{transform:translateZ(27px)}
.product-card:focus-within,.category:focus-visible{outline:3px solid #eb5d8f;outline-offset:3px;box-shadow:0 18px 35px rgba(142,13,50,.22)}
@media(max-width:1100px){.baking-backdrop__art{width:16%}.baking-backdrop__wash{background:linear-gradient(90deg,rgba(255,248,245,.45),rgba(255,248,245,.92) 17%,rgba(255,248,245,.95) 83%,rgba(255,248,245,.45))}}
@media(max-width:980px){.baking-backdrop__art{width:18%;opacity:.55}.baking-backdrop__wash{background:rgba(255,247,242,.81)}}
@media(max-width:600px){.baking-backdrop__art{display:none}.baking-backdrop__sparkle{display:none}.baking-backdrop__wash{background:linear-gradient(115deg,#fff6f1,#ffebe5)}.product-card.is-tilting,.category.is-tilting{transform:none!important}}
@media(prefers-reduced-motion:reduce){.baking-backdrop__art,.baking-backdrop__sparkle{animation:none}.product-card,.category,.product-card img,.category img{transition:none!important}.product-card.is-tilting,.category.is-tilting{transform:none!important}}
