/* BRN_RELEASE_FRONTEND_R2 (23-10-2026) -- enkel release.bouwafvalzak.be. Wordt NA alle andere css geladen (main_css.php).
   Terugdraaien: dit bestand leegmaken of de link in main_css.php (blok "BRN_RELEASE_FRONTEND_R2") verwijderen; of KLIK_TERUG_RELEASE_R2.command. */

/* ===== 1. SHOP: prijs weg (lijst + detail), filters weg, responsive grid. Bestelfunctie (aantal, knop) blijft. ===== */
/* Voorraadstatus (klasse .soon / wrapper zonder itemprop) is geen prijs en blijft staan. */
.products-page .products_grid-item .productpricing:not(.soon),
.products-page .products_grid-item .smallDisplay,
.productspage .products_grid-item .productpricing:not(.soon),
.productspage .products_grid-item .smallDisplay,
.productspage .productpricewrapper[itemprop="offers"],
.productspage .product_aantal ~ .productpricing,
.productspage .product_aantal ~ .smallDisplay,
.productspage .shopbuttonswrapper .productpricing:not(.soon),
.productspage .shopbuttonswrapper .smallDisplay {
  display: none !important;
}
/* Filters (inclusief prijsfilter en weergaveknoppen in de kolom) weg; lijst over de volle breedte */
.products-page #filter_column { display: none !important; }
.products-page #content_column {
  width: 100% !important;
  max-width: 1500px;
  margin: 0 auto !important;
  float: none !important;
  display: block;
  box-sizing: border-box;
  padding: 0 5vw 10vh;
  min-height: 0 !important;
}
/* Responsive grid: kolommen vullen de breedte gelijkmatig (min. 260 px), kaarten gecentreerd in hun cel.
   Isotope zet positie/afmetingen inline; hier bewust overschreven. */
.products-page #content_column.gridlisting {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  height: auto !important;
  position: relative !important;
}
.products-page #content_column.gridlisting .products-sizer { display: none !important; }
.products-page #content_column.gridlisting .products_grid-item {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  float: none !important;
  width: 100% !important;
  max-width: 480px;
  justify-self: center;
  margin: 0 !important;
  box-sizing: border-box;
}
.products-page #content_column.gridlisting .products_grid-item.notAvailable { display: none !important; }

/* ===== 2. CONTACTFORMULIER: na verzenden intro weg en bevestiging links uitgelijnd met de kop =====
   body.brn-contact-verzonden wordt gezet door contactmodule_page/js/contact.js (toonContactResultaat). */
body.brn-contact-verzonden .contacts-page .contactblok .subtitle,
body.brn-contact-verzonden .contacts-page .contactblok .contenttext,
body.brn-contact-verzonden .contacts-page #contactmoduleTekst {
  display: none !important;
}
body.brn-contact-verzonden .contacts-page .contactblok,
body.brn-contact-verzonden .contacts-page .contactblok .contenttitle,
body.brn-contact-verzonden .contacts-page .contactblok .title { text-align: left !important; }
body.brn-contact-verzonden .contacts-page #contactForm_result,
body.brn-contact-verzonden .contacts-page #contactForm_result * {
  text-align: left !important;
}
body.brn-contact-verzonden .contacts-page #contactForm_result { display: block; }

/* ===== 3. FOOTER: één compacte credentialslijn =====
   Markup: php credentials.php -> <p class="brn-credits">v1.12.2 © 2026 - [logo] | MatAtWork (mailto)</p>
   De aparte versieregel van footer.php (div.site-versie) blijft in de HTML (release_spiegel_brn.sh leest data-versie) maar is verborgen. */
.footer .site-versie, .footer_bottom .site-versie { display: none !important; }
.footer_bottom .right { width: auto; max-width: 100%; }
p.brn-credits {
  margin: 0;
  line-height: 1.6;
  white-space: nowrap;
  text-align: right;
  font-size: 10pt;
}
p.brn-credits .brn-credits-versie { color: #8c8c8c; margin-right: .5em; }
p.brn-credits .brn-credits-logo {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  outline-offset: 3px;
}
p.brn-credits .brn-credits-logo img { height: 1.15em; width: auto; display: block; }
p.brn-credits .brn-credits-door {
  position: absolute;
  right: 100%; /* R2h: opent naar links (naar rechts liep de pagina horizontaal over) */
  top: 50%;
  transform: translateY(-50%);
  padding: .3em .6em .3em 0;
  line-height: 1.2;
  white-space: nowrap;
  font-size: .9em;
  color: rgba(0,0,0,0.68);
  background: #fff;
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  transition: clip-path .35s ease, opacity .2s ease;
  pointer-events: none;
}
p.brn-credits .brn-credits-logo:hover .brn-credits-door,
p.brn-credits .brn-credits-logo:focus .brn-credits-door,
p.brn-credits .brn-credits-logo:focus-within .brn-credits-door {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) { p.brn-credits .brn-credits-door { transition: none; } }
@media (max-width: 600px) {
  .footer_bottom .left, .footer_bottom .right { width: 100% !important; float: none !important; }
  p.brn-credits { text-align: left; margin-top: 12px; }
  /* smal scherm: de tekst schuift boven het logo uit (binnen beeld) i.p.v. ernaast */
  p.brn-credits .brn-credits-door { left: auto; right: 0; top: auto; bottom: 100%; transform: none; padding: 2px 6px; }
}

/* ===== R2h hotfix (23-10-2026) ===== */
/* Shop: nooit door deze css onzichtbaar; een lege lijst (0 kaarten) neemt geen hoogte in (geen wit vlak boven de footerbeelden). */
.products-page #content_column, .products-page #content_column.gridlisting { opacity: 1 !important; visibility: visible !important; }
.products-page #content_column:empty, .products-page #content_column.gridlisting:not(:has(.products_grid-item)) { display: none !important; padding: 0 !important; min-height: 0 !important; height: 0 !important; }
/* Footer: de aparte versieregel (div.site-versie, blijft in de HTML voor release_spiegel_brn.sh) is verborgen; het nummer staat in de credentialslijn. */
div.site-versie { display: none !important; }

/* R2e: footer is div.brn-credits (site_versie.php): versie inline tonen, "design & development by" verbergen, tonen bij hover/focus op logo */
.footer .site-versie, .footer_bottom .site-versie { display: inline; }
.footer_bottom .brn-credits .site-versie, .footer .brn-credits .site-versie { float: none !important; width: auto !important; clear: none !important; display: inline !important; margin: 0 .4em 0 0 !important; padding: 0 !important; text-align: inherit !important; }
.footer_bottom .brn-credits, .footer .brn-credits { white-space: nowrap; }
.brn-credits .brn-credits__door { display: none; }
.brn-credits .brn-credits__logo:hover ~ .brn-credits__door, .brn-credits .brn-credits__logo:focus ~ .brn-credits__door { display: inline; }

/* BEGIN MAW BRN_RELEASE_UX (26-10-2026) */
/* FAQ: plus-icoon was bijna wit (244,244,244) op wit; nu merkblauw */
.faqfeed_item-head .element::before,
.faqfeed_item-head .element::after { background: rgb(61, 90, 155) !important; }
/* Contactformulier: label "uw vraag" sprong 5px in t.o.v. de andere labels */
.textareainput__label { padding-left: 0 !important; }
/* END MAW BRN_RELEASE_UX */
