.table table {
  width: 100%;
  border-collapse: collapse;
}

.table table,
.table th,
.table td {
  border: 1px solid black;
}

.table th,
.table td {
  padding: 10px;
  text-align: center;
}

.table-background {
  background-color: #fff;
}

.table-background-green {
  background-color: #276e3c !important;
  color: #fff !important;
}

.table-text-bold {
  font-weight: 900;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  /* Dodanie przewijania poziomego */
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table,
.responsive-table th,
.responsive-table td {
  border: 1px solid black;
}

.responsive-table th,
.responsive-table td {
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  /* Zapobieganie zawijaniu tekstu */
}

@media (max-width: 768px) {

  .responsive-table th,
  .responsive-table td {
    padding: 5px;
  }

  /* Opcjonalnie, zmniejsz czcionkę na mniejszych ekranach */
  .responsive-table {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {

  .responsive-table th,
  .responsive-table td {
    padding: 3px;
  }

  /* Dalsze zmniejszenie czcionki na bardzo małych ekranach */
  .responsive-table {
    font-size: 0.7em;
  }
}

.table-legend {
  margin: 10px 0;
}

.index-up {
  font-size: 10px;
  font-weight: 400;
  position: relative;
  top: -5px;
}

.gazomet-btn.docs {
  width: fit-content;
  padding: 24px;
  background: #10664d;
  color: #fff;
}

.gazomet-btn.docs:hover {
  background: #fff;
  color: #646464;
  border: 1px solid #646464;
}

.rzut-img img {
  width: 300px;
}

/* @media (max-width: 480px) {
  .rzut-img img {
    width: 200px;
  }
} */

@media (min-width: 768px) {
  .products {
    flex-wrap: wrap;
  }

  .products .product-box {
    margin: 10px;
  }
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-gallery img {

  height: auto;
}




.popup-overlay {
  position: fixed;
  /* aby zawsze pozostawał w tle okna */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* półprzezroczyste ciemne tło */
  display: none;
  /* domyślnie schowane */
  justify-content: center;
  /* wyśrodkowanie w poziomie */
  align-items: center;
  /* wyśrodkowanie w pionie */
  z-index: 9999;
  /* nad wszystkim */
}

/* Kontent popupu */
.popup-content {
  background-color: #fff;
  width: 80%;
  max-width: 800px;
  border: 3PX solid #10664d;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  /* dla lepszej responsywności */
}

/* Przycisk zamykania (X) */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Lewa część z obrazkiem */
.popup-left {
  flex: 1 1 40%;
  min-width: 300px;
  /* aby obrazek nie był za mały na mniejszych ekranach */
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-left img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prawa część z tekstem i przyciskiem */
.popup-right {
  flex: 1 1 60%;
  padding: 20px;
  box-sizing: border-box;
}

.popup-right h2 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.popup-right p {
  margin-bottom: 20px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-right p strong {
  font-weight: 700;
}

.popup-button {
  background-color: #10664d;
  color: #FFF;
  padding: 20px 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.popup-button:hover {
  background-color: #0e5b4ab0;

}

.popup-btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width:480px) {
  .popup-content {
    width: 95%;

  }

  .popup-right h2 {
    font-size: 30px;
  }
}