body.product-list-page .wrap.wp-block-group {
  max-width: none;
  margin: 0;
}

body.product-list-page ul.wp-block-post-template.grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  body.product-list-page ul.wp-block-post-template.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.product-list-page ul.wp-block-post-template.grid {
    grid-template-columns: 1fr;
  }
}

body.product-list-page .wp-block-post-template.grid > li {
  display: flex;
  margin: 0;
  min-width: 0;
}

body.product-list-page .wp-block-post-template.grid > li > .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body.product-list-page .card .art {
  flex: 0 0 165px;
  height: 165px;
  background-size: cover;
  background-position: center;
}

body.product-list-page .card h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.45em * 2);
}

body.product-list-page .card .desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.65em * 3);
}

body.product-list-page .card .seller {
  min-height: 22px;
}

body.product-list-page .toolbar .smallBtn {
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  white-space: nowrap;
}

body.product-detail-page .p-heroMedia .p-galleryThumb img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

body.product-detail-page .p-personCompact .p-providerInitial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6efeb;
  color: #174f55;
  font-size: 18px;
}

body.product-list-page .seller img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

body.product-list-page .wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}

body.product-list-page .wp-block-query-pagination a,
body.product-list-page .wp-block-query-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

body.product-list-page .jk-service-empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed #b9c9c2;
  border-radius: 14px;
  background: #fff;
}

.jk-service-editbar {
  margin: 0;
  padding: 16px 18px;
  background: #fffdf4;
  border-bottom: 1px solid #e2dec9;
}

.jk-service-editbar p {
  margin: 0 0 8px;
}

.jk-service-editbar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 8px 0 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: #174f55;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.jk-service-editbar a.jk-btn--ghost {
  background: #fff;
  color: #174f55;
  border: 1px solid #b9cfc6;
}

body.jk-service-use {
  background: #f6f4ee;
}

body.jk-service-use .jk-service-use-page {
  margin: 0;
  padding: 0;
}
