/* Progenion Aanbiedingen — kaarten onder de productgalerij en op de aanbiedingenpagina. */
.poff-product-offers,
.poff-offer {
  --poff-navy: #08356b;
  --poff-blue: #0071df;
  --poff-orange: #fe5b01;
  --poff-ink: #1d3b5f;
  --poff-line: rgba(8, 121, 223, .16);
  font-family: "Nunito Sans", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  color: var(--poff-ink);
}

/* Badges */
.poff-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.1;
  white-space: nowrap;
}
.poff-badge--deal { background: linear-gradient(135deg, #ff8a10, #fe5b01); color: #fff; box-shadow: 0 6px 14px rgba(254, 91, 1, .22); }
.poff-badge--save { background: #e7f8ee; color: #0b6b35; }
.poff-badge--pct { background: #fff1e6; color: #b43d00; }
.poff-badge--sale { background: linear-gradient(135deg, #ff8a10, #fe5b01); color: #fff; }
.poff-badge--bundle { background: #e8f3ff; color: var(--poff-blue); }

/* Blok onder de productgalerij */
.poff-product-offers {
  position: relative;
  z-index: 9;
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 19px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 170, 80, .18), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(235, 248, 255, .80));
  box-shadow: 0 14px 32px rgba(13, 75, 124, .10);
}
.poff-product-offers__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 12px; }
.poff-product-offers__kicker { color: var(--poff-orange); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.poff-product-offers__head h2 { order: -1; margin: 0; color: var(--poff-navy); font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }

.poff-offer-list { display: grid; gap: 10px; container-type: inline-size; }

/* Kaart */
.poff-offer {
  position: relative;
  display: grid;
  min-width: 0;
  border: 1px solid var(--poff-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(13, 75, 124, .07);
  overflow: hidden;
}
.poff-offer__labels { display: flex; flex-wrap: wrap; gap: 6px; }
.poff-offer__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
}
.poff-offer__thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 1 auto;
  min-width: 0;
  border-radius: 12px;
  background: linear-gradient(160deg, #f4faff, #e6f3fd);
}
.poff-offer__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.poff-offer__thumb--more { color: var(--poff-navy); font-size: .95rem; font-weight: 900; }
.poff-offer__thumb.is-current { outline: 2px solid rgba(0, 113, 223, .35); outline-offset: -2px; }
.poff-offer__thumb small {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--poff-blue);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  white-space: nowrap;
}
.poff-offer__qty {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 24px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--poff-navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  text-align: center;
}
.poff-offer__plus {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(13, 75, 124, .14);
  color: var(--poff-orange);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}
.poff-offer__body { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; min-width: 0; }
.poff-offer__body > * { min-width: 0; }
.poff-offer__title { margin: 0; font-size: 1rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.25; }
.poff-offer__title a { color: var(--poff-navy); text-decoration: none; }
.poff-offer__title a:hover { color: var(--poff-blue); }
.poff-offer__items { margin: 0; padding: 0; list-style: none; font-size: .82rem; line-height: 1.4; }
.poff-offer__items li { display: flex; gap: 6px; min-width: 0; }
.poff-offer__items li span { flex: 0 0 auto; color: var(--poff-orange); font-weight: 900; }
.poff-offer__items a { min-width: 0; overflow: hidden; color: var(--poff-ink); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.poff-offer__items a:hover { color: var(--poff-blue); text-decoration: underline; }
.poff-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.poff-offer__price ins { color: var(--poff-navy); font-size: 1.35rem; font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.poff-offer__was { color: #5e7790; font-size: .8rem; }
.poff-offer__was del { margin-left: 2px; }
.poff-offer__note { margin: 0; color: #8a4b00; font-size: .76rem; }
.poff-offer__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 0; }
.poff-offer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a0a, #fe3d01);
  box-shadow: 0 10px 22px rgba(254, 61, 1, .24);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.poff-offer__button:hover { transform: translateY(-1px); box-shadow: 0 13px 26px rgba(254, 61, 1, .3); }
.poff-offer__button:focus-visible,
.poff-offer__more:focus-visible,
.poff-offer__title a:focus-visible { outline: 3px solid rgba(0, 113, 223, .35); outline-offset: 3px; }
.poff-offer__more { color: var(--poff-blue); font-size: .84rem; font-weight: 800; text-decoration: none; }
.poff-offer__more:hover { text-decoration: underline; }

/* Onder de galerij: afbeeldingen links, tekst en knop rechts; kaarten onder elkaar */
.poff-offer--product {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "visual labels" "visual body";
  align-items: start;
  gap: 8px 16px;
  padding: 14px 16px;
}
.poff-offer--product .poff-offer__labels { grid-area: labels; }
.poff-offer--product .poff-offer__visual { grid-area: visual; align-self: start; gap: 4px; padding: 8px; border-radius: 14px; background: linear-gradient(160deg, #f7fbff, #eaf5fd); }
.poff-offer--product .poff-offer__body { grid-area: body; gap: 6px; }
.poff-offer--product .poff-offer__thumb { width: 54px; height: 54px; background: #fff; }
.poff-offer--product .poff-offer__plus { width: 20px; height: 20px; font-size: .85rem; }
.poff-offer--product .poff-offer__price ins { font-size: 1.2rem; }
.poff-offer--product .poff-offer__button { min-height: 40px; padding: 8px 16px; }
.poff-product-offers__more { display: inline-flex; gap: 6px; margin: 12px 2px 0; color: var(--poff-blue); font-size: .86rem; font-weight: 800; text-decoration: none; }
.poff-product-offers__more:hover { text-decoration: underline; }

/* Aanbiedingenpagina */
.poff-offer--archive { grid-template-rows: auto auto 1fr; gap: 12px; padding: 16px; }
.poff-offer--archive .poff-offer__visual { min-height: 150px; padding: 8px; border-radius: 14px; background: linear-gradient(160deg, #f7fbff, #eaf5fd); }
.poff-offer--archive .poff-offer__thumb { width: clamp(78px, 30%, 128px); aspect-ratio: 1; background: #fff; }
.poff-offer--archive .poff-offer__body { gap: 10px; }
.poff-offer--archive .poff-offer__title { font-size: 1.08rem; }
.poff-offer--archive .poff-offer__form { margin-top: auto; }

/* Smalle kaart (galerijkolom op laptop, telefoon): afbeeldingen boven de tekst. */
@container (max-width: 540px) {
  .poff-offer--product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "labels" "visual" "body"; }
  .poff-offer--product .poff-offer__visual { align-self: stretch; justify-content: flex-start; }
}

@media (max-width: 700px) {
  .poff-product-offers { margin-top: 11px; padding: 13px; border-radius: 17px; }
  .poff-product-offers__head h2 { font-size: 1.08rem; }
  .poff-offer-list--multi {
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .poff-offer-list--multi .poff-offer { scroll-snap-align: start; }
  .poff-offer--product,
  .poff-offer-list--multi .poff-offer--product { grid-template-columns: 1fr; grid-template-areas: "labels" "visual" "body"; padding: 12px; }
  .poff-offer--product .poff-offer__visual { justify-content: flex-start; }
  .poff-offer--product .poff-offer__thumb { width: 64px; height: 64px; }
  .poff-offer__button { flex: 1 1 auto; }
}
