/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
 
*/

.hide-menuitem {
  display: none;
}

.u-section-padding,
.u-container-padding {
  padding-left: 0px;
  padding-right: 0px;
}

.bricks-button {
  cursor: pointer;
}

.bricks-button[class*="primary"]::after {
  content: "\e093";
  font-family: "Font Awesome 7 Pro";
  font-weight: 300; 
  margin-left: 5px;
  display: inline-block;
}

.anchor-section {
  scroll-margin-top: 200px; /* desktop headerhoogte */
}

.anchor-section-productmenu {
  scroll-margin-top: 280px; /* desktop headerhoogte */
}

/* Wrapper: lijst horizontaal zetten */
.tab-container__productgroup-labels ul {
  display: flex;
  flex-wrap: wrap; /* breekt af op kleine schermen */
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Losse “labels” als blokjes stylen */
.tab-container__productgroup-labels ul li {
  padding: 1rem 1.6rem;
  background: var(--bg-surface);
  border-radius: var(--radius-s);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
}

.anchor-section-productmenu h6 {
  margin-bottom: 20px;
}

.anchor-section-productmenu h6:nth-of-type(2) {
  margin-top: 40px;
}

/* Styling product filter category pages */

/* ===============================
   PRODUCT FILTER – SIDEBAR
   =============================== */

/* Sidebar container mag niet inkrimpen */
.brxe-container.product-filter{
  width: 100%;
  min-width: 260px;          /* mag je aanpassen */
  flex-shrink: 0;
}

/* UL met checkboxes */
.brxe-container.product-filter ul.checkboxes{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Elk LI volle breedte */
.brxe-container.product-filter ul.checkboxes > li{
  width: 100%;
  margin: 0;
  padding: 0;
}

/* LABEL: checkbox + tekst netjes naast elkaar */
.brxe-container.product-filter ul.checkboxes label{
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;

  width: 100%;
  margin: 0;
  line-height: 1.3;
  cursor: pointer;

  /* ❗ BELANGRIJK: NOOIT woord-afbreking */
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Checkbox zelf */
.brxe-container.product-filter ul.checkboxes input[type="checkbox"]{
  margin: 0 !important;
  flex: 0 0 auto;
}

/* Extra zekerheid: niets in de filter mag woorden breken */
.brxe-container.product-filter,
.brxe-container.product-filter *{
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Product card: Dynamx product: verberg Energetx tekst */
body.single-product.product_cat-dynamx-flow-control-regelafsluiters .energetx-only,
body.single-product .product.product_cat-dynamx-flow-control-regelafsluiters .energetx-only {
  display: none !important;
}

/* Product card: Niet-Dynamx product: verberg Dynamx teksten
body.single-product:not(.product_cat-dynamx-flow-control-regelafsluiters) .dynamx-only,
body.single-product .product:not(.product_cat-dynamx-flow-control-regelafsluiters) .dynamx-only {
  display: none !important;
}
*/






@media (min-width: 768px) {
  a.menu-active {
    font-weight: 600;
    position: relative;
    transition: all 0.25s ease-out;
  }

/*   a.menu-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #004f9e; Belparts blauw
    border-radius: 999px;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.25s ease-out;
  } */
}

@media (max-width: 1400px) {
  .u-section-padding,
  .u-container-padding {
    padding-left: var(--space-m);
    padding-right: var(--space-m);
  }
}

@media (max-width: 767px) {
  .hide-menuitem {
    display: block;
  }
  
  .u-section-padding,
  .u-container-padding {
    padding-left: var(--space-m);
    padding-right: var(--space-m);
  }
  
  .anchor-section {
    scroll-margin-top: 100px; /* mobile headerhoogte */
  }
}