.gallery-block.grid-gallery {
    padding-bottom: 50px;
    padding-top: 25px;
}

.gallery-block.grid-gallery .heading {
    margin-bottom: 50px;
    text-align: center;
}


.gallery-block.grid-gallery .heading h2 {
    font-weight: bold;
    font-size: 1.4rem;
    font-family: 'Archia', sans-sarif, serif !important;
}

.gallery-block.grid-gallery a:hover {
    opacity: 0.8;
}

.gallery-block.grid-gallery .item img {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.gallery-block.grid-gallery .item {
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .gallery-block.grid-gallery .scale-on-hover:hover {
        transform: scale(1.05);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
}

@media (max-width: 768px) {
    .mt-30px-on-small {
        margin-top: 30px !important;
    }
}


.price-history-box {
  position: relative;
  display: inline-block;
  margin-top: -10px;
  margin-bottom: 25px;
}

.price-history-trigger {
  cursor: pointer;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.price-history-trigger:hover {
  color: #6c9e3f; /* zielony w stylu Twojej strony */
}

.price-history-popout {
  display: none;
  position: absolute;
  top: 125%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  padding: 14px 18px;
  min-width: 240px;
  z-index: 999;
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

.price-history-item {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.price-history-item:last-child {
  border-bottom: none;
}

.price-history-item strong {
  color: #000;
  font-weight: 600;
}

.price-history-popout::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #ddd transparent;
}
.price-history-popout::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 21px;
  border-width: 0 7px 7px 7px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}