/* ===== Card hover zoom (smooth, small) ===== */
.fx-card{ transition: scale .35s cubic-bezier(.22,.7,.25,1), transform .35s cubic-bezier(.22,.7,.25,1), box-shadow .35s ease; will-change: scale; }
.fx-card[data-fx="ok"]:hover{ scale: 1.035; z-index: 3; }

/* ===== WhatsApp floating button ===== */
.whatsapp-float{ overflow: visible !important; animation: waPulse 2s infinite, waBob 3.2s ease-in-out infinite !important; }
.whatsapp-float svg{ transform-origin: 50% 60%; animation: waRing 3.2s ease-in-out infinite; }
.whatsapp-float .whatsapp-tooltip{ display: none !important; }
@keyframes waPulse{ 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);} 70%{box-shadow:0 0 0 18px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@keyframes waBob{ 0%,100%{translate:0 0;} 50%{translate:0 -6px;} }
@keyframes waRing{
  0%,55%,100%{ transform: rotate(0) scale(1); }
  60%{ transform: rotate(-16deg) scale(1.12); }
  66%{ transform: rotate(14deg) scale(1.12); }
  72%{ transform: rotate(-12deg) scale(1.12); }
  78%{ transform: rotate(10deg) scale(1.08); }
  84%{ transform: rotate(0) scale(1); }
}
.wa-bubble{
  position:absolute; right:74px; top:50%; translate:0 -50%;
  background:#fff; color:#1f2d1f; font:600 14px/1.2 Manrope,system-ui,sans-serif;
  padding:10px 16px; border-radius:14px 14px 4px 14px; white-space:nowrap;
  box-shadow:0 6px 24px rgba(0,0,0,.18); border:1px solid rgba(37,211,102,.35);
  pointer-events:none; transition:opacity .25s ease, scale .25s ease; transform-origin:right center;
}
.wa-bubble::after{ content:""; position:absolute; right:-6px; top:50%; width:12px; height:12px; background:#fff; border-right:1px solid rgba(37,211,102,.35); border-top:1px solid rgba(37,211,102,.35); transform:translateY(-50%) rotate(45deg); }
.wa-bubble.is-hidden{ opacity:0; scale:.9; }
.wa-caret{ display:inline-block; width:2px; height:1em; background:#25D366; margin-left:2px; vertical-align:-2px; animation:waBlink .7s steps(1) infinite; }
@keyframes waBlink{ 50%{opacity:0;} }
@media (max-width:768px){ .wa-bubble{ right:62px; font-size:12.5px; padding:8px 12px; } }
@media (max-width:360px){ .wa-bubble{ font-size:11.5px; } }

/* ===== Logo + brand name ===== */
.logo{ gap:10px; }
.logo .logo-text{ font-family:'Plus Jakarta Sans','Manrope',system-ui,sans-serif; font-weight:800; font-size:18px; letter-spacing:.01em; color:#222; white-space:nowrap; line-height:1; }
@media (max-width:480px){ .logo .logo-text{ font-size:14px; } }
@media (max-width:340px){ .logo .logo-text{ font-size:12px; } }

/* ===== Add to Cart button animation (size unchanged) ===== */
.blob-btn.fx-cart{ overflow:hidden; }
.blob-btn.fx-cart:active{ transform:scale(.96); }
.fx-cart-ico{ position:absolute; z-index:3; top:50%; left:16px; width:1.2em; height:1em; margin-top:-.5em; fill:currentColor; pointer-events:none; }
.fx-cart-box{ position:absolute; z-index:3; top:50%; left:21px; width:12px; margin-top:-8px; opacity:0; fill:currentColor; pointer-events:none; border-radius:3px; }
.blob-btn.fx-cart:hover .fx-cart-box{ animation:fxSlideInTop 1.2s cubic-bezier(.25,.46,.45,.94) both; }
.blob-btn.fx-cart:hover .fx-cart-ico{ animation:fxSlideInLeft 1s cubic-bezier(.25,.46,.45,.94) both; }
@keyframes fxSlideInTop{ 0%{ transform:translateY(-30px); opacity:1; } 100%{ transform:translateY(0) rotate(-90deg); opacity:1; } }
@keyframes fxSlideInLeft{ 0%{ transform:translateX(-10px); opacity:0; } 100%{ transform:translateX(0); opacity:1; } }
/* small "+" buttons on shop cards: icons centred, "+" fades out on hover */
.blob-btn.fx-cart--center .fx-cart-ico{ left:50%; margin-left:-.6em; }
.blob-btn.fx-cart--center .fx-cart-box{ left:50%; margin-left:-6px; }
.blob-btn.fx-cart--center .btn-text{ transition:opacity .25s ease; }
.blob-btn.fx-cart--center:hover .btn-text{ opacity:0; }
.blob-btn.fx-cart--center .fx-cart-ico{ opacity:0; }

/* ===== Scroll animation (site-fx.js) - runs on every device, also with "reduce motion" on ===== */
html.ms-motion .ms-rv:not(.ms-in){ opacity:0; }
html.ms-motion .ms-rv.ms-in{ animation: msRise 1.15s cubic-bezier(.33,1,.68,1) var(--msd,0s) both; }
html.ms-motion .ms-rv.ms-l.ms-in{ animation-name: msFromL; }
html.ms-motion .ms-rv.ms-r.ms-in{ animation-name: msFromR; }
html.ms-motion .ms-rv.ms-in.ms-done{ animation: none; }
@keyframes msRise{ from{ opacity:0; translate:0 60px; scale:.96; } to{ opacity:1; translate:0 0; scale:1; } }
@keyframes msFromL{ from{ opacity:0; translate:-80px 0; } to{ opacity:1; translate:0 0; } }
@keyframes msFromR{ from{ opacity:0; translate:80px 0; } to{ opacity:1; translate:0 0; } }
@media (max-width:640px){
  @keyframes msFromL{ from{ opacity:0; translate:-40px 0; } to{ opacity:1; translate:0 0; } }
  @keyframes msFromR{ from{ opacity:0; translate:40px 0; } to{ opacity:1; translate:0 0; } }
}
/* no sideways scrollbar while things slide in */
html.ms-motion body{ overflow-x:clip; }
@media print{ html.ms-motion .ms-rv{ opacity:1 !important; animation:none !important; } }

/* ===== Sitewide footer with links (includes/site-footer.php) ===== */
.site-footer.ms-foot{ padding:48px 0 20px; }
.ms-foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:28px; }
.ms-foot-brand p{ margin:10px 0 0; font-size:14px; line-height:1.6; opacity:.92; font-weight:500; }
.ms-foot-logo{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-weight:800; font-size:17px; }
.ms-foot-logo img{ width:40px; height:40px; border-radius:8px; background:#fff; padding:3px; }
.ms-foot-col{ display:flex; flex-direction:column; gap:9px; }
.ms-foot-col h2{ font-size:14px; letter-spacing:.08em; text-transform:uppercase; margin:0 0 4px; color:inherit; font-weight:800; }
.ms-foot-col a{ font-size:14px; font-weight:500; text-decoration:none; opacity:.92; }
.ms-foot-col a:hover, .ms-foot-nap a:hover, .ms-foot-legal a:hover{ text-decoration:underline; opacity:1; }
.ms-foot-bottom{ border-top:1px solid rgba(255,255,255,.25); padding-top:16px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
.ms-foot-bottom p{ margin:0; }
@media (min-width:481px){ .ms-foot-bottom{ padding-right:84px; } }
@media (max-width:480px){ .site-footer.ms-foot{ padding-bottom:84px; } }
.ms-foot-legal a{ font-weight:600; }
@media (max-width:900px){ .ms-foot-grid{ grid-template-columns:1fr 1fr; } .ms-foot-brand{ grid-column:1 / -1; } }
@media (max-width:480px){ .ms-foot-grid{ grid-template-columns:1fr; gap:24px; } .ms-foot-bottom{ justify-content:center; text-align:center; } }
