/* SystemyID MacMar: v10, compact catalogue; structural repairs for legacy markup. */
#content_bg_drukarki,#content_bg_karty,#content_bg_czytniki,#content_bg_kolektory,#content_bg_akcesoria,#content_bg_opr,#content_bg_glowice {
 width:899px;max-width:100%;height:auto!important;min-height:530px;display:flex;align-items:flex-start;gap:10px;box-sizing:border-box;padding:0 7px 18px 2px;background-image:url(../Etykiety/img/content_field_bg.gif);background-repeat:repeat-y;
}
.macmar-sidebar {width:180px;flex:0 0 180px;min-width:0;align-self:flex-start}
.macmar-sidebar #menu_boczne {float:none!important;display:block;width:180px;min-height:290px;height:auto!important;margin:0;background-size:100% 100%;padding-bottom:12px;box-sizing:border-box}
.macmar-sidebar #menuboczne_linki {height:auto!important;min-height:0;width:auto!important;box-sizing:border-box;padding:12px 8px 9px 6px;margin-left:6px}
.macmar-sidebar #menuboczne_linki li {line-height:1.35;list-style:disc inside;color:white;margin:0 0 5px 0;font-size:10px}
.macmar-sidebar #menuboczne_linki li a {font-size:10px!important;line-height:1.3!important}
.macmar-sidebar #menuboczne_linki br{display:none}
.macmar-sidebar #contact_info {float:none!important;width:auto!important;padding:13px 5px 1px 12px;box-sizing:border-box;line-height:1.35;margin:3px 0}
.macmar-sidebar > br {display:none}
#content_field {float:none!important;flex:1 1 auto;width:auto!important;min-width:0;max-width:none!important;margin:15px 1px 0 0!important;box-sizing:border-box;padding:9px 7px!important;overflow:visible}
.macmar-catalog-region{width:100%;padding:1px 0 10px;box-sizing:border-box;color:#333}
.macmar-origin-intro{font:13px/1.34 Georgia,'Times New Roman',serif;color:#444;margin:3px 0 10px}
.macmar-origin-intro p{margin:4px 0 9px}
.macmar-live-note{font:11px/1.3 Verdana,Arial,sans-serif;color:#24577a;background:#eef8ff;border-left:3px solid #00a8ec;padding:7px 10px;margin:9px 0 12px}
.macmar-maker-group{margin:11px 0 13px;font-family:Verdana,Arial,sans-serif}
.macmar-maker-heading{background:#050505;color:#fff;font-weight:bold;font-size:11px;line-height:1.2;padding:6px 8px;text-transform:uppercase}
.macmar-products-table{width:100%;border-collapse:separate;border-spacing:0 1px;table-layout:fixed;font:11px/1.22 Verdana,Arial,sans-serif}
.macmar-products-table td{border:0;padding:3px 7px;vertical-align:middle;overflow-wrap:break-word}
.macmar-products-table td:first-child{width:78%;background:#656565;color:#fff;font-weight:bold}
.macmar-products-table td:last-child{width:22%;background:#009df6;text-align:center}
.macmar-products-table a,.macmar-products-table a:link,.macmar-products-table a:visited{color:#fff!important;text-decoration:underline!important;font:bold 11px/1.22 Verdana,Arial,sans-serif}
.macmar-products-table a:hover,.macmar-products-table a:focus{color:#f0faff!important}
.macmar-product-name{position:relative;display:inline-block;text-decoration:none!important;cursor:pointer;max-width:100%}
.macmar-product-name:hover,.macmar-product-name:focus{text-decoration:underline!important}
.macmar-thumbnail{display:none;position:absolute;left:12px;top:calc(100% + 5px);z-index:9000;padding:6px;width:180px;height:180px;box-sizing:border-box;background:white;border:2px solid #009df6;box-shadow:0 3px 11px rgba(0,0,0,.4);pointer-events:none}
.macmar-thumbnail img{width:100%!important;height:100%!important;object-fit:contain;background:#fff}
.macmar-product-name:hover .macmar-thumbnail,.macmar-product-name:focus .macmar-thumbnail{display:block}
.macmar-empty{padding:10px;background:#eef8ff;border-left:3px solid #009df6;font:12px/1.4 Verdana,Arial,sans-serif;color:#344}
#footer_wrapper{clear:both!important;float:none!important;width:900px;max-width:100%;margin:0 auto;padding:10px 0 0!important;box-sizing:border-box;position:relative}
#footer_inner{width:896px;max-width:100%;box-sizing:border-box;height:auto!important;min-height:65px;margin:auto;background:#070707!important;border-top:3px solid #00a8ec;border-radius:6px 6px 0 0}
.macmar-footer{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;box-sizing:border-box;color:#e1eaf0!important;font:11px/1.5 Verdana,Arial,sans-serif;padding:13px 15px}
.macmar-footer-brand{font-weight:700;color:#fff;font-size:12px;white-space:nowrap}
.macmar-footer-nav{display:flex;align-items:center;gap:5px 12px;flex-wrap:wrap}
.macmar-footer-nav a,.macmar-footer-nav a:link,.macmar-footer-nav a:visited,.macmar-footer-meta a{color:#e1f3fc!important;font:11px/1.5 Verdana,Arial,sans-serif!important;text-decoration:none!important}
.macmar-footer-nav a:hover,.macmar-footer-meta a:hover{text-decoration:underline!important}
.macmar-footer-meta{color:#c0d1dc;font:10px/1.5 Verdana,Arial,sans-serif}
@media(max-width:920px){
 body{overflow-x:hidden}
 #outer_wrapper,#content_wrapper{width:100%!important;max-width:900px}
 #inner_wrapper{display:flex;align-items:center;gap:10px;height:auto;min-height:100px}
 #logo,#barkode{float:none!important}#logo{flex:0 0 20%}#logo img{width:100%;height:auto}
 #barkode{flex:1;min-width:0}#barkode img{width:100%;height:auto}
 #menu_bar{width:100%!important;height:auto!important;background-size:100% 100%}
 #buttons{display:flex;flex-wrap:wrap;padding:6px;margin:0;gap:3px;justify-content:center}
 #buttons a{display:block;max-width:178px;flex:1 1 17%;min-width:125px}#buttons a img{width:100%;height:auto;display:block}
 #content_header{width:100%!important;background-size:100% 100%}
 #content_header_text{width:auto!important;max-width:100%;padding-left:27%!important;box-sizing:border-box}
}
@media(max-width:650px){
 #inner_wrapper{min-height:85px}#buttons a{min-width:130px;flex:1 1 40%;max-width:220px}
 #content_header_text{padding-left:15px!important;font-size:15px!important}
 #content_bg_drukarki,#content_bg_karty,#content_bg_czytniki,#content_bg_kolektory,#content_bg_akcesoria,#content_bg_opr,#content_bg_glowice{display:block;background:#fff!important;padding:5px}
 .macmar-sidebar{width:100%;display:block}
 .macmar-sidebar #menu_boczne{width:100%;min-height:0;height:auto!important;background-size:100% 100%}
 #content_field{width:100%!important;min-width:0;max-width:100%!important;margin:8px 0!important;padding:8px!important}
 .macmar-products-table td:first-child{width:70%}.macmar-products-table td:last-child{width:30%}
 .macmar-thumbnail{left:0;width:150px;height:150px}
 .macmar-footer{justify-content:center;text-align:center}
}
/* Unified MacMar footer logo. */
.macmar-footer-brand {display:flex!important;align-items:center;min-width:43px}
.macmar-footer-brand img {width:39px!important;height:36px!important;object-fit:contain}
.macmar-footer-brand a {display:block;line-height:0!important;}
.macmar-footer-nav {flex:1 1 350px;justify-content:center}

/* MacMar v1.32.711 — jeden układ menu bocznego we wszystkich działach.
   Poprzednia szerokość 180px + odsunięcie 12px powodowała, że obok prawej
   kolumny 683–700px nie mieściły się oba floaty w 899px i menu spadało pod treść. */
#menu_boczne,
#menu_boczne_gr,
#menu_boczne_karty,
.macmar-sidebar #menu_boczne {
  display:block!important;
  float:left!important;
  position:relative!important;
  box-sizing:border-box!important;
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
  min-height:0!important;
  height:auto!important;
  margin:13px 0 9px 6px!important;
  padding:12px 8px 14px!important;
  background:#04a9dc!important;
  background-image:linear-gradient(180deg,#03ace5 0%,#04a9df 53%,#089ecb 77%,#158cae 90%,#2c718e 100%)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  color:#fff!important;
  text-align:left!important;
  border:1px solid rgba(6,135,174,.38)!important;
  border-radius:6px 6px 7px 7px!important;
  box-shadow:2px 4px 4px rgba(42,61,68,.42)!important;
}
#menuboczne_linki,
#menu_boczne_gr #menuboczne_linki,
.macmar-sidebar #menuboczne_linki {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font:700 10px/1.40 Verdana,Arial,sans-serif!important;
}
#menuboczne_linki > br,
#menu_boczne_karty > br,
.macmar-sidebar #menuboczne_linki > br{display:none!important;}
#menuboczne_linki li,
#menu_boczne_gr #menuboczne_linki li,
#menu_boczne_karty li,
.macmar-sidebar #menuboczne_linki li {
  display:list-item!important;
  list-style:disc inside!important;
  box-sizing:border-box!important;
  font:700 10px/1.43 Verdana,Arial,sans-serif!important;
  margin:0 0 6px!important;
  padding:0!important;
  color:#fff!important;
}
#menuboczne_linki li:last-child,#menu_boczne_karty li:last-child{margin-bottom:0!important;}
#menuboczne_linki a,#menuboczne_linki a:link,#menuboczne_linki a:visited,#menuboczne_linki a:hover,
#menu_boczne_karty a,#menu_boczne_karty a:link,#menu_boczne_karty a:visited,#menu_boczne_karty a:hover {
  color:white!important;text-decoration:none!important;
  font:700 10px/1.43 Verdana,Arial,sans-serif!important;
}
#menuboczne_linki a:hover,#menu_boczne_karty a:hover{text-decoration:underline!important;}
/* Float layout: on legacy subpages the article itself is a right float. */
#content_field{box-sizing:border-box!important;}
/* Every legacy content wrapper now encloses its floats; footer cannot overtake the menu. */
#content_bg,#content_bg_papierowe,#content_bg_wszywki,#content_bg_etykiety,#content_bg_drewno,
#content_bg_laminat,#content_bg_polimer,#content_bg_identyfikatory,#content_bg_medale,
#content_bg_przywieszki,#content_bg_kontakt,#content_bg_karty,#content_bg_strony {
  height:auto!important;min-height:460px!important;display:flow-root!important;
}
/* The same ID is used by both the static "Karty plastikowe" page and the
   Woo-generated "Drukarki kart" catalogue: only the latter needs flex. */
#content_bg_karty:has(> .macmar-sidebar){display:flex!important;}
/* AI catalogues use flex; keep 160px menu + 6px inset and a safe reserve for the header logo. */
.macmar-sidebar{width:172px!important;flex:0 0 172px!important;min-width:0!important;}
.macmar-sidebar #menu_boczne{float:none!important;}
.macmar-sidebar #contact_info{clear:none!important;float:none!important;}
#contact_info{clear:left!important;}
#contact_info > span.styl2,#contact_info > span.styl4,
.macmar-sidebar #contact_info > span.styl2,.macmar-sidebar #contact_info > span.styl4{
 color:#0099ff!important;font-weight:700!important;
}
/* The logo is the 159px source file scaled DOWN for the footer, not a fuzzy GIF. */
.macmar-footer-brand img{width:44px!important;height:40px!important;max-width:44px!important;object-fit:contain!important;}
.macmar-footer-brand{display:flex!important;align-items:center!important;min-width:44px!important;}
/* Five top buttons keep the same visual frame on every static page. */
#menu_bar{height:51px!important;min-height:51px!important;max-height:51px!important;padding:0!important;box-sizing:border-box!important;margin:0!important;}
#buttons{display:flex!important;align-items:flex-start!important;flex-wrap:nowrap!important;gap:0!important;width:100%!important;height:51px!important;box-sizing:border-box!important;margin:0!important;padding:5px 4px!important;}
#buttons>a{display:block!important;flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;height:41px!important;line-height:0!important;padding:0!important;margin:0!important;}
#buttons>a>img{display:block!important;width:100%!important;max-width:100%!important;height:41px!important;margin:0!important;padding:0!important;border:0!important;}
@media(max-width:650px){
 #menu_bar,#buttons{height:auto!important;max-height:none!important;min-height:51px!important;}
 #buttons{flex-wrap:wrap!important;gap:2px!important;}
 #buttons>a{flex:1 1 45%!important;width:auto!important;min-width:115px!important;}
 #menu_boczne,#menu_boczne_gr,#menu_boczne_karty,.macmar-sidebar #menu_boczne{float:none!important;width:calc(100% - 12px)!important;min-width:0!important;max-width:none!important;margin:10px 6px 9px!important;}
 .macmar-sidebar{width:100%!important;flex:1 1 auto!important;}
 #content_field{width:100%!important;max-width:100%!important;float:none!important;}
}

/* Preserve heading appearance when replacing the visual title div by semantic H1. */
#content_header_text:is(h1){margin:0!important;font-weight:inherit!important;line-height:inherit!important}
@media(max-width:650px){
 .macmar-sidebar{width:100%!important;flex:1 1 auto!important}
 #menu_boczne,#menu_boczne_gr,#menu_boczne_karty,.macmar-sidebar #menu_boczne{margin:10px 0 8px 0!important}
}



/* MacMar v1.32.713 — identical top spacing between navbar and title on AI catalogue pages. */
@media (min-width: 651px) {
  #menu_bar + #content_wrapper {margin-top:25px!important;}
  #content_wrapper > #content_inner {padding-top:1px!important;}
}
.macmar-footer-brand img[src*="macmar-footer-bw-713"] {
  width:56px!important;height:50px!important;max-width:56px!important;
  max-height:50px!important;object-fit:contain!important;
  mix-blend-mode:screen;display:block!important;
}
.macmar-footer-brand:has(img[src*="macmar-footer-bw-713"]){min-width:56px!important;}
