/* --- Mega menu polish (Hummingbird + ps_mainmenu) --- */

/* Top bar links */
#top-menu.main-menu__tree {
  gap: 18px;
}

#top-menu .main-menu__tree__link {
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all .15s ease;
}

/* Hover / active */
#top-menu .main-menu__tree__item:hover > .main-menu__tree__link,
#top-menu .main-menu__tree__item.current > .main-menu__tree__link {
  font-weight: 800;
  background: rgba(0,0,0,.04);
}

/* Dropdown container */
#top-menu .menu-container.js-sub-menu {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
}

/* Make columns behave nicer than fixed 4 */
#top-menu ul[data-depth="1"].row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 18px;
}

/* Section titles (depth=1 items that contain children) */
#top-menu ul[data-depth="1"] > li > a.dropdown-item,
#top-menu ul[data-depth="1"] > li > a {
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

/* Links inside mega menu */
#top-menu ul[data-depth="2"] a.dropdown-item,
#top-menu ul[data-depth="2"] a {
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 10px;
  white-space: normal;
  transition: all .12s ease;
}

#top-menu ul[data-depth="2"] a.dropdown-item:hover,
#top-menu ul[data-depth="2"] a:hover {
  font-weight: 800;
  background: rgba(0,0,0,.04);
}

/* Prevent "wall of text" by limiting width a bit */
#top-menu .menu-container .container {
  max-width: 1180px;
}

/* Keep 1st level menu on a single row (desktop) */
@media (min-width: 1200px) {
  #top-menu.main-menu__tree {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;          /* was 18px */
  }

  #top-menu > li {
    flex: 0 0 auto;
  }

  #top-menu .main-menu__tree__link {
    white-space: nowrap;
    padding: 8px 10px;  /* was 10px 12px */
    font-size: 0.95rem; /* net iets kleiner */
    letter-spacing: .01em; /* was .02em */
  }
}
/* Force top menu items on one row (Hummingbird) */
@media (min-width: 1200px) {
  #top-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }

  #top-menu > li {
    flex: 0 0 auto !important;
  }

  #top-menu .main-menu__tree__link {
    white-space: nowrap !important;
    padding: 6px 8px !important;
    font-size: 0.90rem !important;
    letter-spacing: .01em !important;
  }
}

/* 2 kolommen binnen de lange mega-menu secties (desktop) */
@media (min-width: 1200px) {

  /* Gas haarden (id=16) + gas inzethaarden (id=87,125) */
  #category-16 ul.submenu[data-depth="2"],
  #category-87 ul.submenu[data-depth="2"],
  #category-125 ul.submenu[data-depth="2"]{
    display: block !important;            /* kill flex/grid */
    columns: 2 170px !important;          /* 2 kolommen, min kolombreedte */
    column-gap: 28px !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }

  #category-16 ul.submenu[data-depth="2"] > li,
  #category-87 ul.submenu[data-depth="2"] > li,
  #category-125 ul.submenu[data-depth="2"] > li{
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }

  #category-16 ul.submenu[data-depth="2"] a,
  #category-87 ul.submenu[data-depth="2"] a,
  #category-125 ul.submenu[data-depth="2"] a{
    display: inline-block !important;
    width: 100% !important;
  }
}
/* Force 2 columns ONLY inside the desktop mega menu, for the long sections */
.js-menu-desktop li#category-16 > ul.submenu[data-depth="2"],
.js-menu-desktop li#category-87 > ul.submenu[data-depth="2"],
.js-menu-desktop li#category-125 > ul.submenu[data-depth="2"]{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px 22px !important;
}

/* Make sure items can actually sit in the grid cells */
.js-menu-desktop li#category-16 > ul.submenu[data-depth="2"] > li,
.js-menu-desktop li#category-87 > ul.submenu[data-depth="2"] > li,
.js-menu-desktop li#category-125 > ul.submenu[data-depth="2"] > li{
  width: auto !important;
  float: none !important;
}

/* 2 kolommen enkel voor lange submenu’s (desktop) */
@media (min-width: 1200px) {

  /* Gas haarden (16) + inzethaarden (87,125) */
  body header .js-menu-desktop li#category-16 > ul.submenu[data-depth="2"],
  body header .js-menu-desktop li#category-87 > ul.submenu[data-depth="2"],
  body header .js-menu-desktop li#category-125 > ul.submenu[data-depth="2"]{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 4px !important;
  }

  body header .js-menu-desktop li#category-16 > ul.submenu[data-depth="2"] > li,
  body header .js-menu-desktop li#category-87 > ul.submenu[data-depth="2"] > li,
  body header .js-menu-desktop li#category-125 > ul.submenu[data-depth="2"] > li{
    width: auto !important;
    float: none !important;
    display: block !important;
  }

}

/* Default: depth-2 submenu is 1 column (desktop) */
@media (min-width: 1200px) {
  #top-menu ul.submenu[data-depth="2"]{
    display: block !important;
  }
}

/* Only these sections get 2 columns (desktop) */
@media (min-width: 1200px) {
  body header .js-menu-desktop li#category-16 > ul.submenu[data-depth="2"],
  body header .js-menu-desktop li#category-87 > ul.submenu[data-depth="2"],
  body header .js-menu-desktop li#category-125 > ul.submenu[data-depth="2"]{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px 22px !important;
  }

  body header .js-menu-desktop li#category-16 > ul.submenu[data-depth="2"] > li,
  body header .js-menu-desktop li#category-87 > ul.submenu[data-depth="2"] > li,
  body header .js-menu-desktop li#category-125 > ul.submenu[data-depth="2"] > li{
    width: auto !important;
    float: none !important;
    display: block !important;
  }
}

/* --- CMS page layout polish (Documentatie pages) --- */
body#cms .page-content h2,
body#cms .page-content h3{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

/* Maak lijsten strak */
body#cms .page-content ul{
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body#cms .page-content ul li{
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Links mooier + hover */
body#cms .page-content a{
  text-decoration: none;
  font-weight: 600;
}

body#cms .page-content a:hover{
  text-decoration: underline;
  font-weight: 800;
}

/* Als jouw content 4 kolommen probeert te zijn: force grid */
@media (min-width: 992px){
  body#cms .page-content .row{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
  }
  body#cms .page-content .row > [class*="col"]{
    width: auto !important;
    max-width: none !important;
  }
}
/* =========================
   DOCUMENTATIE (CMS pages)
   Targets only the 4 doc pages
   ========================= */

/* jouw doc pages zijn cms-id: 7, 8, 10, 11 */
body#cms.cms-id-7 #content.page-content.page-cms.rich-text,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* maak kolommen “cards” + consistente spacing */
body#cms.cms-id-7 #content.page-content.page-cms.rich-text .row,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text .row,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text .row,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text .row{
  --bs-gutter-x: 28px;
  --bs-gutter-y: 28px;
}

body#cms.cms-id-7 #content.page-content.page-cms.rich-text [class*="col"],
body#cms.cms-id-8 #content.page-content.page-cms.rich-text [class*="col"],
body#cms.cms-id-10 #content.page-content.page-cms.rich-text [class*="col"],
body#cms.cms-id-11 #content.page-content.page-cms.rich-text [class*="col"]{
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 18px 18px;
}

/* titels minder schreeuwerig + mooi afbreken */
body#cms.cms-id-7 #content.page-content.page-cms.rich-text h2,
body#cms.cms-id-7 #content.page-content.page-cms.rich-text h3,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text h2,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text h3,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text h2,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text h3,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text h2,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text h3{
  font-size: 1.15rem;
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* lijsten strak */
body#cms.cms-id-7 #content.page-content.page-cms.rich-text ul,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text ul,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text ul,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

body#cms.cms-id-7 #content.page-content.page-cms.rich-text li,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text li,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text li,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text li{
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* links: geen standaard “fel blauw”, wel duidelijke hover */
body#cms.cms-id-7 #content.page-content.page-cms.rich-text a,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text a,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text a,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text a{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

body#cms.cms-id-7 #content.page-content.page-cms.rich-text a:hover,
body#cms.cms-id-8 #content.page-content.page-cms.rich-text a:hover,
body#cms.cms-id-10 #content.page-content.page-cms.rich-text a:hover,
body#cms.cms-id-11 #content.page-content.page-cms.rich-text a:hover{
  text-decoration: underline;
  font-weight: 800;
}


/* --- Dropdown categorieblokken met zachte achtergrond --- */
#top-menu .menu-container .row > li {
  background: rgba(0,0,0,0.02);
  border-radius: 14px;
  padding: 16px 14px;
  transition: background .2s ease;
}

#top-menu .menu-container .row > li:hover {
  background: rgba(0,0,0,0.04);
}

/* Categorie-titels vetter en gescheiden */
#top-menu ul[data-depth="1"] > li > a.dropdown-item,
#top-menu ul[data-depth="1"] > li > a {
  font-weight: 800;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 4px;
}

/* Items binnenin */
#top-menu ul[data-depth="2"] a {
  font-weight: 500;
  padding: 4px 0;
  display: inline-block;
}

#top-menu ul[data-depth="2"] a:hover {
  font-weight: 700;
  text-decoration: underline;
}


/* --- FIX 2: Scrollbare dropdowns bij lange lijsten (zoals Gas hanghaarden) --- */
#top-menu .menu-container.js-sub-menu {
  max-height: 80vh;          /* laat menu max 80% van vensterhoogte nemen */
  overflow-y: auto !important; /* activeer scroll indien te lang */
  scrollbar-width: thin;      /* nette, dunne scrollbar */
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

#top-menu .menu-container.js-sub-menu::-webkit-scrollbar {
  width: 8px;
}

#top-menu .menu-container.js-sub-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
}

#top-menu .menu-container.js-sub-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,0.35);
}

/* =========================
   HANDLEIDINGEN (CMS) FIX
   - geen smalle kolommen
   - geen lege "spacer" kolommen
   - nette cards in responsive grid
   - headings niet letter-per-letter
   ========================= */

/* 1) Maak van de bootstrap row een grid */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text .row{
  display: none !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
}

/* 2) Negeer bootstrap col breedtes (col-sm-2 etc) */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text .row > [class*="col-"]{
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
  padding: 0 !important;
}

/* 3) Verberg lege kolommen die "offset" veroorzaken (de grote witruimte links) */
/* Modern (werkt in recente Safari/Chrome): */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text .row > [class*="col-"]:not(:has(*)){
  display: none !important;
}
/* Fallback als :has niet pakt (minder sterk, maar kan helpen): */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text .row > [class*="col-"]:empty{
  display: none !important;
}

/* 4) Maak elke kolom een nette kaart */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text .row > [class*="col-"]{
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 20px;
}

/* 5) Stop de "letter-per-letter" afbraak in titels */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text h2,
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text h3,
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text h4{
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  line-height: 1.15;
}

/* 6) Maak die ADIA-groep-headers visueel “label” en niet klikbaar */
body#cms.cms-id-7 section#content.page-content.page-cms.rich-text h4{
  font-size: .95rem;
  font-weight: 800;
  margin: 14px 0 8px;
  color: #444;
}

body#cms.cms-id-7 section#content.page-content.page-cms.rich-text h4 a{
  pointer-events: none !important;     /* niet klikbaar */
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}
/* =========================
   BRAND COLOR OVERRIDES
   ========================= */
/*:root{
  --brand-red: #B10F1B;          /* <-- pas dit aan */
  /*--brand-red-hover: #8F0C15;    /* iets donkerder voor hover 
}*/

/* 1) Algemene links */
a,
a:visited{
  color: var(--brand-red);
}

a:hover,
a:focus{
  color: var(--brand-red-hover);
}

/* 2) Bootstrap / theme "primary" */
.btn-primary,
.btn-primary:visited,
button.btn-primary,
input.btn-primary{
  background-color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
}

.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
}

/* 3) Kleine "tags"/badges/pills (meest voorkomende classes) */
.badge,
.tag,
.label,
.pill,
.product-flags li,
.product-flags .product-flag,
#products .product-miniature .highlighted-informations,
.product-miniature .highlighted-informations{
  color: var(--brand-red) !important;
}

.badge-primary,
.tag-primary,
.label-primary{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

/* 4) Menu hover / active (hummingbird + ps_mainmenu) */
#top-menu .main-menu__tree__item:hover > .main-menu__tree__link,
#top-menu .main-menu__tree__item.current > .main-menu__tree__link{
  color: var(--brand-red) !important;
}

/* 5) Icons die soms "link blue" aannemen */
a i,
a .material-icons{
  color: inherit;
}
:root{
  --bs-link-color: var(--brand-red);
  --bs-link-hover-color: var(--brand-red-hover);
}

/* =========================
   FORCE HEADER LINKS TO BRAND RED
   (login + cart + icons)
   ========================= */

/* Target the whole header top area + the two modules */
header .header-top a,
header .header-top a:visited,
header .header-top a span,
header .header-top a i,
header .header-top a .material-icons,
header .header-top .header-block__action-btn,
header .header-top .header-block__title,
header .header-top .header-block__icon,
header .header-top .cart-products-count,
header .header-top .blockcart a,
header .header-top .user-info a,
header .header-top #_desktop_user_info a,
header .header-top #_desktop_cart a,
header .header-top #_mobile_user_info a,
header .header-top #_mobile_cart a{
  color: var(--brand-red) !important;
}

/* Hover state */
header .header-top a:hover,
header .header-top a:focus,
header .header-top .header-block__action-btn:hover,
header .header-top .header-block__action-btn:focus{
  color: var(--brand-red-hover) !important;
}

/* If icons are SVGs, force fill too */
header .header-top a svg,
header .header-top a svg *{
  fill: currentColor !important;
}

/* ===== Header: tekst zwart, hover rood (login + cart) ===== */

/* kies je rood (pas aan indien gewenst) */
:root{
  --brand-red: #b00000;
  --brand-red-hover: #8f0000;
}

/* 1) Default: header links en tekst zwart */
header .header-top a,
header .header-top a:visited,
header .header-top .header-block__title{
  color: #111 !important;
}

/* 2) Icons standaard rood (als je dit NIET wil -> verwijder dit blok) */
header .header-top .header-block__icon,
header .header-top .material-icons,
header .header-top a svg,
header .header-top a svg *{
  color: var(--brand-red) !important;
  fill: currentColor !important;
}

/* 3) Hover/focus: de link rood (tekst + icon) */
header .header-top a:hover,
header .header-top a:focus{
  color: var(--brand-red-hover) !important;
}

/* 4) Badge/indicator rood (indien aanwezig) */
header .header-top .cart-products-count,
header .header-top .header-block__badge{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

/* =========================
   CATEGORY PAGE (listing)
   - full width (no left whitespace)
   - bigger category image
   - smaller product grid
   ========================= */

/* 1) Forceer 1-kolom layout op category pages */
body.page-category #left-column,
body.page-category .left-column,
body.page-category #navigation_column,
body.page-category .navigation-column {
  display: none !important;
}

/* Geef de content effectief de volle breedte */
body.page-category #content-wrapper,
body.page-category #center-column,
body.page-category #wrapper .content-wrapper,
body.page-category #main .row > .col-lg-9,
body.page-category #main .row > .col-md-9,
body.page-category #main .row > .col-sm-9 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* 2) Category cover/afbeelding veel groter en leesbaar */
body.page-category .block-category {
  margin-bottom: 22px;
}

body.page-category .block-category .category-cover,
body.page-category .block-category .category-cover img,
body.page-category .block-category img {
  max-height: none !important;
}

body.page-category .block-category .category-cover img,
body.page-category .block-category img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Optioneel: hero “breder dan container” (werkt goed als je site niet full-width aanvoelt) */
@media (min-width: 1200px) {
  body.page-category .block-category {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
  }
  body.page-category .block-category .category-cover img,
  body.page-category .block-category img {
    width: min(1600px, 100%) !important; /* groter, maar niet absurd */
    margin: 0 auto;
  }
}

/* 3) Producten compacter (meer items per rij + kleinere thumbs) */
@media (min-width: 1200px) {
  body.page-category #products .products > div,
  body.page-category #products .products .js-product {
    flex: 0 0 25% !important;     /* 4 per rij */
    max-width: 25% !important;
  }

  body.page-category .product-miniature .thumbnail-container img,
  body.page-category .product-miniature img {
    max-height: 220px !important; /* maak gerust 180–240 naar smaak */
    width: 100% !important;
    object-fit: contain !important;
  }

  body.page-category .product-title {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }
}
/* --- Grote tekening (category hero) boven productlijst --- */
.page-category #main .block-category {
  margin: 0 0 28px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.page-category #main .block-category .category-cover {
  text-align: center !important;
  margin-bottom: 28px !important;
}

.page-category #main .block-category img.category-hero__img {
  display: block;
  margin: 0 auto;
  width: min(1600px, 100%) !important;
  height: auto !important;
  object-fit: contain !important;
}
/* CATEGORIE TITEL visueel verbergen (SEO/a11y friendly) */
body#category h1.page-title-section {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body#category #js-product-list-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Category listing: short description zichtbaar */
body#category .product-miniature .product-description-short,
body#category .product-miniature .short-description,
body#category .product-miniature .product-short-description {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3;   /* aantal regels */
  overflow: hidden !important;
  margin-top: 6px;
  line-height: 1.35;
  opacity: 0.9;
}
body#category .product-miniature__shortdesc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 6px;
  line-height: 1.35;
  opacity: .9;
  font-size: 0.95rem;
}
body#category .product-miniature__infos__top{
  min-height: 88px; /* speel hier mee */
}
/* Mega-menu / submenu links: altijd zwart, ook na bezoeken */
.header-nav a:link,
.header-nav a:visited,
.header-menu a:link,
.header-menu a:visited,
#header a:link,
#header a:visited,
.main-menu a:link,
.main-menu a:visited,
.submenu a:link,
.submenu a:visited,
.dropdown-menu a:link,
.dropdown-menu a:visited {
  color: #000 !important;
}
/* Header: iets compacter + subtiele bottom line */
#header {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

#header .header-top,
#header .header-nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Main menu links: pill look */
#header .main-menu a,
#header .top-menu a,
#header .header-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #111;
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: none;        /* mocht het theme uppercase doen */
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

/* Hover: warm licht vlak + rood accent */
#header .main-menu a:hover,
#header .top-menu a:hover,
#header .header-menu a:hover {
  background: rgba(200,0,0,.08);
  color: var(--brand-red, #c00);
  transform: translateY(-1px);
}
/* Active/current menu item */
#header .main-menu li.current > a,
#header .top-menu li.current > a,
#header .header-menu li.current > a,
#header .main-menu a[aria-current="page"] {
  background: rgba(0,0,0,.06);
  color: #111;
}
/* Dropdown panel mooier */
#header .submenu,
#header .dropdown-menu {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  overflow: hidden;
}

/* Binnenkant iets meer padding */
#header .submenu .container,
#header .dropdown-menu .container,
#header .submenu,
#header .dropdown-menu {
  padding: 14px 16px;
}
/* Logo en menu op 1 baseline */
#header .header-top .row,
#header .header-nav .row {
  align-items: center;
}

/* Logo iets strakker */
#header .logo {
  display: block;
  max-height: 58px; /* pas aan naar smaak */
  width: auto;
}
@media (max-width: 991px){
  #header .main-menu a,
  #header .top-menu a,
  #header .header-menu a{
    padding: 8px 10px;
    font-weight: 600;
  }
}
/* =========================
   DEFAULT: alle mega menus blijven 4 kolommen (naast elkaar)
   ========================= */
@media (min-width: 1200px){
  #header .menu-container .row.row-cols-4.gy-3{
    display: flex !important;       /* terug naar bootstrap row */
    flex-wrap: wrap !important;
    align-items: flex-start;
    row-gap: 18px;
  }

  #header .menu-container .row.row-cols-4.gy-3 > li.category{
    width: 25% !important;          /* 4 kolommen */
    max-width: 25% !important;
    flex: 0 0 25% !important;
    margin: 0 !important;
  }
}

/* =========================
   MASONRY: alleen voor "Onderdelen per toestel"
   (bij jou is dat li#category-12 volgens je DevTools screenshot)
   ========================= */
@media (min-width: 1200px){
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    display: block !important;      /* columns hebben block nodig */
    column-count: 4;               /* blijft 4 kolommen */
    column-gap: 18px;
  }

  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category{
    display: inline-block;
    width: 100% !important;         /* item vult 1 column */
    max-width: 100% !important;
    flex: none !important;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 18px !important;
    vertical-align: top;
  }
}
@media (min-width: 1200px){

  /* 1) Maak de mega-menu panel breder (alleen onderdelen per toestel) */
  #header li#category-12 .menu-container{
    width: 96vw !important;
    max-width: 1600px !important;
  }
  #header li#category-12 .menu-container .container{
    width: 100% !important;
    max-width: none !important; /* bootstrap container max-width weg */
  }

  /* 2) Masonry: forceer echt 4 kolommen */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    display: block !important;
    column-count: 4 !important;
    column-gap: 18px;
  }

  /* 3) Items mogen niet “te breed” doen waardoor je maar 3 kolommen haalt */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category{
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    display: inline-block;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 18px !important;
  }
}
@media (min-width: 1200px){
  #header li#category-12 .js-sub-menu{
    width: 96vw !important;
    max-width: 1600px !important;
  }
}
@media (min-width: 1200px){

  /* Panel netjes centreren + breed genoeg */
  #header li#category-12 .menu-container{
    width: min(1600px, 96vw) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  /* Bootstrap container max-width weg binnen dit panel */
  #header li#category-12 .menu-container.container,
  #header li#category-12 .menu-container .container{
    width: 100% !important;
    max-width: none !important;
  }

  /* Masonry wrapper: écht 4 kolommen */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    display: block !important;            /* override .row flex */
    width: 100% !important;
    max-width: none !important;
    column-count: 4 !important;
    column-gap: 18px !important;
    column-fill: auto;
  }

  /* Belangrijk: bootstrap .row > * geeft padding -> maakt kolommen te breed */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category{
    padding: 0 !important;
    margin: 0 0 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    box-sizing: border-box !important;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    vertical-align: top;
    min-width: 0 !important;
  }

  /* Alles binnenin ook “fluid” zodat niets kolommen terugduwt naar 3 */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category > *{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
@media (min-width: 1200px){

  /* Dropdown krijgt een max hoogte zodat columns kunnen "vullen" */
  #header li#category-12 .menu-container{
    max-height: 78vh !important;
    overflow-y: auto !important;
  }

  /* Masonry wrapper: 4 kolommen + correct vullen */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    column-count: 4 !important;
    column-gap: 18px !important;
    column-fill: auto !important;   /* nu werkt auto wél, omdat hoogte begrensd is */
  }
}


/* =========================================================
   WS FIX (2026-01-16)
   Masonry mega-menu ONLY for "Onderdelen per toestel" (#category-12)
   - Forces 4 columns (no horizontal scroll)
   - Keeps 2-column subcategory lists inside each card
   - Works together with custom.fixed.js to calculate true masonry heights
   ========================================================= */
@media (min-width: 1200px){
  /* Stop the older column-count experiments from taking over */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    column-count: initial !important;
    column-gap: initial !important;
    column-fill: initial !important;
  }

  /* Let the panel scroll vertically when needed (never sideways) */
  #header li#category-12 .menu-container{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: 78vh !important;
  }

  /* True 4-col masonry grid (JS sets grid-row-end spans) */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 8px !important;            /* used by JS */
    grid-auto-flow: dense !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Each top-level category becomes a masonry item */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category{
    display: block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
    min-width: 0 !important;
    grid-row-end: span 1; /* fallback if JS doesn't run */
  }

  /* Make sure Bootstrap row gutters don't "steal" width */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category::before,
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category::after{
    content: none !important;
  }

  /* Keep the 2-column subcategory list inside each card */
  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category > ul.submenu[data-depth="2"]{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 16px !important;
    column-count: initial !important;
  }

  #header li#category-12 .menu-container .row.row-cols-4.gy-3 > li.category > ul.submenu[data-depth="2"] > li{
    margin: 0 !important;
    break-inside: avoid;
  }
}
.ws-home-tiles{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.ws-tile{
  position:relative;
  display:block;
  border-radius:16px;
  overflow:hidden;
  background:#eee;
  min-height:220px;
  box-shadow:0 12px 24px rgba(0,0,0,.08);
}
.ws-tile-title{
  position:absolute;
  left:16px;
  top:16px;
  z-index:2;
  background:rgba(255,255,255,.9);
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
}
.ws-tile-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ws-tile--accent{ background:#9b0f0f; }
.ws-tile--yellow{ background:#ffd200; }

@media (max-width: 992px){
  .ws-home-tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px){
  .ws-home-tiles{ grid-template-columns: 1fr; }
}
.ws-home-tiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin:24px 0;
}

.ws-tile{
  position:relative;
  display:block;
  border-radius:18px;
  overflow:hidden;
  background:#f2f2f2;        /* dezelfde rustige “grijs” */
  min-height:260px;
  box-shadow:0 14px 28px rgba(0,0,0,.08);
}

.ws-tile-title{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  background:rgba(255,255,255,.92);
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  color:#b10000;              /* jouw rood van de shop */
}

.ws-tile-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;         /* lijkt meer op “product/categorie collage” */
  object-position:center;
  padding:26px;
  display:block;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

@media (max-width: 992px){
  .ws-home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 576px){
  .ws-home-tiles{grid-template-columns:1fr;}
}
/* Home tiles */
#ws-home-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 40px 0 10px;
}

@media (max-width: 992px) {
  #ws-home-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
  #ws-home-tiles { grid-template-columns: 1fr; }
}

.ws-tile {
  position: relative;
  display: block;
  background: #f2f2f2;
  border-radius: 26px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
  text-decoration: none !important;
}

.ws-tile__img {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: grid;
  place-items: center;
}

.ws-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.12));
}

.ws-tile__label {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,.9);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  color: #b00000; /* zelfde rood als je theme accent */
  line-height: 1.1;
  max-width: calc(100% - 36px);
  z-index: 2;
}
/* =========================================================
   HUMMINGBIRD – CATEGORY LISTING: compact product cards
   (place at VERY END of custom.css)
   ========================================================= */

/* 1) 4 per row on desktop (override bootstrap col-xl-4) */
@media (min-width: 1200px){
  body.page-category #js-product-list .products > article.js-product-miniature{
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

/* 2) Less whitespace inside the card */
body.page-category article.product-miniature{
  padding: 8px !important;
}

body.page-category article.product-miniature .product-miniature__infos{
  padding: 10px 10px 12px !important;
}

/* Titles + meta smaller */
body.page-category article.product-miniature .product-title{
  font-size: 13px !important;
  line-height: 1.22 !important;
  margin: 6px 0 6px !important;
}

body.page-category article.product-miniature .product-price-and-shipping{
  font-size: 13px !important;
  margin-top: 6px !important;
}

/* 3) Image area smaller (Hummingbird uses picture/img.product-miniature__image) */
body.page-category article.product-miniature picture.product-miniature__image,
body.page-category article.product-miniature img.product-miniature__image,
body.page-category article.product-miniature img.card-img-top{
  display: block !important;
  width: 100% !important;
  height: 150px !important;          /* <-- maak 130–180 naar smaak */
  max-height: 150px !important;
  object-fit: contain !important;
}

/* If there is a wrapper imposing height, cap it too */
body.page-category article.product-miniature .product-miniature__image-container,
body.page-category article.product-miniature .thumbnail{
  max-height: 150px !important;
  overflow: hidden !important;
}

/* 4) Make the “actions” area smaller (qty + cart) */
body.page-category article.product-miniature .product-miniature__actions,
body.page-category article.product-miniature .product-miniature__infos__bottom{
  margin-top: 8px !important;
}

body.page-category article.product-miniature .btn,
body.page-category article.product-miniature .add-to-cart{
  padding: 6px 10px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

/* Optional: reduce badges a bit */
body.page-category article.product-miniature .product-flags .product-flag{
  font-size: 11px !important;
  padding: 3px 6px !important;
}
/* =========================================================
   CART (page-cart) – buttons + link colors
   Fixes:
   - Checkout button readable (white on red)
   - "Ga door met winkelen" + "Verwijder" in brand red (no blue)
   - Product names black (hover red)
   ========================================================= */

body.page-cart .btn-primary,
body.page-cart a.btn-primary,
body.page-cart button.btn-primary{
  color: #fff !important;
}

body.page-cart .btn-primary:hover,
body.page-cart a.btn-primary:hover,
body.page-cart button.btn-primary:hover{
  color: #fff !important;
}

/* Outline/secondary buttons (often used for "continue shopping") */
body.page-cart .btn-outline-primary,
body.page-cart a.btn-outline-primary,
body.page-cart button.btn-outline-primary{
  color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  background: transparent !important;
}

body.page-cart .btn-outline-primary:hover,
body.page-cart a.btn-outline-primary:hover,
body.page-cart button.btn-outline-primary:hover{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

/* "Verwijder" link (remove from cart) -> brand red */
body.page-cart a.remove-from-cart,
body.page-cart .remove-from-cart a,
body.page-cart a.cart-detailed-product-line__delete,
body.page-cart .cart-detailed-product-line__delete a{
  color: var(--brand-red) !important;
  text-decoration: none !important;
}

body.page-cart a.remove-from-cart:hover,
body.page-cart .remove-from-cart a:hover,
body.page-cart a.cart-detailed-product-line__delete:hover,
body.page-cart .cart-detailed-product-line__delete a:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;
}

/* Product names in cart + cross-sell: black (hover red) */
body.page-cart .cart-item .product-line-info a,
body.page-cart .cart-item .product-name a,
body.page-cart .cart-item a.label,
body.page-cart .product-title a{
  color: #111 !important;
}

body.page-cart .cart-item .product-line-info a:hover,
body.page-cart .cart-item .product-name a:hover,
body.page-cart .cart-item a.label:hover,
body.page-cart .product-title a:hover{
  color: var(--brand-red-hover) !important;
}
/* =========================================================
   HUMMINGBIRD / PRESTASHOP CART (page-cart) – color fixes
   - Checkout button text readable (white on red)
   - "Ga door met winkelen" + "Verwijder" brand red (no blue)
   - Product names black (hover red)
   Place at VERY END of custom.css
   ========================================================= */

/* 1) Checkout / Proceed buttons: force white text (incl. inner spans/icons) */
body.page-cart .cart-summary a.btn,
body.page-cart .cart-summary button.btn,
body.page-cart .cart-summary .btn-primary,
body.page-cart .cart-summary a.btn-primary,
body.page-cart .cart-summary button.btn-primary{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

body.page-cart .cart-summary a.btn *,
body.page-cart .cart-summary button.btn *,
body.page-cart .cart-summary .btn-primary *,
body.page-cart .cart-summary a.btn-primary *,
body.page-cart .cart-summary button.btn-primary *{
  color: #fff !important;
  fill: currentColor !important;
}

/* 2) Continue shopping button: make it brand-red outline (and invert on hover) */
body.page-cart .cart-detailed-actions a.btn,
body.page-cart .cart-detailed-actions button.btn{
  border-color: var(--brand-red) !important;
  color: var(--brand-red) !important;
  background: transparent !important;
}

body.page-cart .cart-detailed-actions a.btn:hover,
body.page-cart .cart-detailed-actions button.btn:hover{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

body.page-cart .cart-detailed-actions a.btn:hover *,
body.page-cart .cart-detailed-actions button.btn:hover *{
  color: #fff !important;
}

/* 3) Remove/delete links: force brand red (kills default blue) */
body.page-cart a.remove-from-cart,
body.page-cart .remove-from-cart a,
body.page-cart .cart-detailed-product-line__delete a,
body.page-cart a.cart-detailed-product-line__delete{
  color: var(--brand-red) !important;
  text-decoration: none !important;
}

body.page-cart a.remove-from-cart:hover,
body.page-cart .remove-from-cart a:hover,
body.page-cart .cart-detailed-product-line__delete a:hover,
body.page-cart a.cart-detailed-product-line__delete:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;
}

/* 4) Product names in cart + cross-sell: black (hover red) */
body.page-cart .cart-item a,
body.page-cart .cart-item .product-name a,
body.page-cart .cart-item .product-line-info a,
body.page-cart section.featured-products .product-title a{
  color: #111 !important;
}

body.page-cart .cart-item a:hover,
body.page-cart .cart-item .product-name a:hover,
body.page-cart .cart-item .product-line-info a:hover,
body.page-cart section.featured-products .product-title a:hover{
  color: var(--brand-red-hover) !important;
}

/* 5) Focus state (keyboard): keep it on-brand without turning things blue */
body.page-cart a:focus-visible,
body.page-cart button:focus-visible{
  outline: 2px solid var(--brand-red) !important;
  outline-offset: 2px !important;
}
/* CART: product title black + remove link underline control */

/* 1) Product name in cart: black (hover red) */
body.page-cart #main .cart-item .product-line-info a,
body.page-cart #main .cart-item .product-name a,
body.page-cart #main .cart-item a.label{
  color: #111 !important;
  text-decoration: none !important;
}

body.page-cart #main .cart-item .product-line-info a:hover,
body.page-cart #main .cart-item .product-name a:hover,
body.page-cart #main .cart-item a.label:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-red-hover) !important;
}

/* 2) "Verwijder": make it red and kill the blue underline */
body.page-cart #main a.remove-from-cart,
body.page-cart #main .remove-from-cart a,
body.page-cart #main .cart-detailed-product-line__delete a,
body.page-cart #main a.cart-detailed-product-line__delete{
  color: var(--brand-red) !important;
  text-decoration: none !important;
  text-decoration-color: var(--brand-red) !important;
}

body.page-cart #main a.remove-from-cart:hover,
body.page-cart #main .remove-from-cart a:hover,
body.page-cart #main .cart-detailed-product-line__delete a:hover,
body.page-cart #main a.cart-detailed-product-line__delete:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-red-hover) !important;
}
body.page-cart #main a.remove-from-cart,
body.page-cart #main .remove-from-cart a{
  border-bottom: 0 !important;
}
/* CART: cross-sell ("Populaire producten") titles black */
body.page-cart #main section.featured-products .product-title a,
body.page-cart #main .featured-products .product-title a,
body.page-cart #main .product-accessories .product-title a{
  color: #111 !important;
  text-decoration: none !important;
}

body.page-cart #main section.featured-products .product-title a:hover,
body.page-cart #main .featured-products .product-title a:hover,
body.page-cart #main .product-accessories .product-title a:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-red-hover) !important;
}
/* CART: force remove link to be red + kill ANY underline implementation */
body.page-cart #cart-overview a.remove-from-cart,
body.page-cart #cart-overview a.remove-from-cart:visited{
  color: var(--brand-red) !important;

  /* kill underline in all common implementations */
  text-decoration: none !important;
  text-decoration-color: var(--brand-red) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  background: none !important;
}

body.page-cart #cart-overview a.remove-from-cart:hover{
  color: var(--brand-red-hover) !important;
  text-decoration: underline !important;              /* als je wel underline op hover wil */
  text-decoration-color: var(--brand-red-hover) !important;

  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
/* Remove "Ecommerce software by PrestaShop" line */
footer#footer .copyright,
footer#footer .footer__copyright,
footer#footer p.copyright{
  display: none !important;
}
/* =========================================================
   FOOTER CLEAN (Hummingbird) — compact, premium, no gaps
   Plak DIT als allerlaatste in custom.css
   ========================================================= */

/* 0) Newsletter zone uit (als je 'm niet meer wil) */
footer#footer .footer__before,
footer#footer .footer_before,
footer#footer .email-subscription{
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 1) PrestaShop credit weg */
footer#footer p.copyright,
footer#footer .copyright{
  display: none !important;
}

/* 2) “Verborgen” wishlist placeholders nemen soms ruimte: weg ermee */
footer#footer .wishlist-add-to,
footer#footer .wishlist-delete,
footer#footer .wishlist-create,
footer#footer .wishlist-login,
footer#footer .wishlist-toast{
  display: none !important;
}

/* 3) Footer bottom row is bij jou leeg maar reserveert hoogte: uit */
footer#footer .footer_main_bottom,
footer#footer .footer_main_bottom.row,
footer#footer .footer__main__bottom{
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Footer zelf: compact + premium */
footer#footer{
  background: #111418 !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer#footer .footer_main,
footer#footer .footer__main{
  padding: 16px 0 12px !important;   /* <- maakt de zwarte band kleiner */
  margin: 0 !important;
}

/* 5) 3 kolommen écht over volle breedte (nu zijn het col-lg-3 => 75% gevuld) */
@media (min-width: 992px){
  footer#footer .footer_main_top.row{
    justify-content: space-between !important;
  }
  footer#footer .footer_main_top.row > .footer_block{
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}

/* 6) Typografie strakker */
footer#footer .footer_block_title,
footer#footer p.footer_block_title{
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

footer#footer .footer_block_content{
  font-size: 13px !important;
  line-height: 1.4 !important;
}

footer#footer .footer_block_content ul{
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

footer#footer .footer_block_content li{
  margin: 5px 0 !important;
}

/* 7) Links subtiel (niet “bulky”) */
footer#footer a{
  color: rgba(255,255,255,.72) !important;
  text-decoration: none !important;
}
footer#footer a:hover{
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255,255,255,.25) !important;
}

/* 8) Witte band onderaan fixen (komt vaak door wrapper padding/radius) */
main#wrapper,
main#wrapper.wrapper{
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Alleen bottom radius weg (anders zie je “wit afgerond” onder footer) */
main#wrapper.wrapper{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
/* =========================================================
   FOOTER FIX (Hummingbird) — sticky footer + compact layout
   ========================================================= */

/* 1) Sticky footer layout: footer altijd onderaan (geen wit vlak eronder) */
html, body{ height: 100%; }
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Prestashop structuur: header + main#wrapper + footer#footer */
main#wrapper{ flex: 1 0 auto; }
footer#footer{ flex: 0 0 auto; }

/* 2) Footer minder bulky */
footer#footer .footer_main,
footer#footer .footer__main{
  padding-top: 18px !important;
  padding-bottom: 12px !important;
}

footer#footer .footer_main_top,
footer#footer .footer__main__top{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) Kolommen iets verder uit elkaar (zonder extra hoogte) */
@media (min-width: 992px){
  footer#footer .footer_main_top.row,
  footer#footer .footer__main__top.row{
    column-gap: 72px;
  }
}

/* 4) Lijstjes compacter */
footer#footer .footer_block_content li,
footer#footer .footer__block__content li{
  margin: 5px 0 !important;
}

/* 5) Newsletter-band weg (kan ook via BO door module uit te haken) */
footer#footer .footer__before,
footer#footer .footer_before,
footer#footer .email-subscription{
  display: none !important;
}

/* 6) Prestashop copyright weg */
footer#footer p.copyright,
footer#footer .copyright{
  display: none !important;
}

/* 7) Wishlist “containers” weg als die in footer terechtkomen */
footer#footer .wishlist-add-to,
footer#footer .wishlist-delete,
footer#footer .wishlist-create,
footer#footer .wishlist-login,
footer#footer .wishlist-toast{
  display: none !important;
}

/* Reference in productcard mooier maken */
.product-miniature__ref{
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  opacity: .8;
}

.product-miniature__ref-label{
  font-weight: 600;
  margin-right: 6px;
}
.product-reference{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  opacity: .75;
}

.product-reference__label{
  font-weight: 600;
  margin-right: 4px;
  opacity: .85;
}

.product-reference__value{
  letter-spacing: .2px;
}
/* =========================
   CMS pages (Terms, Privacy, etc.)
   ========================= */

body.page-cms #wrapper {
  background: #f6f7f9;
}

body.page-cms #content-wrapper {
  padding: 48px 0;
}

body.page-cms #main .page-content,
body.page-cms #main .cms-page,
body.page-cms #main .page-cms {
  max-width: 980px;
  margin: 0 auto;
}

body.page-cms #main .page-content {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 36px 42px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

/* Title + breadcrumbs spacing */
body.page-cms #main h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

body.page-cms #main .breadcrumb {
  margin-bottom: 18px;
}

/* Typography */
body.page-cms #main .page-content,
body.page-cms #main .page-content p,
body.page-cms #main .page-content li {
  color: #1f2328;
  font-size: 16.5px;
  line-height: 1.75;
}

body.page-cms #main .page-content p {
  margin: 0 0 14px;
}

body.page-cms #main .page-content h2 {
  font-size: 20px;
  margin: 26px 0 10px;
  letter-spacing: -0.01em;
}

body.page-cms #main .page-content h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

body.page-cms #main .page-content ul,
body.page-cms #main .page-content ol {
  padding-left: 20px;
  margin: 10px 0 16px;
}

body.page-cms #main .page-content a {
  color: #b00000;
  text-decoration: none;
  border-bottom: 1px solid rgba(176,0,0,.35);
}

body.page-cms #main .page-content a:hover {
  border-bottom-color: rgba(176,0,0,.75);
}

/* Mobile */
@media (max-width: 768px) {
  body.page-cms #content-wrapper { padding: 22px 0; }
  body.page-cms #main .page-content { padding: 20px 18px; border-radius: 12px; }
  body.page-cms #main h1 { font-size: 26px; }
}

/* =========================================
   PRODUCT LISTING – DISCOUNT BADGE (no blue border, sexier look)
   Plak als ALLERLAATSTE in custom.css
   ========================================= */

/* Target: <li class="badge discount">-50%</li> */
#products .product-flags li.badge.discount,
#products .product-flags li.discount,
.product-miniature .product-flags li.badge.discount,
.product-miniature .product-flags li.discount,
.product-flags li.badge.discount,
.product-flags li.discount{
  /* kill the theme’s blue outline/border */
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  /* new look */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-red, #b00000) 0%, var(--brand-red-hover, #8f0000) 100%) !important;

  padding: 6px 10px !important;
  border-radius: 999px !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;

  /* subtle “pop” */
  box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
  transform: rotate(-3deg);
}

/* Little highlight for extra “shine” */
#products .product-flags li.badge.discount::before,
#products .product-flags li.discount::before,
.product-miniature .product-flags li.badge.discount::before,
.product-miniature .product-flags li.discount::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,.18);
  -webkit-mask: radial-gradient(circle at 25% 20%, #000 0 28%, transparent 45%);
          mask: radial-gradient(circle at 25% 20%, #000 0 28%, transparent 45%);
  pointer-events: none;
}

/* If the badge is inside a clickable area somewhere, prevent blue tap highlight */
#products .product-flags,
.product-miniature .product-flags{
  -webkit-tap-highlight-color: transparent;
}
/* =========================
   CART FOOTER – remove blue, keep Wellstraler look
   ========================= */

/* 1) Kill blue border/outline on discount badges/labels in cart footer */
.cart-footer .discount-percentage,
.cart-footer .product-discount,
.cart-footer .cart-summary .discount-percentage,
.cart-footer .cart-summary .product-discount,
.cart-footer .badge.discount,
.cart-footer .label.discount,
.cart-summary .discount-percentage,
.cart-summary .product-discount,
.cart-summary .badge.discount,
.cart-summary .label.discount{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* 2) Make discount badge look “sexier” (same vibe as product grid) */
.cart-footer .discount-percentage,
.cart-footer .product-discount,
.cart-summary .discount-percentage,
.cart-summary .product-discount{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-red, #b00000) 0%, var(--brand-red-hover, #8f0000) 100%) !important;

  padding: 6px 10px !important;
  border-radius: 999px !important;

  font-weight: 900 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;

  box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
  transform: rotate(-3deg);
}

/* 3) Replace blue focus ring in cart footer with a subtle red one */
.cart-footer a:focus,
.cart-footer button:focus,
.cart-footer input:focus,
.cart-summary a:focus,
.cart-summary button:focus,
.cart-summary input:focus{
  outline: none !important;
  box-shadow: 0 0 0 .2rem rgba(176, 0, 0, .18) !important;
}
/* =========================================
   ADD-TO-CART MODAL (blockcart) – remove blue button
   ========================================= */

//* =========================================================
   WELLSTRALER — NO BLUE (blockcart modal + cart footer)
   Doel:
   - nergens nog "theme blauw" (knoppen/randen/focus)
   - alles in jouw brand rood (outline of solid)
   Plak DIT als allerlaatste in custom.css
   ========================================================= */

:root{
  --brand-red: #b00000;
  --brand-red-hover: #8f0000;
  --ws-ring: rgba(176, 0, 0, .18);

  /* Bootstrap/Theme kleur-variables (helpt bij themes die via CSS vars tekenen) */
  --bs-primary: var(--brand-red);
  --bs-link-color: var(--brand-red);
  --bs-link-hover-color: var(--brand-red-hover);
  --bs-focus-ring-color: var(--ws-ring);
  --bs-primary-rgb: 176, 0, 0;
}

/* Form elements (checkbox/radio slider) ook rood i.p.v. browser-blauw */
input[type="checkbox"],
input[type="radio"]{
  accent-color: var(--brand-red);
}

/* Kill any default blue focus glow; replace by subtle red ring */
:where(a, button, input, select, textarea, .btn, .form-control, .form-select, .form-check-input):focus,
:where(a, button, input, select, textarea, .btn, .form-control, .form-select, .form-check-input):focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 .2rem var(--ws-ring) !important;
  border-color: var(--brand-red) !important;
}

/* ---------------------------------------------------------
   1) BLOCKCART MODAL (popup na "toegevoegd aan winkelwagen")
   --------------------------------------------------------- */

/* Base: force every footer button to brand red (=> no blue ever) */
#blockcart-modal .modal-footer .btn,
#blockcart-modal .modal-footer a.btn,
#blockcart-modal .modal-footer button.btn{
  background: var(--brand-red) !important;
  background-image: none !important;
  border: 2px solid var(--brand-red) !important;
  color: #fff !important;
  box-shadow: none !important;

  border-radius: 14px !important;
  font-weight: 700 !important;

  /* Bootstrap 5 button vars fallback (some themes paint via vars) */
  --bs-btn-bg: var(--brand-red);
  --bs-btn-border-color: var(--brand-red);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--brand-red-hover);
  --bs-btn-hover-border-color: var(--brand-red-hover);
  --bs-btn-hover-color: #fff;
}

/* Sommige themes tekenen de knopkleur via ::before/::after overlays -> weg ermee */
#blockcart-modal .modal-footer .btn::before,
#blockcart-modal .modal-footer .btn::after,
#blockcart-modal .modal-footer a.btn::before,
#blockcart-modal .modal-footer a.btn::after,
#blockcart-modal .modal-footer button.btn::before,
#blockcart-modal .modal-footer button.btn::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Als de "continue shopping" knop geen .btn-primary is, maak die outline (chiquer) */
#blockcart-modal .modal-footer .btn:not(.btn-primary):not(.btn-danger):not(.btn-success),
#blockcart-modal .modal-footer a.btn:not(.btn-primary):not(.btn-danger):not(.btn-success),
#blockcart-modal .modal-footer button.btn:not(.btn-primary):not(.btn-danger):not(.btn-success){
  background: #fff !important;
  color: var(--brand-red) !important;
}

#blockcart-modal .modal-footer .btn:not(.btn-primary):not(.btn-danger):not(.btn-success):hover,
#blockcart-modal .modal-footer a.btn:not(.btn-primary):not(.btn-danger):not(.btn-success):hover,
#blockcart-modal .modal-footer button.btn:not(.btn-primary):not(.btn-danger):not(.btn-success):hover{
  background: var(--brand-red) !important;
  color: #fff !important;
  border-color: var(--brand-red) !important;
}

/* ---------------------------------------------------------
   2) CART PAGE (footer / actions) — geen blauw in knoppen
   --------------------------------------------------------- */

/* Remove any theme overlays that could repaint buttons */
body.page-cart .cart-summary .btn::before,
body.page-cart .cart-summary .btn::after,
body.page-cart .cart-detailed-actions .btn::before,
body.page-cart .cart-detailed-actions .btn::after,
body.page-cart .cart-footer .btn::before,
body.page-cart .cart-footer .btn::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Proceed/checkout style: solid brand */
body.page-cart .cart-summary .btn,
body.page-cart .cart-footer .btn.btn-primary{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.page-cart .cart-summary .btn:hover,
body.page-cart .cart-footer .btn.btn-primary:hover{
  background: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
}

/* Continue shopping style: outline brand */
body.page-cart .cart-detailed-actions .btn{
  background: #fff !important;
  border: 2px solid var(--brand-red) !important;
  color: var(--brand-red) !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.page-cart .cart-detailed-actions .btn:hover{
  background: var(--brand-red) !important;
  color: #fff !important;
  border-color: var(--brand-red) !important;
}
/* =========================================================
   WELLSTRALER — Mega menu hover: rood i.p.v. grijs/blauw
   (Documentatie-stijl overal)
   ========================================================= */

/* Top-level menu items (optioneel maar meestal gewenst) */
#top-menu .main-menu__tree__link:hover,
#top-menu > li:hover > a{
  color: var(--brand-red, #b00000) !important;
  background: rgba(176,0,0,.08) !important;
}

/* Dropdown / mega-menu links (dit is de echte fix voor je "Onderdelen" lijst) */
.js-menu-desktop #top-menu ul.submenu a:hover,
.js-menu-desktop #top-menu ul.submenu a:focus,
#top-menu ul[data-depth="2"] a.dropdown-item:hover,
#top-menu ul[data-depth="2"] a:hover,
#top-menu ul[data-depth="3"] a.dropdown-item:hover,
#top-menu ul[data-depth="3"] a:hover{
  background: rgba(176,0,0,.10) !important;   /* licht rood vlak */
  color: var(--brand-red, #b00000) !important; /* rood tekst */
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Actieve/gekozen item (als theme een active class gebruikt) */
.js-menu-desktop #top-menu ul.submenu a.active,
#top-menu ul.submenu a[aria-current="page"]{
  background: rgba(176,0,0,.14) !important;
  color: var(--brand-red, #b00000) !important;
  font-weight: 900 !important;
}

/* Geen blauwe focus ring op menu-items */
.js-menu-desktop #top-menu ul.submenu a:focus-visible,
#top-menu ul.submenu a:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 .2rem rgba(176, 0, 0, .18) !important;
}
/* =========================================================
   WELLSTRALER — Menu: geen "sticky" donkergrijs na klik
   (hover blijft rood, maar focus/active blijft clean)
   ========================================================= */

/* In dropdown/mega menu: haal achtergrond weg op LI-states (sommige themes kleuren het LI i.p.v. de A) */
.js-menu-desktop #top-menu .menu-container .row > li,
.js-menu-desktop #top-menu .menu-container .row > li:focus,
.js-menu-desktop #top-menu .menu-container .row > li:focus-within,
.js-menu-desktop #top-menu .menu-container .row > li.active,
.js-menu-desktop #top-menu .menu-container .row > li.is-active{
  background: transparent !important;
  box-shadow: none !important;
}

/* In dropdown/mega menu: maak "clicked/focused/active" links terug neutraal */
.js-menu-desktop #top-menu ul.submenu a:focus,
.js-menu-desktop #top-menu ul.submenu a:focus-visible,
.js-menu-desktop #top-menu ul.submenu a:active,
.js-menu-desktop #top-menu ul.submenu a.active,
.js-menu-desktop #top-menu ul.submenu li.active > a,
.js-menu-desktop #top-menu ul.submenu a[aria-current="page"],
#top-menu ul[data-depth="2"] a:focus,
#top-menu ul[data-depth="2"] a:focus-visible,
#top-menu ul[data-depth="2"] a:active,
#top-menu ul[data-depth="2"] a.active,
#top-menu ul[data-depth="2"] li.active > a{
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* (optioneel) voorkom paarse visited links in menu */
.js-menu-desktop #top-menu ul.submenu a:visited,
#top-menu ul[data-depth="2"] a:visited{
  color: inherit !important;
}
/* =========================================================
   MENU – geen "sticky" grijs na klik in mega-menu dropdown
   (active/current/focus = transparant, hover = rood)
   ========================================================= */

/* 1) Kill the grey "current" background specifically inside dropdown panels */
#header #top-menu ul.submenu li.current > a,
#header #top-menu ul.submenu a[aria-current="page"],
#header #top-menu ul.submenu a.current,
#header #top-menu ul.submenu a.active,
#header #top-menu ul.submenu a:active,
#header #top-menu ul.submenu a:focus,
#header #top-menu ul.submenu a:focus-visible,
#header #top-menu ul.submenu .dropdown-item:active,
#header #top-menu ul.submenu .dropdown-item:focus,
#header #top-menu ul.submenu .dropdown-item:focus-visible,
#header #top-menu ul.submenu .dropdown-item.active,
#header #top-menu ul.submenu .dropdown-item[aria-current="page"]{
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

/* 2) Sommige themes kleuren het LI via focus-within */
#header #top-menu ul.submenu li:focus-within{
  background: transparent !important;
}

/* 3) Hover blijft jouw gewenste rood-stijl (zet dit erbij voor zekerheid) */
#header #top-menu ul.submenu a:hover,
#header #top-menu ul.submenu .dropdown-item:hover{
  background: rgba(176,0,0,.10) !important;
  color: var(--brand-red, #b00000) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
/* =========================================================
   MENU – geen "sticky" grijs na klik in mega-menu dropdown
   (active/current/focus = transparant, hover = rood)
   ========================================================= */

/* 1) Kill the grey "current" background specifically inside dropdown panels */
#header #top-menu ul.submenu li.current > a,
#header #top-menu ul.submenu a[aria-current="page"],
#header #top-menu ul.submenu a.current,
#header #top-menu ul.submenu a.active,
#header #top-menu ul.submenu a:active,
#header #top-menu ul.submenu a:focus,
#header #top-menu ul.submenu a:focus-visible,
#header #top-menu ul.submenu .dropdown-item:active,
#header #top-menu ul.submenu .dropdown-item:focus,
#header #top-menu ul.submenu .dropdown-item:focus-visible,
#header #top-menu ul.submenu .dropdown-item.active,
#header #top-menu ul.submenu .dropdown-item[aria-current="page"]{
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

/* 2) Sommige themes kleuren het LI via focus-within */
#header #top-menu ul.submenu li:focus-within{
  background: transparent !important;
}

/* 3) Hover blijft jouw gewenste rood-stijl (zet dit erbij voor zekerheid) */
#header #top-menu ul.submenu a:hover,
#header #top-menu ul.submenu .dropdown-item:hover{
  background: rgba(176,0,0,.10) !important;
  color: var(--brand-red, #b00000) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
/* =========================================================
   HEADER SEARCH – naast winkelwagen blijven (desktop)
   ========================================================= */

@media (min-width: 992px){

  /* Zorg dat de rechter header-blok niet wrapt */
  #header .header-nav .right-nav{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px;
    min-width: 0;
  }

  /* Search widget mag NIET 100% van de rij nemen */
  #header .header-nav #search_widget,
  #header .header-nav .right-nav #search_widget{
    flex: 0 1 320px !important;     /* pas 320 aan indien je breder/smaller wil */
    width: 320px !important;
    min-width: 240px !important;
    margin-left: 12px !important;
  }

  #header .header-nav #search_widget form,
  #header .header-nav .right-nav #search_widget form{
    width: 100% !important;
  }

  #header .header-nav #search_widget input[type="text"],
  #header .header-nav #search_widget input{
    width: 100% !important;
    max-width: none !important;
  }

  /* Cart mag niet “duwen” door flex */
  #header .header-nav #_desktop_cart,
  #header .header-nav .right-nav #_desktop_cart{
    flex: 0 0 auto !important;
  }
}
/* =========================================================
   WELLSTRALER — GLOBAL "NO BLUE" THEME OVERRIDES
   Doel: alle standaard blauw (primary/focus/info) => brand rood
   Plaats DIT als ALLERLAATSTE in custom.css
   ========================================================= */

/* 1) Single source of truth for your accent */
:root{
  --brand-red: #b00000;
  --brand-red-hover: #8f0000;
  --ws-focus-ring: rgba(176, 0, 0, .18);

  /* Bootstrap 5 variables (veel modules gebruiken dit) */
  --bs-primary: var(--brand-red);
  --bs-primary-rgb: 176, 0, 0;
  --bs-link-color: var(--brand-red);
  --bs-link-hover-color: var(--brand-red-hover);
  --bs-focus-ring-color: var(--ws-focus-ring);

  /* Extra fallbacks voor themes die eigen vars gebruiken */
  --primary: var(--brand-red);
  --primary-color: var(--brand-red);
  --theme-primary: var(--brand-red);
  --hummingbird-primary: var(--brand-red);
  accent-color: var(--brand-red);
}

/* 2) Buttons: primary + outline + info (vaak "blauw") */
.btn-primary,
a.btn-primary,
button.btn-primary,
input.btn-primary,
input[type="submit"].btn-primary{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
  background-image: none !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible{
  background: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
  color: #fff !important;
}

.btn-outline-primary,
a.btn-outline-primary,
button.btn-outline-primary{
  color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
button.btn-outline-primary:hover{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}

/* Sommige flows gebruiken "info" knoppen die standaard blauw zijn */
.btn-info,
a.btn-info,
button.btn-info,
.btn-outline-info,
a.btn-outline-info,
button.btn-outline-info{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
  background-image: none !important;
}

.btn-info:hover,
a.btn-info:hover,
button.btn-info:hover,
.btn-outline-info:hover,
a.btn-outline-info:hover,
button.btn-outline-info:hover{
  background: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
  color: #fff !important;
}

/* 3) Inputs & selects: kill blue border/ring on focus (account forms, checkout, search, etc.) */
input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus,
.custom-select:focus{
  border-color: var(--brand-red) !important;
  outline: none !important;
  box-shadow: 0 0 0 .2rem var(--ws-focus-ring) !important;
}

/* 4) Checkboxes/radios (BS5 + BS4 fallbacks) */
.form-check-input:checked{
  background-color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
}
.form-check-input:focus{
  border-color: var(--brand-red) !important;
  box-shadow: 0 0 0 .2rem var(--ws-focus-ring) !important;
}

/* BS4 custom controls fallback */
.custom-control-input:checked ~ .custom-control-label::before{
  background-color: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
}
.custom-control-input:focus ~ .custom-control-label::before{
  box-shadow: 0 0 0 .2rem var(--ws-focus-ring) !important;
  border-color: var(--brand-red) !important;
}

/* 5) Pagination / pills / tabs (vaak blauw) */
.page-link{
  color: var(--brand-red) !important;
}
.page-item.active .page-link{
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
}
.page-link:focus{
  box-shadow: 0 0 0 .2rem var(--ws-focus-ring) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link{
  background: var(--brand-red) !important;
  color: #fff !important;
}

/* 6) Universele focus voor knoppen/links: geen fel blauw, wel subtiel rood */
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 .2rem var(--ws-focus-ring) !important;
}
/* =========================================================
   PRODUCT CARDS — title black (avoid "too much red")
   Reason: global link color is brand red.
   ========================================================= */
#products .product-miniature .product-title a,
#products .product-miniature .product-title a:visited,
.product-miniature .product-title a,
.product-miniature .product-title a:visited,
.product-miniature .product-miniature__title a,
.product-miniature .product-miniature__title a:visited{
  color: #111 !important;
  text-decoration: none !important;
}

#products .product-miniature .product-title a:hover,
.product-miniature .product-title a:hover,
.product-miniature .product-miniature__title a:hover{
  color: var(--brand-red-hover, #8f0000) !important;
  text-decoration: none !important;
}
/* =========================================================
   PRODUCT LISTING – TITLES BLACK (keep hover red)
   Fix: titles are .product-miniature__infos > a
   Place this block as ABSOLUTE LAST in custom.css
   ========================================================= */
#products article.product-miniature .product-miniature__infos > a,
#products article.product-miniature .product-miniature__infos > a:visited,
body.page-category article.product-miniature .product-miniature__infos > a,
body.page-category article.product-miniature .product-miniature__infos > a:visited,
#products article.product-miniature .product-miniature__infos__top a,
#products article.product-miniature .product-miniature__infos__top a:visited,
body.page-category article.product-miniature .product-miniature__infos__top a,
body.page-category article.product-miniature .product-miniature__infos__top a:visited{
  color: #111 !important;
  text-decoration: none !important;
}

/* Hover stays on-brand */
#products article.product-miniature .product-miniature__infos > a:hover,
body.page-category article.product-miniature .product-miniature__infos > a:hover,
#products article.product-miniature .product-miniature__infos__top a:hover,
body.page-category article.product-miniature .product-miniature__infos__top a:hover{
  color: var(--brand-red-hover, #8f0000) !important;
}
/* =========================================================
   OUT OF STOCK badge — always readable (white text)
   ========================================================= */

.product-flags li.badge.out_of_stock,
.product-flags li.out_of_stock{
  color: #fff !important;
  background: #333 !important;      /* contrasterend, niet "theme blauw" */
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* =========================================================
   PDP thumbnails — remove BLUE border (theme) + use brand red
   Fix: #product_images + .thumbnails_list + li.thumbnail.is-thumb-container
   ========================================================= */

#product_images ul.thumbnails_list li.thumbnail,
#product_images ul.thumbnails_list li.is-thumb-container,
#product_images ul.thumbnails_list li.thumbnail picture,
#product_images ul.thumbnails_list li.thumbnail img{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Also remove any focus styling applied to inner elements */
#product_images ul.thumbnails_list li.thumbnail:focus,
#product_images ul.thumbnails_list li.thumbnail:focus-within,
#product_images ul.thumbnails_list li.thumbnail *:focus,
#product_images ul.thumbnails_list li.thumbnail *:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Selected thumb (theme uses .active / aria-current / selected img class) */
#product_images ul.thumbnails_list li.thumbnail.active,
#product_images ul.thumbnails_list li.is-thumb-container.active,
#product_images ul.thumbnails_list li[aria-current="true"]{
  border: 2px solid var(--brand-red, #b00000) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 0 3px rgba(176, 0, 0, .14) !important;
}

/* If the theme draws it on the image itself */
#product_images ul.thumbnails_list img.js-thumb_selected,
#product_images ul.thumbnails_list li.thumbnail.active img{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
/* =========================================================
   HEADER dropdown menus (account, language, etc.)
   Default: black text
   Hover: brand red
   ========================================================= */

#header .dropdown-menu .dropdown-item,
#header .dropdown-menu .dropdown-item:visited{
  color: #111 !important;
  text-decoration: none !important;
}

/* Icons mee zwart (font-awesome / svg / bootstrap icons) */
#header .dropdown-menu .dropdown-item i,
#header .dropdown-menu .dropdown-item svg{
  color: #111 !important;
}

/* Hover/focus: rood accent zoals jullie theme */
#header .dropdown-menu .dropdown-item:hover,
#header .dropdown-menu .dropdown-item:focus{
  color: var(--brand-red, #b00000) !important;
  background: rgba(176, 0, 0, .08) !important;
}

/* Active (klik) niet felblauw/rood laten “plakken” */
#header .dropdown-menu .dropdown-item:active,
#header .dropdown-menu .dropdown-item.active{
  color: var(--brand-red, #b00000) !important;
  background: rgba(176, 0, 0, .12) !important;
}
/* =========================================================
   Subcategories grid — hover zoals navigatie (clean + sexy)
   ========================================================= */

/* maak de hele tegel klikbaar + animatie */
#subcategory .subcategory_wrapper > a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none !important;
  color: #111 !important;
}

/* tekst standaard zwart */
#subcategory .subcategory_wrapper .subcategory__name{
  margin: 0;
  color: #111 !important;
  font-weight: 700;
}

/* hover: licht rood vlak + rood accent */
#subcategory .subcategory_wrapper > a:hover{
  background: rgba(176,0,0,.06) !important;
  border-color: rgba(176,0,0,.25) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

#subcategory .subcategory_wrapper > a:hover .subcategory__name{
  color: var(--brand-red, #b00000) !important;
}

/* focus (keyboard) ook rood, nooit blauw */
#subcategory .subcategory_wrapper > a:focus,
#subcategory .subcategory_wrapper > a:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 .2rem rgba(176,0,0,.18) !important;
  border-color: var(--brand-red, #b00000) !important;
}
/* =========================================================
   HEADER — search ("Doorzoek onze catalogus") naast cart/user (desktop)
   ========================================================= */
@media (min-width: 992px){

  /* De rechterkant van de header moet 1 flex-rij blijven */
  #header .header-top-right,
  #header .header__top__right,
  #header .header-top .container > .row{
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Zorg dat items in die rij niet gaan stretchen */
  #header .header-top-right > *,
  #header .header__top__right > *{
    flex: 0 0 auto !important;
  }

  /* Forceer search widget naar dezelfde rij + vaste breedte */
  #header #search_widget,
  #header #_desktop_search_widget,
  #header #_desktop_search,
  #header .search-widget,
  #header .search_products{
    order: 999 !important;              /* helemaal rechts */
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 380px !important;
    margin-left: 12px !important;
  }

  /* Input netjes 100% binnen die breedte */
  #header #search_widget form,
  #header #_desktop_search_widget form,
  #header #_desktop_search form,
  #header .search-widget form{
    width: 100% !important;
  }

  #header #search_widget input[type="text"],
  #header #_desktop_search_widget input[type="text"],
  #header #_desktop_search input[type="text"],
  #header .search-widget input[type="text"]{
    width: 100% !important;
  }
}
/* =========================================================
   HEADER (md+) — search naast cart/user houden
   Werkt op Hummingbird: #_desktop_cart + #_desktop_search
   ========================================================= */
@media (min-width: 768px){

  /* Zorg dat de header rij niet wrapt */
  #header .header-top-desktop .row,
  #header .header-top .row{
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Cart & search in dezelfde rij, search direct ernaast */
  #header #_desktop_cart{ order: 20 !important; }
  #header #_desktop_search{
    order: 30 !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 280px !important;     /* pas aan naar 240/300 indien nodig */
    width: 280px !important;
    max-width: 320px !important;
    margin-left: 12px !important;
  }

  /* search widget zelf netjes op 100% */
  #header #_desktop_search #search_widget,
  #header #_desktop_search #search_widget form{
    width: 100% !important;
  }

  #header #_desktop_search #search_widget input[type="search"],
  #header #_desktop_search #search_widget input[type="text"]{
    width: 100% !important;
  }
}
/* =========================================================
   FIX: search naast cart in header-top (Hummingbird)
   - header-top-desktop IS de row
   - #_desktop_search heeft ms-auto die we overrulen
   ========================================================= */
@media (min-width: 768px){

  /* header-top-desktop is zelf de bootstrap row => nowrap */
  header .header-top-desktop.row{
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* de rechter kolom moet een flex-rij zijn (anders stackt het) */
  header .header-top__right{
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* volgorde & geen rare autos */
  header .header-top__right #_desktop_language_selector{ order: 10 !important; }
  header .header-top__right #_desktop_user_info{        order: 20 !important; }
  header .header-top__right #_desktop_cart{             order: 30 !important; }
  header .header-top__right #_desktop_search{
    order: 40 !important;

    /* ms-auto (margin-left:auto) neutraliseren */
    margin-left: 12px !important;
    margin-right: 0 !important;

    /* vaste breedte zodat hij niet onder springt */
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 360px !important;

    display: flex !important;
    align-items: center !important;
  }

  /* input vult zijn blok */
  header .header-top__right #_desktop_search #search_widget,
  header .header-top__right #_desktop_search #search_widget form{
    width: 100% !important;
  }
  header .header-top__right #_desktop_search #search_widget input[type="search"],
  header .header-top__right #_desktop_search #search_widget input[type="text"]{
    width: 100% !important;
  }
}
/* Subcategory tiles hover zoals navigatie */
.subcategories .subcategory_wrapper > a.subcategory{
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease !important;
}

.subcategories .subcategory_wrapper > a.subcategory:hover{
  background: rgba(176,0,0,.06) !important;
  border-color: rgba(176,0,0,.25) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.10) !important;
  transform: translateY(-2px) !important;
}

.subcategories .subcategory_wrapper > a.subcategory:hover .subcategory__name{
  color: var(--brand-red, #b00000) !important;
}

/* geen “grijze sticky” na klik (focus) */
.subcategories .subcategory_wrapper > a.subcategory:focus,
.subcategories .subcategory_wrapper > a.subcategory:focus-visible{
  outline: none !important;
  background: #fff !important;
  box-shadow: 0 0 0 .2rem rgba(176,0,0,.18) !important;
  border-color: rgba(176,0,0,.25) !important;
}

/* =========================================================
   WELLSTRALER PATCH v2 (2026-01-22)
   Fixes:
   - menu current/active nooit grijs "blijvend"
   - hover voor subcategory tiles (#subcategories) + focus-within
   - search blijft naast cart vanaf sm (>=576px)
   - account dropdown items: default zwart, hover rood
   - geen blauwe thumbnail/alerts/focus
   ========================================================= */

/* Brand fallback */
:root{
  --ws-red: var(--brand-red, #b00000);
  --ws-red-hover: var(--brand-red-hover, #8f0000);
}

/* 1) Geen "blijvende" grijze active/current states in menu’s */
#top-menu .main-menu__tree__item.current > .main-menu__tree__link,
#header .main-menu li.current > a,
#header .top-menu li.current > a,
#header .header-menu li.current > a,
#header .main-menu a[aria-current="page"],
#header .submenu li.current > a,
#header .submenu a.current,
#header .dropdown-menu .dropdown-item.active,
#header .dropdown-menu .dropdown-item:active,
#header .dropdown-menu .dropdown-item:focus,
#header .dropdown-menu .dropdown-item:focus-visible{
  background: transparent !important;
  box-shadow: none !important;
}

/* current: enkel rood tekstaccent (geen vlak) */
#top-menu .main-menu__tree__item.current > .main-menu__tree__link,
#header .main-menu a[aria-current="page"]{
  color: var(--ws-red) !important;
}

/* 2) Account dropdown: default zwart, hover rood (iconen mogen rood blijven) */
#header .dropdown-menu .dropdown-item{
  color: #111 !important;
  transition: color .12s ease, background-color .12s ease;
}
#header .dropdown-menu .dropdown-item:hover,
#header .dropdown-menu .dropdown-item:focus{
  color: var(--ws-red) !important;
  background: rgba(176,0,0,.05) !important;
}
#header .dropdown-menu .dropdown-item i,
#header .dropdown-menu .dropdown-item svg{
  color: var(--ws-red) !important;
}

/* 3) Subcategory tiles (Onderdelen per toestel): hover mechanisme zoals menu */
body.page-category #subcategories .subcategory_wrapper,
body.page-category .subcategories .subcategory_wrapper{
  border: 1px solid rgba(0,0,0,.14) !important; /* vangnet: als border op wrapper zit */
  border-radius: 12px !important;
  background: #fff !important;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

body.page-category #subcategories .subcategory_wrapper:hover,
body.page-category #subcategories .subcategory_wrapper:focus-within,
body.page-category .subcategories .subcategory_wrapper:hover,
body.page-category .subcategories .subcategory_wrapper:focus-within{
  background: rgba(176,0,0,.05) !important;
  border-color: rgba(176,0,0,.28) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.10) !important;
  transform: translateY(-1px);
}

/* naam mee rood op hover (default zwart) */
body.page-category #subcategories .subcategory__name,
body.page-category .subcategories .subcategory__name{
  color: #111 !important;
  font-weight: 600;
  transition: color .15s ease;
}
body.page-category #subcategories .subcategory_wrapper:hover .subcategory__name,
body.page-category #subcategories .subcategory_wrapper:focus-within .subcategory__name,
body.page-category .subcategories .subcategory_wrapper:hover .subcategory__name,
body.page-category .subcategories .subcategory_wrapper:focus-within .subcategory__name{
  color: var(--ws-red) !important;
  font-weight: 800;
}

/* links in tiles: geen link-styling */
body.page-category #subcategories a,
body.page-category .subcategories a{
  text-decoration: none !important;
  color: inherit !important;
}

/* 4) Search terug naast cart: ook op sm (>=576px) */
@media (min-width: 576px){
  header .header-top__right{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
  }

  header .header-top__right #_desktop_language_selector{ order: 10 !important; }
  header .header-top__right #_desktop_user_info{        order: 20 !important; }
  header .header-top__right #_desktop_cart{             order: 30 !important; }
  header .header-top__right #_desktop_search{
    order: 40 !important;
    flex: 0 1 360px !important;
    width: auto !important;
    max-width: 360px !important;
    min-width: 240px !important;
    margin-left: 8px !important;
  }

  header .header-top__right #_desktop_search #search_widget,
  header .header-top__right #_desktop_search #search_widget form{
    width: 100% !important;
    min-width: 0 !important;
  }
  header .header-top__right #_desktop_search #search_widget input[type="search"],
  header .header-top__right #_desktop_search #search_widget input[type="text"]{
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* 5) Geen browser-blauwe focus/outline */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus{
  outline: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 2px solid rgba(176,0,0,.35) !important;
  outline-offset: 2px !important;
}

/* 6) Alerts: geen blauw (bv. "Your cart contains ...") */
.alert-info,
article.alert.alert-info,
div.alert.alert-info{
  background: rgba(176,0,0,.06) !important;
  border-color: rgba(176,0,0,.18) !important;
  color: #111 !important;
}
.alert-info a{
  color: var(--ws-red) !important;
}

/* 7) Product thumbnails: active border niet blauw */
.thumbnails__container .thumbnail img,
.thumbnails_container .thumbnail img{
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.thumbnails__container .thumbnail.active img,
.thumbnails__container .thumbnail:hover img,
.thumbnails_container .thumbnail.active img,
.thumbnails_container .thumbnail:hover img{
  border-color: var(--ws-red) !important;
}

/* 8) Bootstrap primary (soms #0d6efd) -> brand red */
:root{
  --bs-primary: var(--ws-red);
  --bs-primary-rgb: 176,0,0;
}
/* Footer "Uw account" -> 2 kolommen op desktop, 1 kolom op mobiel */
@media (min-width: 992px){
  #block-myaccount-infos ul#footer_account_list{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 8px;
  }

  #block-myaccount-infos ul#footer_account_list > li{
    margin: 0 !important;
    width: auto !important;
  }
}

/* Forceer mobiel/tablet terug 1 kolom (anders kan grid blijven hangen) */
@media (max-width: 991.98px){
  #block-myaccount-infos ul#footer_account_list{
    display: block !important;
  }
}
/* Language selector: toon tekst i.p.v. alleen pijltje */
#_desktop_language_selector{
  width: auto !important;
  min-width: 70px;           /* pas aan naar smaak */
}

#_desktop_language_selector .language-selector,
#_desktop_language_selector .dropdown{
  width: auto !important;
}

/* In veel themes wordt enkel de tekst verborgen (span.expand-more) */
#_desktop_language_selector span.expand-more{
  display: inline !important;
  white-space: nowrap;
}

/* Nettere uitlijning */
#_desktop_language_selector button,
#_desktop_language_selector .dropdown-toggle{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
/* 1) Zorg dat de knop/tekst niet afgekapt wordt */
#_desktop_language_selector .dropdown-toggle,
#_desktop_language_selector button,
#_desktop_language_selector a {
  white-space: nowrap !important;
}

/* 2) Kill ellipsis / max-width op de taaltekst */
#_desktop_language_selector .expand-more,
#_desktop_language_selector .language-selector .expand-more,
#_desktop_language_selector .dropdown-toggle .expand-more {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: inline !important;
}

/* 3) Als een parent iets verstopt */
#_desktop_language_selector,
#_desktop_language_selector .dropdown,
#_desktop_language_selector .language-selector {
  overflow: visible !important;
}

/* 4) Geef ‘m desnoods wat extra ademruimte */
#_desktop_language_selector { min-width: 95px !important; }
/* Maak de taalselector breed genoeg + geen afkapping */
#_desktop_language_selector{
  min-width: 140px !important;     /* verhoog indien nodig */
  width: max-content !important;   /* neemt de breedte van de tekst */
}

/* Forceer: geen ellipsis/overflow op de knop en tekst */
#_desktop_language_selector .dropdown-toggle,
#_desktop_language_selector .dropdown-toggle span,
#_desktop_language_selector .dropdown-toggle a{
  max-width: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: nowrap !important;
}

/* Sommige themes zetten de tekst op block met limiet */
#_desktop_language_selector .dropdown-toggle span{
  display: inline-block !important;
}

/* Productdetail: verberg de regel die linkt naar /brand/ (Merk) */
#product-details .detail:has(.detail__right a[href*="/brand/"]) {
  display: none !important;
}

.price-card{
  max-width: 720px;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.price-card h2{ margin: 0 0 8px; }
.price-card p{ margin: 0 0 16px; }

/* Center de prijslijst-card binnen de contentkolom */
body.category-id-202 #category-description .price-card{
  margin: 32px auto;
  text-align: center;
}

/* knop netjes centreren (voor de zekerheid) */
body.category-id-202 #category-description .price-card .btn{
  display: inline-block;
}
/* Out-of-stock shortdesc blok */
.product-miniature__oos-desc{
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
  line-height: 1.35;
  font-size: 14px;
}

/* Maak de "Zie details" knop netter bij de card */
.product-miniature__oos-desc + .btn{
  margin-top: 10px !important;
}

/* indien ingelogd, prijslijst tonen, anders melding dat prijs op aanvraag is */
.pricelist-logged { display: none; }
.pricelist-guest  { display: block; }

body.is-logged .pricelist-logged { display: block; }
body.is-logged .pricelist-guest  { display: none; }
