  html, body, #map { height: 100%; margin: 0; padding: 0; }

  /* panel informacyjny */
  #info-panel {
    display: none;                /* niewidoczny na start */
    position: fixed;
    right: 0; top: 0; bottom: 0;
    width: 300px;
    max-width: 90%;
    background: #fff;
    box-shadow: -2px 0 12px rgba(0,0,0,0.25);
    z-index: 2000;
    overflow-y: auto;
  padding: 20px;
  border-left: 1px solid #ddd;
  font-family: 'Arial', sans-serif;
    transition: transform 0.3s ease-in-out;
  }

#info-panel h2 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #1a3d7c;
  font-weight: bold;
}

#info-panel p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 12px;
}

#info-panel .close-btn {
  display: block;
  text-align: right;
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.2s;
}

#info-panel .close-btn:hover {
  color: #1a3d7c;
}

#info-panel .et_pb_button {
  background-color: white;
  color: #1a3d7c;
  border: 2px solid #1a3d7c;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px 0;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

#info-panel .et_pb_button:hover {
  background-color: #1a3d7c;
  color: white;
  border-color: #1a3d7c;
}

  /* mobilna wersja */
  @media (max-width: 767px) {
    #info-panel {
      width: 100%;
      height: 50%;
      bottom: 0;
      top: auto;
      border-radius: 12px 12px 0 0;
      transform: translateY(100%);
    }
    #info-panel.active {
      transform: translateY(0);
      display: block;
    }
  }

/* animacja markera przy excursion */
.leaflet-marker-icon.glow {
  filter: drop-shadow(0 0 10px yellow) drop-shadow(0 0 15px orange);
  transition: filter 0.3s ease;
}

/* system ratingów */
.star-rating {
  direction: rtl;
  font-size: 26px;
  unicode-bidi: bidi-override;
  display: inline-block;
  cursor: pointer;
  letter-spacing: 0;
  word-spacing: -4px;
}

.star-rating span {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #ccc;
  transition: color 0.2s, background 0.2s;
}

.star-rating span:hover,
.star-rating span:hover ~ span {
  color: gold;
}

.star-rating[data-rating] span {
  color: #ccc;
}

.star-rating[data-rating="1"] span[data-value="1"],
.star-rating[data-rating="2"] span[data-value="1"],
.star-rating[data-rating="2"] span[data-value="2"],
.star-rating[data-rating="3"] span[data-value="1"],
.star-rating[data-rating="3"] span[data-value="2"],
.star-rating[data-rating="3"] span[data-value="3"],
.star-rating[data-rating="4"] span[data-value="1"],
.star-rating[data-rating="4"] span[data-value="2"],
.star-rating[data-rating="4"] span[data-value="3"],
.star-rating[data-rating="4"] span[data-value="4"],
.star-rating[data-rating="5"] span[data-value="1"],
.star-rating[data-rating="5"] span[data-value="2"],
.star-rating[data-rating="5"] span[data-value="3"],
.star-rating[data-rating="5"] span[data-value="4"],
.star-rating[data-rating="5"] span[data-value="5"] {
  color: gold;
}

.rating-group {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.rating-group h3 {
  font-size: 1.1em;
  color: #004080;
  margin-bottom: 4px;
}

.star-rating span {
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating span.flash {
  transform: scale(1.4);
  color: #ffdf00; /* jaśniejsze złoto */
  text-shadow: 0 0 8px rgba(255, 223, 0, 0.8);
}