/* ================================
   Kontenery stron
================================ */
.container,
.order_process .container,
.container.basketedit_page,
.container.prepaid_page {
  max-width: 1670px;
}

.container + footer,
.order_process .container + footer,
.container.basketedit_page + footer,
.container.prepaid_page + footer {
  max-width: 1670px;
}

/* Różne maksymalne szerokości */
.variable-max-width,
.max-width-1200 {
  max-width: 1670px;
}

.max-width-1400 { max-width: 1400px; }
.max-width-1600 { max-width: 1600px; }
.max-width-1800 { max-width: 1800px; }
.max-width-1900 { max-width: 1900px; }

/* ================================
   Header i nawigacja
================================ */
header .navbar-collapse {
  border-bottom: none;
  position: relative;
}

ul.navbar-nav {
  background: #E40613;
}

.nav-link-wrapper {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

header .navbar-nav {
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
}

#menu_navbar {
  padding-bottom: 0;
}

.navbar-subsubnav .nav-item a {
  color: #000;
}

.nav-item a:hover {
  color: #fff;
  background: #0081cc;
}

.nav-item a:active {
  color: #fff;
  background: #0081cc;
}

header .nav-link {
  text-decoration: none;
  padding: 12px 14px;
}

/* ================================
   Submenu w headerze
================================ */
header .navbar-subnav {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.nav-link-wrapper a {
  color: #fff;
}

/* ================================
   Free Shipping Banner
================================ */
.freeShipping {
  margin-top: 0;
  font-size: 8px;
  letter-spacing: 5px;
  color: #333;
  padding: 5px;
  border: 0;
  position: relative;
}

.freeShipping__info:before,
.freeShipping__close:after {
  color: #0081cc;
}

.freeShipping:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  border-bottom: 1px solid #e3e3e3;
}

/* ================================
   Navbar tło pseudo-element
================================ */
.navbar-collapse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 41px; /* dostosuj do wysokości menu */
  background: #E40613;
  z-index: -1;
}

/* ================================
   Responsywność
================================ */
@media (min-width: 978px) and (max-width: 1360px) {
  header .navbar-nav {
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 1px;
  }

  header .nav-link {
    padding: 8px 14px;
  }

  .navbar-collapse::before {
    height: auto;
  }
}

/* ================================
   Mobile Menu
================================ */
.setMobileGrid ul.navbar-nav {
  background: #fff;
}

.setMobileGrid .nav-link {
  color: #333;
  font-size: 12px;
  padding: 8px;
}

.setMobileGrid .nav-link:hover {
  color: #fff;
}

ul.navbar-nav li:last-child .nav-link-wrapper a {
  background: #000;
}

/* ================================
   Subnav i subsubnav
================================ */
header .navbar-subnav .nav-link {
  color: #000;
}

header .navbar-subsubnav .nav-link {
  color: #333;
  font-size: 1rem;
}

header .navbar-subsubnav .nav-link:hover {
  font-weight: bold;
  color: #fff;
}

ul.navbar-nav li:last-child .nav-link-wrapper a:hover {color:#000;background:#fff;font-weight:bold;}

header .navbar-subnav .nav-link:hover {color:#fff;}
footer {background:#333;padding-left:20px;padding-right:20px;}
footer a {color:#fff !important;}
.footer_settings__price_info__price_info {color:#fff !important;}



footer {
    position: relative;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #333;
    z-index: -1;
        background: linear-gradient(0deg,rgba(51, 51, 51, 1) 0%, rgba(23, 23, 23, 1) 100%);

    
}

.contact_type_adress {color:#fff !important;}
.price_info__text {color:#fff !important;}
#menu_orders_header, #menu_account_header, #menu_regulations_header, #links_footer_1_header {border-left:8px solid #E40613;padding-left:12px;}
#footer_links .footer_links_label {padding-bottom:0 !important;margin-bottom:20px;}

footer a:hover {color:#0081cc !important;transition:1s;}

.footer_settings {background:#0081cc;}

.footer_settings {
    position: relative;
    z-index: 1;
    padding:8px;
}

.footer_settings::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #E40613;

    z-index: -1;
}


.features {
    position: relative;
    z-index: 1;
}

.features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #0081cc;
    z-index: -1;
}




#menu_contact {border-bottom:none !important;}

  .features {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;

    flex-wrap: wrap;
    background:#f9f9f9;
  }
  .feature-box {
    flex: 1 1 200px; 
    text-align: center;
    padding: 10px;
    background:#0087cc;
    background: linear-gradient(0deg,rgba(7, 156, 242, 1) 0%, rgba(0, 129, 204, 1) 100%);
  }
  .feature-box img {
    width: 35px;
  
  }
  .feature-box h3 {
    margin: 5px 0;
    font-size: 16px;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:1px;
  }
  .feature-box p {
    margin: 0 !important;
    color: #fff;
    font-size: 12px;
    padding:0 !important;
    padding-bottom:15px !important;
    line-height:16px;
  }

  /* MOBILE */
  @media (max-width: 600px) {
    .features {
      flex-direction: column;
    }
  }
  
 .section,.hotspot__wrapper {margin-bottom:0px !important;}
 .headline__name {margin-top:40px;}
 #main_blog h2.headline__wrapper {margin-top:40px !important;}
 
 
 
#main_hotspot_zone1 {background:#333;padding-bottom:60px !important;color:#fff !important;}

#main_hotspot_zone1 {
    position: relative;
    z-index: 1;
    padding:8px;
}

#main_hotspot_zone1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #333;

    z-index: -1;
}

#main_hotspot_zone1 span.headline__name {color:#fff !important;}

#main_hotspot_zone1.big_label:after, .headline:after {background:#0087cc !important;}
#main_hotspot_zone1 a.product__name {color:#fff !important;font-size:16px;}
#main_hotspot_zone1 span.price__sub {color: #fff;font-size: 16px;background: #0087cc;padding: 8px;border-radius: 5px;padding-left: 15px;padding-right: 15px;}

.homepage-description {
    padding-bottom:50px;
    padding-top:30px;
}

.homepage-description h2 {font-size:12px;letter-spacing:2px;font-weight:normal;color:#59a3d4;margin-bottom:5px;}
.homepage-description h1 {font-size:25px;font-weight:500 !important;color:#000;}
.kreska {    content: '';
    display: block;
    height: 4px;
    width: 20px;
    background: #0087cc;
    margin: 0 auto;
    margin-top: 1rem;
    border-radius: 5px; margin-bottom:20px;}
    
    .opis_home {font-size:14px;line-height:25px;padding-left:20px;padding-right:20px;}
    
    header .nav-link.active {color:#000;}
    .czytajwiecej {margin-top:10px;display: inline-block; padding: 10px 25px; background-color: #E40613; color: #fff; border-radius: 5px; text-decoration: none; font-weight: 600;}
    .czytajwiecej:hover {background:#000;color:#fff;}
    
    .product > a img {
transition: all .3s ease-in-out !important;
}

.product:hover > a img {
transform: scale(1.05);
}

#main_hotspot_zone1 .product:hover span.price__sub {background:#E40613;transition: all .3s ease-in-out !important;}
#main_hotspot_zone2 span.price__sub {font-size: 14px;background: #eee;padding: 8px;border-radius: 5px;padding-left: 15px;padding-right: 15px;}
#main_hotspot_zone3 span.price__sub {font-size: 14px;background: #eee;padding: 8px;border-radius: 5px;padding-left: 15px;padding-right: 15px;}

#main_hotspot_zone2 .product:hover span.price__sub {background:#0087cc;transition: all .3s ease-in-out !important;color:#fff;}
#main_hotspot_zone3 .product:hover span.price__sub {background:#0087cc;transition: all .3s ease-in-out !important;color:#fff;}





 /* SLAJDER LOGA */


/* RESET / zabezpieczenia przed globalnymi regułami */
.slider, .slider * { box-sizing: border-box; }

/* Kontener paska */
.slider {
  width: 100%;
  height: 80px;            /* możesz zwiększyć (100-150px) */
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 20px;
}

/* Taśma z logami - nie liczymy ręcznie szerokości */
.slide-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;      /* very important - nie pozwala na sciskanie */
  animation: scroll 20s linear infinite;
}

/* Każdy link nie kurczy się w flexie */
.slide-track > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;         /* <-- kluczowe: zapobiega skurczeniu elementu */
  text-decoration: none;
}

/* Obrazek: wymuszenie naturalnego rozmiaru wysokości i wyłączenie ograniczeń */
.slide-track img {
  display: block;                 /* usuwa whitespace i padding inline */
  height: 40px;                   /* wysokość jaka ma być - 40 bo twoje pliki są 120x40 */
  width: auto !important;         /* zachowaj proporcje */
  max-width: none !important;     /* nadpisanie globalnego img{max-width:100%} */
  max-height: none !important;
  object-fit: contain;
  -webkit-transform: translateZ(0); /* przyspieszenie renderu */
}

/* Hover (opcjonalne) */
.slide-track img:hover { transform: scale(1.05); transition: transform .2s; }

/* animacja przewijania (duplikuj zawartość, aby pętla była płynna) */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* na mniejszych ekranach można zwęzić odstęp lub wysokość */
@media (max-width: 600px) {
  .slider { height: 60px; padding: 0 10px; }
  .slide-track { gap: 24px; animation-duration: 18s; }
  .slide-track img { height: 30px; }
}
#main_cms2 ._ae_desc > div {margin-bottom:0px !important;}







#main_blog {background:#d6d6d6;padding-bottom:60px !important;color:#fff !important;margin-top:50px;margin-bottom:60px;}

#main_blog {
    position: relative;
    z-index: 1;
    padding:8px;
}

#main_blog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #d6d6d6;

    z-index: -1;
}

#main_news {background:#59a3d4;padding-bottom:60px !important;color:#fff !important;margin-bottom:60px;}

#main_news {
    position: relative;
    z-index: 1;
    padding:8px;
}

#main_news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;           /* zamiast 50% */
    right: 0;          /* wypełnia cały obszar */
    width: 100vw;      /* pełna szerokość widoku */
    height: 100%;
    margin-left: calc(-50vw + 50%); /* wyrównanie do środka */
    background: #59a3d4;

    z-index: -1;
}

#main_news {display:none !important;}

#main_blog .article__item {background:#0087cc;}





/* ukryty checkbox */
.toggle-checkbox {
    display: none;
}

/* domyślnie ukryty tekst */
.hidden-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

/* jeśli checkbox jest zaznaczony, pokaz tekst */
.toggle-checkbox:checked + .hidden-text {
    max-height: 2000px; /* dostosuj jeśli tekst jest bardzo długi */
}

/* zmiana napisu na „Zwiń” */
.toggle-checkbox:checked + .hidden-text + label {
    content: "Zwiń"; 
}

.hidden-text h2 {font-size:16px;letter-spacing:0px;font-weight:500;color:#000;margin-bottom:5px;line-height:25px;}
.hidden-text p {line-height:25px;font-size:14px;}

#main_blog .article__content {padding:20px;}
#main_blog .article__name {color:#fff !important;border-left:8px solid #E40613;padding-left:10px;font-size:18px;}
#main_blog .link__text {color:#fff;text-decoration:none;padding:5px;font-size:12px;}
.icon-ds-arrow-right:before {background:#E40613;color:#fff;padding:5px;font-size:8px;}

.blog-post p {font-size:14px;line-height:25px !important;padding-left:20px;padding-right:20px;}


#blog-item .big_label, .headline {text-align:left;}

.sfpl-wrapper {
    line-height: 25px;
    font-size: 16px;
    color: #333;
    margin: 0 auto;
    padding: 10px 20px;
}
.sfpl-wrapper h1 {
    color: #0087cc;
    font-weight: 700;
}
.sfpl-wrapper h2, .sfpl-wrapper h3 {color:#000;}

.sfpl-wrapper h1 {
    font-size: 30px;
    margin-top: 20px;
    border-left:8px solid #E40613;
    padding-left:10px;
}

.sfpl-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
}

.sfpl-wrapper h3 {
    font-size: 20px;
    margin-top: 20px;
}

.sfpl-wrapper p {
    margin: 12px 0;
    font-size:16px !important;
    line-height:25px;
}

.sfpl-wrapper a {
    color: #0087cc;
    text-decoration: none;
    font-weight: 600;
}

.sfpl-wrapper a:hover {
    text-decoration: underline;
}

.sfpl-wrapper table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d0d0d0;
}

.sfpl-wrapper thead th {
    background: #0087cc;
    color: white;
    padding: 14px;
    text-align: left;
    font-size: 16px;
}

.sfpl-wrapper tbody td {
    padding: 14px;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.sfpl-wrapper tbody tr:nth-child(even) td {
    background: #f0f8ff;
}

.sfpl-wrapper tbody tr:hover td {
    background: #e6f4ff;
}

.sfpl-wrapper section {
    margin-bottom: 35px;
    padding-bottom: 10px;
}

.sfpl-wrapper strong {
    color: #000;
}

@media (max-width: 600px) {
    .sfpl-wrapper table {
        font-size: 15px;
    }
    .sfpl-wrapper h1 {
        font-size: 26px;
    }
    .sfpl-wrapper h2 {
        font-size: 22px;
    }
    .sfpl-wrapper {
        padding: 10px;
    }
}

.article__date {margin-left:20px;color: #fff;font-size: 16px;background: #0087cc;padding: 8px;border-radius: 5px;padding-left: 15px;padding-right: 15px;}
#blog-item .big_label {display:none !important;}



.sfpl-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 40px 0;
}

.sfpl-gallery-item {
    flex: 1 1 380px;
    max-width: 460px;
}

.sfpl-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

#blog-item .blog_image {display:none !important;}

.products__wrapper {padding-bottom:50px !important;}


.breadcrumbs ol>li a{
 background: #0081cc;
    padding: 5px;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    color: #fff;}
    
    .breadcrumbs__sub a:hover {color:#000;}
    .bc-item-2 span {background:#626262;padding-left:8px;padding-right:8px;padding-top:5px;padding-bottom:5px;color:#fff;border-radius:5px;}
    
    
    .bc-active span {background:#626262;padding-left:8px;padding-right:8px;padding-top:5px;padding-bottom:5px;color:#fff;border-radius:5px;}
    
    .breadcrumbs ol>li {font-size:10px !important;}
    
    #contact_map {
display: none !important;
}

.contact_page .headline {align-items:stretch;}

.contact_page .big_label:after, .headline:after {margin-left:0 !important;}

.contact_stocks {padding:30px;background:#eee;}

#Text .big_label, .headline {align-items:stretch;}
#Text .text_menu__label .headline {align-items:stretch;}