/*
Theme Name: XBS POSM — Divi 5 Child
Description: Pakiet wdrożeniowy XBS POSM, wersja 7, 12.10.2026.
Template: Divi
Version: 1.0.3
Text Domain: xbs-posm
*/
body.xbs-posm-template{margin:0;background:#fff}
.xbs-posm-site{width:100%;text-align:left}
.xbs-posm-site h1,.xbs-posm-site h2,.xbs-posm-site h3,.xbs-posm-site h4{padding-bottom:0;font-family:Poppins,Arial,sans-serif}
.xbs-posm-site .nav,.xbs-posm-site .checks,.xbs-posm-site .eco-list{list-style:none}
body.admin-bar .xbs-posm-site .site-header{top:32px}
@media(max-width:782px){body.admin-bar .xbs-posm-site .site-header{top:46px}}

/* Kotwice pod dwoma przyklejonymi paskami (nagłówek + spis treści): wysokości mierzy site.js (--xbs-head-h, --xbs-toc-h) */
html{ scroll-padding-top:calc(var(--xbs-head-h,94px) + var(--xbs-toc-h,52px) + 16px) !important; }
.xbs-posm-site .service-toc{ top:var(--xbs-head-h,94px) !important; }
.xbs-posm-site section[id], .xbs-posm-site [id="main"]{ scroll-margin-top:calc(var(--xbs-head-h,94px) + var(--xbs-toc-h,52px) + 16px); }
body.admin-bar .xbs-posm-site .site-header{ top:var(--wp-admin--admin-bar--height,32px); }
body.admin-bar .xbs-posm-site .service-toc{ top:calc(var(--xbs-head-h,94px) + var(--wp-admin--admin-bar--height,32px)) !important; }
body.admin-bar{ --xbs-admin-h:var(--wp-admin--admin-bar--height,32px); }
body.admin-bar html, html:has(body.admin-bar){ scroll-padding-top:calc(var(--xbs-head-h,94px) + var(--xbs-toc-h,52px) + var(--wp-admin--admin-bar--height,32px) + 16px) !important; }

/* Mapa magazynów: tło jak na aktualnych stronach xbslogistics.pl */
.xbs-posm-site .location-map{ background:#e8f1e5 url(assets/lokalizacje-tlo-mapa.png) center/cover no-repeat; border:1px solid #d5e3d3; }
.xbs-posm-site .location-map>img{ display:none; }
