.gallery-section-sm {
  max-width: 1220px;
}
@media (max-width: 575.98px) {
  .gallery-section .nav-pills {
    --bs-nav-link-font-size: 10px;
    --bs-nav-link-padding-y: 4px;
    --bs-nav-link-padding-x: 8px;
  }
}

.gallery-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 767.98px) {
  .gallery-item .btn {
    --bs-btn-font-size: 17px;
    --bs-btn-padding-y: 8px;
    --bs-btn-line-height: 21px;
  }
}

.gallery-img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .gallery-img {
    border-radius: 48px;
  }
}

.gallery-title {
  margin-bottom: 20px;
  font-size: 19px;
  text-align: center;
}
@media (min-width: 768px) {
  .gallery-title {
    margin-bottom: 40px;
    font-size: 40px;
  }
}

.gallery-item-text {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.2;
}
@media (max-width: 767.98px) {
  .gallery-item-text {
    margin-top: 4px;
    font-size: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.gallery-item-price {
  margin-top: auto;
  padding-top: 12px;
}
@media (min-width: 768px) {
  .gallery-item-price {
    padding-top: 24px;
  }
}

.btn-want {
  width: 743px;
  max-width: 100%;
}

.btn-gallery-examples {
  width: 488px;
  max-width: 100%;
}