
 /*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;
}
###zostańmy w kontakcie
@media (min-width: 901px) {
  .kontakt-title_conform {
    white-space: nowrap !important;
    text-align: left !important;
    width: auto !important;
    margin-bottom: 24px !important;
    font-size: 64px !important;
    padding-left: 0 !important;
	font-weight: bold;
  color: #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: flex;
flex-wrap: nowrap;
justify-content: space-between;
gap: 10px;
}


.product-item_gds {
flex: 1 1 auto;
text-align: center;
}

.product-item_gds:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #fafafa;
  border-radius: 8px;
}

.product-item_gds img {
width: 150px;
height: auto;
display: block;
margin: 0 auto 10px auto;

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 !important;
text-align: center !important;
padding-left: 0 !important;
  }
  .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); */ /* usuń cień */
  /* border-radius: 10px; */ /* usuń zaokrąglenie */
  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 .flyout-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-radius: 0 10px 10px 0;
  min-width: 180px;
  padding: 10px 0;
  animation: fadeIn 0.25s;
  z-index: 20;
}
.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;
  }
}

/* ---------- TWOJE ZMIANY MOBILE (NA SAMYM KOŃCU STYLE) ---------- */
@media (max-width: 768px) {
  /* Produkty jeden pod drugim, wyśrodkowane */
  .product-grid_gds {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
  }
  .product-item_gds {
    width: 80% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
  .product-item_gds img {
    width: 120px !important;
    margin: 0 auto 10px auto !important;
  }
  .title_gds {
    font-size: 48px !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  /* Ukrycie napisu "Zainspiruj się..." */
  .baner-subtext_baner2 {
    display: none !important;
  }

  /* Baner i napis "Twoje drewno. Twój styl." wersja mobilna */
  .baner-wrapper_baner2 {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .baner-wrapper_baner2 img {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .baner-text_baner2 {
    position: absolute !important;
    top: 54% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 16px !important;
    text-align: center !important;
    width: 95vw !important;
    padding: 0 10px !important;
  }
  .baner-title {
    font-size: 32px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }

  /* "Zostańmy w kontakcie" wersja mobilna */
@media (max-width: 768px) {
  .kontakt-title_conform {
    font-size: 36px !important;
    text-align: left !important;
    padding-left: 5% !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
    word-break: normal !important;
  }
}