/* Peptimus Platform v3.4.7 — uniforme productkaarten */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:22px !important;
  margin:0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display:none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  min-width:0;
  overflow:hidden;
  border:1px solid #dbe3ef !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 8px 26px rgba(17,38,79,.06) !important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.woocommerce ul.products li.product:hover {
  transform:translateY(-3px);
  border-color:#c8d5ea !important;
  box-shadow:0 14px 36px rgba(17,38,79,.11) !important;
}

/* De bestaande WooCommerce-link vormt de kaartomhulling. */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto;
  color:inherit !important;
  text-decoration:none !important;
}

.pep-catalog-card__image {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1 / 1;
  padding:18px;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid #e5eaf2;
}
.pep-catalog-card__image img,
.woocommerce ul.products li.product img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center !important;
}

/* Standaard themateksten worden vervangen door de uniforme kaartinhoud. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product > a .price,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .star-rating { display:none !important; }

.pep-catalog-card__content {
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:160px;
  padding:17px 17px 18px;
}
.pep-catalog-card__title {
  margin:0 0 7px !important;
  padding:0 !important;
  color:#101a35 !important;
  font-size:17px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:-.01em;
}
.pep-catalog-card__variants {
  min-height:38px;
  margin:0 0 15px;
  color:#6b7280;
  font-size:13px;
  line-height:1.45;
  font-weight:400;
}
.pep-catalog-card__footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid #e5eaf2;
}
.pep-catalog-card__price {
  color:#101a35;
  font-size:15px;
  line-height:1.2;
  font-weight:800;
  white-space:nowrap;
}
.pep-catalog-card__price del,
.pep-catalog-card__price ins { text-decoration:none; }
.pep-catalog-card__button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 17px;
  border-radius:8px;
  background:#2f5bff;
  color:#fff !important;
  font-size:13px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  text-decoration:none !important;
  box-shadow:0 7px 16px rgba(47,91,255,.22);
}
.pep-catalog-card__button:hover { background:#1744e8; color:#fff !important; }

@media (max-width:1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width:767px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .pep-catalog-card__image { padding:9px; }
  .pep-catalog-card__content { min-height:145px; padding:12px 11px 13px; }
  .pep-catalog-card__title { font-size:14px !important; margin-bottom:5px !important; }
  .pep-catalog-card__variants { min-height:34px; margin-bottom:10px; font-size:11px; line-height:1.4; }
  .pep-catalog-card__footer { align-items:flex-end; gap:7px; padding-top:10px; }
  .pep-catalog-card__price { font-size:12px; white-space:normal; }
  .pep-catalog-card__button { min-height:32px; padding:8px 10px; border-radius:7px; font-size:11px; }
}
