.v158-category-gallery {
  margin: 22px 0 30px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.v158-gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.v158-gallery-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
  color: #10233f;
}

.v158-gallery-lead {
  margin: 6px 0 0;
  max-width: 680px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.v158-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v158-gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  cursor: zoom-in;
}

.v158-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.v158-gallery-card:hover img {
  transform: scale(1.04);
}

.v158-gallery-quote {
  align-self: flex-start;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  background: #0f7a43;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 122, 67, .20);
}

.v158-gallery-quote:hover {
  background: #0a8f4c;
}

.catalog-wa-btn,
.cat-link.q,
.v158-force-wa {
  background: #0f7a43 !important;
  border-color: #0f7a43 !important;
  color: #fff !important;
}

.v158-category-gallery .is-hidden-extra {
  display: none;
}

.v158-gallery-more {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 0;
  min-width: 170px;
  border: 1px solid rgba(15, 122, 67, .28);
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: #0f7a43;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .v158-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .v158-category-gallery {
    padding: 14px;
  }

  .v158-gallery-head {
    display: block;
  }

  .v158-gallery-quote {
    margin-top: 12px;
    width: 100%;
  }

  .v158-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
