/*kontakt*/
 .kontakt-section_conform {
  width: 60%;
  margin-left: 0;
  margin-right: auto;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
}

.kontakt-title_conform {
  font-size: 64px;
  font-weight: bold;
  color: #652d1b;
  text-align: left;
  padding-left: 1%;
  margin-bottom: 20px;
}

.kontakt-title_conform span {
  border-bottom: 6px solid #652d1b;
}

.kontakt-subtext_conform {
  font-size: 16px;
  font-weight: 300;
  color: #2e2e2e;
  text-align: left;
  max-width: 700px;
  margin: 0 auto 40px 1%;
}

.kontakt-grid_conform {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 1%;
}

.kontakt-item_conform {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kontakt-icon_conform {
  width: 48px;
  height: 48px;
  background-color: #96b330;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.kontakt-content_conform {
  display: flex;
  flex-direction: column;
}

.kontakt-content_conform strong {
  font-weight: 700;
  margin-bottom: 4px;
  color: #2e2e2e;
}

.kontakt-content_conform span {
  font-weight: 300;

  font-size: 16px;
  color: #2e2e2e;
}

.kontakt-bottom-block_conform {
  width: 1200px;
  max-width: 100vw;
  height: 40px;
  background: #652d1b;
  margin: 40px auto 0 auto;

  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@media (max-width: 1200px) {
  .kontakt-bottom-block_conform {
    width: 100vw;
    border-radius: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}



@media (max-width: 768px) {
  .kontakt-section_conform {
    width: 90%;
    margin-left: 5%;
  }

  .kontakt-grid_conform {
    grid-template-columns: 1fr;
  }

  .kontakt-title_conform {
    font-size: 48px;
    padding-left: 5%;
  }

  .kontakt-subtext_conform {
    margin-left: 5%;
    margin-right: 5%;
  }

  .kontakt-bottom-block_conform {
  
  }
}
  /*baner 2*/
      .baner-wrapper_baner2 {
      position: relative;
      width: 1200px;
      height: auto;
      max-width: 100%;
    }
    .baner-wrapper_baner2 img {
      display: block;
      width: 100%;
      height: auto;
    }
    .baner-text_baner2 {
      position: absolute;
      top: 40%;
      left: 30%;
     font-size: 20px;
      color: white;
      text-align: left;
    }
   .baner-title {
      font-size: 54px; /* h2 (64px) - 10px = 54px */
      font-weight: 600;
      color: white;
      margin: 0 0 20px 0;
      white-space: nowrap; /* wymusza jeden wiersz */
    }
    .baner-subtext_baner2 {
      font-size: 24px; /* dziedziczymy z H2, czyli 64px - 10px = 54px */
      font-weight: 300;
      color: white;
      letter-spacing: 0.15em; /* +40% odstępy */
      line-height: 1.4;
      max-width: 700px;
    }
  
  /*moduł produkty*/
  .container_gds {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .title_gds {
            font-size: 64px;
            font-weight: bold;
            margin-bottom: 60px;
            color: #652d1b;
            text-align: left;
           padding-left: 20px;
        }

        .product-grid_gds {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 40px;
            justify-items: center;
            align-items: center;
        }

        .product-item_gds {
            text-align: center;
        }

        .product-item_gds img {
            width: 150px;
            height: auto;
            display: block;
            margin: 0 auto 10px auto;
            border: 1px solid #ccc;
            padding: 10px;
            box-sizing: border-box;
        }

        .product-item_gds p {
            margin: 0;
            font-size: 16px;
            font-weight: normal;
        }

        @media (max-width: 768px) {
            .title_gds {
                font-size: 48px;
                padding-left: 5%;
            }
            .product-grid_gds {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 20px;
            }
            .product-item_gds img {
                width: 120px;
            }
        }
  
  
  /*moduł zastosowanie*/
  body {
      margin: 0;
      font-family: 'Montserrat', sans-serif;
      background-color: #fff;
      color: #2e2e2e;
    }
    .container_do {
      width: 100%;
      padding: 60px 0;
    }
    h2 {
      font-size: 64px;
      font-weight: bold;
      margin-bottom: 60px;
      color: #652d1b;
      text-align: left;
      padding-left: 20px;
    }
    .row_do {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: space-between;
      align-items: stretch;
      margin-bottom: 40px;
      width: 100%;
      padding: 0 20px;
      box-sizing: border-box;
    }
	
/*	################### */
   .block_do {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #f5f5f5;
  overflow: hidden;
  border-radius: 0;
  max-height: 500px;
  /* można też opcjonalnie dodać max-height jeżeli chcesz twardo limitować */
  /*  */
}

.image_do {
  width: 50%;
  object-fit: cover;
  height: 100%; /* zmniejszamy wysokość obrazka o 20% */
}

.grid-item_do {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px; /* zmniejszamy padding o 20% (z 40px) */
  background-color: #652f15;
  color: white;
}

.grid-item_do h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.highlight_do {
  color: #88b111;
  font-weight: bold;
}

.description_do {
  font-size: 14px;
  margin-bottom: 20px;
}

.button_do {
  background-color: #96b330;
  color: #000;
  border: none;
  padding: 10px 40px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
    margin-left: 30%; 
}

.button_do:hover {
  background-color: #7d9929;
}

.arrow_do {
  font-size: 32px;
  color: white;
  text-align: right;
  margin-top: auto;
}

/*	################### */
    @media (max-width: 1024px) {
      .block_do {
        flex: 1 1 100%;
        flex-direction: column;
        border-radius: 8px;
      }
      .image_do,
      .grid-item_do {
        width: 100%;
      }
      .image_do {
        height: 200px;
      }
    }

    @media (max-width: 768px) {
      h2 {
        font-size: 48px;
        text-align: center;
        padding-left: 0;
      }
      .grid-item_do {
        padding: 20px;
      }
    }

    @media (max-width: 480px) {
      h2 {
        font-size: 36px;
      }
      .grid-item_do h3 {
        font-size: 20px;
      }
      .description_do {
        font-size: 13px;
      }
      .arrow_do {
        font-size: 24px;
      }
    }
    /* ========== DESKTOP MENU ========== */
    .megamenu-bar {
      background: #fff;
		/*box-shadow: 0 4px 18px rgba(0,0,0,0.07);*/
      /*border-radius: 10px;*/
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px;
      height: 64px;
      display: flex;
      align-items: center;
    }
    .menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      height: 100%;
      align-items: center;
      gap: 8px;
    }
    .menu-item {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
    }
    .menu > .menu-item > a {
      display: flex;
      align-items: center;
      height: 64px;
      padding: 0 32px;
      color: #222;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.04em;
      transition: background 0.2s, color 0.2s;
      border-radius: 8px 8px 0 0;
    }
    .menu > .menu-item > a:hover,
    .menu > .menu-item.has-submenu:hover > a {
      background: #f0f0f0;
      color: #0078d7;
    }
    .has-submenu .submenu {
      display: none;
      position: absolute;
      left: 0;
      top: 100%;
      background: #fff;
      box-shadow: 0 8px 32px rgba(0,0,0,0.15);
      border-radius: 0 0 10px 10px;
      min-width: 200px;
      padding: 12px 0;
      z-index: 10;
      animation: fadeIn 0.25s;
    }
    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {
      display: block;
    }
    .submenu-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .submenu-list > .submenu-item > a {
      display: flex;
      align-items: center;
      padding: 10px 28px 10px 24px;
      color: #222;
      text-decoration: none;
      font-size: 1em;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
      border-radius: 0 20px 20px 0;
      position: relative;
    }
    .submenu-list > .submenu-item > a:hover,
    .submenu-list > .submenu-item.has-flyout:hover > a {
      background: #f0f8ff;
      color: #0078d7;
    }
  @media (min-width: 901px) {
  /* Poprawka dla submenu 2 poziomu - flyout */
  .submenu-item.has-flyout {
    position: relative;
  }
  .flyout-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    z-index: 9999;
    /* Wyśrodkowanie względem wiersza: */
    margin-top: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    background: #fff;
    border-radius: 0 10px 10px 0;
    padding: 10px 0;
  }
  .submenu-item.has-flyout:hover > .flyout-menu,
  .submenu-item.has-flyout:focus-within > .flyout-menu {
    display: block;
  }
}

    .submenu-item.has-flyout:hover > .flyout-menu,
    .submenu-item.has-flyout:focus-within > .flyout-menu {
      display: block;
    }
    .flyout-menu {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .flyout-menu li a {
      display: block;
      padding: 8px 24px;
      color: #222;
      text-decoration: none;
      border-radius: 0 10px 10px 0;
      font-size: 0.98em;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
    }
    .flyout-menu li a:hover {
      background: #eaf6ff;
      color: #0078d7;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px);}
      to   { opacity: 1; transform: translateY(0);}
    }
    /* ========== MOBILE MENU ========== */
    .hamburger {
      display: none;
      position: fixed;
      top: 18px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 210;
      width: 48px;
      height: 48px;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      padding: 0;
    }
    .hamburger span {
      display: block;
      width: 28px;
      height: 3px;
      background: #222;
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(.4,0,.2,1);
    }
    .hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
    .mobile-menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(24,24,24,0.6);
      z-index: 199;
      opacity: 0;
      transition: opacity 0.2s;
    }
    .mobile-menu-overlay.active {
      display: block;
      opacity: 1;
      pointer-events: auto;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100vw;
      max-width: 420px;
      background: #fff;
      color: #222;
      z-index: 200;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      padding: 0;
      box-shadow: 2px 0 24px rgba(0,0,0,0.12);
      transform: translateX(-100%);
      transition: transform 0.25s cubic-bezier(.4,0,.2,1);
      overflow-y: auto;
    }
    .mobile-menu.active {
      display: flex;
      transform: translateX(0);
    }
    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 24px 0 24px;
      min-height: 48px;
    }
    .mobile-menu-title {
      font-size: 1.2rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: #222;
    }
    .mobile-menu-back {
      background: none;
      border: none;
      color: #0070f3;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      padding: 8px 0 8px 0;
      margin-right: 16px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .mobile-menu-back:before {
      content: '←';
      font-size: 1.1em;
      margin-right: 2px;
    }
    .mobile-menu-list {
      list-style: none;
      padding: 24px 0 0 0;
      margin: 0;
      width: 100%;
    }
    .mobile-menu-list li {
      width: 100%;
      margin: 0;
    }
    .mobile-menu-link, .mobile-menu-parent {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      padding: 18px 32px;
      font-size: 1.15rem;
      color: #222;
      text-decoration: none;
      background: none;
      border: none;
      border-bottom: 1px solid #f2f2f2;
      transition: background 0.18s, color 0.18s;
      font-weight: 500;
      letter-spacing: 0.01em;
      outline: none;
      min-height: 48px;
      box-sizing: border-box;
      cursor: pointer;
    }
    .mobile-menu-link:active,
    .mobile-menu-link:focus,
    .mobile-menu-link:hover,
    .mobile-menu-parent:active,
    .mobile-menu-parent:focus,
    .mobile-menu-parent:hover {
      background: #f4f6fa;
      color: #0070f3;
    }
    .mobile-menu-arrow {
      font-size: 1.1em;
      color: #bbb;
      margin-left: 8px;
      pointer-events: none;
    }
    .mobile-menu-panel {
      display: none;
      width: 100%;
      min-height: 100vh;
      background: #fff;
      flex-direction: column;
      animation: slideLeft 0.22s cubic-bezier(.4,0,.2,1);
    }
    .mobile-menu-panel.active {
      display: flex;
      animation: slideLeft 0.22s cubic-bezier(.4,0,.2,1);
    }
    @keyframes slideLeft {
      from { transform: translateX(100%);}
      to { transform: translateX(0);}
    }
    @media (max-width: 900px) {
      .hamburger { display: flex; }
      .mobile-menu { display: flex; }
      .menu { display: none !important; }
      .megamenu-bar { display: none !important; }
    }
    
    }
    /* --- DODATKOWA RESPONSYWNOŚĆ STRONY OGÓLNEJ --- */
    @media (max-width: 1300px) {
      body > div { max-width: 98vw !important; }
    }
    @media (max-width: 900px) {
      header > div, section { flex-direction:column !important; align-items:center !important; }
      nav { gap:18px !important; }
      section[style*="background"] > div { padding:24px 10px !important; }
    }
    @media (max-width: 600px) {
      body > div { max-width: 100vw !important; }
      header > div { padding:10px 4vw 0 4vw !important; }
      section[style*="background"] > div { padding:16px 2vw !important; }
      h1 { font-size:2rem !important; }
      h2 { font-size:1.2rem !important; }
    }
  
@media (min-width: 901px) {
  .hamburger {
    display: none !important;
  }
  .megamenu-bar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    align-self: flex-start !important;
  }
}

@media (max-width: 900px) {
  header > div > div:nth-child(2) {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
  }

  header input[type="text"] {
    display: none !important;
  }

  .megamenu-bar {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    position: relative !important;
    z-index: 210 !important;
    margin: 0 !important;
    align-self: center !important;
  }
}

/* DODATKOWA poprawka dla HERO bannera na mobile */
@media (max-width: 600px) {
  section[style*="background"] > div {
    padding: 16px 16px !important;
    align-items: center !important;
    text-align: center !important;
  }

  section[style*="background"] h1,
  section[style*="background"] h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
  }
}

###########
 header_nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      background: #333;
      color: #fff;
      flex-wrap: wrap;
    }
    header nav {
      display: flex;
      gap: 1rem;
      font-size: 0.9rem;
      flex-wrap: wrap;
    }
    header nav a {
      color: #fff;
      text-decoration: none;
    }
    main {
      padding: 1rem;
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
    }
    section {
      flex: 1 1 300px;
    }
	
	
:root {
  --tab-color: #6B4226;
  --tab-bg: rgba(255, 255, 255, 0.6);
  --tab-bg-blur: blur(8px);
  --tab-active-bg: rgba(240, 240, 250, 0.8);
  --tab-hover-bg: rgba(230, 230, 240, 0.7);
  --tab-radius: 18px;
  --tab-shadow: 0 2px 16px 0 rgba(120, 120, 160, 0.10);
  --tab-font: 20px;
  --tab-underline: #aee3fa;
  --tab-underline-active: #6B4226;
  --tab-transition: 0.35s cubic-bezier(.77,0,.18,1);
}

:root {
  --tab-color: #6B4226;
  --tab-bg: #f8f8fa;
  --tab-active-bg: #ececf0;
  --tab-hover-bg: #f2f4f7;
  --tab-radius: 14px;
  --tab-shadow: 0 2px 12px 0 rgba(120, 120, 160, 0.08);
  --tab-font: 19px;
  --tab-underline: #b3d7e6;
  --tab-underline-active: #6B4226;
  --tab-transition: 0.33s cubic-bezier(.77,0,.18,1);
}

.zakladki-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  background: none;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
  border-bottom: none;
}

.zakladki-nav a {
  position: relative;
  display: inline-block;
  color: var(--tab-color);
  font-size: var(--tab-font);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6em 1.3em 0.6em 0.8em;
  margin-bottom: 0.18em;
  background: var(--tab-bg);
  border-radius: var(--tab-radius) var(--tab-radius) 0 0;
  box-shadow: var(--tab-shadow);
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    color var(--tab-transition),
    background var(--tab-transition),
    box-shadow var(--tab-transition),
    transform var(--tab-transition);
  overflow: visible;
  z-index: 1;
}

.zakladki-nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 5px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--tab-underline);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity var(--tab-transition),
    transform var(--tab-transition),
    background var(--tab-transition);
}

.zakladki-nav a:hover,
.zakladki-nav a:focus-visible {
  background: var(--tab-hover-bg);
  color: var(--tab-color);
  box-shadow: 0 5px 18px 0 rgba(120, 120, 160, 0.12);
  transform: translateY(-2px) scale(1.035);
}

.zakladki-nav a:hover::after,
.zakladki-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
  background: var(--tab-underline);
}
.zakladki-nav a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  color: #5c3a1a;
  font-weight: 500;
  transition: background 0.3s ease;
}

.zakladki-nav a.active {
  background-color: #5c3a1a;
  color: #fff;
  border-radius: 5px;
}
.zakladki-nav a.active,
.zakladki-nav a[aria-current="page"] {
  background: var(--tab-active-bg);
  color: var(--tab-color);
  box-shadow: 0 8px 24px 0 rgba(120, 120, 160, 0.14);
  z-index: 2;
  transform: translateY(-3px) scale(1.06);
}



.zakladki-nav a.active::after,
.zakladki-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1.08);
  background: var(--tab-underline-active);
}

.zakladki-nav a.active {
  background-color: #5c3a1a;
  color: #fff;
  border-radius: 5px;
}


@media (max-width: 768px) {
  .zakladki-nav {
    flex-direction: column;
    gap: 0.18rem;
    align-items: stretch;
  }
  .zakladki-nav a {
    border-radius: var(--tab-radius);
    margin-bottom: 0;
    font-size: 17px;
    padding: 0.6em 1em;
  }
  .zakladki-nav a::after {
    left: 12%;
    right: 12%;
    bottom: 7px;
  }
}


@media (max-width: 768px) {
  .zakladki-nav {
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
  }
  .zakladki-nav a {
    border-radius: var(--tab-radius);
    margin-bottom: 0;
    font-size: 18px;
    padding: 0.7em 1.2em;
  }
  .zakladki-nav a::after {
    left: 10%;
    right: 10%;
    bottom: 8px;
  }
}




    .tab {
      display: none;
      margin-top: 1rem;
    }
    .tab.active {
      display: block;
    }
    .accordion {
      display: none;
    }
    .accordion h3 {
      cursor: pointer;
      background: #eee;
      padding: 1rem;
      margin: 0;
      border-bottom: 1px solid #ccc;
      text-align: center;
    }
    .accordion-content {
      display: none;
      padding: 1rem;
    }
    .accordion-content.active {
      display: block;
    }
    @media (max-width: 768px) {
      .zakladki-nav {
        display: none;
      }
      .accordion {
        display: block;
      }
    }

  /* Ukryj zakładki na małych ekranach */
  @media (max-width: 768px) {
    .zakladki-nav,
    .tab {
      display: none !important;
    }
  }
* Wyśrodkowanie poniżej 800px */ 

@media (max-width: 799px) { .download-section { margin-left: auto; margin-right: auto; } 

.download-section h2 { text-align: center; } 

.download-list { align-items: center; } }

@media (max-width: 768px) {
  .product-params_gds,
  .param-title_gds,
  .param-values_gds {
    padding-left: 20px !important;
    box-sizing: border-box;
  }
}
