/* Base font size */
html { font-size: 20px; }


/* CSS Variables */
:root {
  --color-text: #000;
  --bg-color: #fff;
  --transition-fast: 0.3s;
  --transition-menu: 0.6s ease;
  --basic-color: #000;
  --radius: 25px;
}

/* Reset & Base Styles */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--bg-color);
  font-weight: 400;
  font-family: 'Figtree';
  line-height: 2;
  font-size: 0.7rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
img.radius { border-radius: var(--radius) }

/* Focus & Selection */
:focus { outline: none; }
::selection, ::-moz-selection { color: #fff; background-color:  #000; }

a{
  color: var(--color-text);
}
a:hover { color:  #000; }

/* Inputs & Buttons */
input, button, select, textarea { outline: none; }

/* Headings Grouped */
h1, h2, h3, h4 {
  color: var(--color-text);
  font-family: "Figtree";
  font-style: normal;
}
h1 { font-size: 2.25rem; line-height: normal; font-weight: 600;}
h2 { font-size: 2rem; line-height: normal; font-weight: 600;}
h3, h4 { font-size: 1.667rem; line-height: normal; font-weight: 600; }

.border-bottom{
  border-bottom: 1px solid #F3F3F3;
}
.menu-item a{
  text-decoration: none;
}

.menu-menu-gorne-container #menu-menu-gorne{
  margin-bottom: 0;
  padding-left: 0;
}

.button-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 29px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
    min-width: 240px;
    border: 1px solid #000;
    transition: .3s ease; 
}
.button-a:hover {
  background-color: #000;
  color: #fff;
  transition: .3s ease;
}
.button-a.onDarkFull:hover {
  background-color: #000;
  color: #fff;
  transition: .3s ease;
  border-color: #000;
}

.button-a.onDarkFull{
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
    transition: .3s ease;

}
.button-a.onDarkBlank{
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.button-a.onDarkBlank:hover {
  background-color: #000;
  color: #fff;
  transition: .3s ease;
  border-color: #000;
}

.smallLinks a{
  text-decoration: none;
}

.bigLinks{
  line-height: 180%; /* 28.8px */

}

.bigLinks a, .bigLinks p{
  font-size: 0.9rem;
  text-decoration: none;
}

.bigLinks p{
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}



.menu-list{
  list-style-type: none;
}

 #menu-menu-gorne .menu-item{
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  margin-right: 1.5rem;

}

.linki-header{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.attrib{
  font-size: 0.6rem;
  font-weight: 600;

}

.attrib .item{
  font-size: 0.8rem;
}

.ikony-header{
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.ikony-header a{
  font-size: 0.7rem;
  text-decoration: none;
}

a img:hover{
  opacity: 0.8;
  transition: var(--transition-fast);
}
a img{
  opacity:1;
  transition: var(--transition-fast);
}


.disclaimer {
  color: rgba(0, 0, 0, 0.4);
  font-family: "Figtree";
  font-size: 0.6rem;
  line-height: 1.33rem;
}


.disclaimer a{
  color: inherit;
  text-decoration: none;
}


#menu-menu-dolne .current_page_item a,
#menu-menu-dolne .current-page-ancestor a{
  color: inherit;
  padding-bottom: 0;
  border-bottom: none
}

.overlay-content ul{
  list-style-type: none;
  padding-left: 0;
}

/* Navigation */
.nav > li > a:hover, .nav > li > a:focus {
  background: none;
}

/* Overlay Menu */
.overlay {
  position: fixed;
  top: 0; right: 0;
  width: 0; height: 100%;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 93;

}
.overlay-content {
  position: relative;
  width: 100%;
  text-align: left;
  padding-top: 20em !important;
}
.mobile-submenu-panel{
  padding-top: 20em !important;
}


.overlay a {
    display: flex;
    padding: 0;
    font-size: 1.4rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #F3F3F3;
    color: var(--color-text);
    transition: var(--transition-fast);
    line-height: normal;
    text-decoration: none;
    justify-content: space-between;
}

.overlay-button a{
  padding: 0.8rem 2.4rem;
  color: #fff;
  background-color:var( --color-text);
  border: 1px solid #000;
  justify-content: center;
  display: flex;
  white-space: nowrap;
  width: 100%;
}

.nav {
  list-style-type: none;
  padding-left: 0;
}
.overlay .closebtn {
  position: absolute;
  top: 20px; right: 1.25rem;
  font-size: 60px;
}

#menu-menu-gorne {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin-top: auto;
  margin-bottom: auto;
}

#menu-menu-dolne li{
  color:var(--color-text);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
  line-height: 250%; /* 35px */
}

#menu-menu-dolne {
  padding-top: 1rem;
    padding-left: 0;
    list-style: none;
    flex-direction: row;
    display: flex;
}
#menu-menu-dolne li{
  margin-right: 3rem;
  
}
#menu-menu-dolne li a{
 font-weight: 600;
 font-size: 0.7rem;
}
.button-wrap {
  display: inline-flex;
  align-items: stretch;   /* kulka rozciąga się na wysokość przycisku */
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
      min-width: 293px;
}

/* Hamburger Menu */
.menu-bar {
  position: relative;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 18px;
  cursor: pointer;
}
.bar {
  width: 100%;
  height: 2px;
  background-color:var(--color-text);
  transition: transform var(--transition-fast) ease-in-out;
}
.menu-open .bar:first-child {
  transform: translateY(14px) rotate(45deg);
  background-color:var(--color-text);
}
.menu-open .bar:nth-child(2) {
display: none;
}
.menu-open .bar:last-child {
  transform: translateY(-2px) rotate(-45deg);
  background-color:var(--color-text);
}
.menu-bar.menu-open::before,
header.menu-open p,
header.menu-open .underline {
  color: #fff;
  transition: color var(--transition-menu);
}

.menu ul{
  display: flex;
  flex-direction: row;


}



/* Underline Utility */
.underline {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.gallery-item {
  width: 100%;
  margin-bottom: 1rem;
}


  /* Ustawiamy linki menu jako flex, tekst do lewej, ikonki do prawej */
  #myNav .overlay-content .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    
  }
  .faq-question h3 {
    margin: 0;
    font-size: 0.778rem;
    font-weight: normal;
    line-height: 3rem;
  }
  .faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.3s ease;
  }
  /* UKRYWAMY przez max-height i opacity, a nie display */
  .faq-answer {
    font-size: 0.778rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    line-height: 1.4;
    color: #555;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  /* Gdy aktywne – tekst stanie się widoczny */
  .faq-item.active .faq-answer {
    opacity: 1;
  }
  /* Obrót ikonki przy otwarciu */
  .faq-item.active .faq-toggle {
    transform: rotate(180deg); /* plus → „×” */
  }


.fancybox__toolbar__column button{
  display: none;
}
.fancybox__toolbar__column button:last-child{
  display: flex !important;
}



/* 1) Kontener overlay musi być relative, żeby pseudo-elementy mogły się pozycjonować względem niego */
.overlay-content {
  position: relative;
}

/* 2) Spraw, by linki miały pełną szerokość i padding tylko z lewej */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a {
  display: block;
  width: 100%;
  position: relative;
  text-align: left;
  font-size: 1.4rem;
}

/* 3) Pseudo-element strzałki – absolutnie względem <a>, ale dzięki szerokości 100% zawsze będzie przy prawej krawędzi overlay */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;                     /* przy prawej krawędzi linka (czyli overlay) */
  transform: translateY(-50%);
  width:16px;                  /* dopasuj do rozmiaru obrazka */
  height:16px;
  background: url('../images/arrow-right.png') no-repeat center center;
  background-size: contain;
}

.overlay-content .menu-menu-gorne-container ul.menu li.menu-item.current_page_item a{
  font-weight: 700;
}

.bordered-top{
  border-top: 1px solid rgba(0, 0, 0, 0.1)
}
.bordered-bottom{
  border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}


/* =========================
   MOBILE SUBMENU - PRODUKTY
========================= */

@media (max-width: 991.98px) {
    /* Ukrycie desktopowej strzałki */
    .menu-item-products-mega > a::after {
        display: none !important;
    }

    .overlay-panels {
        position: relative;
        overflow: hidden;
        min-height: calc(100vh - 110px);
    }

    .overlay-content--main,
    .mobile-submenu-panel {
        width: 100%;
        min-height: calc(100vh - 110px);
        background: #fff;
        transition: transform 0.3s ease;
    }

    .overlay-content--main {
        position: relative;
        z-index: 1;
        transform: translateX(0);
    }

    .mobile-submenu-panel {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        transform: translateX(100%);
        padding: 0 8px 24px;
    }

    .overlay.mobile-products-open .overlay-content--main {
        transform: translateX(-100%);
    }

    .overlay.mobile-products-open .mobile-submenu-panel {
        transform: translateX(0);
    }

    .mobile-submenu-back {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0 24px;
        border: 0;
        background: transparent;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
    }

    .mobile-submenu-back__icon {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-submenu-list {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #e8e8e8;
    }

    .mobile-submenu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 16px;
        min-height: 72px;
        padding: 0;
        border-bottom: 1px solid #e8e8e8;
        color: #111;
        text-decoration: none;
        font-size: 18px;
        line-height: 1.3;
    }

    .mobile-submenu-item__arrow {
        font-size: 28px;
        line-height: 1;
        color: #b9b9b9;
        flex: 0 0 auto;
    }

    /* Wszystkie linki w głównym menu mobile */
    .overlay .mobile-menu-list > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 16px;
        text-decoration: none;
    }

    .overlay .mobile-menu-list > li > a::after {
        content: "›";
        font-size: 30px;
        line-height: 1;
        color: #cfcfcf;
        flex: 0 0 auto;
    }

    /* Wyróżnienie strzałki przy "Produkty" */
    .overlay .menu-item-products-mobile-trigger > a::after {
        color: #111;
    }

    /* Tylko w overlay mobile */
    .overlay .menu-item-products-mobile-trigger .mega-menu {
        display: none !important;
    }
}



/* Główne okno / kontener */
.action-box {
    /* Ustawienia ramki i tła */
    border: 1px solid #f0f2f5; 
    background-color: #f8f9fb;
    padding: 24px;
    
    /* Wymiary i pozycjonowanie elementow wewnatrz */
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Odstęp między przyciskami */
    
    /* Podstawowa czcionka bezszeryfowa */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Wspólne style dla obu przycisków */
.action-box button {
    width: 100%;
    padding: 16px 0;
    font-weight: 500;
    letter-spacing: 1.5px; /* Rozstrzelenie liter */
    text-transform: uppercase;
    border-radius: 0; /* Ostre rogi */
    cursor: pointer;
    box-sizing: border-box;
    
    /* Centrowanie tekstu i ikon */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

/* Ciemny przycisk */
.btn-add {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #121212;
}

.btn-add:hover {
    background-color: #2a2a2a;
}

/* Plus w ciemnym przycisku */
.btn-add .plus-icon {
    font-size: 16px;
    font-weight: 300;
    margin-right: 8px;
    line-height: 1;
}

/* Jasny przycisk */
.btn-fav {
    background-color: #ffffff;
    color: #5b6271; /* Szaro-stalowy kolor tekstu */
    border: 1px solid #e0e2e7;
}

.btn-fav:hover {
    background-color: #f4f5f7;
}

/* Ikona serca w jasnym przycisku */
.btn-fav .heart-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    stroke: currentColor; /* Dziedziczy kolor z tekstu przycisku */
}


.b2b-auth-section {
    background: #f3f3f3;
}

.b2b-auth-left,
.b2b-auth-right {
    position: relative;
    min-height: 100vh;
}

.b2b-auth-left {
    background: url('/wp-content/uploads/2026/03/b2b-bg.jpg') center center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 60px;
    overflow: hidden;
}

.b2b-auth-left__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 18, 0.72);
}

.b2b-auth-left__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.b2b-auth-left h1 {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 32px;
    color: #fff;
}

.b2b-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.b2b-benefits li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.5;
}

.b2b-benefits li::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #d61c0d;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

.b2b-trust span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
}

.b2b-trust strong {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.b2b-auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 40px;
}

.b2b-auth-box {
    width: 100%;
    max-width: 520px;
}

.b2b-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.b2b-tab {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    opacity: 0.5;
}

.b2b-tab.is-active {
    opacity: 1;
    border-bottom: 2px solid #d61c0d;
}

.b2b-tab-content {
    display: none;
}

.b2b-tab-content.is-active {
    display: block;
}

.b2b-tab-content h2 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 12px;
}

.b2b-tab-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}

.b2b-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}

.b2b-form input[type="text"],
.b2b-form input[type="email"],
.b2b-form input[type="password"] {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0 14px;
    margin-bottom: 18px;
    font-size: 15px;
}

.b2b-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 24px;
}

.b2b-checkbox input {
    margin-top: 2px;
}

.b2b-checkbox span {
    font-size: 13px;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.b2b-btn {
    width: 100%;
    height: 52px;
    border: none;
    background: #d61c0d;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    transition: .2s ease;
}

.b2b-btn:hover {
    opacity: .92;
}

.b2b-alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.b2b-alert--error {
    background: #fdeaea;
    color: #9f1f1f;
}

.b2b-alert--success {
    background: #e8f6eb;
    color: #1d6b34;
}

.produkty-top-cats{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    justify-content:center;
}

.produkty-top-cats__item{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:60px;
    padding:14px 22px;
    border:1px solid #d9dce3;
    border-radius:999px;
    text-decoration:none;
    color:inherit;
    transition:all .2s ease;
}

.produkty-top-cats__text{
    line-height:1;
}

.produkty-top-cats__icon{
    width:20px;
    height:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 20px;
}

.produkty-top-cats__icon svg,
.produkty-top-cats__icon-img{
    width:20px;
    height:20px;
    display:block;
    object-fit:contain;
}

.produkty-top-cats__item.active{
    background:#000;
    color:#fff;
    border-color:#000;
}

.b2b-form-wrapper{
  max-width: 900px;
  margin: 0 auto;
}

.formularz-probki{
max-width:900px;
padding: 40px;
border: 1px solid #e6e6e6;
margin:0 auto;
}

.cf7-section{
margin:0 0 32px;
}

.cf7-section-title{
margin:0px;
padding:0 0 12px;
border-bottom:1px solid #e8e8e8;
font-size:24px;
line-height:1.2;
font-weight:700;
text-transform:uppercase;
letter-spacing:.06em;
color:#111;
}

.b2b-form-wrapper .cf7-row, .b2b-form-wrapper .cf7-field--full{
  margin-top: 15px;
}

.cf7-row{
margin-bottom:16px;
}

.cf7-row > p{
display:flex;
gap:20px;
margin:0;
}

.cf7-field{
display:block;
width:100%;
font-size:12px;
line-height:1.2;
font-weight:700;
text-transform:uppercase;
color:#7c8490;
letter-spacing:.04em;
}

.cf7-row > p > .cf7-field{
flex:1 1 0;
}

.cf7-field .wpcf7-form-control-wrap{
display:block;
margin-top:8px;
}

.cf7-field--full{
display:block;
width:100%;
}

.cf7-field--empty{
visibility:hidden;
pointer-events:none;
}

.cf7-field input,
.cf7-field textarea{
width:100%;
border:1px solid #dddddd;
background:#f5f5f5;
box-shadow:none;
border-radius:0;
padding:12px 14px;
font-size:16px;
color:#333;
}

.cf7-field input{
height:48px;
}

.cf7-field textarea{
height:140px;
resize:vertical;
padding-top:12px;
}

.cf7-field input::placeholder,
.cf7-field textarea::placeholder{
color:#9aa3ad;
opacity:1;
text-transform:none;
}

.cf7-field input:focus,
.cf7-field textarea:focus{
outline:none;
border-color:#cfcfcf;
background:#fff;
}

.cf7-footer{
margin-top:10px;
padding-top:24px;
border-top:1px solid #e8e8e8;
display:flex;
justify-content:space-between;
align-items:flex-end;
gap:24px;
}

.cf7-footer-note{
margin:0;
max-width:430px;
font-size:14px;
line-height:1.5;
color:#8a93a0;
}

.cf7-footer .wpcf7-form-control-wrap{
display:inline;
margin:0;
}

.cf7-footer input[type="submit"]{
min-width:260px;
height:54px;
border:0;
background:#c91d10;
color:#fff;
font-size:18px;
font-weight:700;
text-transform:uppercase;
letter-spacing:.04em;
cursor:pointer;
}

.cf7-footer input[type="submit"]:hover{
background:#af170c;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip{
  margin-top: 15px;
}

.formularz-probki p{
margin:0;
}

.formularz-probki .wpcf7-spinner{
display:none;
}

.b2b-form-wrapper{
    position: relative;
}

.b2b-success-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:40px 20px;
    background:#f8f8f8;
    border:1px solid #e5e7eb;
    min-height:240px;
    animation: fadeInUp .5s ease forwards;
}

.b2b-success-icon{
    width:72px;
    height:72px;
    border-radius:50%;
    background:#fff;
    border:2px solid #c61d23;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    transform:scale(.7);
    opacity:0;
    animation: popIn .45s ease .15s forwards;
}

.b2b-success-icon svg{
    width:32px;
    height:32px;
    stroke:#c61d23;
    stroke-width:3.5;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.b2b-success-icon svg path{
    stroke-dasharray:60;
    stroke-dashoffset:60;
    animation: drawCheck .5s ease .45s forwards;
}

.b2b-success-title{
    font-size:1.15rem;
    font-weight:700;
    margin-bottom:8px;
    text-transform:uppercase;
    line-height:1.3;
}

.b2b-success-text{
    max-width:520px;
    margin:0 auto;
    font-size:.92rem;
    line-height:1.6;
    color:#4b5563;
}

.b2b-form-wrapper.is-sent .wpcf7,
.b2b-form-wrapper.is-sent .logged-title{
    display:none;
}

/* =========================
   MEGA MENU - PRODUKTY
   DESKTOP
========================= */

header {
    position: relative;
    z-index: 200;
}

.main-menu-desktop,
.menu-top-menu-container,
.menu-top-menu-container > ul,
.menu-top-menu-container > ul > li,
.top-menu-list,
.top-menu-list > li {
    overflow: visible !important;
}

.main-menu-desktop,
.menu-top-menu-container,
.menu-top-menu-container > ul,
.top-menu-list {
    position: static;
}

.menu-top-menu-container > ul,
.top-menu-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-top-menu-container > ul > li,
.top-menu-list > li {
    position: static !important;
}

.menu-top-menu-container > ul > li > a,
.top-menu-list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.menu-item-products-mega {
    position: static !important;
}

.menu-item-products-mega .mega-menu {
    position: absolute;
    top: calc(100% - 38px);
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    padding-top: 38px; /* most hover */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}



/* Hover/focus */
.menu-item-products-mega:hover .mega-menu,
.menu-item-products-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 9999;
}

/* Pełna szerokość bez ograniczeń */
.mega-menu__inner {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 42px 64px 46px;
    background: #ffffff;
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.produkty-archive__header{
  z-index: 5;
}

/* Górny pasek */
.mega-menu__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.mega-menu__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.mega-menu__title {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
}

.mega-menu__all {
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* Siatka na pełnej szerokości */
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* Karty */
.mega-menu__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 0px;
    background: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mega-menu__card:hover,
.mega-menu__card:focus {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #d8d8d8;
}

.mega-menu__card-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
}

.mega-menu__card-desc {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #5a5a5a;
}


/* Strzałka przy "Produkty" */
.menu-item-products-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.menu-item-products-mega > a::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
    transition: transform 0.22s ease;
    margin-top: -4px;
}

/* Obrót strzałki po hover */
.menu-item-products-mega:hover > a::after,
.menu-item-products-mega:focus-within > a::after {
    transform: rotate(-135deg) translateY(-1px);
}

.mega-menu__card--all-categories{
  background-color: #000;
}
.mega-menu__card--all-categories .mega-menu__card-title{
  color: #fff;
}
.mega-menu__card--all-categories .mega-menu__card-desc{
  color: #fff;
}


/* Responsywność desktopowa */
@media (max-width: 1399.98px) {
    .mega-menu__inner {
        padding: 36px 40px 40px;
    }
}

@media (max-width: 1400px) {
    .mega-menu__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .menu-item-products-mega .mega-menu {
        display: none !important;
    }
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes popIn{
    from{
        opacity:0;
        transform:scale(.7);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

@keyframes drawCheck{
    to{
        stroke-dashoffset:0;
    }
}

@media (max-width:767px){
.cf7-row > p{
flex-direction:column;
gap:16px;
}
.cf7-field--empty{
display:none;
}
.cf7-footer{
flex-direction:column;
align-items:stretch;
}
.cf7-footer input[type="submit"]{
width:100%;
min-width:100%;
}
}





@media (max-width: 991px) {
    .b2b-auth-left,
    .b2b-auth-right {
        min-height: auto;
    }

    .b2b-auth-left {
        padding: 40px 24px;
    }

    .b2b-auth-right {
        padding: 40px 24px;
    }

    .b2b-auth-left h1,
    .b2b-tab-content h2 {
        font-size: 34px;
    }
}


@media(max-width: 1180px){
   #menu-menu-gorne .menu-item{
  margin-right: 1rem;

}
}


@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

/* Container */
.container {
  padding: 0 1.5rem;
  /* jeśli potrzebujesz centrowania: margin: 0 auto; */
}

/* Duże monitory (1441px i więcej) */
@media (min-width: 1441px) {
  .container {
    max-width: 84rem;
  }
}

/* Ekrany od 1366px do 1440px – kontener zawsze 1240px */
@media (min-width: 1366px) and (max-width: 1440px) {
  .container {
    max-width: 1240px;
  }
}

@media(max-width: 1440px){
   #menu-menu-gorne .menu-item{
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  margin-right: 0rem;

}
}

/* Laptopy i mniejsze monitory (do 1365px) */
@media (max-width: 1365px) {
  .logo-top {
    max-width: 330px;
  }
  .container {
    max-width: 77.5rem;
    padding: 0 2rem;
  }
}

/* Typowe laptopy (do 1366px) */
@media (max-width: 1366px) {
  html {
    font-size: 18px;
  }
}

/* Tablety oraz małe laptopy i urządzenia w poziomie (do 1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

/* Tablety oraz małe laptopy w pionie (do 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 66.68rem;
    padding: 0 1.5rem;
  }
}
/* Tablety oraz małe laptopy w pionie (do 992px) */
@media (max-width:650px) {
#menu-menu-dolne li{
  margin-right: 0.4rem;
}

}

/* Smartfony i małe urządzenia (do 576px) */
@media (max-width: 576px) {

  html {
    font-size: 14px;
  }
  .container {
    max-width: 42.54rem;
    padding: 0 1rem;
  }

  .ikony-header {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.link-login{
  display: none;
}


}

/* Bardzo wąskie (do 360px) */
@media (max-width: 360px) {

}