:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    
    --bs-body-bg: #ffffff;
    --bs-gray: #6c757d;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-success: #00c853;
    --bs-success-lighter: #00d057;
    --bs-info: #0076FF;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}


:root {
    --bs-primary: #0d6efd; 
    --bs-primary-bg: #ffffff; 
    --bs-primary-text: #212529;
    --bs-secondary-bg: #eeeeee; 
    --bs-secondary-text: #212529; 
    --bs-accent: #07c152; 
    --bs-footer-bg: #ffffff; 
    --bs-footer-text: #212529; 
    
    --bs-preloader-second: #f21559; 
    --heading-prices-choose: #d63384;
    --bs-delete-lighter: #ff5e85;
    
    --bs-primary-lighter: #6AA4FF;
    --bs-primary-darker: #004CCB;
    --bs-secondary-lighter: #eeeeee;
    --bs-secondary-darker: #eee;
    --bs-primary-bg-lighter: #ffffff;
    --bs-primary-bg-darker: #f9f8fa;
    --bs-secondary-bg-lighter: #fff;
    --bs-secondary-bg-darker: #15161b;
    --bs-success-lighter: #00d057;
    --bs-accent-lighter: #00d057;
    --bs-gray: #6c757d;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-success: #00c853;
    --bs-info: #0076FF;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    
    --bs-body-color: #212529;
    --ip-btn-primary-background: #0d6efd;
    --ip-btn-primary-text: #ffffff;
    --ip-radio-primary-background: #ffffff;
    --ip-radio-primary-text: #212529;
    --ip-radio-primary-border: #0d6efd;
    --ip-radio-checked-background: #0d6efd;
    --ip-radio-checked-text: #ffffff;
    --ip-prices-chosen-background: #f9f8fa;
    --ip-prices-btn-color-text: #ffffff;
    --ip-prices-btn-secondary-background: #00d057;
    --ip-modal-primary-background: #ffffff;
    
    --ip-header-main-bg: #ffffff; 
    --ip-product-icons-text-color: #212529;
    --ip-header-menu-text-color: #6c757d;
    --ip-header-menu-text-color-active: #0d6efd;
    --ip-product-tab-list-nav-link-color: #212529;
    --ip-product-tab-list-nav-link-color-active: #0d6efd;
    --ip-btn-outlined-background: #ffffff;
    --ip-btn-outlined-text: #0d6efd;
    --ip-btn-outlined-secondary-background: #ffffff;
    --ip-btn-outlined-secondary-text: #0d6efd;
    --ip-product-icons-background-color: #ffffff;
    --ip-banner-text: #212529;
    --ip-input-text: #212529; 
    --ip-input-background: #ffffff; 
    --ip-carousel-button-color: #0d6efd;
    --ip-border-radius-boxes: 8px;
    --ip-border-radius-buttons: 50px;
    --ip-border-radius-inputs: 16px;
    --ip-box-shadow-boxes: 0 3px 24px rgba(0, 0, 0, .09);
    --page-max-width: 1200px; 
    --base-font-size: 16px; 
    --base-font-family: 'Arial', sans-serif; 
    --heading-font-family: 'Roboto', sans-serif; 
    --product-box-size: 250px; 


    
    --ip-icon-primary-1: #7f6eff;
    --ip-icon-primary-2: #7e37ff;
    --ip-icon-primary-3: #7c00ff;
    --ip-icon-primary-4: #6120de;
    --ip-icon-primary-5: #4300c4;

    --ip-icon-primary-accent: #f5a8f5;

    --ip-icon-secondary-1: #fff;
    --ip-icon-secondary-2: #f3f3f3;
    --ip-icon-secondary-3: #e9e9e9;
    --ip-icon-secondary-4: #e4e4e4;
    --ip-icon-secondary-5: #ccc;

    --ip-icon-eco-1: #f4e3d3;
    --ip-icon-eco-2: #f4e0ce;
    --ip-icon-eco-3: #dbccbd;

    --ip-icon-darkest: #3a3a3a;
}


/* =========================================================
   PALETA I ZMIENNE (spójne z identyfikacją)
   ========================================================= */
:root {
  --brand-blue: #0096DB;
  --brand-accent: #E7247F;
  --brand-text: #143758;
  --brand-bg-section: #F5F9FF;
 
  /* mapowanie do zmiennych motywu/systemu */
  --bs-primary: var(--brand-blue);
  --bs-blue: var(--brand-blue);
  --bs-accent: var(--brand-accent);
  --ip-btn-primary-background: var(--brand-blue);
  --ip-radio-primary-border: var(--brand-blue);
  --ip-radio-checked-background: var(--brand-blue);
  --ip-header-menu-text-color-active: var(--brand-blue);
  --ip-product-tab-list-nav-link-color-active: var(--brand-blue);
  --ip-btn-outlined-text: var(--brand-blue);
  --ip-btn-outlined-secondary-text: var(--brand-blue);
  --ip-carousel-button-color: var(--brand-blue);
  --bs-footer-bg: #f8f9fa;
 
  /* dodatkowe zmienne komponentów */
  --xg-blue: #0096DB;
  --xg-pink: #E7247F;
  --xg-gray-900: #333333;
  --xg-gray-600: #6B7280;
  --xg-line: #E7EEF3;
}
 
 
/* =========================================================
   PRZYCISKI / AKCENTY
   ========================================================= */
.ip-btn-success {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: #fff !important;
}
.ip-btn-success:hover,
.ip-btn-success:focus {
  background: #c51c65 !important;
  border-color: #c51c65 !important;
}
 
 
/* =========================================================
   TŁA / KOLORY POMOCNICZE
   ========================================================= */
.container-fluid.secondary-background-color {
  background-color: #ffffff !important;
}
 
 
/* =========================================================
   ZAKŁADKI PRODUKTÓW
   ========================================================= */
#productsTabList .nav-link { color: var(--brand-text) !important; border: none !important; }
#productsTabList .nav-link.active,
#productsTabList .nav-link:hover { color: var(--brand-blue) !important; }
#productsTabList .nav-link.active,
#productsTabList .nav-link.active.secondary-background-color {
  background-color: #fff !important;
  color: var(--ip-product-tab-list-nav-link-color-active, var(--brand-blue)) !important;
}
 
 
/* =========================================================
   PRZYCISK CENY (hover)
   ========================================================= */
.prices-table .button-cena:hover {
  color: #fff !important;
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}
 
 
/* =========================================================
   KAFELKI / LISTING – DESKTOP = MOBILE
   ========================================================= */
 
/* 0) Odczep absoluty TYLKO w listingu */
.productBoxesInner .svg-holding-block img,
.productBoxesInner .svg-holding-block svg,
#productCategory .svg-holding-block img,
#productCategory .svg-holding-block svg {
  position: static !important;
  top: auto !important; left: auto !important; transform: none !important;
  min-width: 0 !important; min-height: 0 !important;
  max-width: 100% !important; max-height: none !important;
  width: 100% !important; height: auto !important;
}
.productBoxesInner .svg-holding-block img:hover,
#productCategory .svg-holding-block img:hover { width: 100% !important; }
 
/* 1) Siatka listingu */
.productBoxesInner,
#productCategory {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  justify-content: center !important;
  align-items: stretch !important;
  max-width: 1280px;
  margin: 0 auto;
  text-align: initial;
}
@media (max-width: 1280px) {
  .productBoxesInner, #productCategory {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
}
@media (max-width: 576px) {
  .productBoxesInner, #productCategory { grid-template-columns: 1fr !important; }
}
 
/* 2) Wygaszanie starych inline-blocków i wysokości */
.prodbox {
  display: block !important;
  width: auto !important; max-width: none !important;
  height: auto !important; min-height: 0 !important;
  margin: 0 !important; text-align: initial !important; vertical-align: top;
}
.productBoxesInner .h-100, #productCategory .h-100,
.productBoxesInner a.d-block.h-100 { height: auto !important; }
 
/* 3) Karta */
.product-box-single {
  background: #fff;
  border: 1px solid var(--brand-blue);
  border-radius: 12px;
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex !important; flex-direction: column !important;
  align-items: stretch !important; justify-content: flex-start !important;
  height: 100% !important; overflow: hidden;
}
.product-box-single:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 150, 219, .25);
  border-color: var(--brand-accent);
}
 
/* 4) Wrapper obrazka */
.product-box-single .svg-holding-block {
  position: static !important;
  height: auto !important; min-height: 0 !important;
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: flex-start !important;
  width: 100% !important;
}
 
/* 5) Obraz – kwadrat 1:1, bez przycinania */
.product-box-single .svg-holding-block > img,
.product-box-single img {
  width: 100% !important; height: auto !important;
  aspect-ratio: 1/1 !important; object-fit: contain !important;
  margin: 0 !important; border-radius: 8px !important; background: #fff !important;
}
 
/* 6) Tytuł – 2 linie */
.product-box-single .svg-holding-block > p,
.product-box-single p, .product-box-single .title, .product-box-single h3 {
  position: static !important;
  margin: 10px 0 0 !important; padding: 0 !important; width: 100% !important;
  text-align: center !important; color: var(--brand-text) !important;
  background: transparent !important; text-shadow: none !important;
  white-space: normal !important; overflow: hidden !important; text-overflow: ellipsis !important;
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
  line-height: 1.25 !important; min-height: calc(1.25em * 2) !important;
  font-size: .95rem; font-weight: 700;
}
 
/* 7) Wyłącz overlay/caption */
.product-box-single a::before, .product-box-single a::after,
.product-box-single .overlay, .product-box-single .caption {
  display: none !important; content: none !important;
}
 
/* 8) MOBILE */
@media (max-width: 768px) {
  .productBoxesInner {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 12px !important; padding: 0 10px !important; text-align: initial !important;
  }
  .productBoxesInner > .box.prodbox, .productBoxesInner > * {
    display: block !important; float: none !important; width: auto !important; max-width: none !important;
    height: auto !important; min-height: 0 !important; margin: 0 !important; box-sizing: border-box !important;
  }
  .productBoxesInner .h-100 { height: auto !important; }
  .productBoxesInner .product-box-single { padding: 12px !important; }
}
 
 
/* =========================================================
   BANER PROMO „RABAT -10%"
   ========================================================= */
 
#promo-banner-copy h2 { color: #0096DB !important; font-weight: 800 !important; margin: 0 0 12px !important; }
#promo-banner-copy p { color: #143758 !important; margin: 0 0 18px !important; }
#promo-banner-copy .btn-promo {
  background: #E7247F !important; color: #fff !important; border-radius: 999px !important;
  padding: 12px 26px !important; font-weight: 800 !important; display: inline-block !important;
  text-decoration: none !important; font-size: 16px !important;
}
#promo-banner-copy .btn-promo:hover { background: #c51d68 !important; }
 
#myCarousel .slick-slide:has(#promo-banner-copy),
#myCarousel .carousel-item:has(#promo-banner-copy) {
  position: relative !important;
  min-height: clamp(260px, 32vw, 420px) !important;
  overflow: hidden !important;
}
 
#myCarousel img[alt*="Rabat -10%"],
#myCarousel img[alt*="RABAT -10%"] { display: none !important; }
 
/* TŁO (miasto) */
#myCarousel .slick-slide:has(#promo-banner-copy)::before,
#myCarousel .carousel-item:has(#promo-banner-copy)::before {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: 0 !important; pointer-events: none !important;
  background-image: url('https://i.ibb.co/Cpr8zbrw/T-O-RABAT-1920x479.jpg') !important;
  background-repeat: no-repeat !important; background-size: cover !important; background-position: center !important;
}
 
/* GRAFIKA GŁÓWNA (postać) */
#myCarousel .slick-slide:has(#promo-banner-copy)::after,
#myCarousel .carousel-item:has(#promo-banner-copy)::after {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: 1 !important; pointer-events: none !important;
  background-image: url('https://i.ibb.co/FcZLj2K/PANIZPLAKATEM-G-OWNA-GRAFIKA2.png') !important;
  background-repeat: no-repeat !important;
  background-size: auto 100% !important;
  background-position: 24% center !important;
}
 
#myCarousel #promo-banner-copy { position: relative !important; z-index: 2 !important; }
 
#promo-banner-copy .off {
  color: #0096DB !important; font-weight: 800 !important; line-height: .9 !important;
  margin: 0 0 12px !important; font-size: clamp(72px, 12vw, 240px) !important; letter-spacing: .5px !important;
}
#promo-banner-copy .off sup {
  color: #0096DB !important;
  font-size: .35em !important; position: relative !important; top: -.25em !important;
}
 
#promo-banner-copy .lead {
  color: #143758 !important; font-weight: 800 !important;
  font-size: clamp(16px, 1.4vw, 22px) !important; line-height: 1.35 !important; margin: 0 0 8px !important;
}
#promo-banner-copy .note {
  color: #143758 !important; font-size: clamp(10px, 0.8vw, 12px) !important;
  line-height: 1.35 !important; margin: 0 0 18px !important; opacity: .95 !important;
}
 
@media (min-width: 1400px) {
  #myCarousel .slick-slide:has(#promo-banner-copy)::after,
  #myCarousel .carousel-item:has(#promo-banner-copy)::after { background-position: 20% center !important; }
}
@media (max-width: 1024px) {
  #myCarousel .slick-slide:has(#promo-banner-copy)::after,
  #myCarousel .carousel-item:has(#promo-banner-copy)::after { background-position: 28% center !important; }
}
@media (max-width: 768px) {
  #myCarousel .slick-slide:has(#promo-banner-copy)::after,
  #myCarousel .carousel-item:has(#promo-banner-copy)::after { background-image: none !important; }
  #myCarousel #promo-banner-copy { max-width: 92vw !important; margin: 0 auto !important; text-align: center !important; }
  #promo-banner-copy .off { font-size: clamp(48px, 18vw, 120px) !important; }
  #promo-banner-copy .btn-promo { font-size: 15px !important; padding: 12px 24px !important; }
}
 
 
/* =========================================================
   BANER CAD
   ========================================================= */
#myCarousel .carousel-item { --banner-h: clamp(280px, 34vw, 480px); }
#myCarousel .carousel-item .banner-content {
  min-height: var(--banner-h);
  padding: clamp(16px, 3vw, 40px) !important;
  gap: clamp(12px, 2vw, 24px);
}
#myCarousel .carousel-item .main-banner-img {
  height: var(--banner-h) !important; width: auto !important; max-width: 100%;
  object-fit: contain; display: block;
}
#myCarousel .banner-info .banner-cad { max-width: min(640px, 66vw); color: #143758 !important; }
#myCarousel .banner-info .banner-cad h2 {
  margin: 0 0 clamp(8px, 1.6vw, 14px); font-weight: 800; color: #0096DB !important;
  font-size: clamp(24px, 4.2vw, 44px); line-height: 1.12;
}
#myCarousel .banner-info .banner-cad p {
  margin: 0 0 clamp(10px, 2vw, 16px); font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.55; color: #143758 !important;
}
#myCarousel .banner-info .banner-cad .cta {
  display: inline-block; padding: 12px 26px; border-radius: 999px; background: #E7247F; color: #fff !important;
  text-decoration: none; font-weight: 800; font-size: clamp(14px, 1.6vw, 16px);
}
#myCarousel .banner-info .banner-cad .cta:hover { filter: brightness(0.95); }
 
 
/* =========================================================
   BANER GŁÓWNY – DRUKARNIA WARSZAWA
   ========================================================= */
#myCarousel #cad-banner-copy {
  position: relative !important;
  z-index: 1 !important;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  max-width: 560px !important;
  padding: 0 8px !important;
}
 
#myCarousel .slick-slide:has(#cad-banner-copy)::before,
#myCarousel .carousel-item:has(#cad-banner-copy)::before,
#myCarousel .slick-slide #cad-banner-copy::before,
#myCarousel .carousel-item #cad-banner-copy::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: url('https://xerografiapl.iwareprint.pl/useruploads/images/xerografiapl_iwareprint_pl/banner/9/BANNER_OGOLNY.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: 28% bottom !important;
  background-size: auto 110% !important;
}
#myCarousel .slick-slide #cad-banner-copy,
#myCarousel .carousel-item #cad-banner-copy { position: relative !important; }
 
@media (min-width: 1400px) {
  #myCarousel .slick-slide:has(#cad-banner-copy)::before,
  #myCarousel .carousel-item:has(#cad-banner-copy)::before,
  #myCarousel .slick-slide #cad-banner-copy::before,
  #myCarousel .carousel-item #cad-banner-copy::before {
    background-position: 24% bottom !important;
    background-size: auto 112% !important;
  }
}
@media (max-width: 1024px) {
  #myCarousel .slick-slide:has(#cad-banner-copy)::before,
  #myCarousel .carousel-item:has(#cad-banner-copy)::before,
  #myCarousel .slick-slide #cad-banner-copy::before,
  #myCarousel .carousel-item #cad-banner-copy::before {
    background-position: 34% bottom !important;
    background-size: auto 114% !important;
  }
}
 
/* Typografia banera głównego */
#myCarousel .slick-slide #cad-banner-copy p:first-of-type,
#myCarousel .carousel-item #cad-banner-copy p:first-of-type {
  color: #777 !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  font-size: clamp(11px, 0.9vw, 15px) !important;
  margin-bottom: 6px !important;
}
 
#myCarousel .slick-slide #cad-banner-copy h2,
#myCarousel .carousel-item #cad-banner-copy h2 {
  color: #0096DB !important;
  font-weight: 900 !important;
  margin: 0 0 8px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.5px !important;
}
 
#myCarousel .slick-slide #cad-banner-copy h2 span:first-child,
#myCarousel .carousel-item #cad-banner-copy h2 span:first-child {
  display: block !important;
  color: #0096DB !important;
  font-size: clamp(42px, 4.8vw, 64px) !important;
  line-height: 1.05 !important;
}
 
#myCarousel .slick-slide #cad-banner-copy h2 span:last-child,
#myCarousel .carousel-item #cad-banner-copy h2 span:last-child {
  display: block !important;
  color: #0096DB !important;
  font-size: clamp(30px, 3.2vw, 48px) !important;
  line-height: 1.05 !important;
}
 
#myCarousel .slick-slide #cad-banner-copy p:nth-of-type(2),
#myCarousel .carousel-item #cad-banner-copy p:nth-of-type(2) {
  color: #143758 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-size: clamp(14px, 1.2vw, 20px) !important;
  line-height: 1.4 !important;
  margin: 0 0 24px !important;
}
 
#myCarousel .slick-slide #cad-banner-copy p:last-of-type,
#myCarousel .carousel-item #cad-banner-copy p:last-of-type {
  color: #777 !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  font-size: clamp(9px, 0.75vw, 13px) !important;
  line-height: 1.4 !important;
  margin-bottom: 26px !important;
  white-space: nowrap !important;
}
 
#myCarousel .slick-slide #cad-banner-copy .btn-cad,
#myCarousel .carousel-item #cad-banner-copy .btn-cad {
  background: #E7247F !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background .25s ease-in-out !important;
}
#myCarousel .slick-slide #cad-banner-copy .btn-cad:hover,
#myCarousel .carousel-item #cad-banner-copy .btn-cad:hover { background: #c51d68 !important; }
 
@media (max-width: 768px) {
  #myCarousel #cad-banner-copy { max-width: 92% !important; }
  #myCarousel #cad-banner-copy p:first-of-type,
  #myCarousel #cad-banner-copy p:last-of-type {
    font-size: clamp(9px, 2vw, 11px) !important;
    margin-bottom: 4px !important;
  }
  #myCarousel #cad-banner-copy h2 span:first-child { font-size: clamp(30px, 7vw, 40px) !important; }
  #myCarousel #cad-banner-copy h2 span:last-child { font-size: clamp(22px, 5.2vw, 30px) !important; }
  #myCarousel #cad-banner-copy p:nth-of-type(2) {
    font-size: clamp(12px, 3.2vw, 16px) !important;
    margin-bottom: 16px !important;
  }
  #myCarousel #cad-banner-copy .btn-cad { font-size: 16px !important; padding: 12px 22px !important; }
}
 
 
/* =========================================================
   DROBNE DOSTOSOWANIA UI
   ========================================================= */
.d-flex.text-center.text-md-start.col-xl-12 { display: none !important; }
.extra-addresses { margin-top: 1rem; text-align: center; }
@media (min-width: 768px) { .extra-addresses { text-align: start; } }
.extra-addresses p { margin-bottom: 1rem !important; font-size: .95rem; color: var(--bs-gray); }
.extra-addresses strong { display: block; font-weight: 600; color: #212529; margin-bottom: .25rem; }
.extra-addresses a { color: inherit; text-decoration: none; }
.extra-addresses a:hover { text-decoration: underline; }
 
 
/* =========================================================
   UKRYJ „Dodaj pliki do druku"
   ========================================================= */
button.openUploaderButton,
button[ng-click="controller.openUploader()"],
button[data-files-uploader-context] { display: none !important; }
 
 
/* =========================================================
   MENU: lifting UX/UI
   ========================================================= */
 
/* Kontener rozwijanego menu */
.menu-ul.opened {
  display: block;
  background: #fff;
  border: 1px solid #E7EDF3;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 55, 88, .12);
  padding: 14px 16px;
  padding-left: 22px !important;
  min-width: min(960px, 96vw);
  z-index: 1000;
}
 
/* Nagłówki kolumn (h3 w li.item) */
.menu-ul.opened h3 {
  margin: 6px 0 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #0096DB !important;
  text-transform: none;
}
 
/* Nagłówek główny grupy w lewej kolumnie */
#main-top-menu h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 8px 0 !important;
  margin: 0 0 6px !important;
  color: #143758 !important;
}
 
/* Wrapper list pod nagłówkami */
.menu-ul.opened .menu-header-wrapper > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 10px 22px;
  min-height: auto !important;
}
 
/* Pojedyncze pozycje */
.menu-ul.opened .menu-header-wrapper .item {
  margin: 0;
  padding: 0;
}
 
/* Linki */
.menu-ul.opened .menu-header-wrapper .item > a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #143758;
  font-weight: 600;
  line-height: 1.25;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.menu-ul.opened .menu-header-wrapper .item > a:hover {
  background: #F5F9FF;
  color: #0096DB;
}
.menu-ul.opened .menu-header-wrapper .item > a:focus-visible {
  outline: 2px solid #0096DB;
  outline-offset: 2px;
  background: #F5F9FF;
}
 
/* Punkt przed linkiem */
.menu-ul.opened .menu-header-wrapper .item > a::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0096DB;
  margin-right: 8px;
  translate: 0 -1px;
  opacity: .18;
  transition: opacity .18s ease;
}
.menu-ul.opened .menu-header-wrapper .item > a:hover::before { opacity: .45; }
 
/* Dystans między sekcjami */
.menu-ul.opened > li.item {
  margin: 0 0 10px;
  padding: 0 10px 10px 16px !important;
  border-bottom: 1px dashed #E7EDF3;
}
.menu-ul.opened > li.item h3 { padding-left: 4px !important; }
.menu-ul.opened > li.item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
 
/* Tagi przy linkach */
.menu-ul.opened .menu-tags { margin-left: 6px; }
.menu-ul.opened .menu-tag {
  display: inline-block;
  background: #E7247F; color: #fff;
  font-size: 11px; line-height: 1;
  padding: 5px 7px; border-radius: 999px;
  vertical-align: middle;
}
.menu-ul.opened .menu-tag:empty { display: none !important; }
 
/* Mobile */
@media (max-width: 768px) {
  .menu-ul.opened {
    padding: 12px;
    border-radius: 10px;
    min-width: auto;
  }
  .menu-ul.opened .menu-header-wrapper > ul {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .menu-ul.opened .menu-header-wrapper .item > a { padding: 10px 12px; }
}
 
/* Izolacja – kafelki i banery nie wpływają na menu */
.productBoxesInner .menu-header-wrapper,
#myCarousel .menu-header-wrapper { all: unset; }
 
 
/* =========================================================
   DYMKI PARAMETRÓW (ikonka „i")
   ========================================================= */
.paramAnswer {
  background: #fff !important;
  color: var(--xg-gray-900) !important;
  border: 1px solid var(--xg-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14), 0 0 0 2px rgba(0, 150, 219, .05) !important;
  padding: 18px 18px 16px !important;
  width: auto !important;
  max-width: 520px !important;
  min-width: 260px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  position: relative;
}
 
.paramAnswer .product-parameter-description-contents {
  background: transparent !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  color: inherit !important;
  white-space: normal !important;
  word-break: break-word !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
 
.paramAnswer h1,
.paramAnswer h2,
.paramAnswer h3 {
  margin: 0 0 6px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--xg-gray-900) !important;
}
.paramAnswer h1 { font-size: 18px !important; }
.paramAnswer h2 { font-size: 17px !important; }
.paramAnswer h3 { font-size: 16px !important; }
 
.paramAnswer p,
.paramAnswer li,
.paramAnswer div {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--xg-gray-600) !important;
}
 
.paramAnswer hr {
  height: 1px !important;
  border: 0 !important;
  margin: 10px 0 !important;
  background: linear-gradient(90deg, rgba(0, 150, 219, .25), rgba(231, 36, 127, .25));
}
 
.paramAnswer a { color: var(--xg-blue) !important; text-decoration: none !important; }
.paramAnswer a:hover { text-decoration: underline !important; }
 
.paramAnswer .xg-num {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
  color: var(--xg-blue); background: #fff; border: 2px solid var(--xg-blue);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.paramAnswer .xg-title {
  margin: 0 0 2px;
  font-weight: 700; line-height: 1.3; font-size: 16px;
  color: var(--xg-gray-900);
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.paramAnswer .xg-badge {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--xg-blue); color: var(--xg-blue); background: #fff;
}
.paramAnswer .xg-badge--pink {
  border-color: var(--xg-pink); background: var(--xg-pink); color: #fff;
}
 
@media (max-width: 520px) {
  .paramAnswer {
    max-width: 96vw !important;
    width: 96vw !important;
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .paramAnswer h1 { font-size: 17px !important; }
  .paramAnswer h2 { font-size: 16px !important; }
  .paramAnswer h3 { font-size: 15px !important; }
  .paramAnswer p,
  .paramAnswer li,
  .paramAnswer div { font-size: 13.5px !important; }
}
@media (max-height: 560px) {
  .paramAnswer { max-height: 86vh !important; overflow: auto !important; }
}
 
/* Reset ograniczeń z szablonu */
.parameter-tooltip,
.parameter-tooltip .content,
.product-parameter-description,
.product-parameter-description-contents {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
 
 
/* =========================================================
   UKRYWANIE PRÓBEK
   ========================================================= */
#darmowe_probki .radio-wrap .radio-wrap-label:nth-child(2) { display: none; }
#samples-info-section { display: none; }
 
 
/* =========================================================
   MAPA
   ========================================================= */
#iwareprintmsMap { height: 800px !important; }
#iwareprintmsMap .mapboxgl-canvas { height: 800px !important; }
.mapWrap { height: 800px !important; }
 
 
/* =========================================================
   UKRYWANIE PRODUKTÓW PO ID NA STRONIE GŁÓWNEJ
   ========================================================= */
#productId_63, #productId_151, #productId_95, #productId_143, #productId_65,
#productId_96, #productId_97, #productId_98, #productId_157, #productId_159,
#productId_158, #productId_160, #productId_156, #productId_136, #productId_137,
#productId_94, #productId_144, #productId_146, #productId_149, #productId_145,
#productId_148, #productId_147, #productId_150, #productId_138, #productId_139,
#productId_140, #productId_101, #productId_103, #productId_102, #productId_104,
#productId_80, #productId_105, #productId_135, #productId_134, #productId_155,
#productId_106, #productId_123, #productId_111, #productId_107, #productId_108,
#productId_109, #productId_110, #productId_130, #productId_171, #productId_182,
#productId_162, #productId_187, #productId_167, #productId_188, #productId_165,
#productId_189, #productId_191, #productId_99, #productId_100, #productId_153,
#productId_163, #productId_161, #productId_164, #productId_201, #productId_154,
#productId_203, #productId_205, #productId_207, #productId_77, #productId_206
{ display: none !important; }
 
 
/* =========================================================
   TYPOGRAFIA – scoped do .x-page
   ========================================================= */
.x-page p,
.x-page li { font-size: var(--fs-body); }
.x-page ul { margin: 6px 0 8px 20px; padding: 0; }
.x-page li { margin: 3px 0; }
 
 
/* =========================================================
   OPIS – AKAORDEON (strona główna)
   ========================================================= */
.opis-akordeon {
  max-width: 1100px;
  margin: 20px auto 40px auto;
}
.opis-main-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0 0 10px 2px;
}
.opis-kafelek {
  background: #fff;
  border: 1px solid var(--brand-blue);
  border-radius: 4px;
  padding: 16px 20px;
  color: var(--brand-text);
}
.opis-kafelek p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin: 0 0 10px 0;
}
.opis-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 22px 0 8px 0;
}
.opis-kafelek a,
.opis-kafelek a:hover {
  color: var(--brand-text);
  text-decoration: none;
  font-weight: 600;
}
.opis-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.opis-kafelek.open .opis-extra { max-height: 2000px; }
.opis-toggle-link {
  margin-top: 4px;
  border: none;
  background: none;
  padding: 0;
  font-size: 15px;
  cursor: pointer;
  color: var(--brand-blue);
}
.opis-toggle-link:hover { text-decoration: underline; }
 
 
/* =========================================================
   WYNIKI WYSZUKIWANIA
   ========================================================= */
#found {
  background: #ffffff !important;
  padding-top: 20px;
  padding-bottom: 50px;
}
#found .page-container {
  max-width: 1200px;
  margin: 0 auto;
}
#found .page-heading {
  font-size: 26px;
  font-weight: 600;
  color: var(--brand-text, #143758);
  margin-top: 10px;
  margin-bottom: 30px;
}
#found .breadcrumb { font-size: 13px; }
#found .breadcrumb a { color: var(--brand-text, #143758); }
#found .breadcrumb a:hover { text-decoration: underline; }
 
#found-list {
  max-width: 1160px;
  margin: 0 auto 20px auto;
}
#found-list > [class*="col-"] {
  display: flex;
  justify-content: center;
}
#found-list .bg-white.d-block {
  width: 100%;
  max-width: 300px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#found-list .bg-white.d-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
#found-list .media-left img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
#found-list .media-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-text, #143758);
  margin-top: 12px;
  min-height: 3.2em;
}
#found-list .media-heading .highlight {
  background: transparent;
  color: var(--brand-blue, #0096DB);
  font-weight: 700;
}
#found-list .content {
  font-size: 13px;
  line-height: 1.45;
  color: #4a4f5c;
  margin-top: 8px;
  min-height: 3.4em;
}
#found-list .media-right { margin-top: auto; }
#found-list .media-right .btn.ip-btn-primary.ip-btn-standard {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
}
 
@media (max-width: 767.98px) {
  #found-list > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  #found-list .bg-white.d-block { max-width: 100%; }
}
 
 
/* =========================================================
   OPIS PRODUKTU (.xf-prod)
   ========================================================= */
.xf-prod {
  background: #fff;
  padding: 18px 0;
}
.xf-prod__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.xf-prod__box {
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .12);
  border-radius: 14px;
  overflow: hidden;
  padding: 28px;
  margin: 10px 0;
  text-align: left;
  box-sizing: border-box;
}
.xf-prod__box p,
.xf-prod__box h1,
.xf-prod__box h2,
.xf-prod__box h3 {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  text-align: left;
}
.xf-prod__head { margin-bottom: 14px; }
.xf-prod__title {
  margin: 0 0 8px;
  color: var(--brand-text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.xf-prod__lead {
  margin: 0;
  color: rgba(20, 55, 88, .84);
  font-size: 14px;
  line-height: 1.7;
}
.xf-prod__items {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
.xf-prod__item { text-align: left; }
.xf-prod__h {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.xf-prod__h::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: rgba(20, 55, 88, .16);
}
.xf-prod__p {
  margin: 0;
  color: rgba(20, 55, 88, .84);
  font-size: 14px;
  line-height: 1.6;
}
.xf-prod__p--note {
  margin-top: 8px;
  color: rgba(20, 55, 88, .74);
}
.xf-prod__link-inline {
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 150, 219, .25);
  padding-bottom: 2px;
}
.xf-prod__link-inline:hover {
  color: var(--brand-accent);
  border-bottom-color: rgba(231, 36, 127, .35);
}
.xf-prod__more {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 55, 88, .10);
}
.xf-prod__more-title {
  margin: 0 0 6px;
  color: var(--brand-text);
  font-size: 15px;
  font-weight: 800;
}
.xf-prod__more-sub {
  margin: 0 0 12px;
  color: rgba(20, 55, 88, .74);
  font-size: 13px;
  line-height: 1.5;
}
.xf-prod__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.xf-prod__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .12);
  color: rgba(20, 55, 88, .90);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .08s ease, border-color .12s ease, color .12s ease;
}
.xf-prod__chip:hover {
  border-color: rgba(0, 150, 219, .35);
  color: var(--brand-blue);
  transform: translateY(-1px);
}
 
@media (max-width: 640px) {
  .xf-prod {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .xf-prod__inner { max-width: 100%; padding: 0 12px; }
  .xf-prod__box { width: 100%; max-width: 100%; margin: 0; padding: 18px; box-sizing: border-box; }
  .xf-prod__chip { width: 100%; justify-content: flex-start; }
}
 
 
/* =========================================================
   PRZYGOTOWANIE PLIKU (.xf-guidelines)
   ========================================================= */
.xf-guidelines,
.xf-guidelines * { box-sizing: border-box; }
.xf-guidelines {
  background: #fff;
  padding: 18px 0;
}
.xf-guidelines__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.xf-guidelines__list {
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .12);
  border-radius: 14px;
  overflow: hidden;
  padding: 18px;
}
.xf-guidelines__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  align-items: start;
  width: 100%;
}
.xf-guidelines__icon {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .14);
  box-shadow: 0 8px 18px rgba(20, 55, 88, .06);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--brand-blue);
}
.xf-ico { width: 46px; height: 46px; display: block; }
.xf-ico--cmyk { width: 48px; height: 48px; }
.xf-guidelines__content { min-width: 0; text-align: left; }
.xf-guidelines__h {
  margin: 0 0 6px;
  color: var(--brand-blue);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}
.xf-guidelines__p {
  margin: 0;
  color: rgba(20, 55, 88, .84);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.xf-guidelines__p--note { margin-top: 8px; }
.xf-guidelines__contact {
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 150, 219, .22);
  padding-bottom: 2px;
  margin-left: 6px;
}
.xf-guidelines__contact:hover {
  color: var(--brand-accent);
  border-bottom-color: rgba(231, 36, 127, .35);
}
.xf-guidelines__link {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 150, 219, .25);
  padding-bottom: 2px;
}
.xf-guidelines__link:hover {
  color: var(--brand-accent);
  border-bottom-color: rgba(231, 36, 127, .35);
}
 
@media (max-width: 640px) {
  .xf-guidelines {
    width: calc(100% + 72px) !important;
    margin-left: -36px !important;
    margin-right: -36px !important;
  }
  .xf-guidelines__inner { max-width: 100% !important; padding-left: 6px !important; padding-right: 6px !important; }
  .xf-guidelines__list { width: 100% !important; max-width: 100% !important; padding: 14px !important; overflow: hidden; }
  .xf-guidelines__item { grid-template-columns: 72px minmax(0, 1fr) !important; gap: 12px !important; padding: 12px 0 !important; }
  .xf-guidelines__icon { width: 72px !important; height: 72px !important; }
  .xf-ico { width: 40px !important; height: 40px !important; }
  .xf-ico--cmyk { width: 42px !important; height: 42px !important; }
}
 
 
/* =========================================================
   ZAKŁADKA: ZAMÓW PROJEKT (.xf-tab)
   ========================================================= */
.xf-tab {
  background: #fff;
  padding: 18px 0;
}
.xf-tab,
.xf-tab * { font-family: inherit !important; }
.xf-tab__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.xf-tab__box {
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .12);
  border-radius: 14px;
  overflow: hidden;
  padding: 28px;
  margin: 10px 0;
  text-align: left;
  box-sizing: border-box;
}
.xf-tab__head { margin-bottom: 14px; }
.xf-tab__title {
  margin: 0 0 8px;
  color: var(--brand-text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.xf-tab__lead {
  margin: 0;
  color: rgba(20, 55, 88, .84);
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.xf-tab__grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 860px) {
  .xf-tab__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .xf-tab__card { height: 100%; }
}
.xf-tab__card {
  border: 1px solid rgba(20, 55, 88, .10);
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
}
.xf-tab__h {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.xf-tab__h::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: rgba(20, 55, 88, .16);
}
.xf-tab__p,
.xf-tab__bullet,
.xf-tab__stepTxt,
.xf-tab__miniText {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(20, 55, 88, .84);
}
.xf-tab__p { margin: 0; overflow-wrap: anywhere; word-break: break-word; }
.xf-tab__p--note { margin-top: 10px; color: rgba(20, 55, 88, .74); }
.xf-tab__link {
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 150, 219, .25);
  padding-bottom: 2px;
}
.xf-tab__link:hover {
  color: var(--brand-accent);
  border-bottom-color: rgba(231, 36, 127, .35);
}
.xf-tab__bullets { display: grid; gap: 8px; margin-top: 2px; }
.xf-tab__bullet { position: relative; padding-left: 18px; }
.xf-tab__bullet::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(0, 150, 219, .30);
}
.xf-tab__steps { display: grid; gap: 10px; margin-top: 2px; }
.xf-tab__step { display: flex; gap: 10px; align-items: flex-start; }
.xf-tab__stepNo {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(20, 55, 88, .14);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
}
.xf-tab__mini { display: grid; gap: 10px; margin-top: 2px; }
.xf-tab__miniRow {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid rgba(20, 55, 88, .08);
}
.xf-tab__miniRow:first-child { border-top: 0; padding-top: 0; }
.xf-tab__miniLabel { color: rgba(20, 55, 88, .90); font-weight: 800; font-size: 13px; }
 
/* CTA */
.xf-tab__cta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 55, 88, .10);
}
.xf-tab__ctaBox {
  border: 1px solid rgba(20, 55, 88, .12);
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(245, 249, 255, .55), #fff);
}
.xf-tab__ctaTitle {
  margin: 0 0 6px;
  color: var(--brand-text);
  font-weight: 800;
  font-size: 15px !important;
  line-height: 1.3 !important;
}
.xf-tab__ctaText {
  margin: 0;
  color: rgba(20, 55, 88, .84) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.xf-tab__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 55, 88, .12);
  color: rgba(20, 55, 88, .90);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform .08s ease, border-color .12s ease, color .12s ease;
  margin-top: 12px;
}
.xf-tab__ctaBtn:hover {
  border-color: rgba(0, 150, 219, .35);
  color: var(--brand-blue);
  transform: translateY(-1px);
}
 
/* Timing */
.xf-tab__cta--timing {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 16px;
}
.xf-tab__cta--timing .xf-tab__ctaBox {
  background: #fff !important;
  border: 2px solid rgba(231, 36, 127, .28) !important;
}
.xf-tab__cta--timing .xf-tab__ctaTitle { color: var(--brand-blue) !important; }
.xf-tab__cta--timing strong { font-weight: 800; color: inherit; }
 
@media (max-width: 640px) {
  .xf-tab { width: auto !important; margin: 0 !important; }
  .xf-tab__inner { max-width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; box-sizing: border-box; }
  .xf-tab__box {
    width: calc(100% + 72px) !important;
    margin-left: -36px !important;
    margin-right: -36px !important;
    padding: 18px !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .xf-tab__card { padding: 14px; }
}

/* =========================================================
   XEROGRAFIA – NOWA STOPKA v3
   ========================================================= */

/* 1) Ukryj starą stopkę, newsletter, copyright i puste tło */
#footer-menu-container { display: none !important; }
#newsletter            { display: none !important; }
#copyrights            { display: none !important; }
#footer {
  padding-bottom: 0 !important;
  background: transparent !important;
}

/* =========================================================
   2) KONTENER GŁÓWNY
   ========================================================= */
.xf-ft {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  font-family: var(--bs-font-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
  font-size: 1rem;
  color: var(--bs-body-color, #212529);
  padding: 52px 0 0;
  width: 100%;
  box-sizing: border-box;
}
.xf-ft *,
.xf-ft *::before,
.xf-ft *::after { box-sizing: border-box; }

.xf-ft__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   3) SIATKA 4 KOLUMN
   ========================================================= */
.xf-ft__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 36px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #dee2e6;
  align-items: start;
}

/* =========================================================
   4) NAGŁÓWKI KOLUMN
   ========================================================= */
.xf-ft__col-title {
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px !important;
  color: #0096DB;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #dee2e6;
  display: block;
}

/* =========================================================
   5) LISTY LINKÓW
   ========================================================= */
.xf-ft__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.xf-ft__links li { margin: 0; padding: 0; }
.xf-ft__links a {
  font-size: 14px !important;
  color: #6c757d;
  text-decoration: none;
  display: block;
  padding: 2px 0 !important;
  line-height: 1.45;
}
.xf-ft__links a:hover { color: #0096DB; }

/* =========================================================
   6) KOLUMNA KONTAKTOWA (prawa)
   ========================================================= */
.xf-ft__brand {
  padding-left: 16px;
  border-left: 1px solid #dee2e6;
}

.xf-ft__logo {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}
.xf-ft__logo img {
  height: 38px;
  width: auto;
  display: block;
}

.xf-ft__tagline {
  font-size: 13px;
  line-height: 1.65;
  color: #6c757d;
  margin: 0 0 20px;
}

.xf-ft__phone {
  font-size: 24px !important;
  font-weight: 800;
  color: #0096DB;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.xf-ft__phone:hover { color: #143758; }

.xf-ft__mail {
  font-size: 14px !important;
  color: #6c757d;
  text-decoration: none;
  display: block;
  margin-bottom: 0;
}
.xf-ft__mail:hover { color: #0096DB; }

/* Lokalizacje */
.xf-ft__locs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dee2e6;
}
.xf-ft__loc strong {
  display: block;
  font-size: 13px !important;
  font-weight: 700;
  color: #495057;
  margin-bottom: 3px;
}
.xf-ft__loc span {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
}
.xf-ft__loc a {
  color: #6c757d;
  text-decoration: none;
}
.xf-ft__loc a:hover { color: #0096DB; }

/* =========================================================
   7) PASEK SEO
   ========================================================= */
.xf-ft__seo {
  padding: 22px 0;
  border-bottom: 1px solid #dee2e6;
}
.xf-ft__seo-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #adb5bd;
  margin: 0 0 10px;
}
.xf-ft__seo-wrap { display: flex; flex-wrap: wrap; }
.xf-ft__seo-wrap a {
  font-size: 12px;
  color: #adb5bd;
  text-decoration: none;
  padding: 3px 10px !important;
  border-right: 1px solid #e0e8f0 !important;
  line-height: 1.4;
}
.xf-ft__seo-wrap a:first-child { padding-left: 0 !important; }
.xf-ft__seo-wrap a:last-child  { border-right: none !important; }
.xf-ft__seo-wrap a:hover { color: #0096DB; }

/* =========================================================
   8) COPYRIGHT
   ========================================================= */
.xf-ft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.xf-ft__copy {
  font-size: 12px;
  color: #adb5bd;
  margin: 0;
}
.xf-ft__legal { display: flex; gap: 16px; }
.xf-ft__legal a {
  font-size: 12px;
  color: #adb5bd;
  text-decoration: none;
}
.xf-ft__legal a:hover { color: #0096DB; }

/* =========================================================
   9) MENU ROZWIJANE – nie wychodzi poza ekran
   ========================================================= */
.menu-ul.opened {
  min-width: 0 !important;
  width: max-content !important;
  max-width: min(960px, calc(100vw - 32px)) !important;
  overflow: visible !important;
}
.menu-ul.opened .menu-header-wrapper > ul {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  min-height: auto !important;
}

/* =========================================================
   10) RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1024px) {
  .xf-ft__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .xf-ft__brand {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #dee2e6;
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .xf-ft { padding-top: 32px; }
  .xf-ft__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .xf-ft__brand {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #dee2e6;
    padding-top: 24px;
  }
  .xf-ft__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .xf-ft__legal { flex-wrap: wrap; gap: 12px; }
  .xf-ft__seo-wrap a {
    font-size: 11px;
    padding: 3px 7px !important;
  }
}

/* Stopka – poprawki v3.1 */

/* Odstęp przed drugim nagłówkiem w kolumnie */
.xf-ft__col-title + .xf-ft__links + .xf-ft__col-title,
p.xf-ft__col-title[style*="margin-top"] {
  margin-top: 28px !important;
}

/* Usuń pionową linię przy kolumnie kontaktowej */
.xf-ft__brand {
  border-left: none !important;
  padding-left: 0 !important;
}
