/* Nova Septem - Oneindig doorladen op het productoverzicht */

/* Paginering blijft in de HTML staan als terugval, maar is niet zichtbaar. */
.woocommerce nav.woocommerce-pagination.jh-ias-verborgen{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.jh-ias-wachtpunt{
  width: 100%;
  height: 1px;
}

.jh-ias-status{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin: 18px 0 8px;
  font-size: 14px;
  color: #5f6b57;
}

.jh-ias-klaar{
  color: #8a9486;
  font-size: 13.5px;
}

.jh-ias-spinner{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #dfe5db;
  border-top-color: #476930;
  animation: jh-ias-draai .7s linear infinite;
}

@keyframes jh-ias-draai{
  to { transform: rotate(360deg); }
}

/* Nieuwe kaarten komen rustig in beeld in plaats van er ineens te staan. */
.woocommerce ul.products li.product.jh-ias-nieuw{
  animation: jh-ias-verschijn .28s ease both;
}

@keyframes jh-ias-verschijn{
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce){
  .woocommerce ul.products li.product.jh-ias-nieuw{ animation: none; }
  .jh-ias-spinner{ animation-duration: 2s; }
}

/* Kort oplichten van het product waar je vandaan kwam, zodat je meteen ziet
   waar je gebleven was. */
.woocommerce ul.products li.product.jh-ias-terug{
  animation: jh-ias-terugmelding 1.6s ease;
}

@keyframes jh-ias-terugmelding{
  0%   { box-shadow: 0 0 0 3px rgba(71,105,48,.45); }
  70%  { box-shadow: 0 0 0 3px rgba(71,105,48,.45); }
  100% { box-shadow: 0 1px 2px rgba(16,24,16,.06); }
}

@media (prefers-reduced-motion: reduce){
  .woocommerce ul.products li.product.jh-ias-terug{ animation: none; }
}
