/* seedz1 full-catalog product list (/services/products) */

.products-list-page .products-list {
  padding: 48px 0 80px;
  background: #fff;
}

.products-list__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid #EBEDF0;
  padding-bottom: 16px;
}

.products-list__count {
  margin: 0;
  color: #3C404A;
}

.products-list__count-num {
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #030305;
  margin-right: 6px;
}

.products-list__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.products-list__item {
  margin: 0;
}

.products-list__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #EBEDF0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.products-list__card:hover,
.products-list__card:focus-visible {
  border-color: #91AFC9;
  box-shadow: 0 8px 24px rgba(6, 51, 99, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.products-list__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F5F6F8;
  overflow: hidden;
}

.products-list__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.products-list__img--empty {
  background:
    linear-gradient(135deg, #EBEDF0 0%, #F5F6F8 50%, #E4E8EE 100%);
}

.products-list__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 24px;
  gap: 8px;
}

.products-list__mpn {
  margin: 0;
  color: #030305;
  word-break: break-word;
}

.products-list__meta,
.products-list__desc,
.products-list__stock {
  margin: 0;
  color: #6d7586;
}

.products-list__meta-label {
  color: #3C404A;
  margin-right: 4px;
}

.products-list__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.products-list__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.products-list__price-label {
  display: block;
  font-size: 12px;
  color: #6d7586;
  margin-bottom: 2px;
}

.products-list__price-value {
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #063363;
  font-size: 16px;
}

.products-list__price-value--rfq {
  color: #063363;
  font-size: 14px;
}

.products-list__stock-num {
  font-weight: 600;
  color: #063363;
}

.products-list__stock-num--out {
  color: #6d7586;
}

.products-list__cta {
  margin-top: 12px;
  align-self: flex-start;
}

.products-list__empty {
  text-align: center;
  padding: 64px 16px 48px;
}

.products-list__empty-text {
  margin: 0 0 24px;
  color: #3C404A;
}

/* Pagination */
.seedz1-pagination {
  margin-top: 40px;
  padding-top: 8px;
}

.seedz1-pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seedz1-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seedz1-pagination__list--mobile {
  display: none;
}

.seedz1-pagination__btn,
.seedz1-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #EBEDF0;
  background: #fff;
  color: #063363;
  text-decoration: none;
  font-family: Gilroy, Eina03, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seedz1-pagination__btn:hover,
.seedz1-pagination__link:hover {
  border-color: #063363;
  background: #F5F8FC;
}

.seedz1-pagination__link.is-active {
  background: #063363;
  border-color: #063363;
  color: #fff;
}

.seedz1-pagination__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.seedz1-pagination__item--sep {
  color: #6d7586;
  min-width: 24px;
  text-align: center;
}

@media (max-width: 1024px) {
  .products-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .products-list-page .products-list {
    padding: 28px 0 56px;
  }

  .products-list__grid {
    grid-template-columns: 1fr;
  }

  .products-list__body {
    padding: 16px;
  }

  .seedz1-pagination__list--desktop {
    display: none;
  }

  .seedz1-pagination__list--mobile {
    display: flex;
  }
}
