/* Shared catalog rules for EVERY business (all plans, all themes).
   Product photos show the whole picture; no cropping. */
.sf-media img,
.sf-media .sf-track img,
.sf-media[data-count] .sf-track img,
.sf-grid .sf-media img{ object-fit:contain !important; background:#efe9df; }
.modal-gallery .modal-product-image{
  width:100% !important; height:auto !important; aspect-ratio:4/3 !important; max-height:min(60dvh,420px) !important;
  object-fit:contain !important; background:#f3efe8 !important; display:block;
}
.modal-gallery{ background:#f3efe8; }
.modal-gallery .modal-product-image[hidden],
.modal-gallery video[hidden]{ display:none !important; }

/* Welcome screen: rotating loading ring around the logo (all themed businesses) */
.fz-splash-logo{ position:relative; overflow:visible !important; }
.fz-splash-logo::before{
  content:""; position:absolute; inset:-9px; border-radius:50%;
  border:3px solid transparent; border-top-color:#f5b301; border-right-color:rgba(245,179,1,.35);
  animation:fz-ring 1s linear infinite; pointer-events:none;
}
@keyframes fz-ring{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .fz-splash-logo::before{ animation:none; } }

/* ===== Welcome screen base style (every business). Themes only change colours. ===== */
.fz-splash{
  position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; padding:24px; text-align:center; color:#ffffff;
  background:radial-gradient(circle at 50% 35%,#2e2a27 0%,#141210 75%);
  animation:fz-splash-out .6s ease 4.4s forwards;
}
.fz-splash-logo{
  width:112px; height:112px; border-radius:50%; background:#ffffff; display:grid; place-items:center;
  font-family:Georgia,"Times New Roman",serif; font-size:46px; font-weight:900; color:#2f7f58;
  box-shadow:0 0 0 7px rgba(245,179,1,.22),0 20px 40px -10px rgba(0,0,0,.5);
  animation:fz-splash-in .7s cubic-bezier(.34,1.56,.64,1) both;
}
.fz-splash-logo img{ width:96px; height:96px; object-fit:contain; border-radius:50%; padding:8px; background:#fff; box-sizing:border-box; }
/* Logos are shown whole (never cropped into the circle), with a white mat so wide logos stay sharp and centred. */
.fz-splash h1{ font-family:Georgia,"Times New Roman",serif; font-size:clamp(28px,6vw,44px); font-weight:800; margin-top:8px; animation:fz-splash-up .7s ease .25s both; }
.fz-splash h1 span{ color:#f5b301; }
.fz-splash .sub{ color:#e9e1d6; font-size:15px; animation:fz-splash-up .7s ease .45s both; }
.fz-splash .by{ margin-top:22px; display:flex; align-items:center; gap:8px; font-size:12px; letter-spacing:1.4px; text-transform:uppercase; color:#cdbfb0; animation:fz-splash-up .7s ease .65s both; }
.fz-splash .by img{ height:18px; width:auto; filter:brightness(0) invert(1); }
.fz-splash .bar{ width:170px; height:3px; border-radius:3px; background:rgba(255,255,255,.15); overflow:hidden; margin-top:8px; }
.fz-splash .bar::after{ content:""; display:block; height:100%; background:#f5b301; animation:fz-bar 5s linear forwards; }
@keyframes fz-bar{ from{width:0} to{width:100%} }
@keyframes fz-splash-in{ from{opacity:0; transform:scale(.6) rotate(-8deg)} to{opacity:1; transform:none} }
@keyframes fz-splash-up{ from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:none} }
@keyframes fz-splash-out{ to{opacity:0; visibility:hidden} }
@media (prefers-reduced-motion:reduce){
  .fz-splash{ animation:fz-splash-out .4s ease 4.6s forwards; }
  .fz-splash *{ animation:none !important; }
  .fz-splash .bar::after{ width:100%; }
}

/* Top bar: WhatsApp icon removed (phone number stays) */
.sf-socials .sf-social-whatsapp{ display:none !important; }

/* Footer WhatsApp: clear green button with a visible icon, opens the business chat */
.sf-foot-social-whatsapp{
  display:inline-flex !important; align-items:center; justify-content:center;
  width:44px !important; height:44px !important; min-width:44px; border-radius:50% !important;
  background:#25d366 !important; color:#052e16 !important; border:0 !important;
}
.sf-foot-social-whatsapp .icon{ width:22px !important; height:22px !important; fill:none; stroke:currentColor; stroke-width:2; }
.sf-foot-social-whatsapp:focus-visible{ outline:3px solid #ffffff; outline-offset:3px; }

/* Top bar hidden for every business (phone and social icons). Remove this rule to show it again. */
.sf-strip{ display:none !important; }
