/* Nova Septem - Acties (Jansma Haule)
   1. Groene actiekaarten in de categoriebalk
   2. Actieslider op de homepage
   Geen scheidingslijnen, alleen witruimte. */

/* ---------- 1. Categoriebalk ---------- */

.jh-catbar .jh-catcard.jh-catcard--actie{
  background: #476930;
  box-shadow: 0 8px 18px rgba(71, 105, 48, .28);
}
.jh-catbar .jh-catcard.jh-catcard--actie .jh-catcard__thumb{
  background: rgba(255, 255, 255, .16);
  color: #fbf7f1;
}
.jh-catbar .jh-catcard.jh-catcard--actie .jh-catcard__name{ color: #fbf7f1; }
.jh-catbar .jh-catcard.jh-catcard--actie .jh-catcard__meta{ color: rgba(251, 247, 241, .8); }
.jh-catbar .jh-catcard.jh-catcard--actie:hover{ background: #3d5a29; }

/* ---------- 2. Actieslider homepage ---------- */

.jh-acties{
  padding: clamp(44px, 7vw, 96px) 16px;
  background: #fbf7f1;
  color: #1f2a1f;
}
.jh-acties__container{ max-width: 1240px; margin-inline: auto; }

.jh-acties__kop{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.jh-acties__titel{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.jh-acties__intro{ margin: 10px 0 0; max-width: 60ch; opacity: .85; }
.jh-acties__alle{
  color: #476930;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.jh-acties__alle:hover{ text-decoration: underline; }

/* Slider */
.jh-acties__slider{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #476930;
  color: #fbf7f1;
}
.jh-acties__slider .swiper-wrapper{ align-items: stretch; }
.jh-acties__slider .swiper-slide{ width: 100%; height: auto; }

.jh-actie{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px) clamp(72px, 7vw, 96px);
  min-height: clamp(360px, 46vh, 460px);
}

.jh-actie__naam{
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.jh-actie__naam a{ color: #fbf7f1; text-decoration: none; }
.jh-actie__naam a:hover{ text-decoration: underline; }

.jh-actie__sku{ margin: 0 0 14px; font-size: 14px; color: rgba(251, 247, 241, .8); }
.jh-actie__sku strong{ color: #fbf7f1; }

.jh-actie__boodschap{
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-weight: 700;
  font-size: 14px;
}

.jh-actie__prijs{ margin: 0 0 22px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: #fbf7f1; }
.jh-actie__prijs del{ opacity: .6; font-size: .6em; font-weight: 600; margin-right: 8px; }
.jh-actie__prijs ins{ text-decoration: none; }

.jh-actie__login{ margin: 0 0 22px; color: rgba(251, 247, 241, .85); }
.jh-actie__login a{ color: #fbf7f1; font-weight: 700; }

.jh-actie__knoppen{ display: flex; gap: 14px; flex-wrap: wrap; }

/* Productfoto op een witte kaart: de packshots hebben een witte achtergrond. */
.jh-actie__beeld{
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 24px;
  padding: clamp(16px, 3vw, 32px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.jh-actie__beeld img{ max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Navigatie */
.jh-acties__nav{
  position: absolute;
  inset-inline: clamp(12px, 2vw, 24px);
  bottom: clamp(14px, 2.5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}
.jh-acties__vorige,
.jh-acties__volgende{
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .6);
  background: rgba(0, 0, 0, .1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
}
.jh-acties__vorige:hover,
.jh-acties__volgende:hover{ border-color: #fff; background: rgba(0, 0, 0, .18); }

.jh-acties__dots{
  position: static !important;
  width: auto !important;
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
}
.jh-acties__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .55);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.jh-acties__dot.is-active{ background: #fff; border-color: #fff; }

@media (max-width: 820px){
  .jh-actie{ grid-template-columns: 1fr; }
  .jh-actie__beeld{ order: -1; aspect-ratio: 16 / 10; }
}
