
/* V1.0.24: rozbudowana stopka katalogu Apex Market */
body.ap-market-catalog .ap-footer {background:#303030;color:#f4f4f4;padding:32px 0 12px;}
body.ap-market-catalog .ap-footer-full {display:grid;grid-template-columns:1.3fr 1fr 1.4fr;gap:30px;padding-bottom:28px;}
body.ap-market-catalog .ap-footer-logo {display:block;max-width:180px;max-height:75px;object-fit:contain;object-position:left center;margin-bottom:12px;}
body.ap-market-catalog .ap-footer-contact address {font-style:normal;font-size:13px;line-height:1.9;}
body.ap-market-catalog .ap-footer-links {display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:13px;}
body.ap-market-catalog .ap-footer-payments {display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.8;}
body.ap-market-catalog .ap-footer-payments strong {font-size:14px;}
body.ap-market-catalog .ap-footer .ap-credits {padding-top:12px;border-top:1px solid #505050;}
@media(max-width:700px){body.ap-market-catalog .ap-footer-full {grid-template-columns:1fr;gap:20px;}body.ap-market-catalog .ap-footer-payments{padding-bottom:4px;}}
/* Customizr: w koszyku i kasie ukryj rozbudowaną stopkę motywu, nie elementy zamówienia. */
body.woocommerce-cart footer#footer,body.woocommerce-checkout footer#footer,
body.woocommerce-cart footer#colophon,body.woocommerce-checkout footer#colophon,
body.woocommerce-cart .tc-footer,body.woocommerce-checkout .tc-footer {display:none!important;}
.apms-minimal-footer {background:#303030;color:#eee;padding:19px 16px;margin-top:34px;font:13px/1.6 system-ui,sans-serif;}
.apms-minimal-footer-inner {max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px 30px;flex-wrap:wrap;}
.apms-minimal-footer nav {display:flex;gap:10px 22px;flex-wrap:wrap;}
.apms-minimal-footer a {color:#eee;text-decoration:none;}
.apms-minimal-footer a:hover {text-decoration:underline;}
@media(max-width:700px){.apms-minimal-footer-inner{justify-content:center;text-align:center;flex-direction:column;}.apms-minimal-footer nav{justify-content:center;}}

/* 1.0.25 – stopki spójne z oryginalnym Customizr */
body.ap-market-catalog .ap-footer-full {grid-template-columns:1fr 1fr 1.15fr;align-items:start;}
body.ap-market-catalog .ap-footer-logo {width:199px;max-width:100%;height:auto;max-height:none;object-fit:contain;}
body.ap-market-catalog .ap-footer-links {gap:9px;}
body.ap-market-catalog .ap-footer-languages {display:flex;flex-wrap:wrap;gap:4px;margin-top:16px;}
body.ap-market-catalog .ap-footer-languages a {display:inline-flex;align-items:center;justify-content:center;}
body.ap-market-catalog .ap-footer-languages img {display:block;width:24px;height:24px;}
body.ap-market-catalog .ap-footer-payments img {width:100%;max-width:390px;height:auto;border-radius:9px;background:#fff;display:block;}
.apms-minimal-footer {background:#303030;color:#eee;border-top:1px solid #444;padding:14px 20px;margin-top:34px;}
.apms-minimal-footer-inner {max-width:1200px;display:flex;align-items:center;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;}
.apms-minimal-brand img {display:block;width:145px;max-width:100%;height:auto;}
.apms-minimal-copy {font-size:11px;color:#c9c9c9;}
.apms-minimal-footer nav {gap:10px 18px;font-size:12px;}
@media(max-width:700px){body.ap-market-catalog .ap-footer-full{grid-template-columns:1fr;gap:18px;}.apms-minimal-footer-inner{flex-direction:column;justify-content:center;text-align:center;gap:10px;}.apms-minimal-footer nav{justify-content:center;}}

/* 1.0.26: trzy rzeczywiste kolumny (kontakt | linki i języki | płatności). */
body.ap-market-catalog .ap-footer .ap-footer-full {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.15fr)!important;
  gap:clamp(20px,3vw,48px)!important;
  align-items:start!important;
}
body.ap-market-catalog .ap-footer .ap-footer-full > * {min-width:0;}
body.ap-market-catalog .ap-footer .ap-footer-middle {display:flex;flex-direction:column;align-items:flex-start;gap:18px;}
body.ap-market-catalog .ap-footer .ap-footer-languages {margin-top:0;}
body.ap-market-catalog .ap-footer .ap-footer-payments {align-items:flex-start;}
body.ap-market-catalog .ap-footer .ap-footer-payments img {width:100%;max-width:390px;}
@media(max-width:700px) {
 body.ap-market-catalog .ap-footer .ap-footer-full {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
}

/* V1.0.27 – spójna, wyśrodkowana stopka katalogu na szerokich ekranach. */
body.ap-market-catalog .ap-footer {
  padding:30px 0 0;
}
body.ap-market-catalog .ap-footer > .ap-wrap {
  width:100%!important;
  max-width:1320px!important;
  margin-inline:auto!important;
  padding-inline:clamp(18px,3vw,32px)!important;
  box-sizing:border-box!important;
}
body.ap-market-catalog .ap-footer .ap-footer-full {
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.05fr)!important;
  column-gap:clamp(28px,5vw,84px)!important;
  row-gap:22px!important;
  padding-bottom:24px;
}
body.ap-market-catalog .ap-footer .ap-footer-contact,
body.ap-market-catalog .ap-footer .ap-footer-middle,
body.ap-market-catalog .ap-footer .ap-footer-payments {
  min-width:0;
  margin:0;
  padding:0;
}
body.ap-market-catalog .ap-footer .ap-footer-middle {gap:14px;}
body.ap-market-catalog .ap-footer .ap-footer-languages {gap:5px;}
body.ap-market-catalog .ap-footer .ap-footer-payments img {
  width:100%;max-width:370px;height:auto;margin:0;
}
body.ap-market-catalog .ap-footer .ap-credits {
  padding-top:12px;padding-bottom:13px;
  font-size:11px;
}
@media(max-width:850px) and (min-width:701px) {
  body.ap-market-catalog .ap-footer .ap-footer-full {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:26px!important;
  }
  body.ap-market-catalog .ap-footer .ap-footer-payments {grid-column:1 / -1;}
  body.ap-market-catalog .ap-footer .ap-footer-payments img {max-width:350px;}
}
@media(max-width:700px) {
  body.ap-market-catalog .ap-footer {padding-top:24px;}
  body.ap-market-catalog .ap-footer .ap-footer-full {
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:22px!important;
  }
  body.ap-market-catalog .ap-footer .ap-credits {
    flex-direction:column;align-items:center;text-align:center;gap:6px;
  }
}
