/* Six existing payment marks, aligned without stretching their proportions. */
footer .sf-footer-payment-row { display:block;padding:14px 0; }
footer .sf-footer-payment-row>.footer_subscription { display:none; }
footer .footer_pay { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;justify-items:center;gap:10px 24px;box-sizing:border-box;width:100%;max-width:420px;margin:0 auto; }
footer .footer_pay .pay_img { display:block;box-sizing:border-box;width:100%;max-width:112px;min-width:0;height:38px;margin:0;padding:0;object-fit:contain; }
footer .footer_pay .pay_img:nth-child(5) { width:34px;max-width:100%; }
/* Owner removed the extra score badge. Also suppress an older cached script. */
.sf-reviews-float,footer .sf-footer-reviews { display:none!important; }

@media(max-width:767px) {
  footer .sf-footer-payment-row { padding:14px 0; }
  footer .footer_pay { max-width:360px;gap:8px 16px; }
  footer .footer_pay .pay_img { max-width:104px;height:34px; }
  footer .footer_pay .pay_img:nth-child(5) { width:30px; }
}

/* Checkout controls share a measured safe area; homepage and product layout are unchanged. */
@media(max-width:760px) {
  body.sf-commerce-checkout { padding-bottom:calc(140px + env(safe-area-inset-bottom,0px)); }
  body.sf-commerce-checkout .bottom-menu { box-sizing:border-box;position:fixed;bottom:0;left:0;right:0;display:flex!important;align-items:center;min-height:68px;width:100%;padding:8px 0 calc(10px + env(safe-area-inset-bottom,0px));z-index:9900;transform:none; }
  body.sf-commerce-checkout .bottom-menu a { flex:1 1 0;min-width:0;min-height:48px;justify-content:center;gap:3px;text-decoration:none; }
  body.sf-commerce-checkout .bottom-menu a img { display:block;width:26px!important;height:26px!important;max-width:26px!important;object-fit:contain; }
  body.sf-commerce-checkout .bottom-menu a span { font-size:13px;line-height:1.2; }
  body.sf-commerce-checkout .bottom-menu a .cartCountMobile { min-width:16px;height:16px;font-size:11px;margin-top:-28px;margin-left:25px; }
  body.sf-commerce-checkout #ordering-form .button { bottom:var(--sf-commerce-nav-height,68px);z-index:9890; }
  body.sf-commerce-checkout #jvLabelWrap { bottom:calc(var(--sf-commerce-nav-height,68px) + 82px)!important;right:12px!important;max-width:calc(100vw - 24px)!important; }
  body.sf-commerce-focus .bottom-menu { display:none!important; }
  body.sf-commerce-focus #ordering-form .button { position:static!important; }
  body.sf-commerce-focus #jvLabelWrap,body.sf-commerce-catalog-open #jvLabelWrap { visibility:hidden!important; }
  body.sf-commerce-catalog-open #ordering-form .button { visibility:hidden; }
}
