.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;

  display: none; /* ukryty domyślnie */
  justify-content: center;
  align-items: center;
}

.popup-overlay.active {
  display: flex; /* pokazuje się po dodaniu klasy active */
}

.popup-content {
  position: relative;
  max-width: 600px;
  width: 100%;
  background: #fff;
  padding: 50px 40px 40px;
  border-radius: 25px;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.popup-btn {
  padding: 10px 20px;
  background: #0073e6;
  color: #fff;
  border: none;
  cursor: pointer;
}

.popup-btn:hover {
  background: #005bb5;
}

/*opinie klientów*/
.reviews {
      max-width: 800px;
      margin: 20px auto;
      padding: 0 16px;
      text-align: center;
    }
    .reviews h2 {
      font-size: 28px;
      margin-bottom: 20px;
    }
    .carousel {
      position: relative;
      overflow: hidden;
    }
    .track {
      display: flex;
      transition: transform 0.5s ease;
    }
    .review {
      flex: 0 0 100%;
      background: #fff;
      padding: 20px;
      margin: 0 5px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .review p {
      font-size: 16px;
      line-height: 1.5;
    }
    .author {
      font-weight: bold;
      margin-top: 10px;
      font-size: 14px;
      color: #555;
    }
    .controls {
      margin-top: 15px;
    }
    .btn {
      background: #007bff;
      color: #fff;
      border: none;
      padding: 8px 14px;
      margin: 0 4px;
      border-radius: 4px;
      cursor: pointer;
    }
    .btn:hover {
      background: #0056b3;
    }

.page-opinie-klientow .reviews{
	max-width: unset !important;
}

.page-opinie-klientow .track {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-opinie-klientow .review {
  flex: 1 1 calc(31.333% - 20px);
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 25px;
  box-shadow: 21px 32px 85px -27px rgba(0, 0, 0, 0.25) !important;
  min-width: 400px;
  height: auto; /* tekst nie będzie ucinany */
}

.page-opinie-klientow .review .author{
	color: var(--global-palette1) !important;
}

@media(max-width: 600px){
    .page-opinie-klientow .review{
        min-width: 300px;
    }
	
	h2{
		line-height: 3rem !important;
	}
}