/* Mumuso animation layer — added via website view "Mumuso Animations" */
html.mm-anim .mm-reveal{opacity:0;transform:translate3d(0,48px,0);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
html.mm-anim .mm-reveal.mm-left{transform:translate3d(-60px,0,0)}
html.mm-anim .mm-reveal.mm-right{transform:translate3d(60px,0,0)}
html.mm-anim .mm-reveal.mm-zoom{transform:scale(.9)}
html.mm-anim .mm-reveal.mm-in{opacity:1;transform:none}

/* Section headings: underline that grows in */
html.mm-anim #wrap section h2{position:relative}
html.mm-anim #wrap section h2.mm-line::after{content:"";position:absolute;left:50%;bottom:-10px;height:3px;width:0;border-radius:3px;background:currentColor;opacity:.35;transform:translateX(-50%);transition:width 1s .3s cubic-bezier(.2,.7,.2,1)}
html.mm-anim #wrap section h2.mm-line.mm-in::after{width:64px}

/* Hero: slow Ken Burns zoom + caption slide-in */
#wrap .carousel-item img{transition:transform 7s ease-out}
#wrap .carousel-item.active img{transform:scale(1.08)}
#wrap .carousel-item.active .carousel-caption,#wrap .carousel-item.active [class*="hero-content"],#wrap .carousel-item.active [class*="caption"]{animation:mmCaption 1.1s cubic-bezier(.2,.7,.2,1) both}
@keyframes mmCaption{from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:none}}

/* Cards: lift + image zoom on hover */
.product-card,.oe_product .oe_product_cart,.o_wsale_product_grid_wrapper .card,.mumuso-deal-part,#wrap .card{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease}
.product-card:hover,.oe_product .oe_product_cart:hover,#wrap .card:hover,.mumuso-deal-part:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(0,0,0,.12)}
.product-card img,.oe_product_image img,.mumuso-deal-part img,#wrap .card img,#wrap a img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.product-card:hover img,.oe_product .oe_product_cart:hover .oe_product_image img,.mumuso-deal-part:hover img,#wrap .card:hover img,#wrap a:hover img{transform:scale(1.07)}
.product-card-image,.oe_product_image,.mumuso-deal-part{overflow:hidden}
.product-card .product-actions{transition:opacity .35s ease,transform .35s ease;transform:translateX(12px)}
.product-card:hover .product-actions{opacity:1!important;transform:none}

/* Buttons: shine sweep + press */
#wrap .btn,#wrapwrap .btn-primary{position:relative;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
#wrap .btn:hover,#wrapwrap .btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.12)}
#wrap .btn:active{transform:translateY(0) scale(.97)}
#wrap .btn::after,#wrapwrap .btn-primary::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .7s ease;pointer-events:none}
#wrap .btn:hover::after,#wrapwrap .btn-primary:hover::after{left:140%}

/* Header shadow when scrolled, scroll progress bar */
#wrapwrap header{transition:box-shadow .3s ease,background-color .3s ease}
html.mm-scrolled #wrapwrap header{box-shadow:0 6px 24px rgba(0,0,0,.08)}
#mm-progress{position:fixed;top:0;left:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#e8457c,#f7a440);z-index:1100;pointer-events:none}

/* Cart / wishlist badge pulse */
.my_cart_quantity,.my_wish_quantity{animation:mmPulse 2.4s ease-in-out infinite}
@keyframes mmPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}

/* Gentle float for category / collection images */
.mm-float{animation:mmFloat 6s ease-in-out infinite}
@keyframes mmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* Back-to-top button */
#mm-top{position:fixed;right:20px;bottom:24px;width:44px;height:44px;border-radius:50%;border:0;background:#111;color:#fff;font-size:20px;line-height:44px;text-align:center;opacity:0;transform:translateY(20px);transition:opacity .3s,transform .3s;z-index:1050;cursor:pointer}
html.mm-scrolled #mm-top{opacity:.85;transform:none}
#mm-top:hover{opacity:1}

@media (prefers-reduced-motion:reduce){
  html.mm-anim .mm-reveal{opacity:1!important;transform:none!important;transition:none!important}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ===== v2 additions ===== */
/* Benefits ticker */
.mm-ticker{background:linear-gradient(90deg,#1f9f86,#27b598,#1f9f86);color:#fff;overflow:hidden;padding:12px 0;position:relative}
.mm-ticker-track{display:flex;width:max-content;animation:mmTicker 38s linear infinite}
.mm-ticker:hover .mm-ticker-track{animation-play-state:paused}
.mm-tick-item{white-space:nowrap;padding:0 34px;font-weight:600;letter-spacing:.4px;font-size:15px;display:inline-flex;align-items:center;gap:8px}
.mm-tick-item i{color:#ffe3a3}
@keyframes mmTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Flash sale: beauty gradient instead of fruit pattern */
section[data-snippet="naturalfood_deals_of_the_day"]{background:linear-gradient(135deg,#fff1f4 0%,#ffe9e0 50%,#f3f8ff 100%)!important;background-image:linear-gradient(135deg,#fff1f4 0%,#ffe9e0 50%,#f3f8ff 100%)!important;position:relative;overflow:hidden}
section[data-snippet="naturalfood_deals_of_the_day"]::before,section[data-snippet="naturalfood_deals_of_the_day"]::after{content:"";position:absolute;border-radius:50%;filter:blur(40px);opacity:.55;pointer-events:none;animation:mmBlob 12s ease-in-out infinite alternate}
section[data-snippet="naturalfood_deals_of_the_day"]::before{width:340px;height:340px;background:#ffc2d1;top:-80px;left:-60px}
section[data-snippet="naturalfood_deals_of_the_day"]::after{width:300px;height:300px;background:#b8eadf;bottom:-90px;right:-40px;animation-delay:-6s}
section[data-snippet="naturalfood_deals_of_the_day"] img[src*="Deals-bg"]{display:none}
section[data-snippet="naturalfood_deals_of_the_day"] .container{position:relative;z-index:1}
@keyframes mmBlob{from{transform:translate(0,0) scale(1)}to{transform:translate(60px,40px) scale(1.15)}}
#deal-countdown .fw-bold,[id^="deal-"].fw-bold{display:inline-block;animation:mmTick 1s ease-in-out infinite}
@keyframes mmTick{0%,100%{transform:none}50%{transform:scale(1.08)}}
/* Promo + brand story photos: fill frames nicely */
section[data-snippet="naturalfood_promo_banner_new"] img,section[data-snippet="mumuso_brand_story"] img{object-fit:cover;border-radius:16px}
section[data-snippet="naturalfood_promo_banner_new"] img{width:100%;height:100%;min-height:220px;max-height:300px}
/* Soft alternating section tints for depth */
#wrap > section:nth-of-type(4n+2):not(.mm-ticker):not(.naturalfood_banner){background-image:linear-gradient(180deg,rgba(255,240,244,.55),rgba(255,255,255,0))}
/* Hero: shimmering CTA + floating caption accent */
.naturalfood_banner .btn,.mumuso-hero .btn{position:relative;overflow:hidden;animation:mmGlow 2.6s ease-in-out infinite}
@keyframes mmGlow{0%,100%{box-shadow:0 0 0 0 rgba(39,181,152,.45)}50%{box-shadow:0 0 0 12px rgba(39,181,152,0)}}
.naturalfood_banner .btn::after,.mumuso-hero .btn::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:mmShine 3.2s ease-in-out infinite}
@keyframes mmShine{0%,60%{left:-120%}100%{left:140%}}
/* Category tiles: zoom + caption rise */
section[data-snippet="naturalfood_shop_by_category"] a{overflow:hidden;border-radius:18px;display:block}
section[data-snippet="naturalfood_shop_by_category"] img{transition:transform 1s cubic-bezier(.2,.7,.2,1)}
section[data-snippet="naturalfood_shop_by_category"] a:hover img{transform:scale(1.1) rotate(1deg)}
/* Sale / New ribbons wiggle */
.o_ribbon,.o_ribbons,.badge-sale,.product-badge{animation:mmWiggle 4s ease-in-out infinite;transform-origin:center}
@keyframes mmWiggle{0%,90%,100%{transform:none}93%{transform:rotate(-6deg) scale(1.08)}96%{transform:rotate(6deg) scale(1.08)}}
/* Newsletter: animated gradient band */
section[data-snippet="naturalfood_newsletter"]{background-size:200% 200%!important;animation:mmGrad 10s ease infinite}
@keyframes mmGrad{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media (prefers-reduced-motion:reduce){.mm-ticker-track{animation:none}}

/* overflow fix */
section[data-snippet="naturalfood_shop_by_category"]{overflow:hidden}
#wrapwrap,#wrap{overflow-x:clip}
