/* AGF.eu — homepage-productcategorieën (04-12-2026). Tien fotokaarten: icoon, naam, actueel aantal. Licht AGF-ontwerp, donkere gradient alleen onderaan de foto. */
.pcat-section { padding: 18px 0 6px; }
.pcat-scroller { position: relative; }
.pcat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.pcat-row > li { margin: 0; min-width: 0; }
.pcat-card { position: relative; display: block; height: 172px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; background: #1f4d36;
  box-shadow: 0 1px 2px rgba(15,61,46,.08), 0 6px 18px rgba(15,61,46,.10); isolation: isolate; }
.pcat-card picture, .pcat-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcat-card img { object-fit: cover; object-position: center; transition: transform .45s ease; }
.pcat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6,32,21,.9) 0%, rgba(6,32,21,.55) 38%, rgba(6,32,21,0) 66%); }
.pcat-card:hover img, .pcat-card:focus-visible img { transform: scale(1.05); }
.pcat-card:hover, .pcat-card:focus-visible { color: #fff; }
.pcat-card:focus-visible { outline: 3px solid #e0b12a; outline-offset: 2px; }
.pcat-text { position: absolute; left: 11px; right: 9px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.pcat-name { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .98rem; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pcat-ico { width: 20px; height: 20px; flex: 0 0 auto; color: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.pcat-count { font-size: .8rem; font-weight: 600; color: #e6f1ea; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pcat-count b { color: #f2c94c; font-weight: 800; }
.pcat-count-empty { color: #f2c94c; }
/* tien kolommen (~115 px per kaart): naam iets compacter, nooit afgekapt (afbreken met koppelteken als laatste redmiddel) */
@media (min-width: 1180px) { .pcat-name { font-size: .88rem; } .pcat-count { font-size: .76rem; } }
.pcat-name > span { max-width: 100%; overflow-wrap: normal; hyphens: manual; -webkit-hyphens: manual; }
.pcat-hint { display: none; margin: 8px 2px 0; font-size: .8rem; color: #4d6357; }

/* smaller dan 10 leesbare kolommen: horizontaal scrollen/swipen met snap, volgende kaart zichtbaar, zachte rand rechts */
@media (max-width: 1179px) {
  .pcat-scroller { margin: 0 -16px; }
  .pcat-scroller::after { content: ""; position: absolute; top: 0; right: 0; bottom: 6px; width: 36px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92)); }
  .pcat-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; padding: 2px 16px 8px; scrollbar-width: thin; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .pcat-row > li { flex: 0 0 152px; scroll-snap-align: start; }
  .pcat-row > li:last-child { margin-right: 20px; }
  .pcat-hint { display: block; }
}
@media (max-width: 600px) {
  .pcat-row > li { flex-basis: 40vw; max-width: 170px; }
  .pcat-card { height: 150px; }
  .pcat-name { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .pcat-card img { transition: none; } .pcat-card:hover img { transform: none; } }
@media print { .pcat-section { display: none; } }

/* ============ V2 (04-12-2026, eigenaar): compactere kaarten (desktop ~132 px, tablet 128 px, mobiel 120 px), zelfde stijl ============ */
.pcat-section { padding: 14px 0 2px; }
.pcat-card { height: 132px; border-radius: 12px; }
.pcat-card::after { background: linear-gradient(0deg, rgba(6,32,21,.92) 0%, rgba(6,32,21,.62) 42%, rgba(6,32,21,0) 78%); }
.pcat-text { left: 9px; right: 7px; bottom: 8px; gap: 1px; }
.pcat-name { gap: 3px; line-height: 1.08; }
.pcat-ico { width: 17px; height: 17px; }
.pcat-count { line-height: 1.2; }
@media (min-width: 1180px) { .pcat-name { font-size: .86rem; } .pcat-count { font-size: .74rem; } }
/* uitsnede per categorie: belangrijkste producten in beeld bij de lagere kaart */
.pcat-card[data-pcat="aardappelen"] img { object-position: 45% 55%; }
.pcat-card[data-pcat="groenten"] img { object-position: 50% 45%; }
.pcat-card[data-pcat="fruit"] img { object-position: 50% 45%; }
.pcat-card[data-pcat="exotisch"] img { object-position: 45% 50%; }
.pcat-card[data-pcat="citrus"] img { object-position: 50% 45%; }
.pcat-card[data-pcat="bessen"] img { object-position: 50% 45%; }
.pcat-card[data-pcat="paddenstoelen"] img { object-position: 45% 45%; }
.pcat-card[data-pcat="bladgroenten"] img { object-position: 50% 40%; }
.pcat-card[data-pcat="kruiden"] img { object-position: 40% 45%; }
.pcat-card[data-pcat="uien"] img { object-position: 55% 45%; }
@media (max-width: 1179px) {
  .pcat-row > li { flex-basis: 146px; }
  .pcat-card { height: 128px; }
  .pcat-hint { margin-top: 4px; }
}
@media (max-width: 600px) {
  .pcat-row > li { flex-basis: 38vw; max-width: 160px; }
  .pcat-card { height: 120px; }
  .pcat-name { font-size: .9rem; }
  .pcat-count { font-size: .76rem; }
}

/* ============ Verticale compactheid homepage (04-12-2026, eigenaar): zone tussen ticker en Market Pulse ============
 * Alleen padding, icoongrootte en tussenruimte; geen zoom/transform, geen onderdelen verwijderd. Hero en ticker ongewijzigd. */
/* groene modulebalk */
.hx-modband .hx-modules { padding: 8px 0 58px; }
.hx-modband .hx-modules a { padding-top: 2px; padding-bottom: 2px; gap: 4px; }
.hx-modband .hx-modules svg { width: 24px; height: 24px; }
/* witte snelkoppelingenbalk (overlapt de groene band) */
.pulse { margin-top: -48px; }
.pulse .gm-strip { padding: 9px 6px; }   /* 04-12-2026 micro-optimalisatie: 12 → 9 px boven en onder (−6 px); horizontaal ongewijzigd */
.pulse .gm-strip a { padding-top: 2px; padding-bottom: 2px; gap: 10px; }
.pulse .gm-strip svg { flex-basis: 24px; width: 24px; height: 24px; }
.pulse .gm-strip strong { line-height: 1.2; }
.pulse .gm-strip small { line-height: 1.25; }
/* categorieën direct onder de strip, Market Pulse direct onder de categorieën */
.pcat-section { padding-top: 10px; }
.pcat-section + .pulse-band { padding-top: 8px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .hx-modband .hx-modules { padding: 8px 0 50px; row-gap: 8px; }
  .pulse { margin-top: -42px; }
}
@media (max-width: 760px) {
  .hx-modband .hx-modules { padding: 6px 0 46px; }
  .hx-modband .hx-modules a { padding-top: 6px; padding-bottom: 6px; min-height: 0; }
  .hx-modband .hx-modules svg { width: 20px; height: 20px; }
  .pulse { margin-top: -36px; }
  .pulse .gm-strip { padding: 4px 6px; row-gap: 0; }
  .pulse .gm-strip a { padding: 7px 8px; }
  .pulse .gm-strip svg { flex-basis: 22px; width: 22px; height: 22px; }
}

/* ============ V4 (04-12-2026, eigenaar): kaarten ~100 px; icoon als klein badge linksboven, onderaan alleen naam + aantal ============
 * Zelfde foto's, iconen, gradient, namen en dynamische aantallen; geen zoom/transform. */
.pcat-section { padding: 6px 0 0; }
.pcat-section + .pulse-band { padding-top: 6px; }
.pcat-card { height: 100px; border-radius: 12px; }
.pcat-card::after { background: linear-gradient(0deg, rgba(6,32,21,.92) 0%, rgba(6,32,21,.6) 46%, rgba(6,32,21,0) 82%); }
.pcat-card > .pcat-ico { position: absolute; top: 7px; left: 7px; z-index: 2; width: 24px; height: 24px; padding: 4px; box-sizing: border-box; border-radius: 7px;
  background: rgba(6,32,21,.58); color: #fff; filter: none; }
.pcat-text { left: 8px; right: 6px; bottom: 6px; gap: 0; }
.pcat-name { display: block; letter-spacing: -.015em; line-height: 1.1; }
.pcat-count { line-height: 1.25; }
@media (min-width: 1180px) { .pcat-name { font-size: .86rem; } .pcat-count { font-size: .74rem; } .pcat-text { left: 7px; right: 5px; } }
@media (max-width: 1179px) { .pcat-card { height: 100px; } .pcat-hint { margin-top: 2px; } }
@media (max-width: 600px) { .pcat-card { height: 98px; } .pcat-name { font-size: .9rem; } }
